/*
 Theme Name:   LCGH_v02
 Description:  Lake County General Health District theme
 Author:       Luca Wistendahl
 Author URI:   http://lucacw.com
 Template:     twentyseventeen
 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:  twenty-seventeen-child
*/

*{
    font-family: 'Roboto', sans-serif;
    /*font-family: 'Merriweather', serif;*/
}

h1,
h2,
h3{
    font-family: 'Merriweather', serif;
    display: inline-block;
}

.wrap{
    max-width: 1200px;
    padding-left: 30px;
    padding-right: 30px;
}

.black{
    font-weight: 900;
}

.cta{
    display: block;
    float: left;
    background-color: #eee;
    border: 2px solid #bbb;
    border-radius: 4px;
    padding: 5px 25px;
    box-shadow: 3px 3px 4px rgba(0,0,0,.4);
    transition: box-shadow .3s ease;
    text-decoration: none!important;
    font-size: 18px;
}

header .cta{
    margin-left: 30px;
}

.navy{
    color: #fff;
    background-color: #002a5c;
    border: 2px solid #001227;
}

.cta.navy:hover{
    color: #001227!important;
    background-color: #fff;
    border: 2px solid #001227;
    box-shadow: 4px 4px 4px rgba(0,0,0,.4);
}

.tan{
    color: #fff;
    background-color: #ceaa7a;
    border: 2px solid #af8855;
}

.cta.tan:hover{
    color: #af8855!important;
    background-color: #fff;
    border: 2px solid #af8855;
    box-shadow: 4px 4px 4px rgba(0,0,0,.4);
}

.gel{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,33,73,.65);
    top: 0;
    left: 0;
}

.page:not(.home) #content{
    padding: 0;
}

#primary{
	width: 100%!important;
}

.breadcrumb{
    padding-top: 15px;
}

.breadcrumb a{
    color: #ceaa7a!important;
    text-decoration: underline;
}

header{
    padding-bottom: 5px;
}

.site-header{
    background-color: #fff;
    padding-top: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,.63);
    z-index: 2;
}

#logo{
    max-width: 500px;
    float: left;
}

#logo img{
    max-width: 500px;
}

#hamburger-wrapper{
    display: none;
    float: right;
    font-size: 50px;
    color: #121212;
    cursor: pointer;
    margin-top: -5px;
}

#hamburger-wrapper:hover{
    color: #ceaa7a;
}

.mobile-search{
    display: none;
    width: 160px;
    float: left;
}

.header-right{
    display: block;
    position: relative;
    float: right;
}

.header-search-form{
    display: block;
    position: relative;
    width: auto;
    height: auto;
    overflow: auto;
    float: right;
    clear: both;
    margin-top: 20px;
}

.search-field {
    border-radius: 25px!important;
    border: 2px solid #ccc!important;
    background-color: #f7f7f7!important;
    color: #ccc!important;
    padding-left: 20px!important;
}

.search-form .search-submit {
    padding: 0.5em 1em;
    position: absolute;
    background-color: transparent;
    color: #ccc;
    top: 0px;
    right: 0;
    bottom: 0;
}

.nav-bg{
    background-color: #002a5c;
    padding: 20px 0;
    margin-top: 20px;
}

.menu-main-container{
    clear: both;
}

#menu-main{
    margin: 0;
}

#menu-main li{
    list-style: none;
    float: left;
    width: calc(100%/7);
    text-align: center;
    font-weight: 900;
    font-size: 20px;
    position: relative;
}

#menu-main li a{
    position: relative;
    color: #fff;
}

#menu-main li a::after{
    content: '';
    position: absolute;
    height: 4px;
    bottom: -6px;
    width: 100%;
    background-color: #ceaa7a;
    z-index: 1;
    left: 0;
    display: none;
}

#menu-main a:hover::after{
    display: block;
}

#menu-main li.current-menu-item a::after{
    content: '';
    position: absolute;
    height: 4px;
    bottom: -6px;
    width: 100%;
    background-color: #ceaa7a;
    z-index: 1;
    left: 0;
    display: block;
}

#menu-main li .sub-menu{
    display: none;
}

#mobile-nav{
    display: none;
}

#menu-main-1{
    text-align: center;
    list-style: none;
}

#menu-main-1 li{
    list-style: none;
    padding-bottom: 10px;
    font-size: 22px;
}

