.custom-buildings {
    margin-top: 50px;
}

.wrapper_image_plan {
    border: 1px solid #E2E5E9;
    border-radius: 24px;
    overflow: hidden;
}

@media screen and (min-width:992px) {
    .wrapper_image_plan {
        min-height: 516px;
    }
}

.orientare_image {
    max-width: 1430px;
    margin: 0 auto;
    display: table;
    width: 100%;
    height: auto
}

.gallery-counter span {
    opacity: .6;
}

.gallery-counter {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 14px;
    font-family: IvyMode;
    font-family: IvyMode;
    font-weight: 600;
    font-size: 66px;
    text-align: center;
    text-transform: uppercase;
}

.thumbnail.slick-slide {
    filter: grayscale(100%)
}

.thumbnail.slick-slide.slick-current.slick-active {
    filter: none;
}

.fancybox-container {
    z-index: 99999999999999
}

.thumbnail.slick-slide img {
    margin: 0 auto;
}

.slick-slide[data-fancybox="gallery-single"] {
    pointer-events: none !important;
}

.text-disclaimer {
    font-size: 14px;
    line-height: 24px;
    font-family: 'New Hero';
    font-weight: 300;
    font-style: italic;
    text-align: left;
    color: #172440;
}

.increase-gallery-thumbnails {
    margin-top: 15px;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
    opacity: 0;
}

.showslick.increase-gallery-thumbnails {
    opacity: 1;
}

.wrapper-promo-banner img {
    width: 100%;
    height: auto;
}

.thumb-h-100 {
    -webkit-background-size: cover;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 1067px;
}

.thumb-h-100:before {
    padding: 0;
}

.section-hero div.text-left {
    font-family: New Hero;
    font-weight: 300 !important;
    font-size: 24px;
    line-height: 36px;
}

.increase-gallery-single-property .slick-next {
    width: 80px !important;
    height: 80px !important;
    background: url(../assets/images/arrow-right-white.svg) center center no-repeat;
    background-size: cover !important;
    z-index: 100000 !important;
    top: calc(50% - 50px) !important;
    bottom: auto;
    right: 60px !important;
    transform: none !important;
    border: 0 !important;
}

.increase-gallery-single-property .slick-prev {
    width: 80px !important;
    height: 80px !important;
    background: url(../assets/images/arrow-left-white.svg) no-repeat center center;
    background-size: cover !important;
    z-index: 100000 !important;
    top: calc(50% - 50px) !important;
    bottom: auto;
    left: 60px !important;
    transform: none;
    transform: none !important;
    border: 0 !important;
}

.increase-gallery .slick-prev:before,
.increase-gallery .slick-next:before {
    display: none;
}

.content-lista-parcare {
    position: relative;
    z-index: 1;
}

@media screen and (max-width:991px) {
    .increase-gallery-single-property .slick-prev {
        left: 0 !important;
        right: auto !important;
        width: 60px !important;
        height: 60px !important;
        top: calc(50% - 30px) !important;
    }
    .increase-gallery-single-property .slick-next {
        right: 0 !important;
        left: auto !important;
        width: 60px !important;
        height: 60px !important;
        top: calc(50% - 30px) !important;
    }
}

.wrapper-promo-banner a:hover {
    text-decoration: none;
}

