/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

:root {
  --blue-link-color: #00517b;
}

.row .team-member[data-style=bio_fullscreen_alt] h5
{color: #2653fe
}
.tabbed[data-style*="material"] .wpb_tabs_nav:after, .tabbed[data-style*="material"][data-color-scheme="extra-color-gradient-1"] .wpb_tabs_nav li a:before, .tabbed[data-style*="material"][data-color-scheme="extra-color-gradient-2"] .wpb_tabs_nav li a:before{
	height:0px;
	opacity:0.25
}

.home .full-width-section .row-bg-wrap,
.home .full-width-section > .nectar-shape-divider-wrap,
.home .wpb_row.full-width-content {
    width: 100vw;
}

.home .testimonial_slider,
.home #ajax-content-wrap .nectar-post-grid.nectar-flickity[data-wrap="no-wrap"][data-overflow="visible"] {
    overflow: hidden;
}

.home #ajax-content-wrap .nectar-post-grid.flickity-enabled[data-wrap="no-wrap"][data-overflow="visible"] {
    overflow: visible;
}

.home .before-footer .link_wrap {
    padding-right: 10px !important;
}

.tnp-subscription .tnp-field-email .tnp-email {
    background-color: #fff;
    border-radius: 4px;
    border: 2px solid #00476e;
}

.tnp-subscription .tnp-consent-field label,
.tnp-subscription .tnp-field label input[type="checkbox"] {
    cursor: pointer;
}

.tnp-subscription .tnp-privacy-field label {
    text-decoration: underline;
}

.tnp-subscription .tnp-privacy-field label a {
    color: #000;
}

.footer-facebook .link_text::before,
.footer-instagram .link_text::before {
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    filter: invert(16%) sepia(90%) saturate(2716%) hue-rotate(184deg) brightness(87%) contrast(102%); /*calculated with https://codepen.io/sosuke/pen/Pjoqqp */
}

.footer-facebook .link_text::before {
    background: url('assets/images/facebook.svg');
}

.footer-instagram .link_text::before {
    background: url('assets/images/instagram.svg');
}

.footer-facebook .link_text:hover::before,
.footer-instagram .link_text:hover::before {
    filter: invert(17%) sepia(92%) saturate(7498%) hue-rotate(4deg) brightness(113%) contrast(119%); /*calculated with https://codepen.io/sosuke/pen/Pjoqqp */
}

.footer-facebook .link_text .text,
.footer-instagram .link_text .text,
.menu-item-only-mobile {
    display: none;
}

.wpforms-custom-label-container label {
    font: 700 16px "Open Sans", sans-serif !important;
}

.occupational-health-page-content .toggles .toggle-title {
    max-width: 250px;
    margin: 0 auto;
}

.occupational-health-page-content .toggles .toggle-title a {
    background-color: #fe0000;
    color: #fff;
    padding-left: 14px;
    text-align: center;
}

.occupational-health-page-content .toggles .toggle-title a i,
#header-outer:not([data-format=left-header]) #top ul.sf-menu > li.menu-item.menu-item-hidden-desktop {
    display: none;
}

.occupational-health-page-content .toggles .toggle > div {
    box-shadow: none;
}

.occupational-health-page-content .toggles .toggle > div .inner-toggle-wrap {
    background-color: rgba(239, 242, 248, 0.85);
    padding-left: 0;
    padding-right: 0;
}

.h2-letter-spacing h1 {
    letter-spacing: -0.03em;
}

.h1-letter-spacing h2 {
    letter-spacing: -0.06em;
}

.nectar-global-section .footer-menu h4 {
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
    margin-bottom: 0;
    letter-spacing: normal;
}

.nectar-global-section .footer-bottom h5 {
    font-weight: 500;
}

.single .featured-media-under-header .featured-media-under-header__featured-media {
    margin-bottom: 20px;
}

.single .featured-media-under-header .specialist-info {
    text-align: center;
}

.single .post-date-meta .post-date-pub,
.single .post-date-meta .post-date-mod {
    max-width: 250px;
}

.author .blog-archive-header .container .span_12.section-title p {
    font-size: 18px;
}

