/*
Theme Name: DentalCMO Build (2013) Child
Template: dentalcmo
Author: Child Theme Configurator
Version: 1.0.1432920327
Updated: 2015-05-29 17:25:27
*/

@import url('../dentalcmo/style.css');

@font-face {
    font-family: GoBoldReg;
    src: url('/wp-content/uploads/2016/01/Gobold-Regular.ttf');
}@font-face {
    font-family: GoBoldBold;
    src: url('/wp-content/uploads/2016/01/Gobold-Bold.ttf');
}@font-face {
    font-family: GoBoldLight;
    src: url('/wp-content/uploads/2016/01/Gobold-Light-Italic.ttf');
}

b, b a, strong, strong a {
    font-family: 'GoBoldBold' !important;
    color:#5891c1;
}

#callus a, .menu a, h1, h1 a, h2, h2 a, h3, h3 a, h4, h4 a, h5, h5 a, h6, h6 a, #footer *, .GoBoldReg, .post-entry a {
    font-family: 'GoBoldReg' !important;
    letter-spacing:1px;
}
body.page-id-5 h1 {
    color:#b6d971;
}

#content, #content-full, #content-blog, #content-archive { margin-top: 20px; }

.post-entry { padding: 0; }

.widget-container, .widget-wrapper { background-color: #b6d971; padding: 10px; }

.widget-title { font-family: Open Sans; background: #5891c1; color: #fff; padding: 8px; margin: -10px -10px 10px; }

#widgets form { width: 100%; padding: 0; }

h1 em {
    font-family:'GoBoldLight';
    color: #5891c1;
}
#backgroundWhite {
    max-width:1280px;
    width:100%;
    margin:auto;
    background-color:rgba(255,255,255,0.85);
}
#headerTopCont {
    padding:5px 0;
}
#callus {
    position:initial;
    height:40px;
}
#callus a {
    display:inline-block;
    height:40px;
    line-height:40px;
    padding:0 8px;
}

#menuCont {
    width:1280px;
    margin:auto;
}

@media all and (min-width:970px) and (max-width:1120px) {
    #header .menu a {
        padding: 0 8px;
        font-size: 16px;
    }
}

@media all and (min-width:766px) and (max-width:1030px) {
    #header #headerTopCont {
        padding: 5px 25px;
    }
}

@media all and (min-width:766px) and (max-width:970px) {
    .menu > li > a {
        font-size:14px;
        padding: 0 5px;
    }
    #maroonBack {
        background-color:rgba(88, 145, 193,1);
        height:110px;
        width:calc(100% - 170px);
        float:right;
    }
    body:not(.page-id-5) .menu {
        background-color:rgba(88, 145, 193,0.7);
        width:100%;
    }
    #logo a {
            display: block;
            margin-top: 18px;
    }
}

@media all and (min-width:971px) {
    #header #logo, #header #logo img {
        width:261px;
    }
    body.page-id-5 #maroonBack {
        background-color:rgba(88, 145, 193,0.85);
        height:110px;
        width:calc(100% - 261px);
        float:right;
    }
    body:not(.page-id-5) .menu {
        background-color:rgba(88, 145, 193,0.85);
        width:calc(100% - 261px);
    }
}

@media all and (min-width:766px) {
    #callToAction {
        float:left;
    }
    #header {
        position:fixed;
        z-index:9999;
    }
    body:not(.page-id-5) #container {
        padding-top:160px;
    }
    #logo {
        float:left !important;
        height:110px;
        box-sizing:border-box;
        padding:10px 5px;
        background-color:rgba(255,255,255,0.85);
    }

    .menu {
        width:100%;
        float:left;
        clear:none;
        height:110px;
        max-width:100%;
    }
    .menu > li {
        padding:32.5px 0;
    }
}

@media all and (max-width:765px) {
    #callToAction {
        text-align:center;
    }
    .menu {
        background-color:#5891c1;
    }
}

#logo, #logo img {
    width:170px;
}

#footer {
    background-color:#5891c1;
}

