/*
 Theme Name:   CDI_v013
 Theme URI:    http://example.com/
 Description:  Twenty Seventeen Child Theme
 Author:       Luca Wistendahl
 Author URI:   https://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
 Tags:
 Text Domain:  twenty-seventeen-child
*/

body{
    font-family: 'Oswald', sans-serif;
    background: #eee;
}

p{
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
}

ul{
    color: #424242;
}

.tab-copy li,
.page-copy li,
article li{
    font-family: 'Open Sans', sans-serif;
}

ul li p{
    margin: 0;
    padding: 0;
}

.navigation-top .wrap {
	max-width: 1024px;
}

.wrap {
	max-width: 1024px;
}

.single-post:not(.has-sidebar) #primary{
    width: 100%;
    max-width: none;
}

.post-template-default #content .wrap{
    padding: 0;
}

.navigation-top .wrap {
		max-width: 1024px;
}

#micro-header-wrapper{
    color: white;
    height: 44px;
    width: 100%;
    position: relative;
    display: block;
    background: #272727;
    font-size: 15px;
    line-height: 39px;
    border-top: 2px solid  #446cb3;
}

#micro-header{
    max-width: 1024px;
    margin: 0 auto;
    position: relative;
    display: block;
}

#micro-header p{
    font-family: 'Oswald', sans-serif;
    line-height: 30px
}

#micro_header_left{
	float: left;
    padding-left: 10px;
}

#micro_header_right{
	float: right;
    padding-right: 10px;
}

#micro_header_right p{
    margin: 0;
}

#micro_header_right a{
    line-height: 39px;
}

#micro_header_right span{
    font-size: 20px;
}

#micro_header_right span i{
	padding: 0px 5px;
}

#micro_header_left a,
#micro_header_right a,
.footer-contact-info a{
    color: #fff;
}

#micro_header_left a:hover,
#micro_header_right a:hover,
.footer-contact-info a:hover{
    color: #42a5f6;
}

.footer-contact-info a:nth-child(3){
    cursor: default;
}

.footer-contact-info a:nth-child(3):hover{
    color: #FFF!important;
}

.micro-header-mobile{
    display: none;
    float: left;
    color: #42a5f6;
    font-size: 29px;
    margin-left: 10px;
}

#cdi-hamburger{
    display: none;
    float: left;
    cursor: pointer;
    color: #42a5f6;
    font-size: 29px;
    margin-left: 10px;
    margin-right: 10px;
}

#cdi-hamburger:hover{
    color: #FFF;
}

#mobile-contact{
    float: right;
    margin-right: 10px;
}

#mobile-contact a{
    color: #42a5f6;
}

#mobile-contact a:hover{
    color: #FFF;
}

#mobile-contact i{
    margin-left: 10px;
}

#cdi-mobile-nav{
    width: 100%;
    display: none;
    background-color: #FFF;
}

.menu-toggle{
    display: none!important;
}

.menu-scroll-down{
    display: none!important;
}

#cdi-mobile-nav .menu-top-menu-container{
    display: none;
}

.navigation-top{
    position: relative;
    min-height: 82px;
}

.site-navigation-fixed.navigation-top   {
    position: relative;
}

.site-content-contain{
    background: #eeeeee;
}

#top-menu{
    float: right;
}

#top-menu a{
    color: #446cb3;
    font-size: 17px;
    font-weight: 300;
}

#top-menu a:hover{
    color: #42a5f6;
}

.main-navigation a{
    padding: 0;
}

#top-menu li{
    padding: 12px 14px;
}

#top-menu li:last-child{
    padding: 12px 10px 12px 14px;
}

.sub-menu .menu-item a{
    font-size: 18px!important;
    padding: 0 5px;
}

.navigation-top > .wrap{
    padding-right: 0;
}

#header_logo{
    float: left;
    height: 51px;
    width: auto;
    margin-top: 4px;
    padding-left: 10px;
}

.home .sub-tab-content .form-container{
	width:  300px;
    float: right;
    background-color: hsla(219, 100%, 97%, 1);
    border: 1px solid #436ab5;
	overflow: hidden;
}