#menu-main-1 .sub-menu{
    margin: 0;
    display: none;
}

#menu-main-1 li a{
    color: #848484;
}

#menu-main-1 li a:hover,
#menu-main-1 li.current-menu-item a{
    color: #222222!important;
    font-weight: 600!important;
    text-decoration: underline!important;
    text-decoration-color: #ceaa7a!important;
}

#menu-main-1 .sub-menu li{
    padding-bottom: 10px;
    font-size: 18px;
    background-color: #f7f7f7;
}

#menu-main-1 .sub-menu li:first-child{
    padding-top: 10px;
}

#menu-main-1 .sub-menu li a{
    color: #848484;
}

#menu-main-1 .sub-menu li a:hover,
#menu-main-1 .sub-menu li.current-menu-item a{
    color: #222222!important;
    font-weight: 600!important;
    text-decoration: underline!important;
    text-decoration-color: #ceaa7a!important;
}

#menu-main-1 li.menu-item-has-children span{
    margin-left: 15px;
    cursor: pointer;
}

#menu-main-1 li.menu-item-has-children span i{
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 24px;
    content: "\f0d7";
    margin-left: 0;
    width: 1.5em;
    color: #ceaa7a;
}

#banner{
    background-size: cover;
    padding: 40px 0 75px 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 10px rgba(0,0,0,.63);
    background-position: center center;
}

.page-template-inner-page #banner{
    padding: 50px 0 5px 0;
}

#sub-menu-container{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 2;
    display: none;
}

.sub-menu-wrap{
    background-color: #fff;
    height: 323px;
    padding-top: 30px;
    box-shadow: 0 1px 3px #0000001f;
    border: 1px solid #ccc;
}

.sub-menu-wrap .sub-menu{
    list-style: none;
    height: 100%;
    column-count: 4;
    column-fill: auto;
}

.sub-menu-wrap .sub-menu li{
    padding-bottom: 10px;
}

.sub-menu-wrap .sub-menu li a{
    color: #848484;
}

.sub-menu-wrap .sub-menu li a:hover,
.sub-menu-wrap .sub-menu li.current-menu-item a{
    color: #222222!important;
    font-weight: 600!important;
    text-decoration: underline!important;
    text-decoration-color: #ceaa7a!important;
}

.banner-copy{
    color: #fff;
    position: relative;
    text-shadow: 2px 2px 3px rgba(0,0,0,.5);
}

.banner-copy a{
    color: #fff;
}

.banner-copy p{
    font-size: 24px;
}

.banner-copy h1{
    display: inline-block;
    margin-bottom: 30px;
    position: relative;
    font-size: 50px;
    font-family: 'Merriweather', serif;
    font-weight: 900;
}

.banner-copy h1::after{
    content: '';
    position: absolute;
    height: 6px;
    bottom: -8px;
    width: 100%;
    background-color: #ceaa7a;
    z-index: 1;
    left: 0;
    display: block;
    box-shadow: 2px 2px 3px rgba(0,0,0,.5);
}

.page-template-inner-page .banner-copy h1{
    margin-bottom: 25px;
}

#main{
    height: auto;
    overflow: auto;
}

.section{
    width: 100%;
    float: left;
    clear: both;
    display: block;
    position: relative;
    padding: 50px 0 60px 0;
    background-color: #fff;
    border: none!important;
}

.page-template-inner-page .section:first-child{
    padding-top: 35px;
}

.section h1{
    font-size: 36px;
}

.section h2{
    font-size: 28px;
}

.section h1,
.section h2,
.section h3{
    color: #121212;
    padding-top: 5px;
}

.page-template-inner-page .section h2{
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    margin-bottom: 0px;
}

.page-template-inner-page .section h2::after{
    display: none!important;
}

.section h3{
    font-size: 22px;
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    margin-bottom: 0px;
}

.section ul{
    margin-left: 20px;
}

.section ul li{
    list-style: none;
}

.section ul li::before{
	display: inline-block;
  	font-style: normal;
  	font-variant: normal;
 	text-rendering: auto;
 	-webkit-font-smoothing: antialiased;
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
    font-size: 10px;
    content: "\f111";
	margin-left: -2em;
	width: 2em;
	color: #ceaa7a;
}

.section p{
    line-height: 31px;
}

