/*
Theme Name: LuxuryBrick
Author: LuxuryBrick
Author URI: https://luxurybrick.com/
Description: Tema personalizzato per la visualizzazione degli immobili e la lead generation.
Version: 2.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luxurybrick
*/
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,600;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gilda+Display&display=swap');
:root{
    --primary-color:#303030;
    --primary-color-rgba:48,48,48;
    --secondary-color:#F1F2F2;
    --secondary-color-rgba:241,242,242;
    --ternary-color:#ADB5BD;
    --ternary-color-rgba:173,181,189;
    --primary-font: 'Times New roman', serif;
    --secondary-font: 'Open Sans', sans-serif;
    --global-backdrop-filter: saturate(180%) blur(2.5px);
}
html *{
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
html,
body{
    margin: 0;
    padding: 0!important;
    width: 100%;
}
body{
    font-family: var(--primary-font);
}
.half_cols{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.half_cols_row{
    width: 50%!important;
}

@media (max-width: 991.98px){
    .half_cols{
        flex-wrap: wrap;
    }

    .half_cols_row{
        width: 100%!important;
    }
}

body .zsiq_custommain,
body .zsiq_floatmain{
    z-index: 0!important;
}

[data-menu="open"]{
    overflow:hidden;
}
[data-menu="close"]{
    overflow:auto;
}
[data-menu="open"] .other-menu{
    display:none;
}

.p-absolute{
    position:absolute;
}

.p-relative{
    position:relative;
}

.dark-bg{
    background-color: var(--primary-color);
}
.space-15{
    margin-top:15px;
}
.space-30{
    margin-top:30px;
}
.space-60{
    margin-top:60px;
}
.space-90{
    margin-top:90px;
}

.m-0{
    margin:0!important;
}

.mt-0{
    margin-top:0!important;
}

.mb-0{
    margin-bottom:0!important;
}

.ml-0{
    margin-left:0!important;
}

.mb-5{
    margin-bottom:5px;
}

.mb-15{
    margin-bottom:15px;
}

.mb-30{
    margin-bottom:30px;
}

.mb-60,
.first_block-mb-60 > .block_text_image{
    margin-bottom:60px;
}

.mb-90{
    margin-bottom:90px;
}

.mt-30{
    margin-top:30px;
}

.mt-60{
    margin-top:60px;
}

.d_flex{
    display:flex;
}

.gap-15{
    gap:15px;
}

.gap-30{
    gap:30px;
}

.relative{
    position: relative;
}

.column-gap-20{
    column-gap:20px;
}

.flex_direction_column{
    flex-direction: column;
}

.w-100{
    width:100%;
}

.brand_style{
    font-size: 24px;
    font-family: var(--primary-font);
}

a{
    text-decoration: none;
    color: var(--primary-color);
    font-family: var(--secondary-font);
    transition: color 80ms ease,background-color 80ms ease,border-color 80ms ease,opacity 80ms ease;
}

.dark-bg a,
.dark-text a{
    color: var(--secondary-color);
}

button:not(.no-hover),
a:not(.no-hover),
a:not(.no-hover) p,
a:not(.no-hover) h1,
a:not(.no-hover) h2,
a:not(.no-hover) h3,
a:not(.no-hover) h4,
a:not(.no-hover) h5,
a:not(.no-hover) h6{
    opacity:1;
    transition: opacity 0.3s ease-in-out;
}

button:not(.no-hover):hover,
a:not(.no-hover):hover,
a:not(.no-hover):hover p,
a:not(.no-hover):hover h1,
a:not(.no-hover):hover h2,
a:not(.no-hover):hover h3,
a:not(.no-hover):hover h4,
a:not(.no-hover):hover h5,
a:not(.no-hover):hover h6{
    opacity:.8;
    transition: opacity 0.3s ease-in-out;
}

.nav-logo a:hover{
    opacity:1;
}

.nav-logo img{
    width: auto;
    height: 40px;
}

@media (min-width: 992px){
    .hover-img:hover img{
        transform: scale(1.05);
        opacity:1;
        transition: transform 0.6s;
        transition-delay:unset!important;
    }
    .other-menu .btn.btn-icon-special{
        transition: background-color .3s;
    }
    .other-menu .btn.btn-icon-special:hover{
        background-color: rgba(var(--secondary-color-rgba), .8);
        transition: background-color .3s;
    }
    
    .home .no_scroll .other-menu .btn.btn-icon-special:hover,
    .home .other-menu  .btn.btn-icon-special:hover{
        color: var(--primary-color);
    }
    
    .home .other-menu .btn.btn-icon-special:hover svg path{
        fill: var(--primary-color);
    }

    .w-50p{
        width:50%;
    }
    .vw-2{
        width:calc(100vw - 20%);
    }    
    .vw-4{
        width:calc(100vw - 40%);
    }
    .d_ml-0{
        margin-left:0;
    }
    .big_padding_form{
        padding: 30px 90px!important;
    }
}



@media (max-width: 991.98px){
    .flex-wrap_wrap,
    .captcha_group{
        flex-wrap: wrap;
    }
    .captcha_group .flex-100{
        flex:0 0 100%;
    }
    .nav-logo img{
        width: 43px;
        height: 40px;
    }
    .modal_close_container picture img{
        display:block;
        width: calc(100% - 43.9px);
        height: 100%;
    }
    .w-m-100{
        width:100%;
    }
    
    .m-space-15{
        margin-top:15px;
    }
}

.sf-field-taxonomy-tipologia-immobile{
    width:100%;
}

.sf-field-taxonomy-tipologia-immobile ul li input{
    display:none;
}

.sf-field-taxonomy-tipologia-immobile ul li.sf-level-0.sf-item-0{
    display:none;
}
.sf-field-taxonomy-tipologia-immobile ul li,
.btn {
    border-radius: 15px;
    padding: 12px 20px;
    font-size: 18px;
    line-height: 18px;
    display: inline-block;
    cursor:pointer;
}
.sf-field-taxonomy-tipologia-immobile ul li{
    padding: 12px 20px!important;
}
.sf-field-taxonomy-tipologia-immobile ul li label{
    padding-left:0!important;
    cursor:pointer;
}
.sf-field-taxonomy-tipologia-immobile ul li.sf-option-active,
.btn.btn-dark {
    border: 1px solid var(--ternary-color);
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.sf-field-taxonomy-tipologia-immobile ul li,
.btn.btn-light {
    border: 1px solid var(--ternary-color);
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn.btn-transparent {
    /*border: 1px solid var(--primary-color);*/
    border: none;
    background: transparent;
    color: var(--primary-color);
}

.page-nav .nav-menu-wrapper .menu{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.page-nav .nav-menu-wrapper .menu .menu-item a{
    color: var(--primary-color);
}

.home .page-nav .nav-menu-wrapper .menu .menu-item a,
.home .no_scroll .other-menu .btn.btn-transparent,
.home .other-menu .btn.btn-transparent{
    color: var(--secondary-color);
}

.home .page-nav .on_scroll .nav-menu-wrapper .menu .menu-item a,
.home .on_scroll .other-menu .btn.btn-transparent{
    color: var(--primary-color);
}

.home .other-menu .btn.btn-transparent svg path{
    fill: var(--secondary-color);
}

.home .on_scroll .other-menu .btn.btn-transparent svg path{
    fill: var(--primary-color);
}

.home .page-nav .nav-menu-wrapper .menu .menu-item a:after{
    filter: invert(1);
}

.home .page-nav .on_scroll .nav-menu-wrapper .menu .menu-item a:after{
    filter: invert(0);
}

.btn.btn-small{
    border-radius: 15px;
    padding: 6px 10px;
    font-size: 16px;
    line-height: 16px;
}

.btn_empty{
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    cursor:pointer;
}

.icon-phone,
.icon-mail {
    display: flex;
}

.title_wrapper{
    overflow: hidden; 
    position: relative;
}

h1, h2:not(.article-title):not(.blog-slider_title):not(.property_card_title), .banner h3{
    opacity:0;
}

.single-post h1, .single-post h2{
    opacity:1!important;
}

.title_wrapper .chars{
    opacity:1!important;
}

h1, h2, h3, h4, h5, h6{
    font-family: var(--primary-font);
    color: var(--primary-color);
    font-weight: 400;
}

h1 {
    font-size: clamp(40px, 5vw, 72px);
    font-style: normal;
    font-weight: 400;
    line-height: clamp(50px, 8vw, 85px);
    margin-top: 0;
    margin-bottom: 1rem;
}

.modest_title h1 {
    font-size: clamp(40px, 5vw, 52px);
    line-height: clamp(43px, 8vw, 55px);
}


h2 {
    font-size: clamp(30px, 5vw, 38px);
    line-height: clamp(40px, 8vw, 54px);
    margin:0;
}

.no_margin{
    margin:0;
}

.dark-bg h1, 
.dark-bg h2, 
.dark-bg h3, 
.dark-bg h4,
.dark-bg h5, 
.dark-bg h6,
.dark-text h1, 
.dark-text h2, 
.dark-text h3, 
.dark-text h4,
.dark-text h5, 
.dark-text h6{
    color: var(--secondary-color);
}

.light-text h1, 
.light-text h2, 
.light-text h3, 
.light-text h4,
.light-text h5, 
.light-text h6,
.light-text p{
    color: var(--secondary-color);
}

.block_text li,
p{
    font-family: var(--secondary-font);
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 400; 
    line-height: 22px; 
    font-style: normal;
    word-wrap: break-word;
}

.dark-bg p,
.dark-text .article-meta,
.dark-text p{
    color: var(--secondary-color);
}

.article-meta{
    pointer-events: none;
}

section{
    max-width:1590px;
    width:100%;
    margin:auto;
}

.single_service{
    border-radius: 30px;
    padding: 0 40px 40px;
    margin-bottom: 30px;
}

section.single_service:last-of-type{
    margin-bottom: 0;
}

section.single_service:nth-last-child{
    margin-bottom: 0;
}

.service_heading {
    position: sticky;
    padding-top: 40px;
    top: 0;
    z-index: 1;
}

.service_heading .innner_heading{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-radius:30px;
}

.service_heading .service_title{
    margin:0;
    padding:1rem 0;
}

.single_service:nth-child(odd) .service_heading,
.single_service:nth-child(odd){
    background-color:var(--ternary-color);
}

.single_service:nth-child(even) .service_heading,
.single_service:nth-child(even){
    background-color:var(--secondary-color);
}

.content > .block_text {
  grid-row: 2/3;
  line-height: 1.5;
}

.single_service .char {
  display: inline-block;
  opacity: calc( 1 + ( ( var(--viewport-y) * 1.5 ) - var(--char-percent) ) );
}

.flex_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.justify-content_center {
    justify-content: center;
}

.link_icon{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.link_icon svg{
    transform: translateX(0);
    transition: transform 0.3s ease-in-out;
}

.other-menu .btn,
.nav-menu-wrapper .menu-item{
    visibility:hidden;
    opacity:0;
    transition: opacity .4s;
}

.loaded .other-menu .btn,
.loaded .nav-menu-wrapper .menu-item{
    visibility:visible;
    opacity:1;
    padding: 14px 10px;
    transition: opacity .4s;
}

.loaded .other-menu .btn{
    padding: 8px 10px;
}

.col_2{
    display: flex;
    gap: 30px;
}

.col_2 > section{
    flex: 0 0 50%;
    margin:0!important;
}
.col_2 > div {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.col_2 .banner-fullwidth.row_1 .banner{
    height: 100%!important;
}

.col_2 .banner-fullwidth .banner{
    margin-bottom:0!important;
}

.menu-item a{
    position:relative;
}
    
.current-menu-item a:after{
    content: '';
    position:absolute;
    display:block;
    bottom:0;
    width:100%;
    height:0;
    background-color:var(--primary-color);
    transition: height .4s;
}

.loaded .current-menu-item a:after{
    height:1px;
    transition: height .25s .2s;
}

@media screen and (max-width: 1699px) {
    section{
        padding-left:40px;
        padding-right:40px;
    }
    .single_service{
        margin: 0 40px;
        width: auto;
    }
    section {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 991.98px){
    .col_2{
        gap: 0;
        flex-wrap: wrap;
    }
    section{
        padding-left:15px;
        padding-right:15px;
    }
    
    .single_service{
        margin-left:15px;
        margin-right:15px;
    }   
    
    .single_service .block_text_image,
    .single_service .service_heading .innner_heading{
        padding-left:15px;
        padding-right:15px;
        column-gap: 30px;
    }
    
    .single_service .block_text_image{
        padding-bottom:15px;
    }
    
    .service_heading h2 {
        font-size: clamp(24px, 5vw, 38px);
    }
    
    .service_heading .btn {
        padding: 12px 10px;
        font-size: 16px;
        line-height: 16px;
        flex: 0 0 110.05px;
    }
    
    .single_service .block_text .btn{
        display:none;
    }
    
    .single_service {
        padding: 0;
    }
    
    .single_service .service_heading{
        background-color:#fff!important;
        border-radius: 0 0 33px 33px;
        padding-top: 60px;
    }
    
    .single_service:nth-child(even) .service_heading .innner_heading{
        background-color: var(--secondary-color);
    }
    
    .single_service:nth-child(odd) .service_heading .innner_heading{
        background-color: var(--ternary-color);
    }
}

@media (max-width: 1454.98px){
    .no_lg_mobile{
        display:none;
    }
    .property_featured_list .btn_contatto {
        border-radius: 8px;
        padding: 0px;
    }
}

@media (min-width: 1455px){
    .no_lg_desktop{
        display:none;
    }
}

@media (max-width: 991.98px){
    .no_md_mobile{
        display:none;
    }
}

@media (min-width: 992px){
    .no_md_desktop{
        display:none;
    }
    .link_icon:hover svg{
        transform: translateX(5px);
        transition: transform 0.3s ease-in-out;
    }
}


@media (max-width: 600px){
    .no_mobile{
        display:none;
    }
}

@media (min-width: 601.98px){
    .no_desktop{
        display:none;
    }
}

@media screen and (min-width: 992px) {
    section:last-child{
        padding-bottom:120px;
    }
    .service_heading button{
        display:none;
    }
}

.content-with-sidebar {
    display: flex;
    flex-wrap: wrap;
    padding-bottom:90px;
}

.side_box.text_in_image_list ul{
    list-style: none;
    padding: 0;
}

.blog .content-with-sidebar main{
    width:70%;
}

.single .content-with-sidebar {
    display: flex;
    flex-wrap: wrap;
    padding-bottom:30px;
}

.content-with-sidebar aside{
    flex: 1 0 30%;
    padding-left: 30px;
}

.content-with-sidebar aside.right-side{
    flex: 1 0 30%;
}

.blog section{
    max-width:1270px;
}

.single .main-section article{
    max-width:1100px;
    margin:auto;
}


@media (max-width: 991.98px){
    .blog h1{
        margin-top:0;
    }  
}

/*MENU*/
header{
    height: 50px;
}
.other-menu{
    display: flex;
    align-items: center;
    gap: 5px;
}
.home header,
.nav-bar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index:999999;
}

.inner-nav-bar{
    z-index: 10001;
}

.page-nav .inner-nav-bar{
    --menu-stroke: var(--primary-color);
    transition: all 0.3s;
}

.home .inner-nav-bar,
.inner-nav-bar.no_scroll{
    --menu-stroke: var(--secondary-color);
    transition: all 0.3s;
}

ul.sub-menu {
    list-style: none;
    text-align: left;
    line-height: 1.5;
    position: absolute;
    background-color: rgba(var(--primary-color-rgba),.2);
    display: flex;
    flex-direction: column;
    margin-top: 14px;
    margin-left: -10px;
    z-index: -1;
    padding: 0 10px;
    height:0;
    overflow: hidden;
    transition: all 0.3s;
}

body:not(.home) ul.sub-menu {
    background-color: rgba(255, 255, 255, .6);
}

.menu-item-has-children{
    padding-right:0!important;
}

.menu-item-has-children > a{
    display: flex;
    align-items: center;
}

.menu-item-has-children > a::after {
    content: '';
    width: 10px;
    height: 6px;
    margin-left: 5px;
    margin-top: 3px;
    display: block;
    background-image: url(./assets/images/arrow-down.svg);
    background-repeat: no-repeat;
    background-size: 10px;
    line-height: 1;
}

.menu-item-has-children:hover ul.sub-menu {
    height:auto;
    padding: 10px;
    transition: all 0.3s;
}

.inner-nav-bar.on_scroll ul.sub-menu {
    background-color: rgba(255, 255, 255, .6);
}

.nav-menu-wrapper ul.sub-menu .menu-item{
    padding: 5px 0;
}

.menu-item-has-children ul.sub-menu a {
    transition: all 0.1s;
    opacity: 0;
}

.menu-item-has-children:hover ul.sub-menu a {
    transition: all 0.1s;
    opacity: 1;
}


.inner-nav-bar::before,
ul.sub-menu::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -webkit-backdrop-filter: blur(10px) brightness(93%);
    backdrop-filter: blur(10px) brightness(93%);
    background-color: rgba(var(--secondary-color-rgba), .36);
    z-index: -1;
}

.home .inner-nav-bar::before,
.inner-nav-bar.no_scroll::before{
    background-color: rgba(var(--primary-color-rgba),.2);
}

.inner-nav-bar.on_scroll::before{
    background-color: rgba(var(--secondary-color-rgba), .36);
}

.inner-nav-bar.on_scroll{
    --menu-stroke: var(--primary-color);
    background-color:rgba(255,255,255,.6);
    transition: all 0.3s;
}


[data-menu="open"] .inner-nav-bar{
    -webkit-backdrop-filter: blur(0) brightness(1);
    backdrop-filter: blur(0) brightness(1);
    background-color:transparent;
}

.nav-logo{
    z-index: 10001;
    padding: 5px 0;
}

.page-nav .inner-nav-bar .nav-logo,
.page-nav .inner-nav-bar .nav-menu-wrapper{
    height: auto;
}

.page-nav .nav-menu-wrapper{
    display: flex;
    align-items: center;
}

.nav-menu-wrapper {
    display: flex;
    align-items: center;
    z-index: 10001;
}

.nav-menu-wrapper svg{
    display:block;
}

.nav-bar:not(.page-nav) .nav-menu-wrapper {
    gap: 30px;
}

.inner-nav-bar{
    padding: 0 30px 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.inner-nav-bar figure,
.inner-nav-bar picture{
    display: flex;
    margin:0;
}

.hamburger-menu{
    display: flex;
}

#hamburgerMenu {
  width: 50px;
  margin: 0 auto;
  display: block;
}

[data-menu="close"] .mobile-menu,
.mobile-menu{
   opacity: 0;
   z-index:-1;
   visibility: hidden;
   transition: all 0.3s ease-in-out;
}

[data-menu="open"] .mobile-menu{
    opacity: 1;
    z-index: 10000;
    visibility: visible;
    overflow: auto;
    transition: all 0.3s ease-in-out;
}

[data-menu="open"] #hamburgerMenu {
    stroke: var(--secondary-color);
}

ul.menu,
ul.socials{
    padding: 0;
    margin: 0;
    list-style: none;
}

.mobile-menu{
    width: 100%;
    height: 100%;
    position: fixed;
    display:flex;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    background-color: rgba(var(--primary-color-rgba),.98);
}

.menu-menu-principale-eng-container,
.menu-menu-principale-container{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

.mobile-menu .menu-menu-principale-eng-container,
.mobile-menu .menu-menu-principale-container{
    padding-top: 100px;
    padding-bottom: 50px;
}


.page-nav .nav-menu-wrapper .menu-menu-principale-eng-container,
.page-nav .nav-menu-wrapper .menu-menu-principale-container{
    margin-right: 10px;
}

.page-nav .nav-menu-wrapper .menu-menu-principale-eng-container:after,
.page-nav .nav-menu-wrapper .menu-menu-principale-container::after {
    content: '';
    width: 1px;
    height: 20px;
    padding-right: 10px;
    border-right: 1px solid var(--ternary-color);
}

.home .page-nav .on_scroll .nav-menu-wrapper .menu-menu-principale-eng-container::after,
.home .page-nav .on_scroll .nav-menu-wrapper .menu-menu-principale-container::after{
    border-right: 1px solid var(--primary-color);
}

.mobile-menu .menu-item{
    overflow: hidden;
}

.mobile-menu .menu-item a{
    color: var(--secondary-color);
    font-size: 48px; 
    font-family: var(--secondary-font); 
    font-weight: 400; 
    line-height: 48px; 
    word-wrap: break-word;
    display: inline-block;
}

/*

[data-menu="close"] .mobile-menu .menu-item a{
    transform: translateY(150%);
    transition: transform 0.3s ease-in-out;
} 

[data-menu="open"] .mobile-menu .menu-item a{
    transform: translateY(0);
    transition: transform 0.3s ease-in-out .3s;
}
*/

.mobile-menu .menu-item:not(:last-of-type){
    margin-bottom:20px;
}

footer figure img{
    width: 53px;
    height: 50px;
}

.footer-menu{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    border-top: 1px solid rgba(var(--secondary-color-rgba), .1);
    padding: 20px 40px;
}

.footer-menu p,
.footer-menu a{
    color: var(--secondary-color);
}

.footer-menu ul,
.company-socials .socials{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

@media (max-width: 991.98px){
    .menu-item-has-children > a{
        display:none!important;
    }
    body:not(.home) ul.sub-menu,
    ul.sub-menu {
        margin: 0;
        padding: 0!important;
        position: relative;
        height: auto!important;
        background-color: transparent;
        z-index: 1;
        text-align: center;
    }
    ul.sub-menu::before {
        display:none;
    }
}

/*FOOTER*/

footer{
    background-color:var(--primary-color);
    padding:0 40px;
}

footer .footer{
    padding: 30px 0 40px;
    display: -ms-grid;
    display: grid;
    grid-auto-columns: 1fr;
    grid-column-gap: 0;
    grid-row-gap: 0px;
    -ms-grid-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    -ms-grid-rows: auto;
    grid-template-rows: auto;
}

@media (max-width: 1301px){
    footer .footer{
        grid-auto-columns: auto;
        -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
    }
    footer .footer .footer-column{
        margin-bottom:30px;
    }
}

@media (max-width: 500px){
    footer .footer{
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }
}

footer .footer-column:not(:last-of-type){
    padding-right: 30px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.footer-title{
    font-size: 20px;
    margin: 0;
    font-family: var(--primary-font);
    font-weight: 400;
    line-height: 20px;
    word-wrap: break-word;
    border-bottom: 1px var(--ternary-color) solid;
    padding-bottom:10px;
    margin-bottom:10px;
}

.menu-menu-footer-container .menu .menu-item:not(:last-of-type){
    margin-bottom:5px;
}

.company-socials .socials{
    padding-top:30px;
}

.credits{
    padding-bottom:10px;
}

.copyright{
    margin:0;
    font-size: 14px; 
    font-weight: 400; 
    line-height: 35px; 
    word-wrap: break-word;
}

@media (max-width: 991.98px){
    .inner-nav-bar{
        padding: 0 15px;
    }
    .home .inner-nav-bar,
    .inner-nav-bar.no_scroll,
    .page-nav .inner-nav-bar{
        transition: none;
    }
    [data-menu="open"] .inner-nav-bar{
        padding: 0 15px;
    }
    .page-nav .nav-menu-wrapper .menu-menu-principale-eng-container,
    .page-nav .nav-menu-wrapper .menu-menu-principale-container{
        display:none;
    }
    .other-menu {
        margin-right: 10px;
    }   
    .other-menu svg{
        width: 23px;
        height: 23px;
    }
    .footer-menu {
        padding: 15px 20px;
    }
    .footer-menu p {
        font-size: 12px;
        line-height: 14px;
    }  
    footer {
        padding: 0 15px 15px;
    }
    footer .footer {
        padding: 30px 0 0 0;
    }
    footer .footer-column {
        padding-right: 0!important;
    }
    .btn.btn-icon-special {
        padding: 0;
        border: none;
    }
    .credits {
        padding-bottom: 30px;
    }
    .copyright{
        line-height: 1rem;
    }
}

@media (min-width: 992px){
    .page-nav .hamburger-menu{
        display:none;
    }
    .page-nav .mobile-menu{
        display:none;
    }
    [data-menu="open"] .other-menu{
        display: flex;
    }
}

/*FORM CONTATTO*/
.uwp-auth-modal,
.crmWebToEntityForm {
	width:100%;
	padding: 0 25px;
	margin: 0 auto;
	box-sizing: border-box;
	text-align: center;
}
#crmWebToEntityForm:not(.single_mobile_form) .form_standard{
	opacity:0;
	transform: scale(.98, .98);
    transition: all 0.3s ease-in-out;
}
.crmWebToEntityForm * {
	box-sizing: border-box;
}
.zcwf_lblLeft .zcwf_title {
	word-wrap: break-word;
	padding: 0px 6px 10px;
	font-weight:bold }.zcwf_lblLeft.cpT_primaryBtn:hover{
	background: linear-gradient(#02acff 0,#006be4 100%) no-repeat padding-box !important;
	box-shadow: 0 -2px 0 0 #0159b9 inset !important;
	border: 0 !important;
	color: #fff !important;
	outline: 0 !important;
}
textarea {
    resize: none;
    width: 100%;
    height: 100%;
}
.zcwf_lblLeft .zcwf_col_fld input[type=text], input[type=password], .zcwf_lblLeft .zcwf_col_fld textarea {
	width: 100%;
	border: 1px solid #c0c6cc !important;
	resize: none;
	border-radius: 2px;
	float: left;
}
.zcwf_col_fld select{
    margin-right: 10px;
    border: 1px solid #c0c6cc !important;
    resize: none;
    border-radius: 8px;
    float: left;
    padding: 4px;
}
.zcwf_lblLeft .zcwf_col_lab {
	word-break: break-word;
	padding: 0px 6px 0px;
	margin-right: 10px;
	margin-top: 5px;
	float: left;
	min-height: 1px;
}
.zcwf_lblLeft .zcwf_col_fld {
	width: 100%;
	padding: 0px;
	position: relative;
	margin-top: 5px;
}
.zcwf_lblLeft .zcwf_privacy{padding: 0;}
.zcwf_lblLeft .wfrm_fld_dpNn{display: none;}
.dIB{display: inline-block;}
.zcwf_lblLeft .zcwf_col_fld_slt {
	width: 60%;
	border: 1px solid #ccc;
	background: #fff;
	border-radius: 4px;
	font-size: 12px;
	float: left;
	resize: none;
	padding: 2px 5px;
}
.zcwf_lblLeft .zcwf_row:after, .zcwf_lblLeft .zcwf_col_fld:after {
	content: '';
	display: table;
	clear: both;
}
.zcwf_lblLeft .zcwf_col_help {
	float: left;
	margin-left: 7px;
	font-size: 12px;
	max-width: 35%;
	word-break: break-word;
}
.zcwf_lblLeft .zcwf_help_icon {
	cursor: pointer;
	width: 16px;
	height: 16px;
	display: inline-block;
	background: #fff;
	border: 1px solid #c0c6cc;
	color: #c1c1c1;
	text-align: center;
	font-size: 11px;
	line-height: 16px;
	font-weight: bold;
	border-radius: 50%;
}
.zcwf_lblLeft .zcwf_row {margin: 15px 0px;}
.zcwf_lblLeft .formsubmit {
	margin-right: 5px;
	cursor: pointer;
	color: var(--baseColor);
	font-size: 12px;
}
.zcwf_lblLeft .zcwf_privacy_txt {
    width: 100%;
    color: rgb(0, 0, 0);
    font-size: 12px;
    font-family: var(--secondary-font);
    display: inline-block;
    vertical-align: top;
    color: var(--primary-color);
    padding-top: 0;
    margin-left: 0;
}
.zcwf_lblLeft .zcwf_button {
	font-size: 12px;
	color: var(--baseColor);
	border: 1px solid #c0c6cc;
	padding: 3px 9px;
	border-radius: 4px;
	cursor: pointer;
	max-width: 120px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.zcwf_lblLeft .zcwf_tooltip_over{
	position: relative;
}
.zcwf_lblLeft .zcwf_tooltip_ctn{
	position: absolute;
	background: #dedede;
	padding: 3px 6px;
	top: 3px;
	border-radius: 4px;word-break: break-word;
	min-width: 100px;
	max-width: 150px;
	color: var(--baseColor);
	z-index: 100;
}
.zcwf_lblLeft .zcwf_ckbox{
	float: left;
}
.zcwf_lblLeft .zcwf_file{
	width: 55%;
	box-sizing: border-box;
	float: left;
}
.clearB:after{
	content:'';
	display: block;
	clear: both;
}

@media all and (max-width: 600px) {
	.zcwf_lblLeft .zcwf_col_lab, .zcwf_lblLeft .zcwf_col_fld {
		width: auto;
		float: none !important;
	}
	.zcwf_lblLeft .zcwf_col_help {width: 40%;}
}

/*FORM*/
.uwp-auth-modal{
    display: flex!important;
    padding: 0;
    border-radius:15px;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    opacity:0;
    z-index: -1;
}
.modal_specifico,
.modal_contatto,
.modal_newsletter,
.modal_immobile,
.modal_player{
    display: flex;
    background-color: rgba(var(--primary-color-rgba),.8);
    align-items: center;
    justify-content: center;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    opacity:0;
    z-index: -1;
}

.modal_bk {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

html.modal_open {
    overflow: hidden;
}

.form_standard {
    width: 500px;
    padding: 15px;
    border-radius: 8px;
    background: #F1F2F2;
}

.modal_close_container{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    align-self: stretch;
}

.modal_close{
    cursor:pointer;
    width: 22px;
    height: 22px;
}

input,
textarea{
    border: 1px solid var(--ternary-color);
    padding: 8px 10px;
    border-radius: 8px !important;
    font-size: 14px;
    line-height: 16px;
    font-family: var(--secondary-font);
}

form h3 {
    font-size: 48px;
    line-height: 52px;
    margin-top: 0;
}

form .form_intro h2{
    font-size: 38px;
    line-height: 44px;
    margin: 0;
}

form .form_intro h3{
    font-size: 22px;
    line-height: 38px;
    margin: 0;
}

form .form_intro h4{
    font-size: 15px;
    line-height: 18px;
    margin: 0;
}

form .form_intro small{
    display: block;
    margin-top:10px;
    font-size: 16px;
}

form p {
    font-size: 16px;
    line-height: 16px;
}

form p.small,
form p .small{
    font-size: 11px;
    line-height: 14px;
    margin: .5rem 0;
}



.zcwf_col_fld img{
    border: 1px solid var(--ternary-color);
    border-radius: 15px;
}

form .zcwf_row .captcha_field img{
    width: 150px;
}

.zcwf_lblLeft .zcwf_col_fld.captcha_field{
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    margin-left:auto;
    margin-right:auto;
}

@media all and (min-width: 992.98px) {
    html.m_cerca_dropdown {
        overflow: auto;
    }
}

@media all and (max-width: 992px) {
    form .form_intro h2{
        line-height: 45px;
    }
    form h3 {
        font-size: 35px;
        line-height: 35px;
        margin-bottom: 1rem;
    }
}

@media all and (max-width: 500px) {
    .form_standard {
        width: 100%;
    }
    input, textarea {
        padding: 8px 10px;
    }
}


/*FORM DI CONTATTO IMMOBILE*/
.contact-immobile .contact-banner{
    display: inline-flex;
    padding: 15px 15px 30px 15px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    background: var(--secondary-color);
}
.contact-immobile h4{
    color: var(--primary-color);
    text-align: center;
    font-family: var(--primary-font);
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 64px;
}
.contact-immobile p{
    color: var(--primary-color);
    text-align: center;
    font-family: var(--secondary-font);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}
.contact-immobile .brand{
    font-size: 24px;
    line-height: 38px;
}
.contact-immobile .brand-subtitle{
    line-height: 18px;
}
.contact-immobile .text-divider-center{
    font-size: 14px;
    line-height: 16px;
    position:relative;
}
.contact-immobile .text-divider-center span{
    display: inline-block;
    margin:auto;
    background: var(--secondary-color);
}
.contact-immobile .text-divider-center:after{
    content:'';
    width:100%;
    height:1px;
    background: var(--primary-color);
    position:absolute;
    top:50%;
    transform:translateY(-50%);
}
#crmWebToEntityForm.zcwf_lblTopBottom {
	width:100%;
	padding: 25px;
	margin: 0 auto;
	box-sizing: border-box;
}
#crmWebToEntityForm.zcwf_lblTopBottom * {
	box-sizing: border-box;
}
#crmWebToEntityForm{text-align: center;}
.zcwf_lblTopBottom .zcwf_title {
	word-wrap: break-word;
	padding: 0px 6px 10px;
	font-weight:bold }.zcwf_lblTopBottom.cpT_primaryBtn:hover{
	background: linear-gradient(#02acff 0,#006be4 100%) no-repeat padding-box !important;
	box-shadow: 0 -2px 0 0 #0159b9 inset !important;
	border: 0 !important;
	color: #fff !important;
	outline: 0 !important;
}.zcwf_lblTopBottom .zcwf_col_fld input[type=text], input[type=password], .zcwf_lblTopBottom .zcwf_col_fld textarea {
	width: 60%;
	border: 1px solid #c0c6cc !important;
	resize: none;
	border-radius: 2px;
	float: left;
}
.zcwf_lblTopBottom .zcwf_col_lab {
	width: 30%;
	word-break: break-word;
	padding: 0px 6px 0px;
	margin-right: 10px;
	margin-top: 5px;
	padding-bottom: 4px;
}
.zcwf_lblTopBottom .zcwf_col_fld {
	width: 60%;
	padding: 0px 6px 0px;
	position: relative;
	margin-top: 5px;
}
.zcwf_lblTopBottom .zcwf_privacy{padding: 6px;}
.zcwf_lblTopBottom .wfrm_fld_dpNn{display: none;}
.dIB{display: inline-block;}
.zcwf_lblTopBottom .zcwf_col_fld_slt {
	width: 60%;
	border: 1px solid #ccc;
	background: #fff;
	border-radius: 4px;
	font-size: 12px;
	float: left;
	resize: vertical;
	padding: 2px 5px;
}
.zcwf_lblTopBottom .zcwf_row:after, .zcwf_lblTopBottom .zcwf_col_fld:after {
	content: '';
	display: table;
	clear: both;
}
.zcwf_lblTopBottom .zcwf_col_help {
	float: left;
	margin-left: 7px;
	font-size: 12px;
	max-width: 35%;
	word-break: break-word;
}
.zcwf_lblTopBottom .zcwf_help_icon {
	cursor: pointer;
	width: 16px;
	height: 16px;
	display: inline-block;
	background: #fff;
	border: 1px solid #c0c6cc;
	color: #c1c1c1;
	text-align: center;
	font-size: 11px;
	line-height: 16px;
	font-weight: bold;
	border-radius: 50%;
}
.zcwf_lblTopBottom .zcwf_row {margin: 15px 0px;}
.zcwf_lblTopBottom .formsubmit {
	margin-right: 5px;
	cursor: pointer;
	color: var(--baseColor);
	font-size: 12px;
}
.zcwf_lblTopBottom .zcwf_privacy_txt {
	width: 90%;
	color: rgb(0, 0, 0);
	font-size: 12px;
	font-family: Arial;
	display: inline-block;
	vertical-align: top;
	color: var(--baseColor);
	padding-top: 2px;
	margin-left: 6px;
}
.zcwf_lblTopBottom .zcwf_button {
	font-size: 12px;
	color: var(--baseColor);
	border: 1px solid #c0c6cc;
	padding: 3px 9px;
	border-radius: 4px;
	cursor: pointer;
	max-width: 120px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.zcwf_lblTopBottom .zcwf_tooltip_over{
	position: relative;
}
.zcwf_lblTopBottom .zcwf_tooltip_ctn{
	position: absolute;
	background: #dedede;
	padding: 3px 6px;
	top: 3px;
	border-radius: 4px;word-break: break-word;
	min-width: 100px;
	max-width: 150px;
	color: var(--baseColor);
	z-index: 100;
}
.zcwf_lblTopBottom .zcwf_ckbox{
	float: left;
}
.zcwf_lblTopBottom .zcwf_file{
	width: 35%;
	box-sizing: border-box;
	float: left;
}
.clearB:after{
	content:'';
	display: block;
	clear: both;
}
@media all  {
	.zcwf_lblTopBottom .zcwf_col_lab, .zcwf_lblTopBottom .zcwf_col_fld {
		width: auto;
		float: none !important;
	}
	.zcwf_lblTopBottom .zcwf_col_help {width: 40%;}
}





.wf_customMessageBox {
	font-family: Arial, Helvetica, sans-serif;
	color: #132C14;
	background:  #F5FAF5;
	box-shadow:0 2px 6px 0 rgba(0,0,0,0.25);
	max-width: 90%;
	width:max-content;
	word-break: break-word;
	z-index: 11000;
	border-radius: 6px;
	border: 1px solid #A9D3AB;
	min-width: 100px;
	padding: 10px 15px;
	display: flex;
	align-items: center;
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translate(-50%, 0);
	}
.wf_customCircle {
	position: relative;
	background-color: #12AA67;
	border-radius: 100%;
	width: 20px;
	height: 20px;
	flex:none;
	margin-right: 7px;
	}
.wf_customCheckMark {
	box-sizing: unset !important;
	position: absolute;
	transform: rotate(45deg) translate(-50%, -50%);
	left: 6px;
	top: 9px;
	height: 8px;
	width: 3px;
	border-bottom: 2px solid #fff;
	border-right: 2px solid #fff;
	}
.wf_customClose {
	box-sizing: border-box;
	position: relative;
	width: 18px;
	height: 18px;
	}
.wf_customClose::after,
.wf_customClose::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	width: 12px;
	height: 1.5px;
	background: #616E88;
	transform: rotate(45deg);
	border-radius: 5px;
	top: 8px;
	left: 1px
	}
.wf_customClose::after {
	transform: rotate(-45deg)
}

@media all and (max-width: 991.98px) {
    .uwp-auth-modal,
    .crmWebToEntityForm{
        padding: 0;
    }
    .form_standard{
        height: 100%;
        border-radius: 0;
    }
}

/*HOME*/
.only_preview{
    display:none;
}

.preview_properties .only_preview{
    display:block;
}

/*CHI SIAMO*/
.img-container {
  position: relative;
  height: 36vh;
  width: 30%;
  perspective: 500px;
  transform-style: preserve-3d;
}

.img-container {
    position: relative;
    height: 45vh;
    width: 40%;
    perspective: 500px;
    transform-style: preserve-3d;
}

.box {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  position: absolute;
  top: 50%;
  transition: 800ms ease-in-out;
}

.box img {
  width: 100%;
  height: 100%;
}

.box:first-of-type {
  z-index: 5;
  opacity: 0;
  left: 15%;
  transform: translate(-50%, -50%) rotateY(-10deg);
}

.box:nth-of-type(2) {
  opacity: 1;
  left: 20%;
  transform: translate(-50%, -50%) rotateY(-10deg);
  z-index: 5;

}
.box:nth-of-type(3) {
  left: 25%;
  opacity: 0.75;
  color: #eee;
  z-index: 10;
  transform: translate(-50%, -50%) rotateY(-10deg) translateZ(-50px);
}

.box:nth-of-type(4) {
  z-index: 5;
  opacity: 0.5;
  left:30%;
  transform: translate(-50%, -50%) rotateY(-10deg) translateZ(-100px);
}
.box:nth-of-type(5) {
  z-index: 2;
  opacity: 0.25;
  left: 35%;
  transform: translate(-50%, -50%) rotateY(-10deg) translateZ(-150px);
}

.box:nth-of-type(6) {
  z-index: 2;
  opacity: 0.0;
  left: 40%;
  transform: translate(-50%, -50%) rotateY(-10deg) translateZ(-200px);
}

.box:first-of-type {
  z-index: 5;
  opacity: 0;
  left: 12%;
  transform: translate(-50%, -50%) rotateY(-10deg);
}

.box:nth-of-type(2) {
  opacity: 1;
  left: 20%;
  transform: translate(-50%, -50%) rotateY(-10deg);
  z-index: 5;
}
.box:nth-of-type(3) {
  left: 28%;
  opacity: 0.75;
  color: #eee;
  z-index: 10;
  transform: translate(-50%, -50%) rotateY(-10deg) translateZ(-50px);
}

.box:nth-of-type(4) {
  z-index: 5;
  opacity: 0.5;
  left: 37%;
  transform: translate(-50%, -50%) rotateY(-10deg) translateZ(-100px);
}
.box:nth-of-type(5) {
  z-index: 2;
  opacity: 0.25;
  left: 46%;
  transform: translate(-50%, -50%) rotateY(-10deg) translateZ(-150px);
}

.box:nth-of-type(6) {
  z-index: 2;
  opacity: 0.0;
  left: 40%;
  transform: translate(-50%, -50%) rotateY(-10deg) translateZ(-200px);
}

@media (max-width: 991.98px){
    .img-container {
        width: 100%;
        height: 32vh!important;
    }
    .box {
        top: 0;
        width: 100%;
        height: 100%;
        transform: translate(0%, 0%)!important;
        left: 0!important;
        right: 0!important;
        margin: auto;
        opacity:1!important;
    }
    .box:first-of-type {
      top: 20%;
      width: 87%;
      transform: translate(0%, 0%) rotateY(-10deg);
    }
    
    .box:nth-of-type(2) {
      top: 15%;
      width: 93%;
      transform: translate(0%, 0%) rotateY(-10deg);
    }
    .box:nth-of-type(3) {
      top: 0%;
      width: 100%;
      transform: translate(0%, 0%) rotateY(-10deg) translateZ(-50px);
    }
    
    .box:nth-of-type(4) {
      top: 7%;
      width: 97%;
      transform: translate(0%, 0%) rotateY(-10deg) translateZ(-100px);
    }
    .box:nth-of-type(5) {
      top: 26%;
      width: 81%;
      transform: translate(0%, 0%) rotateY(-10deg) translateZ(-150px);
      margin: auto;
      right: 0;
    }
    
    .box:nth-of-type(6) {
      top: 11%;
      transform: translate(0%, 0%) rotateY(-10deg) translateZ(-200px);
    }
}

/*FEATURED POST*/
.blog-slider {
  width: 100%;  
  position: relative;
  margin: auto;
  background: #fff;
  border-radius: 8px;
  transition: all 0.3s;
}
.blog-slider_wrp{
    margin-bottom:20px;
}

.swiper-wrapper article.blog-slider_item {
    display: flex;
    height:440px;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--secondary-color);
}
.blog-slider_item.swiper-slide-active .blog-slider_img img {
  opacity: 1;
  transition-delay: 0.3s;
}
.blog-slider_item.swiper-slide-active .blog-slider_content > * {
  opacity: 1;
  transform: none;
}
.blog-slider_item.swiper-slide-active .blog-slider_content > *:nth-child(1) {
  transition-delay: 0.3s;
}
.blog-slider_item.swiper-slide-active .blog-slider_content > *:nth-child(2) {
  transition-delay: 0.4s;
}
.blog-slider_item.swiper-slide-active .blog-slider_content > *:nth-child(3) {
  transition-delay: 0.5s;
}
.blog-slider_item.swiper-slide-active .blog-slider_content > *:nth-child(4) {
  transition-delay: 0.6s;
}
.blog-slider_item.swiper-slide-active .blog-slider_content > *:nth-child(5) {
  transition-delay: 0.7s;
}
.blog-slider_item.swiper-slide-active .blog-slider_content > *:nth-child(6) {
  transition-delay: 0.8s;
}
.blog-slider_item.swiper-slide-active .blog-slider_content > *:nth-child(7) {
  transition-delay: 0.9s;
}
.blog-slider_item.swiper-slide-active .blog-slider_content > *:nth-child(8) {
  transition-delay: 1s;
}
.blog-slider_item.swiper-slide-active .blog-slider_content > *:nth-child(9) {
  transition-delay: 1.1s;
}
.blog-slider_item.swiper-slide-active .blog-slider_content > *:nth-child(10) {
  transition-delay: 1.2s;
}
.blog-slider_item.swiper-slide-active .blog-slider_content > *:nth-child(11) {
  transition-delay: 1.3s;
}
.blog-slider_item.swiper-slide-active .blog-slider_content > *:nth-child(12) {
  transition-delay: 1.4s;
}
.blog-slider_item.swiper-slide-active .blog-slider_content > *:nth-child(13) {
  transition-delay: 1.5s;
}
.blog-slider_item.swiper-slide-active .blog-slider_content > *:nth-child(14) {
  transition-delay: 1.6s;
}
.blog-slider_item.swiper-slide-active .blog-slider_content > *:nth-child(15) {
  transition-delay: 1.7s;
}
.blog-slider_img {
  width: 50%;
  flex-shrink: 0;
  height: 100%;
  overflow: hidden;
}
.blog #post-container .post-thumbnail img,
.blog-slider_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.3s;
}
.blog-slider_img img {
  opacity: 0;
}
.blog-slider_content {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.blog-slider_content > * {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.4s;
    margin: 0!important;
}
.blog-slider_meta a{
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}
.blog-slider_title {
    font-size: clamp(24px, 5vw, 54px);
    font-style: normal;
    font-weight: 400;
    line-height: clamp(35px, 6vw, 65px);
    margin: 0;
}
.blog-slider_text {
  color: #4e4a67;
  margin-bottom: 30px;
  line-height: 1.5em;
}
.blog-slider_button {
  display: inline-flex;
  background-image: linear-gradient(147deg, #fe8a39 0%, #fd3838 74%);
  padding: 15px 35px;
  border-radius: 50px;
  color: #fff;
  box-shadow: 0px 14px 80px rgba(252, 56, 56, 0.4);
  text-decoration: none;
  font-weight: 500;
  justify-content: center;
  text-align: center;
  letter-spacing: 1px;
}
.blog-slider_pagination {
    position: relative;
    bottom: 0!important;
    width: 100%;
    text-align: center;
}
.blog-slider_pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 8px 0;
}
.blog-slider_pagination .swiper-pagination-bullet {
  width: 11px;
  height: 11px;
  border-radius: 10px;
  background: var(--ternary-color);
  opacity: 0.2;
  transition: all 0.3s;
}
.blog-slider_pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--ternary-color);
  width: 30px;
}

.blog #post-container img{
    width:100%;
    height:100%;
}

.blog #post-container .type-post{
    height: 500px;
    position: relative;
    margin-bottom:30px;
    border-radius: 8px;
    overflow: hidden;
}

.post-thumbnail{
    height: 100%;
    overflow: hidden;
}
.post-thumbnail a {
    width: 100%;
    display: block;
    height: 100%;
}
.post-thumbnail a:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(48, 48, 48, 0.00) 37.52%, rgba(0, 0, 0, 0.85) 84.03%);
    z-index: 1;
}

.article-content{
    position: absolute;
    width:100%;
    bottom: 0;
    left:0;
    padding:15px;
    z-index: 1;
}

.blog #post-container .article-content *{
    margin:0!important;
}

.blog #post-container .article-title{
    font-size: 28px;
    font-weight: 400;
    line-height: 38px;
}

