/*
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
*/

/* Header Border */
@media only screen and (min-width: 999px) {
    #header-outer #top {
    border-bottom: 1px solid rgba(255,255,255,0.35) !important;
}
}

@media only screen and (max-width: 999px) {
    html body #header-outer[data-has-menu][data-lhe] {
        border-bottom: 1px solid rgba(255,255,255,0.35) !important;
    }
}

/* ===============================================
   Custom Expandable Cards Component
   =============================================== */

.custom-expandable-cards-container {
    display: flex;
    gap: 15px;
    width: 100%;
    margin: 0 auto;
    max-width: 1400px;
    align-items: stretch;
    overflow: visible;
    position: relative;
}

.expandable-card {
    flex: 1;
    min-width: 0;
    min-height: 580px;
    transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 0;
    align-items: stretch;
    overflow: visible;
}

.expandable-card-inner {
    position: relative;
    width: 100%;
    z-index: 2;
    min-height: 580px;
    background: #fff;
    border: 3px solid #007AC2;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    color: #333;
    margin: 0;
    padding: 18px 20px 14px 20px;
    line-height: 1.3;
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
	font-family: 'Goldman', sans-serif;
}

.card-front {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
    z-index: 1;
    flex: 1;
}

.card-image {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
}

.card-hover-content {
    position: absolute;
    top: 0;
    left: calc(50% - 15px);
    bottom: 0;
    width: 0;
    background: #007AC2;
    color: #fff;
    padding: 0;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-radius: 0 16px 16px 0;
    border: 3px solid #007AC2;
    border-left: none;
    overflow: hidden;
    z-index: 1;
}

.hero-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.hero-section {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    line-height: 1.5;
    font-size: 15px;
    color: #fff;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(255,255,255,0.3);
}
.hero-sections .hero-section:last{
	border-bottom: none !important;
}
.hero-section::before {
    content: "";
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}


/* Stato Hover */
.expandable-card:hover {
    flex: 1.6;
}

.custom-expandable-cards-container:has(.expandable-card:hover) .expandable-card:not(:hover) {
    flex: 0.7;
}

.expandable-card:hover .expandable-card-inner {
    border-color: #2e8bc0;
    border-radius: 16px;
    width: 50%;
}

.expandable-card:hover .card-hover-content {
    width: calc(50% + 15px);
    padding: 35px 28px;
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .custom-expandable-cards-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .expandable-card {
        flex: 1 !important;
        flex-direction: column;
    }
    
    .expandable-card-inner {
        width: 100% !important;
        border-radius: 16px;
    }
    
    .expandable-card:hover .expandable-card-inner {
        border-radius: 16px 16px 0 0;
    }
    
    .card-hover-content {
        position: relative; /* Cambiato da absolute */
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        max-height: 0;
        padding: 0 30px;
        border-radius: 0 0 16px 16px;
        border: 3px solid #2e8bc0;
        border-top: none;
        margin-left: 0;
        min-height: 0;
    }
    
    .expandable-card:hover .card-hover-content,
    .expandable-card:active .card-hover-content {
        max-height: 500px;
        padding: 30px;
        width: 100% !important;
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .card-title {
        padding: 15px;
    }
}


#header-outer:not([data-format=left-header]) #top .span_9 {
	margin-left: auto;
}

/*Main Menu Style*/
#header-outer #top nav > ul > li > a, #header-outer #top nav > .sf-menu > li > a
{
    border: 1px solid #fff;
    border-radius: 5px;
    margin: 0px 5px;
    
}

/*Style Right Button in Menu*/
#menu-item-59 a {
    display: flex !important;
    flex-direction: row-reverse;
    align-items: center;
    gap: 0px !important;
	padding: 5px 5px 5px 30px !important;
    opacity: 1 !important;
    background-color: #000 !important;
    border: 1px solid white !important;
    border-radius: 5px !important;
    transition: all 0.3s ease;
	font-size: 14px;
}

#menu-item-59 a .nectar-menu-icon {
    background: #454545 !important;
    padding: 0;
    border-radius: 5px;
    margin: 0;
    height: 38px !important;
    width: 38px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 16px;
}

#menu-item-59 a .menu-title-text {
    color: #FDC833 !important;
    font-weight: 400;
    letter-spacing: 0.5px;
    padding-right: 30px;
}

#menu-item-59 a .nectar-menu-icon:before {
    color: #FDC833 !important;
}

/* Hover State */
#menu-item-59 a:hover {
    background-color: #1a1a1a !important;
    border-color: #FDC833 !important;
    transform: translateY(-2px);
}

#menu-item-59 a:hover .nectar-menu-icon {
    background: #FDC833 !important;
}

#menu-item-59 a:hover .nectar-menu-icon:before {
    color: #000 !important;
}
/*Style the Nectar Button*/
body[data-button-style^="rounded"] .nectar-button{border-radius:0px!important;}

