/*
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
*/
@import "fonts/fonts.css";
@import "includes/css/forms.css";
:root{
    --theme-color:#294C59;
    --extra-color-01:#BC9B5F;

}
/*** generic helpfull ***/

.multiply{
    mix-blend-mode: multiply !important;
}
.rotate-38{
    transform: rotate(38deg) !important;
}
.opacity-05{
    opacity: .05 !important;
}
.opacity-25{
    opacity: .25 !important;
}
.fw-3{
    font-weight: 300 !important;
}
.fw-4{
    font-weight: 400 !important;
}
.op-19{
    opacity: 0.19;
}

@media screen and (max-width:1024px){
    .dx-none{
        display: none;
    }
}

/*** footer ***/
.footer .nectar-fancy-ul ul li{
    margin-bottom: 10px;
}
.footer .nectar-fancy-ul a{
    text-decoration: none;
    position: relative;
}
.footer .nectar-fancy-ul a:after{
    content:"";
    position: absolute;
    bottom: -3px;
    left: 0;
    width:100%;
    border-top: 2px solid #FFF;
    transform-origin: 0 0;
    transition: transform .35s cubic-bezier(.52, .01, .16, 1);
    transform: scaleX(0);
}
.footer .nectar-fancy-ul a:hover:after{
    transform: scaleX(1);
}
.footer .nectar-fancy-ul a:hover{
    text-decoration: none;
}

/*** footer copyright ***/

#footer-outer #copyright[data-layout="centered"]{
    padding:10px 0;
}

/*** colors ***/

.theme-color{
    color:var(--theme-color) !important;
}
.extra-color-01{
    color: var(--extra-color-01) !important;
}
.black-color{
    color:#000;
}
.white-color{
    color:#FFF;
}

/*** salient custom shape divider ***/

.nectar-shape-divider-wrap[data-style="turi_rounded_corner"][data-position="top"]{
    transform: scaleX(-1);
}

.nectar-button.large{
    font-size:16px !important;
}

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

/*** single post - categoria ispirazioni ***/

body.single-post.news-category-ispirazioni #page-header-bg[data-post-hs="default_minimal"] .inner-wrap,
body.single-post.news-category-ispirazioni .heading-title[data-header-style="default_minimal"] {
    text-align: left !important;
}

body.single-post.news-category-ispirazioni #page-header-bg[data-post-hs="default_minimal"] h1,
body.single-post.news-category-ispirazioni .heading-title[data-header-style="default_minimal"] .entry-title {
    text-align: left !important;
    margin: 0 !important;
}

body.single-post.news-category-ispirazioni #page-header-bg[data-post-hs="default_minimal"] .inner-wrap > a.ispirazioni,
body.single-post.news-category-ispirazioni .heading-title[data-header-style="default_minimal"] .inner-wrap > a.ispirazioni {
    display: flex !important;
    align-items: center !important;
    width: fit-content;
    margin: 0 0 22px !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    line-height: 22px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    transition: color 0.3s ease !important;
    transform: none !important;
}

body.single-post.news-category-ispirazioni #page-header-bg[data-post-hs="default_minimal"] .inner-wrap > a.ispirazioni:hover,
body.single-post.news-category-ispirazioni #page-header-bg[data-post-hs="default_minimal"] .inner-wrap > a.ispirazioni:focus-visible,
body.single-post.news-category-ispirazioni .heading-title[data-header-style="default_minimal"] .inner-wrap > a.ispirazioni:hover,
body.single-post.news-category-ispirazioni .heading-title[data-header-style="default_minimal"] .inner-wrap > a.ispirazioni:focus-visible {
    color: var(--extra-color-01) !important;
    transform: none !important;
}

body.single-post.news-category-ispirazioni #page-header-bg[data-post-hs="default_minimal"] .inner-wrap > a.ispirazioni::before,
body.single-post.news-category-ispirazioni .heading-title[data-header-style="default_minimal"] .inner-wrap > a.ispirazioni::before {
    content: '<';
    display: block;
    margin-right: 8px;
    color: currentColor;
}

@media screen and (max-width:1023px){
    body.single-post.news-category-ispirazioni #page-header-bg[data-post-hs="default_minimal"] .container-wrap,
    body.single-post.news-category-ispirazioni .heading-title[data-header-style="default_minimal"] .container-wrap {
        padding-top: 5% !important;
    }

    body.single-post.news-category-ispirazioni #page-header-bg[data-post-hs="default_minimal"] h1,
    body.single-post.news-category-ispirazioni .heading-title[data-header-style="default_minimal"] .entry-title {
        font-size: 2em !important;
        line-height: 1 !important;
    }
}

