/*
Theme Name: QEP-2016
Author: Eskimo8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face {
    font-family: 'Soho Gothic Pro';
    src: url('fonts/SohoGothicPro-Bold.eot'); /* IE9 Compat Modes */
    src: url('fonts/SohoGothicPro-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('fonts/SohoGothicPro-Bold.woff') format('woff'), /* Modern Browsers */
        url('fonts/SohoGothicPro-Bold.ttf')  format('truetype'), /* Safari, Android, iOS */
        url('fonts/SohoGothicPro-Bold.svg#cab5a8c0fa5330f4c6086bc7aa988336') format('svg'); /* Legacy iOS */
    font-style:   normal;
    font-weight:  bold;
}


@font-face {
    font-family: 'Soho Gothic Pro';
    src: url('fonts/SohoGothicPro-Regular.eot'); /* IE9 Compat Modes */
    src: url('fonts/SohoGothicPro-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('fonts/SohoGothicPro-Regular.woff') format('woff'), /* Modern Browsers */
        url('fonts/SohoGothicPro-Regular.ttf')  format('truetype'), /* Safari, Android, iOS */
        url('fonts/SohoGothicPro-Regular.svg#bdd52e0832d159f9a8975024c549ca21') format('svg'); /* Legacy iOS */
    font-style:   normal;
    font-weight:  normal;
}

body{
    background: #dee0f1;
    font-family: 'Soho Gothic Pro', Helvetica, Arial, sans-serif;
}

img{
    width: 100%;
    height: auto;
}
.no-image-resize img{
    width: 135px;
}
.ajax-loader{
    width: auto;
}

a{
    color: #575ba5;
}
a:focus, a:hover{
    color: #40437d;
}
.btn-primary, .btn-primary:visited{
    background-color: #575ba5;
    border-color: #575ba5;
}
.btn-primary:focus, .btn-primary:hover{
    background-color: #40437d;
    border-color: #40437d;
}
.btn-primary:active{
    background-color: #575ba5;
    border-color: #575ba5;
}

/* elegant layout builder on home page */
.home-news-articles .et_lb_1_3 .et_lb_text_block {
    background: #fff;
    min-height: 309px;
}
/*.home-news-articles .et_lb_1_3 .et_lb_text_block,
.home-news-articles .et_lb_2_3 .et_lb_text_block
{
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.33);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.33);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.33);
}*/
.home-news-articles .et_lb_1_3 .et_lb_text_block p,
.home-news-articles .et_lb_1_3 .et_lb_text_block form p:first-child,
.home-news-articles .et_lb_1_3 .et_lb_text_block h1,
.home-news-articles .et_lb_1_3 .et_lb_text_block h2,
.home-news-articles .et_lb_1_3 .et_lb_text_block h3,
.home-news-articles .et_lb_1_3 .et_lb_text_block h4,
.home-news-articles .et_lb_1_3 .et_lb_text_block h5,
.home-news-articles .et_lb_1_3 .et_lb_text_block h6{
    margin: 10px;
}
.home-news-articles .et_lb_1_3 .et_lb_text_block p:first-child{
    margin: 0;
}

.home-news-articles .et_lb_1_3 .et_lb_text_block h4{
    margin-bottom: 20px;
}
.home-news-articles input{
    width: 100%;
}
.news-article {
    background: #fff;
    padding: 1em;
}
.news-article h6{
    margin-top: 0;
}


header{
    background: url(img/bg/bg1.jpg) top center;
    background-color: #3a3572;
    background-size: cover;
    color: #fff;
}
header.v2{
    background-image: url(img/bg/bg2.jpg);
}
header.v3{
    background-image: url(img/bg/bg3.jpg);
}


/* nav */

.navbar-default .navbar-nav>li>a{
    color: #fff;
    /*text-shadow: 0 0 2px #000;*/
}
.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li.current_page_item>a{
    /*color: #ef698f;*/
    color: #000;
}

.navbar{
    background-color: transparent;
    border: none;
    margin-bottom: 50px;
}
.navbar-collapse{
    /*    padding-left: 0;
        padding-right: 0;*/
}

.nav>li{
    position: static;
}
.nav>li>a{
    /*padding-left: 0;*/
}

/* subnav */

.sub-menu{
    list-style-type: none;
    z-index:1000;
}

.sub-menu li>a{
    color: #fff;
    text-decoration: none;
}
.sub-menu li>a:hover,  .sub-menu li.current_page_item>a{
    color: #000;
}

@media screen and (min-width: 768px) {
    .sub-menu{
        display: none;
        position: absolute;
        left: 0;
        padding: 15px;
        /*background-color: rgba(58,54,115,0.7);*/
        background-color: #494d8f;
        width: 100%;
    }

    .sub-menu li{
        float: left;
        display: block;
    }
    .sub-menu li>a{
        padding: 15px;
        line-height: 20px;
    }

    .nav>li:hover .sub-menu{
        display: block;
    }
}

header h2 a{
    display: block;
    background: url(img/logo-2016.png);
    width: 191px;
    height: 72px;
    margin-top: 70px;
    margin-bottom: 20px;
}
@media 
(-webkit-min-device-pixel-ratio: 2), 
(min-resolution: 192dpi) { 
    header h2 a{
        background: url(img/logo-2016x2.png);
        background-size: 100%;
    }
}


.item{
    margin-bottom: 15px; /*1em;*/
}
.masthead{
    margin-top: 3em;
    margin-bottom: 15px; /*1em;*/
}

.top-gap{
    margin-top: 1.7em;
}

h1, h2, h3{
    margin: 0.5em 0 0.5em 0;
    color: #262463;
}
h2{
    margin: 0 0 1em 0;
    font-size: 1.8em;
}
h1+h2{
    margin-top: 1.4em;
}
h3{
    margin: 0 0 1.8em 0;
    font-size: 1.2em;
    line-height: 1.6em;
}
h2+h3{
    margin-top: -1.1em;
}
.section-items h2{
    font-size: 1.1em;
    line-height: 1.2em;
    font-weight: bold;
    margin-bottom: 0.1em;
}
.section-items .tight-right{
    padding-right: 5px;
}
.section-items .tight-left{
    padding-left: 5px;
}

p{
    margin-bottom: 1.8em;
}

.et_lb_bar{
    background-color: #c7c9d8;
    background-image: none;
    height: 1px;
    margin: 1em 0 2em;
}

/* post */

.post{
    padding-bottom: 1em;
    margin-bottom: 1em;
    border-bottom: 1px solid #ccc;
}

footer{
    color: #fff;
    padding: 2em 0;
    background: url(img/bg/bg1_footer.jpg) top center;
    background-color: #3a3572;
    background-size: cover;
}
footer.v2{
    background-image: url(img/bg/bg2_footer.jpg);
}
footer.v3{
    background-image: url(img/bg/bg3_footer.jpg);
}

footer a{
    color: #fff;
    text-decoration: underline;
}
footer a:hover{
    color: #000;
    text-decoration: none;
}


/* light box */
.mfp-content{
    background: #fff;
    padding: 1em;
}

/* youtube */

.qep_youtube_container {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    margin-top: 5px !important;
}

.qep_youtube_container iframe {
    height: 100%;
    left: 0;
    position: absolute;
    top:0;
    width: 100%;
    background: black;
}

/* press links */

.press3 ul {
    margin-left: 0;
    padding-left: 0;
}

.press3 ul li {
    list-style: none !important;
    width: 80%;
    margin-bottom: 10px;
    padding: 15px !important;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #c3c3c3;
    position: relative;
}

.press3 ul li a {
    color: #5a5a5a;
    text-decoration: none;
}

.press3 .fa {
    margin-right: 10px;
}

.press3 .fa.fa-chevron-right {
    margin-right: 0;
    float: right;
    line-height: 20px;
}

.press3 h3 {
    margin-bottom: 0;
}

.float-right {
    float: right;
    padding-top: 4px;
    padding-left: 7px;
}

/* search flyout */

.navbar-form{
    /*overflow: hidden;*/
    /*padding-right: 0;*/
}
.navbar-form .btn{
    border-radius: 0;
    border-color: #fff;
}
.navbar-form input{
    border-radius: 0;
    border-color: #fff;
}

/* news cats */

.menu-sidebar-menu-container li{
    margin-bottom: 0.5em;
}

@media screen and (max-width: 1199px) {
    .home-news-articles .et_lb_1_3 .et_lb_text_block {
        min-height: 271px;
    }
}
@media screen and (max-width: 991px) {
    .home-news-articles .et_lb_1_3 .et_lb_text_block {
        min-height: 256px;
    }
}

/* mobile nav */

@media screen and (max-width: 767px) {

    header{
        background-image: url(img/bg/mobile/bg1.jpg);
        background-size: auto;
        background-repeat: no-repeat;
    }
    header.v2{
        background-image: url(img/bg/mobile/bg2.jpg);
    }
    header.v3{
        background-image: url(img/bg/mobile/bg3.jpg);
    }

    /*    header{
            background-size: auto;
            background-repeat: no-repeat;
        }*/

    .home-news-articles .et_lb_1_3 .et_lb_text_block {
        min-height: 0;
    }
    header h2{
        margin-bottom: 0;
    }
    header h2 a{
        margin-top: 30px;
        margin-bottom: 0;
    }
    .navbar{
        margin-bottom: 0;
        margin-left: -30px;
        margin-right: -30px;
    }
    #navbar{
        background-color: #494d8f; /*#3b346a;*/
        border-top: none;
    }
    .navbar-form{
        border-top: none;
        border-bottom: none;
        box-shadow: none;
    }

    .navbar-default .navbar-toggle .icon-bar{
        background-color: #fff;
        width: 40px;
    }
    .navbar-toggle .icon-bar+.icon-bar{
        margin-top: 6px;
    }
    .navbar-default .navbar-toggle {
        border-radius: 0;
        border: none;
    }
    .navbar-default .navbar-toggle:hover,
    .navbar-default .navbar-toggle:focus {
        background-color: rgba(255,255,255,0.3);
    }

    .navbar-default .form-control{
        width: 80%;
        float: left;
    }
    .navbar-default .btn{
        width: 18%;
        float: right;
        margin-top: -5px;
        margin-bottom: 15px;
    }

    .navbar-right>li{
        float: left;
        width: 20%;
        text-align: center;
    }
}

