/*
Theme Name: Fergus Orthodontics
Theme URI: http://fergusortho.com/
Description: This is a custom child theme for Fergus Orthodontics
Author: Clear Partnering Group
Author URI: http://clear-pg.com/
Template: salient
Version: 0.1
*/

.main-content p, .main-content ul, .main-content li, .main-content address{
    -webkit-font-smoothing: subpixel-antialiased;
}

video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls{
  display: none!important;
  -webkit-appearance: none !important;
}

.meta-invle, .meta_invle{
    display:none !important;
    visibility: hidden !important;
}

.border-radius-15{
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

body .main-content .txt-lowercase{
    text-transform: lowercase !important;
}

/*
Typography fixes for SEO
*/
.main-content h2{
    font-size: 26px;
    line-height: 36px;
    font-weight: 700;
}

/*
Top Nav Menu Changes
*/

body[data-dropdown-style="minimal"] #header-outer:not([data-format="left-header"]) header#top nav > ul > li:not(.megamenu) ul a:hover,
body[data-dropdown-style="minimal"] #header-outer:not([data-format="left-header"]) header#top nav > ul > li:not(.megamenu) ul li.current-menu-item > a,
body[data-dropdown-style="minimal"] #header-outer header#top nav > ul > li:not(.megamenu) li.sfHover > a, body[data-dropdown-style="minimal"] #header-outer:not([data-format="left-header"]) header#top nav > ul > li:not(.megamenu) li.sfHover > a{
    -webkit-border-radius: 1em;
    -moz-border-radius: 1em;
    border-radius: 1em;
    padding-left: 1em;
    transition: padding .500s;
}

#header-outer[data-lhe="animated_underline"] header#top nav > ul > li > a:after, body.material #header-outer #search-outer #search input[type="text"] {
    border-color: #57b65a!important;
}

@media only screen and (max-width: 1300px){
  #header-outer[data-lhe="animated_underline"] header#top nav > ul > li > a{
    margin-left:10px !important;
    margin-right:10px !important;
  }
  
}
@media only screen and (min-width: 1001px) and (max-width: 1300px){
  .m-m-t-5,
  .m-m-t-5.full-width-section.first-section{
      margin-top: 5% !important;
    }
}

@media only screen and (min-width: 680px) and (max-width: 1000px){
  #social a[href="https://www.instagram.com/fergusortho/"] {
		display: none !important;
	}
  body #header-secondary-outer nav >ul >li >a{
        line-height: 31px !important;
  }
}
/*
Top 2nd Bar and Top 2n Nav 
*/
.sf-menu{
    float:left!important;
}
body #header-secondary-outer nav >ul{
    padding:7px 0;
}
body #header-secondary-outer nav >ul >li:first-child >a{
    margin-left:0 !important;
}

body #header-secondary-outer nav >ul >li >a{
    font-size:10px;
}

/*
Top Header & Menu
*/
/* Adjusted because of moving the 2nd menu */
@media only screen and (min-width: 1000px){
    body.material[data-hhun="1"]:not(.no-scroll) #header-outer[data-permanent-transparent="false"][data-using-secondary="1"]:not(.detached):not(.parallax-contained):not(.at-top-before-box) {
        top: 38px!important;
    }

}

#header-secondary-outer #social{
    float:right;
}