.blog #post-container .article-excerpt{
    line-height: 24px;
}

.blog #post-container .article-meta{
    margin-top:15px!important;
}

#load-more{
    margin: auto;
    display: block;
}

.btn.no-link{
    background:transparent;
    color:var(--primary-color);
    border:none;
    cursor:default;
}

.dropdown-body:not(.mobile-dropdown){
    max-height: 0;
    overflow: hidden;
}

@media (max-width: 991.98px){
    .space-90 {
        margin-top: 60px;
    }
    .content-with-sidebar main,
    .content-with-sidebar aside{
        flex: 1 0 100%;
        padding-left:0;
    }  
    .content-with-sidebar aside{
        order: -1;
        padding-bottom: 60px;
    }
    .mobile-dropdown.dropdown-body{
        max-height: 0;
        overflow: hidden;
    }
    .single .content-with-sidebar aside .sticky-sidebar{
        display: flex;
        flex-direction: column;
        margin-top: 30px;
        gap: 30px;
    }
    .single .content-with-sidebar .box-title-container,
    .single .content-with-sidebar .dropdown-body{
        margin: 0;
    }
    .single .content-with-sidebar aside {
        padding-bottom: 30px;
    }
}
@media screen and (min-width: 992px) {
    .article-box .dropdown-head,
    .mobile-dropdown.dropdown-head,
    .category-box .dropdown-head{
        display:none;
    }
    .sticky-sidebar{
        position: sticky;
        display: flex;
        flex-direction: column;
        row-gap: 30px;
        top: 75px;
    }
}
@media screen and (max-width: 768px) {
    .swiper-wrapper article.blog-slider_item{
        height: 100%;
    }
    .blog-slider_img{
        width:100%;
    }
    .blog-slider_content {
        padding: 15px;
        width: 100%;
    }
    .blog-slider_text,
    .article-excerpt{
        display:none;
    }
    .blog-slider_meta{
        order: 1;
    }
    .blog-slider_meta a{
        font-size: 12px;
        line-height: 12px;
        margin: 0;
    }
    .blog-slider_title{
        font-size: 24px;
        line-height: 35px;   
    }
    .blog-slider_pagination {
        left: 0!important;
        top: 0;
        width: 100% !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .blog-slider_pagination.swiper-pagination-bullets .swiper-pagination-bullet {
        margin: 0 5px;
    }
    .blog-slider_pagination .swiper-pagination-bullet-active {
        height: 11px;
        width: 30px;
    }
    .blog-slider {
        height: auto;
    }
    .blog-slider_item {
        flex-direction: column;
    }
}
@media screen and (max-height: 500px) and (min-width: 992px) {
  .blog-slider {
    height: 350px;
  }
  .blog-slider_img {
    height: 270px;
  }
}
@media screen and (max-width: 576px) {
    .blog-slider_content {
        padding: 15px;
    }
    .blog #post-container .type-post {
        height: 270px;
    }
    .blog #post-container .article-title {
        font-size: 24px;
        font-style: normal;
        font-weight: 400;
        line-height: 30px;
    }
}