.orange {
    background-color:rgba(182,217,113,.8);
}
.maroon {
    background-color:rgba(88, 145, 193,.7);
}

.highlight-container {
    position: relative;
    width: 100%;
}
.highlight-container:after {
    content: "";
    display: block;
    padding-bottom: 100%;
}
.highlight-slider {
    height:100%;
    width:100%;
    box-sizing:border-box;
    overflow:hidden;
    position:absolute;
    background-image:url('/wp-content/uploads/2015/04/placeholder.jpg');
    background-size:cover;
    background-position:center;
}
#fam .highlight-slider {
    background-image:url('/wp-content/uploads/2018/03/family-cropped.png');
}
#imp .highlight-slider {
    background-image:url('/wp-content/uploads/2019/06/istock928069650.jpg');
	background-size: 150% auto;
}
#metal .highlight-slider {
    background-image:url('/wp-content/uploads/2019/05/metal-braces-highlight.jpg');
}
#inv .highlight-slider {
    background-image:url('/wp-content/uploads/2019/06/istock918796064.jpg');
}
@media all and (max-width: 768px) {
	#inv .highlight-slider {
		background-size: 150%;
	}
}
.highlight-content {
    position: absolute;
    width:calc(100% - 45px);
    -webkit-transition: left .5s; /* Safari */
    transition: left .5s;
    left:0;
    background-color:rgba(182,217,113,.8);
    height: 100%;
}
.highlight-slider:not(:hover) .highlight-content {
    left: calc(-100% + 45px);
}
.highlight-header {
    transform: rotate(-90deg);
    transform-origin: right top 0;
    float:right;
    left:-45px;
    height:45px;
    line-height:45px;
    background-color:rgba(88, 145, 193,.7);
    color:#fff;
    font-family:'GoBoldReg';
    text-align:center;
    width:calc(100% + 45px);
    font-size:20px;
}

.highlight-header a { color: #fff !important; }

.highlight-header:after {
    content: '';
    display: block;
    height: 45px;
    width: 45px;
    background: url('/wp-content/uploads/2016/01/Arrow.svg');
    position: absolute;
    background-size: 40%;
    background-position: center center;
    background-repeat: no-repeat;
    left: 0;
    top: 1px;
    -webkit-transition: all 0.7s;
    -moz-transition: all 0.7s;
    -o-transition: all 0.7s;
    transition: all 0.7s;
    transform: rotate(180deg);
}

.highlight-slider:hover .highlight-header:after { transform: rotate(0deg); }

.highlight-copy {
    position:absolute;
    color:rgb(8, 58, 101);
    padding:10px;
    box-sizing:border-box;
    text-align:justify;
    font-size:16px;
    line-height:1.5;
}

#contact-flex {
    margin-bottom:20px;
}
#contact-flex > div {
    box-sizing:border-box;
}
#contact-flex h4 {
    padding-top:15px;
    text-align:center;
    margin-bottom:20px;
}
#loc {
    padding:10px;
    background: linear-gradient( rgba(88, 145, 193,.7), rgba(88, 145, 193,.7) ), url('/wp-content/uploads/2016/01/map.jpg');
    background-size:cover;
    background-position:center;
    text-align:center;
    color:#fff;
    line-height:1.75;
}
#loc a {
    color:#fff;
    text-decoration:underline;
}
#loc h4 {
    color:#fff;
}
#raa {
    background-color:#b6d971;
    padding:10px;
}

.sliderBoxSlider { width: 100%; }

.wpcf7 textarea { height: 91px; }

.wpcf7 input, .wpcf7 textarea {
    border:1px solid #fff;
}
.wpcf7 input[type=submit] {
    background-color:#5891c1;
    border:1px solid #5891c1;
    font-family:'GoBoldReg';
    color:#fff;
}
#widgets .wpcf7 input, #widgets .wpcf7 textarea {
    border:1px solid #5891c1;
}

#npoo {
    background-image:url('/wp-content/uploads/2016/01/npoo.jpg');
    background-size:cover;
    background-position:Center;
}

