/*
Theme Name: Foundry Child
Template: foundry
Author: Tom Rhodes
Description: This is a child theme of Foundry, generated by Merlin WP.
Version: 2.1.6.1563469616
Updated: 2019-07-18 09:06:56

*/

/* #1 & #2 -- */
.nav-utility {
    float: right; 
    border-bottom: none;
}
.nav-bar {
    border-bottom: none;   
}
.module.widget-handle {
    border-left-width: 0px;   
}
body .nav-bar > .module.left > a {
     height: 100px;   
}
@media all and ( min-width: 1069px ){
  body .logo {
    max-width: none;
    max-height: 78% !important;
    margin-top: 5%;
  }
}
@media all and ( min-width: 992px ){
  body .logo {
    max-width: none;
    max-height: 55%;
    margin-top: 5%;
  }
}
.menu li a {
    font-weight: 500;   
}
nav.fixed .nav-utility {
    display: block;   
}
.nav-bar > div:last-child {
    border-top: 0px solid #cccccc;
	clear: right;
}
.module-group.right .module.left:first-child {
    padding-left: 0;   
}
body .nav-bar > .module.left,
body .nav-bar {
 height: 100px;   
 max-height: 100px;
}
body .nav-bar .module.widget-handle {
 height: 53px;   
}
span.blue {
    color: #0066a6;
  	letter-spacing: 1px !important;
}
span.orange {
    color: #f7921e; 
  	letter-spacing: 1px !important;
}
.nav-utility .sub {
    font-size: 16px;   
}
.nav-utility .sub span {
    font-weight: 700;   
    position: relative;
    top: 0px;
    padding-right: 9px;
}
.nav-utility .sub span + span {
    padding-left: 10px;   
}
.nav-utility i {
    top: 5px;
    font-size: 20px;
}
.nav-utility > div:last-child {
    padding-left: 7px;   
}
.nav-utility > div:last-child a {
    position: relative;
    left: 16px;
}
body .module.widget-handle.mobile-toggle {
    clear: right;
    border: none !important;
}
@media all and ( max-width: 991px ){
    .nav-utility > div:last-child a {
        left: 10px;   
    }
    .module-group.right .module.left:first-child {
        padding-left: 32px;   
    }
}
@media all and ( max-width: 800px ){
     .nav-utility .sub span.blue {
          display: none;   
     }
     .nav-bar,
     .nav-utility {
         padding-top: 3px;   
     }
}

/* #3 -- Improve top margin of search bar in footer to match menu widgets. */
footer input {
    margin-top: 6px;  
}

/* #4 --  Improve footer search bar height to match the height of 2 menu items in widgets. */
footer input[type="text"] {
    height: 35px;   
}

/* #5 -- Improve bottom margin of search bar in footer to match menu widgets. */
footer input {
    margin-bottom: 0;  
}

/* #6 -- Increase social icon size (in footer) */
footer .social-list li {
     font-size: 18px;   
}

/* #7 -- */
.single-post .main-container section {
    margin-top: 30px;
}

/* #8 -- */
.single-post input:not( input[type="submit"] ), .single-post textarea {
    color: #939598; 
}
.single-post ::-webkit-input-placeholder { /* Edge */
  color: #939598;
}
.single-post :-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #939598;
}
.single-post ::placeholder {
  color: #939598;
}

/* #9 -- Submit buttons should be left aligned, change background to #939598 */
.comments input[type="submit"]{
    float: left;   
}
input[type="submit"]{
    background: #939598;
    border-color: #939598;
}

/* Footer JB -- */
.footer-1 .container {    
  position: static !important;
}
@media (min-width: 992px) {
  .footer-1 .row {    	
    margin-left: 0px !important;
    padding-left: 0px !important;
    margin-right: 0px !important;
  }
  .footer-1 .container {
    margin-left: 0px;
    margin-right:0px;
    width: 100%;
    padding-left: 0px;
  }
  .col-md-3 {
    padding-left:0px;
  }
  ul.list-inline.social-list {
    margin-left: 50% !important;
    text-align: left !important;
  }
}
@media (max-width: 991px) {
  div#media_image-3 {    		
    margin-left: -60px !important;
  }
  ul.list-inline.social-list {
    margin-left:0px !important;
    text-align: left !important;
    margin-top: -20px !important;
  }
}
@media (max-width: 767px) {
  ul.list-inline.social-list {
    margin-left:0px !important;
    text-align: left !important;
    margin-top: -55px !important;
    margin-bottom: 60px !important
  }
}

/* Breadcrumbs JB -- */
.breadcrumb-2 > li + li:before {    
  padding-left: 5px;    
  padding-right: 0px;    
  color: #bbb;
}
@media (max-width: 990px) {
	.page-title-4 .breadcrumb, .page-title-2 .breadcrumb {    	
      float: left;    	
      margin-top: 8px;
	}
}
.breadcrumb-2 > li + li:before {
    color:#ffffff !important;
}