.home .sub-tab-content .form-container .heading-wrapper{
	width: 100%;
	padding: 12px 0;
	background-color: #4267b6;
}

.home .sub-tab-content .form-container .heading-wrapper h2{
	font-weight: 500!important;
	text-align: center;
	color: #ffffff!important;
	padding: 0!important;
	margin: 0!important;
}

.home .sub-tab-content .form-wrapper{
	padding: 7px 15px 15px 15px;
}

.home .sub-tab-content .form-wrapper p{
	line-height: 18px;
	font-size: 13px;
	color: #4164b7;
	border-bottom: 1px dashed #4164b7;
    padding-bottom: 9px;
    margin-bottom: 9px;
}

.home .sub-tab-content iframe{
	margin-bottom: 0!important;
}

.home .sub-tab-content iframe form{
	padding-bottom: 0!important;
}

.home .sub-tab-content .page-copy{
	width: calc(100% - 320px);
	float: left;
}

#content{
    padding: 0!important;
}

.banner-wrapper{
    width: 100%;
    height: 170px;
    position: relative;
    display: block;
    background-color: #EEE;
}

.home .banner-wrapper{
    min-height: 381px;
}

article:not(.comment-body){
    width: 1024px;
    display: block;
    margin: 0 auto;
    padding: 10px;
    background: #FFF;
}

.blog article,
.single article{
    width: 1024px;
}

.home article:not(.comment-body){
    position: relative!important;
}

.blog article{
    width: 1024px!important;
    display: block;
    position: relative;
    float: none!important;
    margin: 0 auto;
    top: -14px;
}

.blog article,
.single article{
    padding: 10px 20px!important;
}

.blog .page-title{
    display: none;
}

.post-template-form-single-post .form-container{
	width:  300px;
    float: right;
    background-color: hsla(219, 100%, 97%, 1);
    border: 1px solid #436ab5;
	overflow: hidden;
	margin-left: 20px;
}

.post-template-form-single-post .form-container .heading-wrapper{
	width: 100%;
	padding: 12px 0;
	background-color: #4267b6;
}

.post-template-form-single-post .form-container .heading-wrapper h2{
	font-weight: 500!important;
	text-align: center;
	color: #ffffff!important;
	padding: 0!important;
	margin: 0!important;
}

.post-template-form-single-post .form-wrapper{
	padding: 7px 15px 15px 15px;
}

.post-template-form-single-post .form-wrapper p{
	line-height: 18px;
	font-size: 13px;
	color: #4164b7;
	border-bottom: 1px dashed #4164b7;
    padding-bottom: 9px;
    margin-bottom: 9px;
}

.post-template-form-single-post iframe{
	margin-bottom: 0!important;
}

.post-template-form-single-post iframe form{
	padding-bottom: 0!important;
}

.post-template-form-single-post .page-copy{
	width: calc(100% - 320px);
	float: left;
}

.entry-content{
    width: 100%!important;
    float: none!important;
}

.entry-content h1{
    color: #1982d1;
}

.entry-content h2{
    padding: 12px 0 0 0;
    color: #1982d1;
    font-weight: 300;
}

.post-template-form-single-post .entry-content h2,
.post-template-form-single-post .entry-content h3{
	clear: none;
}

.entry-content h2[style]{
    padding: 12px 0 0 0!important;
    color: #1982d1!important;
    font-weight: 300!important;
}

.banner-wrapper + article{
    margin-top: -14px;
    position: relative;
    border-top: none;
}

.home .banner-wrapper + article{
    margin-top: -14px;
    position: static;
    border-top: none;
}


.home .banner-wrapper + article .panel-content .wrap{
    background: #fff;
}

.banner-text{
    color: #FFF;
    text-shadow: 1px 1px 1px rgba(6, 56, 96, .65);
    width: 1024px;
    margin: 0 auto;
    padding-top: 36px;
}

.banner-text h1{
    margin-bottom: 0;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 42px;
    padding: 0px 20px;
}

