/*=============================================
=            Ovverride            =
=============================================*/
/* Correzione per le sezioni full width di Salient */
.wpb_row .row-bg-wrap,.full-width-section:not(.page-contacts-form),.z-index-0{
    z-index: 0 !important;
}

.span_12.light .wpb_text_column a:not(:hover){
    opacity: 1;
}
.heading-1 {
    font-size: 40px;
    font-weight: 700;
    padding-bottom: 0;
    margin: 30px 0;
    font-family: "Phudu";
    color: #313131;
}
.heading-2 {
    font-size: 28px;
    font-weight: 700;
    padding-bottom: 0;
    margin: 30px 0;
    font-family: "Phudu";
    color: #313131;
}
.heading-3 {
    font-size: 26px;
    font-weight: 700;
    padding-bottom: 0;
    margin: 30px 0;
    font-family: "Phudu";
    color: #313131;
}
.material .wpb_content_element, .material .wpb_row {
    margin-bottom:0;
}
.row .team-member .team-member-image-inner .nectar-lazy.loaded{
    border-radius: 20px;
}
.team-member[data-style=bio_fullscreen_alt] h3{
    font-size: 30px;
    color: #FF7A0D;
    line-height: 1.1;
}
.icons-page-contacts a{
    color: #FF7A0D;
    font-size: 13px;
}
.icons-page-contacts .iwithtext .iwt-text{
    padding-left: 30px;
}
.icons-page-contacts .iwithtext .iwt-icon i{
    font-size: 13px;
}
.wpcf7-list-item{
    margin-left: 0;
    font-size: 13px;
    line-height: 1.3;
}
.page-contacts-form .two-columns{
    display: flex;
    gap: 10px;
    width: 100%;
}
.page-contacts-form .two-columns p{
    flex: 1 0 49.5%;
    max-width: 49.5%;
}
.page-contacts-form form input,.page-contacts-form form textarea{
    margin-top: 5px;
}
.page-contacts-form form textarea{
    height: 150px;
}
.page-contacts-form form p{
    padding-bottom: 5px;
    font-family: "DM Sans", sans-serif;
}
.page-contacts-form .wpcf7-submit{
    margin-top: 15px;
    background-color: #FF7A0D!important;
    font-family: "DM Sans", sans-serif;
}
@media(max-width:576px){
    .icons-page-contacts .iwithtext{
        margin-bottom: 0!important;
    }
}
/* Wp Galielo Plugin */
body[data-button-style*="slightly_rounded"] button.comparator-toggle{
    background: #FF7A0D;
}

.wp-galileo{
    padding-top: 0;
}
.wp-galileo-search-form{
    max-width: 880px;
    margin-top: 50px;
}
.wp-galileo-search-form.minimal{
    flex-direction: row;
    flex-wrap: nowrap;
}
.wp-galileo-search-form .search-container{
    border-bottom-right-radius: 0;
}
.wp-galileo-search-form .search-button {
    margin-top: 0;
}
.home-list-properties .wp-galileo-property-search{
    margin: 0;
    max-width: unset;
}
.wp-galileo-search-form.minimal .search-container{
    border-top-right-radius: 0;
}
.home .wp-galileo-search-form .search-container > .search-field:nth-child(1),.home .wp-galileo-search-form .search-container > .search-field:nth-child(2){
    min-width: 220px;
}
.wp-galileo-search-form.minimal .search-container .search-field:nth-child(2){
    border-right: none;
}
.wp-galileo-search-form.minimal .search-button{
    align-self: unset;
}

