/*
Theme Name: BGW Units Theme
Theme URI: https://www.bgwing.co.uk/
Description: A custom Genesis child theme for Bristol and Gloucestershire Air Cadet Units.
Author: Severn Creative
Author URI: https://www.severncreative.com/
Template: genesis
Version: 1.0
*/


/* === FONTS === */

.site-inner h1, 
.site-inner h2, 
.site-inner h3, 
.site-inner h4, 
.site-inner h5, 
.site-inner h6 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: normal;
    color: #cf0921;
}

p, b, strong, em, i, span, a, li {
    font-family: 'Dosis', sans-serif;
    font-size: 1.6rem;
}


/* === SOCIAL MEDIA AND NEWS === */
    
    /* Latest News Posts */
    #transparent h2.widgettitle {
        text-align: center;
        margin-bottom: 30px;
        font-size: 45px;
    }
    
    .featuredpost {
        margin-bottom: 50px;
    }
    
    .featuredpost article {
        width: 23%;
        float: left;
        margin: 0 1%;
        box-sizing: border-box;
        box-shadow: 4px 5px 13px #cdcdcd;
        transition: all 0.1s ease-in-out;
        background: #FFF;
    }
    
    .featuredpost article:hover {
        box-shadow: none;
        transition: all 0.1s ease-in-out;
    }
    
    .featuredpost article > a {
        margin: 0;
    }
    
    .featuredpost article .more-link {
        display: block;
        text-align: center;
        margin-top: 15px;
    }
    
    .featuredpost article h2.entry-title {
        font-family: 'Dosis', sans-serif;
        font-size: 35px;
        text-transform: uppercase;
        margin-bottom: 0px;
    }
    
    .featuredpost article a.aligncenter {
        margin-bottom: 0;
    }
    
    .featuredpost article .entry-header, 
    .featuredpost article .entry-content {
        background: #FFF;
        padding: 0 10px;
        box-sizing: border-box;
        overflow: auto;
    }
    
    .featuredpost article .entry-meta {
        font-size: 12px;
        font-style: italic;
        margin-bottom: 15px;
    }


/* === HEADER AND NAV === */
    /* Header */
    .site-container .site-header .wrap {
        padding: 20px 0px;
    }
    
    .site-container .site-header {
        border-bottom: none;
    }
    
    .site-container .site-header .title-area {
        width: 493px;
    }
    
    .site-container .site-header .header-widget-area {
        width: 380px;
        margin-top: 12px;
    }
    
    .site-container .header-widget-area .textwidget p {
        margin: 0px;
    }
    
    .site-container .header-widget-area .textwidget p > a {
        color: #333;
        text-decoration: none;
    }
    
    .pipe {
        font-weight: bold;
        color: #cf0921;
        margin: 0px 15px;
        font-size: 25px;
        line-height: 0.1em;
        position: relative;
        top: 2px;
    }
    
    .header-image .site-header .site-title > a {
        background: url(images/bgw-logo.png) no-repeat top left;
        background-size: auto 100%;
        height: 100px;
        overflow: visible;
        text-indent: 220px;
        font-size: 30px;
        font-weight: 400;
        text-decoration: none;
        line-height: 3.7em;
        font-family: 'Barlow Condensed', sans-serif;
    }

    
    
/* === PAGE LAYOUT === */
body.page, 
body.post {
    background: #e8eded;
}

body .site-inner {
    padding-top: 0;
}

body P {
    margin-bottom: 15px;
}

.site-inner .fl-row {
    background: #FFF;
    margin-bottom: 50px;
}

.site-container article {
    margin-bottom: 0px;
}

.site-footer p {
    text-align: center;
}

.site-container .site-inner #transparent {
    background: transparent;
}

#transparent .fl-module-content, 
.site-container blockquote {
    margin: 0px;
}