.banner-text p:first-child{
    box-sizing: border-box;
    clear: both;
    color: rgb(255, 255, 255);
    display: block;
    font-family: Oswald, sans-serif;
    font-size: 42px;
    font-weight: normal;
    height: 58px;
    line-height: 58.8px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    padding-bottom: 0px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 0px;
    text-align: left;
    text-shadow: rgba(6, 56, 96, 0.65) 1px 1px 1px;
    text-size-adjust: 100%;
    text-transform: uppercase;
    width: 890px;
    word-wrap: break-word;
}

.home .banner-text h1{
    margin-bottom: 32px;
}

.banner-text p:nth-child(2){
    font-weight: 200;
    font-size: 24px;
    padding: 0 10px;
}

.banner-button-a{
    width: 220px;
    margin: 0 auto;
    display: block;
}

.banner-button{
    width: 220px;
    height: 44px;
    margin: 0 auto;
    box-sizing: border-box;
    border: solid 2px #fff;
    border-radius: 22px;
    background: #d91e18;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
}

.banner-text + a{
    width: 220px;
    display: block;
    margin: 0 auto;
}

.banner-button:hover{
    background: #063860;
}

.twentyseventeen-front-page article:not(.has-post-thumbnail):not(:first-child) {
    border-top: none;
}

.nav-links{
	width: 1024px;
	margin: 0 auto;
}

.tel-link{
    color: #424242!important;
}

.page-template-inner-form .form-container,
.page-template-hot-forming-form .form-container{
	width:  300px;
    float: right;
    background-color: hsla(219, 100%, 97%, 1);
    border: 1px solid #436ab5;
	overflow: hidden;
}

.page-template-inner-form .form-container .heading-wrapper,
.page-template-hot-forming-form .form-container .heading-wrapper{
	width: 100%;
	padding: 12px 0;
	background-color: #4267b6;
}

.page-template-inner-form .form-container .heading-wrapper h2,
.page-template-hot-forming-form .form-container .heading-wrapper h2{
	font-weight: 500!important;
	text-align: center;
	color: #ffffff!important;
	padding: 0!important;
	margin: 0!important;
}

.page-template-inner-form .form-wrapper,
.page-template-hot-forming-form .form-wrapper{
	padding: 7px 15px 15px 15px;
}

.page-template-inner-form .form-wrapper p,
.page-template-hot-forming-form .form-wrapper p{
	line-height: 18px;
	font-size: 13px;
	color: #4164b7;
	border-bottom: 1px dashed #4164b7;
    padding-bottom: 9px;
    margin-bottom: 9px;
}

.page-template-inner-form iframe,
.page-template-hot-forming-form iframe{
	margin-bottom: 0!important;
}

.page-template-inner-form iframe form,
.page-template-hot-forming-form iframe form{
	padding-bottom: 0!important;
}

.page-template-inner-form .page-copy,
.page-template-hot-forming-form .page-copy{
	width: calc(100% - 320px);
	float: left;
}

#comments{
    padding-left: 20px;
    padding-right: 20px;
}

#colophon{
    width: 1020px;
    display: block;
    margin: 10px auto;
    background: #272727;
    color: #fff;
    height: 184px;
    box-sizing: border-box;
    border-top: 2px solid #42a5f6;
    padding: 28px 26px 10px 26px;

}

#colophon > .wrap{
    padding: 0;
}

#colophon h2.widget-title{
    color: #fff;
}

#footer-logo{
    height: 143px;
    float: left;
    padding-right: 24px;
}

#footer-text{
    font-size: 14px;
    font-weight: 200;
}

#footer-text p{
    margin-bottom: 10px;
}

.footer-contact-info{
    font-size: 16px;
    float: left;
}

.footer-contact-info i{
    font-size: 29px;
    margin: 0 6px;
}

.footer-contact-info a:first-child i:first-child{
    margin-left: 0;
}

.footer-contact-info i:nth-child(4){
    margin-left: 20px;
}

.footer-contact-info .menu-footer-menu-container ul{
    margin: 10px 0 0 0;
}