@media screen and (min-width:992px) {
    .column_image_equal {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 610px;
    }
    .info-prices .wrapper-info-prices {
        max-height: 610px;
    }
    .wrapper-info-prices {
        overflow: auto;
    }
    .wrapper-info-prices::-webkit-scrollbar {
        width: 5px;
    }
    .wrapper-info-prices::-webkit-scrollbar-track {
        background: #ccc;
        border-radius: 50px;
        margin-bottom: 20px;
        margin-top: 20px;
    }
    .wrapper-info-prices::-webkit-scrollbar-thumb {
        background: #CF8F7D;
    }
    .wrapper-info-prices::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
    .align-items-stretch>.col-12 {
        padding: 0;
    }
    .text-right-md * {
        font-family: 'New Hero';
        font-size: 22px;
        font-weight: 300;
        line-height: 33px;
        text-align: left;
    }
    a[data-fancybox="gallery-single"] {
        min-height: 1080px;
        max-height: 1080px;
        overflow: hidden;
    }
    .col-12.col-lg-12.main-content {
        padding: 0
    }
    a[data-fancybox="gallery-single"] img {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        min-height: 1080px;
        transition: .5s all;
        max-width: fit-content;
        min-width: 100%;
    }
    .wrapper-promo-banner {
        /* margin-right: 15px; */
    }
    .info-prices {
        padding-right: 0;
    }
    .row.align-items-stretch .row {
        justify-content: space-between;
        width: 100%;
        margin: 0;
    }
    .text-right-md {
        float: right;
    }
    .table-custom tbody {
        display: flex;
        flex-wrap: wrap;
    }
    .table-custom tr {
        width: 100%;
    }
    .table-custom tr.border-bottom {
        /* width: 50%; */
        /* display: flex; */
        /* flex-direction: row; */
        /* justify-content: space-between; */
    }
    .content-lista-parcare td[colspan="2"] {
        font-family: 'New Hero';
        font-size: 24px;
        font-weight: 500;
        line-height: 33px;
        text-align: left;
        color: #172440;
    }
    .content-lista-parcare table,
    .table-custom {
        font-family: 'New Hero';
        font-size: 22px;
        font-weight: 300;
        line-height: 33px;
        text-align: left;
    }
    .table-custom .text-primary {
        font-family: 'New Hero';
        font-size: 22px !important;
        font-weight: 500 !important;
        line-height: 33px !important;
        text-align: right;
        color: #CF8F7D !important;
    }
    .table-custom {
        border: 0 !important;
    }
    .table-custom tr.border-bottom {
        border: 0 !important;
        display: table;
    }
    .table-custom tr.border-bottom:nth-child(2n) td:first-child {
        padding-left: 0px;
    }
    .table-custom tr.border-bottom td {
        width: 50%;
    }
    .table-custom tr.border-bottom td:first-child {
        padding-right: 20px;
    }
    .wrapper-info-prices * {
        font-family: 'New Hero';
        font-size: 18px;
        font-weight: 300;
        line-height: 33px;
        text-align: left;
    }
    .thumbnail.slick-slide img {
        min-height: 150px;
    }
}

.new_price_section .wrapper_table {
    margin-bottom: 0;
}

.new_price_section {
    width: 100%;
}

.new_price_section {
    display: grid;
    gap: 1rem;
}

.new_price_section:has(:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
}

.new_price_section:has(:nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
}

.new_price_section:has(:nth-child(4):last-child) {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .new_price_section {
        grid-template-columns: 1fr !important;
    }
}

.content-lista-parcare table,
.table-custom,
.wrapper-info-prices * {
    font-family: 'New Hero';
    font-weight: 300;
    text-align: left;
}

.table-custom .text-primary {
    font-family: 'New Hero';
    font-weight: 500 !important;
    text-align: right;
    color: #CF8F7D !important;
}

.content-lista-parcare td[colspan="2"] {
    font-family: 'New Hero';
    font-weight: 500 !important;
    text-align: left;
    color: #172440;
}

.context-apartment h2 {
    color: #171C26;
    font-family: 'New Hero';
    font-size: 36px;
    font-weight: 600;
    line-height: 54px;
    text-align: left;
    margin: 0 0 30px;
}

.context-apartment p {
    font-family: 'New Hero';
    font-size: 22px;
    font-weight: 300;
    line-height: 33px;
    text-align: left;
    color: #171C26;
}

.wrapper-info-prices .font-weight-bold,
.wrapper-info-prices .font-weight-bold * {
    font-weight: 500 !important;
}

.text-primary {
    color: #172440 !important;
}

.border-primary {
    border-color: #172440 !important;
}

table.border-primary {
    border-color: #fff !important
}

.listare_preturi_orientare {
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 50px 0;
}

.listare_preturi_orientare .container {
    position: relative;
    z-index: 1;
}

.listare_preturi_orientare::before {
    content: '';
    background: aliceblue;
    position: absolute;
    left: calc(-50vw + 660px);
    width: 100vw;
    height: 100%;
    top: 0;
}