/* === 4 - FEATURE BLOCKS HOMEPAGE === */
	/* 4.1 Featured Page Image */
	.page-id-68 #transparent.fl-row {
	    margin-bottom: 0px;
	}
	
	.featured-content.featuredpage {
		height: 302px;
		overflow: hidden;
		position: relative;
		box-shadow: 4px 5px 13px #cdcdcd;
	    transition: all 0.2s ease-in-out;
	}
	
	.featured-content.featuredpage:hover {
		box-shadow: none;
	    transition: all 0.2s ease-in-out;
	}
	
	.featured-content.featuredpage a img {
	    transform: scale(1.2);
	    transition: all 0.2s ease-in-out
	}
		
	/* 4.2 Featured Page Content */
	.featured-content.featuredpage .entry-header {
		background: url(images/featured-title-bg.png) no-repeat top center;
		background-size: 100% 100%;
	    text-align: center;
	    position: relative;
	    bottom: 56px;
	    transition: all 0.2s ease-in-out;
	    padding: 13px 20px 12px;
	}
	
	.featured-content.featuredpage .entry-content {
	    background: #FFF;
	    text-align: center;
		position: relative;
		bottom: 56px;
	    transition: all 0.2s ease-in-out;
	    padding: 0 20px 17px;
	}
	
	.featured-content.featuredpage .entry-header > h2 {
	    text-transform: uppercase;
		margin: 0px;
	}
	
	.featured-content.featuredpage .entry-header > h2 a {
		text-decoration: none;
	}
	
	.featured-content.featuredpage .entry-content > p {
	    color: #868686 !important;
	    font-size: 13px;
	    line-height: 1.4em;
	    margin: 0px;
	    transition: all 0.2s ease-in-out;
	}
	
	.featured-content.featuredpage .entry-content .more-link, 
	.featured-content.featuredpage .entry-content .more-link:visited {
	    display: block;
	    padding: 5px 25px;
	    margin-top: 10px;
	}
	
	.featured-content.featuredpage .entry-content .more-link:hover {
		color: #022d59 !important;
	}
	
	/* 4.3 Featured Page Animate */
	.featured-content.featuredpage {
		transition: all 0.2s ease-in-out;
	}
	
	.featured-content.featuredpage:hover {
		transition: all 0.2s ease-in-out;
	}
	
	.featured-content.featuredpage:hover a img {
	    transform: scale(1.0);
	    transition-delay: 0.05s;
	    transition: all 0.2s ease-in-out;
	    margin-top: -20%;
	}
	
	.featured-content.featuredpage:hover .entry-header {
	    position: relative;
	    bottom: 104px;
	    transition: all 0.2s ease-in-out;
	}
	
	.featured-content.featuredpage:hover .entry-content {
		position: relative;
		bottom: 104px;
	    transition: all 0.2s ease-in-out;
	}
	
	
/* === INTERIOR LINKING BLOCK === */
#footer-menu ul {
    margin: 0;
    text-align: center;
}

#footer-menu ul > li {
    list-style: none;
    display: inline-block;
    text-align: center;
    padding: 120px 20px;
    box-sizing: border-box;
}

#footer-menu ul > li > a {
    color: #FFF;
    text-decoration: none;
    text-transform: uppercase;
    border: 2px solid #FFF;
    padding: 15px 25px;
    box-sizing: border-box;
}

#footer-menu ul > li > a:hover {
    background: #FFF;
    color: #022d59;
}

a.btn-center {
    background: #cf0921;
    color: #FFF;
    text-decoration: none;
    padding: 25px 35px;
    text-transform: uppercase;
    font-weight: 700;
}

a.btn-center:hover {
    background: #022d59;
    color: #FFF;
}

a.btn {
    background: #cf0921;
    color: #FFF;
    text-decoration: none;
    border-radius: 0px;
    padding: 8px 15px;
    float: right;
    text-transform: uppercase;
}

a.btn:hover {
    background: #022d59;
    color: #FFF;
}


