/*
Theme Name: Salient Child Theme
Theme URI: http: //mysite.com/
Description: This is a custom child theme for Salient
Author: My Name
Author URI: http: //mysite.com/
Template: salient
Version: 0.2
*/



/* General Font Styling */

/*@import url('/wp-content/themes/salient-child/fonts/fonts.css');*/
@font-face {
    font-family: 'maintype';
    src: url('/wp-content/themes/salient-child/fonts/main-bold-italic.woff2') format('woff2'),
        url('/wp-content/themes/salient-child/fonts/main-bold-italic.woff') format('woff');
    font-weight: bold;
    font-style: italic;

}

@font-face {
    font-family: 'maintype';
    src: url('/wp-content/themes/salient-child/fonts/main-bold.woff2') format('woff2'),
        url('/wp-content/themes/salient-child/fonts/main-bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;

}

@font-face {
    font-family: 'maintype';
    src: url('/wp-content/themes/salient-child/fonts/main-thin-italic.woff2') format('woff2'),
        url('/wp-content/themes/salient-child/fonts/main-thin-italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;

}

@font-face {
    font-family: 'maintype';
    src: url('/wp-content/themes/salient-child/fonts/main-thin.woff2') format('woff2'),
        url('/wp-content/themes/salient-child/fonts/main-thin.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'supportingtype';
    src: url('/wp-content/themes/salient-child/fonts/supportingtype.woff2') format('woff2'),
        url('/wp-content/themes/salient-child/fonts/supportingtype.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}


html,
body,
div,
span,
applet,
object,
iframe,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend {
    font-family: 'maintype' !important;
    line-height: 2em;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'maintype' !important;
}

h2 {
    line-height: 1.5em;
}

/*===============

      HOME

===============*/

.home-header-title h1 {
    font-size: 35px;
}

.home-header-title h2 {
    font-size: 25px;
    font-weight: 400;
}

.home-intro-header {
    //color: #9D8A34;
    color: #4b400d;
}

.home-intro-text {
    color: #636463;
    line-height: 1.7em;
}

.home-intro-services-img {
    width: 350px;
    display: block;
    margin: 0 auto;
}

.home-promo-service-wrap {
    padding: 100px;
}

.home-promo-titles {
    display: block;
    font-size: 2.5em;
    line-height: 1.3em;
    margin: 80px 0 0 50px;
}

.home-promo-text {
    display: block;
    margin: 0 0 0 50px;
    line-height: 1.5em;
}

.home-promo-btn {
    display: block;
    margin: 0 0 0 50px;
}

.aesthetic-derma-services-titles {
    display: block;
    padding: 150px 0;
}

.aesthetic-derma-services-titles a {
    font-weight: 600;
    color: #4b400d;
}

.aesthetic-derma-services-titles a.loaded {
    color: #fff;
}

.aesthetic-derma-services-categ-title {
    font-size: 2.8em;
    line-height: 1.3em;
    /* color: #fff;
    font-weight: 400; */
    font-style: italic;
    display: block;
    font-weight: 600;
    color: #4b400d;
}

/*.test-test-test {
    display: block;
    position: absolute;
    left: 18px;
    bottom: 30px;
}
*/

.aesthetic-derma-services-categ-title-btn {
    border: 1px solid #fff;
    padding: 1em 1em;
    border-radius: 100px;
    color: #fff;
    letter-spacing: 1px;
    display: block;
    margin-top: 3em;
    max-width: 250px;
    text-align: center;
    background-color: transparent;
}

.aesthetic-derma-services-categ-title-btn:hover {
    transition: background-color .5s ease;
    background-color: #fff;
}

.nectar-cta .link_wrap .link_text {
    padding-right: 36px;
    position: relative;
    top: -4px;
    display: inline-block;
}

.home-women-services h2 {
    color: #fff;
}

.home-women-services h3 {
    color: #fff;
}

.footer-address {
    line-height: 1.5em;
}

#footer-outer #footer-widgets .col ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0) !important;
}

.contact-page-address {
    line-height: 2em;
    color: #636463;
}

.contact-page-address>li:first-child {
    font-weight: 700;
    font-size: 1.2em;
}

.article-icons {
    width: 75px !important;
    display: block;
    padding-bottom: 20px;
}

.doctor-page-hero-img {
    min-height: 400px;
}

.before-after-img {
    display: block !important;
    margin: 25px auto !important;
}

@media screen and (min-width: 1311px) {
    li.mega-menu-item-has-children.mega-toggle-on>ul.mega-sub-menu {
        overflow-y: scroll !important;
        position: fixed !important;
        display: block !important;
        max-height: 100% !important;
        left: 0px !important;
        padding-bottom: 150px !important;
    }

    li.mega-menu-item-has-children li.mega-menu-item-has-children .mega-menu-link.sf-with-ul {
        pointer-events: none;
    }

    ul.mega-sub-menu ul.mega-sub-menu {
        display: block !important;
    }
}

/*MEGA MENU*/

#mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-item>a.mega-menu-link {
    -webkit-transition: text-shadow 0.15s ease-in-out;
    -moz-transition: text-shadow 0.15s ease-in-out;
    -o-transition: text-shadow 0.15s ease-in-out;
    transition: text-shadow 0.15s ease-in-out;
}

#mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-item.mega-toggle-on>a.mega-menu-link,
#mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-item.mega-current-menu-item>a.mega-menu-link,
#mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-item>a.mega-menu-link:hover,
#mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-item>a.mega-menu-link:focus {
    /* text-shadow: 0 0 0.65px #FFF, 0 0 0.65px #FFF;  */
    font-weight: normal;
}

#mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-item li.mega-menu-item>a.mega-menu-link,
#mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item li.mega-menu-item>a.mega-menu-link,
#mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link,
#mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link {
    -webkit-transition: color 0.4s ease-in-out;
    -moz-transition: color 0.4s ease-in-out;
    -o-transition: color 0.4s ease-in-out;
    transition: color 0.4s ease-in-out;
}

#mega-menu-wrap-top_nav #mega-menu-top_nav li.mega-menu-flyout.mega-menu-item-has-children.mega-toggle-on>a.mega-menu-link:after,
#mega-menu-wrap-top_nav #mega-menu-top_nav li.mega-menu-flyout li.mega-menu-item-has-children.mega-toggle-on>a.mega-menu-link:after,
#mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-item-has-children.mega-toggle-on>a.mega-menu-link:after {
    -webkit-transition: transform 0.4s ease-in-out;
    -moz-transition: transform 0.4s ease-in-out;
    -o-transition: transform 0.4s ease-in-out;
    transition: transform 0.4s ease-in-out;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

#mega-menu-wrap-top_nav #mega-menu-top_nav[data-effect="fade_up"].mega-no-js li.mega-menu-item:hover>ul.mega-sub-menu,
#mega-menu-wrap-top_nav #mega-menu-top_nav[data-effect="fade_up"].mega-no-js li.mega-menu-item:focus>ul.mega-sub-menu,
#mega-menu-wrap-top_nav #mega-menu-top_nav[data-effect="fade_up"] li.mega-menu-item.mega-toggle-on>ul.mega-sub-menu,
#mega-menu-wrap-top_nav #mega-menu-top_nav[data-effect="fade_up"] li.mega-menu-item.mega-menu-megamenu.mega-toggle-on ul.mega-sub-menu {
    opacity: 1;
    margin-top: 18px;
}