.listare_preturi_orientare .wrapper-table {
    border: 1px solid #EAB6A0 !important;
    padding: 30px 30px 0;
    background: #fff;
    margin: 30px auto;
    max-width: 800px;
    border-radius: 24px;
    min-height: 0 !important;
}

.lista-parcare .wrapper-table {
    border: 1px solid #EAB6A0 !important;
    padding: 30px;
    background: #fff;
    margin: 30px 0;
    border-radius: 24px;
}

.wrapper-info-prices {
    border: 1px solid #E2E5E9;
    border-radius: 24px;
}

.wrapper_table {
    /* border: 1px solid #E2E5E9; */
    padding: 30px 30px 0;
    background: #fff;
    /* border-radius: 24px; */
    margin-bottom: 30px;
}

.lista-parcare {
    padding: 50px 0 20px;
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 50px;
}

.section-contact {
    padding: 50px 0;
}

.lista-parcare::before {
    /* content: '';
    background: aliceblue;
    position: absolute;
    left: calc(-50vw + 660px);
    width: 100vw;
    height: 100%;
    top: 0; */
}

.solicita_oferta_btn {
    text-decoration: none !important;
    background: transparent;
    border: 0;
    border-radius: 24px;
    background: linear-gradient(94.11deg, #EAB6A0 0%, #CF8F7D 101.01%);
    padding: 10px 30px;
    padding-right: 40px;
    color: transparent;
    margin: 20px 0 0;
    display: inline-block;
    font-family: New Hero;
    font-weight: 500;
    font-size: 14px;
    line-height: 28px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.solicita_oferta_btn::after {
    content: attr(title);
    position: absolute;
    color: #172440;
    left: 0;
    width: 100%;
    height: 100%;
    transition: top .5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    z-index: 1;
}

.solicita_oferta_btn::before {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    transition: bottom .5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #172440;
}

.solicita_oferta_btn:hover::before {
    bottom: 0
}

.solicita_oferta_btn:hover:after {
    top: 100%
}

.descarca_btn {
    text-decoration: none !important;
    border: 1px solid #CF8F7D;
    border-radius: 24px;
    background: #fff;
    padding: 10px 30px;
    font-size: 18px;
    color: transparent !important;
    display: inline-block;
    font-family: New Hero;
    font-weight: 500;
    font-size: 14px;
    line-height: 28px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 20px;
}

.descarca_btn::after {
    content: attr(title);
    position: absolute;
    color: #CF8F7D;
    left: 0;
    width: 100%;
    height: 100%;
    transition: top .5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    z-index: 1;
}

.descarca_btn::before {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    transition: bottom .5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #CF8F7D;
}

.descarca_btn:hover::before {
    bottom: 0
}

.descarca_btn:hover:after {
    top: 100%
}

.site-main {
    overflow: hidden;
}

.single-increase_apartments .title-general-custom h2 strong,
.single-increase_apartments .title-general-custom h2 {
    background: linear-gradient(to right, #F1CFC0, #CF8F7D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'DM Serif Display';
    font-weight: 400;
    text-align: center;
}

@media screen and (max-width:1600px) {
    .row-custom-apartment {
        flex-direction: row;
    }
    .row-custom-apartment .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
        width: 100%;
        margin-bottom: 0 !important;
    }
    .row-custom-apartment .col-lg-6.context-apartment {
        margin-bottom: 30px !important;
    }
}

@media screen and (max-width:991px) {
    .row-custom-apartment {
        flex-direction: column;
    }
    .row-custom-apartment .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        margin-bottom: 0 !important;
        padding: 0;
        margin: 0;
    }
    .align-items-stretch .row {
        flex-direction: column;
        margin: 0;
        padding: 0;
    }
}

@media screen and (min-width:1600px) {
    .lista-parcare::before {
        left: calc(-50vw + 720px);
        width: calc(100vw - 100px);
        border-top-right-radius: 24px;
        border-bottom-right-radius: 24px;
    }
}

.subtitle-small-general-custom {
    color: #172440;
    font-family: "New Hero";
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 54px;
    position: relative;
    z-index: 1;
    margin: 0 0 20px;
}

.wrapper-info-prices .text-left.text-danger.pb-2 {
    font-family: 'New Hero';
    font-size: 22px;
    font-weight: 500 !important;
    line-height: 33px;
    text-align: left;
    color: #172440 !important;
}

.custom-td {
    font-weight: 500 !important;
    color: #CF8F7D !important;
}

.align-items-stretch {
    padding-top: 50px;
    padding-bottom: 50px;
}

.increase-gallery-thumbnails img {
    width: 100%;
    max-width: calc(100% - 10px);
    min-height: 150px;
}

.increase-gallery-single-property .thumb-bg {
    min-height: 640px;
}

@media screen and (max-width:1600px) {
    .thumb-h-100 {
        min-height: 860px;
    }
}

@media screen and (max-width:1441px) and (min-width:992px) {
    .wrapper-info-prices .text-left.text-danger.pb-2,
    .wrapper-info-prices * {
        font-size: 18px;
        line-height: 24px;
    }
}

@media screen and (max-width:991px) {
    .thumb-h-100 {
        min-height: 400px;
    }
    .custom-gallery .main-content {
        padding: 0;
    }
    a.slick-slide {
        min-height: 100vw;
        max-height: 100vw;
        overflow: hidden;
    }
    a.slick-slide img {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        min-height: 100vw;
        max-height: 100vw;
        transition: .5s all;
        max-width: fit-content;
    }
    .increase-gallery-thumbnails {
        max-height: calc(50vw / 3)
    }
    .subtitle-small-general-custom {
        font-size: 28px;
        line-height: 1.3;
    }
    .wrapper-table {
        min-height: 0 !important;
    }
    .lista-parcare .wrapper-table {
        padding: 15px;
        margin: 0 0 20px;
    }
    .lista-parcare {
        padding: 50px 0 30px;
    }
    .lista-parcare::before {
        left: -15px;
    }
    .align-items-stretch {
        padding: 30px 0
    }
    .align-items-stretch .col-lg-4 {
        padding: 0;
        margin-top: 30px;
    }
    .context-apartment h2 {
        font-size: 28px;
    }
    .context-apartment p {
        font-size: 18px;
        line-height: 28px;
    }
    .section-contact {
        padding: 30px 0
    }
    .gallery-counter {
        font-size: 30px;
        bottom: 10px;
    }
    .custom-buildings {
        margin-top: 40px
    }
    .disclaimer {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    .parking_prices .wrapper-table table tr {
        border-bottom: 1px solid #dee2e6 !important;
    }
    .parking_prices .wrapper-table table tr:first-child {
        border-bottom: 0 !important
    }
    .parking_prices .wrapper-table table tr td:first-child {
        width: 35%;
    }
    .parking_prices .wrapper-table table tr td:last-child {
        width: 65%;
        text-align: left !important;
    }
    .listare_preturi_orientare {
        padding: 0;
    }
    .listare_preturi_orientare .container {
        padding: 0;
    }
    .listare_preturi_orientare .wrapper-table {
        margin-bottom: 0;
        padding: 15px 15px 0;
    }
    .custom-gallery .container {
        margin-bottom: 20px !important;
    }
    .lista-parcare {
        margin-bottom: 0;
    }
    .wrapper-info-prices table tr td:last-child {
        width: 100px;
    }
    .wrapper-info-prices {
        overflow: hidden;
    }
    .wrapper_table {
        padding: 20px 20px 0;
        margin: 0 !important;
    }
    .content-lista-parcare table {
        margin: 0 !important;
    }
}

@media screen and (min-width:1442px) {
    .align-items-stretch {
        padding: 80px 0;
    }
    .new_price_section {
        margin-top: 40px;
    }
    .lista-parcare {
        padding: 80px 0 50px;
        margin-bottom: 80px;
    }
    .custom-buildings {
        margin-top: 80px;
    }
    #contact_form {
        padding-top: 30px;
    }
    .solicita_oferta_btn,
    .descarca_btn {
        margin-top: 10px;
    }
}