/*
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:#A1C613;

}
/*** generic helpfull ***/

.multiply{
    mix-blend-mode: multiply !important;
}
.rotate-38{
    transform: rotate(38deg) !important;
}
.opacity-05{
    opacity: .05 !important;
}
.opacity-25{
    opacity: .25 !important;
}
.op-20{
    opacity: .2 !important;
}
.fw-3{
    font-weight: 300 !important;
}
.fw-4{
    font-weight: 400 !important;
}
.d-block{
    display: block !important;
}
.nectar-button.d-block{
    text-align: center;
}
@media screen and (max-width: 1024px){
    .dx-none{
        display: none !important;
    }
}

/*** footer copyright ***/

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

/*** colors ***/

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

/*** text + icon ***/
.row .col .iwithtext{
    display: flex;
    align-items: center;
}
.iwithtext .iwt-icon{
    position: relative;
}
.row .col .iwithtext .iwt-icon img:not([srcset]){
    width: 60px;
}
.row .col .iwithtext .iwt-text{
    padding-left:10px;
}
.row .col .iwithtext .iwt-icon img:not([srcset]){
    margin-bottom: 0;
}

@media screen and (max-width: 1024px){
    .row .col .iwithtext .iwt-icon img:not([srcset]){
        width:40px;
        min-width:40px;
    }
}

/*** blog ***/

body .nectar-post-grid .nectar-post-grid-item-bg img{
    width: calc(100% - 60px);
    left: 30px;
    border-radius: 30px;
    height: calc(100% - 60px);
    top: 30px;
}
.nectar-post-grid-wrap[data-style=content_under_image] .nectar-post-grid[data-card=yes] .nectar-post-grid-item .content{
    padding: 30px;
    padding-top: 0;
}
.full-width-section>.col.span_12.dark .nectar-post-grid[data-text-color=dark] .nectar-post-grid-item .content *,
.nectar-post-grid[data-text-color=dark] .nectar-post-grid-item .content *{
    color:#00509e !important;
}
.full-width-section>.col.span_12.dark .nectar-post-grid[data-text-color=dark] .nectar-post-grid-item .content .meta-date,
.nectar-post-grid[data-text-color=dark] .nectar-post-grid-item .content .meta-date{
    opacity: .45;
    font-size: 80%;
}

/*** footer ***/
.material .footer a{
    color:#FFF;
    transition: all .3s ease-in-out;
}
.material .footer a:hover{
    padding-left: 10px !important;
    transition: all .3s ease-in-out;
}
.material .footer .widget ul{
    padding-left:0;
    margin-left:0;
}
.material .footer .widget ul li{
    list-style: none;
    margin-bottom: 20px;
    padding-left:10px;
}
.material .footer .widget ul li a{
    text-transform: uppercase;
    position: relative;
    transition: all .3s ease-in-out;
}
.material .footer .widget ul li a:hover{
    color:#FFF !important;
    padding-left: 10px !important;
    transition: all .3s ease-in-out;
}
.material .footer .widget ul li a:before{
    position: absolute;
    content:'';
    border-left:1px solid #FFF;
    width: 1px;
    height: 100%;
    top: 0;
    left:-10px;
}
body .footer [class^=icon-].icon-default-style{
    font-size:20px;
    line-height: 34px;
}
.row .footer .col .iwithtext{
    margin-bottom: 20px;
}
@media screen and (max-width: 1024px){
    body .footer [class^=icon-].icon-default-style{
        top:0 !important
    }
}
/*** immobili ***/
.immobile-template-default .container-wrap{
    padding-bottom: 0;
}
.immobile-template-default .container-wrap .container.main-content > .row:nth-of-type(2){
    padding: 0;
}
.single.single-immobile .heading-title[data-header-style=default_minimal]{
    display: none;
}
.immobile-icons .wpb_wrapper{
    display: flex;

}
.immobile-icons .wpb_wrapper .iwithtext{
    display: flex;
    align-items: center;
    margin-bottom: 0;
    margin-right: 20px;
}
.immobile-icons .iwithtext .iwt-icon img:not([srcset]){
    width: 40px !important;
}
.immobile-prezzo{
    font-size: 40px;
    font-weight: 700;
}

/*** filtri hp ***/