#mega-menu-wrap-top_nav,
#mega-menu-wrap-top_nav #mega-menu-top_nav,
#mega-menu-wrap-top_nav #mega-menu-top_nav ul.mega-sub-menu,
#mega-menu-wrap-top_nav #mega-menu-top_nav li.mega-menu-item,
#mega-menu-wrap-top_nav #mega-menu-top_nav a.mega-menu-link {}

li.mega-menu-item-has-children li.mega-menu-item-has-children>ul.mega-sub-menu {}


/*Mobile*/
/*HOME PAGE*/

@media (max-width: 575px) {

    .vc_col-sm-6.wpb_column.column_container.vc_column_container.col.no-extra-padding.instance-1 {
        display: none;
    }

    .vc_col-sm-6.wpb_column.column_container.vc_column_container.col.no-extra-padding.instance-1.doctor-image {
        display: block;
    }

    .home-intro-header {
        font-size: 30px !important;
        line-height: 33px !important;
    }

    .home-intro-services-img {
        padding: 30px 20px;
    }

    .home-promo-service-wrap {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .home-promo-titles,
    .home-promo-text,
    .home-promo-btn {
        margin: 10px;
        padding: 10px;
    }

    .wpb_row.vc_row-fluid.vc_row.full-width-content.vc_row-o-equal-height.vc_row-flex.vc_row-o-content-bottom.standard_section.home-promo-service-wrap {
        padding-top: 0 !important;
    }

    .mobile-hide {
        display: none;
    }
}

@media screen and (max-width: 1310px) {

    #mega-menu-wrap-top_nav #mega-menu-top_nav[data-effect="fade_up"] li.mega-menu-item.mega-toggle-on>ul.mega-sub-menu,
    #mega-menu-wrap-top_nav #mega-menu-top_nav[data-effect="fade_up"] li.mega-menu-item.mega-menu-megamenu.mega-toggle-on ul.mega-sub-menu {
        margin-top: 0px;
    }

    #mega-menu-wrap-top_nav #mega-menu-top_nav a.mega-menu-link {
        background-color: inherit !important;
    }

    #mega-menu-wrap-top_nav #mega-menu-top_nav>li.mega-menu-flyout ul.mega-sub-menu {
        position: relative !important;
        padding-top: 10px;
        padding-bottom: 10px !important;
    }
}


