:root {
   --Text: #353535;
   --Text-3: #353535;
   --Text-verde: #018b30;
   --Text-azzurro: #4fa4c8;
   --rosa: #e87db4;
}
.header .header-logo img {
    width: 200px;
    height: 43px;
}
.header .header-inner-wrap, .header.dashboard, .header.header-sticky {
    z-index: 99;
}

.main-menu-mobile .navigation-mobile > li.current-menu > a {
    color: var(--Primary) !important;
    font-weight: 700;
}

.text-giallo {
    color: var(--Primary) !important;
}
.text-azzurro {
    color: var(--Text-azzurro) !important;
}

.box-house .image-wrap > a::after {
    background-color:transparent;
}
.box-rosa {
    background-color:var(--rosa) !important;
}

.bg-verde {
    background-color: var(--Text-verde);
}
.bg-azzurro {
    background-color: var(--Text-azzurro);
}

.section-grigio {
    background-color: #f5f5f5;
}

.box-house .box-tag, .box-house .status {
    z-index: 2;
    position: absolute;
    top: 12px;
    left: 12px;
}

.section-listing .heading-section {
    margin-bottom: 68px;
}
.heading-section {
    margin-bottom: 68px;
}
#footer .footer-logo img {
    width: 256px;
    height: 60px;
}
#footer .footer-bottom {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    gap: 10px 20px;
    flex-wrap: wrap;
    color: #7b7e81;
}

.page-title.home01, .page-title.home05, .page-title.career {
    background-image: url(../img/slide.webp);
    background-attachment: fixed;
    padding: 154px 0 258px;
    background-size: cover;
}

.widget-tabs.style-1 .widget-menu-tab .item-title {
    cursor: pointer;
    font-size: 16px;
    line-height: 20px;
    width: 230px;
    height: 50px;
    font-weight: 600;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--White);
    border-radius: 16px;
    color: var(--Heading);
}

.box-dream-home .list-check li {
    display: flex;
    gap: 8px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}
.page-layout .footer-dashboard p {
    color: var(--Text-5);
    font-weight: 600;
    opacity: 1;
    font-family: "Manrope", sans-serif;
}


.logo-agenzia {
    top: 0;
    position: absolute;
    right: 0;
    justify-content: flex-end;
    padding: 15px;
}

.box-house .meta-list {
    border-bottom: 0px solid var(--Line);
    padding-bottom: 16px;
    margin-bottom: 15px;
    gap: 9px;
}

.border-price {
    border-top: 1px solid var(--Line);
    padding-top: 16px;
    margin-top: 8px;
    gap: 9px;
}
.box-tag-immobile {
    top: 12px;
    left: 12px;
}
.box-tag-immobile  .flat-tag {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    height: 28px;
    border-radius: 999px;
}
.box-house.style-list .meta-list {
    gap: 8px 45px;
    padding-bottom: 2px;
    margin-bottom: 14px;
}
.box-house-home .meta-list {
    gap: 8px 45px;
    padding-bottom: 2px;
    margin-bottom: 14px;
}
.list-unstyled {
    padding-left: 0;
    list-style: none !important;
}

.form-contact-seller .seller-info .avartar {
    border-radius: 0px;
    width: 100px;
    height: 100%;
    overflow: hidden;
    flex: none;
}

.box-sitebar {
    background-color: var(--White);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--Line);
}
.tf-spacing-11 {
    padding-top: 60px;
    padding-bottom: 50px;
}

.box-uploadfile .uploadfile {
    border-radius: 16px;
    border: 2px dashed #e5e5ea;
    padding: 20px 10px;
}
.section-pre-approved.style-2 .form-pre-approved p {
    margin-top: 16px;
}

.tf-btn-1 {
    font-size: 14px;
    line-height: 22.4px;
    height: 39px;
    background-color: var(--White);
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    border-radius: 16px;
    color: var(--Text-white);
    width: max-content;
    gap: 10px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 3;
}


.widget-box-2 .flat-pricing-1 {
    max-width: 100%;
}

.flat-pricing-1 .box {
    background: var(--White);
    padding: 41px 30px 30px;
    border-radius: 10px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    box-shadow: 0px 30px 60px 0px rgba(0, 0, 0, 0.07);
}

.pt-100 {
    padding-top: 100px !important;
}

.pt-200 {
    padding-top: 200px !important;
}