.widget-filtri{
    padding:30px;
    background-color:#00509E;
    border-radius: 30px;
    margin-bottom: 30px;
}
.widget-filtri .filtri-rapidi .filtro-btn{
    background-color:#FFFFFF;
    padding: 10px 50px;
    text-transform: uppercase;
    border-radius: 15px !important;
    border:none;
    color:#00509E;
}
.widget-filtri .filtri-rapidi{
    margin-bottom: 20px;
}
.widget-filtri .filtri-avanzati{
    display: flex;
    column-gap: 10px;
    justify-content: space-between;
}
.widget-filtri .filtri-avanzati .filtri-wrapper{
    display: flex;
    column-gap: 10px;
}
.widget-filtri .filtri-avanzati select{
    background-color:#FFFFFF;
    padding: 10px;
    border-radius: 15px !important;
    border:none;
    color:#00509E;
    height: 40px;
}
.widget-filtri .filtri-avanzati select#metri_quadri{
    width: 150px;
    min-width: 100px;
}
.widget-filtri .filtri-avanzati select#provincia_immobile{
    width:200px;
    min-width: 200px;
}
.widget-filtri .filtri-avanzati select#comune_immobile{
    width:200px;
    min-width: 200px;
}
.widget-filtri .filtri-avanzati select#prezzo{
    width: 300px;
    min-width: 300px;
}
.widget-filtri .filtri-avanzati .btn-cerca-immobili{
    background-color:#FFFFFF;
    padding: 10px 50px;
    text-transform: uppercase;
    border-radius: 15px !important;
    border:none;
    color:#00509E;
}
.widget-risultati{
    display: flex;
    column-gap: 20px;
    flex-wrap: wrap;
}
.widget-risultati .cards-immobili-wrap{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}
.widget-risultati .cards-immobili{
    width: calc(33.333% - 15px);
    background-color:#FFF;
    border-radius: 30px;
    box-shadow: rgba(0, 0, 0, .04) 0 1px 0, rgba(0, 0, 0, .05) 0 2px 7px, rgba(0, 0, 0, .06) 0 12px 22px;
    padding: 30px;
}
.widget-risultati .cards-immobili img{
    border-radius: 30px;
    width: 100% !important;
    max-height: 200px;
    object-fit: cover;
}
.widget-risultati .cards-immobili h3{
    font-weight: 700;
    font-size: 19px;
    text-transform: uppercase;
    line-height: 1.2;
}
.widget-risultati .cards-immobili p{
    padding-bottom: 0;
}
.widget-risultati .cards-immobili hr{
    margin: 15px 0;
    opacity: .1;
}
.widget-risultati .cards-immobili .more-info{
    display: flex;
    column-gap: 10px;
    justify-content: space-between;
    align-items: center;
}
.widget-risultati .cards-immobili .more-info ul.dettagli{
    display: flex;
    padding: 0;
    margin: 0;
}
.widget-risultati .cards-immobili .more-info ul.dettagli li{
    list-style: none;
}
.widget-risultati .cards-immobili .more-info .prezzo{
    font-weight: 700;
    font-size: 1.2em;
}
.widget-risultati .cards-immobili .more-info .dettagli li{
    display: flex;
    align-items: center;
    margin-right: 10px;
}
.widget-risultati .cards-immobili .more-info .dettagli img{
    max-width:35px;
    margin-bottom: 0;
    margin-right: 5px;
}
@media screen and (max-width:1024px){
    .widget-filtri .filtri-rapidi{
        display: flex;
        column-gap: 10px;
    }
    .widget-filtri .filtri-rapidi .filtro-btn{
        width:50%;
        padding: 10px 5px;
    }
    .widget-filtri .filtri-avanzati{
        flex-wrap: wrap;
    }
    .widget-filtri .filtri-avanzati select{
        width: calc(50% - 10px);
    }
    .widget-risultati .cards-immobili{
        width: 100%;
    }
    .img-with-aniamtion-wrap.translate_x_phone_30px.translate_y_phone_0px{
        -webkit-transform: translateX(30px) translateY(0px);
        transform: translateX(30px) translateY(0px);
    }
    .widget-filtri .filtri-avanzati .filtri-wrapper{
        flex-wrap: wrap;
        row-gap: 10px;
        width: 100%;
        margin-bottom: 40px;
    }
    .widget-filtri .filtri-avanzati .filtri-wrapper select{
        width:100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
    }
    .widget-risultati .cards-immobili .more-info{
        flex-wrap: wrap;
    }
    .widget-risultati .cards-immobili .more-info ul.dettagli{
        width: 100%;
        margin-bottom: 10px;
    }
}
@media screen and (max-width:999px){
    .vc_row-fluid[data-column-margin="100px"] .wpb_column:not([class*="vc_col-xs-"]):not(.child_column):not(:last-child), .inner_row[data-column-margin="100px"]{
        margin-bottom: 30px;
    }
}