/*** contact form 7 - contatti standard ***/

.cf7-contact-grid{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
}

.cf7-contact-grid__field{
    width:calc(50% - 8px);
}

.cf7-contact-grid__field--full{
    width:100%;
}

.cf7-contact-grid input[type="text"],
.cf7-contact-grid input[type="email"],
.cf7-contact-grid input[type="tel"],
.cf7-contact-grid textarea{
    width:100%;
    background:#F2F2F2;
    border:none;
    border-radius:37px;
    padding:18px 24px;
    color:var(--theme-color);
    box-shadow:none;
}

.cf7-contact-grid textarea{
    min-height:180px;
    resize:vertical;
}

.cf7-contact-grid input[type="text"]::placeholder,
.cf7-contact-grid input[type="email"]::placeholder,
.cf7-contact-grid input[type="tel"]::placeholder,
.cf7-contact-grid textarea::placeholder{
    color:#294C59;
    opacity:1;
}

.cf7-contact-grid__footer{
    width:100%;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:24px;
}

.cf7-contact-grid__meta{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
}

.cf7-contact-grid__required{
    margin:0;
    padding-bottom:0;
    font-size:14px;
    line-height:1.4;
    color:var(--theme-color);
}

.cf7-contact-grid__privacy{
    margin:0;
    font-size:14px;
    line-height:1.4;
    color:var(--theme-color);
}

.cf7-contact-grid__privacy a{
    color:var(--theme-color);
    text-decoration:underline;
}

.cf7-contact-grid__acceptance .wpcf7-list-item{
    margin:0;
}

.cf7-contact-grid__acceptance .wpcf7-list-item-label{
    color:var(--theme-color);
}

.cf7-contact-grid__submit{
    flex:0 0 auto;
}

.cf7-contact-grid__submit input[type="submit"]{
    background:var(--extra-color-01) !important;
    color:#FFF !important;
    border:none;
    border-radius:37px !important;
    padding:16px 34px !important;
    font-size:16px;
    font-weight:700;
    line-height:1;
    box-shadow:none;
}

.cf7-contact-grid__submit input[type="submit"]:hover{
    background:var(--extra-color-01) !important;
    color:#FFF !important;
    opacity:.92;
}

.wpcf7-form .wpcf7-not-valid-tip{
    margin-top:8px;
    padding:0 8px;
    background:transparent;
    border:none;
    box-shadow:none !important;
    color:var(--extra-color-01);
    font-size:14px;
    line-height:1.4;
    font-weight:500;
}

.wpcf7-list-item{
    margin:0 !important;
}

@media screen and (max-width:767px){
    .nectar-milestone .number{
        font-size:35px;
        line-height:35px;
    }

    .cf7-contact-grid__field{
        width:100%;
    }

    .cf7-contact-grid__footer{
        flex-direction:column;
        align-items:flex-start;
    }

    .cf7-contact-grid__submit{
        width:100%;
    }

    .cf7-contact-grid__submit input[type="submit"]{
        width:100%;
    }
}

/*** faq - supporto / salient toggles ***/

body .faq-toggle-grid .toggles[data-style="animated_circle"]{
}

body .faq-toggle-grid .toggles[data-style="animated_circle"] .toggle{
    display:inline-block;
    width:100%;
    margin:0 0 24px;
    break-inside:avoid;
    -webkit-column-break-inside:avoid;
    padding:0 24px;
    border:none;
    border-radius:20px;
    background:#FFF;
    box-shadow:0 18px 42px rgba(41,76,89,0.10);
}

body .faq-toggle-grid .toggles[data-style="animated_circle"] .toggle > .toggle-title a{
    align-items:center;
    gap:18px;
    padding:24px 0;
}

body .faq-toggle-grid .toggles[data-style="animated_circle"] .toggle > .toggle-title a i{
    margin-top:2px;
}

body .faq-toggle-grid .toggles[data-style="animated_circle"] .toggle > .toggle-title a,
body .faq-toggle-grid .toggles[data-style="animated_circle"] .toggle > .toggle-title a:hover{
    color:var(--theme-color);
}