.single .post-date-meta .post-date-pub-date,
.single .post-date-meta .post-date-mod-date {
    display: block;
}

body #cmplz-cookiebanner-container .cmplz-cookiebanner {
    bottom: 0;
    animation: none;
}

#header-outer:not(.transparent) #top #logo {
    margin: 10px 0;
}

.nectar-responsive-text.appointment-form-title h3 {
    font-weight: 700;
}

.footer-info-accordion div[data-style="default"] .toggle {
    margin-bottom: 0;
}

.footer-info-accordion div[data-style="default"] .toggle > .toggle-title a {
    background: transparent;
    font-size: 16px;
    line-height: 26px;
    padding-top: 0;
    padding-bottom: 0;
    color: var(--blue-link-color);
}

.footer-info-accordion div[data-style="default"] .toggle > .toggle-title a:hover {
    color: #fe0000;
}

.footer-info-accordion .toggle > .toggle-title a i {
    top: 4px;
    color: var(--blue-link-color);
}

.footer-info-accordion .toggle > .toggle-title + div {
    box-shadow: none;
    background: transparent;
}

.footer-info-accordion .inner-toggle-wrap .nectar-cta {
    padding-left: 30px;
    padding-top: 5px;
}

.footer-info-accordion .inner-toggle-wrap .link_wrap {
    display: block;
}

.footer-info-accordion .inner-toggle-wrap .link_text {
    line-height: 1.2;
    display: list-item;
    list-style-type: disc;
}

.footer-info-accordion .inner-toggle-wrap .text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.wpb_wrapper:has(.specialty-page-doctor-link) {
    margin-bottom: 10px;
}

.nectar-button.small.specialty-page-doctor-link {
    font-size: 14px;
    padding-top: 7px;
    padding-bottom: 7px;
    line-height: 14px;
    margin-bottom: 0;
    border-radius: 5px !important;
}

body[data-button-style="slightly_rounded_shadow"] .nectar-button.specialty-page-doctor-link:hover,
body[data-button-style="slightly_rounded_shadow"] .nectar-button.specialty-page-doctor-link:focus {
    transform: none;
    opacity: 1;
}

@media (max-width: 690px) {
    .specialty-schedule {
        text-align: left;
    }
}

@media (min-width: 1301px) and (max-width: 1600px) {
    #header-outer:not([data-format=left-header]) #top>.container>.row nav>ul>li {
        margin-left: 1px;
        margin-right: 1px;
    }

     header#top .container .span_9 nav > ul > li > a {
        font-size: 14px;
        white-space: nowrap;
        padding-left: .6em;
        padding-right: .6em;
    }

    body.material #header-outer:not([data-format=left-header]) #top nav>.buttons {
        margin-left: 0;
    }
}

@media (min-width: 1000px) and (max-width: 1300px) {
    #header-outer:not([data-format=left-header]) #top>.container>.row nav>ul>li {
        margin-left: 0;
        margin-right: 0;
    }

    header#top .container .span_9 nav > ul > li > a {
        font-size: 10px;
        white-space: nowrap;
        padding-left: .6em;
        padding-right: .6em;
    }

    body.material #header-outer:not([data-format=left-header]) #top nav>.buttons {
        margin-left: 0;
    }
}

@media (max-width: 999px) {
    #contact-form-row .contact-form-image {
        display: none;
    }

    .menu-item-only-mobile {
        display: block;
    }

    #ajax-content-wrap .nectar-global-section .footer-menu h3 {
        font-size: 20px; 
    }
    
    #ajax-content-wrap .nectar-global-section .footer-menu h3:not(.toggle-title),
    .nectar-global-section .footer-menu .nectar-cta {
        text-align: center;
    }
    
    #ajax-content-wrap .nectar-global-section .footer-menu h3.toggle-title,
    .footer-info-accordion .inner-toggle-wrap .nectar-cta {
        text-align: left; 
    }
    
    #ajax-content-wrap .nectar-global-section .footer-menu h3.toggle-title,
    .footer-info-accordion .toggle > .toggle-title + div {
        max-width: 250px;
        margin: auto;
    }

    .menu-item-hidden-mobile {
        display: none;
    }

    .menu-item-hidden-desktop {
        display: block;
    }
}