.humble-signature {
    text-align: center !important;
    font-size: 1.2em !important;
}

.humble-signature img {
    height: 12px !important;
    margin-bottom: 0 !important;
}


/*-------FIX---------------*/
#page-header-bg h2,
body h2,
article.post .post-header h2,
article.post.quote .post-content h2,
article.post.link .post-content h2,
article.post.format-status .post-content h2,
#call-to-action span,
.woocommerce .full-width-tabs #reviews h3,
.row .col.section-title h2 {
    line-height: 1.5 !important;
}



/*-------ESPA---------------*/
.epanek {
    /*position: relative;*/
    z-index: 9999;
    bottom: 0;
    position: fixed;
    margin: 0;
    /*margin: 15px auto;*/
    text-align: center;
}

img.epanek-img {
    width: 100%;
    max-width: 600px;
}

/*-------BLACK FRIDAY 2024---------------*/
.page-id-69125 .row .col.section-title {
    border-bottom: none !important;
}

.page-id-69125 .woo-sctr-shortcode-countdown-text-before,
.page-id-69125 #breadcrumbs {
    display: none !important;
}

.page-id-69125 .row .col.section-title h2 {
    text-transform: none !important;
    font-weight: 300 !important;
}

.page-id-69125 .row .col.section-title {
    padding: 0px !important;
}

.page-id-69125 h1 span {
    font-size: 60px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
}

.page-id-69125 h1 span strong {
    font-weight: 900 !important;
    line-height: 1 !important;
}

.page-id-69125 .bf-2col-row .vc_col-sm-6:first-child {
    border-right: 1px solid black;
}

@media (max-width:1000px) {
    .page-id-69125 .bf-2col-row .vc_col-sm-6:first-child {
        border-right: none !important;
    }
}

.page-id-69125 .bf-2col-row .vc_col-sm-6 {
    padding: 20px !important;
    margin-left: 0 !important;
}

.woo-sctr-shortcode-wrap-wrap .woo-sctr-shortcode-countdown-wrap.woo-sctr-shortcode-countdown-style-1 .woo-sctr-shortcode-countdown-text {
    text-transform: uppercase !important;
}

.page-id-69125 .wpb_text_column p,
.page-id-69125 p {
    line-height: 1.2;
}

.woo-sctr-shortcode-countdown-value {
    line-height: 1;
    padding: 0;
    font-size: 75px;
}

.bf-text-price-row1 {
    font-size: 40px;
    line-height: 1.2 !important;
}

.bf-text-price-row1 strong {
    line-height: 1 !important;
}

.page-id-69125 span,
.page-id-69125 strong,
.page-id-69125 div {
    line-height: 1 !important;
}

.bf-text-price-row2 {
    font-size: 35px;
}

img.bf-price-image {
    width: 50%;
}

.bf-contact-title {
    font-size: 30px;
}

.page-id-69125 .container-wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.woo-sctr-shortcode-countdown-style-1 .woo-sctr-shortcode-countdown-value,
.woo-sctr-shortcode-wrap {
    padding: 0 !important;
}

.woo-sctr-shortcode-wrap-wrap.woo-sctr-shortcode-wrap-wrap-salescountdowntimer .woo-sctr-shortcode-countdown-1 .woo-sctr-shortcode-countdown-value {
    font-size: 50px !important;
    font-weight: 300 !important;
}