.footer-contact-info .menu-footer-menu-container ul li{
	float: left;
	margin: 0 15px;
	list-style-type:none;
}

.footer-contact-info .menu-footer-menu-container ul li:first-child{
    margin-left: 0;
}

.footer-contact-info .menu-footer-menu-container ul li a{
	color: #42a5f6;
}

.footer-contact-info .menu-footer-menu-container ul li a:hover{
	color: #FFF;
}

.footer-phone + i{
    margin: 0 12px;
}

.wrap .entry-content{
	width: 100%!important;
}

.tab-copy a,
.entry-content a{
    color: #42a5f6;
}

.tab-links ul{
    margin: 10px 10px!important;
}

.tab-links ul li{
	list-style-type: none;
	/*width: width determined by script.js based on number of tabs;*/
    height: 80px;
    margin-bottom: 20px;
	float: left;
	background: #446cb3;
    text-align: center;
	border: 1px solid #FFF;
	box-sizing: border-box;
    line-height: 80px;
    font-size: 25px;
    font-weight: 200;
    cursor: pointer;
}

.tab-links ul li a{
    color: #FFF;
}

.tab-links ul li a:hover{
    color:#FFF;
}

.tab-caret{
    display: none;
    margin-top: -68px;
    width: 100%;
    text-align: center;
    float: left;
    font-size: 9px;
    color: #446cb3;
}

.entry-content a{
    box-shadow: none;
}

.entry-content a:hover,
.entry-content a:focus{
    box-shadow: none;
}

.sub-tab-content{
    display: none;
    float: left;
    margin: 0 10px;
}

.left-aligned_image{
    display: block;
    margin: 0 20px 0 0;
    padding: 10px;
    width: 300px;
    float: left;
    border: 1px solid #eee;
}

.right-aligned_image{
    display: block;
    margin: 0 0 0 20px;
    padding: 10px;
    width: 300px;
    float: right;
}

.left-aligned_image img,
.right-aligned_image img{
    padding: 10px;
    border: 1px solid #eee;
    margin: 0 auto;
    display: block;
}

.tab-copy{
    display: block;
    margin: 0;
    width: 100%;
    float: left;
    padding: 0 20px;
}

.tab-copy p{
    color: #6c7a89;
    font-weight: 300;
}

img.alignleft{
    margin-bottom: 100px;
}

.tab-content h1,
.tab-content h2,
.tab-content h3,
.tab-content h4,
.tab-content h5,
.tab-content h6{
    margin-top: 0;
    padding-top: 0;
    color: #272727;
}


.panel-content .wrap{
	padding: 0;
}

.selected-tab{
    background: #FFF!important;
    margin-top: -25px;
    line-height: 92px!important
}

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

.selected-tab a{
    color: #446cb3!important;
    font-weight: 400;
}

.sub-tab-content h2{
	font-size:28px;
	font-weight: 500;
}

.sub-tab-content p{
    font-size: 18px;
    line-height: 26px;
    color: #424242;
    font-weight: 300;
}

.page-copy,
.single .entry-content,
.blog .entry-content{
    width: 100%;
    float: left;
    font-weight: 300;
    padding: 10px;
}

.single article header{
    padding-left: 10px!important;
}

.page-copy img:not(.h1-decoration-right),
.page-copy p img:not(.h1-decoration-right){
    padding: 10px;
    border: 1px solid #eee;
    margin: 0 0 20px 20px;
    display: block;
}

.page-copy a img{
    border: none!important;
    margin: auto!important;
}

.page-copy p{
    color: #424242;
}

.entry-content ul,
.entry-content ol{
    margin-left: 30px;
}

.page-copy h2{
    margin-top: 0!important;
    font-size: 1.4em!important;
}

.inline-cta{
    display: block;
    position: relative;
    width: 100%;
    margin-top: 10px;
    min-height: 67px;
    background: #EEE;
    float: left;
    box-sizing: border-box;
}

.inline-cta p{
    margin: 24px 0 0 13px;
    padding: 0;
    float: left;
    line-height: 18px;
    font-size: 18px;
    text-align: center;
}