.nectar-button.has-icon i {
    right: 7px!important;
    border-radius: 5px!important;
    line-height: 38px!important;
    height: 38px!important;
    width: 38px!important;
    background: #454545 !important;
    transition: all 0.3s ease;
}

.nectar-button.regular-button.extra-color-3{
    background-color: #000 !important;
    border: 1px solid #fff;
    border-radius: 5px !important;
    transition: all 0.3s ease;
}

.nectar-button.regular-button.extra-color-3 span {
    color: #FDC833 !important;
}

/* Hover State */
.nectar-button.regular-button.extra-color-3:hover {
    background-color: #1a1a1a !important;
    border-color: #FDC833 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(253, 200, 51, 0.3);
}

.nectar-button.regular-button.extra-color-3:hover i {
    background: #FDC833 !important;
    color: #000 !important;
}

.nectar-button.large {
    padding: 12px 0px;
}

/*Map Styling*/
.leaflet-marker-icon{height:60px!important;}
.leaflet-container {border-radius: 10px;}

/*Contact Form Style*/

.multi-choice {padding: 10px; border-radius: 4px;display: flex;justify-content: space-between;color:#808082;}
.multi-choice, textarea, .span_12.light .select2-container--default .select2-selection--single, .span_12.light input[type=date], .span_12.light input[type=email], .span_12.light input[type=password], .span_12.light input[type=search], .span_12.light input[type=tel], .span_12.light input[type=text], .span_12.light input[type=url], .span_12.light select, .span_12.light textarea, body[data-fancy-form-rcs="1"] .span_12.light .select2-container--default .select2-selection--single
 {
    background-color: rgb(255 255 255 / 0%);
    color: #fff;
    border: 1px solid #ffffff85;
}



input[type="date"]:focus-visible, input[type="date"]:visited, input[type="email"]:focus-visible, input[type="email"]:visited, input[type="number"]:focus-visible, input[type="number"]:visited, input[type="password"]:focus-visible, input[type="password"]:visited, input[type="search"]:focus-visible, input[type="search"]:visited, input[type="tel"]:focus-visible, input[type="tel"]:visited, input[type="text"]:focus-visible, input[type="text"]:visited, select:visited, select:focus-visible, textarea:visited, textarea:focus-visible,[data-form-style=default] .span_12.light input[type=email]:hover:not(:focus), [data-form-style=default] .span_12.light input[type=text]:hover:not(:focus), [data-form-style=default] .span_12.light textarea:hover:not(:focus) {
    border-color: #fff!important;
}


.multi-choice .wpcf7-list-item {
    border: 1px solid #ffffff85;
    width: 130px;
    text-align: center;
    color:#808082;
    cursor:pointer;
}
.wpcf7-acceptance .wpcf7-list-item-label, .multi-choice .wpcf7-list-item-label{
    color:#808082;
    cursor:pointer;
}
input[type="radio"] {
    display: none;
}

 /* Style for checked radio button */
.wpcf7-list-item:has(input[type="radio"]:checked) {
 border:1px solid #fff; color:#fff;
}
.wpcf7-list-item input[type="radio"]:checked ~ .wpcf7-list-item-label {
  color: #ffffff;
  font-weight: bold;
}

.wpcf7-acceptance .wpcf7-list-item{margin:0px;}


.uacf7-row {
    margin-bottom: 15px;
}

.uacf7-col-3, .uacf7-col-4, .uacf7-col-6, .uacf7-col-12 {
     padding-right: 0px;
}

.submit-btn span{margin-right: 20px;margin-left: 10px;}
body[data-button-style=rounded] .container-wrap button[type=submit], body[data-button-style=rounded] .container-wrap input[type=submit] {
    padding: 12px 23px !important;
    color:#fdc833;
}

.btn-row{display: flex;justify-content: center;}

.footer-sec [class^=icon-].icon-default-style {
    line-height: 19px;
    height: 20px!important;
    width: 20px!important;
    font-size: 25px!important;
}

.footer-sec .iwithtext .iwt-text {
    padding-left: 35px;
}
.footer-sec .iwithtext{margin-bottom:5px;}


h1 b, h2 b, h3 b, h4 b, h5 b, h6 b {
    font-family: inherit !important;
}

h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong {
    font-family: inherit;
}

h1 span, h2 span, h3 span, h4 span, h5 span, h6 span {
    font-weight: 400;
}

.brands-row .col img {
	max-height: 50px; 
	width: auto;
}

.iwithtext a{
	color: inherit; 
	text-decoration: underline;
}

.iwithtext a:hover{
	color:#FDC833;
}

p a{
	color: inherit; 
	text-decoration: underline;
}

p a:hover{
	color:#FDC833;
}

.nectar-button.has-icon i::before,
#menu-item-59 a .nectar-menu-icon::before {
    content: '' !important;
    display: none;
}