#mega-menu-wrap-top_nav #mega-menu-top_nav li.mega-menu-item-has-children>a.mega-menu-link>span.mega-indicator:after {
    vertical-align: middle !important;
}

.bf-2col-row {
    text-align: center;
}

.page-id-69125 .nectar-button {
    text-transform: none !important;
}

.bf-price-row {
    background: linear-gradient(to bottom, #4C421B, #393211);
}


.bf-2col-row .col.span_12 {
    display: flex;
    flex-direction: row;
    justify-content: center;
}


@media(max-width: 768px) {
    body.page-id-69125 h1 span {
        display: inline-block;
        font-size: 30px !important;
    }

    body.page-id-69125 .woo-sctr-shortcode-wrap-wrap.woo-sctr-shortcode-wrap-wrap-1 .woo-sctr-shortcode-countdown-wrap.woo-sctr-shortcode-countdown-style-1 .woo-sctr-shortcode-countdown-unit {
        width: 60px;
    }

    body.page-id-69125 .woo-sctr-shortcode-wrap-wrap.woo-sctr-shortcode-wrap-wrap-salescountdowntimer .woo-sctr-shortcode-countdown-1 .woo-sctr-shortcode-countdown-value {
        font-size: 30px !important;
    }

    body.page-id-69125 .woo-sctr-shortcode-wrap-wrap.woo-sctr-shortcode-wrap-wrap-1 .woo-sctr-shortcode-countdown-1 .woo-sctr-shortcode-countdown-text {
        font-size: 10px !important;
    }

    body.page-id-69125 .bf-text-price-row1 p,
    body.page-id-69125 .bf-text-price-row2 p {
        font-size: 14px;
        max-height: 14px;
    }

    body.page-id-69125 .row .col.section-title span:not(.share-count-total),
    body.page-id-69125 .single #single-below-header span:not(.share-count-total),
    body.page-id-69125 .bf-text-products-list-title .section-title {
        display: block !important;
    }

    .bf-2col-row .col.span_12 {
        flex-direction: column !important;
    }

    .bf-2col-row .vc_col-sm-6 {
        width: 80vw !important;
    }
}

/* Fix Dr. Stamou intro section background to white matching original */
.home .wpb_row:has(.info-clinic-text),
.home .wpb_row.has-row-bg-color:has(.info-clinic-text),
.home .wpb_row:has(.info-clinic-text) .row-bg,
.home .wpb_row:has(.info-clinic-text) .row-bg-wrap {
    background-color: #ffffff !important;
    --row-bg-color: #ffffff !important;
}

.home .info-clinic-text {
    background-color: #ffffff !important;
}

/*===================================================================
  1. Top White Strip Fix
  Eliminate unneeded secondary navigation strip completely
===================================================================*/
#header-secondary-outer {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

/*===================================================================
  2. Mobile & Desktop Navigation Fixes
  - Remove ghost duplicate mega menu in mobile header
  - Ensure mobile off-canvas menu works cleanly
===================================================================*/
.nectar-mobile-only.mobile-header {
    display: none !important;
}

/* Mobile drawer off-canvas menu styling */
#slide-out-widget-area.slide-out-from-right {
    overflow-y: auto !important;
}

#slide-out-widget-area #mega-menu-wrap-top_nav .mega-menu-toggle {
    display: none !important;
}

#slide-out-widget-area #mega-menu-wrap-top_nav #mega-menu-top_nav {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#slide-out-widget-area #mega-menu-wrap-top_nav #mega-menu-top_nav a.mega-menu-link {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Mega menu theme sets top-level links to white for the header bar;
   inside the white off-canvas panel they must be dark to be readable */
#slide-out-widget-area #mega-menu-wrap-top_nav #mega-menu-top_nav > li.mega-menu-item > a.mega-menu-link,
#slide-out-widget-area #mega-menu-wrap-top_nav #mega-menu-top_nav > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
#slide-out-widget-area #mega-menu-wrap-top_nav #mega-menu-top_nav > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link {
    color: #636463 !important;
}

/* Solid header bar on tablet/mobile (matches live), transparent only on desktop */
@media only screen and (max-width: 1310px) {
    body #header-outer[data-transparent-header="true"].transparent {
        background-color: #4b400d !important;
    }
}

/*===================================================================
  3. Home - Dermatology Services (6-photo grid seamless layout)
  Eliminate white gaps between photo rows and columns
===================================================================*/
/* Column-level wrappers only: the .wpb_wrapper inside each tile must stay
   transparent, otherwise it paints over the tile image (z-index: -1 layer) */