/* ========================== */
/* === RESPONSIVE QUERIES === */
/* ========================== */

@media only screen and (max-width: 1280px) and (min-width: 1021px) {
    
    p, b, strong, em, i, span, a, li {
        font-size: 1.5rem;
    }
    
    .site-inner h2 {
        font-size: 2.3rem;
    }
    
    .site-container .site-header .header-widget-area {
        margin-top: 22px;
    }
    
    .featuredpost article p, 
    .featuredpost article .more-link {
        font-size: 14px;
    }
    
    .site-inner #footer-menu ul > li {
        padding: 90px 20px;
    }
    
    #footer-menu ul > li:first-child {
        text-align: right;
    }
    
    #footer-menu ul > li:last-child {
        text-align: left;
    }
    
}

@media only screen and (max-width: 1020px) and (min-width: 881px) {
    
    .header-image .site-header .site-title > a {
        text-indent: 200px;
        font-size: 25px;
        line-height: 4em;
    }
    
    .site-container .site-header .title-area {
        width: 475px;
    }
    
    .site-container .site-header .header-widget-area {
        width: 300px;
        margin-top: 23px;
    }
    
    .fl-row-bg-color h2 {
        margin-bottom: 15px;
    }
    
    .featuredpost article p, 
    .featuredpost article .more-link {
        font-size: 14px;
    }
    
    .site-inner #footer-menu ul > li {
        padding: 60px 10px;
    }
    
    #footer-menu ul > li:first-child {
        text-align: right;
    }
    
    #footer-menu ul > li:last-child {
        text-align: left;
    }

}

@media only screen and (max-width: 880px) and (min-width: 601px) {
    
    .site-container .site-header .title-area {
        width: 300px;
    }
    
    .header-image .site-header .site-title > a {
        text-indent: -72px;
        font-size: 25px;
        line-height: 9em;
    }
    
    .site-container .site-header .wrap {
        padding: 20px 5%;
    }
    
    .site-container .site-header .header-widget-area {
        width: 100%;
        margin-top: 40px;
    }
    
    .site-container .site-header .header-widget-area section {
        display: inline-block;
        float: left;
    }
    
    .site-container .site-header .header-widget-area section.widget_text {
        margin-top: 6px;
        margin-left: 20px;
    }
    
    .site-inner #footer-menu ul > li > a {
        display: block;
    }
    
    .site-container .site-header .header-widget-area #simple-social-icons-2 ul {
        text-align: left;
        float: left;
    }
    
    .site-container .featuredpost article {
        width: 47%;
        margin: 0 1.5%;
        margin-bottom: 20px;
    }
    
}

@media only screen and (max-width: 600px) {
    
    .site-container .site-header .title-area {
        width: 300px;
    }
    
    .header-image .site-header .site-title > a {
        text-indent: -72px;
        font-size: 25px;
        line-height: 9em;
    }
    
    .site-container .site-header .wrap {
        padding: 20px 5%;
    }
    
    .site-container .site-header .header-widget-area {
        width: 100%;
        margin-top: 40px;
    }
    
    .site-container .site-header .header-widget-area section {
        display: inline-block;
        float: left;
    }
    
    .site-inner #footer-menu ul > li {
        width: 100%;
        padding: 20px;
    }
    
    .site-inner #footer-menu ul > li > a {
        display: block;
    }
    
    .site-container .site-header .header-widget-area section.widget_text {
        margin-top: 5px;
        padding-left: 9px;
    }
    
    .site-container .featuredpost article {
        width: 44%;
        margin: 0 10px;
        margin-bottom: 20px;
    }
    
    .featuredpost article p, 
    .featuredpost article .more-link {
        font-size: 14px;
    }

}

@media only screen and (max-width: 400px) {
    
    .site-container .featuredpost article {
        width: 100%;
        margin: 0;
        margin-bottom: 20px;
    }
    
    a.btn-center {
        display: block;
    }
    
}