body[data-form-submit=regular] .container-wrap button.wp-galileo-search-button[type="submit"], button.wp-galileo-search-button[type="submit"]{
    background-color: #FF7A0D!important;
    margin-top: -2px;
    border-radius: 0 0 20px 20px!important;
    padding: 15px 80px!important;
    font-size: 20px;
    text-transform: none;
    font-family: "DM Sans", sans-serif; 
    
}
body[data-form-submit=regular] .container-wrap button.wp-galileo-search-button[type="submit"]:hover, button.wp-galileo-search-button[type="submit"]:hover{
    transform: none!important;
}
body[data-form-submit=regular] .container-wrap .wp-galileo-search-form.minimal button.wp-galileo-search-button[type="submit"], button.wp-galileo-search-button[type="submit"] {
    border-radius: 0 20px 20px 0!important;
    position: relative;
    left: -2px;
    height: 96%;
    margin-top: 1px;
    padding: 12px 20px !important;
    border: 2px solid transparent;
    white-space: nowrap;
}
.comparator-sidebar{
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}
/* .home-list-properties .comparator-sidebar,.home-list-properties .comparator-toggle.show,.home-list-properties .property-lightbox,.home-list-properties .load-more-container{
    display: none!important;
} */
.home-list-properties .load-more-container{
    display: none!important;
}
.home-list-properties .wp-galileo{
    margin-bottom: 0;
}
.home-list-properties .wp-galileo-property-list{
    gap: 0;
}
.home-list-properties .slick-track{
    display: flex;
    align-items: flex-end;
}
.home-list-properties .slick-track .property-card{
    margin-left: 30px;
}
.home-list-properties .slick-track .property-header,.home-list-properties .slick-track .property-features-grid,.home-list-properties .property-card-footer{
    padding: 15px 20px;
}
.home-list-properties .property-image-section{
    border-right: none;
    max-height: 300px;
}
.home-list-properties .feature-item {
    font-size: 13px!important;
    white-space: nowrap;
}
.lightbox-property-features .feature-item{
    white-space: nowrap;
    font-size: 14px;
}
.home-list-properties .property-title {
    margin-bottom: 0!important;
}
.home-list-properties .property-price {
    font-size: 16px;
}
.home-list-properties .action-btn{
    font-size: 16px;
}
.home-list-properties .similar-actions button:nth-child(2),.home-list-properties .similar-actions button:nth-child(3){
    display: none!;
}
.home-list-properties .slick-dots,.similar-list .slick-dots {
    display: flex !important;
    align-items: center;
    justify-content: center;
    bottom: -40px;
}
.slider-pause-control {
    display: inline-block;
    margin-right: 15px;
    color: #fff;
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    text-transform: uppercase;
}
.hero-single-property .row-bg{
    background-image: url("/wp-content/uploads/2025/04/nuova-casa.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    transition: min-height 0.3s ease; /* Transizione fluida */
}
.property-title-desk{
    padding-top: 35px;
    color: #fff;
}
.wp-galileo-property-single .property-title{
    color: #fff;
}
.wp-galileo-property-single .property-title h1,.wp-galileo-property-single .property-title p.heading-2{
    color: #fff;
    font-size: 60px;
    line-height: 1.1!important;
}
.wp-galileo-property-single .property-title svg *{
    fill: #fff;
}
.wp-galileo-property-single .property-info{
    margin-bottom: 0;
}
.wp-galileo-property-single .property-info p{
    font-family: "Phudu";
    font-weight: 500;
}
.gallery-top{
    height: 430px;
}
.wp-galileo-property-single .property-gallery-no-img{
    margin-bottom: 30px;
}
.property-title{
    font-family: "Phudu";
    color: #313131;
}
.property-title .badge{
    background: #FF7A0D!important;
    font-size: 16px;
    text-transform: none;
    font-family: "DM Sans", sans-serif;
    padding: 7px 20px;
    font-weight: 600;
}
.property-contact-form {
    margin-top: 10px;
}
.property-contact-form.sticky {
    position: sticky;
    top: 160px;
    z-index: 100;
    transition: all 0.3s ease;
}
.contact-form-header .heading-3{
    text-align: center;
}
.agent-info{
    font-size: 16px;
    gap: 50px;
}
.wp-galileo-property-single .wp-galileo-property-single-col:first-child{
    padding-right: 60px;
}
.property-card .property-type-tags{
    display: none;;
}
.wp-galileo-search-form .search-container{
    background: #fff;
}
/* .property-lightbox-close {
    color: #fff!important;
    z-index: 999999 !important;
} */
 .property-lightbox-content{
    height: 70%;
 }
.col.centered-text ul.lightbox-property-features, .wpb_column.centered-text ul.lightbox-property-features {
    display: grid!important;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    border: none;
    padding: 20px;
    gap: 5px 20px;
}
#wp-galileo-contact-form label{
    font-size: 16px;
}
.property-features-grid{
    gap: 10px;
}
@media (max-width: 576px) {
    .property-features-grid .feature-item{
        white-space: nowrap;
        font-size: 14px;
    }
}

