/* Menu Header */
.main-sticky-header .menu-item a {
    color: rgba(255, 255, 255, 1);
}

.main-sticky-header .menu-item a:hover {
    color: rgba(255, 255, 255, .8);
}

.main-sticky-header.sticky-header .menu-item a {
    color: rgba(8, 28, 42, 1);
}

.main-sticky-header.sticky-header .menu-item a:hover {
    color: rgba(8, 28, 42, .8);
}

.header-light.header_transparent:not(.has-header-sticky):not(.error404) .apus-header .logo .logo-main.has-transparent-logo,
.header-light.header_transparent .main-sticky-header:not(.sticky-header) .logo .logo-main.has-transparent-logo {
    display: block;
}

.header-light.header_transparent:not(.has-header-sticky):not(.error404) .apus-header .logo .transparent-logo,
.header-light.header_transparent .main-sticky-header:not(.sticky-header) .logo .transparent-logo {
    display: none;
}

.header_transparent .header-mobile .main-logo,
.header_transparent.header-light .header-mobile .transparent-logo,
.header_transparent .header-mobile.sticky-header .transparent-logo {
    display: none;
}

.header_transparent .header-mobile .transparent-logo,
.header_transparent.header-light .header-mobile .main-logo,
.header_transparent .header-mobile.sticky-header .main-logo {
    display: block;
}

.project-template-default .transparent-logo {
    display: none;
}

.header_transparent .header-mobile .btn-showmenu>*:before {
    color: #FFFFFF;
}

.header_transparent.header-light .header-mobile .btn-showmenu>*:before,
.header_transparent .header-mobile.sticky-header .btn-showmenu>*:before,
.header-light .main-sticky-header .menu-item a {
    color: rgba(8, 28, 42, 1);
}

.header-mobile {
    background-color: rgba(255, 255, 255, 0);
    position: fixed;
    z-index: 100;
    width: 100%;
}

.header-mobile.sticky-header {
    background-color: rgba(255, 255, 255, 0.8);
}

.header-light .main-sticky-header .menu-item a:hover {
    color: rgba(8, 28, 42, .8);
}

/* Mobile Menu */
.apus-offcanvas .offcanvas-head {
    height: 73px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
}

.apus-offcanvas .offcanvas-head .logo {
    line-height: 1;
    max-width: 82px;
}

#apus-mobile-menu .btn-toggle-canvas,
#apus-mobile-menu .btn-toggle-canvas:hover {
    width: auto;
    color: rgba(8, 28, 42, 1);
    background: transparent;
    padding-right: 0;
}

.apus-offcanvas .offcanvas-head i {
    margin-right: 0;
}

.navbar-offcanvas .navbar-nav li>a {
    padding: 15px 25px;
    font-weight: 500;
}

.navbar-offcanvas .navbar-nav li {
    border-bottom: 0;
}

.navbar-spacer {
    height: 30px;
}

/* Terms of Use / Privacy Policy */
.terms-container {
    height: calc(63.78vw - 82px);
}

@media (max-width: 1023px) {
    .terms-container {
        height: auto;
    }
}

/* Feature box */
@media (max-width: 1023px) {
    .custom-feature .item-inner {
        display: flex;
        align-items: center;
    }

    .custom-feature.widget-features-box.style1 .item:last-child .item-inner {
        margin-bottom: 5px;
    }

    .custom-feature .features-box-content {
        padding-left: 6px;
    }

    .custom-feature.widget-features-box .features-box-content .title {
        margin: 0;
    }
}

/* Appointment Form */
#appointment-form input[type="text"],
#appointment-form input[type="email"] {
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 1199px) {

    #appointment-form .left-part p,
    #appointment-form .right-part p {
        padding: 0;
    }
}

/* Reason to invest */
.reason-to-invest-section .r-tabs-tab {
    flex: 1;
    text-align: center;
}

.reason-to-invest-section .r-tabs-state-active,
.reason-to-invest-section .r-tabs-state-active:hover,
.reason-to-invest-section .r-tabs-state-active:active {
    border: 0 !important;
}

.mobile-comma {
    opacity: 0;
    display: block;
    height: 0;
}

