@import './base.css';

/* header */
.header {
    width: 100vw;
    background: #454444;
}

.header--sticky {
    position: sticky;
    top: 0;
    z-index: 3;
}

.header_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 50px);
    padding: 22px 25px 16px;
}

.header_logo {
    width: 225px;
}

.header_items {
    display: flex;
    align-items: center;
}

.header_nav .header_main-nav {
    display: flex;
    align-items: center;
}

.header_nav a {
    margin: 0 2px;
    padding: 13px 8px;
    font-size: 12px;
    letter-spacing: 0.15em;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
}

.header_nav a.contact {
    margin: 0 0 0 15px;
    padding: 13px 12px;
    border: 1px solid #fff;
}

.header_nav a.header_admin {
    margin: 0 0 0 30px;
}

.header_subnav-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header_subnav {
    position: absolute;
    margin: 40px 0 0;
    padding: 1px 15px;
    background: #fff;
    z-index: 2;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: 0.5s;
    z-index: 5;
}

.header_subnav-title a:hover + .header_subnav,
.header_subnav:hover{
    opacity: 1;
    visibility: visible;
}

.header_subnav a {
    font-size: 12px;
    letter-spacing: 0.15em;
    color: #454444;
    text-align: center;
    text-transform: uppercase;
}

.header_contacts {
    margin: 0 17px;
}

.header_contacts a {
    font-size: 12px;
    letter-spacing: 0.15em;
    color: #fff;
    text-align: center;
}

.header_languages {
    display: flex;
    align-items: center;
    margin: 0 0 0 30px;
}

.header_languages a {
    font-size: 12px;
    letter-spacing: 0.15em;
    color: #fff;
}

.header_bars {
    display: none;
}

@media screen and (max-width: 1350px) {
    .header_logo {
        width: 180px;
    }

    .header_nav a {
        margin: 0 2px;
        padding: 13px 4px;
        font-size: 10px;
    }

    .header_contacts {
        margin: 0 10px;
    }

    .header_contacts a {
        font-size: 10px;
    }

    .header_nav a.header_admin {
        margin: 0 0 0 20px;
    }
}

@media screen and (max-width: 1100px) {
    .header_wrapper {
        width: calc(100% - 32px);
        padding: 22px 16px 16px;
    }

    .header_items {
        display: block;
        position: fixed;
        width: 100vw;
        height: calc(100% - 68px);
        bottom: -1px;
        left: -150vw;
        right: 0;
        background: #D9D9D9;
        z-index: 10;
        overflow: scroll;
        transition: 0.5s;
    }

    .header_items.show_mobile-menu {
        left: 0;
    }

    .header_nav .header_main-nav {
        display: block;
    }

    .header_nav a {
        margin: 10px;
        padding: 15px 16px;
        font-size: 20px;
        color: #454444;
        text-align: left;
    }

    .contact_wrapper {
        border-top: 1px solid #454444;
        width: calc(100% - 52px);
        margin: 20px auto 40px;
    }

    .header_nav a.contact {
        margin: 24px auto;
        padding: 13px 12px;
        width: calc(100% - 52px);
        max-width: 400px;
        font-size: 16px;
        text-align: center;
        border: 1px solid #454444;
    }

    .header_nav a.header_admin {
        margin: 10px;
    }

    .header_subnav-title {
        display: block;
    }

    .header_subnav {
        position: relative;
        margin: 0;
        padding: 1px 10px;
        background: transparent;
        opacity: 1;
        overflow: visible;
        visibility: visible;
    }

    .header_subnav a {
        font-size: 16px;
        margin: -5px 10px 15px;
        padding: 5px 15px;
        text-align: left;
    }
    .header_subnav .main_line {
        display: none;
    }

    .header_languages {
        width: calc(100% - 52px);
        margin: 0 auto;
        padding: 20px 0 200px;
    }

    .header_languages a {
        font-size: 20px;
        color: #454444;
    }

    .header_languages .main_slash {
        height: 24px;
        margin: 0 12px;
        background: #454444;
    }

    .header_bars {
        display: block;
        width: 32px;
        height: 32px;
    }
}


/* footer */
.footer {
    padding: 25px;
    width: calc(100% - 50px);
    background: #454444;
}

.footer_nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer_nav nav {
    display: flex;
    align-items: center;
    width: calc(100% - 80px);
    padding: 15px 0;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.footer_nav ul {
    display: flex;
    align-items: center;
}

.footer_nav a {
    margin: 0 18px 0 0;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-align: center;
    text-transform: uppercase;
    color: #fff;

}

.footer_nav-icon {
    width: 60px;
    height: 60px;
}

.footer_info {
    padding: 35px 0 25px;
    color: #fff;
}

.footer_logo {
    margin: 0 0 20px;
}

.footer_logo h3 {
    font-size: 14px;
    line-height: 18px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
}

.footer_info-description {
    display: flex;
    align-items: flex-start;
}

.footer_info-contacts p,
.footer_info-contacts a {
    font-size: 14px;
    line-height: 18px;
    color: #fff;
}

.footer_info-social {
    display: flex;
    align-items: center;
}

.footer_info-social a {
    text-decoration: underline
}

.footer_info-text {
    max-width: 472px;
    margin: 0 60px;
}

.footer_info-text p {
    font-size: 14px;
    line-height: 18px;
}

.footer_info-work_hours span {
    display: block;
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 18px;
    font-style: italic;
}

.footer_info-work_hours p {
    font-size: 14px;
    line-height: 18px;
}

.footer_copy {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.footer_copy-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 80px);
    padding: 20px 0 0;
    border-top: 1px solid #fff;
}

.footer_copy-links,
.footer_copy-text{
    display: flex;
}

.footer_copy-text span,
.footer_copy-text a,
.footer_copy-links span,
.footer_copy-links a {
    display: block;
    font-size: 14px;
    color: #fff;
}

.footer_copy-icon {
    width: 25px;
    height: 24px;
}

@media screen and (max-width: 1100px) {
    .footer {
        width: 100vw;
        padding: 0;
    }

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

    .footer_nav nav {
        width: 100%;
        padding: 10px 0;
    }

    .footer_nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer_nav a {
        margin: 0;
        padding: 10px 16px;
    }

    .footer_nav-icon {
        padding: 20px;
    }

    .footer_info {
        padding: 35px 16px 25px;
    }

    .footer_logo {
        margin: 0 0 30px;
    }

    .footer_info-description {
        display: block;
    }

    .footer_info-contacts p,
    .footer_info-contacts a {
        margin: 0 0 5px;
    }

    .footer_copy {
        display: block;
        position: relative;
    }

    .footer_copy-info {
        display: block;
        width: 100%;
        padding: 20px 0 40px;
    }

    .footer_copy-text {
        display: block;
    }

    .footer_copy-text div {
        display: none;
    }

    .footer_copy-text span {
        padding: 0 16px 10px;
        line-height: 1.4;
    }

    .footer_copy-links{
        display: inline-block;
        padding: 30px 16px 0;
    }

    .footer_copy-icon {
        position: absolute;
        right: 16px;
        bottom: 32px;
    }
}


