/*
Theme Name:     Booker Child Theme
Theme URI:      
Description:    Child theme for Booker
Author:         ThemeCanon
Author URI:     http://www.themecanon.com
Template:       booker
Version:        1.0.0
*/


/* Theme customization starts here
-------------------------------------------------------------- */

body,
div[data-vc-full-width-init~="true"]{
	border: none;
}

.not-full.outter-wrapper, .sticky-header-wrapper .wrapper, footer .wrapper, .is-classic .inner-wrapper, .hero-widgets-inner.hero-widgets-boxed{
    max-width: 1240px!important;
}

.sticky-header-wrapper.is-boxed-header .wrapper{
    max-width: 1200px!important;
}

.main-footer-container .hero-widgets-inner{
    padding: 15px 50px 50px!important;
}

.is-sidebar .main-column{
    width: 70%;
}

.is-sidebar aside.sidebar{
    width: 27%;    
}

.not-full.outter-wrapper.page-content{
    padding-bottom: 20px;
}

.not-full.outter-wrapper.archive-header{
    max-width: 100%!important;
}

.not-full.outter-wrapper.archive-header *{
    color: #fff!important;
}

.is-col-1-1 .single-item, .is-col-1-2 .single-item, .is-col-1-3 .single-item, .is-classic .single-item{
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 20px;
    padding-bottom: 30px;
}

.single-item:nth-child(n+13){
    border: none;
}



/* header */
.pre-header-container{
    padding-bottom: .25em;
    padding-top: .25em;
}

.pre-header-container ul > li{
    margin-right: 0;
}

.header-container, .header-container *{
    font-size: .9rem;
}

ul.nav > li:last-child.after.fa{
    margin-right: 0;
}

.not-full.outter-wrapper.archive-header:after{
    opacity: 0;
}

body.home .outter-wrapper.post-header-container{
    display: none;
} 

@media (min-width:768px){
    body.home .outter-wrapper.header-container{
        position: absolute;
        width: 100%;
    } 
    
    body.home .outter-wrapper.header-container:after{
        display: none;
    }
    
    body.home .outter-wrapper.pre-header-container .wrapper,
    body.home .outter-wrapper.header-container .wrapper{
        max-width: 100%!important;
        width: 100%;
        margin-left: 0!important;
        margin-right: 0!important;
    }
    
    body.home .sticky-header-wrapper .nav > li#menu-item-900 > .sub-menu{
        left: -60px;
    }
}

body.home .rev_slider_wrapper .tp-bgimg{
    -webkit-box-shadow:inset 0 -5px 10px 0 rgba(0,0,0,.12);
    box-shadow:inset 0 -5px 10px 0 rgba(0,0,0,.12);
}

body.home .header-container .nav > li > a{
    color: #fff;
}

body.home .header-container .nav > li:before{
    color: #0fbba9;
}