.wpb_column.centered-text ul.lightbox-property-features{
    gap: 5px;
}
.similar-properties .heading-1{
    font-size: 40px;
    margin: 100px 0 50px;
}
.property-description p{
    margin-bottom: 20px;
    font-size: 16px;
}
.energy-info-item{
    font-size: 16px;
}
@media(min-width:991px) and (max-width:1300px){
    .wp-galileo-property-single .property-title h1{
        font-size: 57px;
    }
}
@media (max-width: 991px) {
    .wp-galileo-property-single .property-gallery {
        margin-top: 20px;
    }
    .wp-galileo-property-single .property-title h1{
        font-size: 30px;
    }
    .wpb_wrapper h2.vc_custom_heading {
        line-height: 1.2!important;
    }
    .wp-galileo-search-form.minimal{
        flex-direction: column;
    }
    .wp-galileo-search-form.minimal .search-container{
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
        border-top-right-radius: 20px;
    }
    .wp-galileo-search-form.minimal .search-container .search-field:nth-child(2){
        border-right: none;
    }
    body[data-form-submit=regular] .container-wrap .wp-galileo-search-form.minimal button.wp-galileo-search-button[type="submit"]{
        border-radius: 0 0px 20px 20px!important;
        position: relative;
        left: 0;
        height: 100%;
        margin-top: 0;
        border: 2px solid transparent;
    }
    body[data-form-submit=regular] .container-wrap .wp-galileo-search-form.minimal .search-button{
        border: 2px solid transparent;
        margin-top: -2px;
    }
    .wp-galileo-property-single .wp-galileo-property-single-col:first-child{
        padding-right: 0;
    }
    .hero-single-property .row-bg{
        height: 400px;
    }
    .property-contact-form.sticky {
        position: relative;
        top: auto;
    }
    .energy-info-item{
        width: 100%;
        font-size: 16px;
        padding: 0;
        line-height: 1.6;
    }
    
}
#load-more {
    background-color:#FF7A0D
}
button i{
    top: 0!important;
}
.energy-info-container .energy-info-value i{
    top: -2px;
}
@media(max-width:576px){
    .gallery-top {
        height: 220px;
    }
    .wp-galileo-sort-options{
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    .similar-properties .heading-1{
        font-size: 30px;
        margin: 30px 0;
    }
    .property-title-mobile{
        margin-bottom: 35px;
    }
}
/* End Wp Galielo Plugin */

/*=====  End of Ovverride  ======*/


/*=============================================
=            Contact form            =
=============================================*/
.wpcf7 form.sent .wpcf7-response-output{
    text-align: center;
    width: 100%;
    margin: 20px auto;
}
.newsletter-form {
    display: flex;
    justify-content: flex-end;
}
.newsletter-form .wpcf7-form {
    background: transparent;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 100px;
}

.newsletter-form .wpcf7-form p {
    margin: 0;
}
.newsletter-form .wpcf7-form p br{
    display: none;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    background-color: #fff;
}

.newsletter-form .wpcf7-submit {
    background-color: #f57c20!important;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    max-width: 140px;
}

.newsletter-form .wpcf7-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.newsletter-form .wpcf7-acceptance label {
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
}

.newsletter-form .wpcf7-acceptance input[type="checkbox"] {
    margin-top: 3px;
}

.newsletter-form .privacy-link {
    color: #fff;
    text-decoration: underline;
}
.newsletter-form .wpcf7-form p span {
    font-size: 14px;
    color: #fff;
    margin-left: 0;
    margin-bottom: 10px;
}
@media (max-width: 991px) {
    .newsletter-form .wpcf7-form {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 30px;
    }
    .newsletter-form .wpcf7-form p {
        margin-bottom: 10px;
    }
    .newsletter-form input[type="email"] {
        width: 100%;
        max-width: 100%;
    }
}
/*=====  End of Contact form  ======*/


/*=============================================
=            Header            =
=============================================*/
.single-recensione{
    padding-top: 100px;
}
#header-outer .menu-item:last-child > a {
    padding: 0 10px!important;
}
#header-outer .menu-item:last-child > a::before {
    border-radius: 25px!important;
}
#header-space {
    height: 0 !important;
}