/*BANNER*/
.banner {
    --opacity-start: 1;
    --opacity-middle: 0;
    --opacity-end: 0;
    background:linear-gradient(90deg, rgba(var(--secondary-color-rgba), var(--opacity-start)) var(--p-start), rgba(var(--secondary-color-rgba), var(--opacity-end)) var(--p-end)), url(https://luxurybrick.com/wp-content/uploads/2023/11/banner-background.jpg);
}

.banner-collaboratori {
    background:linear-gradient(90deg, rgba(var(--secondary-color-rgba), var(--opacity-start)) var(--p-start), rgba(var(--secondary-color-rgba), var(--opacity-end)) var(--p-end)), var(--banner-collaboratori);
}
.banner-proponi-immobile {
    background:linear-gradient(90deg, rgba(var(--secondary-color-rgba), var(--opacity-start)) var(--p-start), rgba(var(--secondary-color-rgba), var(--opacity-end)) var(--p-end)), var(--banner-proponi-immobile);
}
.banner-lavoratori {
    background:linear-gradient(90deg, rgba(var(--secondary-color-rgba), var(--opacity-start)) var(--p-start), rgba(var(--secondary-color-rgba), var(--opacity-end)) var(--p-end)), var(--banner-lavoratori);
}
.banner-registrazione {
    background:linear-gradient(90deg, rgba(var(--secondary-color-rgba), var(--opacity-start)) var(--p-start), rgba(var(--secondary-color-rgba), var(--opacity-end)) var(--p-end)), var(--banner-registrazione);
}
.banner-servizi {
    background:linear-gradient(90deg, rgba(var(--secondary-color-rgba), var(--opacity-start)) var(--p-start), rgba(var(--secondary-color-rgba), var(--opacity-end)) var(--p-end)), var(--banner-servizi);
}
.banner-seller{
    background:linear-gradient(90deg, rgba(var(--secondary-color-rgba), var(--opacity-start)) 40%, rgba(var(--secondary-color-rgba), var(--opacity-middle)) 130%, rgba(var(--secondary-color-rgba), var(--opacity-end)) var(--p-end)), var(--banner-seller)
}
.banner-buyer{
    background:linear-gradient(90deg, rgba(var(--secondary-color-rgba), var(--opacity-start)) 40%, rgba(var(--secondary-color-rgba), var(--opacity-middle)) 130%, rgba(var(--secondary-color-rgba), var(--opacity-end)) var(--p-end)), var(--banner-buyer)
}

.banner-valutazione{
    background:linear-gradient(90deg, rgba(var(--secondary-color-rgba), var(--opacity-start)) 40%, rgba(var(--secondary-color-rgba), var(--opacity-middle)) 130%, rgba(var(--secondary-color-rgba), var(--opacity-end)) var(--p-end)), var(--banner-valutazione);
}

.banner.dark-text {
    background:linear-gradient(90deg, var(--primary-color) var(--p-start), rgba(var(--primary-color-rgba), 0.09) var(--p-end)), url(https://luxurybrick.com/wp-content/uploads/2023/11/banner-background.jpg);
}

.banner-collaboratori.dark-text {
    background:linear-gradient(90deg, var(--primary-color) var(--p-start), rgba(var(--primary-color-rgba), 0.09) var(--p-end)), var(--banner-collaboratori);
}
.banner-proponi-immobile.dark-text {
    background:linear-gradient(90deg, var(--primary-color) var(--p-start), rgba(var(--primary-color-rgba), 0.09) var(--p-end)), var(--banner-proponi-immobile);
}
.banner-lavoratori.dark-text {
    background:linear-gradient(90deg, var(--primary-color) var(--p-start), rgba(var(--primary-color-rgba), 0.09) var(--p-end)), var(--banner-lavoratori);
}
.banner-registrazione.dark-text {
    background:linear-gradient(90deg, var(--primary-color) var(--p-start), rgba(var(--primary-color-rgba), 0.09) var(--p-end)), var(--banner-registrazione);
}
.banner-servizi.dark-text {
    background:linear-gradient(90deg, var(--primary-color) var(--p-start), rgba(var(--primary-color-rgba), 0.09) var(--p-end)), var(--banner-servizi);
}
.banner-seller.dark-text {
    background:linear-gradient(90deg, var(--primary-color) var(--p-start), rgba(var(--primary-color-rgba), 0.09) var(--p-end)), var(--banner-seller);
}
.banner-buyer.dark-text{
    background:linear-gradient(90deg, var(--primary-color) var(--p-start), rgba(var(--primary-color-rgba), 0.09) var(--p-end)), var(--banner-buyer);
}

.banner-valutazione.dark-text{
    background:linear-gradient(90deg, var(--primary-color) var(--p-start), rgba(var(--primary-color-rgba), 0.09) var(--p-end)), var(--banner-valutazione);
}


.banner {
    --p-start:0;
    --p-end:400%;
    width: 100%;
    padding: 20px;
    border-radius: 8px;
    overflow: hidden;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    display: inline-flex;
    position:relative;
    background-position: right center!important;
    background-size: cover!important;
    background-repeat: no-repeat!important;
}
.banner-content{
    z-index:1;
}

.banner h3{
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
}

.banner p{
    line-height: 24px;
}

.side_box .box-title,
.accordion-box .box-title,
.article-box .box-title,
.category-box .box-title{
    font-size: 20px;
    margin: 0;
    line-height: 20px;
    display:block;
    word-wrap: break-word;
}

.side_box .box-title-container,
.accordion-box .box-title-container,
.article-box .box-title-container,
.category-box .box-title-container,
.sidebar_wrapper .box-title-container{
    border-bottom: 1px var(--ternary-color) solid;
    padding-bottom: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-dropdown-head,
.dropdown-head{
    cursor:pointer;
}

.article-box .dropdown-body article:first-child{
    padding: 1rem 0 0 0;
}

.article-box .dropdown-body article:last-child{
    padding: 0 0 1rem 0;
}

.accordion-dropdown-head svg,
.dropdown-head svg{
    display: block;
    width: 40px;
    height: 40px;
    transform-origin: center;
    border: 2px solid var(--secondary-color);
    border-radius: 100px;
    background: rgba(var(--secondary-color-rgba), .6);
}

.opened-dropdown > .accordion-dropdown-head svg,
.opened-dropdown > .dropdown-head svg{
    transform-origin: center;
    transform: rotate(180deg);
}

.dropdown-body li:not(:last-child){
    margin-bottom:15px;
}

.dropdown-body form li:last-child{
    margin-bottom:15px;
}

.accordion-dropdown-body{
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms;
}

.opened-dropdown + .accordion-dropdown-body,
.opened-dropdown + .dropdown-body {
    max-height: var(--max-height);
    overflow: hidden;
}

@media (max-width: 1199px){
    .col_2 {
        gap: 30px;
        flex-wrap: wrap;
    }
    .col_2 > section,
    .col_2 > div {
        flex: 0 0 100%;
    }    
    .banner {
        --opacity-start: .85;
        --opacity-middle: .85;
        --opacity-end: .85;
    }
}

@media (min-width: 768px){
    .banner-fullwidth .banner{
        --p-start:50%;
        --p-end:100%;
        padding:20px 20px 40px 20px;
        height:290px;
        align-items: flex-start;
    }
    
    .banner-fullwidth h3{
        font-size: 48px;
        font-style: normal;
        font-weight: 400;
        line-height: 64px;
        margin:0;
    }
    
    .banner-fullwidth p {
        width: 60%;
        margin: 15px 0 0;
    }
    
    .col_2 .row_1.banner-fullwidth p {
        width: 100%;
        margin: 15px 0 0;
    }
    
    .banner-fullwidth .banner-content{
        display: flex;
        flex-direction: column;
        height: 100%;
        justify-content: space-between;
        align-items: flex-start;
    }
}

@media (min-width: 992px){
    .banner-fullwidth .banner{
        --p-start:30%;
        --p-end:80%;
        padding:20px 20px 40px 20px;
        height:290px;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px){
    .banner a{
        margin: 50px 0 0;
    }
}

/*ARTICOLO BLOG*/
.single-post #main{
    padding-top: 15px;
}
.single aside{
    flex: 1 0 auto;
    padding-left: 0;
    padding-right: 0;
}

.single section:last-of-type{
    margin-bottom:90px;
}
.single article{
    border-bottom: 1px solid #ADB5BD;
}
.single section img {
    width: 100%;
    height: 100%;
}
.single section article > img {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    object-fit: cover;
}
.single h1{
    text-align: center;
    font-size: 64px;
    font-style: normal;
    font-weight: 400;
    line-height: 72px;
}
.single .excerpt{
    text-align: center;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 31px; 
}
.post-meta{
    border-top: 1px solid var(--ternary-color);
    border-bottom: 1px solid var(--ternary-color);
}
.inner-post-meta{
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    padding:15px 0;
}
.inner-post-meta p{
    margin:0;
}
.reading-time{
    display: flex;
    align-items: center;
    flex-direction: row;
}
.reading-time svg{
    margin-right:5px;
}
.v_small-separator{
    width: 0;
    height: 25px;
    margin:0 10px;
    transform-origin: 0 0;
    border: 1px #ADB5BD solid;
}

.single aside.left-side{
    padding-right: 30px;
}

.single-article-content{
    margin-top: 15px!important;
}

.single-article-content .horizontal_property .property_title p{
    display:none;
}


@media screen and (min-width: 992px) {
    .single-article-content{
        width: 100%;
        margin: auto;
    }
}

@media screen and (max-width: 991.98px) {
    .single section article > img {
        height: 300px;
    }
    .single-article-content{
        gap: 30px;
    }
}

@media screen and (max-width: 500px) {
    .single section article > img {
        height: 200px;
    }
}


/*SHARING LINKS*/
.sharing-box{
    display:inline-block;
}
.sharing-links{
    display:inline-block;
    padding:0;
    margin:0;
}
.sharing-links li{
    list-style: none;
}
.sharing-links svg{
    width: 30px;
    height: 30px;
}
.sharing-links a{
    display: flex;
}

.inner-post-meta .bp-992{
    align-items: center;
    align-content: center;
    justify-content: center;
}

.btn-circle {
    padding: 6px;
    border-radius: 100px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--ternary-color);
    background-color: #fff;
    margin-bottom: 10px;
}

.mobile-share {
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    overflow: hidden;
    border-radius: 100px;
}

.mobile-share .sharing-links {
    display: flex;
    margin: 0;
    gap: 10px;
    background-color: transparent;
    padding: 0;
    border-radius: 100px;
}

.mobile-share .sharing-links .btn-circle{
    border:none;
    cursor:pointer;
}

.share-box-close{
    display: flex;
    background-color: #fff;
}

.mobile-share .btn-circle {
    margin-bottom: 0;
    z-index: 1;
}

.mobile-share .mobile-share-btn{
    width: auto;
    height: 44px;
    padding: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    cursor:pointer;
    justify-content: flex-start;
}

.mobile-share .mobile-share-btn svg{
    width: 40px;
    height: 40px;
    flex: 1 0 40px;
    padding: 5px;
    transform: translate(0, 0);
    transition: .25s cubic-bezier(0.5,-1, 0.5, 2);
}

.mobile-share .mobile-share-btn .close-sharing{
    padding: 8px;
}

.mobile-share .mobile-share-btn.share-box-opened svg{
    transform: translate(0, -52px);
    transition: .25s cubic-bezier(0.5,-1, 0.5, 2);
}

.mobile-share-btn + .sharing-box-containter{
    display: inline-flex;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    border: 2px solid var(--ternary-color);
    border-right:none;
    border-radius:100px 0 0 100px;
    padding: 0 5px;
    z-index: -1;
    background-color:#ffffff;
}

.mobile-share-btn + .sharing-box-containter.share-box-opened{
    transform: translateX(0%);
    opacity: 1;
    z-index: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.sharing-box-containter:after {
    content: '';
    position: absolute;
    top: -2px;
    right: -42px;
    height: 100%;
    width: 40px;
    border: 2px solid var(--ternary-color);
    border-left: 0;
    display: block;
}

.single aside.right-side .dropdown-body,
.single aside.right-side .banner{
    margin-top:0;
    margin-bottom:0;
}

.single aside.right-side .dropdown-body{
    padding-top: 10px;
}

.single aside.right-side .dropdown-body li{
    padding-bottom: 10px;
}

.single aside.right-side .dropdown-body li:last-of-type{
    padding-bottom: 0;
}

.single aside.right-side .related-articles h4{
    margin-top:0;
    margin-bottom: 15px;
}

.related-articles.vertical .post.type-post {
    margin-bottom: 15px;
    padding-bottom: 15px;
}

@media (min-width: 992px){
    .single-article-content.content-with-sidebar {
        display: flex;
        padding-bottom: 90px;
        flex-direction: row;
        flex-wrap: nowrap;
    }
    .single-article-content .sticky-sidebar {
        position: sticky;
        top: 100px;
        margin-right: 0;
        margin-top: 1.35em;
    }
    .single .right-side {
        padding-left: 30px;
    }
    .bp-992{
        display:none;
    }
    .page-template-immobili .filter_wrapper{
        margin-bottom:30px;
    }
}

@media (max-width: 991.98px){
    .single .left-side {
        display:none;
    }
    .inner-post-meta .bp-992{
        display: flex;
    }
    .inner-post-meta {
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: flex-start;
        padding: 15px 0;
        row-gap: 15px;
        flex-wrap: wrap;
    }
    .v_small-separator {
        width: 0;
        height: 25px;
        margin: 0 20px;
        transform-origin: 0 0;
        border: 1px #ADB5BD solid;
    }
    .related-articles.vertical .post.type-post:last-of-type {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .post-meta{
        display: flex;
        align-items: center;
    }
    .bp-992{
        position:relative;
        flex: 0 0 60px;
        height: 40px;
    }
    .inner-bp{
        position:absolute;
        top:0;
        right:0;
    }
}

@media (max-width: 768px){
    .single h1 {
        font-size: 30px;
        font-style: normal;
        font-weight: 400;
        line-height: 42px;
        text-align: left;
        margin-bottom: 0;
    }

    .single .excerpt{
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 25px;
        text-align: left;
    }
}

/*ARTICOLI CORRELATI*/
.related-articles .post.type-post {
    position: relative;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    height:100%;
    max-height:250px;
}

.related-articles .post.type-post {
    width: calc(100% - 75%);
}

.related-articles.vertical .post-thumbnail a:before{
    display:none;
}

.related-articles {
    display: flex;
    flex-flow: row wrap;
    column-gap: 30px;
    flex-direction: column;
}

.related-articles .article-excerpt{
    display:none;
}

.related-articles h4{
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    width:100%;
}

.p_description{
    font-family: var(--secondary-font);
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 400; 
    line-height: 22px; 
    font-style: normal;
    word-wrap: break-word;
    width:100%;
    padding: 15px 15px 30px 15px;
    border-radius: 15px;
    border: 1px solid var(--primary-color);
}

.p_description h2,
.related-articles h2{
    font-size: 1.5rem;
    line-height: 1.8rem;
}

.p_map{
    border-radius: 15px;
    border: 1px solid var(--primary-color);
}

.related-articles .article-title{
    margin-top:0;
    margin-bottom:.5rem;
}
.related-articles .article-meta{
    margin:0;
}

aside .related-articles h4,
aside .sidebar_wrapper h4{
    margin-top:0;
    margin-bottom: 0;
    font-size: 22px;
}

.related-articles.vertical article.post.type-post{
    display: flex;
    flex-direction: row;
    gap: 15px;
    border-radius:0;
    width:100%;
}

.related-articles.vertical .post-thumbnail{
    flex: 0 0 70px;
    height: 70px;
    overflow: hidden;
    border-radius: 8px;
}

.related-articles.vertical .post-thumbnail img{
    object-fit: cover;
    width:100%;
    height:100%;
}

.article-content-inline h2{
    font-size: 100%;
    line-height: 1.2;
    margin-top: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-content-inline .article-meta{
    margin-bottom:0;
    font-size: 80%;
}

.property_history{
    display: flex;
    gap: 30px;
    justify-content: flex-start;
    align-items: flex-start;
}

.property_history .related-articles {
    display: flex;
    flex-flow: row wrap;
    column-gap: 30px;
    flex-direction: column;
    min-width: 20%;
}

.readmore{
    position: relative;
    overflow: hidden;
    max-height: 250px;
    transition: 300ms;
}

.readmore::before {
    content: "";
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 50%, white 100%);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 44.8px;
}

.readmore.readmore-expanded{
    max-height: var(--max-height);
    transition: max-height 300ms;
}

.dropdown-body{
    transition: 300ms;
    
}

.opened-dropdown + .accordion-dropdown-body,
.opened-dropdown + .dropdown-body{
    max-height: var(--max-height);
    transition: max-height 300ms;
}

.readmore-expanded::before{
    opacity: 0;
    visibility: hidden;
}

.property_history .box-title-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.readmore_trigger svg {
    display: block;
    width: 20px;
    height: 20px;
    transform-origin: center;
    border: 2px solid var(--secondary-color);
    border-radius: 100px;
    background: rgba(var(--secondary-color-rgba), .6);
}

.readmore_trigger {
    cursor:pointer;
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.readmore-expanded + .readmore_trigger svg {
    transform-origin: center;
    transform: rotate(180deg);
}

@media screen and (max-width: 1200px) {
    .related-articles .post h2 {
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 21px;
        margin: 0;
    }
    .related-articles .post .article-meta {
        margin-top: 5px;
        margin-bottom: 0;
        font-size: 12px;
    }
}

@media screen and (max-width: 1000px) {
    .related-articles .post.type-post {
        width: calc(50% - 15px);
    }
}


@media (max-width: 991.98px){
    .property_history .box-title-container{
        border-bottom: 1px var(--ternary-color) solid;
        margin-bottom: 20px;
    }
    .property_history {
        flex-wrap: wrap;
    }
    .readmore {
        max-height: 120px;
    }
    .property_history .related-articles {
        min-width: 100%;
    }
    .page-template-immobili .content-with-sidebar aside{
        padding-bottom: 30px;
    }
}

@media (max-width: 768px){
    .related-articles-section h4 {
        font-size: 28px;
        font-style: normal;
        font-weight: 400;
        line-height: 28px;
    }
}

@media screen and (max-width: 576px) {
    .related-articles .post.type-post {
        width: 100%;
    }
    .related-articles .post.type-post {
        height:100%;
    }
}

/*BLOCCO TESTO IMMAGINE*/
.m_cols,
.block_text_image{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    column-gap: 30px;
    padding-bottom: 30px;
}

.block_vertical{
    flex-direction: column!important;
}

.single_service .block_text_image:last-child{
    padding-bottom: 0;
}

.block_text p{
    line-height: 22px;
}

.block_text > :first-child{
    margin-top:0;
}

.block_text > :last-child{
    margin-bottom:0;
}

.block_image{
    visibility: hidden;
    position: relative;
    overflow: hidden;
    border-radius:8px;
    position: sticky;
    top: 70px;
}

.single_service .block_image{
    top: 140px;
}

.block_image img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius:8px;
    transform-origin: left;
}

@media (max-width: 991.98px){
    .m_cols,
    .block_text_image{
        flex-wrap: wrap;
        margin: 0;
    }
    .block_text_image .block_text{
        margin-bottom: 30px;
    }
}

@media screen and (min-width: 992px) {
    .imgText .block_image{
        order:-1;
    }
    .block_text_image .block_image{
        flex: 0 0 40%;
    }
}

/*SAFEAREA*/
.safearea_title {
    margin-bottom:90px;
}
.page-template-immobili .safearea_title {
    margin-bottom:30px;
}
.page-template-chi-siamo .safearea_title{
    margin-top:90px;
    /*margin-bottom:180px;*/
    margin-bottom:60px;
}
.safearea_title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.safearea_title.safearea_natural{
    flex-wrap: wrap;
}

.safearea_title .safearea_block_title{
    flex: 0 0 40%;
}

.safearea_center.safearea_title .safearea_block_title{
    flex: 0 0 100%;
    text-align: center;
}

.safearea_title.safearea_natural .safearea_block_title{
    flex: 0 0 auto;
}
.safearea_title.no_image{
    gap:0;
    margin: 45px 0;
}

.safe_slider{
    width: 100%;
    height: 50vh;
}
.featured_slider{
    width: 100%;
    height: 100%;
}

.safe_slider .property_price p{
    font-size: 22px;
}

.safe_slider .property_inner_meta p {
    font-size: 19px;
}

.safearea_block_title.title_only h1{
    margin:0;
}

.safearea_title h1{
    margin-bottom:0;
}

.safearea_title.safearea_natural img {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    object-fit: cover;
}

.safearea_title img{
    width: 100%;
    height: 100%;
    border-radius:8px;
    object-fit:cover;
}

@media (min-width: 992px){
    .safearea_natural .block_image{
        flex: 0 0 70%;
    }
}

@media (max-width: 991.98px){
    .page-template-chi-siamo .safearea_title {
        margin-top: 0px;
        margin-bottom: 110px;
    }
    .safearea_title {
        flex-direction: column;
    } 
    .safearea_block_title{
        margin-right: auto;
    }
    .safearea_title .card_slider {
        width: 70%;
        margin: 2rem auto auto;
    }
    .safearea_title h1{
        margin-bottom:0;
        margin-top: 0;
    }
    .block_image img {
        margin-bottom: 30px;
    }
    .safearea_title {
        margin-bottom: 30px;
    }
    .safe_slider .property_inner_meta p {
        font-size: 12px;
    }
        
}


/*GALLERIA SLIDER*/

/*cards*/
.card_slider {
    flex: 0 0 40%;
    width: 30%;
    height:400px;
}

.card_slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #fff;
    position: relative;
}

.swiper-slide img{
    width: 100%;
    height: 100%;
    object-fit:cover;
}

.card_slider .swiper-slide{
    background:#fff;
}

.card_slider .swiper-slide:not(.swiper-slide-active) img{
    opacity:.1;
}

.card_slider .swiper-slide.swiper-slide-prev img,
.card_slider .swiper-slide.swiper-slide-next img{
    opacity:.4;
}

.card_slider .navigation-wrapper{
    width: 100%;
    position: relative;
    margin: auto;
    display: flex;
    flex-direction: row-reverse;
    gap: 15px;
    margin-top: 2rem;
    justify-content: center;
}

.owl-nav svg,
.navigation-wrapper svg {
    display: block;
    width: 40px;
    height: 40px;
    transform-origin: center;
    border: 2px solid var(--secondary-color);
    border-radius: 100px;
    background: rgba(var(--secondary-color-rgba), .6);
}

.navigation-wrapper div[class^="bottom-button-prev_"],
.navigation-wrapper div[class^="bottom-button-next_"]{
    cursor:pointer;
}

@media (max-width: 991.98px){
    .safearea_title .card_slider {
        width: 70%;
        margin: 2rem auto auto;
    }
}

/*CONTATTI*/
ul.icon_text_list {
    padding: 0;
    margin: 0;
}

.icon_text_list li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ternary-color);
}

.icon_text_list li span p{
    margin-top:0;
    margin-bottom: 0.5rem;
}

.icon_text_list li a p{
    margin-bottom: 0;
}

/*PLAYER*/
.propriety_player {
    display: inline-flex;
    align-items: center;
    column-gap: 15px;
    cursor:pointer;
    position:relative;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    z-index:1;
}

.property_list:not(.horizontal_property) .property_meta_inner .propriety_player,
.property_featured_list .property_meta_inner .propriety_player {
    display:none;
}

.player_icon {
    width: 35px;
    height: 35px;
    border: 1px solid var(--secondary-color);
    -webkit-backdrop-filter: var(--global-backdrop-filter);
    backdrop-filter: var(--global-backdrop-filter);
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player_icon svg{
    margin-left: 5px;
}

.modal_player{
    width:100%;
    padding: 15px;
    background-color: rgba(var(--primary-color-rgba), .9);
}

.modal_player_wrapper {
    height: auto;
    width: auto;
    opacity: 0;
    padding: 15px;
    background: var(--secondary-color);
    display: flex;
    border-radius: 30px;
    align-items: center;
    align-content: space-between;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    transform: scale(.98, .98);
    transition: all 0.3s ease-in-out;
}

.modal_player_wrapper .iframe_container{
    width: 100%;
    height: 100%;
}

.modal_player_wrapper{
    opacity:0;
    transition: opacity .3s ease-in-out;
}

.modal_open .modal_player_wrapper{
    opacity:1;
    transition: opacity .3s ease-in-out 1s;
}

.modal_player_wrapper iframe{
    width: 50vw;
    height: auto;
    border: 0;
    border-radius: 15px;
    aspect-ratio: 16/9;
}

@media screen and (min-width: 992px){
    .property_title .propriety_player{
        display:none;
    }
    #immobili_slider .propriety_player p{
        display:inline-block;
    }
    .propriety_player p{
        display:none;
        font-size: 14px;
        line-height: 14px;
        margin:0;
    }
}

@media screen and (max-width: 991.98px) {
    .propriety_player p{
        display:none;
    }
    .player_icon svg{
        width: 17px;
        height: 17px;
        margin-left: 3px;
    }
    .modal_player{
        width:100%;
        padding: 0;
    }
    .modal_player_wrapper{
        height: auto;
        width: 100%;
    }
    .modal_player_wrapper iframe {
        width: 100%;
        height: auto;
    }
}


/*Slider Immobili*/
#immobili_slider,
#immobili_slider .swiper-wrapper,
#immobili_slider .property_slide_item,
#immobili_slider .property_image{
    width: 100%;
    height: 100%;
    position: relative;
}