.section p:last-child{
    margin-bottom: 0;
}

.section p,
.section a,
.section li{
    font-size: 18px;
}

.section a:not(.cta){
    color: #ceaa7a;
    text-decoration: underline;
}

.section h1,
.section h2{
    position: relative;
}

.section img{
	/*removing box-shadow per client's request 110818*/
    /*box-shadow: 0px 3px 8px rgba(0,0,0,.56);*/
}

.section.white{
    color: #121212;
}

.section.white h1,
.section.white h2{
    color: #121212;
}

.section.white h1::after,
.section.white h2::after{
    content: '';
    position: absolute;
    height: 6px;
    bottom: -8px;
    width: 100%;
    background-color: #ceaa7a;
    z-index: 0;
    left: 0;
    display: block;
}

.section.navy{
    color: #fff;
    background-color: #002a5c;
}

.section.navy h1,
.section.navy h2{
    color: #ffffff;
}

.section.navy h1::after,
.section.navy h2::after{
    content: '';
    position: absolute;
    height: 6px;
    bottom: -8px;
    width: 100%;
    background-color: #ceaa7a;
    z-index: 1;
    left: 0;
    display: block;
}

.tab-section{
    padding: 30px 0 40px 0;
}

.tab-labels{
    height: auto;
    overflow: hidden;
    position: relative;
    display: block;
}

.tab-label{
    float: left;
    display: block;
    position: relative;
    text-align: center;
    padding: 20px 0;
    border-radius: 4px 4px 0 0;
    font-size: 20px;
    margin-right: 2px;
    bottom: -2px;
}

.tab-label:not(.selected){
    cursor: pointer;
}

.tab-label span{
    position: relative;
    font-family: 'Merriweather', serif;
    font-size: 22px;
}

.tab-label span::after{
    content: '';
    position: absolute;
    height: 4px;
    bottom: -6px;
    width: 100%;
    background-color: #ceaa7a;
    z-index: 1;
    left: 0;
}

.tab-label:not(.selected) span::after{
    content: '';
    position: absolute;
    height: 4px;
    bottom: -6px;
    width: 100%;
    background-color: #fff;
    z-index: 1;
    left: 0;
    display: none;
}

.tab-label:not(.selected):hover span::after{
    content: '';
    position: absolute;
    height: 4px;
    bottom: -6px;
    width: 100%;
    background-color: #fff;
    z-index: 1;
    left: 0;
    display: block;
}

.tab-copy{
    border: 2px solid #001227;
    padding: 30px;
    display: none;
    width: calc(99% + 4px);
    height: auto;
    overflow: auto;
    background-color: #f7f7f7;
}

.tab-copy.selected{
    display: block;
}

.copy-container{
    background-color: #f7f7f7;
    border: 2px solid #001227;
    border-radius: 4px;
    padding: 30px 15px;
    height: auto;
    overflow: auto;
}

.section.white + .columns-section{
    padding-top: 0;
}

.section.columns-section h3{
    font-family: 'Merriweather', serif;
}

.section-column{
    display: block;
    float: left;
    padding: 0px 15px;
}

.section-column p:last-child{
    margin-bottom: 0;
}

.col-title{
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    margin-bottom: 16px!important;
}

.col-thumb{
    height: 220px;
    width: 80%;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0px 3px 8px rgba(0,0,0,.56);
    background-size: cover;
    background-position: center center;
}

.col-title::after{
    content: '';
    position: absolute;
    height: 4px;
    bottom: -2px;
    width: 100%;
    background-color: #ceaa7a;
    z-index: 1;
    left: 0;
    display: block;
}

.site-footer{
    border-top: 0;
    margin-top: 0;
}

/*---------- BLOG ----------*/
.blog #content{
    padding: 0;
}

.blog #banner{
	padding: 5px 0 1px 0;
}

.blog #banner + .wrap{
	padding-top: 50px;
}

.blog .banner-copy h1{
	margin-bottom: 0;
}

.blog .banner-copy h1::after{
    display: none;
}

.single #banner{
	padding: 0;
}

.single #content{
	padding: 0;
}

.single #primary{
	padding: 50px 0;
}

/*---------- FOOTER ----------*/
#colophon{
    background-color: #002a5c;
    padding: 30px 0 0 0;
    height: auto;
    position: relative;
    overflow: auto;
    box-shadow: 0 -2px 10px rgba(0,0,0,.63);
}