.home .full-width-content .vc_col-sm-9,
.home .full-width-content .vc_col-sm-9 > .vc_column-inner,
.home .full-width-content .vc_col-sm-9 > .vc_column-inner > .wpb_wrapper,
.home .full-width-content .vc_col-sm-9 .inner_row,
.home .full-width-content .vc_col-sm-9 .row_col_wrap_12_inner {
    background-color: #4b400d !important;
}

.home .full-width-content .vc_col-sm-9 .inner_row,
.home .full-width-content .vc_col-sm-9 .wpb_row {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.home .full-width-content .vc_col-sm-9 .row_col_wrap_12_inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: 0 !important;
}

.home .full-width-content .vc_col-sm-9 .child_column,
.home .full-width-content .vc_col-sm-9 .vc_col-sm-4 {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.home .full-width-content .vc_col-sm-9 .child_column .vc_column-inner {
    padding: 0 !important;
}

/* Stacked cards: the title's bottom margin escaped .vc_column-inner, so the
   background image layer stopped 8px short and the row colour showed through. */
@media (max-width: 999px) {
    .home .full-width-content .vc_col-sm-9 .hover-change-opacity > .vc_column-inner {
        display: flow-root;
    }
}

@media (min-width: 1000px) {
    .home .full-width-content .vc_col-sm-9 > .vc_column-inner > .wpb_wrapper {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .home .full-width-content .vc_col-sm-9 > .vc_column-inner > .wpb_wrapper > .inner_row {
        flex: 1 1 50%;
        display: flex;
    }
    .home .full-width-content .vc_col-sm-9 > .vc_column-inner > .wpb_wrapper > .inner_row > .row_col_wrap_12_inner {
        display: flex;
        width: 100%;
        height: 100%;
    }
    .home .full-width-content .vc_col-sm-9 > .vc_column-inner > .wpb_wrapper > .inner_row > .row_col_wrap_12_inner > .child_column {
        flex: 1 1 33.333333%;
        height: 100%;
    }
    .home .full-width-content .vc_col-sm-9 > .vc_column-inner > .wpb_wrapper > .inner_row > .row_col_wrap_12_inner > .child_column > .vc_column-inner {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/*===================================================================
  4. Dermatology News (Blog Archive) & Single Post Header Display
===================================================================*/
/* Blog Archive Masonry Card Styling (matching live) */
.masonry.classic_enhanced article.post .article-content-wrap .more-link {
    display: inline-block;
    margin-top: 15px;
}

/* The theme draws the link as a dark button: keep its label white and compact like live */
.masonry.classic_enhanced article.post .article-content-wrap .more-link .continue-reading {
    color: #ffffff;
    font-size: 11px;
    text-transform: none;
    letter-spacing: 0;
}

/* Live shows only the count next to the heart */
.masonry.classic_enhanced article.post .post-meta .nectar-love .love-text {
    display: none;
}/*===================================================================
  5. Header / off-canvas alignment with live
===================================================================*/
/* Off-canvas close icon: white by default, invisible on the white panel */
body #slide-out-widget-area a.slide_out_area_close .icon-salient-x.icon-default-style[class^="icon-"] {
    color: #636463 !important;
}

/* Desktop: menu row starts level with the logo and the bar ends right under it */
@media only screen and (min-width: 1311px) {
    #header-outer header#top #logo {
        margin-bottom: 0 !important;
    }

    #header-outer header#top #mega-menu-wrap-top_nav {
        padding-top: 30px;
        transition: padding-top 0.32s ease;
    }

    #header-outer.small-nav header#top #mega-menu-wrap-top_nav {
        padding-top: 17px;
    }
}

/* Tablet/mobile: the bar is solid, so page content has to start below it */
@media only screen and (max-width: 1310px) {
    #header-space:has(+ #header-outer[data-transparent-header="true"]) {
        display: block !important;
        height: 94px !important;
    }
}

/* Small desktop (1000px to 1310px) uses the mobile menu: Salient shows the burger and the
   off-canvas panel, but it only hides its own .sf-menu, not the Max Mega Menu in the bar */