#immobili_slider .property_image:before{
    content:'';
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    left:0;
    background: linear-gradient(180deg, rgba(var(--primary-color-rgba), .1) 70%, var(--primary-color) 102%);
}

#immobili_slider .property_slide_item svg{
    --primary-color: var(--secondary-color);
    height:24px;
}

.property_featured_list .property_image:after{
    content:'';
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    left:0;
    background: linear-gradient(180deg, rgba(var(--primary-color-rgba), .1) 40%, var(--primary-color) 100%);
}

.property_featured_list .property_image > a{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index:1;
}

.property_featured_list .property_slider.owl-carousel,
.property_slider.owl-carousel{
    display:none;
    width: 100%;
    height: 100%;
}

.property_slider a{
    position:relative;    
}

.dynamic_carousel .cat_img picture::after,
.featured_slider .property_image picture::after,
.property_featured_list .property_image picture::after,
.property_slider a::after{
    content:'';
    aspect-ratio: 3 / 2;
    width: 100%;
    display: block;
    height: 100%;
    position:absolute;
    top:0;
    left:0;
    z-index:-1;
    background-color: var(--ternary-color);
    animation: loading-pulse 2s infinite;
}
/*
.owl-loaded.property_slider a::after{
    display:none;
}*/

@keyframes loading-pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
    100% {
        opacity: 1;
    }
}