#colophon .wrap{
    padding-top: 0;
    padding-bottom: 10px;
}

.footer-info{
    height: auto;
    overflow: auto;
    margin-bottom: 30px;
}

.footer-info-block{
    color: #fff;
    font-size: 18px;
    float: left;
    margin-right: 100px;
    margin-bottom: 30px;
}

.footer-info-block:last-of-type{
    float: right;
    margin-right: 0;
}

.footer-info-block p:last-child{
    margin-bottom: 0;
}

.footer-info-block ul{
    list-style: none;
    margin: 0;
}

.footer-info-block h3{
    display: inline-block;
    position: relative;
    font-family: 'Merriweather', serif;
    font-weight: 900;
    color: #fff;
}

.footer-info-block a{
    color: #ceaa7a;
}

.footer-info-block a:hover{
    text-decoration: underline;
}

.footer-info-block h3::after{
    content: '';
    position: absolute;
    height: 4px;
    bottom: -6px;
    width: 100%;
    background-color: #ceaa7a;
    z-index: 1;
    left: 0;
}

.footer-social li{
    float: left;
    margin: 0 5px;
    font-size: 42px;
}

.footer-social li:last-child{
    margin-right: 0;
}

.footer-info-block:last-child h3{
    margin-bottom: 0;
}

.footer-social li a{
    color: #fff;
}

.footer-social li a:hover{
    color: #ceaa7a;
}

.micro-footer{
    width: 100%;
    clear: both;
    position: relative;
}

.copyright {
    color: #fff;
    position: absolute;
    top: 18px;
}
.footer-logo{
    width: 60px;
    margin: 0 auto;
    display: block;
}

.micro-footer-links{
    color: #fff;
    position: absolute;
    top: 18px;
    right: 0px;
}

.micro-footer-links a{
    color: #fff;
    text-decoration: underline;
}

/*---------- MEDIA QUERIES ----------*/
@media (max-width: 940px){
    header{
        padding-bottom: 15px;
    }

    #hamburger-wrapper{
        display: block;
    }

    .mobile-search{
        display: block;
    }

    .header-right{
        width: 100%;
        height: auto;
        overflow: auto;
        float: none;
        clear: both;
        padding-bottom: 10px;
    }

    .header-right .cta{
        float: right;
        margin-left: 0;
    }

    .header-right .cta:first-child{
        float: left;
    }

    .logo-a{
        display: block;
        margin: 0 auto;
        height: auto;
        width: 450px;
        overflow: auto;
    }

    #logo img{
        width: 450px;
    }

    .header-search-form{
        display: none;
    }

    .nav-bg{
        display: none;
    }

    .footer-info{
        margin-bottom: 0px;
    }
}

@media (max-width: 768px){
    .tab-label{
        width: calc(99% + 4px)!important;
    }

    .tab-label{
        border-bottom: 0;
        border-radius: 0;
    }

    .tab-label:first-of-type{
        border-radius: 4px 4px 0 0;
    }

    .section-column{
        width: 90%!important;
        float: none;
        display: block;
        position: relative;
        margin: 0 auto;
    }

    .col-thumb{
        width: 100%;
    }

    .micro-footer-element{
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        float: none;
        text-align: center;
    }

    .footer-logo{
        display: none;
    }
}

@media (max-width: 560px){
    .site-header{
        padding-top: 10px;
        padding-bottom: 5px;
    }

    .logo-a{
        display: block;
        margin: 0 auto;
        height: auto;
        width: 100%;
        overflow: auto;
        margin-top: 15px;
    }

    #logo{
        max-width: 100%;
    }

    #logo img{
        width: 100%;
    }

    .banner-copy{
        text-align: center;
    }

    .section h1,
    .section h2,
    .section h3{
        text-align: center;
    }

    .section a.cta{
        transform: translateX(-50%);
        left: 50%;
        position: relative;
    }
}

@media (max-width: 510px){
    .header-right .cta{
        font-size: 16px;
        padding: 5px 15px;
    }

    .section img{
        width: 75%;
        float: none;
        clear: both;
        display: block;
        margin: 10px auto;
    }

    .section-column{
        width: 100%!important;
    }

    .footer-info-block:last-of-type{
        float: left!important;
    }
}