/* Header JB -- */
@media (max-width: 855px) {
  span.blue {
    display:none !important;
  }
}

/* Changes 9/10/19 */
span.grey {
    display: none;   
}
@media all and ( max-width: 767px ){
    .nav-utility {
        float: none;
        border-bottom: 1px solid #ccc;
        text-align: center;
        padding-top: 0;
        height: 30px;
        line-height: 27px;
    }
    body .nav-bar > .module.left,
    .nav-utility > .module.left {
        float: none;   
    }
    span.grey {
        display: inline-block;   
        color: #777;
        font-weight: 400 !important;
    }
    body .module.widget-handle.mobile-toggle {
        float: right;   
        position: absolute;
        top: 50px;
    }
    body .logo {
        max-width: 216px !important;
        position: relative;
        top: 12px;
    }
    body .nav-bar > .module.left, body .nav-bar {
        height: 120px;
        max-height: 120px;
    }
    .nav-utility .sub span + span,
    .nav-utility .sub span {
        padding: 0;   
    }
    .admin-bar nav.fixed, .admin-bar nav.absolute {
        top: 46px;
    }
    nav.fixed.absolute.outOfSight {
        position: fixed !important;
        top: 0;
    }
    nav.fixed.absolute.outOfSight .nav-utility {
        text-align: left;
        float: left;
        border-bottom: none;
    }
    nav.fixed.absolute.outOfSight .nav-bar > .module.left {
        display: none;   
    }
    body nav.fixed.absolute.outOfSight .module.widget-handle.mobile-toggle {
        top: 5px;
        height: 20px;
        min-height: 20px;
        line-height: 0px;
    }
    body nav.fixed.absolute.outOfSight .mobile-toggle i {
        line-height: 0px !important;   
    }
    body nav.fixed.absolute.outOfSight .nav-bar > .module.left, body nav.fixed.absolute.outOfSight .nav-bar {
        height: 33px;
        max-height: 33px;
    }
    body .menu > li ul {
        width: 100% !important;   
    }
}
.container-new {
  width: 100%
}
@media (min-width: 992px) {
  /* 1) Allow col1 to size to its content instead of 25% */
  .row.light-wrapper.content-page.vc_hidden-sm.vc_hidden-xs.clinically-reviewed-row
    > .clinically-reviewed-col1 {
    flex: 0 0 auto !important;
    max-width: none !important;
    width: auto !important;
  }

  /* 2) Never wrap that H3 */
  .clinically-reviewed-col1 h3 {
    white-space: nowrap !important;
  }

  /* 3) Restore the spacer above the bio to 4em instead of 75px */
  .clinically-reviewed-col2 .vc_empty_space {
    height: 5.5em !important;
  }
}

/* 4) Column floats & widths */
.clinically-reviewed-col1 {
  float: left !important;
  margin-right: 4em !important;
  width: 15% !important;
}

.clinically-reviewed-col2 {
  float: left !important;
  width: 55% !important;
}

.clinically-reviewed-col3 {
  float: left !important;
  width: 30% !important;
}

/* 5) Make sure parent row doesn’t wrap */
.clinically-reviewed-row {
  display: flex !important;
  flex-wrap: nowrap !important;
}
/* 1) Kill the row’s side padding */
.vc_custom_1745852561162 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* 2) Kill WPBakery’s column padding inside that row */
.vc_custom_1745852561162 .wpb_column {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* 3) Make the separator full-width and remove its margins */
.vc_custom_1745852579462.clinically-reviewed-sep {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 4) Ensure the line spans its container fully */
.vc_custom_1745852579462 .vc_sep_holder {
  width: 50% !important;       /* two holders at 50% each = 100% total */
  margin: 0 !important;
  padding: 0 !important;
}
.vc_custom_1745852579462 .vc_sep_line {
  width: 100% !important;
}
/* ================================================
   MOBILE & SMALL TABLETS (≤991px)
   ================================================ */
@media screen and (max-width: 991px) {
  /* 1) Force nav‑bar height */
  body .nav-bar,
  body .nav-bar > .module.left {
    height: 130px !important;
    max-height: 130px !important;
  }

  /* 2) Push main content down */
  .main-container {
    margin-top: 90px !important;
  }

  /* 3) Stack VC columns & spacing on ARFID page */
  .page-id-1098 .vc_column_container > .vc_column-inner {
    box-sizing: border-box !important;
    padding: 0 !important;
    margin-top: 70px !important;
    width: 100% !important;
  }
  .page-id-1098 .col-md-6 {
    width: auto !important;
  }

  /* 4) Swap in the mobile hero image and lock to 330px */
  body.page-id-1098 .wpb_wrapper .background-image-holder {
    background-image: url("https://centerfordiscovery.com/wp-content/uploads/2025/05/CFD_TP_arfid_mobile.webp") !important;
    background-position: top center !important;
    height: 354px !important;
    width: 100% !important;
  }

  /* 5) Left‑align social icons */
  ul.list-inline.social-list,
  #custom_html-7 ul.list-inline.social-list,
  #custom_html-7 .textwidget {
    float: left !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  #custom_html-7 ul.list-inline.social-list::after {
    content: "" !important;
    display: block !important;
    clear: both !important;
    margin-bottom: 50px !important;
  }

  /* 6) Override overlay padding on ARFID page */
  .page-id-1098 .page-title.page-title-2.image-bg.overlay:first-child {
    overflow: visible !important;
    padding-top: 260px !important;
  }
}