/* elegant builder mobile layout */

@media screen and (max-width: 768px) {
    .et_lb_module {
        /*float: none;*/
        margin-bottom: 2em;
        margin-left: 0;
        margin-right: 0;
        width: 100% !important;
    }
}

.et_monarch .et_social_inline_top {
    margin-bottom: 0px;
}

.et_note_video_container { 
    margin: 0; 
}

/* master slider */

.ms-slide-info{
    bottom: 0 !important;
    min-height: 0 !important;
}
.ms-info{
    color: #262463;
    background: rgba(222,224,241,0.7);
    font-size: 1.6em;
    padding: 10px 38% 10px 2%;
    width: 60% !important;
}

.ms-info-empty{
    background: none;
}

.btn{
    border-radius: 0;
}

@media screen and (max-width: 1199px) {
    .ms-info{
        font-size: 1.2em;
        padding: 10px 2%;
        width: 96% !important;
    }
}

/* custom elegant builder */

@media screen and (max-width: 768px) {
    .tight h2{
        margin-bottom: 0;
    }
    .tight h3{
        margin-top: -1.4em;
    }
}
@media screen and (min-width: 768px) {
    .et_builder{
        min-height: 730px;
    }
}

.et_lb_image .et_lb_module_content{
    background: none;
    padding: 0;
    border: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none; 
    box-shadow: none;
}
.et_lb_image .et_lb_module_content_inner{
    padding: 0;
}
.et_lb_image_box{
    position: static;
    margin: 0;
}
.et_lb_image_box img{
    border: none;
}

.qep_pager{
    padding-left: 0;
    margin: 20px 0;
    text-align: center;
    list-style: none
}
.qep_pager .previous>a, .qep_pager .previous>span{
    float: left;
}
.qep_pager .next>a, .qep_pager .next>span{
    float: right;
}

.et_lb_text_block.bgimage{
    position: relative;
    text-align: center;
}
.et_lb_text_block.bgimage div{
    position: absolute;
    top: 50%;
    width: 100%;
    margin-top: -3em;
}
.et_lb_text_block.bgimage p{
    margin: 0;
}
.et_lb_text_block.bgimage a{
    color: #fff;
    text-decoration: none;
}
.et_lb_text_block.bgimage a:hover{
    opacity: 0.9;
}

.et_lb_note-video-container{
    text-shadow: none;
}
.et_note_video_container{
    margin-bottom: 1.8em;
}

.btn i{
    margin-left: 0.5em;
}


.foot-nav{
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: right;
}
.foot-nav li{
    margin-bottom: 0.5em;
}
.foot-nav a{
    text-decoration: none;
}

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}