#header-outer {
    box-shadow: none!important;
    background-color: transparent !important;
}

#top .row {
    background-color: #fff;
    padding: 0 30px;
    border-radius: 60px;
    margin-top: 40px;
    box-shadow: 0px 7px 15px 2px #0000001A;

}
@media(max-width: 991px) {
    #top .row {
        padding: 0 20px;
        margin-top: 0;
    }
    #header-outer .row .col.span_9{
        margin-right: 15px;
    }
}
@media(max-width: 576px) {
    .single-post #page-header-bg[data-post-hs=default], .single-post #page-header-bg[data-post-hs=default_minimal]{
        padding-top: 100px;
    }
}
/*=====  End of Header  ======*/


/*=============================================
=            Homepage            =
=============================================*/
.buy-amazon{
    margin-left: 20px;
}
.buy-amazon-no-left{
    margin-left: 0;
}
.buy-amazon::after {
    content: '';
    position: relative;
    display: inline-block;
    width: 60px;
    height: 20px;
    background-image: url('/wp-content/uploads/2025/04/amazon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 10px;
    margin-bottom: 0;
    vertical-align: middle;
}
.home .section-recent-posts .blog-recent{
    margin-top: 60px;
}
.home .section-recent-posts .blog-recent .col .post-header{
    padding: 15px 25px;
}
.home .section-recent-posts .blog-recent img{
    border-radius: 20px;
}
.home .section-recent-posts .blog-recent .col .post-header h3,.home .section-recent-posts .blog-recent .col .post-header h3 a{
    font-size: 20px;
    color: #313131!important;
    text-transform: none;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    text-align: left;
}
.section-recent-posts .meta-category,.section-recent-posts .excerpt{
    display: none;
}
#hero-homepage{
    min-height: 100vh!important;
}
@media (min-width:991px) and (max-width: 1500px) {
    #hero-homepage .row_col_wrap_12.col.span_12.light.left{
        padding-left: 30px!important;
    }
}
@media (min-width:991px) and (max-width: 1200px) {
    #hero-homepage .hero-first-col{
        padding-top: 150px!important;
    }
}
@media (max-width: 1200px) {
    #hero-homepage .hero-first-col,
    #hero-homepage .hero-second-col{
        width: 100%!important;
    }
    #hero-homepage .hero-first-col{
        padding-top: 60px!important;
    }
    #hero-homepage .hero-second-col .vc_column-inner{
        padding-left: 0!important;
        padding-top: 50px!important;
    }
    #hero-homepage .home-list-properties .slick-track .property-card{
        margin-left: 0;
        margin-right: 30px;
    }
}
@media only screen and (min-width: 691px) and (max-width: 999px)  {
    #hero-homepage .hero-first-col h1.vc_custom_heading {
        font-size: 100px!important;
        line-height: 1.1!important;
    }
}
@media (max-width: 576px) {
    .home .section-recent-posts .blog-recent{
        margin-top: 30px;
    }
    #hero-homepage .hero-first-col h1.vc_custom_heading {
        font-size: 60px!important;
        line-height: 1.1!important;
    }
    #hero-homepage .home-list-properties .slick-track .property-card{
        margin: 0 auto;
    }
}

/*=====  End of Homepage  ======*/


/*=============================================
=            Slider recensioni            =
=============================================*/