.property_slider.owl-carousel img{
    display:none!important;
}

.owl-loaded.property_slider.owl-carousel img{
    display:block!important;
    object-fit: cover;
}

.property_list:not(.horizontal_property) .property_title p{
    display:none;
}

.property_slider .owl-stage,
.property_slider .owl-item,
.property_slider .owl-item img{
    height: 100%;
}


@media screen and (min-width: 992px) {
    .property_list.horizontal_property .property_card{
        height: 100%;
    }
    
    .property_list.horizontal_property .property_card .property_box {
        position: relative;
        flex-direction: row;
    }
    
    .property_list.horizontal_property .property_card .property_image {
        position: relative;
    }

    .with_slider .property_header {
        flex: 0 0 35%;
        width: 35%;
    }
    
    .with_slider .property_footer {
        width: 100%;
    }
    
    .property_list.horizontal_property .property_info{
        gap: 20px;
    }
    
    .property_list.horizontal_property .property_info:last-of-type{
        flex: 1 0 auto;
        padding-top:1rem;
    }
    
    .property_list.horizontal_property .property_info_box{
        justify-content: space-between;
        align-items: flex-end;
        flex-direction: column;
    }

    .property_list.horizontal_property .property_card .property_address{
        display: block;
    }
    
    .property_list.horizontal_property .property_card .property_meta_inner {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: flex-start;
        flex: 1 0 auto;
        height: 100%;
        justify-content: space-between;
        gap: 10px;
    }
    
    .property_list.horizontal_property .property_card .extra_features {
        align-items: flex-end;
        column-gap: 30px;
    }    
    
    .property_list.horizontal_property .property_card .property_meta{
        width: 100%;
        justify-content: flex-start;
        background-color: rgba(var(--ternary-color-rgba),.1);
        padding: 10px;
        border-radius: 8px;
        /*margin-bottom: auto;*/
        margin-bottom: 0;
    }
    .property_slider .owl-item img{
        object-fit: cover;
        aspect-ratio: 16 / 9;
    }
    .property_list.horizontal_property .bottom_box-left .propriety_player{
        display: none;
    }
    .property_meta_inner .propriety_player .player_icon{
        border: 1px solid var(--primary-color);
    }
    .property_meta_inner .propriety_player .player_icon svg path{
        fill: var(--primary-color);
    }
    .property_meta_inner .propriety_player p{
        display: inline-block;
        font-size: 14px;
        line-height: 15px;
    }
    .property_meta_inner .v_empty{
        display: inline-block;
        width: 40px;
        height: 40px;
    }
    .property_list:not(.horizontal_property) .property_meta_inner .v_empty{
        display:none;
    }
}