body .faq-toggle-grid .toggles[data-style="animated_circle"] .toggle > .toggle-title a span,
body .faq-toggle-grid .toggles[data-style="animated_circle"] .toggle > .toggle-title a strong,
body .faq-toggle-grid .toggles[data-style="animated_circle"] .toggle > .toggle-title a{
    font-size:22px;
    line-height:1.35;
    font-weight:600;
}

body .faq-toggle-grid .toggles[data-style="animated_circle"] .toggle > div,
body .faq-toggle-grid .toggles[data-style="animated_circle"] .toggle[data-inner-wrap="true"] > div,
body .faq-toggle-grid .toggles[data-style="animated_circle"] .toggle[data-inner-wrap="true"] > div .inner-toggle-wrap{
    box-shadow:none;
    background:transparent;
}

body .faq-toggle-grid .toggles[data-style="animated_circle"] .toggle > div p:last-child{
    padding-bottom:0;
    margin-bottom:0;
}

@media screen and (max-width:999px){
    body .faq-toggle-grid .toggles[data-style="animated_circle"]{
        column-count:1;
    }
}

@media screen and (max-width:767px){
    body .faq-toggle-grid .toggles[data-style="animated_circle"]{
        column-gap:16px;
        --toggle-spacing:20px;
    }

    body .faq-toggle-grid .toggles[data-style="animated_circle"] .toggle{
        margin-bottom:16px;
        padding:0 20px;
        border-radius:18px;
    }

    body .faq-toggle-grid .toggles[data-style="animated_circle"] .toggle > .toggle-title a{
        padding:20px 0;
    }

    body .faq-toggle-grid .toggles[data-style="animated_circle"] .toggle > .toggle-title a span,
    body .faq-toggle-grid .toggles[data-style="animated_circle"] .toggle > .toggle-title a strong,
    body .faq-toggle-grid .toggles[data-style="animated_circle"] .toggle > .toggle-title a{
        font-size:18px;
    }

}

/*** dropdown menu ***/

.sf-menu>li ul {
    width: 25em;
}

/*** header shadow ***/

#header-outer[data-transparent-header="true"][data-transparent-shadow-helper="true"].transparent:not(.dark-slide):before{
    background: linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(41, 76, 89, 0) 5%, rgba(41, 76, 89, 0.1) 25%, rgba(41, 76, 89, 0.5) 70%, rgba(42, 76, 89, 0.9) 100%);
}

/*** ispirazioni ***/

.nectar-post-grid-wrap:not([data-style=content_overlaid]) .nectar-post-grid-item .inner{
    border-radius:20px;
    box-shadow: 0 14px 35px rgba(38, 62, 71, 0.13);
}

/*** blog year filter ***/

.turi-blog-year-filter-wrap {
    margin: 0 0 22px;
}

.turi-blog-year-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 14px;
    padding: 0;
}

.turi-blog-year-filter__label {
    color: #294c59;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.turi-blog-year-filter__options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.turi-blog-year-filter__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid rgba(41, 76, 89, 0.18);
    border-radius: 999px;
    background: #fff;
    color: #294c59;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.turi-blog-year-filter__chip:hover,
.turi-blog-year-filter__chip:focus-visible,
.turi-blog-year-filter__chip.is-active {
    border-color: #254f5f;
    background: rgba(37, 79, 95, 0.08);
    color: #254f5f;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(23, 63, 77, 0.08);
}

.turi-blog-year-widget.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

@media only screen and (max-width: 690px) {
    .turi-blog-year-filter {
        gap: 10px;
    }

    .turi-blog-year-filter__options {
        gap: 8px;
    }

    .turi-blog-year-filter__chip {
        min-height: 36px;
        padding: 0 13px;
    }
}


/*** news ***/

.single-post #page-header-bg h1, body.single-post h1, body.single-post .row .col.section-title h1{
    font-size: 60px;
    line-height: 1.2;
}

/*** counters ***/
@media screen and (max-width:1024px){
    .nectar-milestone .number{
        font-size: 40px !important;
        line-height: 42px !important;
    }
}
/*** bg header ***/

body:not(.home) .first-section .using-image:before{
    content:'';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

@media screen and (min-width:1024px){
    .postid-3886 .pkp-single-kitchen__compositions-track,
    .postid-3874 .pkp-single-kitchen__compositions-track,
    .postid-3902 .pkp-single-kitchen__compositions-track{
        justify-content: center;
    }
}