.recensioni-slider-container {
    margin: 60px 0 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.recensione-slide {
    padding: 10px;
    height: 100%;
    width: 100%;
}
.recensione-contenuto {
    background: #f2f2f2;
    padding: 60px;
    border-radius: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    overflow: auto;
    transition: background 0.3s ease;
}
.recensione-testo {
    color: #313131;
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}
.recensione-autore {
    color: #4e7ce5;
    font-weight: 600;
    font-size: 18px;
}
.recensioni-navigation {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 30px;
    padding: 0 10px;
}

.recensioni-prev, .recensioni-next {
    border: none;
    background: transparent;
    color: #313131;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    margin: 0 20px;
}

.recensioni-dots {
    text-align: center;
}

.recensioni-dots .slick-dots{
    position: relative;
    bottom: 0;
    display: inline-block !important;
    margin: 0;
    padding: 0;
}

.recensioni-dots .slick-dots li,.home-list-properties .slick-dots li,.similar-list .slick-dots li {
    margin: 0 2px;
    color: #595959;
}

.recensioni-dots .slick-dots li button:before, .home-list-properties .slick-dots li button:before, .similar-list .slick-dots li button:before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #595959;
    border-radius: 50%;
    opacity: 1;
    transition: width 0.2s ease;
}
.home-list-properties .slick-dots li {
    color: #fff;
}
.home-list-properties .slick-dots li button:before {
    background-color: #fff;
}
.recensioni-dots .slick-dots li.slick-active button:before, .home-list-properties .slick-dots li.slick-active button:before, .similar-list .slick-dots li.slick-active button:before {
    color: #555;
    opacity: 1;
    width: 16px;
    border-radius: 10px;
}
.recensione-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.recensione-link:hover .recensione-contenuto {
    background: #eaeaea;
}

.continua, .mostra-meno {
    display: inline;
    color: #a4a4a4;
    cursor: pointer;
    font-weight: 500;
}

.recensioni-slider .slick-track {
    display: flex !important;
}

.recensioni-slider .slick-slide {
    height: inherit !important;
    display: flex !important;
}

.recensioni-slider .slick-slide > div {
    display: flex;
    width: 100%;
    height: 100%;
}

.recensione-testo-completo {
    max-height: 300px;
    overflow-y: auto;
}
@media(max-width: 991px) {
    .recensioni-slider-container{
        margin: 20px 0;
    }
    .recensione-testo-completo {
        max-height: 200px;
    }
    .recensione-contenuto {
        padding: 30px;
    }
    .recensione-testo {
        font-size: 14px;
    }
    .recensione-autore {
        font-size: 16px;
    }
    .recensioni-prev, .recensioni-next {
        font-size: 12px;
    }
}
/*=====  End of Slider recensioni  ======*/


/*=============================================
=            Foooter            =
=============================================*/

#custom-footer .heading-footer{
    padding-bottom: 15px;
    margin-bottom: 0;
    font-weight: 700;
}
#custom-footer .footer-slogan{
    font-size: 16px;
}
#custom-footer .footer-info-company,#custom-footer .footer-privacy{
    font-size: 14px;
}
#custom-footer .menu{
    display: flex;
    align-items: center;
    gap:40px;
    padding-left: 0;
    margin: 30px 0 100px;
}
#custom-footer .menu li{
    list-style: none;
}
#custom-footer .menu a{
    font-weight: 700;
}
@media(max-width: 991px) {
    #custom-footer .menu{
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        margin-bottom: 30px;
    }
    #custom-footer .menu li{
        list-style: none;
    }
}
/*=====  End of Foooter  ======*/

/* Stile per le icone fisse di contatto */
.fixed-contact-icons {
    display: none;
    position: fixed;
    bottom: 65px;
    right: 15px;
    z-index: 9999;
    flex-direction: column;
    gap: 10px;
}

.fixed-contact-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff !important;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.fixed-contact-icons .whatsapp-icon {
    background-color: #25D366;
}

.fixed-contact-icons .phone-icon {
    background-color: #f47d20;
}
.fixed-contact-icons .phone-icon i{
    font-size: 16px;
}
.fixed-contact-icons .whatsapp-icon i{
    font-size: 20px;
}

.fixed-contact-icons i {
    top: 0;
}

/* Versione responsive per dispositivi mobili */
@media (max-width: 576px) {
    .fixed-contact-icons {
        display: flex;
    }
    
    
}
.wpcf7 .cf7-custom-field-wrapper p{
    display: flex;
    align-items: center;
    font-size: 16px;
    gap: 10px;
    background-color: #f6f6f6;
    padding: 12px!important;
    font-family: inherit;
    font-size: 14px;
    border-radius: 4px;
}
.wpcf7 input[type="file"].custom-upload-input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