.with_slider .property_slider + .property_image{
    display:none;
}

.with_slider .property_header + .property_image,
.with_slider .property_slider{
    display: block;
}

.with_slider .property_info_box{
    height: 100%;
}

.with_slider .owl-stage-outer{
    width: 100%;
    height: 100%;
    aspect-ratio: 3/2;
}

.with_slider .owl-nav button{
    position: absolute;
    top: calc(50% - 20px);
    margin: 0 10px;
}

.with_slider .owl-nav button span{
    font-size: 5rem;
    color: var(--secondary-color);
    text-shadow: 0 0 15px black;
}

.with_slider .owl-nav button.owl-next{
    right: 0;
}

.with_slider .hover-img:hover .property_slider img {
    transform: unset;
    opacity: 1;
    transition: unset;
}

.property_info_box{
    position:relative;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    bottom:0;
    left: 0;
    padding: 15px;
    gap: 40px;
}

.property_featured_list .property_card .property_info_box{
    background:none;
}

#immobili_slider .property_info_box{
    position:absolute;
}

.property_card .property_info {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
}

.property_card .property_info:last-of-type {
    flex-direction: row;
    justify-content: space-between;
}

.property_info h2{
    font-size: 22px;
    line-height: 24px; 
    margin:0;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.featured_slider .property_info h2{
    margin-bottom: 5px;
}

.property_meta_wrapper,
.property_meta,
.property_inner_meta{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.property_meta{
    column-gap: 20px;
}

.property_card .property_meta {
    padding-right: 15px;
    column-gap: 10px;
}

.property_inner_meta{
    column-gap: 10px;
}

.property_card .property_inner_meta,
.sidebar_wrapper .property_inner_meta{
    column-gap: 5px;
}

.property_info p{
    font-size: 14px;
    line-height: 24px;
    margin:0;
}

.property_info p sup{
    font-size: 8px;
}
.amenity_title sup {
    font-size: 10px;
}

#immobili_slider .navigation-wrapper{
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
    display: none;
    gap:20px;
    padding:40px;
}

#immobili_slider .property_slide_item.swiper-slide-active .property_info_box > * {
  opacity: 1;
  transform: none;
}
#immobili_slider .property_slide_item.swiper-slide-active .property_info_box > *:nth-child(1) {
  transition-delay: 0.3s;
}
#immobili_slider .property_slide_item.swiper-slide-active .property_info_box > *:nth-child(2) {
  transition-delay: 0.4s;
}
#immobili_slider .property_slide_item.swiper-slide-active .property_info_box > *:nth-child(3) {
  transition-delay: 0.5s;
}
#immobili_slider .property_slide_item.swiper-slide-active .property_info_box > *:nth-child(4) {
  transition-delay: 0.6s;
}
#immobili_slider .property_slide_item.swiper-slide-active .property_info_box > *:nth-child(5) {
  transition-delay: 0.7s;
}
#immobili_slider .property_slide_item.swiper-slide-active .property_info_box > *:nth-child(6) {
  transition-delay: 0.8s;
}
#immobili_slider .property_slide_item.swiper-slide-active .property_info_box > *:nth-child(7) {
  transition-delay: 0.9s;
}
#immobili_slider .property_slide_item.swiper-slide-active .property_info_box > *:nth-child(8) {
  transition-delay: 1s;
}
#immobili_slider .property_slide_item.swiper-slide-active .property_info_box > *:nth-child(9) {
  transition-delay: 1.1s;
}
#immobili_slider .property_slide_item.swiper-slide-active .property_info_box > *:nth-child(10) {
  transition-delay: 1.2s;
}
#immobili_slider .property_slide_item.swiper-slide-active .property_info_box > *:nth-child(11) {
  transition-delay: 1.3s;
}
#immobili_slider .property_slide_item.swiper-slide-active .property_info_box > *:nth-child(12) {
  transition-delay: 1.4s;
}
#immobili_slider .property_slide_item.swiper-slide-active .property_info_box > *:nth-child(13) {
  transition-delay: 1.5s;
}
#immobili_slider .property_slide_item.swiper-slide-active .property_info_box > *:nth-child(14) {
  transition-delay: 1.6s;
}
#immobili_slider .property_slide_item.swiper-slide-active .property_info_box > *:nth-child(15) {
  transition-delay: 1.7s;
}

#immobili_slider .property_info_box > * {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.4s;
}

.sidebar_wrapper .horizontal_property .property_info h2{
    font-size: 16px;
    line-height: 18px;
}

.sidebar_wrapper .horizontal_property .property_info .v_empty,
.sidebar_wrapper .horizontal_property .property_info .extra_features {
    display: none;
}

@media screen and (max-width: 991.98px) {
    .property_meta p {
        font-size: 12px;
        line-height: 22px;
    }
    #immobili_slider .extra_features{
        display: none;
    }
    .property_title{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .horizontal_property.with_slider .property_title p{
        display: none;
    }
    
    .property_info h2{
        font-size: 20px;
    }
    
    .property_price p {
        font-size: 16px;
        line-height: 22px;
    }
    .property_meta svg{
        width: 16px;
    }
    .featured_btn{
        display: none;
    }
    .property_meta_inner .propriety_player{
        display: none;
    }
}

@media screen and (min-width: 992px) {
    #immobili_slider .property_info_box{
        z-index:1;
        padding: 0 0 40px 40px;
    }
    .horizontal_property .property_info h2{
        font-size: 26px;
        line-height: 35px;
    }
    #immobili_slider .navigation-wrapper{
        display: flex;
    }
    .safe_slider {
        height: 100vh;
    }
    .player_icon {
        width: 56px;
        height: 56px;
    }
}

@media screen and (max-width: 500px) {
    .property_inner_meta {
        column-gap: 5px;
    }
    .property_meta {
        column-gap: 10px;
    }
}

/* Lista e Card immobili*/
.property_list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
}
.property_card{
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.property_image{
    position: relative;
    overflow: hidden;
}

.property_card .property_image img{
    aspect-ratio: 16 / 9;
}

.property_featured_list .property_card .property_image img{
    aspect-ratio: 16 / 7;
}

.property_image,
.property_image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
    display: block;
}


.property_card .property_box{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar_wrapper .horizontal_property .property_card .property_box{
    flex-direction: row;
}

.sidebar_wrapper .horizontal_property .property_card .property_image {
    position: relative;
}

.property_card .property_box .bottom_box > a,
.property_card .property_box > a{
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}

.property_header{
    position: relative;
    width: auto;
    height: 100%;
}

.property_featured_list .property_footer{
    background-color: var(--primary-color);
}

.property_card .property_info_box{
    width:100%;
    background: var(--secondary-color);
    padding: 15px;
    gap: 5px;
}

.property_featured_list .property_card .property_info_box{
    padding: 10px 15px 15px;
} 

.property_card h2 {
    font-size: 16px;
    line-height: 18px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}


.property_card .property_address{
    display: none;
    margin: 0;
}

.property_card .property_price p{
    font-size: 14px;
}

.property_card .property_meta_inner{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 20px;
    align-items: center;
    width: 100%;
}

.property_featured_item.property_card .property_meta_inner{
    justify-content: flex-start;
    column-gap: 20px;
}

.property_featured_list .property_info h2 {
    font-size: 20px;
    color: var(--secondary-color)!important;
    line-height: 26px;
}

.property_featured_list .property_info p {
    font-size: 18px;
    color: var(--secondary-color)!important;
    margin-bottom: 0!important;
}

.property_featured_list .property_info p {
    font-size: 18px;
    color: var(--secondary-color)!important;
}

.property_featured_list .property_inner_meta svg{
    width: 22px;
}

.property_featured_list .property_single_meta:not(.property_room) .property_inner_meta svg path{
    fill: var(--secondary-color)!important;
}

.property_featured_list .property_room .property_inner_meta svg path{
    stroke: var(--secondary-color)!important;
}

.property_card .property_meta svg{
    width: 16px;
    height: 100%;
}

.property_card .property_meta p{
    font-size: 12px;
    line-height: 12px; 
}

.property_card .player_icon{
    width: 40px;
    height: 40px;
}

.property_card .player_icon svg{
    width: 20px;
    height: 20px;
}

.property_card .icon-mail {
    justify-content: center;
    align-items: center;
    width: 100%;
}

.property_card .icon-mail svg{
    width: 100%;
    height: 100%;
}

.top_box-left,
.top_box-right{
    position:absolute;
    display: inline-flex;
    justify-content: space-between;
    padding: 10px 15px;
    z-index:1;
}

.bottom_box-left,
.bottom_box-right{
    position:absolute;
    display: inline-flex;
    justify-content: space-between;
    padding: 10px 15px;
}

.top_box-left{
    top:0;
    left:0;
}

.top_box-right{
    top:0;
    right:0;
}

.bottom_box-left{
    bottom:0;
    left:0;
}

.bottom_box-right{
    bottom:0;
    right:0;
}

.sidebar_wrapper .horizontal_property .top_box-left,
.sidebar_wrapper .horizontal_property .top_box-right,
.sidebar_wrapper .horizontal_property .bottom_box-left,
.sidebar_wrapper .horizontal_property .bottom_box-right{
    display:none;
}

.top_box-left p,
.top_box-right p{
    margin:0;
    font-size: 13px;
    line-height: 10px;
}

.property_card .property_price p{
    font-size: 18px;
    margin-bottom:0;
    /*margin-bottom:8px;*/
}

.property_header > a{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}

.with_slider .property_header .property_slider ~ a{
    display: none;
}

.property_status_label{
    padding: 8px 10px;
    background: var(--secondary-color);
    border-radius: 8px;
}

.property_card .property_meta_wrapper .btn{
    display: block;
    padding:0;
    border-radius: 8px;
    width:40px;
    height:40px;
}

.property_card .property_info:first-of-type {
    width: 100%;
}

.property_card .extra_features button,
.property_card .extra_features a{
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 16px;
    line-height: 16px;
}

.property_list:not(.horizontal_property) .extra_features a,
.property_featured_list .property_card .extra_features a{
    display:none;
}

.property_card .extra_features {
    display: flex;
}

.page-template-immobili .content-with-sidebar main{
    width: 80%;
}

.page-template-immobili .content-with-sidebar aside {
    flex: 1 0 20%;
    padding-left: 30px;
}
.immobili .pagination {
    text-align: center;
    width: 100%;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.immobili .pagination .nav-previous a{
    margin-right:30px;
}

.immobili .pagination .nav-previous a,
.immobili .pagination .nav-next a{
    border: 1px solid var(--ternary-color);
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 15px;
    padding: 12px 20px;
    font-size: 18px;
    line-height: 18px;
    display: inline-block;
    cursor: pointer;
}


.immobili .property_list.horizontal_property {
    grid-template-columns: 100%;
}

.property_featured_list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    padding-bottom: 30px;
}

.middle_line_deco{
    position:relative;
    text-align: center;
}

.middle_line_deco .middle_line_target{
    width: auto;
    display: inline-flex;
    flex-direction: column;
    padding: 0 15px;
    background-color: #fff;
    margin: auto;
    height: 44px;
    overflow: hidden;
}

.special_search_btn .btn_cerca{
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}


.middle_line_deco.middle_line_deco_on-btn{
    --line-top: 22px;
}

.middle_line_deco:before {
    content: '';
    --line-height: 1px;
    width: 100%;
    height: var(--line-height);
    background: var(--primary-color);
    position: relative;
    top: var(--line-top);
    z-index: -1;
    display: block;
    border-radius: 100px;
}

@media (min-width: 992px){
    .special_search_btn .btn_cerca span{
        transform: translate(0,0);
        transition: .25s cubic-bezier(0.5,-1, 0.5, 2);
    }
    .special_search_btn.opened-dropdown .btn_cerca span{
        transform: translate(0,-29px);
        transition: .25s cubic-bezier(0.5,-1, 0.5, 2);
    }
}

@media (min-width: 1455px){
    .property_featured_list .extra_features{
        display: flex;
        gap: 30px;
        align-items: center;
    }
}

@media (max-width: 1200px){
    .property_list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 1199px) {
    .immobili .property_list {
        grid-template-columns: auto;
    }
}

@media screen and (min-width: 992px) {
    .property_featured_item{
        width: 50%;
    }
    .opened-dropdown + .dropdown-body .filter_wrapper{
        margin-top: 30px;
    }
}

@media screen and (max-width: 991.98px) {
    .property_card .extra_features svg path{
        fill: var(--secondary-color);
    }
    .property_featured_list{
        grid-template-columns: repeat(1, 1fr);
    }
    .page-template-immobili .content-with-sidebar aside {
        padding-left: 0;
    }
    .page-template-immobili .other-menu .btn-cerca{
        opacity:0;
        visibility:hidden;
        transition: opacity .4s;
    }
    .page-template-immobili .other-menu .btn-cerca.show_btn{
        opacity:1;
        visibility:visible;
        transition: opacity .4s;
    }
}

@media screen and (max-width: 768px) {
    .property_list{
        grid-template-columns: repeat(1, 1fr);
    }

}

@media screen and (min-width: 500.98px) {
    .property_card .extra_features button .icon-mail{
        display: none;
    }
}

@media screen and (max-width: 500px) {
    .property_card .extra_features button{
        width: 36px;
        height: 36px;
        padding: 0;
    }
    .property_card .property_meta svg {
        width: 14px;
    }
    .property_card .property_meta p {
        font-size: 12px;
        line-height: 12px;
    }
    .property_featured_list .property_image:before,
    #immobili_slider .property_image:before{
        background: linear-gradient(180deg, rgba(var(--primary-color-rgba), .1) 60%, var(--primary-color) 102%);
    }
    .property_card .extra_features button .icon-label{
        display: none;
    }
}

@media screen and (max-width: 440px) {
    .property_card .property_meta_inner {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
    }
}

/* Immobile sidebar */
.sidebar_wrapper .property_card {
    height: 100%;
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ADB5BD;
    border-radius: 0;
}
.sidebar_wrapper .property_card .property_box{
    position:relative;
}
.sidebar_wrapper .top_box,
.sidebar_wrapper .bottom_box,
.sidebar_wrapper .no_lg_mobile,
.sidebar_wrapper .no_lg_desktop{
    display: none;
}

.sidebar_wrapper .property_image{
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    overflow: hidden;
    border-radius: 8px;
}

.sidebar_wrapper .property_card .property_info_box {
    background: transparent;
    padding: 0 0 0 15px;
}

.sidebar_wrapper .property_info{
    gap: 5px;
}

.sidebar_wrapper .property_meta{
    margin-top: 5px;
    column-gap: 12px;
}

.sidebar_wrapper .property_card .property_meta_inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

/* Wishlist */
.wishlist svg{
    filter: drop-shadow(0px 0px 3px var(--primary-color));
}

.wishlist .active .wishlisted,
.wishlist .unwishlisted{
    display:block;
}

.wishlist .active .unwishlisted,
.wishlist .wishlisted{
    display:none;
}

/*Card categorie*/
.swiper-container {
    z-index: 0;
    border-radius: 8px;
}
#immobili_slider{
    border-radius: 0;
}
.cat_card{
    display: block;
    border-radius: 8px;
    overflow: hidden;
    position:relative;
}
.cat_card img{
    transition: all 0.3s;
    display: block;
    aspect-ratio: 3/4;
}
.small_cols_cards .cat_card img{
    aspect-ratio: 16/9;
}
.cat_card .cat_img::before{
    content:'';
    position: absolute;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
    background: linear-gradient(180deg, rgba(var(--primary-color-rgba), 0.00) 51.56%, rgba(0, 0, 0, 0.60) 89.06%);
    z-index:1;
} 
.cat_card h3{
    position: absolute;
    bottom: 0;
    left:0;
    right:0;
    z-index: 1;
    margin: auto;
    padding: 20px;
    text-align:center;
    font-size: clamp(28px, 5vw, 28px);
    line-height: 1; 
}