@media (min-width:768px){
    body.home .header-container a.logo{
        background-image: url(https://cambia.org/wp-content/uploads/2017/11/cambia-logo-foot@2x.png);
        background-repeat: no-repeat;
        background-size: 100%;
    }
    
    body.home .header-container a.logo img{
        opacity: 0;
    }
}


@media (max-width:1200px){
    div.vc_custom_1520896374709{
        margin-top: 0!important;
        margin-bottom: 0!important;    
    }
    
    div.vc_custom_1520895873450{
        box-shadow: none!important;
    }
}

.call-out-section{
    background-attachment: scroll;
    background-color: rgba(0, 0, 0, 0);
    background-image: url(https://cambia.org/wp-content/uploads/2018/03/cam-callout-bg.jpg);
    background-position: 0 0;
    background-size: cover;
    background-repeat: no-repeat;
}

@media (min-width:1200px){
    .call-out-section{
        background-attachment: scroll;
        background-color: rgba(0, 0, 0, 0);
        background-image:url(https://cambia.org/wp-content/uploads/2018/03/cam-callout.png), 	url(https://cambia.org/wp-content/uploads/2018/03/cam-callout-bg.jpg);
        background-position: calc(100% + 170px) top, 0 0;
        background-size: contain, cover;
        background-repeat: no-repeat, no-repeat;
    }
}

.post-header-container:after{
    background-image: url(https://cambia.org/wp-content/uploads/2018/03/cam-callout-bg.jpg);
    background-position: 0 0;
    background-size: cover;
    background-repeat: no-repeat;
}

.post-header-container a .fa{
    color: #fff!important;
}

.secondary_menu.nav{
    position: relative;
}

.secondary_menu.nav:before{
    content: "\f0c9";
    font-family: "FontAwesome";
    font-size: .9rem;
    color: #0fbba9;
    position: absolute;
    left: -1.5em;
    display: block;
    top: -.1em;
}

body.home h3 a{
    text-decoration: none;
}

body.home h3 {
    font-size: 1.2rem;
    line-height: 1.25;
}

.partners-slide h3{
    border-bottom: 1px solid #e4e4e4;
    padding-bottom: .5em;
}

.partners-slide button{
    position: absolute;
    top: -1.85em;
    
}

.partners-slide button i{
    border: 1px solid #e4e4e4;
    border-radius: 2px;
    padding: .1em;
}

.partners-slide button.slick-next{
    right: 20px;
}

.partners-slide button.slick-prev{
    left: calc(100% - 70px);
}

.partners-slide button:hover *{
    color: #0fbba9;
}

.partners-slide .ult-carousel-wrapper{
    margin-bottom: 10px;
}



/* Type */
h1:after,
h2:after,
h3:after,
.postTitle + .postMeta:after,
.bio-feat-heading:after,
.ult-tooltipster-content h4:after{
	display: none;
}

.lead{
    font-size: 1.25rem;
    line-height: 1.25;
}

h2, .postTitle h1{
    font-size: 1.95rem;
}

.alert{
    border: 1px solid #ff9f9f;
    padding: .5em;
    background: #fff4f4;
    border-radius: 2px;    
}

p + h2, p + h3,
span.lead + h2, span.lead + h3{
    margin-top: 1em;
}

.postText blockquote.right,
blockquote.right{
    font-size: 1.275rem!important;
    line-height: 1.333!important;
    padding-left: 20px;
    margin-left: 20px!important;
    padding-top: 0;
    margin-top: 0; 
    padding-bottom: 0;
    border-left: 1px solid #e4e4e4;   
}

.single-item .postTitle h1{
    font-size: 1.5rem;
}

.main-column .postText ul li{
    padding-bottom: 2px;
}

dl.gallery-item{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 5px solid #fff;
}

.pagination ul li{
    font-family: "Source Sans Pro";
    font-style: normal;
    font-weight: 600;
    font-size: 1rem;
}

.sidebar ul li ul{
    margin: 0;
    margin-top: 7px;
    padding-left: 15px;
    border-top: 1px solid #eaeaea;
}

.sidebar ul li:before{
    content: "\f105";
    font-family: FontAwesome;
    display: inline-block;
    padding-right: 5px;
}

.sidebar ul li ul li:before{
    content: "-";
    font-family: "Source Sans Pro";
    display: inline-block;
    padding-right: 5px;
    font-weight: bold;
}

.photo-board{
    border: 1px solid #e4e4e4;
    border-radius: 2px;
    background: #f5f5f5;
    padding: 1em;
}
.photo-board img,
img.photo{
    clip-path: inset(8px);
    margin-top: 0em;
    margin-left: 1em;
    max-width: 115px;
}

.photo-board > div img{
    float: left;
    margin-left: 0;
    max-width: 100px;
}

.photo-board > div{
    display: inline-block;
    width: 49%;
}

/*.photo-board .tc-feature-heading{
    margin-top: 0;
}*/

.photo-board .tc-feature-heading div{
    font-size: 1.1rem;
}

.photo-board .tc-feature-heading div + div{
    font-size: .8rem;
}

.tc-feature-heading{
    margin-top: 1.65em;
    margin-bottom: 1em;
}

.tc-feature-heading div{
    font-family: "Source Sans Pro";
    font-style: normal;
    font-weight: 600;
    font-size: 1.35rem;
}

.tc-feature-heading div + div,
.tc-feature-heading div + div *{
    color: #0fbba9;
    font-weight: 500;
    font-size: .85rem;
}

.single-post .postText blockquote{
    margin-left: 0;
}

.inner-side-menu{
    float: left;
    border: 1px solid #e4e4e4;
    border-radius: 2px;
    background: #f5f5f5;
    padding: 20px;
    margin-right: 20px;
}

.inner-side-menu li{
    padding-bottom: 6px!important;
}

.inner-side-menu li:before{
    display: none;
}

.inner-side-menu b{
    font-size: 1.2rem;
    border-bottom: 1px solid #e4e4e4;
    padding-bottom: .5em;
    margin-bottom: .5em;
    display: block;
}



/* Forms */
label{
    display: block;
}

.btn, input[type=button], input[type=submit], button{
    border-radius:  2px;
}




/* Widgets */
.more-posts-thumbnails-list li a{
    text-decoration: none;
}

.more-posts-thumbnails-list li:last-child{
    border: none;
}




/* Footer */
footer{
    font-size: .9rem;
}

footer h3{
    font-size: 1.1rem;
    color: #fff!important;
    font-family: "Source Sans Pro";
    font-style: normal;
    font-weight: 600;
}

footer .hero-widgets.element-block-widgets ul li{
    border: none;
    padding: 0;
}

footer .hero-widgets.element-block-widgets ul li:before{
    display: none;
}

footer .feature-widget-area.col-1-5{
    width: 15%;
    margin-right: 2.5%;        
}

footer .feature-widget-area.col-1-5:first-child{
    width: 28%;
    padding-right: 2%;
    position: relative;
} 

footer .feature-widget-area.col-1-5:first-child:after{
    content: "";
    position: absolute;
    width: 1px;
    height: calc(100% - 30px);
    display: block;
    background: #6c7072;
    top: 30px;
    right: 0px;
}

@media (max-width:768px){
    footer .feature-widget-area{
        width: 100%!important;
        padding-right: 0!important;
    }
    
    footer .feature-widget-area.col-1-5:first-child:after{
        display: none;
    }
}

.post-footer-container{
    padding: 15px 0px;
}


.block-overlap{
    z-index: 2;
    -webkit-box-shadow: 0 0 15px 0 rgba(0,0,0,.1);
    box-shadow: 0 0 15px 0 rgba(0,0,0,.1);
    margin-bottom: 10px;
}

@media (max-width:768px){
    .block-overlap{
        margin-bottom: 10px;
    }
    
}

.block-overlap .vc_col-sm-4{
    border-bottom: 1px solid #e4e4e4;
}

@media (min-width:768px){
    .block-overlap .vc_col-sm-4{
        border-right: 1px solid #e4e4e4;
        border-bottom: none;
    }
}

.block-overlap .vc_col-sm-4:last-child{
    border: none;
}

.latest-news-slide .slick-slide .wpb_wrapper{
    border: 1px solid #e4e4e4;
    padding-bottom: 15px;
}

.latest-news-slide .slick-slide .wpb_wrapper > *{
    padding: 0px 15px;
}

.latest-news-slide .slick-slide .wpb_wrapper .more{
    border-top: 1px solid #e4e4e4;
    display: block;
    text-decoration: none;
    padding-top: 10px;
}

.latest-news-slide .slick-slide .wpb_wrapper .img{
    margin: -15px;
    margin-bottom: 15px;
}

.latest-news-slide .slick-slide .wpb_wrapper img{
    margin-bottom: 15px;
}

.latest-news-slide .slick-slide .wpb_wrapper h3 span{
    font-size: .7rem;
    display: block;
}

@media (min-width:768px){
    .intro-text .vc_column_container {
        padding-top: 20px;
    }
}

@media (max-width:768px){
    .intro-text .vc_column_container .wpb_content_element{
        margin-bottom: 0;
    }
}

/*
.post-header-container ul.canon_breadcrumbs{
    padding-bottom: .75em;
    padding-top: .75em;
}

.post-header-container ul.canon_breadcrumbs *{
    font-size: 1.75rem;
    font-weight: 300;
}

.post-header-container ul.canon_breadcrumbs li{
    display: none!important;
}

.post-header-container ul.canon_breadcrumbs li:last-child{
    display: block!important;
}*/

.featImage.overlay-content:before{
    content: "";
    background: #000;
    width: 100%;
    position: absolute;
    height: 120px;
    z-index: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    bottom: -20px;
    filter: blur(7px);
    opacity: .1;
    max-width: 1240px!important;
}

@media (max-width:1080px){
    .featImage.overlay-content:before{
        max-width: 748px!important;
    }
}

@media (max-width:788px){
    .featImage.overlay-content:before{
        bottom: -120px;
    }
}

.not-full.outter-wrapper.archive-header{
    background-position: 0px -37px;
}

.archive .post-header-container:after{
    border: none;
}

.img-box{
    text-align: center;
    border: 1px solid #e4e4e4;
    background: #fff;
    padding: .5em;
    border-radius: 2px;
}

.sidebar .widget_nav_menu h3 + div{
	background: #fafafa;
	border: 1px solid #eaeaea;
	border-radius: 2px;
	padding: 0em;
}
.sidebar .widget_nav_menu h3 + div > ul{
	margin: 0;
}
.sidebar .widget_nav_menu h3 + div > ul > li:last-child{
	padding-bottom: 4px;
}
h4{
	margin: 1em 0;
}
.sidebar .widget_nav_menu h3 + div ul li{
	text-overflow: ellipsis;
	overflow-x: hidden;
	white-space: nowrap;
	font-size: .925rem;
	padding: 4px 0px;
}
.sidebar ul li:before{
	padding-left: 5px;
}
.sidebar ul li ul{
	margin-top: 4px;
}
ol > li:before, ul.comments li .clearfix ol > li:before{
	color: #fff!important;
}