.flat-pricing .box:hover {
    transform: translateY(0px);
}

.ratio_5-3{
    aspect-ratio: 5/3;
    object-fit: cover;
}

/** Pagination **/
.page-link{
    padding: 1rem;
    color: #111;
    font-size: 1.5rem;
}
.active>.page-link, .page-link.active {
    background-color: #E87DB4;
    border-color: #E87DB4;
}
a.page-link:hover{
    color: #E87DB4;
}
/** Fine paginazione **/

/** Generali **/
.widget-tabs.style-1 .widget-menu-tab .item-title{
    cursor: default;
}
.text-1 p{
    font-size: 16px;
}
.fill-white{
    fill: #fefe;
}
.alert{
    font-size: 16px;
}
.modal-h-lg{
    height: 600px;
}
h3, .h3 {
    font-size: 26px;
    line-height: 38px;
}
.widget-box-2 .box:not(:last-child) {
    margin-bottom: 15px;
}
.ratio_3-2{
    aspect-ratio: 3/2;
    object-fit: cover;
}
.row{
    row-gap: 3rem;
}
.grecaptcha-badge { 
    visibility: hidden;
}
.no-hover:hover{
    color: #fff;
}
/** Fine generali **/

/** Reset editor **/
.editor-content p, .editor-content span, 
.editor-content h1, .editor-content h2, .editor-content h3, .editor-content h4,
.editor-content h5, .editor-content h6 {
    background-color: transparent !important;
    color: var(--Text) !important;
}

/** Fine re3set editor **/

/** Buttons **/
.tf-btn svg{
    flex: 0 0  auto;
}
/** Fine buttons **/
.tf-btn.tf-btn-small{
    height: 35px;
    padding: .5rem 1rem;
    font-size: 14px;
}
/** Form **/
.form-contact textarea, .form-contact-agent textarea {
    border-radius: 16px;
    margin-bottom: 0px;
}
.choices__inner, .form-select{
    padding: 12px 16px;
    border-radius: 1.25rem;
    background-color: transparent;
    border-color: var(--Line);
    font-size: 16px;
}

.toast{
    --bs-toast-font-size: 16px;
}
.flat-account {
    border-radius: 0;
}
form input[disabled], form input[readonly], form textarea[disabled], form textarea[readonly], form select[disabled], form select[readonly] {
    background-color: rgb(240, 240, 240);
    border-color: var(--Line);
    color: var(--Text);
}
form input, form textarea, form select {
    border-color: #ccc !important;
}
form input, form select {
    height: 50px !important;
}
.choices__placeholder {
    opacity: 0.75;
}
.choices__inner {
    border-color: #c0ccda;
}
::placeholder {
    color: grey !important;
}
.flat-account .form-account .ip-field{
    width: 100%;
}
.radio-item label input:checked ~ .btn-radio {
    border: 1px solid var(--Primary);
    background-color: var(--Primary);
}
.radio-item label .btn-radio {
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border-radius: 50%;
    border: 1px solid rgba(116, 116, 116, 0.895);
}
.tf-btn.tf-btn-small{
    height: 40px;
}
.tf-btn.pd-1.tf-btn-small{
    padding: 0 10px;
}
.form-select:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem #e87db43b;
}
.form-contact-lead fieldset {
    margin-bottom: 12px;
}
.checkbox-item.style-1 label .btn-checkbox {
    border: 1px solid #ccc;
}

.note-container{
    display: flex;
    gap: .25rem;
    align-items: center;
    margin-top: .5rem;
}
.icon-note{
    flex:  0 0 auto;
}
/** Fine form **/

/** Badge color **/
.border-rejected{
    border-color: #f9003c !important;
}
.border-pending{
    border-color: #fabd05 !important;
}
.border-approved{
    border-color: #34aa53 !important;
}
/** **/

/** Card **/
.bot {
    min-height: 61px;
}
.column-card-wrapper{
    width: 100%;
}
/** Fine card **/

/** Product details **/

/* grid */

.common-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(calc(50% - 16px), 1fr));
    gap: 1rem;
    grid-template-rows: minmax(auto, 430px);
}
.common-grid img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0.375rem;
    aspect-ratio: 3/2;
}
.subgrid {
    display: none;

}

.offcanvas-gallery-item img {
    width: 100%;
    object-fit: cover;
    border-radius: 0.375rem;
}