body #slide-out-widget-area .inner .off-canvas-menu-container li a, body #slide-out-widget-area.fullscreen .inner .off-canvas-menu-container li a, body #slide-out-widget-area.fullscreen-alt .inner .off-canvas-menu-container li a, body #slide-out-widget-area.slide-out-from-right-hover .inner .off-canvas-menu-container li a, body #nectar-ocm-ht-line-check{
    /*font-family: "Montserrat", "Trebuchet MS", Helvetica, sans-serif !important;*/
    font-size: 21px!important;
    line-height: 1!important;
    display: inline-block;
}
@media only screen and (max-width: 320px){
  body #slide-out-widget-area .inner .off-canvas-menu-container li a, body #slide-out-widget-area.fullscreen .inner .off-canvas-menu-container li a, body #slide-out-widget-area.fullscreen-alt .inner .off-canvas-menu-container li a, body #slide-out-widget-area.slide-out-from-right-hover .inner .off-canvas-menu-container li a, body #nectar-ocm-ht-line-check{
    font-size: 16px!important;
  }
  body.material #slide-out-widget-area[class*="slide-out-from-right"] .off-canvas-menu-container li{
    margin-bottom:1px !important;
  }
  #slide-out-widget-area .ocm-dropdown-arrow,
  #slide-out-widget-area .open-submenu>.ocm-dropdown-arrow{
    transform: translateY(-20%) !important;
  }
  .bottom-meta-wrap a[href="tel:+18703363366"] {
		display: none !important;
	}
}
#slide-out-widget-area .mobile-only .menu.secondary-header-items li a{
    font-size:16px !important;
    display: inline-block;
    line-height: 1.51 !important;
}
.material #slide-out-widget-area[class*="slide-out-from-right"] .inner .off-canvas-menu-container li li a, body #slide-out-widget-area[data-dropdown-func="separate-dropdown-parent-link"] .inner .off-canvas-menu-container li li a{
    font-size:16px !important;
    display: inline-block;
    line-height: 1 !important;
    margin-left:1em;

}
body[data-slide-out-widget-area-style="slide-out-from-right"] #slide-out-widget-area .off-canvas-social-links li a{
    padding:0 8px !important;
}
body[data-slide-out-widget-area-style="slide-out-from-right"] #slide-out-widget-area .off-canvas-social-links li:first-child a{
    padding-left:0 !important;
}
@media only screen and (min-width: 1200px){
    body.material #header-outer[data-format="centered-menu"] header#top .span_9 nav ul.sf-menu{
        justify-content: auto !important;
        /*padding-left: 105px;*/
      padding-left:0px;

    }
}
body.material #header-outer:not([data-format="left-header"]) #top nav>.buttons{
  margin-left:0;
}
@media only screen and (max-width: 690px){
body #slide-out-widget-area .inner .off-canvas-menu-container.mobile-only .menu.secondary-header-items {
    display: none !important;
}
}
/*
Top Header Video Area
*/

.first-section h1{
    line-height: 1;
}


/*
Gallery Image ADjustments
*/
/* Fixes as well for Jetpack lazy load */
.portfolio-items[data-ps="3"] .inner-wrap, .portfolio-items[data-ps="5"] .inner-wrap{
  z-index:2;
  position: relative;
}
.portfolio-items[data-ps="3"] .inner-wrap, .portfolio-items[data-ps="5"] .inner-wrap,
.portfolio-items .col .work-item{
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

.nectar-fancy-box[data-style="parallax_hover"] .parallaxImg-rendered-layer, .nectar-fancy-box[data-style="parallax_hover"] .bg-img:after{
  height: 106%;
}
/*
CUSTOM IMAGE ALIGNMENT
*/
@media only screen and (min-width: 1001px){
    .map-150,
    .image-150,
    .image-150-l{
        max-width: 100% !important;
        width: 130% !important;
    }
    body .map-150,
    body .image-150{
        margin-right: -35% !important;
    }
    body .image-150-l{
        margin-left: -35% !important;
    }
    
    .image-150.vc_col-sm-7,
    .image-150-l.vc_col-sm-7{
        width: 77% !important;
    }
    body .image-150.vc_col-sm-7{
        margin-right: -20% !important;
    }
    body .image-150-l.vc_col-sm-7{
        margin-left: -20% !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1336px){
  .using-mobile-browser .image-150-l.vc_col-sm-8 img,
  .using-mobile-browser .image-150.vc_col-sm-8 img{
    width:90%;
  }
  
}
@media only screen and (max-width: 400px){
  .slide-out-from-right.mobile{
    padding-right:30px !important;
    padding-left:30px !important;
  }
}
/*
Toggle/Accordion Contrast additions
*/
#frequently-asked-questions div[data-style="minimal_small"] .toggle.open,
#financing-FAQs div[data-style="minimal_small"] .toggle.open{
    position: relative;
}
#frequently-asked-questions div[data-style="minimal_small"] .toggle.open:before,
#financing-FAQs div[data-style="minimal_small"] .toggle.open:before{
    background-color:rgba(185, 185, 185, 0.10);
    content:'';
    position: absolute;
    width:100%;
    height:100%;
    border-radius:15px;
    padding:15px;
    margin-left:-15px;
    margin-top:-15px;
}