/* ================================================
   DESKTOP & LARGE TABLETS (≥992px) – ARFID page only
   ================================================ */
@media screen and (min-width: 992px) {
  /* 1) Cap the hero wrapper at 330px × full‑width */
  body.page-id-1098 .wpb_wrapper > section.page-title.page-title-2.image-bg.overlay {
    height: 354px !important;
    overflow: hidden !important;
    width: 100% !important;
  }

  /* 2) Sync the inner background‑image holder */
  body.page-id-1098
    .wpb_wrapper > section.page-title.page-title-2.image-bg.overlay
    > .background-image-holder {
    height: 354px !important;
    width: 100% !important;
    background-position: initial !important;
  }

  /* 3) Override any nav‑overlay hero sizing */
  body.page-id-1098
    .nav-is-overlay .page-title-1.image-bg:first-child,
  body.page-id-1098
    .nav-is-overlay.page-title-1.bg-dark:first-child,
  body.page-id-1098
    .nav-is-overlay .page-title-2.image-bg:first-child,
  body.page-id-1098
    .nav-is-overlay.page-title-2.bg-dark:first-child {
    height: 354px !important;
    width: 100% !important;
  }
}
@media screen and (max-width: 991px) {
  /* extra specificity + !important */
  body.page-id-1098
    .vc_column_container > .vc_column-inner
    .col-md-6 > h2.uppercase.mb8 {
    margin-top: -340px !important;
  }
}
@media screen and (max-width: 991px) {
  /* extra specificity + !important */
  html body.page-id-1098 .symptoms-content .wpb_wrapper {
    display: inline-block !important;
    margin-top: 0px          !important;
  }
}
@media screen and (max-width: 991px) {
  /* only on the ARFID page, only for that top .row.light-wrapper */
  body.page-id-1098 .ebor-page-wrapper > .row.light-wrapper.normal-padding {
    margin-bottom: -140px !important;
  }
}
@media screen and (min-width: 992px) {
  /* 4) Add top margin to the ARFID page hero */
  body.page-id-1098 .wpb_wrapper > section.page-title.page-title-2.image-bg.overlay {
    margin-top: 80px !important;
  }
}
@media screen and (min-width: 992px) {
  body.page-id-1098 
    .wpb_wrapper > section.page-title.page-title-2.image-bg.overlay 
    > .background-image-holder {
    height: 354px   !important;
    width:  100%    !important;
    /* replace this:
    background-position: initial !important;
    */
    background-position: right center !important;
  }
}




/* Style adjustments for Conditions pages */
body.conditions-page h1.uppercase {
  text-transform: uppercase;
}

/* Match .mb0 and .mb8 spacing for h1s */
body.conditions-page h1.mb0 {
  margin-bottom: 0 !important;
}
body.conditions-page h1.mb8 {
  margin-bottom: 8px !important;
}

/* Optional: Adjust font size/weight for h1s if needed */
body.conditions-page h1.uppercase {
  font-size: 2.25rem; /* Adjust as needed to match your theme */
  font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  body.conditions-page h1.uppercase {
    font-size: 1.5rem;
  }
}
.conditions-page h1.uppercase,
.treatment-programs-page h1.uppercase,
.treatment-program-page h1.uppercase,
.for-patients-page h1.uppercase,
.insurance-page h1.uppercase,
.stars-and-stripes-page h1.uppercase,
.families-page h1.uppercase,
.for-professionals-page h1.uppercase,
.patient-results h1.uppercase,
.patients h1.uppercase,
.alumni-benefits h1.uppercase,
.professionals-page h1.uppercase,
.discovery-app-page h1.uppercase,
.faq-page h1.uppercase,
.about-us-page h1.uppercase,
.privacy-policy-page h1.uppercase,
.contact-us-page h1.uppercase,
.discovery-app-page h1.uppercase,
.contact-today-page h1.uppercase {
  color: #fff !important;
font-size: 18px!important;
}
body.single-post .post-title h1.inline-block {
  color: #545759 !important;
}
.page-id-9065 h1.uppercase,
.page-id-3274 h1.uppercase,
.page-id-3278 h1.uppercase,
.page-id-3221 h1.uppercase,
.page-id-14107 h1.uppercase {
    color: #545759 !important;
}

.blog h1 {
  color: #545759 !important;
font-size: 18px!important;
}