html{
    background-color: #404040;
}

*,h1,h2{
    color: #404040;
}

h1{
    text-align: left;
    font-weight: 600;    
}

h2{
    background-color: transparent;
    border-left: 0px;
    padding: 0px;
    font-weight: 600;
}
h3 a{
    color: #404040;    
}

img{
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
}

.navbar{
    margin-top: 0px;
    height: auto;
}

.navbar-brand{
    display: block;
    text-indent: -9999px;
    overflow:hidden;
    background-image:url(../images/christianresearch.png%3Fv=2018);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 0px center;
    max-height: 65px;
    max-width: 100%;
    width: 100%; 
    position: relative;    
}



.navbar-header button {
    padding: 22px 18px 19px 12px !important;
}

#header h1{
    margin:0px;
    padding:0px;
    margin-top: 34px;
    display: block;    
}
#header h1 a{
    display: block;
    text-indent: -9999px;
    overflow:hidden;
    background-image:url(../images/christianresearch.png%3Fv=2018);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 20px center;
    max-height: 65px;
    max-width: 80%;
    width: 100%;
}

.navbar-brand, .navbar-nav>li>a{
    text-shadow: none;
}
.nav>li>a:focus, .nav>li>a:hover{
    background-color: #67c7b1;    
}

ul.desktopnav{
    margin:0px;
    padding: 0;
    margin-top: 48px;
    float: right;    
}

ul.desktopnav li{
    display: inline-block;
    margin-left: 8px;    
}

ul.desktopnav li:first-of-type{
    margin-left: 0px;
}

ul.desktopnav li a{
    display: inline-block;
    background-color: #6cd7ee;
    color: #ffffff;
    padding: 6px 12px;
    line-height: 1em;
}


ul.desktopnav li a:hover{
    background-color: #00aece;
}

body.christian-research .desktopnav a.nav-home,
body.about-us .desktopnav a.nav-about,
body.news-and-reports .desktopnav a.nav-news,
body.resonate .desktopnav a.nav-resonate,
body.research .desktopnav a.nav-research,
body.reports .desktopnav a.nav-reports,
body.archives-and-statistics .desktopnav a.nav-reports,
body.recent-research .desktopnav a.nav-reports,
body.panel .desktopnav a.nav-panel,
body.contact-us .desktopnav a.nav-contact,
body.news .desktopnav a.nav-news,
body.reports .desktopnav a.nav-statistics,
body.statistics .desktopnav a.nav-statistics,
body.church-statistics .desktopnav a.nav-statistics,

body.christian-research .mobilenav a.nav-home,
body.about-us .mobilenav a.nav-about,
body.news-and-reports .mobilenav a.nav-news,
body.resonate .mobilenav a.nav-resonate,
body.research .mobilenav a.nav-research,
body.reports .mobilenav a.nav-reports,
body.archives-and-statistics .mobilenav a.nav-reports,
body.recent-research .mobilenav a.nav-reports,
body.panel .mobilenav a.nav-panel,
body.contact-us .mobilenav a.nav-contact,
body.news .mobilenav a.nav-news,
body.reports .mobilenav a.nav-statistics,
body.statistics .mobilenav a.nav-statistics,
body.church-statistics .mobilenav a.nav-statistics
{
    background-color: #f2d666;
    color: #ffffff;
}

.nav li a:focus, .nav li a:hover{
    background-color: #6cd7ee;
    color: #ffffff;
}

/** buttons **/
.btn{
    border:0px !important;
    border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    -webkit-border-radius: 0px !important;
}

.btn::after{
    content: "";
    padding: 0px;
}

.btn-primary{
    background-color: #6cd7ee;
    padding-bottom: 6px;
    border-bottom: 3px solid #00aece !important;
}

.btn-primary:hover,.btn-primary:active,.btn-primary:active:hover{
    background-color: #00aece;
}





@media (min-width: 768px){
    .navbar{
        height: 130px;
    }
    .navbar-brand{
        height:60px;      
        margin: 35px 0px 35px 0px;
        
        margin-left: 0px !important;
    }
    .navbar-collapse.collapse{
        display: none !important;
    }
}



@media (min-width: 768px) and (max-width: 991.9px){
    .navbar .container{
        width: auto;
    }
    ul.desktopnav{
        margin-top: 35px;
    }
    ul.desktopnav li{
        margin-left: 3px;
    }
    ul.desktopnav li a{
        padding: 6px 8px;
    line-height: 1em;
    font-size: 18px;
    }
    .navbar{
        height:100px;
    }
    .navbar-brand{
        margin: 20px 0px 20px 0px;        
    }
    
   
/*
    .navbar-brand{
        max-width: 100%;
    }
*/
}