/*
Footer Changes
*/
.fb-like > span,
.fb_iframe_widget span{
    vertical-align: middle !important;
}
#top-footer{
    z-index: 12;
}

body #footer-outer{
    background-color:rgba(158, 155, 132, 0.3)!important;
}
body #footer-outer #copyright{
    background:none!important;
}
body #footer-outer .row{
    padding-bottom:0
}
#menu-fergus-footer-nav-v1-0{
    text-align: right;
}
@media only screen and (min-width: 1000px){
    body #footer-outer .row {
        padding: 35px 0 0px;
    }
}
@media only screen and (max-width: 1000px) and (min-width: 1px){
    #menu-fergus-footer-nav-v1-0{
        text-align:center;
    }
    #footer-widgets .container .col {
        margin-bottom:0;
    }
    #footer-outer .col.span_4:nth-child(2){
        display:none;
    }
  #top-footer .span_12.light > .vc_col-sm-12 > .vc_column-inner > .wpb_wrapper > .wpb_row.vc_row-fluid.vc_row.standard_section {
    padding-top: 100px !important;
padding-bottom: 0px !important;
transform: translateY(-50px) !important;
  }
}
body #footer-outer #copyright p{
    font-size:10px;line-height:1.51;
}

#footer-outer .widget{
    margin-bottom:0;
}

/*
Responsive fixes for column breaks
*/
@media (max-width: 1299px) and (min-width: 1200px){
    body .vc_row-fluid .vc_col-lg-4 {
        width: 50% !important;
    }
}
/*
Gallery Fixes for lazy loading...
*/
body .portfolio-items .col.span_4,
body .portfolio-items .col.span_3{
    position:relative !important;
    top:auto !important;
    left:auto !important;
    transform:none !important;
    -webkit-transform: none !important;
}
@media only screen and (max-width: 1000px) and (min-width: 690px){
.portfolio-items:not(.carousel) div:nth-child(2n+2), .portfolio-items:not(.carousel) div:nth-child(2n+2) {
    clear: none!important;
}
}
/*
Blog Related
*/
.post-area.featured_img_left.span_9{
    padding-bottom:5%;
}

.post-area.featured_img_left .article-content-wrap .post-content-wrap{
    padding:0 0 6% 6%;
}
.post-area.featured_img_left .article-content-wrap .post-featured-img-wrap a span{
    height:100%;
    padding-top: 90%;
}
.post-area.featured_img_left article:hover .article-content-wrap .post-featured-img-wrap span {
    height: 98% !important;
    transition: all .7s;
    -webkit-transition: all .7s;
}

@media (max-width:690px){
    .post-area.featured_img_left .article-content-wrap .post-featured-img-wrap a span{
        height:100%;
        padding-top: 0;
    }
}

/*
Missing Youtube iframe embed css
*/
article .iframe-embed{
  position:initial !important;
}
article.post .embed-youtube {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
}
article.post .embed-youtube iframe {
	position: absolute !important;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

article.post .content-inner{
    padding-bottom:0;
    margin-bottom:0;
}

#sidebar #custom_html-3{
    margin-bottom:30px;
}

/*
RECAPTCHA GOOGLE
*/
.grecaptcha-badge { visibility: hidden; display:none; }
.recaptcha-policy{
  line-height: 1;
  margin-top: 2em;
  font-size: 12px;
  color: #999;
}
.recaptcha-policy > small{
    font-size:70%;
}

/*
* RECAPTCHA GOOGLE 
* To Hide badge
*/
.grecaptcha-badge { visibility: hidden; display:none; }
.ginput_recaptcha + .gfield_description{
  line-height: 1;
  font-size: 12px;
}
.ginput_recaptcha + .gfield_description > small{
  font-size:70%;
}