@media (max-width: 1024px) {
    #reason-to-invest-section .uc_bold_tabs .r-tabs-accordion-title {
        display: flex !important;
        border-bottom: 2px solid rgba(238, 239, 234, 1);
        padding-bottom: 18px;
        padding-left: 0;
        padding-right: 0;
    }

    #reason-to-invest-section .r-tabs-accordion-title.r-tabs-state-active {
        border-bottom: 0;
        padding-bottom: 6px;
    }

    #reason-to-invest-section .uc_bold_tabs .r-tabs-accordion-title a {
        flex-grow: 1;
    }

    #reason-to-invest-section .r-tabs-accordion-title::after {
        content: url('/wp-content/themes/abolire/images/expand_icon.svg');
        display: block;
        width: 20px;
        height: 20px;
        position: absolute;
        right: 10px;
        pointer-events: none;
    }

    .reason-to-invest-home-section .r-tabs-accordion-title::after {
        content: url('/wp-content/themes/abolire/images/expand_icon.svg');
        display: block;
        width: 20px;
        height: 20px;
        /* position: absolute; */
        right: 10px;
        pointer-events: none;
        padding-left:45px;
        padding-top:10px;
    }

    #reason-to-invest-section .r-tabs-accordion-title.r-tabs-state-active::after {
        content: url('/wp-content/themes/abolire/images/collapse_icon.svg');
    }

    .mobile-comma {
        opacity: 1;
        display: inline-block;
    }
}


/* Homepage carousel */
.properties-wrapper {
    display: flex;
    flex-direction: column;
    height: 560px;
    width: 1140px;
    overflow: hidden;
    position: relative;
    margin-left: calc(50% - 570px);
}

.properties-row {
    display: flex;
    gap: 15px;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    transition: all .3s ease-in-out;
    opacity: 0;
    pointer-events: none;
}

.properties-row.active {
    opacity: 1;
    pointer-events: all;
}

.properties-row.active.hovering {
    gap: 6px;
}

.property-item {
    width: calc(25% - 11.25px);
    height: 560px;
    position: relative;
    transition: all .3s ease-in-out;
    background-color: rgba(0, 0, 0, 0.05);
}

.properties-row.active.hovering .property-item {
    width: calc(25% - 4.5px);
}

.property-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 560px;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: all .3s ease-in-out;
}

.property-image.sub {
    opacity: 0;
}

.property-image.sub.active {
    opacity: 1;
}

/* Adjust the background position for each item in the row */
.property-item:nth-child(1) .property-image {
    background-position: 0% center;
    /* 1st item in the row */
}

.property-item:nth-child(2) .property-image {
    background-position: calc(33.333% + 7.5px) center;
    /* 2nd item in the row */
}

.properties-row.active.hovering .property-item:nth-child(2) .property-image {
    background-position: calc(33.333% + 3px) center;
    /* 2nd item in the row */
}

.property-item:nth-child(3) .property-image {
    background-position: calc(66.667% + 7.5px) center;
    /* 3rd item in the row */
}

.properties-row.active.hovering .property-item:nth-child(3) .property-image {
    background-position: calc(66.667% + 3px) center;
    /* 3rd item in the row */
}

.property-item:nth-child(4) .property-image {
    background-position: 100% center;
    /* 4th item in the row */
}

.property-details {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex-direction: column;
    padding: 60px 20px;
    transition: all .3s ease-in-out;
}

/* .properties-row.active.hovering .property-item:not(:nth-child(1)) .property-details {
    padding: 60px 24.5px;
}

.properties-row.active.hovering .property-item:not(.active) .property-details {
    opacity: .5;
}

.property-item.active .property-details {
    background-color: rgba(0, 0, 0, 0.3);
}

.properties-row.active.hovering .property-item.active .property-details {
    padding-bottom: 120px;
} */

.property-title {
    font-family: Noto Sans SC;
    font-size: 26px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
}