.inline-cta-button{
    display: block;
    position: relative;
    float: right;
    height: 44px;
    border-radius: 22px;
    background: #d91e18;
    border: solid 2px #fff;
    padding: 0px 20px;
    text-align: center;
    line-height: 40px;
    margin: 12px 13px 0 0;
}

.inline-cta-button{
    color: #FFF;
}

.inline-cta-button:hover{
    background: #063860;
}

/*#wwww-container{
	width: 100%;
    background: #f7f7f7;
    float: left;
    padding: 10px;
    margin: 10px;
    box-sizing: content-box;
}*/

#wwww-container{
    background: #f7f7f7;
    display: block;
    position: relative;
    float: left;
    width: 100%;
    margin-top: 10px;
    padding: 10px;
}

#wwww-container hr{
    width: 70px;
    background-color: #42a5f6;
}

#wwww-header h1{
    width: 500px;
    color: #272727;
    font-size: 28px;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0 auto;
}

#wwww-copy p{
    font-size: 21px;
    color: #6c7a89;
    font-weight: 200;
    text-align: center;
}

.wwww-logo-bloc{
    position: relative;
    display: block;
    width: calc(100%/3 - 8px);
    height: 128px;
    float: left;
    background: #fff;
    margin: 4px;
    border: 1px #EEE solid;
    box-sizing: border-box;
    box-shadow: 0px 0px 0px rgba(66, 165, 246, .35);
    transition: box-shadow .2s;
}

.wwww-logo-bloc:hover{
    box-shadow: 0px 0px 7px rgba(66, 165, 246, .35);
}

.wwww-logo-bloc img{
    display: block;
    margin: 0 auto;
    position: relative;
    max-height: 100px;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.h1-decoration-left{
    margin: 0 9px 4px 0;
    transform: rotate(180deg);
}

.home .h1-deocration-left{
    margin: 0 9px 6px 0;
}

.h1-decoration-right{
    margin: 0 0 4px 9px;
}

.home .h1-decoration-right{
    margin: 0 0 6px 9px;
}

@media (max-width: 1024px){
    .banner-wrapper{
        height: auto;
        padding-bottom: 30px;
    }

    .banner-text{
        width: 100%;
    }

    article:not(.comment-body){
        width: 100%;
    }

    .blog article{
        width: 100%!important;
    }

    .nav-links{
	    width: 100%;
	    margin: 0 auto;
    }

    .nav-next{
        float: right;
    }

    #colophon{
        width: 100%;
        height: auto;
    }
}

@media screen and (min-width: 48em){
    .has-sidebar:not(.error404) #primary {
        float: left;
        width: 100%!important;
    }
}
@media (max-width: 940px){
    #header_logo{
        display: block;
        float: none;
        margin: 14px auto 0 auto;
    }

    #cdi-hamburger{
        display: block;
    }
    .menu-top-menu-container{
        display: none;
    }

    .sub-menu{
        list-style: none;
        margin-left: 0;
    }

    .footer-contact-info a:nth-child(3){
        cursor: auto;
    }

    .footer-contact-info .menu-footer-menu-container{
        display: block;
    }

    .footer-contact-info .menu-footer-menu-container ul{
    }

    .footer-contact-info .menu-footer-menu-container ul li{
        width: 30%;
        margin: 0 auto;
        text-align: center;
    }

    .footer-contact-info .menu-footer-menu-container ul li a{
        color: #446cb3;
    }

    .footer-contact-info .textwidget{
        text-align: center;
        color: #446cb3;
    }

    .footer-contact-info .textwidget a i{
        margin-top: 3px;
        margin-bottom: 11px;
        color: #446cb3;
    }

    .footer-contact-info .textwidget a:hover i{
        color: #FFF;
    }

    .fa-map-marker{
        display: none;
    }

    .footer-phone{
        display: none;
    }

    .footer-address{
        float: left;
        width: 100%;
        text-align: center;
    }

    #cdi-mobile-nav .menu-top-menu-container{
        display: block;
    }

    #cdi-mobile-nav .menu-top-menu-container #top-menu{
        float: none;
        list-style: none;
        text-align: center;
    }

    #cdi-mobile-nav .menu-top-menu-container #top-menu li{
        width: 100%;
        background: #fff;
        border-bottom: 1px solid #eee;
    }

    #cdi-mobile-nav .menu-top-menu-container #top-menu li a{
        display: block;
        width: 100%;
        height: 100%;
    }

    #cdi-mobile-nav .menu-top-menu-container #top-menu li:hover{
        background: #EEE;
    }

    #cdi-mobile-nav .menu-top-menu-container #top-menu li:hover a{
        color: #42a5f6;
    }
}