/** fix nav only on mobile **/
@media (max-width: 767.9px){
    .navbar {
        top: 0;
        border-width: 0 0 1px;
        transform: translateZ(0);
        position: fixed;
        right: 0;
        left: 0;  
        border-bottom: 1px solid #58595b;        
    }
    .navbar-toggle{
        margin-bottom: 0px;
    }
    .navbar-brand{
        height:35px;
        margin: 9px 0px 10px 10px;  
    }  
    #body{
        margin-top: 55px;
    }
    #navbar-brand-container{
        padding-left:0px;
    }
    #navbar-button-container{
        padding-right: 0px;
    }
}

span.read_more{
    display: block;
}

.blue-promo-box{
    background-color: #6cd7ee;
    padding: 1em;
    margin: 0em 1em 1em 1em;    
/*    background-image: url(/plugins/templates/christianresearch/images/textboxarrows.png);*/
    background-position: 0.5em 0;
    background-repeat: no-repeat; 
    background-size: 40%;      
    color: #ffffff;
}


@media (max-width: 767.9px){
    .blue-promo-box{
       margin: 0em 0em 1em 0em;  
    }
}

.yellow.btn-primary,
.blue-promo-box .btn-primary{
    background-color: #f2d666;
    border-bottom: 3px solid #cab257 !important;
}

.blue-promo-box .btn-primary:hover,
.blue-promo-box .btn-primary:active,
.blue-promo-box .btn-primary:active:hover,
.yellow.btn-primary:hover,
.yellow.btn-primary:active,
.yellow.btn-primary:active:hover{
    background-color: #cab257;
}


.blue-promo-box h2,
.blue-promo-box p{
    color: #ffffff;    
}

.no-margin-bottom{
    margin-bottom: 0px;
}
#banners{
    height:320px;
    background-size: cover;
    background-position: center center;
}

#banners .display-table{
    display: table;
    height: 320px;
}

#banners .display-table div{
    display: table-cell;
    vertical-align: middle;
}

#banners .display-table div p{
    color: #ffffff;
    font-size:1.5em;
}

#topbar{
    width: 100%;
    border-top: 3px solid #f3f3f3;
}
@media (max-width: 767.9px){
    #topbar{
        display: none;
    }
}

.section .container .row,
.section.container .row{
    padding-top: 2em;
    padding-bottom: 2em;
}

.cr-yellow{
    background-color: #f2d666;
}

.cr-dark{
    background-color: #404040;
}

.section.arrows .container .row{

   
    background-repeat: no-repeat; 
    background-size: 40%;  
}

.section.arrows.slidedown .container .row,
.blue-promo-box.slidedown{
    background-image: url(../images/textboxarrows.png);    
    -webkit-animation-name: MOVE-BG-DOWN;
    -webkit-animation-duration: 0.5s;
    -webkit-animation-timing-function: ease;
    -webkit-animation-iteration-count: 1;    
}

.blue-promo-box.slidedown{
    -webkit-animation-name: MOVE-BG-DOWN-BLUE;    
}

/*
.section.arrows.slideup .container .row,
.blue-promo-box.slideup{
    background-image: url(/plugins/templates/christianresearch/images/textboxarrows.png);    
    background-position: 0px -50%;
    -webkit-animation-name: MOVE-BG-UP;
    -webkit-animation-duration: 0.5s;
    -webkit-animation-timing-function: ease;
    -webkit-animation-iteration-count: 1;    
}
*/

@-webkit-keyframes MOVE-BG-DOWN {
    from {
        background-position: 0px -50%
    }
    to { 
        background-position: 0% 0%
    }
}

@-webkit-keyframes MOVE-BG-UP {
    from {
        background-position: 0% 0%
    }
    to { 
        background-position: 0px -50%    
    }
}

@-webkit-keyframes MOVE-BG-DOWN-BLUE {
    from {
        background-position: 0.5em -50%
    }
    to { 
        background-position: 0.5em 0%
    }
}

@-webkit-keyframes MOVE-BG-UP-BLUE {
    from {
        background-position: 0.5em 0%
    }
    to { 
        background-position: 0.5em -50%    
    }
}


#footer{
    margin-top: 0px;
    display: block !important;
}

#footer ul{
    margin:0px auto;
    padding: 1.4em 0 1.4em 0;
    display: inline-block;
}

#footer ul li{
    display: inline-block;
    color: #ffffff;
    padding: 6px 12px;
    line-height: 1em;    
}

#footer ul li a{
    color: #ffffff;
}

.resonate-logo-home{
    max-width: 70%;    
    margin: 0px auto;
    display: block;
    padding:10px;   
}
@media (max-width: 767.9px){
    .resonate-logo-home{
        max-width: 60%;
    }
}


body.panel{
    margin-bottom: 0px;
    box-shadow: 0;
    -webkit-box-shadow: 0;
    border: 0px;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
    
}

.pagination>li>span, .pagination>li>span, .pagination>li>span:focus, .pagination>li>span:hover {
    background-color: #ffffff;
}

.report-content img{
    height: auto !important;
}
@media (max-width: 767.9px){
    .report-content img{
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
}