.property-location {
    font-family: Noto Sans SC;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.property-content {
    font-size: 12px;
    font-weight: 400;
    color: #FFFFFF;
    margin: 0;
    opacity: 0;
    transition: all .3s ease-in-out;
    height: 0;
}

.property-item.active .property-content {
    opacity: 1;
}

@media (max-width: 1023px) {
    .property-item:hover .property-content {
        opacity: 1;
        height: 60px;
    }
}

.properties-control {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.properties-control .properties-control-btn {
    margin: 10px 15px;
}

.properties-control .properties-control-btn svg {
    height: 24px;
}

.properties-control .properties-control-btn.inactive {
    opacity: .5;
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .properties-wrapper {
        transform: scale(0.8);
    }
}

@media (max-width: 1023px) {
    .properties-wrapper {
        margin-left: 0;
        width: 100%;
        height: 233.1vw;
    }

    .property-item,
    .property-image {
        width: 100%;
        height: 56.4vw;
    }

    .properties-row {
        flex-direction: column;
        gap: 2.5vw;
    }

    .properties-row.active.hovering {
        gap: 2.5vw;
    }

    .properties-row.active.hovering .property-item {
        width: 100%;
    }

    .property-image.sub {
        display: none;
    }

    .property-details {
        padding: 5vw !important;
    }

    .properties-row .property-item .property-image {
        background-position: center !important;
    }

    .property-content{
        display:none;
    }

    .property-details {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 57.32%, rgba(0, 0, 0, 0.3) 100%);

    }

    /* .properties-row.active.hovering .property-item:not(.active) .property-details {
        opacity: 1;
    } */

    .project-detail-other-project .properties-control {
        display:none;
    }
    
}

@media (min-width: 1024px) {
    .properties-row.active.hovering .property-item:not(:nth-child(1)) .property-details {
        padding: 60px 24.5px;
    }
    
    .properties-row.active.hovering .property-item:not(.active) .property-details {
        opacity: .5;
    }
    
    .property-item.active .property-details {
        background-color: rgba(0, 0, 0, 0.3);
    }
    
    .properties-row.active.hovering .property-item.active .property-details {
        padding-bottom: 120px;
    }
    
}

/* Collaboration */
#collaboration-section .uc-items-wrapper {
    position: relative;
}

#collaboration-section .uc-tab-nav-prev,
#collaboration-section .uc-tab-nav-next {
    position: absolute;
    height: 100%;
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    background-color: #FFFFFF;
    cursor: pointer;
}

#collaboration-section .uc-tab-nav-prev {
    left: 0;
}

#collaboration-section .uc-tab-nav-next {
    right: 0;
}

#collaboration-section ul.tabs li {
    flex: 0 0 25%;
    transition: all .3s ease-in-out;
}

#collaboration-section .uc_bold_tabs ul.tabs {
    justify-content: flex-start;
}

#collaboration-section .uc_bold_tabs ul {
    padding: 0 60px;
}

#collaboration-section .r-tabs-accordion-title,
#collaboration-section .r-tabs-accordion-title.r-tabs-state-active {
    border: 2px solid rgba(238, 239, 234, 1);
}

#collaboration-section .r-tabs-accordion-title img {
    height: 14.6vw;
}

/* get-in-touch-form */
.get-in-touch-form input,
.get-in-touch-form textarea,
.get-in-touch-form select {
    width: 100%;
}

.get-in-touch-form textarea {
    height: 385px;
}

.get-in-touch-form .row {
    margin-bottom: 30px;
}

.get-in-touch-form .row.form-content p {
    display: flex;
    flex-direction: column;
}

.get-in-touch-form .wpcf7-submit {
    background-color: rgba(8, 28, 42, 1);
    color: #FFFFFF;
    border: 0;
    border-radius: 4px;
    max-width: 220px;
}

.get-in-touch-form .wpcf7-submit:hover {
    background-color: #FFFFFF;
    color: rgba(8, 28, 42, 1);
    border: 0;
    max-width: 220px;
}

.get-in-touch-form .agent-submit:hover {
    background-color: #EEEFEA;
    color: rgba(8, 28, 42, 1);
    border: 0;
    max-width: 220px;
}


.get-in-touch-form .checkbox-container .wpcf7-list-item label {
    display: flex;
}

.get-in-touch-form .checkbox-container .wpcf7-list-item label input {
    width: 20px;
    margin-right: 15px;
}

.get-in-touch-form .submit-container p {
    display: flex;
    flex-direction: row-reverse;
}