@media only screen and (min-width: 1000px) and (max-width: 1310px) {
    #header-outer header#top nav #mega-menu-wrap-top_nav {
        display: none !important;
    }

    /* The bar is 109px here (49px desktop logo with 30px margins) */
    #header-space:has(+ #header-outer[data-transparent-header="true"]) {
        height: 109px !important;
    }
}

/*===================================================================
  6. Footer, forms, cookie notice, blog cards
===================================================================*/
/* The COVID badge is an absolutely positioned #footer-outer::before (Custom CSS);
   without this it anchors to the first screen instead of the footer */
#footer-outer {
    position: relative;
}

/* Network names under the footer social icons */
#footer-outer #copyright .social li a {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

#footer-outer #copyright .social li a .screen-reader-text {
    position: static !important;
    display: block;
    width: auto;
    height: auto;
    margin: 4px 0 0;
    clip: auto;
    clip-path: none;
    overflow: visible;
    font-size: 11px;
    line-height: 14px;
    color: #ffffff;
}

/* Contact form: underline-only fields */
body[data-form-style="minimal"] .wpcf7 input[type="text"],
body[data-form-style="minimal"] .wpcf7 input[type="email"],
body[data-form-style="minimal"] .wpcf7 input[type="tel"],
body[data-form-style="minimal"] .wpcf7 textarea {
    background-color: transparent !important;
    border-bottom: 1px solid #e0e0e0;
}

.wpcf7 textarea {
    height: 60px;
}

/* Cookie notice accept button as plain text link */
#cookie-notice .cn-button.cn-button-custom {
    background: transparent !important;
    color: #4b400d !important;
    border: 0;
    box-shadow: none;
    font-weight: normal;
}

.masonry.classic_enhanced article.post h3.title {
    font-size: 15px;
    line-height: 1.15;
}

/* Salient sets --scroll-bar-w inline on body via JS; force it to 0 */
:root,
body {
    --scroll-bar-w: 0px !important;
}

/* Page header title on mobile/tablet: live sizes, overridden by Salient dynamic styles since the update */
@media only screen and (max-width: 690px) {
    body #page-header-bg .span_6 h1 {
        font-size: 24px;
        line-height: 30px;
    }
}

@media only screen and (min-width: 691px) and (max-width: 1000px) {
    body #page-header-bg .span_6 h1 {
        font-size: 32px;
        line-height: 38px;
    }
}

/* Mobile header: closed burger shows the MENU label above full-width lines, as on production.
   Salient 18 only outputs a screen-reader label, so the visible one comes from ::before. */
header#top .span_9 > .slide-out-widget-area-toggle.mobile-icon > div {
    width: auto !important;
    height: auto !important;
}

header#top .span_9 > .slide-out-widget-area-toggle.mobile-icon > div > a {
    display: block !important;
    color: #fff !important;
    font-size: 14px;
    line-height: 28px;
    text-align: left;
}

header#top .span_9 > .slide-out-widget-area-toggle.mobile-icon > div > a::before {
    content: 'MENU';
    display: block;
}

header#top .span_9 > .slide-out-widget-area-toggle.mobile-icon > div > a > span[aria-hidden] {
    display: block !important;
    width: 100% !important;
    height: 20px !important;
}

body #header-outer header#top .span_9 > .slide-out-widget-area-toggle.mobile-icon .lines-button,
body #header-outer header#top .span_9 > .slide-out-widget-area-toggle.mobile-icon .lines-button::after,
body #header-outer header#top .span_9 > .slide-out-widget-area-toggle.mobile-icon .lines,
body #header-outer header#top .span_9 > .slide-out-widget-area-toggle.mobile-icon .lines::before,
body #header-outer header#top .span_9 > .slide-out-widget-area-toggle.mobile-icon .lines::after {
    width: 100% !important;
}

body #header-outer header#top .span_9 > .slide-out-widget-area-toggle.mobile-icon .lines-button {
    top: 9px !important;
}

/*===================================================================
  7. Single post (matching live)
===================================================================*/
/* Live shows only the love and share buttons next to the title */
body.single-post #single-meta .meta-comment-count {
    display: none !important;
}

/* Share widget as on live: a love pill and a share pill, both with a count. On hover the
   pills give way to plain Facebook and Twitter icons. */
body.single-post #single-meta .nectar-social.hover .nectar-love-button {
    margin-bottom: 0 !important;
}

body.single-post #single-meta .nectar-social.hover .nectar-love,
body.single-post #single-meta .nectar-social.hover .share-btn {
    padding: 8px 16px !important;
    line-height: 20px !important;
    color: #4b400d !important;
}