.dynamic_carousel,
.dynamic_carousel + .navigation-wrapper{
    display:none;
}

.dynamic_carousel.disableSwiper,
.dynamic_carousel.initSwiper{
    display: block;
}

.initSwiper + .navigation-wrapper{
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.disableSwiper .swiper-wrapper {
    gap:10px;
}

.disableSwiper .swiper-slide{
    -webkit-flex-shrink: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
}

.swiper-container + .navigation-wrapper{
    opacity: 0;
    padding: 0;
    transition: all .4s;
}

.swiper-container.initSwiper + .navigation-wrapper{
    opacity: 1;
    padding: 40px 0 0;
    transition: all .4s;
}

.side_box .cat_card{
    padding-bottom: 1rem;
}

@media screen and (max-width: 991.98px) {
    .small_cols_cards .cat_card img {
        aspect-ratio: 3/4;
    }
}

@media screen and (max-width: 768px) {
    .cat_card h3 {
        padding: 10px;
    }
}
/*
@media screen and (max-width: 640px) {
    .cat_card h3{
        font-size: 16px;
        line-height: 30px;
        padding:0;
    }
}*/

/*Card categorie in sidebar*/
.side_box .cat_card{
    display: flex;
    flex-direction: row;
}
.side_box .cat_card img {
    aspect-ratio: 1 / 1;
    height: 60px;
    border-radius: 8px;
}
.side_box .cat_card .cat_img{
    border-radius: 8px;
    overflow: hidden;
}
.side_box .cat_card .cat_img::before{
    display:none;
}
.side_box .cat_card h4{
    color: var(--primary-color);
    font-size: 18px;
    position: relative;
    margin: auto auto auto 1rem;
    padding: 0;
}

/*PAGINA IMMOBILI*/
#mappaItaly{
    --fill-italy: var(--secondary-color);
    --stroke-italy: var(--primary-color);
    stroke-width: .1;
    max-height: 100%;
    height: 100%;
    width: 100%;
    transition: stroke .3s ease-in-out, fill .3s ease-in-out;
}

#mappaItaly.active_map{
    --fill-italy: var(--secondary-color);
    --stroke-italy: var(--primary-color);
}

#mappaItaly.active_map #vector-maps > g:hover{
    --fill-italy: var(--ternary-color);
    --stroke-italy: var(--ternary-color);
}

#mappaItaly text{
    --fill-italy: var(--primary-color);
    --stroke-italy: var(--secondary-color);
}

#mappaItaly g{
    stroke-linejoin: round;
}

#mappaItaly.active_map .enlighted{
    stroke-width: 4px;
}

#mappaItaly text{
    opacity:0;
    font-size: 30px;
    font-family: var(--secondary-font);
}

#mappaItaly text.enlighted{
    --fill-italy: var(--primary-color);
    opacity:1;
}

#mappaItaly g.enlighted{
    --stroke-italy: var(--ternary-color);
    --fill-italy: var(--ternary-color);
}

#mappaItaly circle{
    --fill-italy: var(--primary-color);
    --stroke-italy: var(--secondary-color);
    opacity:0;
}

#mappaItaly text.enlighted + circle{
    opacity:1;
}

.d-flex{
    display:flex;
}
.align-items-center{align-items: center;}
.align-items-flex-end{align-items: flex-end;}
.justify-content-center{justify-content:center;}
.justify-content-space-between{justify-content: space-between;}
.justify-content-flex-end{justify-content: flex-end;}

.flex-direction-column{
    flex-direction: column;
}



.single-immobili .main-section{
    position:relative;
}
.single-immobili .main-section .property_image img{
    height: 700px;
    object-fit: cover;
    display: block;
}
.single-immobili .main-section .property_image{
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.single-immobili .main-section .property_image:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, var(--primary-color) -20%, rgba(var(--primary-color-rgba), 0) 70%, var(--primary-color) 100%);
}
button.btn_gallery {
    border: 1px solid var(--secondary-color);
    -webkit-backdrop-filter: var(--global-backdrop-filter);
    backdrop-filter: var(--global-backdrop-filter);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--secondary-color);
    font-family: var(--secondary-font);
    padding: 5px;
    gap: 10px;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 38px;
    cursor: pointer;
}
.video_miniplayer{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 130px;
    flex-shrink: 0;
    border-radius: 15px;
    border: 1px solid #F1F2F2;
    box-shadow: 0px 4px 10px 4px rgba(0, 0, 0, 0.25);
    background-repeat: no-repeat!important;
    background-position:center center!important;
    background-size: 100%!important;
    transition: all 0.3s ease-in-out;
}
.video_miniplayer:hover{
    background-size: 110%!important;
    transition: all 0.3s ease-in-out;
}
.single-immobili .property_meta_header .property_price p{
    color: var(--secondary-color);
    text-align: right;
    font-family: Gilda Display;
    font-size: 38px;
    font-style: normal;
    font-weight: 400;
    line-height: 38px;
    margin: 0;
}
.single-immobili .property_meta_safearea{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.single-immobili .inner_property_meta{
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
}

.gallery_modal {
    background-color: #fff;
    transform: scale(.6, .6) translateY(150%);
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding-top: 70px;
    z-index: 10;
    transition: all 0.3s ease-in-out;
}

#propertyGallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    height: calc(100vh - 140px);
    overflow-y: scroll;
}

.single section [data-fancybox="gallery"] img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

[data-fancybox="gallery"]:nth-child(3n + 1),
[data-fancybox="gallery"]:nth-child(3n + 2) {
    grid-column: span 1;
}

.property_title h1{
    color: var(--primary-color);
    font-family: var(--primary-font);
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    margin-top:0;
    text-align: left;
}

.single-immobili main{
    width: 70%;
}

.single-immobili aside{
    width: 30%;
}

.single-immobili main .property_info{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.single-immobili .property_info .property_meta{
    justify-content: flex-start;
}

.single-immobili h2 {
    font-size: clamp(30px, 5vw, 30px);
    line-height: clamp(40px, 8vw, 50px);
    margin-bottom: .5rem;
}

.inner_property_deep_data {
    --gap-row: 15px;
    --gap-column: 15px;
    display: inline-flex;
    flex-wrap: wrap;
    row-gap: var(--gap-row);
    justify-content: space-between;
}

.single_property_deep_data{
    display: flex;
    justify-content: space-between;
    color: var(--primary-color);
    font-family: var(--secondary-font);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 1px;
    width: calc(50% - var(--gap-column));
    padding-bottom: 5px;
    position: relative;
}

.single_property_deep_data:after {
    content: '';
    width: 0;
    height: 1px;
    position: absolute;
    bottom: 0;
    background-color: var(--ternary-color);
}

hr.reveal{
    width: 0;
}

hr.revealed,
.single_property_deep_data.revealed:after{
    width: 100%;
    transition: width 1s;
}

.single_property_deep_data.revealed:nth-child(1):after {
    transition-delay: 0s;
}

.single_property_deep_data.revealed:nth-child(2):after {
    transition-delay: 0.1s;
}

.single_property_deep_data.revealed:nth-child(3):after {
    transition-delay: 0.2s;
}

.single_property_deep_data.revealed:nth-child(4):after {
    transition-delay: 0.3s;
}

.single_property_deep_data.revealed:nth-child(5):after {
    transition-delay: 0.4s;
}

.single_property_deep_data.revealed:nth-child(6):after {
    transition-delay: 0.5s;
}

.single_property_deep_data.revealed:nth-child(7):after {
    transition-delay: 0.6s;
}

.single_property_deep_data.revealed:nth-child(8):after {
    transition-delay: 0.7s;
}

.single_property_deep_data.revealed:nth-child(9):after {
    transition-delay: 0.8s;
}

.single_property_deep_data.revealed:nth-child(10):after {
    transition-delay: 0.9s;
}

.inner_amenity{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 30px 15px;
}

.single_amenity{
    color: var(--primary-color);
    font-family: var(--secondary-font);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 1px;
    flex: 0 0 20%;
    display: flex;
    align-items: center;
    column-gap: 15px;
}

.single_amenity svg{
    display: block;
    width: 22px;
    height: 22px;
}

.single_property_deep_data .deep_data_desc,
.single_amenity .amenity_title {
    font-size: 12px;
}

#planimetriaGallery{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px;
}

#planimetriaGallery .slick-list{
    order: -1;
    flex: 0 0 100%;
}

#planimetriaGallery .gallery-arrow{
    display: inline-block;
    flex: 0 0 40px;
    width: 40px;
}

.single-immobili .slick-lightbox{
    background: rgba(var(--primary-color-rgba), .8)!important;
}

.property-list_inner{
    display: flex;
    gap: 30px;
}

.single-immobili .property_card h2{
    font-size: 18px;
    line-height: 22px;
}

.single-immobili aside .form_standard{
    width: 100%;
}

.single-immobili aside .mobile_modal{
    padding:0 0 0 30px!important;
}

.single-immobili aside .modal_close_container{
    display:none;
}

.fancybox-button{
    border-radius:100px!important;
}

.fancybox-navigation .fancybox-button{
    background: transparent!important;
}

.fancybox-navigation .fancybox-button > div{
    background: rgba(30,30,30,.6);
    border-radius: 100px;
}

.slick-lightbox .slick-prev{
    z-index: 1;
}

.mappa_wrapper{
    border-radius: 8px;
    overflow:hidden;
}

.mappa_wrapper #map{
    width: 100%;
    height: 450px;
}

.mappa_wrapper #map img:focus-visible {
    outline: unset;
}

.mobile_bar{
    display:none;
    height: calc(4rem + env(safe-area-inset-bottom));
}

#map .gmnoprint > div{
    border-radius: 8px!important;
}

.energy_class{
    display: inline-block;
    padding: 0 4px 0 8px;
    line-height: 24px;
    color: #fff;
    overflow: visible;
    position: relative;
    margin-right: 15px;
}

.energy_class:after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    
    position: absolute;
    top: calc(50% - 12px);
    right: -12px;
}

.class_G{
    background-color:#f47740;
}

.class_G:after{
    border-left: 12px solid #f47740;
}

.scroll_modal{
    overflow-y:scroll;
    height: calc(100% - 200px);
}

@media (min-width: 992px){
    .slick-prev, .slick-next,
    .slick-lightbox-close {
        height: 60px!important;
        width: 60px!important;
    }
    .slick-prev:before, .slick-next:before,
    .slick-lightbox-close:before {
        font-size: 60px!important;
    }
    /*
    .single-immobili .form_standard{
        padding-bottom:30px;
    }*/
}

@media (max-width: 991.98px){
    .p_map,
    #mappaItaly{
        display:none;
    }
    .single-immobili .content-with-sidebar{
        margin-top:30px;
    }
    .single-immobili .main-section .property_image img{
        height: 300px;
    }
    .property_meta_footer  .video_miniplayer{
        display:none;
    }
    .single-immobili .inner_property_meta{
        padding: 15px;
    }
    #propertyGallery {
        height: calc(100vh - 216.44px);
        padding-bottom: 30px;
    }
    button.btn_gallery {
        font-size: 13px;
        line-height: 28px;
    }
    button.btn_gallery svg {
        width: 23px;
        height: 23px;
    }
    .single-immobili .property_info .property_meta{
        width: 100%;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .single-immobili .property_info .property_meta svg {
        width: 32px;
    }
    .single-immobili .property_info .property_meta p{
        font-size: 16px;
    }
    .single-immobili .property_meta_header .price {
        font-size: 24px;
        line-height: 24px;
    }
    .single-immobili aside{
       height: 0; 
    }
    .slick-lightbox-close:before {
        font-size: 40px!important;
    }
    .property-list_inner {
        flex-wrap: wrap;
    }
    .single-immobili main .property_info {
        flex-wrap: wrap;
        gap: 0;
    }
    .single-immobili main .property_info .property_title{
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
    }
    .single-immobili main .property_info .property_title h1{
        margin-bottom: 0;
    }
    .single_property_deep_data {
        flex: 0 0 100%;
    }
    .single_amenity {
        flex: 0 0 50%;
    }
    .single-immobili .mobile-share {
        position: relative;
        display: flex;
        align-items: center;
        flex-direction: row;
    }
    .single-immobili .mobile-share .sharing-box-containter {
        transform: translateX(-100%);
        position: relative;
        align-items: center;
        margin-top: 0;
        border-radius: 0 100px 100px 0;
        border-left: none;
        border-right: 2px solid var(--ternary-color);
    }
    .mobile-share-btn + .sharing-box-containter.share-box-opened {
        transform: translateX(0%);
    }/*
    .sharing-box-containter:after {
        content: '';
        position: absolute;
        top: -2px;
        right: 0;
        left: -42px;
        height: 100%;
        width: 40px;
        border-left: 2px solid var(--ternary-color);
        border-right: 0;
        display: block;
    }*/
    .sharing-box-containter:after {
        content: '';
        position: absolute;
        top: -2px;
        right: -42px;
        height: 100%;
        width: 40px;
        border: 2px solid var(--ternary-color);
        border-left: 0;
        display: block;
    }
    .single-immobili .mobile-share .share-box-close{
        display:none;
    }
    .single-immobili footer{
        padding-bottom: 65px;
    }
    .mobile_bar {
        position: fixed;
        bottom: 0;
        left: 0;
        display: block;
        width: 100%;
        padding: 5px;
        border-radius: 8px 8px 0 0;
        z-index: 100;
        background-color: rgba(var(--primary-color-rgba),.2);
        transform: translateY(150%);
        transition: all 0.3s;
        -webkit-backdrop-filter: blur(10px) brightness(93%);
        backdrop-filter: blur(10px) brightness(93%);
    }
    [data-menu="closed"] .mobile_bar,
    .loaded .mobile_bar {
        transform: translateY(0);
        transition: all 0.3s;
    }
    [data-menu="open"] .mobile_bar {
        transform: translateY(150%);
        transition: all 0.3s;
    }
    .mobile_bar .d-flex {
        gap: 5px;
    }
    .mobile_bar button {
        width: 100%;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 10px!important;
    }
    .mobile_bar.m_buttons_bar button {
        width: 50%;
    }
    .single-immobili aside .mobile_modal {
        padding: 0!important;
    }
    #crmWebToEntityForm.single_mobile_form {
        transform: translateY(150%) scale(.6, .6);
        border-radius:15px;
        background: none;
        transition: all 0.3s ease-in-out;
    }
    #crmWebToEntityForm.single_mobile_form.modal_open {
        transform: translateY(0%) scale(1, 1);
        border-radius:15px;
        background: none;
        transition: all 0.3s ease-in-out;
    }
    .single_mobile_form.modal_open .modal_close_container {
        display: flex;
    }
    .single_mobile_form{
        display: flex;
        background-color: rgba(var(--primary-color-rgba),.8);
        align-items: center;
        justify-content: center;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 2247483647!important;
    }
    .single_amenity svg {
        width: 24px;
        height: 24px;
    }
}

@media screen and (max-width: 767px) {
    #propertyGallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media screen and (max-width: 500px) {
    #propertyGallery {
        height: calc(100vh - 316.44px);
        padding-bottom: 30px;
    }
    .single-immobili .main-section {
        margin-top: 15px;
    }
}

@media screen and (max-width: 320px) {
    .inner_amenity .single_amenity .amenity_title {
        margin-right: 0;
    }
}

/*MODALE FILTER*/
.searchandfilter ul,
.searchandfilter ul li{
    padding: 0;
}

.sf-field-taxonomy-tipologia-immobile > ul{
    display: flex;
    gap: 10px;
}

.searchandfilter > ul{
    position: relative;
    max-width: 100%;
    width: 100%;
    display: flex;
    padding: 0 15px;
    margin: auto;
    text-align: center;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 15px;
    border-radius: 0;
}

section .searchandfilter > ul{
    padding: 0;
}

.searchandfilter .sf-field-taxonomy-tipologia-immobile ul li{
    width: auto;
}

section .searchandfilter [data-sf-field-input-type="select"]{
    padding-right: 15px;
    flex: 0 0 25%;
}