/* main */
.main_inner {
    padding: 70px 75px 120px;
    width: calc(100% - 150px);
    max-width: 1600px;
    margin: 0 auto;
}

.main_video {
    width: calc(100% - 50px);
    height: calc(100vh - 74px);
    padding: 0 25px 25px;
}

.main_video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main_inner img {
    object-fit: cover;
    height: auto;
}

.main_info-block h2 {
    font-size: 22px;
    line-height: 26px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #454444;
}

.main_info-block p {
    margin: 20px 0 30px;
    font-size: 15px;
    line-height: 24px;
    color: #454444;
}

.main_img-block_1 {
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.main_img-block_1 .block_1-one {
    width: 65%;
}

.main_img-block_1 .block_1-two {
    width: 30%
}

.main_info-block_1 {
    margin: 100px 0 140px;
    width: 65%;
}

.main_img-block_3 {
    margin: 24px 0 160px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.main_img-block_3 .block_1-one,
.main_img-block_3 .block_1-two {
    width: calc(50% - 14px);
}

.main_img-block_4 {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.main_img-block_4 .block_1-one {
    width: 70%;
}

.main_img-block_4 .block_1-two {
    width: 25%
}

.main_title {
    margin: 100px auto;
}

.main_title h1 {
    font-size: 26px;
    line-height: 36px;
    letter-spacing: 0.15em;
    text-align: center;
    text-transform: uppercase;
    color: #454444;
}

.main_title h1 span {
    font-style: italic;
}

.main_info-block_2 {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 75px 0 0;
}

.main_info-block_2 .block_1-one {
    width: 35%;
}

.main_info-block_2 .block_1-one img {
    margin: 0 0 45px;
}

.main_info-block_2 .block_1-two {
    width: 60%;
    margin: 20px 0 0;
}

.main_views {
    margin-top: -1px;
    padding-bottom: 40px;
}

.main_views-nav {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
}

.main_views-nav h2 {
    font-size: 26px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #454444;
}

.main_views-buttons {
    margin: 25px 0 40px;
}

.main_views-buttons button {
    margin: 0 60px 0 0;
    font-size: 16px;
    line-height: 16px;
    color: #717171;
    border: none;
    background: none;
    transition: 0.5s;
    cursor: pointer;
}

.main_views-buttons button:hover,
.main_views-buttons button.active {
    text-decoration: underline;
}

.main_views-media,
.main_panorama_view_wrapper {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    aspect-ratio: 18 / 9
}

/* .main_views-img {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: 1s;
}

.main_views-img.active {
    opacity: 1;
} */

.sky-u-block.sky-panorama-block {
    height: 100% !important;
}

.panorama.pv-container {
    height: 100% !important;
}

.pv-container .pv-overlay i.pvicon-overlay {
    display: none !important;
}

.pv-overlay {
    cursor: grab !important;
}

.sky-panorama-block.dragging .pv-overlay {
    cursor: grabbing !important;
}

.pv-inner.pv-animating {
    height: 100% !important;
}

.sky-panorama-block .main_view_start-butt {
    position: absolute;
    top: calc(50% - 22px);
    right: calc(50% - 150px);
    width: 300px;
    height: 45px;
    z-index: 5;
    transition: 0.2s;
    opacity: 1;
}

.sky-panorama-block.dragging .main_view_start-butt {
    opacity: 0;
}

@media screen and (max-width: 1100px) {
    .main_inner {
        padding: 30px 16px 50px;
        width: calc(100% - 32px);
    }

    .main_video {
        width: calc(100%);
        height: calc(100vh - 68px);
        padding: 0;
    }

    .main_info-block p {
        margin: 20px 0 30px;
    }

    .main_img-block_1 .block_1-two {
        width: 33%
    }

    .main_info-block_1 {
        margin: 30px 0 40px;
        width: 100%;
    }

    .main_img-block_3 {
        margin: 10px 0;
        align-items: flex-end;
    }

    .main_img-block_3 .block_1-one,
    .main_img-block_3 .block_1-two {
        width: calc(50% - 5px);
    }

    .main_img-block_4 {
        align-items: flex-start;
    }

    .main_img-block_4 .block_1-one {
        width: 60%;
    }

    .main_img-block_4 .block_1-two {
        width: calc(40% - 10px);
    }

    .main_title {
        margin: 50px auto;
    }

    .main_info-block_2 {
        display: block;
        margin: 10px 0 0;
    }

    .main_info-block_2 .block_1-one {
        width: 100%;
    }

    .main_info-block_2 .block_1-one img {
        margin: 0 0 10px;
    }

    .main_info-block_2 .block_1-two {
        width: 100%;
        margin: 20px 0 10px;
    }

    .main_views {
        padding-bottom: 50px;
    }

    .main_views-nav {
        padding: 0 16px;
    }

    .main_views-buttons {
        margin: 20px 0 30px;
    }
}


/* blog */
.blog_page .page_title {
    width: 100%;
    padding: 60px 0;
    text-align: center;
}

.blog_page-inner{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 20px;
    width: fit-content;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 75px 150px;
}

.blog_page-post {
    display: grid;
    grid-template-rows: max-content;
}

.blog_page-post img {
    height: 260px;
    object-fit: cover;
}

.blog_page-post h3 {
    margin: 40px 0;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 0.15em;
    color: #454444;
    text-transform: uppercase;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.blog_page-post h3 a {
    color: #454444;
}

.blog_page-post p {
    font-size: 20px;
    line-height: 34px;
    color: #454444;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.blog_page-post .blog-post_more {
    align-self: end;
    width: fit-content;
    margin: 40px 0 0;
    padding: 14px 36px;
    font-size: 16px;
    letter-spacing: 0.15em;
    color: #454444;
    border: 1px solid #454444;
    text-transform: uppercase;
    transition: 0.5s;
}

.blog_page-post .blog-post_more:hover {
    color: #fff;
    background: #454444;
}

@media screen and (max-width: 1400px) {
    .blog_page-inner{
        grid-template-columns: repeat(2, 1fr);
        padding: 0 25px 150px;
    }
}

@media screen and (max-width: 1100px) {
    .blog_page .page_title {
        padding: 30px 0;
    }

    .blog_page-inner{
        padding: 0 16px 150px;
    }
}

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

    .blog_page-post h3 {
        margin: 20px 0;
    }
}

/* blog detal */
.blog-detal_inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 80px 75px 200px;
}

.blog-detal_inner img {
    object-fit: cover;
}

.blog-detal_inner h1 {
    margin: 40px 0 50px;
    font-size: 40px;
    line-height: 36px;
    letter-spacing: 0.15em;
    color: #454444;
    text-transform: uppercase;
}

.blog-detal_inner p {
    margin: 0 0 50px;
    font-size: 20px;
    line-height: 34px;
    color: #454444;
}

@media screen and (max-width: 1100px) {
    .blog-detal_inner {
        padding: 50px 16px 150px;
    }

    .blog-detal_inner h1 {
        margin: 30px 0 40px;
        font-size: 34px;
    }
}


/* amenities */
.amenities_page-wrapper {
    padding-bottom: 80px;
}

.amenities_page {
    padding: 30px 75px 75px;
    max-width: 1600px;
    margin: 0 auto;
}

.amenities_title-img {
    position: relative;
    right: 25px;
    left: 25px;
    width: calc(100% - 50px);
    object-fit: cover;
    height: auto;
}

.amenities_title-img img {
    object-fit: cover;
    height: auto;
}

.amenities_page img {
    object-fit: cover;
    height: auto;
}

.amenities_img-block {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    background: #B9B9B9;
}

.amenities_img-wrapper {
    max-width: auto;
    height: 100%;
    margin: 0 auto;
}

.amenities_img-wrapper img {
    object-fit: cover;
    height: auto;
}

.amenities_img-block_1 {
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.amenities_img-block_1 .block_1-one {
    width: 25%;
}

.amenities_img-block_1 .block_1-two {
    display: flex;
    align-items: center;
    width: 65%
}

.amenities_img-block_1 .block_1-two img {
    width: calc(50% - 10px);
    margin: 0 0 0 10px;
}

.amenities_img-block_2 {
    margin: 125px 0 0;
}

.amenities_img-block_3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 25px 0 0;
}

.amenities_img-block_3 .block_3-one {
    width: 65%
}

.amenities_img-block_3 .block_3-two {
    width: 25%;
}

.amenities_table {
    /* margin: 125px 0 175px; */
}

.amenities_table .table-block {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 75px;
    color: #454444;
}

.amenities_table .table-block h4 {
    display: flex;
    justify-content: flex-end;
    width: 25%;
    font-size: 26px;
    line-height: 36px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.amenities_table .table_cells {
    display: flex;
    align-items: flex-start;
    width: 70%;
}

.amenities_table .table_cell-row {
    width: 30%;
    margin: 0 30px 0 0;
}

.amenities_table .table_cell-row p {
    font-size: 20px;
    line-height: 34px;
}

.amenities_table .table_cell-row p span {
    font-style: italic;
    padding: 0 10px 0 0;
}

.amenities_table .table-line {
    display: flex;
    justify-self: flex-end;
    margin: 75px 5% 30px 0;
    width: 65%;
    height: 1px;
    background: #454444;
}

.amenities_gallery {
    padding-bottom: 100px;
}

.amenities_gallery h2 {
    font-size: 26px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    color: #454444;
}

@media screen and (max-width: 1400px) {
    .amenities_table .table-block h4 {
        justify-content: flex-start;
        width: 20%;
    }

    .amenities_table .table_cells {
        width: 75%;
    }
}

@media screen and (max-width: 1100px) {
    .amenities_page-wrapper {
        padding-bottom: 150px;
    }

    .amenities_page {
        padding: 30px 16px 75px;
    }

    .amenities_title-img {
        right: 0;
        left: 0;
        width: calc(100%);
    }

    .amenities_table {
        /* margin: 125px 0 175px; */
    }

    .amenities_table .table-block {
        display: block;
        margin-top: 30px;
    }

    .amenities_table .table-block h4 {
        display: block;
        width: 100%;
        margin: 0 0 10px;
    }

    .amenities_table .table_cells {
        width: 100%;
    }

    .amenities_table .table-line {
        margin: 50px 0 30px 0;
        display: none;
    }
}

@media screen and (max-width: 800px) {
    .amenities_page-wrapper {
        padding-bottom: 100px;
    }

    .amenities_img-block {
        padding: 20px;
    }

    .amenities_table .table-block {
        margin-top: 0;
    }

    .amenities_table .table_cells {
        display: block;
    }

    .amenities_table .table_cell-row {
        width: 100%;
        margin: 0;
    }
}

/* Loft Section CSS */
.loft_title-img {
    position: relative;
    right: 25px;
    left: 25px;
    width: calc(100% - 50px);
    object-fit: cover;
    height: auto;
}

.loft_title-img img {
    object-fit: cover;
    height: auto;
}

.loft_page img {
    object-fit: cover;
    height: auto;
}

.loft_img-block {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    background: #B9B9B9;
}

.loft_img-wrapper {
    max-width: auto;
    height: 100%;
    margin: 0 auto;
}

.loft_img-wrapper img {
    object-fit: cover;
    height: auto;
}

.loft_img-block_1 {
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.loft_img-block_1 .block_1-one {
    width: 25%;
}

.loft_img-block_1 .block_1-two {
    display: flex;
    align-items: center;
    width: 65%
}

.loft_img-block_1 .block_1-two img {
    width: calc(50% - 10px);
    margin: 0 0 0 10px;
}

.loft_img-block_2 {
    margin: 125px 0 0;
}

.loft_img-block_3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 25px 0 0;
}

.loft_img-block_3 .block_3-one {
    width: 65%
}

.loft_img-block_3 .block_3-two {
    width: 25%;
}

@media screen and (max-width: 1100px) {
    .loft_page-wrapper {
        padding-bottom: 150px;
    }

    .loft_page {
        padding: 30px 16px 75px;
    }

    .loft_title-img {
        right: 0;
        left: 0;
        width: calc(100%);
    }
}

@media screen and (max-width: 800px) {
    .loft_page-wrapper {
        padding-bottom: 100px;
    }

    .loft_img-block {
        padding: 20px;
    }
}


/* residences */
.residences_page {
    padding: 80px 75px 0;
    max-width: 1600px;
    margin: 0 auto;
}

.residences_title-img {
    position: relative;
    right: 25px;
    left: 25px;
    width: calc(100% - 50px);
    height: calc(100vh - 74px);
    object-fit: cover;
}

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

.residences_page img {
    object-fit: cover;
    height: auto;
}

.residences_img-block_1 {
    display: flex;
    justify-self: flex-end;
    width: 100%;
}

.residences_inner-info {
    display: flex;
    padding: 100px 0 140px;
    color: #454444;
}

.residences_inner-img {
    /* width: 35%; */
    width: 0;
}

.residences_inner-text {
    display: flex;
    flex-direction: column;
    width: fit-content;
    margin: 20px auto 0;
    color: #454444;
}

.residences_inner-text_inner {
    display: flex;
}

.residences_inner-text .residences_inner-block {
    margin: 60px 0 0;
}

.residences_inner-text h4 {
    font-size: 26px;
    line-height: 36px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.residences_inner-text h5 {
    font-size: 18px;
    line-height: 34px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.residences_inner-text span {
    display: block;
    padding: 10px 0 20px;
    font-size: 18px;
    line-height: 24px;
}

.residences_inner-text p {
    margin: 10px 0 0;
    font-size: 20px;
    line-height: 24px;
}

.residences_inner-text p span{
    display: inline-block;
    font-style: italic;
    padding: 0 10px 0 0;
}

.residences_img-block_3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 130px;
}

.residences_img-block_3 .block_3-one {
    width: 65%
}

.residences_img-block_3 .block_3-two {
    width: 25%;
}

.residences-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 90px;
}

.residences-nav p {
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.residences-nav a.main_butt {
    width: fit-content;
    margin: 0 10px;
    padding: 2px 20px;
    color: #454444;
    background: transparent;
}

.residences-nav a.main_butt:hover {
    color: #fff;
    background: #454444;
}



@media screen and (max-width: 1100px) {
  .residences_title-img {
    right: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 68px);
  }

  .residences_page {
    padding: 25px 16px 0;
  }

  .residences_inner-info {
    padding: 30px 0;
    flex-direction: column;
  }

  .residences_inner-text .residences_inner-block {
    margin: 30px 0 0;
  }

  .residences_img-block_3 {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 50px;
  }

  .residences_img-block_3 .block_3-one {
    width: 90%;
  }

  .residences_img-block_3 .block_3-two {
    width: 80%;
    margin: 30px 0 0 20%;
  }

  .residences-nav {
    display: block;
    width: 100%;
    margin: 20px auto 70px;
  }

  .residences-nav a.main_butt {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
    margin: 0 0 20px;
    padding: 10px 20px;
    text-align: center;
  }
}

/* residences detal */
.residences_inner-text.residences-detal_inner {
    display: flex;
    justify-self: flex-end;
    flex-direction: column;
    width: 100%;
    margin: 0px 0 100px;
}

.residences-detal_info {
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.residences-detal_info-block {
    margin: 60px 0 0 0;
    width: 30%;
}

.residences_inner-text.residences-detal_inner h5 {
    margin: 0 0 20px;
}

@media screen and (max-width: 1100px) {
    .residences_inner-text.residences-detal_inner {
        margin: 0px 0 50px;
    }

    .residences-detal_info {
        display: block;
    }

    .residences-detal_info-block {
        margin: 0 0 30px;
        width: 100%;
    }

    .residences_inner-text.residences-detal_inner h5 {
        margin: 0 0 10px;
    }
}

/* .residences-detal_info-block:first-child {
    width: 65%;
} */


/* neighborhood */
.neighborhood_page {
    padding: 75px;
    max-width: 1600px;
    margin: 0 auto;
}

.neighborhood_title-img {
    position: relative;
    right: 25px;
    left: 25px;
    width: calc(100% - 50px);
    height: calc(100vh - 74px);
    object-fit: cover;
}

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

.neighborhood_page img {
    object-fit: cover;
    height: auto;
}

.neighborhood_img-block_1 {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.block_1-one {
    width: calc(45% - 10px);
}

.block_1-two {
    width: 55%;
}

.neighborhood_table {
}

.neighborhood_table h5 {
    display: flex;
    justify-self: flex-end;
    width: 70%;
    margin: 40px 0 0;
    font-size: 18px;
    line-height: 34px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.neighborhood_table .table-block {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 40px 0 0;
}

.neighborhood_table .table_cell-title {
    width: 30%;
}

.neighborhood_table .table_cell-row {
    width: 35%;
}

.neighborhood_table h4 {
    max-width: 320px;
    font-size: 26px;
    line-height: 36px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.neighborhood_table p {
    font-size: 20px;
    line-height: 34px;
}

.neighborhood_table p span {
    display: inline-block;
    font-style: italic;
    padding: 0 10px 0 0;
}

.neighborhood_blog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 20px;
    width: fit-content;
}

.neighborhood_blog img{
    height: 260px;
}

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

@media screen and (max-width: 1100px) {
    .neighborhood_page {
        padding: 30px 16px 50px;
    }

    .neighborhood_title-img {
        right: 0;
        left: 0;
        width: calc(100%);
        height: calc(100% - 68px);
    }

    .neighborhood_table h5 {
        display: flex;
        justify-self: center;
        width: fit-content;
        margin: 40px auto 0;
    }

    .neighborhood_table .table-block {
        display: block;
        margin: 30px 0 0;
    }

    .neighborhood_table .table_cell-title {
        width: 100%;
    }

    .neighborhood_table .table_cell-row {
        width: 100%;
    }

    .neighborhood_table h4 {
        max-width: fit-content;
        margin: 0 0 10px;
        font-size: 20px;
        line-height: 24px;
    }

    .neighborhood_blog {
        margin: 15px 0 100px;
    }
}

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

    .neighborhood_blog .blog_page-post h3 {
        margin: 20px 0;
    }
}


/* team */
.team-page_block {
    display: flex;
    align-items: center;
    background: #454444;
    color: #fff;
}

.team-page_block.team-page_block-reverse {
    flex-direction: row-reverse;
    /* background: #D9D9D9;
    color: #454444; */
}

.team-block_img {
    position: relative;
    width: 50%;
    height: 100%;
}

.team-block_img span {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 2;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    color: #000;
    text-transform: uppercase;
}

.team-block_img img {
    display: block;
    height: 100%;
    object-fit: cover;
}

.team-block_text {
    width: calc(50% - 140px);
    padding: 100px 140px 100px 0;
}

.team-page_block.team-page_block-reverse .team-block_text {
    width: calc(50% - 100px - 70px);
    padding: 100px 100px 100px 70px;
}

.team-page_block span {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.15em;
}

.team-page_block h2 {
    margin: 24px 0 30px;
    font-size: 40px;
    line-height: 48px;
    letter-spacing: 0.15em;
}

.team-page_block p {
    font-size: 20px;
    line-height: 34px;
}

.team-page_logos-inner {
    max-width: calc(1600px - 150px);
    width: calc(100% - 150px);
    margin: 0 auto;
    padding: 80px 75px;
    color: #454444;
}

.team-page_logos h1 {
    margin: 0 auto 40px;
    font-size: 48px;
    line-height: 73px;
    letter-spacing: 0.15em;
    text-align: center;
    text-transform: uppercase;
    color: #000;
}

.team_logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.team_logo-block img {
    max-height: 300px;
}

.team_logo-block span {
    display: block;
    margin: 30px 0;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.team_logo-block h3 {
    margin: 0 0 40px;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.team_logo-block p {
    font-size: 20px;
    line-height: 34px;
}

@media screen and (max-width: 1400px) {
    .team-block_text {
        width: calc(50% - 40px);
        padding: 30px 40px 30px 0;
    }

    .team-page_block.team-page_block-reverse .team-block_text {
        width: calc(50% - 40px - 40px);
        padding: 30px 40px 30px 40px;
    }

    .team-page_block h2 {
        margin: 15px 0 10px;
        font-size: 28px;
        line-height: 32px;
    }

    .team-page_logos-inner {
        width: calc(100% - 50px);
        padding: 80px 25px;
    }
}

@media screen and (max-width: 1100px) {
    .team-page_block,
    .team-page_block.team-page_block-reverse {
        flex-direction: column-reverse;
        padding: 0 16px 60px;
    }

    .team-block_text,
    .team-page_block.team-page_block-reverse .team-block_text {
        width: 100%;
        padding: 30px 0;
    }

    .team-block_img {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .team-page_logos-inner {
        width: calc(100% - 32px);
        padding: 50px 16px 150px;
    }

    .team_logos {
        grid-template-columns: repeat(1, 1fr);
        gap: 50px;
    }

    .team_logo-block img {
        max-height: fit-content;
    }
}


/* gallery */
.gallery_page {

}

.gallery_inner {
    padding: 60px 50px;
    max-width: 1600px;
    margin: 0 auto;
}

.gallery_inner h1 {
    margin: 0 0 80px;
    font-size: 40px;
    line-height: 36px;
    letter-spacing: 0.15em;
    text-align: center;
    text-transform: uppercase;
    color: #454444;
}

.gallery_nav {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 30px;
}

.gallery_nav div {
    margin: 0 20px 15px 0;
    padding: 0 5px 0 0;
}

.gallery_nav a {
    display: block;
    width: auto;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.15em;
    color: #454444;
    border: none;
    background-color: transparent;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.5s;
}

.gallery_nav a.active {
    border-bottom: 1px solid #454444;
}

.gallery_images {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.gallery_images-wrapper {
    position: relative;
    z-index: 2;
}

.gallery_images img {
    position: relative;
    height: -webkit-fill-available;
    object-fit: cover;
    cursor: pointer;
    z-index: 2;
}

.gallery_caption {
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 0;
    padding: 5px 15px;
    background-color: rgba(0, 0, 0, 0.6);
}

.gallery_caption span {
    font-size: 14px;
    color: #fff;

}

.gallery_modal-wrapper {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 10;
}

.gallery_modal {
	position: relative;
	width: auto;
    max-width: 80%;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    height: 80vh;
	object-fit: contain;
}

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

.gallery_modal .close {
    position: absolute;
    top: 20px;
    right: 20px;
	width: 40px;
	height: 40px;
    color: #fff;
    font-size: 40px;
	line-height: 1;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.gallery_modal .prev, .gallery_modal .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
}

.gallery_modal .prev {
    left: -60px;
}

.gallery_modal .next {
    right: -60px;
}

@media screen and (max-width: 1100px) {
    .gallery_inner {
        padding: 50px 16px 100px;
    }

    .gallery_inner h1 {
        margin: 0 0 40px;
        font-size: 34px;
    }

    .gallery_nav div {
        margin: 0 10px 10px 0;
        padding: 0 5px 0 0;
    }

    .gallery_nav a {
        font-size: 12px;
        line-height: 16px;
    }

    .gallery_images {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery_modal {
        position: relative;
        width: auto;
        max-width: 90%;
        height: auto;
        object-fit: contain;
    }

    .gallery_modal img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .gallery_modal .prev {
        left: -20px;
    }

    .gallery_modal .next {
        right: -20px;
    }

    .gallery_modal .close {
        position: fixed;
        top: 10px;
        right: 10px;
        z-index:10;
    }

    .gallery_modal .gallery_caption {
        bottom: 40%;
    }
}

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


/* floor-plan */
/* .floor-plan_page {
    position: relative;
}

.floor-plan_inner {
    position: fixed;
    top: 74px;
    bottom: 0;
    right: 25px;
    left: 25px;
    overflow: hidden;
    width: calc(100% - 50px);
    height: calc(100% - 74px);
    z-index: 2;
} */

.floor-plan_wrapper {
    position: fixed;
    top: 74px;
    bottom: 0;
    right: 25px;
    left: 25px;
    overflow: hidden;
    width: calc(100% - 50px);
    height: calc(100% - 74px);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floor-plan_inner {
    position: relative;
    width: auto;
    /* width: 100%; */
    height: 100%;
    aspect-ratio: 13 / 8;
}

.floor-plan_inner img {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    outline: none;
    z-index: 2;
}

.floor-plan_text {
    position: absolute;
    z-index: 3;
    top: 10vh;
    left: 5vw;
    max-width: 350px;
    color: #fff;
}

.floor-plan_text h1 {
    font-size: 20px;
    line-height: 30px;
    text-transform: uppercase;
    transition: 0.5s;
}

.floor-plan_text h4 {
    margin: 4px 0 16px;
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
    transition: 0.5s;
}

.floor-plan_text p {
    font-size: 14px;
    line-height: 20px;
}

.floor-plan_items-svg svg {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    outline: none;
    z-index: 2;
    transition: 1s;
}

.floor-plan_building-svg svg {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    outline: none;
    z-index: 4;
}

.floor-plan_building-svg svg path {
    transition: 0.5s;
    fill-opacity: 0;
}

.floor-plan_building-svg svg path:hover {
    fill-opacity: 0.5;
}

@media screen and (max-width: 1400px) {
    .floor-plan_text {
        position: sticky;
        top: 50px;
        left: 50px;
        margin-left: 50px;
    }
}

@media screen and (max-width: 1100px) {
    .floor-plan_wrapper {
        top: 68px;
        right: 0px;
        left: 0px;
        width: calc(100% );
        height: calc(100% - 68px);
    }

    .floor-plan_text {
        top: 10px;
        left: 10px;
        margin-left: 10px;
    }
}

@media screen and (max-width: 800px) {
    .floor-plan_text {
        top: 5px;
        left: 5px;
        margin-left: 5px;
        max-width: 250px;
    }

    .floor-plan_text h1 {
        font-size: 16px;
        line-height: 18px;
    }

    .floor-plan_text h4 {
        margin: 2px 0 10px;
        font-size: 10px;
        line-height: 12px;
    }

    .floor-plan_text p {
        font-size: 10px;
        line-height: 12px;
    }
}


/* contacts */
.contact-page {
    padding: 60px 0 200px;
}

.contact-page h1 {
    margin: 0 0 40px;
    font-size: 40px;
    line-height: 36px;
    letter-spacing: 0.15em;
    color: #454444;
    text-align: center;
    text-transform: uppercase;
}

form {
    width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input_block {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0;
}

.input_block.hideInputs {
    display: none;
}

.input_wrapper {
    display: block;
    width: calc(50% - 5px);
}

form .input_title-wrapper.input_wrapper {
    width: 100%;
}

form label {
    font-size: 16px;
    font-weight: 300;
    line-height: 16px;
    /* color: #7E7E7E; */
    color: #000;
}

form input,
form select {
    display: block;
    width: calc(100%);
    margin: 14px 0 0;
    padding: 20px 12px;
    font-size: 16px;
    font-weight: 300;
    line-height: 16px;
    /* color: #454444; */
    color: #000;
    border: 2px solid #7E7E7E;
    background: transparent;
}

form select {
    /* width: calc(100%); */
}

form input::placeholder,
form select:first-child {
    color: #7E7E7E;
}

form input[type="submit"],
form button.g-recaptcha {
    width: 183px;
    margin: 0 auto 0;
    padding: 12px;
    color: #454444;
    border: 2px solid #454444;
    background: transparent;
    cursor: pointer;
    transition: 0.5s;
}

form input[type="submit"]:hover,
form button.g-recaptcha:hover {
    color: #fff;
    background: #454444;
}

.reset_btn,
.reset_btn:hover {
    margin: 20px auto;
    text-align: center;
    font-style: italic;
    color: #454444;
    width: fit-content;
}

.alert {
    position: absolute;
    bottom: 50px;
    left: 30px;
    padding: 15px;
    color: #fff
}
.alert h4 {
    margin: 0 0 5px;
}
.alert * { color: #fff!important }
.alert.alert-danger { background-color: #d01717 }
.alert.alert-warning { background-color: #eb9412 }
.alert.alert-success { background-color: #4c922f }

.form_radio{
    display: flex;
    align-items: center;
}

.form_radio.hideInputs {
    display: none;
}

.form_radio div {
    width: fit-content;
}

.buyer_or_agent.form_radio {
    width: fit-content;
    margin: 0 auto 50px;
}

.working_with_agent.form_radio {
    width: fit-content;
    margin: 0 0 20px;
}

.form_radio p {
    font-size: 20px;
    line-height: 30px;
    color: #454444;
}

form div.form_radio label {
    display: block;
    padding: 18px 12px;
    margin: 0 0 0 16px;
    font-size: 16px;
    line-height: 16px;
    border: 2px solid #454444;
    background: transparent;
    color: #454444;
    text-align: center;
    transition: 0.5s;
}

form div.form_radio input[type="radio"],
input[type="radio"]:checked,
input[type="radio"]:active,
input[type="radio"]:focus,
input[type="radio"] + label{
    display: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}


input[type="radio"]:checked + label,
input[type="radio"]:active + label,
input[type="radio"]:focus + label,
input[type="radio"]:hover + label,
input[type="radio"]:checked + label{
    background: #454444;
    color: #fff;
}

.contact_caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 80px auto;
}

.contact_caption h2 {
    font-size: 20px;
    line-height: 30px;
    color: #454444;
    margin: 0 auto 10px;
}

.contact_caption a {
    font-size: 16px;
    line-height: 22px;
    color: #454444;
}

@media screen and (max-width: 1100px) {
    .contact-page h1 {
        font-size: 34px;
    }

    form {
        width: 90%;
    }

    form input[type="submit"],
    form button.g-recaptcha {
        margin: 80px auto 0;
    }

    .showIfWithAgent.input_block {
        margin: 0;
    }

    .showIfWithAgent .input_wrapper {
        width: calc(100%);
        margin: 0 0 20px;
    }
}


/* pricing */
.colors_marks {
    display: flex;
    align-items: center;
    justify-content: center;
}

.colors_mark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 92px;
    height: 39px;
    margin: 50px 10px 0;
    border: 1px solid rgba(69, 68, 68, 0.5);
    border-collapse: collapse;
    text-align: center;
}

.colors_mark span {
    display: block;
    padding: 1px;
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
    color: #454444;
}

.marks_buttons_modal {

}

.modal_buttons {
    position: relative;
    bottom: 50px;
    right: 15px;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
}

.modal_buttons img {
    position: absolute;
    width: 20px;
    height: 20px;
    opacity: 0.02;
}

.title-text_dark.pricing_title-text {
    padding: 50px 75px 100px;
}

.pricing_page {
    position: relative;
}

.pricing_wrapper {
    padding: 60px 30px 120px;
}

.pricing_inner {
    overflow-x: scroll;
    width: 100%;
    position: relative;
    display: block;
    border-bottom: 1px solid rgba(69, 68, 68, 0.5);
    padding-bottom: 100px;
}

.pricing_inner::-webkit-scrollbar {
    width: 100%;
    height: 8px;
    background-color: transparent;
}

.pricing_inner::-webkit-scrollbar-thumb {
    background: #454444;
}

.level_block {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 60px 0 0;
    width: 100%;
}

.level_title {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    width: 80px;
    height: 80px;
    padding: 0 20px 0 0;
}

.level_apartment-type_name {
    position: relative;
    display: flex;
    align-items: start;
    flex-direction: column;
    /* justify-content: end; */
    height: 80px;
    width: 80px;
    padding: 6px 0 0;
}

.level_apartment-item_name {
    display: flex;
    align-items: center;
    /* justify-content: end; */
    width: 80px;
    height: 38px;
    margin-top: 22px
}

.level_title h4 {
    position: absolute;
    bottom: 0;
    margin: 0;
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
    /* text-align: right; */
}

.level_title span {
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
    /* text-align: right; */
}

.level_apartments-wrapper {
    /* width: calc(100% - 120px - 30px); */
    width: 1750px;
    margin: 0 auto;
}

table.level_apartments {
    display: flex;
    justify-content: center;
}

.level_apartments tbody {
    display: flex;
    border-collapse: collapse;
    flex-direction: column;
    align-items: center;
}


/* .level_apartments tbody.margin-level_apartments {
    margin-left: -130px;
} */

table tr.level_apartment {
    margin-bottom: 20px;
}

table tr.margin-first {
    margin-right: 15px;
}

table tr.margin-second {
    margin-left: 15px;
}

table tr {
    display: flex;
}

table tr td {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 92px;
    margin: -1px 0 0 -1px;
    padding: 8px 2px;
    border: 1px solid rgba(69, 68, 68, 0.5);
    border-collapse: collapse;
    text-align: center;
}

table tr td.level_apartment-type div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100px;
}

table tr td.level_apartment-type span {
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
}

.orientation td {
    color: #454444;
    font-size: 10px;
}

table tr td span.level_apartment-name {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 2px;
}

.level_apartment-item {
    height: 38px;
    cursor: pointer;
    transition: 0.5s;
}

.level_apartment-item td:hover {
    opacity: 0.85;
}

table tr td span,
table tr td.level_apartment-type div span {
    display: block;
    padding: 1px;
    font-size: 10px;
    line-height: 10px;
    font-weight: 400;
    color: #454444;
}


table tr td.clicked_td span {
    font-weight: 700;
    color: #000;
}


table tr.level_apartment-type td.clicked_td {
    background: #b4b4b4 !important;
}

.level_apartment-item span {
    font-size: 12px;
}


table tr td div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

table tr td.margin-left {
    margin-left: 10px;
}

@media screen and (max-width: 1100px) {
    .title-text_dark.pricing_title-text {
        padding: 30px 16px 50px;
    }

    .modal_buttons {
        position: absolute;
        bottom: 100px;
    }
}


/* apartment-modal */
.apartment-modal {
    display: none;
    position: fixed;
    z-index: 10;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
}

.apartment-modal.for_vista {
    position: fixed;
    display: flex;
    align-items: center;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.apartment-modal_back {
    position: absolute;
    background-color: #000000a3;
    z-index: 10;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
}

.apartment-modal.show-modal {
    display: block;
}

.apartment-modal_wrapper {
    position: absolute;
    width: calc(80% - 100px);
    max-width: 1800px;
    min-width: 1000px;
    min-height: 540px;
    max-height: calc(80% - 120px);
    height: auto;
    margin: auto;
    padding: 60px 50px;
    top: 2%;
    left: 2%;
    right: 2%;
    bottom: 2%;
    background: #d9d9d9;
    z-index: 11;
}

.apartment-modal_wrapper.for_vista {
    max-width: 96%;
    width: auto;
    aspect-ratio: 1852 / 1205;
    margin: auto;
    height: auto;
    overflow: hidden;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
    padding: 0;
    min-width: auto;
    min-height: auto;
    max-height: 96%;
}

.panorama_view_wrapper {
    width: 100%;
    height: 100%;
    padding: 0;
}

.panorama_title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 12;
}

.panorama_title p {
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    z-index: 13;
    font-size: 14px;
    letter-spacing: 0.15em;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-shadow: -1px 1px 2px #000;
}

@media screen and (max-width: 800px) {
    .panorama_title p {
        top: 50px;
    }
}

.apartment-modal_close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 16px;
    height: 16px;
    padding: 12px;
    cursor: pointer;
    z-index: 20;
}

.apartment-modal_back_btn {
    position: absolute;
    top: 7px;
    right: 50px;
    width: 24px;
    height: 16px;
    padding: 12px;
    cursor: pointer;
    z-index: 20;
}

.apartment-modal h2 {
    margin: 0 0 20px;
    font-size: 32px;
    color: #000;
}

.apartment-modal_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    flex-grow: 1;
}

.apartment-modal_info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: calc(310px - 20px);
    height: calc(100% - 20px);
    min-height: fit-content;
    margin: 0 50px 0 0;
    padding: 10px;
    background: #d9d9d9;
    border: 1px solid #454444;
}

.apartment-modal_type {
    margin: 0 0 15px;
    font-size: 20px;
    font-weight: 500;
}

.apartment-modal_mark {
    display: block;
    margin: 0 0 0;
    font-size: 10px;
    font-style: italic;
}

.apartment_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 0 15px;
  }

  .apartment_name {
    font-size: 20px;
  }

  .apartment_status {
    display: flex;
    align-items: center;
    padding: 6px 9px;
  }

  .apartment_status div {
    width: 6px;
    height: 6px;
    margin: 0 3px 0 0;
    background: #fff;
    border-radius: 50%;
  }

  .apartment_status p {
    font-size: 12px;
    color: #fff;
  }

.apartment_properties {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 16px);
    padding: 9px 8px;
    background: #454444;
}

.apartment_property {
    display: flex;
    align-items: center;
}

.apartment_property img {
    width: 14px;
    height: 14px;
}

.apartment_property:first-child img {
    width: 16px;
    height: 16px;
}

.apartment_property span {
    margin: 3px 0 0 4px;
    font-size: 12px;
    color: #fff;
}

.apartment_table-info {
    width: calc(100% - 16px);
    height: fit-content;
    margin: 12px 0;
    padding: 6px 8px;
    background: #C9C9C9;
}

.apartment_table-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 4px 0;
}

.apartment_table-info p {
    width: 48%;
    font-size: 14px;
    font-weight: 14px;
    color: #454444;
}

.apartment_table-info_tier.apartment_table-info p {
    width: 100%;
    padding: 2px 0;
}

.apartment_table-row p:nth-child(2),
.apartment_table-row p:nth-child(3) {
    text-align: right;
}

.apartment_price {
    display: flex;
    align-items: center;
    justify-content: end;
}

.apartment_price p {
    margin: 0 10px 0 0;
}

.apartment-modal_buttons {
    margin: 30px 0 0;
}

.apartment-modal_buttons button,
.apartment-modal_buttons a {
    display: block;
    width: 100%;
    margin: 10px auto 0;
    padding: 15px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    border: 1px solid #454444;
    color: #454444;
    background: transparent;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: 0.5s;
}

.apartment-modal_buttons button:hover,
.apartment-modal_buttons a:hover {
    color: #fff;
    background: #454444;
}

.apartment-modal_img {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 382px);
    height: calc(100% - 0px);
    margin: auto;
    border: 1px solid #454444;
    flex-grow: 1;
    z-index: 1;
}

.apartment-modal_img_1,
.apartment-modal_img_1 img {
    position: absolute;
    top: 0px;
    left: 0px;
    border-bottom: 1px solid #454444;
    border-right: 1px solid #454444;
    width: 120px;
    object-fit: contain;
    z-index: 2;
}

.apartment-modal_img_2 {
    /* display: inline-block; */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    clip-path: inset(2px 2px 2px 2px);
    z-index: 1;
    overflow: hidden;
}

.apartment-modal_img_2 img{
    position: relative;
    width: auto;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    clip-path: inset(2px 2px 2px 2px);
    z-index: 1;
    cursor: pointer;
}

/* .apartment-modal_img.plans_apartment-modal_img {
    height: calc(100% + 8vh);
    top: -4vh;
    object-position: center;
} */

.plans-modal_img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.plans-modal_img img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    clip-path: inset(2px 2px 2px 2px);
    overflow: hidden;
}

.plans-modal_img svg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    object-fit: contain;
    clip-path: inset(2px 2px 2px 2px);
    overflow: hidden;
}

.plans-modal_img svg path {
    opacity: 0;
    cursor: pointer;
    transition: 0.5s;
}

.plans-modal_img svg path:hover {
    opacity: 0.7;
}

.plans-modal_img svg rect {
    fill: transparent;
}

.plans_views {
    margin: 20px 0 0;
}

.plans_views span {
    display: block;
    margin: 0 0 15px;
    font-size: 16px;
    text-align: center;
}

@media screen and (max-width: 1400px) {
    .apartment-modal_wrapper {
        width: 80%;
        max-width: 80%;
        min-width: 80%;
        min-height: 70%;
        height: 70%;
        max-height: 70%;
    }
}

@media screen and (max-width: 1100px) {
    .apartment-modal_wrapper {
        width: 80%;
        max-width: 80%;
        min-width: 80%;
        min-height: 80%;
        height: 80%;
        max-height: 80%;
        padding: 10px;
    }

    .apartment-modal_info {
        margin: 0 10px 0 0;
    }

    .apartment-modal_buttons button,
    .apartment-modal_buttons a {
        margin: 5px auto 0;
        padding: 8px 0;
        font-size: 10px;
    }
}

@media screen and (max-height: 900px) {
    .apartment-modal_buttons button,
    .apartment-modal_buttons a {
        margin: 5px auto 0;
        padding: 10px 0;
        font-size: 10px;
    }
}

@media screen and (max-width: 800px) {
    .apartment-modal {
        width: 100%;
        height: 100%;
    }

    .apartment-modal_wrapper {
        width: 90%;
        max-width: 90%;
        min-width: 90%;
        min-height: 90%;
        height: 90%;
        max-height: 90%;
    }

    .apartment-modal h2 {
        margin: 0 0 10px;
        font-size: 20px;
    }

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

    .apartment-modal_info {
        width: calc(100% - 20px);
        height: fit-content;
        margin: 0 0 10px;
    }

    .apartment-modal_type {
        margin: 0 0 10px;
        font-size: 15px;
    }

    .apartment_title {
        margin: 0 0 10px;
    }

      .apartment_name {
        font-size: 12px;
    }

    .apartment_table-info {
        margin: 5px 0;
    }

    .apartment_table-row {
        margin: 2px 0;
    }

    .apartment_table-info p {
        font-size: 10px;
        font-weight: 10px;
    }

    .apartment-modal_buttons {
        margin: 10px 0 0;
    }

    .apartment-modal_img {
        width: calc(100%);
        height: fit-content;
        overflow: hidden;
    }

    .apartment-modal_img_1,
    .apartment-modal_img_1 img {
        width: 100px;
    }

    .apartment-modal_img_2 img{
        width: inherit;
    }

    .plans_views {
        margin: 10px 0 0;
    }

    .plans_views span {
        display: block;
        margin: 0 0 5px;
        font-size: 8px;
        text-align: center;
        text-transform: uppercase;
    }
}


/* disclaimer-page */
.disclaimer-page_inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 50px 100px 150px;
}

.disclaimer-page_inner h2 {
    margin: 50px 0 0;
}

.disclaimer-page_inner p {
    margin: 20px 0 0;
    line-height: 1.2;
}

.disclaimer-page_inner a {
    display: inline-block;
    color: #000;
    text-decoration: underline;
}


/* 404 page */
.error_page-inner {
    min-height: 80vh;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.error_page-inner h1 {
    font-size: 120px;
    line-height: 120px;
    letter-spacing: 0.15em;
    color: #454444;
}

.error_page-inner p {
    margin: 40px auto;
    font-size: 16px;
    line-height: 24px;
    color: #000;
    text-align: center;
    text-transform: uppercase;
}

/* admin-log-in */
.admin-log-in_inner {
    display: flex;
}

.admin-log-in_form {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-log-in_form form {
    padding: 60px;
    max-width: 500px;
}

.admin-log-in_form h1 {
    margin: 0 0 50px;
    font-size: 40px;
    line-height: 36px;
    letter-spacing: 0.15em;
    color: #454444;
    text-transform: uppercase;
}

.admin-log-in_form input {
    width: 100%;
    margin: 14px 0 20px;
}

.admin-log-in_form input[type="submit"],
.admin-log-in_form button.g-recaptcha {
    width: 100%;
    margin: 30px 0 0;
}

.admin-log-in_pass_wrapper {
    position: relative;
}

.admin-log-in_pass_wrapper .show_pass {
    position: absolute;
    top: 52px;
    right: 10px;
}

.admin-log-in_pass_wrapper .show_pass input {
    display: none;
}

.admin-log-in_img {
    width: 60%;
}

.admin-log-in_img img {
    object-fit: contain;
}

@media screen and (max-width: 1100px) {
    .admin-log-in_inner {
        flex-direction: column-reverse;
    }

    .admin-log-in_form {
        width: 100%;
        padding-bottom: 50px;
    }

    .admin-log-in_form form {
        padding: 20px;
    }

    .admin-log-in_form h1 {
        margin: 20px 0 30px;
        font-size: 34px;
        text-align: center;
    }

    .admin-log-in_form input[type="submit"],
    .admin-log-in_form button.g-recaptcha {
        padding: 14px;
    }

    .admin-log-in_img {
        width: 100%;
        height: 30vh;
    }

    .admin-log-in_img img {
        height: 100%;
        object-fit: cover;
    }
}


/* featured */
.featured_block {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 0 50px;
}

.featured_block-items {
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding: 0 0 20px;
}

.featured_block-info {
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid #45444444;
}

.featured_residence {
    width: 15%;
}

.featured_rooms {
    width: 20%;
}

.featured_total {
    width: 20%;
}

.featured_price {
    width: 15%;
}

.featured_arrow {
    width: 34px;
}

.featured_arrow svg{
    width: 10px;
    height: 14px;
    padding: 1px 10px;
    cursor: pointer;
}

.featured_block span {
    font-size: 14px;
    line-height: 16px;
}

.featured_block .featured_block-items span {
    text-transform: uppercase;
}


/* brokers_portal */
.brokers_portal_title {
    position: relative;
}

.brokers_portal-img,
.brokers_portal-img img {
    height: 350px;
    width: 100%;
}

.brokers_portal_title-text {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    padding: 0;
}

.brokers_portal_title-text h1 {
    text-align: center;
}

.brokers_portal-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 75px 0 100px;
}

.brokers_portal-inner a,
.brokers_portal-inner p {
    margin: 0 0 10px;
    padding: 0 10px;
    max-width: 900px;
    font-size: 20px;
    line-height: 34px;
    color: #454444;
    text-align: center;
    transition: 0.5s;
}

.brokers_portal-inner a:hover {
    color: #000;
}

.brokers_portal-inner p {
    margin: 0 auto 40px;
}


/* documents */
.documents_title {
    position: relative;
}

.documents-img,
.documents-img img {
    height: 350px;
    width: 100%;
}

.documents_title-text {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    padding: 0;
}

.documents_title-text h1 {
    text-align: center;
}

.documents-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 75px 0 100px;
}

.documents-inner a {
    margin: 0 0 10px;
    padding: 0 10px;
    max-width: 900px;
    font-size: 20px;
    line-height: 34px;
    color: #454444;
    text-align: center;
    transition: 0.5s;
}

.documents-inner a:hover {
    color: #000;
}

.brokers_portal-inner span,
.documents-inner span {
    display: block;
    padding: 0 10px;
    max-width: 900px;
    font-size: 20px;
    font-weight: 600;
    line-height: 20px;
    color: #000;
    text-align: center;
    transition: 0.5s;
}


/* marks buttons */
.marks_buttons_wrapper {
    position: absolute;
    width: 460px;
    height: 120px;
    margin: auto;
    padding: 50px 30px;
    top: 2%;
    left: 2%;
    right: 2%;
    bottom: 2%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d9d9d9;
    z-index: 11;
}

.marks_buttons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.marks_button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: fit-content;
    min-width: 100px;
    height: 39px;
    margin: 0 10px;
    padding: 0 10px;
    border: 1px solid rgba(69, 68, 68, 0.5);
    border-collapse: collapse;
    text-align: center;
    cursor: pointer;
    transition: 0.5s;
}

.marks_button:hover,
.marks_button.active {
    background: rgba(69, 68, 68, 1);
}

.marks_button span {
    display: block;
    padding: 1px;
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
    color: #454444;
    text-transform: uppercase;
}

.marks_button:hover span,
.marks_button.active span {
    color: #fff;
}

@media screen and (max-width: 800px) {
    .marks_buttons_wrapper {
        width: 80%;
    }

    .marks_button {
        min-width: 90px;
        height: 39px;
    }

    .marks_button span {
        font-size: 10px;
    }
}

.residences_img-block_2 {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 80px 75px 0;
    max-width: 1600px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Admin action button for panorama view */
.admin-action-button {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
    padding: 5px 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.admin-action-button:hover {
    background: #0056b3;
}

.residences_img-block_2 .block_3-one {
    flex: 0 1 60%;
    padding-right: 20px;
    box-sizing: border-box;
}

.residences_img-block_2 .block_3-two {
    flex: 1 1 40%;
    box-sizing: border-box;
}

.residences_img-block_2 img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}
/* catch everything */
html, body {
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

/* target your “Korean” pages */
:lang(kr), /* when browser respects lang */
html[lang="kr"] /* fallback attribute selector */ {
  /* only break at real word/punctuation boundaries */
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  line-break: strict !important;
}

.footer_info-social .social-icon {
    width: 24
}