.nectar-button.has-icon i,
#menu-item-59 a .nectar-menu-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.978' height='17.024' viewBox='0 0 16.978 17.024'%3E%3Cg transform='translate(0 17.024) rotate(-90)'%3E%3Cpath d='M14.6,1.006a1.234,1.234,0,0,1,2.427.006l-.052,15.194a1.255,1.255,0,0,1-.723.72l-15.222.052a1.212,1.212,0,0,1-.48-2.211,4.406,4.406,0,0,1,.474-.212H12.847L1.059,2.752A1.222,1.222,0,0,1,2.77,1.045L14.6,12.81Z' fill='%23fdc833'/%3E%3C/g%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 12px !important;
}

/* SVG nero per l'hover */
.nectar-button.regular-button.extra-color-3:hover i,
#menu-item-59 a:hover .nectar-menu-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.978' height='17.024' viewBox='0 0 16.978 17.024'%3E%3Cg transform='translate(0 17.024) rotate(-90)'%3E%3Cpath d='M14.6,1.006a1.234,1.234,0,0,1,2.427.006l-.052,15.194a1.255,1.255,0,0,1-.723.72l-15.222.052a1.212,1.212,0,0,1-.48-2.211,4.406,4.406,0,0,1,.474-.212H12.847L1.059,2.752A1.222,1.222,0,0,1,2.77,1.045L14.6,12.81Z' fill='%23000000'/%3E%3C/g%3E%3C/svg%3E") !important;
	    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 12px !important;
}

.grid-with-dots .vc_column-inner{
	z-index: 10;
}

/* Cerchi alle intersezioni */
.grid-with-dots .wpb_column:nth-child(1)::after,
.grid-with-dots .wpb_column:nth-child(2)::after,
.grid-with-dots .wpb_column:nth-child(3)::after {
    content: '';
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: 140px;
    height: 140px;
    background: #FFF400;
    border-radius: 50%;
    z-index: -1;
    visibility: visible;
    transition: all 0.4s ease;
}

/* Nascondi i cerchi in hover */
.row-products:hover .wpb_column::after {
    opacity: 0;
}

/* Container per i bordi */
.row-products {
    position: relative;
    padding: 5px;
    overflow: hidden;
    border-radius: 15px;
}

/* Cerchi alle intersezioni */
.grid-with-dots .wpb_column:nth-child(1)::after,
.grid-with-dots .wpb_column:nth-child(2)::after,
.grid-with-dots .wpb_column:nth-child(3)::after {
    content: '';
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: 140px;
    height: 140px;
    background: #FFF400;
    border-radius: 50%;
    z-index: -1;
    visibility: visible;
    transition: all 0.6s ease; /* Rallentato */
}

/* Nascondi i cerchi in hover */
.row-products:hover .wpb_column::after {
    opacity: 0;
}

/* Container per i bordi */
.row-products {
    position: relative;
    padding: 5px;
    overflow: hidden;
    border-radius: 15px;
}

.row-products::before {
    content: '';
    position: absolute;
    inset: -5px;
    width: 120%;
    height: 120%;
    background-image: 
        /* Bordi verticali */
        linear-gradient(90deg, #FFF400 3px, transparent 3px),
        linear-gradient(90deg, #FFF400 3px, transparent 3px),
        linear-gradient(90deg, #FFF400 3px, transparent 3px),
        /* Bordi orizzontali */
        linear-gradient(0deg, #FFF400 3px, transparent 3px),
        /* Bordo esterno */
        linear-gradient(#FFF400, #FFF400);
    background-size: 
        25% 100%,
        25% 100%, 
        25% 100%,
        100% 50%,
        100% 100%;
    background-position: 
        25% 0,
        50% 0,
        75% 0,
        0 50%,
        0 0;
    background-repeat: no-repeat;
    border: 3px solid #FFF400;
    border-radius: 15px;
    opacity: 0;
    transform: scale(0.1);
    transform-origin: 33% 50%;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); /* Rallentato a 0.8s */
    pointer-events: none;
    z-index: 1;
}

.row-products:hover::before {
    opacity: 1;
    transform: scale(1);
}

.row-products .img-with-animation{
    max-height: 230px;
    width: auto !important;
}
.row-products .wpb_column{
	margin-bottom: 5px;
}

.row-products .vc_column-inner p strong{
	font-family: 'Goldman', sans-serif;
}

.image-curve-absolute{
	width: 100%;
}

/* MOBILE - cerchi su colonne diverse (2 colonne layout) */
@media (max-width: 999px) {
    .grid-with-dots .wpb_column:nth-child(2)::after {
        display: none;
    }
    
    .grid-with-dots .wpb_column:nth-child(1)::after,
    .grid-with-dots .wpb_column:nth-child(3)::after,
    .grid-with-dots .wpb_column:nth-child(5)::after {
    content: '';
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: 140px;
    height: 140px;
    background: #FFF400;
    border-radius: 50%;
    z-index: -1;
    visibility: visible;
    transition: all 0.6s ease;
    }
}

@media (max-width: 690px) {
    .grid-with-dots .wpb_column::after {
        display: none !important;
    }
}