body.single-post #single-meta .nectar-social.hover .nectar-love {
    display: block;
    border: 1px solid #4b400d !important;
}

body.single-post #single-meta .nectar-social.hover .nectar-love .nectar-love-count {
    font-size: 14px !important;
    line-height: 20px !important;
    color: #4b400d !important;
}

/* Live shows the share count, not the word "Share" */
body.single-post #single-meta .nectar-social.hover .share-btn {
    margin-left: 10px !important;
    font-size: 0 !important;
}

body.single-post #single-meta .nectar-social.hover .share-btn::after {
    content: "0";
    font-size: 14px;
    line-height: 20px;
    vertical-align: top;
}

body.single-post #single-meta .nectar-social.hover .share-btn i,
body.single-post #single-meta .nectar-social.hover .nectar-love i {
    height: 20px !important;
    font-size: 16px !important;
    line-height: 20px !important;
    color: #4b400d !important;
}

body.single-post #single-meta .nectar-social.hover .nectar-love i {
    font-size: 17px !important;
}

body.single-post #single-meta .nectar-social.hover .nectar-social-inner {
    top: 0;
    width: auto !important;
    margin: 0 !important;
    padding: 10px 0;
    white-space: nowrap;
}

body.single-post #single-meta .nectar-social.hover .nectar-social-inner a {
    width: auto !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 9px !important;
    border: 0 !important;
    line-height: 20px !important;
    vertical-align: top;
    color: #4b400d !important;
}

body.single-post #single-meta .nectar-social.hover .nectar-social-inner a i {
    position: static !important;
    height: 20px !important;
    margin: 0 !important;
    padding-right: 3px;
    vertical-align: top;
    font-size: 18px !important;
    line-height: 20px !important;
    color: #4b400d !important;
}

body.single-post #single-meta .nectar-social.hover .nectar-social-inner a .social-text {
    display: none;
}

/* Twitter bird as on live, instead of the X glyph of the newer plugin */
body.single-post #single-meta .nectar-social-inner .icon-salient-x-twitter::before {
    font-family: FontAwesome !important;
    content: "\f099";
}

/* Tablet: pills in one row on the left, share first */
@media only screen and (max-width: 999px) {
    body.single-post #single-meta .nectar-social.hover {
        display: flex;
        flex-wrap: wrap;
    }

    body.single-post #single-meta .nectar-social.hover .share-btn {
        float: none !important;
        margin: 0 10px 0 0 !important;
    }

    body.single-post #single-meta .nectar-social.hover[data-position="right"] .nectar-social-inner {
        right: auto;
        left: 0;
        text-align: left;
    }
}

/* Mobile: no share pill, the icons are always visible below the love pill */
@media only screen and (max-width: 690px) {
    body.single-post #single-meta .nectar-social.hover {
        flex-direction: column;
    }

    body.single-post #single-meta .nectar-social.hover .share-btn {
        display: none !important;
    }

    body.single-post #single-meta .nectar-social.hover .nectar-love-button {
        order: 1;
        margin: 5px 0 5px 126px !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    body.single-post #single-meta .nectar-social.hover .nectar-social-inner {
        order: 2;
        position: static !important;
        margin: 4px 0 0 5px !important;
        pointer-events: auto !important;
    }

    body.single-post #single-meta .nectar-social.hover .nectar-social-inner a {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Title row: no gap under the title block, small grey meta line */
body.single-post .heading-title .section-title.blog-title {
    margin-bottom: 0 !important;
}

body.single-post .heading-title #single-below-header {
    margin-top: 8px !important;
    font-size: 11px !important;
    line-height: 22px !important;
    color: #888888;
}

body.single-post .heading-title #single-below-header span,
body.single-post .heading-title #single-below-header a {
    font-size: 11px !important;
    line-height: 22px !important;
}

body.single-post .post-area .post-featured-img img {
    margin-bottom: 25px !important;
}

/* Desktop: buttons sit level with the title, not below it */
@media only screen and (min-width: 1000px) {
    body.single-post .heading-title h1.entry-title {
        margin-bottom: 0 !important;
    }

    body.single-post .heading-title #single-meta {
        margin-top: -9px !important;
    }
}

@media only screen and (max-width: 690px) {
    body.single-post .heading-title h1.entry-title {
        font-size: 24px !important;
        line-height: 30px !important;
    }
}