#npoo {
    font-family:'GoBoldReg';
}

#npoo .sliderHeader { text-align: center; }

@media all and (min-width:766px) {

    #contact-flex {
        display: -webkit-flex;
        display: flex;
        width:100%;
    }
    #loc, #npoo {
        -webkit-flex: 1; /* Safari 6.1+ */
        -ms-flex: 1; /* IE 10 */ 
        flex: 1;
    }
    #raa {
        -webkit-flex: 2; /* Safari 6.1+ */
        -ms-flex: 2; /* IE 10 */ 
        flex: 2;
    }

}
@media all and (max-width:765px) {
    
    #loc, #raa {
        max-width:400px;
        width:100%;
        margin:auto;
    }
    #npoo { display: none; }

    .highlight-slider, .highlight-content, .highlight-header, .highlight-copy { position: static; }
    .highlight-header { float: none; transform: rotate(0deg); width: 100%; background-color: rgb(88, 145, 193); }
    .highlight-header::after { display: none; }
    .highlight-content { width: 100%; margin-top: 75vw; background-color: #b6d971; }
    .highlight-slider { background-size: 100% auto; background-position: center -5vw; }
    .highlight-container::after { display: none; }
    #logo, #logo img {width: 260px;}
    #callToAction {font-size:16px !important; letter-spacing:0px!important;}
}   

@media (max-width: 520px) {
.alignleft, .alignright {display: block;float: none; margin: 0 auto;margin-bottom: 20px; margin-top: 20px;}
h1, h2 {font-size: 30px; text-align: center; line-height:1.2em;}


}

@media all and (max-width:350px) {
    .highlight-slider {background-size: contain; background-position: center -9%;}
}

.sliderHeader {
    background-color:#5891c1;
    color:#fff;
}

#revContainer {
    max-width:100% !important;
}

.toggleMenu {
    background-color:#5891c1;
    margin-top:0 !important;
}
#responsiveheader a {
    background-color:#5891c1;
    border:1px solid #5891c1;
    color:#fff;
    width:150px;
    font-family:'GoBoldReg';
}
#responsiveheader a:hover {
    background-color:#b6d971
}

#container {
    background-color:#fff;
}

.flex{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-justify-content:space-between;-moz-justify-content:space-between;justify-content:space-between}.flex > *{display:block}@media all and (min-width:769px){.flex > .fifth{width:calc(20% - (40px / 5))}.flex > .twofifth{width:calc((20% - (40px / 5)) * 2 + 10px)}.flex > .threefifth{width:calc((20% - (40px / 5)) * 3 + 20px)}.flex > .fourfifth{width:calc((20% - (40px / 5)) * 4 + 30px)}.flex > .quarter{width:calc(25% - (30px / 4))}.flex > .threequarter{width:calc((25% - (30px / 4)) * 3 + 20px)}.flex > .third{width:calc( (100% * (1 / 3)) - (20px / 3))}.flex > .twothird{width:calc(((100% * (1 / 3)) - (20px / 3)) * 2 + 10px)}.flex > .half{width:calc(50% - (10px / 2))}.flex.nospace > .fifth{width:20%}.flex.nospace > .twofifth{width:40%}.flex.nospace > .threefifth{width:60%}.flex.nospace > .fourfifth{width:80%}.flex.nospace > .quarter{width:25%}.flex.nospace > .threequarter{width:75%}.flex.nospace > .third{width:calc(100% * (1 / 3))}.flex.nospace > .twothird{width:calc(100% * (2 / 3))}.flex.nospace > .half{width:50%}}@media all and (max-width:768px){.flex{-webkit-flex-direction:column;-moz-flex-direction:column;flex-direction:column}.flex > *:last-child{margin:auto}.flex > *:not(:last-child){margin:0 auto 20px}.flex > .quarter{max-width:320px;width:100%}.flex > .third{max-width:420px;width:100%}.flex > .half{max-width:540px;width:100%}.flex > .twothird{max-width:640px;width:100%}.flex > .threequarter{max-width:767px;width:100%}}