.offcanvas-gallery{
    z-index: 999999;
    min-width: 40vw;
}
.offcanvas-backdrop {
    z-index: 999;
}

.offcanvas-gallery-item img {
    width: 100%;
    object-fit: cover;
    border-radius: 0.375rem;
}
.offcanvas-gallery-item a img{
    height: 100%;
}
.offcanvas-gallery-item a:nth-child(3n) {
    grid-row: span 270;
    grid-column: span 3;
}
.offcanvas-gallery-item {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: dense;
    grid-auto-rows: 1px;
    padding: 1rem 0;
    overflow-x: hidden;
    margin-top: 0px;
}
.offcanvas-gallery-item a {
    display: grid;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    font-size: 35px;
    grid-row: span 320;
    grid-column: span 4;
    padding: 2px;
    padding-top: 8px;
}
.offcanvas-print{
    z-index: 99999;
    min-width: 40vw;
}

/** End product details **/

/** Footer **/
.mobile-cta-container{
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 99;
    background: #2C2E33;
    display: block;
    border-top: 1px solid #444;
}
.mobile-cta-container ul{
    display: flex;
    justify-content: space-evenly;
    gap: .25rem;
    padding: 1rem 0;
}
.mobile-cta-container ul li a{
    min-width: 125px;
}
.bg-color-whatsapp{
    background-color: #25d366;
}
.tf-container-space{
    padding: 6rem;
}
/** Fine footer **/

@media screen and (min-width: 991px) {
    /* images grid */
    .subgrid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(46%, 1fr));
        gap: 1rem;
        height: 100%;
    }
    .offcanvas-gallery a {
        grid-column: unset;
        margin-bottom: 1rem;
    }
    .offcanvas-gallery-item a:nth-child(3n) {
        grid-row: span 280;
        grid-column: unset;
    }
    .offcanvas-gallery-item {
        display: grid;
        /* grid-template-columns: repeat(auto-fit, minmax(calc(19% - 48px), 1fr)); */
        grid-auto-flow: dense;
        grid-auto-rows: 1px;
        grid-column-gap: 1rem;
        padding: 1rem;
        overflow-x: hidden;
    }

    .column-card-wrapper{
        width: 75%;
    }

    /** Footer **/
    .mobile-cta-container{
        display: none;
    }
    .tf-container-space{
        padding: 0;
    }
    /** Fine footer **/
}

@media (min-width: 1380px) {
    .main-menu .navigation {
        gap: 25px;
        margin-left: 40px;
    }
}

@media screen and (min-width: 576px){
    
    .widget-box-2 .box:not(:last-child) {
        margin-bottom: 30px;
    }

    .grid-layout-4, .grid-layout-4 {
        gap: 20px;
    }
}

@media (max-width: 676px) {
    .widget-tabs .widget-menu-tab {
        justify-content: center;
    }

    .tf-btn.pd-1 {
        padding: 0 12.5px;
    }

    .box-house.style-list .content {
        padding: 12px;
        width: 100%;
    }

    .section-property-image {
        margin-bottom: 20px;
    }
    .box-overview .info-detail {
        justify-content: space-between;
        gap: 20px 0px;
    }

    .box-overview .box-icon .icons {
        width: 40px;
        height: 40px;
        flex: 0 0 auto;
    }
   .box-overview .info-detail .wrap-box {
        width: calc(55% - 20px);
    }
    .single-property-nearby .box-nearby .box-left {
        width: 100%;
    }
    .section-contact .image-wrap {
        margin-top: 35px;
    }

    .section-faq .tf-sidebar {
        margin-bottom: 20px;
    }
    .tf-sidebar {
        padding-top: 20px;
    }
    .tf-spacing-4{
        padding-bottom: 35px;
    }

    /** Footer **/
    .wrap-social{
        width: 100%;
    }
    .wrap-social ul{
        display: flex;
        justify-content: center;
        align-items: centerr;
        width: 100%;
    }
    /** Fine footer **/
}

@media screen and (min-width:768px) and (max-width:992px){
    .mini-grid{
        display: grid !important;
        place-items: center;
        grid-template-columns: repeat(3, 1fr);
    }

    .mini-grid >*:first-child{
        justify-self: start
    }
    .mini-grid button{
        justify-self: end !important;
    }
}