/*** immobile ***/

@media screen and (max-width: 1024px){
    .acf-gallery-main{
        height:250px !important;
    }
}

/*** off canvas menu ***/

@media screen and (max-width: 1024px){
    #slide-out-widget-area .inner .off-canvas-menu-container li>a{
        font-size:16px !important;
    }
}

/*** filtriiiii ***/

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    min-height: 300px;
    margin: 0 auto;
}

/* Loading Spinner */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #00509E;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 16px;
    color: #666;
    margin: 0;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.property-filter-error {
    margin: 15px 0;
    padding: 10px;
    border: 1px solid #dc3545;
    background-color: #f8d7da;
    color: #721c24;
    border-radius: 4px;
}

.property-filter-error ul {
    margin: 0;
    padding-left: 20px;
}

.alert {
    padding: 12px;
    margin: 15px 0;
    border-radius: 4px;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* No Results Container */
.no-results-container {
    text-align: center;
    padding: 60px 20px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.no-results-container .no-results-title{
    color: #00509e;
    font-weight: 700 !important;
    opacity: .7;
}

.no-results-icon {
    font-size: 72px;
    margin-bottom: 20px;
    opacity: 0.3;
}
.no-results-icon img{
    max-width: 50% !important;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.no-results-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

.no-results-text {
    font-size: 16px;
    color: #666;
    margin: 0;
    max-width: 400px;
}

/* Error Container */
.error-container {
    text-align: center;
    padding: 60px 20px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fef5f5;
    border-radius: 8px;
    margin: 20px auto;
}

.error-icon {
    font-size: 72px;
    margin-bottom: 20px;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.error-title {
    font-size: 24px;
    font-weight: 600;
    color: #dc3545;
    margin: 0 0 10px 0;
}

.error-text {
    font-size: 16px;
    color: #666;
    margin: 0 0 20px 0;
    max-width: 400px;
}

.btn-retry {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-retry:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

/* Stili per i filtri */
.filtro-btn {
    padding: 8px 20px;
    margin: 5px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-weight: 500;
}

.filtro-btn:hover {
    background: #f5f5f5;
    border-color: #999;
}

.filtro-btn.active {
    background: #00509E;
    color: #fff;
    border-color: #00509E;
}

/* Pulsante reset */
.btn-reset-filtri {
    padding: 10px 24px;
    margin-left: 10px;
    border: 2px solid #FFF;
    background: transparent;
    color: #FFF;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    border-radius: 15px !important;
    -webkit-border-radius: 15px !important;
}
 body[data-button-style*="slightly_rounded"] button.btn-reset-filtri{
    border-radius: 15px !important;
    -webkit-border-radius: 15px !important;
 }
.btn-reset-filtri:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-reset-filtri:hover {
    color: #00509e;
    border-color: #FFF;
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.btn-reset-filtri:hover:before {
    left: 0;
}

.btn-reset-filtri:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

/* Pulsante cerca */
.btn-cerca-immobili {
    padding: 10px 30px;
    border: none;
    background: #00509E;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 80, 158, 0.2);
}

.btn-cerca-immobili:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-cerca-immobili:hover {
    background: #003d7a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 80, 158, 0.4);
}

.btn-cerca-immobili:hover:before {
    width: 300px;
    height: 300px;
}

.btn-cerca-immobili:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 80, 158, 0.4);
}

/* Layout responsive */
.filtri-avanzati {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.filtri-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}

@media (max-width: 768px) {
    .filtri-avanzati {
        flex-direction: column;
    }
    .filtri-wrapper {
        width: 100%;
    }
    .btn-cerca-immobili,
    .btn-reset-filtri {
        width: 100%;
        margin: 5px 0;
    }
}

/*** immobili ***/

.acf-gallery-main img{
    min-width: 100%;
    margin: 0 auto;
    display: block;
    max-height: 100%;
}