@media (max-width: 692px){
    #micro_header_left,
    #micro_header_right{
        display: none;
    }

    #mobile-contact{
        display: block;
    }

    /*.tab-links ul li[style]{
        width: 50%!important; removed because this won't look right with an odd number of li
    }*/

    .tab-links ul li:first-child,
    .tab-links ul li:nth-child(2){
        margin-bottom: 0;
    }

    .sub-tab-content{
        display: none;
        float: left;
        margin: 0 10px;
    }

    .left-aligned_image{
        display: block;
        margin: 7px 0 0 0;
        padding: 0;
        max-width: 100%;
        float: left;
    }

    .right-aligned_image{
        display: block;
        margin: 7px 0 0 0;
        padding: 0px;
        float: left;
        max-width: 100%;
    }

    .page-copy{
        width: 100%;
    }

    .tab-copy{
        display: block;
        margin: 0;
        width: 100%;
        float: left;
        padding: 0 20px;
    }


    .selected-tab{
        background: #FFF!important;
        margin-top: 0;
        line-height: 80px!important
    }

    .selected-tab .tab-caret{
        display: none;
    }

    .selected-tab a{
        color: #446cb3!important;
        font-weight: 400;
    }

    .h1-decoration-left,
    .h1-decoration-right{
        display: none;
    }

    .inline-cta{
        padding: 0px 10px 10px 10px;
    }

    .inline-cta p{
        margin: 13px auto 13px auto;
        text-align: center;
        width: 100%;
    }

    .inline-cta-button{
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }

    #wwww-header h1{
        width: 100%;
    }

    .wwww-logo-bloc{
        width: calc(50% - 8px)
    }

    .tel-link{
        color: #42a5f6!important;
    }
	
	.home .sub-tab-content .page-copy{
		width: 100%;
	}
	
	.home .sub-tab-content .form-container{
		width: 100%;
		margin-bottom: 5px;
	}
	
	.post-template-form-single-post .page-copy{
		width: 100%;
	}
	
	.post-template-form-single-post .form-container{
		width: 100%;
		margin-left: 0px;
		margin-bottom: 5px;
	}
	
	.page-template-inner-form .page-copy,
	.page-template-hot-forming-form .page-copy{
		width: 100%;
	}
	
	.page-template-inner-form .form-container,
	.page-template-hot-forming-form .form-container{
		width: 100%;
		margin-bottom: 5px;
	}

    #footer-wrapper div{
        width: 100%;
    }

    #footer-logo{
        padding-right: 0;
        height: auto;
        margin-bottom: 30px;
    }

    #footer-logo img{
        display: block;
        margin: 0 auto;
    }

    #footer-text p{
        text-align: center!important;
    }
}

@media (max-width: 440px){
    .tabs{
        border: 1px solid #6c7a89;
        overflow: auto;
        padding-bottom: 10px;
    }

    .tab-links ul li[style]{
        width: 100%!important;
        margin-bottom: 0;
    }

    .tab-links ul li:last-child{
        margin-bottom: 20px;
    }

    .wwww-logo-bloc{
        width: calc(100% - 8px);
    }
}

@media screen and (min-width: 48em){
    .main-navigation li li:hover,
    .main-navigation li li.focus {
        background: #f7f7f7;
    }

    .main-navigation ul li:last-child:hover > ul{
	left: -220px;
	right: auto;
    }

}