section .searchandfilter .sf-field-taxonomy-quartiere{
    padding-right: 0;
}

section .searchandfilter .sf-field-taxonomy-area{
    width: auto;
    display: inline-block;
}

section .searchandfilter .sf-field-submit{
    display: inline-block;
    width: auto;
    margin-left: auto;
}

section .searchandfilter [data-sf-field-input-type="checkbox"] > ul li{
    margin-right: 15px;
}

.uwp_form .form-control,
.searchandfilter select{
    width: 100%;
    min-width: unset!important;
    padding: 10px;
    border-radius: 8px;
    color: var(--primary-color);
    font-family: var(--primary-font);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}

.filter_property_type button.active{
    border: 1px solid var(--ternary-color);
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.sf-label-radio,
.sf-label-checkbox{
    text-align: center;
    font-family: Plus Jakarta Sans;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}

.searchandfilter [data-sf-field-input-type="checkbox"] li input{
    width: 20px;
    height: 20px;
}

button[type="submit"],
input[type="submit"]{
    border-radius: 15px;
    padding: 12px 20px;
    font-size: 18px;
    line-height: 18px;
    display: inline-block;
    cursor:pointer;
    border: 1px solid var(--ternary-color);
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.searchandfilter [data-sf-field-input-type="checkbox"] > ul{
    display: flex;
    flex-wrap: wrap;
    row-gap: 20px;
}

.searchandfilter li[data-sf-field-input-type=checkbox] label{
    padding-left: 5px;
}

.searchandfilter [data-sf-field-input-type="checkbox"] > ul li {
    display: flex;
    align-items: center;
}

.auth-link,
.home .btn_cerca {
    display: flex!important;
    align-items: center;
    gap: 10px;
}

body:not(.home) .btn-cerca{
    display:none;
}

.auth-link svg,
.btn_cerca svg {
    width: 15px;
    height: 100%;
}

@media (max-width: 1260.98px){
    .other-menu .icon-phone,
    .other-menu .icon-mail {
        border-radius: 100px;
        padding: 4px;
    }

    /*.other-menu .btn-cerca,*/
    .other-menu .icon-phone,
    .other-menu .icon-mail{
        border: 1px solid var(--primary-color);
    }

    .home .other-menu .icon-phone,
    .home .other-menu .icon-mail {
        border: 1px solid var(--ternary-color);
    }
    
    .home .on_scroll .other-menu .icon-phone,
    .home .on_scroll .other-menu .icon-mail {
        border: 1px solid var(--primary-color);
    }
    .no_sp_mobile{
        display: none;
    }
} 

@media (min-width: 1259px){
    .no_sp_desktop{
        display: none;
    }
}



@media (max-width: 991.98px){
    .mobile_hide{
        display:none;
    }
    .btn-cerca{
        display:block;
    }
    .other-menu .btn_cerca {
        display: flex!important;
        align-items: center;
        gap: 10px;
        border-radius: 100px;
        padding: 4px;
        width: 33px;
        height: 33px;
        justify-content: center;
    }

    .other-menu .btn_cerca{
        border: 1px solid var(--primary-color);
    }

    .home .other-menu .btn_cerca{
        border: 1px solid var(--ternary-color);
    }
    
    .home .on_scroll .other-menu .btn_cerca{
        border: 1px solid var(--primary-color);
    }
    
    .btn_cerca svg{
        width: 17px;
        height: 100%;
    }
    
    section .searchandfilter [data-sf-field-input-type="select"]{
        padding-right: 0;
        flex: 0 0 100%;
    }
}

.uwp-auth-modal .modal-dialog .card,
.filter_wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    border-radius:15px;
    opacity:0;
    visibility:hidden;
    transform: scale(.98, .98);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index:1;
    transition: all 0.3s ease-in-out;
}

.uwp-auth-modal .modal-dialog,
.uwp-auth-modal .modal-dialog .card{
    display: flex;
    align-items: flex-start;
}

.uwp-auth-modal .modal-dialog .modal-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 0 0 100%;
}

.uwp-auth-modal .modal-dialog .btn-close{
    cursor: pointer;
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg class='modal_close' xmlns='http://www.w3.org/2000/svg' width='32' height='33' viewBox='0 0 32 33' fill='none'%3E%3Cpath d='M30.6412 28.461L3.41761 1.23744C3.08942 0.909248 2.7188 0.650375 2.38728 0.517767C2.05576 0.385159 1.7905 0.389678 1.64985 0.53033L0.589186 1.59099C0.448533 1.73164 0.444014 1.99691 0.576622 2.32843C0.70923 2.65995 0.968104 3.03057 1.29629 3.35876L28.5199 30.5824C28.8481 30.9106 29.2187 31.1694 29.5502 31.302C29.8818 31.4346 30.147 31.4301 30.2877 31.2895L31.3483 30.2288C31.489 30.0882 31.4935 29.8229 31.3609 29.4914C31.2283 29.1599 30.9694 28.7892 30.6412 28.461Z' fill='%23303030'%3E%3C/path%3E%3Cpath d='M28.6412 1.53895L1.41761 28.7626C1.08942 29.0908 0.830551 29.4614 0.697943 29.7929C0.565335 30.1244 0.569854 30.3897 0.710506 30.5303L1.77117 31.591C1.91182 31.7316 2.17708 31.7362 2.5086 31.6036C2.84012 31.4709 3.21074 31.2121 3.53893 30.8839L30.7625 3.66027C31.0907 3.33208 31.3496 2.96146 31.4822 2.62994C31.6148 2.29842 31.6103 2.03316 31.4697 1.89251L30.409 0.831846C30.2683 0.691193 30.0031 0.686673 29.6716 0.819282C29.34 0.951891 28.9694 1.21076 28.6412 1.53895Z' fill='%23303030'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    background-size: cover;
    border: none;
    background-color: transparent;
}

.uwp-auth-modal .uwp_form,
.uwp-auth-modal .uwp-footer-links{
    display:flex;
    flex-direction: column;
}

.uwp-auth-modal .uwp-footer-links{
    gap: 15px;
}

.uwp-auth-modal .uwp_form [data-argument="username"],
.uwp-auth-modal .uwp_form [data-argument="first_name"],
.uwp-auth-modal .uwp_form [data-argument="last_name"],
.uwp-auth-modal .uwp_form [data-argument="email"],
.uwp-auth-modal .uwp_form [data-argument="password"],
.uwp-auth-modal .uwp_form [data-argument="confirm_password"],
.uwp-auth-modal .uwp_form .form-check{
    margin-bottom: 15px;
}

.uwp-auth-modal .uwp_form .uwp_register_submit{
    color: var(--secondary-color);
}

.uwp-auth-modal .uwp-footer-links{
    flex-direction: column-reverse; 
    margin-top: 15px;
}

.uwp-auth-modal .input-group{
    position: relative;
    display: flex;
}

.uwp-auth-modal .input-group .input-group-text{
    position: absolute;
    display: flex;
    right: 0;
    height: 100%;
    align-items: center;
    padding-right: 10px;
}

.uwp-auth-modal .uwp-footer-links .uwp-footer-link.d-inline-block a{
    border-radius: 15px;
    padding: 12px 20px;
    font-size: 18px;
    line-height: 18px;
    display: inline-block;
    cursor: pointer;
    border: 1px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
}   

.uwp-auth-modal .modal-dialog .modal-title{
    font-size: 35px;
    margin: 0;
}

.uwp-auth-modal.show,
.modal_open .modal_open:not(.gallery_modal):not(.filter_wrapper){
    opacity:1;
    z-index: 999999;
}

.uwp-auth-modal.show .modal-dialog .card,
.filter_wrapper.modal_open,
.modal_open.gallery_modal,
#crmWebToEntityForm:not(.single_mobile_form).modal_open .form_standard,
.modal_open .modal_player_wrapper{
    opacity:1;
    visibility:visible;
    transform: scale(1, 1);
    transition: all 0.3s ease-in-out;
}

.home .filter_wrapper {
    --filter-border: var(--primary-color-rgba);
    --filter-bk: var(--secondary-color-rgba);
    padding: 0;
    border-radius:15px;
    z-index:999999;
    border: 1px solid rgba(var(--filter-border), .40);
    -webkit-backdrop-filter: blur(10px) brightness(93%);
    backdrop-filter: blur(10px) brightness(93%);
    background-color: rgba(var(--filter-bk),.6);
}

.home.modal_open .filter_wrapper {
    border-radius:0;
}

.searchandfilter [data-sf-field-input-type="select"],
.searchandfilter [data-sf-field-input-type="checkbox"],
.searchandfilter .sf-field-submit,
.searchandfilter [data-sf-field-input-type="select"] label {
    width: 100%;
}

.filter_wrapper .modal_close_container{
    display:none;
}

.home .filter_wrapper .modal_close_container{
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 10px 15px 30px;
    margin: 0;
}

.home .searchandfilter [data-sf-field-input-type="checkbox"] > ul li {
    flex: 0 0 33%;
}

.home .searchandfilter [data-sf-field-input-type="checkbox"] > ul{
    margin-bottom: 20px;
}

@media screen and (min-width: 992px) {
    body:not(.home) .other-menu .btn_cerca {
        display:none;
    }
    body:not(.home) .filter_wrapper {
        max-width: 100%;
        -webkit-backdrop-filter: blur(10px) brightness(93%);
        backdrop-filter: blur(10px) brightness(93%);
        background-color: rgba(var(--secondary-color-rgba),.6);
        border-radius: 15px;
    }
    .uwp-auth-modal .modal-dialog .modal-content{
        background-color: rgba(var(--secondary-color-rgba), .7);
    }
    .uwp-auth-modal .modal-dialog .modal-content,
    .home .filter_wrapper .filter_property_type {
        max-width: 500px;
        width: 100%;
        margin: auto;
        border: 1px solid var(--primary-color);
        border-radius: 15px;
        padding: 30px 15px;
        -webkit-backdrop-filter: blur(10px) brightness(93%);
        backdrop-filter: blur(10px) brightness(93%);
    }
    
    body:not(.home) .filter_wrapper{
        position: relative;
    }
}

@media (max-width: 991.98px){
    body:not(.home) .filter_wrapper{
        visibility:hidden;
        z-index: 999999;
        /*display: none;*/
    }

    body .filter_wrapper.modal_open{
        visibility:visible;
        /*display: block;*/
    }
    .uwp-auth-modal{
        --filter-border: var(--primary-color-rgba);
        --filter-bk: var(--secondary-color-rgba);
        border-radius:0;
        border: 1px solid rgba(var(--filter-border), .40);
        -webkit-backdrop-filter: blur(10px) brightness(93%);
        backdrop-filter: blur(10px) brightness(93%);
        background-color: rgba(var(--filter-bk), .6);
    }
    .single .content-with-sidebar aside {
        padding:0;
        margin:0;
    }
    .filter_wrapper .modal_close_container{
        display: flex;
        width: 100%;
        justify-content: space-between;
        padding: 10px 15px 30px;
        margin: 0;
    }
    .page-template-immobili .filter_wrapper{
        --filter-border: var(--primary-color-rgba);
        --filter-bk: var(--secondary-color-rgba);
        padding: 0;
        border-radius: 0;
        border: 1px solid rgba(var(--filter-border), .40);
        -webkit-backdrop-filter: blur(10px) brightness(93%);
        backdrop-filter: blur(10px) brightness(93%);
        background-color: rgba(var(--filter-bk),.6);
    }
    .page-template-immobili .searchandfilter > ul {
        padding: 0 15px;
    }
    .page-template-immobili .searchandfilter [data-sf-field-input-type="checkbox"] > ul {
        margin-bottom: 20px;
    }
    .page-template-immobili .searchandfilter [data-sf-field-input-type="checkbox"] > ul li {
        flex: 0 0 33%;
        margin: 0;
    }
    .page-template-immobili .searchandfilter .sf-field-submit {
        width: 100%;
    }
}

/*Proponi immobile*/
.page-template-proponi-immobile .safearea_title h1{
    margin-top: 0;
}
.safearea_title.safearea_likeBlock {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.safearea_title.safearea_likeBlock img {
    width: 100%;
    height: 380px;
    border-radius: 8px;
    object-fit: cover;
}

.safearea_likeBlock .block_image{
    flex: 0 0 100%;
    width: 100%;
}

.form_big {
    width:100%;
    padding: 30px 90px;
}

.multi-radio_input input{
    display:none;
}

.multi-radio_input input + label{
    border: 1px solid var(--ternary-color);
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.multi-radio_input input:checked + label{
    border: 1px solid var(--ternary-color);
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.f_boxes.d-flex{
    gap:30px;
}

.f_box {
    padding-left: 3.95rem;
}

.f_box h3{
    font-size: clamp(18px, 5vw, 25px);
}

.f_box span {
    position: absolute;
    display: flex;
    align-items: center;
    left: 0;
    top: 0;
    bottom: 0;
    font-size: 10rem;
    opacity: .25;
}

.f_box span svg {
    width: 5rem;
    height: 100%;
}

.f_boxes.d-flex.boxes_50{
    gap:0;
    flex-wrap: wrap;
}

.boxes_25 .f_box,
.boxes_50 .f_box{
    width:100%;
}

@media screen and (min-width: 768px) {
    .boxes_50 .f_box{
        width:50%;
    }
    .boxes_25 .f_box{
        width:25%;
    }
}

@media screen and (max-width: 767.98px) {
    .f_box{
        font-weight: 600;
    }
    .f_box:last-of-type{
        margin-bottom: 2rem;
    }
}

@media screen and (min-width: 992px) {
    .safearea_title.safearea_likeBlock {
        gap:0;
    }
    .safearea_likeBlock .safearea_block_title {
        flex: 0 0 50%;
        padding-right: 30px;
    }
    .safearea_likeBlock .block_image,
    .safearea_likeBlock .safearea_block_image{
        flex: 0 0 50%;
    }
}

@media screen and (max-width: 992.98px) {
    .form_big{
        padding: 15px;
    }
    .input-group{
        flex-wrap: wrap;
    }
    .f_boxes{
        flex-direction: column;
    }
}

@media (max-width: 300px){
    .mobile-menu .menu-item a {
        font-size: 38px;
        line-height: 28px;
    }
    h2 {
        font-size: 20px;
        line-height: 24px;
        margin: 0;
    }
    p {
        font-size: 12px;
        line-height: 19px;
    }
    .property_info h2 {
        font-size: 18px;
        line-height: 20px;
        margin: 0;
    }
    .property_price p {
        font-size: 10px;
        line-height: 22px;
    }
    .banner p,
    .block_text p {
        line-height: 19px;
    }
    .cat_card h3 {
        font-size: 16px;
    }
    .property_card .property_info h2 {
        font-size: 16px;
    }
    .property_card .top_box-left p, .property_card .top_box-right p {
        font-size: 10px;
        line-height: 6px;
    }
    .property_card .top_box-left p, .property_card .top_box-right p {
        margin: 0;
        font-size: 10px;
        line-height: 6px;
    }
    .property_card .property_meta p {
        font-size: 11px;
        line-height: 12px;
    }   
    .sf-field-taxonomy-tipologia-immobile ul li, .btn {
        padding: 8px 15px;
        font-size: 13px;
        line-height: 18px;
    }    
    .other-menu .btn_contatto,
    .other-menu a{
        display:none;
    }
    .middle_line_deco .middle_line_target {
        height: 34px;
    }

    
}

.grecaptcha-badge{
    display:none!important;
}
/*
.cky-btn-revisit-wrapper{
    display:none!important;
}


label for="termsCondition"

*/

.horizontal-line{
    display: flex;
    justify-content: flex-start;
    gap: 1.2rem;
    flex-wrap: wrap;
}

#luxurybrick-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, var(--primary-color) 30%, rgba(0,0,0,1));
  z-index: 99999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#luxurybrick-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-text {
  font-family: "Times New Roman", Times, serif;
  font-size: 3rem;
  background: linear-gradient(120deg, #fff, #999, #fff);
  background-size: 200% auto;
  color: rgba(255,255,255,0.1);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 2s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}












