/**
Theme Name: Custom Child Theme
Author: Vegan Web Design
Author URI: https://veganwebdesign.com
Description: Custom Child Theme from Vegan Web Design
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: custom-child-theme
Template: astra
*/

body.custom_campaign .ast-title-bar-wrap {
	height: 100%;
    height: 100vh;
}
body.custom_campaign .ast-inside-advanced-header-content {
    position: relative;
    height: 100%;
}
body.custom_campaign  .ast-advanced-headers-wrap {
    display: inline-block;
    position: absolute;
    bottom: 13%;
    margin: auto;
    left: 0;
    right: 0;
}
body.custom_campaign .ast-advanced-headers-wrap h1 {
    text-transform: uppercase;
    letter-spacing: 5px;
    background: rgba(255,255,255,0.5);
    display: inline-block;
    padding: 40px 60px;
    border-radius: 10px;
    font-weight: 700;
}
.bfbv_before_footer {
    display: block;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    z-index: 1;
}
.bfbv_before_footer:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    left: 0;
    top: 0;
}
.bfbv_before_footer_wrap {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    display: table;
    height: 100%;
    text-align: center;
}
.bfbv_before_footer_wrap {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    display: block;
    height: 100%;
    text-align: center;
}
.bfbv_footer_content {
    padding: 19% 0;
    position: relative;
    z-index: 2
}
.bfbv_footer_content h3 {
	color: #fff;
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 3px;
}
.bfbv_footer_content a.bfbv_before_footer_link,
.bfbv_footer_content a.bfbv_before_footer_link:hover {
	display: inline-block;
    margin-top: 25px;
    padding: 7px 24px;
    background: rgba(0,0,0,0.5);
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    font-weight: 700;
}
main.campaign_custom_template {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}
.campaign_content {
    display: block;
    width: 100%;
    margin: 80px 0;
    font-size: 16px;
    line-height: 1.6;
}
.campaign_content h3 {
    font-size: 30px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 20px;
    letter-spacing: 0;
}
.campaign_grid {
    display: block;
    width: 100%;
}
.campaign_grid_wrap {
    display: block;
    width: 100%;
}
.campaign_item {
    display: block;
    width: 100%;
}
.campaign_item h4 {
    display: block;
    text-align: center;
    margin-bottom: 50px;
    font-size: 30px;
    text-transform: uppercase;
    letter-spacing: 9px;
}
.campaign_item_grid {
    display: block;
    width: 100%;
    margin-bottom: 7%;
}
.campaign_grid_top {
    margin-bottom: 3%;
    display: block;
    width: 100%;
}

.campaign_grid_bottom {
    display: block;
    width: 100%;
    margin-bottom: 3%;
    overflow: hidden;
}
.campaign_grid_left,
.campaign_grid_right{
    width: 48.5%;
    display: block;
    float: left;
}

.campaign_grid_right{
    margin-left: 3%;
}
.campaign_item_link a {
    display: inline-block;
    color: #919191;
    text-transform: uppercase;
    letter-spacing: 3px;
    border: 1px solid #919191;
    padding: 10px 30px;
    border-radius: 10px;
}
.campaign_item_link {
    display: block;
    text-align: center;
}
.campaign_grid_pagination {
    display: block;
    margin-bottom: 50px;
    float: left;
    width: 100%;
}
.campaign_grid_pagination a {
    display: inline-block;
    color: #919191;
    text-transform: uppercase;
    letter-spacing: 3px;
    border: 1px solid #919191;
    padding: 10px 30px;
    border-radius: 10px;
}
.campaign_grid_pagination span.grid_next {
    float: left;
}
.campaign_grid_pagination span.grid_prev {
    float: right;
}
/* Media Queries */
@media (max-width: 1024px){
main.campaign_custom_template {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
}
}

@media (max-width: 600px){
.campaign_content p > br {
    display: none;
}
}

@media (max-width: 480px){
.campaign_grid_left, .campaign_grid_right {
    width: 100%;
    display: block;
    float: left;
    margin-bottom: 3%;
    margin-left: 0;
}
.campaign_item h4 {
    margin-bottom: 20px;
}
.campaign_item {
    display: block;
    width: 100%;
    margin-bottom: 60px;
}
}

/* Single Campaign */
body.single-campaign {
    background-color: #fff;
}
body.single-campaign .ast-advanced-headers-wrap h1 {
    text-transform: uppercase;
    letter-spacing: 5px;
    background: rgba(0,0,0,0.5);
    display: inline-block;
    padding: 1em;
    font-weight: 700;
}
body.single-campaign .ast-full-advanced-header .ast-inside-advanced-header-content {
    justify-content: flex-end;
}
body.single-campaign .ast-advanced-headers-layout {
    padding-bottom: 3em;
}
body.single-campaign.campaign-videobg .ast-title-bar-wrap {
    background-image: none;
}
body.single-campaign .custom-single-campaign h1,
body.single-campaign .custom-single-campaign h2,
body.single-campaign .custom-single-campaign h3,
body.single-campaign .custom-single-campaign h4,
body.single-campaign .custom-single-campaign h5 {
    letter-spacing: 5px;
    font-weight: 900;
    text-transform: uppercase;
}
.single-campaign-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.single-campaign-video iframe {
    width: 100%;
    height: 100%;
}

/* Default Template */
body:not(.home):not(.page-template-template-full-width).page-template-default .ast-title-bar-wrap {
/*    background-position: center top;*/
	  background-position: center bottom;
	
}

body:not(.home):not(.page-template-template-full-width).page-template-default .site-main article {
    padding-top: 0;
    padding-left: 40px;
    padding-right: 40px;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

body:not(.home).page-template-default .ast-advanced-headers-title,
body:not(.home).page-template-template-full-width .ast-advanced-headers-title {
    display: none;
}

body:not(.home).page-template-default header.entry-header .entry-title,
body:not(.home).page-template-template-full-width header.entry-header .entry-title {
    text-align: center;
    font-size: 2.5em;
    line-height: 2em;
    margin-bottom: 1.5em;
    text-transform: uppercase;
}

body:not(.home).page-template-default header.entry-header .entry-title:after,
body:not(.home).page-template-template-full-width header.entry-header .entry-title:after {
    content: '';
    width: 10%;
    height: 5px;
    margin: 0 auto;
    background-color: #000;
    display: block;
}

.ast-advanced-headers.ast-theme-transparent-header #masthead {
    background-image: linear-gradient(#000,rgba(0,0,0,0));
}

