@charset "utf-8";

@font-face {
    font-family: 'glyphicons';
    src: url(./../fonts/highwood.eot?40);
    src: url(./../fonts/highwood.eot?#iefix) format('embedded-opentype'),
    url(./../fonts/highwood.woff?40) format('woff'),
    url(./../fonts/highwood.ttf?40) format('truetype');
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

h2 {color: #111111; font-family: 'EuclidFlex', sans-serif; font-size: var(--font-80); font-weight: 500; line-height: 114%;}
.btn_primary_wrap {max-width: 400px; height: 56px; width: unset; vertical-align: top; position: relative;}
.btn_primary {
    border-radius: 0; background: #111111; padding: 0 20px; transition: .3s ease-in-out; text-decoration: none; text-transform: uppercase; transform-origin: center;
    font-size: var(--font-17); font-weight: 300; color: #FFFFFF; display: flex; align-items: center; -webkit-justify-content: center; cursor: pointer; white-space: nowrap;
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; min-width: fit-content;
}
.btn_primary:hover {height: 65px; top: -4.5px;}
.btn_primary.light {background: #FFFFFF;}
.btn_primary.light {background: #FFFFFF; color: #111111;}
.request_btn {background: #111111;}

:root {
    --padding-in: 64px;
    --margin-block: 170px;
    --font-16: max(16px, min(16px, 1vw));
    --font-18: max(16px, min(18px, 1vw));
    --font-20: max(16px, min(20px, 1.05vw));
    --font-26: max(20px, min(26px, 1.3vw));
    --font-28: max(22px, min(28px, 1.45vw));
    --font-30: max(24px, min(30px, 1.5vw));
    --font-38: max(30px, min(38px, 2.1vw));
    --font-40: max(30px, min(40px, 2.1vw));
    --font-44: max(34px, min(44px, 2.28vw));
    --font-50: max(36px, min(50px, 2.6vw));
    --font-60: max(38px, min(60px, 3.1vw));
    --font-70: max(40px, min(70px, 3.6vw));
    --font-90: max(50px, min(90px, 4.5vw));
    --font-120: max(60px, min(120px, 6vw));
}

@media only screen and (max-width: 1600px) {
    :root {--margin-block: 100px;}
}

@media only screen and (max-width: 1200px) {
    :root {--margin-block: 70px;}
}

@media only screen and (max-width: 1024px) {
    :root {--padding-in: 16px;}
    h2 {font-size: 34px; line-height: 120%;}
    .wrap {padding: 0 8px;}
    .btn_primary {font-size: 14px; height: 50px;}
    .btn_primary:hover {height: 56px; top: -3px;}
}

/* ------------------------------- ICONS ------------------------------- */

[class^="icon_"]:before, [class*=" icon_"]:before {
    font-family: "glyphicons"; font-style: normal; font-weight: normal; speak: never;
    display: inline-block; text-decoration: inherit; width: 1em;
    text-align: center; font-variant: normal; text-transform: none; line-height: 1em;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}

.icon_arrow:before {content: '\E80D';}
.icon_car:before {content: '\e804';}
.icon_central:before {content: '\E811';}
.icon_flash:before {content: '\e805';}
.icon_forest:before {content: '\E80F';}
.icon_gas:before {content: '\e808';}
.icon_info:before {content: '\e806';}
.icon_light:before {content: '\e809';}
.icon_phone:before {content: '\e80a';}
.icon_pine:before {content: '\e807';}
.icon_plus:before {content: '\e800';}
.icon_size:before {content: '\E80B';}
.icon_tg:before {content: '\e801';}
.icon_train:before {content: '\e802';}
.icon_wa:before {content: '\e803';}
.icon_water:before {content: '\E810';}
.icon_location:before {content: '\E817';}

.icon_eye:before {content: '\E80C';}
.icon_share:before {content: '\E80E';}
.icon_share_tg:before {content: '\E812';}
.icon_share_vk:before {content: '\E813';}
.icon_share_wa:before {content: '\E814';}
.icon_share_ok:before {content: '\E815';}
.icon_share_copy:before {content: '\E816';}

.icon_video_volume_min:before { content: '\e822'; }
.icon_video_volume_off:before { content: '\e823'; }
.icon_video_fullscreen:before { content: '\e824'; }
.icon_video_minscreen:before { content: '\e825'; }
.icon_video_play:before { content: '\e826'; }
.icon_video_previous:before { content: '\e827'; }
.icon_video_next:before { content: '\e828'; }
.icon_video_pause:before { content: '\e829'; }
.icon_video_volume_max:before { content: '\e82a'; }
.icon_video_next_time:before { content: '\e83A'; }
.icon_video_prev_time:before { content: '\e82c'; }

.icon_area:before { content: '\E81A'; }
.icon_bed:before { content: '\E821'; }
.icon_home:before { content: '\E818'; }
.icon_calendar:before { content: '\E819'; }

.icon_close:before {content: '\E82C';}

/* ------------------------------- HEADER ------------------------------- */

/* common */

.header {padding: 16vh var(--padding-in) 0; min-height: calc(100vh - 90px); position: relative; overflow: hidden; margin-top: 32px;}
.header > img.main, .header > video {
    width: 100%; height: 100%; object-fit: cover; position: absolute; left: 0; top: 0; z-index: 0;
}
.header::before {content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0); z-index: 1;}
.header > img.bonus {position: absolute; right: 120px; top: 0; width: 140px; z-index: 2;}
.header > h1 {
    position: absolute; bottom: 60vh; z-index: 1; font-family: 'EuclidFlex', sans-serif;
    font-size: var(--font-140); color: #FFFFFF;
}

.header_sep {display: none; position: absolute; bottom: 58vh; left: 0; height: 1px; width: 100%; z-index: 1; background: #fff;}

.header_info {max-width: 420px; min-width: 400px; width: 50%; position: absolute; right: var(--padding-in); bottom: 10vh; z-index: 1;}
.header_info > p {color: #FFFFFF; font-size: var(--font-20);}
.header_info > .btn_primary_row {margin-top: 40px; display: flex; align-items: center; gap: 20px;}
.header_info > .btn_primary_row > .btn_primary_wrap {flex: 0 0 auto; width: 300px; height: 66px;}
.header_info > .btn_primary_row > #header_petrol {flex: 0 1 auto; max-width: 500px; min-width: 245px; height: 66px;}

.petrol {display: flex; align-items: center; height: 56px; background: rgba(0, 0, 0, 0.30); backdrop-filter: blur(2.5px); padding: 8px 20px;}
.petrol > div:nth-of-type(1) {width: 32px; height: 32px; min-width: 32px; display: flex; align-items: center; justify-content: center; border-radius: 4px;}
.petrol > div:nth-of-type(1) > i {color: #C7B090; font-size: 32px; line-height: 1;}
.petrol > div:nth-of-type(2) {color: #FFF; font-size: var(--font-17); line-height: 120%; padding-left: 20px;}
.petrol > div:nth-of-type(2) > span {font-weight: 500; text-transform: uppercase;}

@media only screen and (max-width: 1600px) {
}

@media only screen and (max-width: 1280px) {
    .header > img.bonus {width: auto; height: 15vh;}
    .header_info > .btn_primary_row > #header_petrol {max-width: 300px;}
}

@media only screen and (max-width: 1024px) {
    .header {padding: 16vh var(--padding-in) 0; min-height: calc(100vh - 124px); margin-top: 20px;}
    .header > h1 {font-size: 54px; position: relative; bottom: initial; z-index: 2;}
    .header_sep {display: none;}
    .header_info {position: relative; bottom: initial; left: initial; right: initial; width: 100%; max-width: 500px;}
    .header_info > p {padding-top: 20px; font-size: 18px;}
    .header_info > p > br {display: none;}
    .header_info > .btn_primary_row {margin-top: 20px; flex-direction: column; align-items: stretch; gap: 16px;}
    .header_info > .btn_primary_row > .btn_primary_wrap {width: 100%;}
    .header_info > .btn_primary_row > #header_petrol {min-width: 0; max-width: 400px;}
    .petrol {height: auto; padding: 14px 16px;}
    .petrol > div:nth-of-type(2) {padding-left: 16px; font-size: 17px;}
    .header > img.bonus {width: 90px; height: auto; right: 8px; z-index: 1;}
}

@media only screen and (max-width: 1024px) and (max-height: 800px) {
    .header {padding: 8vh var(--padding-in) 0;}
}

/* slider */

.header_slider {position: absolute; bottom: 6vh; z-index: 1; max-width: 430px; border-bottom: 1px solid #FFFFFF;}

#header_slider_title {
    padding-bottom: 32px; color: #FFFFFF; font-size: var(--font-22); font-weight: 500; display: flex; align-items: center;
    border-bottom: 1px solid #FFFFFF;
}
#header_slider_title > i {font-size: 24px; margin-right: 14px;}

#header_slider_items {
    display: flex; flex-direction: column; position: relative; top: -1px; height: 91px; overflow: hidden;
    border-top: 1px solid #FFFFFF;
}
#header_slider_items_wrap {position: relative; will-change: transform; transition: transform 0.8s ease-in-out;}
#header_slider_items_wrap.instant {transition: none;}
#header_slider_items_wrap > span {
    display: flex; align-items: center; height: 90px; color: #FFFFFF; font-size: var(--font-22); font-weight: 300;
}
#header_slider_items_wrap > span > i {font-size: 24px; margin-right: 14px;}

@media only screen and (max-width: 1024px) {
    .header_slider {max-width: 400px; width: calc(100% - var(--padding-in) * 2);}
    #header_slider_title {font-size: 18px; padding-bottom: 20px;}
    #header_slider_items_wrap > p {padding: 20px 0;}
}

@media only screen and (max-width: 360px) {
    .header_slider {bottom: 4vh;}
    #header_slider_items_wrap > span {font-size: var(--font-20);}
}

/* ------------------------------- LIFE ------------------------------- */

#life {padding: var(--margin-block) 0;}
.life {display: flex; align-items: flex-start;}
.life > div:nth-child(1) {margin-left: var(--padding-in); width: calc(40% - 93px); padding-right: 20px;}
.life > div:nth-child(1) .btn_primary_row {margin-top: 20px; display: flex; flex-direction: column; gap: 20px;}
.life > div:nth-child(1) .btn_primary_wrap {max-width: 425px;}
.life > div:nth-child(1) .petrol {background: none; border: 1px solid #111111; color: #111111; max-width: 425px;}
.life > div:nth-child(1) .petrol > div:nth-of-type(1) > i {color: #1B1B77;}
.life > div:nth-child(1) .petrol > div:nth-of-type(2) {color: #111111;}
.life > div:nth-child(2) {width: calc(60% - 93px); display: flex; flex-wrap: wrap;}
.life > div:nth-child(2) > div {width: 50%;}
.life > div:nth-child(2) > div:nth-child(-n+2) {margin-bottom: 66px;}
.life > div:nth-child(2) > div > .title {font-size: var(--font-50); font-weight: 500;}
.life > div:nth-child(2) > div > .title > span {font-size: var(--font-90); font-weight: 500;}
.life > div:nth-child(2) > div > .desc {font-size: var(--font-20); padding-top: 16px;}
.life > div:nth-child(2) > .btn_primary_wrap {display: none;}

.contacts .btn_primary_row {margin-top: 20px; display: flex; flex-direction: column; gap: 20px;}
.contacts .request_btn_wrap {max-width: 425px;}
.contacts .petrol {background: none; border: 1px solid #111111; color: #111111; max-width: 425px;}
.contacts .petrol > div:nth-of-type(1) > i {color: #1B1B77;}
.contacts .petrol > div:nth-of-type(2) {color: #111111;}

@media only screen and (max-width: 1400px) {
    .life > div:nth-child(1) {width: 40%; min-width: 320px;}
    .life > div:nth-child(2) {width: 60%;}
}

@media only screen and (max-width: 1024px) {
    .life {flex-direction: column;}
    .life > div:nth-child(1) .btn_primary_wrap {max-width: 400px;}
    .life > div:nth-child(1) .petrol {max-width: 400px;}
    .life > div:nth-child(1) {width: 100%; padding: 0; margin-left: 0;}
    .life > div:nth-child(2) {width: 100%; padding: 0; margin-top: 40px;}
    .life > div:nth-child(2) {flex-wrap: wrap;}
    .life > div:nth-child(2) > div:nth-child(-n+2) {margin-bottom: 40px;}
    .life > div:nth-child(2) > div > .title {font-size: 20px;}
    .life > div:nth-child(2) > div > .title > span {font-size: 34px;}
    .life > div:nth-child(2) > div > .desc {font-size: 12px; padding-top: 12px; padding-right: 20px;}
    .life > div:nth-child(1) > .btn_primary_wrap {max-width: 400px; width: 100%; display: none;}
    .life > div:nth-child(2) > .btn_primary_wrap {display: block; width: 100%; margin-top: 40px;}

    .contacts .request_btn_wrap {max-width: 400px;}
    .contacts .petrol {max-width: 400px;}
}

@media only screen and (max-width: 400px) {
    .life > div:nth-child(2) > div > .desc {padding-right: 0;}
}

.popup {position: fixed; top: 0; z-index: 12; padding: 12px; background: #FFFFFF; box-shadow: 0 8px 32px 0 rgba(12, 16, 24, 0.12); display: none; align-items: center; font-size: 14px; }
.popup.active {display: flex;}

/* ------------------------------- ABOUT MAP ------------------------------- */

.about_map {background: #EBEBEC; display: flex; align-items: center; position: relative;}
.about_map > div {padding: 100px 0 100px var(--padding-in);}
.about_map > div > .desc {font-size: var(--font-26); padding-top: 24px;}
.about_map > div > .times {margin-top: 160px; display: flex;}
.about_map > div > .times > div {display: flex; align-items: flex-start; margin-right: 120px;}
.about_map > div > .times > div:last-child {margin-right: 0;}
.about_map > div > .times > div > i {font-size: 100px; color: #0C0C54; margin-right: 20px; position: relative; top: -10px;}
.about_map > div > .times > div > div > .title {font-size: var(--font-50); font-weight: 500;}
.about_map > div > .times > div > div > .title > span {font-size: var(--font-90);}
.about_map > div > .times > div > div > .desc {font-size: var(--font-20); max-width: 260px; padding-top: 20px;}
.about_map > div > .times > div > div > .desc > i {cursor: pointer; color: #7F7F7F;}
.about_map > lottie-player {width: 50%; height: 100%; object-fit: contain; position: absolute; right: 0; pointer-events: none;}

.about_info_1 {padding: 100px var(--padding-in); background: #111111; position: relative;}
.about_info_1 > p {
    font-size: var(--font-40); font-family: 'EuclidFlex', sans-serif; color: #FFFFFF;
    max-width: 950px; width: 60%;
}
.about_info_1 > p:first-of-type {font-weight: 500;}
.about_info_1 > p:last-of-type {font-size: var(--font-26); font-weight: 300; margin-top: 60px;}
.about_info_1 > img {max-width: 600px; width: 30%; position: absolute; bottom: -100px; right: var(--padding-in);}

.about_info_2 {padding: 40px var(--padding-in) var(--margin-block); display: flex; align-items: center;}
.about_info_2 > img {width: 40%; max-width: 620px; margin-right: var(--margin-block);}
.about_info_2 > div {width: 60%; max-width: 762px;}
.about_info_2 > div > p {font-size: var(--font-26); font-family: 'EuclidFlex', sans-serif; margin-bottom: 64px;}
.about_info_2 > div > p:last-child {margin-bottom: 0;}

.about_info_3 {display: flex; overflow: hidden; margin-top: var(--margin-block);}
.about_info_3 > div {width: 25%; height: 26vw; margin-right: 20px; position: relative; cursor: pointer;}
.about_info_3 > div > img:nth-of-type(2) {display: none;}
.about_info_3 > div > img:nth-of-type(3), .about_info_3 > div.active > img:nth-of-type(3) {
    visibility: hidden; opacity: 0; transition: .6s ease-in-out; position: absolute;
    left: 0; top: 0; width: 100%; height: unset; max-height: 500px;
}
.about_info_3 > div.active > img:nth-of-type(3) {visibility: visible; opacity: 1;}
.about_info_3 > div.active > div {color: #FFFFFF;}
.about_info_3 > div > div {
    position: absolute; left: 15%; top: 0; z-index: 2; display: flex; transition: .6s ease-in-out;
    flex-direction: column; -webkit-justify-content: center; width: 100%; height: 100%;
}
.about_info_3 > div > div > p {width: 70%;}
.about_info_3 > div > div > .title {font-size: var(--font-50); font-weight: 500;}
.about_info_3 > div > div > .title > span {font-size: var(--font-80); padding-top: 16px;}
.about_info_3 > div > div > .desc {font-size: var(--font-20); padding-top: 8px;}
.about_info_3 > div:nth-child(4) > div {padding-top: 20%;}
.about_info_3 > div:nth-child(3) > div {padding-top: 20%;}
.about_info_3 > div:nth-child(2) > div {padding-top: 20%;}
.about_info_3 > div:nth-child(2) > div {left: 25%;}
.about_info_3 > div:nth-child(2) > div > p {width: 50%;}
.about_info_3 > div:last-child {margin-right: 0;}

@media only screen and (max-width: 1400px) {
    .about_info_1 > img {bottom: -50px;}
}

@media only screen and (max-width: 1024px) {
    .about_map > div {padding: 40px var(--padding-in); margin: 0; width: 100%;}
    .about_map > div > .desc {font-size: 18px; padding-top: 20px;}
    .about_map > div > .times {margin-top: 40px; max-width: 360px;}
    .about_map > div > .times > div {margin-right: 0; width: 50%;}
    .about_map > div > .times > div:last-child {width: 60%;}
    .about_map > div > .times > div > i {font-size: 30px; margin-right: 12px;}
    .about_map > div > .times > div > div > .title {font-size: 28px; padding-top: 0;}
    .about_map > div > .times > div > div > .title > span {font-size: 28px;}
    .about_map > div > .times > div > div > .desc {padding-top: 8px; font-size: 14px;}
    .about_map > lottie-player {position: relative; width: 100%; padding-bottom: 40px; margin: 0; max-width: 400px;}
    .about_info_1 {padding: 40px var(--padding-in);}
    .about_info_1 > p {font-size: 24px; width: 100%; max-width: 400px; margin: 0 0 1rem;}
    .about_info_2 {padding: 100px var(--padding-in) var(--margin-block);}
    .about_info_2 > div {max-width: 400px; width: 100%;}
    .about_info_2 > div > p {margin-bottom: 20px; font-size: 18px;}
    .about_info_3 {padding: var(--margin-block) 0 0;}
    .about_info_3 > div {min-width: 166px; margin-right: 10px;}
    .about_info_3 > div:nth-child(4) > div {padding-top: 0;}
    .about_info_3 > div:nth-child(3) > div {padding-top: 0;}
    .about_info_3 > div:nth-child(2) > div {padding-top: 0;}
    .about_info_3 > div > div > .title {font-size: 20px;}
    .about_info_3 > div > div > .title > span {font-size: 34px;}
    .about_info_3 > div > div > .desc {padding-top: 12px; font-size: 14px;}
}

@media only screen and (max-width: 1024px) {
    .about_info_3 {flex-wrap: wrap; -webkit-justify-content: center; max-width: 400px; margin: 0 auto;}
    .about_info_3 > div {height: auto;}
    .about_info_3 > div:nth-child(-n+2) {margin-bottom: 10px;}
    .about_info_3 > div:nth-child(2n) {margin-right: 0;}
    .about_info_3 > div:nth-child(1) {order: 1;}
    .about_info_3 > div:nth-child(4) {order: 2;}
    .about_info_3 > div:nth-child(3) {order: 3;}
    .about_info_3 > div:nth-child(2) {order: 4;}
    .about_info_3 > div > div > p {width: 75%;}
    .about_info_3 > div:nth-child(4) > div {margin-top: 20px;}
    .about_info_3 > div:nth-child(2) > div > p {width: 75%;}
    .about_info_3 > div:nth-child(2) > div > p.desc {width: 60%;}
    .about_info_3 > div:nth-child(2) > div {margin-left: -10px; margin-top: 30px;}
}

@media only screen and (max-width: 700px) {
    .about_map {flex-direction: column;}
    .about_map > div {max-width: 400px;}
    .about_info_1 {display: flex; flex-direction: column;}
    .about_info_1 > p {margin: 0 auto 1rem;}
    .about_info_1 > p:nth-child(2) {margin-bottom: -60px;}
    .about_info_1 > img {position: relative; bottom: -100px;}
    .about_info_1 > img {width: 298px; margin: 0 auto; left: 0;}
    .about_info_2 {flex-direction: column-reverse;}
    .about_info_2 > img {margin: 40px auto 0;}
    .about_info_2 > img {width: 298px; margin-right: auto;}
}

@media only screen and (max-width: 375px) {
    .about_info_3 > div {min-width: 150px; width: calc(50% - 5px);}
}

/* ------------------------------- BANNER ------------------------------- */

.banner {position: relative; padding: 200px 0; overflow: hidden;}
.banner > img {width: 100%; height: 150%; object-fit: cover; position: absolute; left: 0; top: 0;}
.banner > h2 {color: #FFFFFF; text-align: center; z-index: 2; position: relative; font-size: var(--font-60);}
.banner > .btn_primary_wrap {position: relative; z-index: 2; margin: 65px auto 0; width: calc(100% - 32px);}

@media only screen and (max-width: 1024px) {
    .banner {padding: 150px 0;}
    .banner > .btn_primary_wrap {margin: 40px auto 0;}
    .banner > h2 {font-size: 22px;}
}

/* ------------------------------- ADVANTAGES ------------------------------- */

#advantages {margin-top: var(--margin-block);}
#advantages.ipoteka {background: #EFECE5; padding: var(--padding-in) 0;}
.advantages_head {display: flex; align-items: center; padding-left: var(--padding-in); margin-bottom: 60px;}
.advantages_head > p {margin-left: 3vw; font-size: var(--font-20); max-width: 900px;}
.advantages_items {padding-left: var(--padding-in); margin-left: auto; max-width: 1260px; min-width: 900px;}
.advantages_item {border-top: 1px solid #BDBDBD; position: relative;}
.advantages_item::before {
    background: url(/images/highwood/backgrounds/advantages_1.jpg?2) left top / auto 500px no-repeat; position: absolute; left: 0; top: 0;
    width: 100%; height: 100%; content: ""; opacity: 0; transition: opacity .3s ease-in-out;
}
.advantages_item:nth-child(1)::before {background: url(/images/highwood/backgrounds/advantages_1.jpg?2) left top / auto 500px no-repeat;}
.advantages_item:nth-child(2)::before {background: url(/images/highwood/backgrounds/advantages_2.jpg?2) left top / auto 500px no-repeat;}
.advantages_item:nth-child(3)::before {background: url(/images/highwood/backgrounds/advantages_3.jpg?2) left top / auto 500px no-repeat;}
.advantages_item:nth-child(4)::before {background: url(/images/highwood/backgrounds/advantages_4.jpg?2) left top / auto 500px no-repeat;}
.advantages_item:nth-child(5)::before {background: url(/images/highwood/backgrounds/advantages_5.jpg?2) left top / auto 500px no-repeat;}
.advantages_item_head {display: flex; align-items: center; padding: 24px 20px; cursor: pointer; position: relative; z-index: 2; transition: .3s ease-in-out;}
.advantages_item_head > p:nth-child(1) {font-size: var(--font-20); min-width: 100px; width: 100px;}
.advantages_item_head > div {display: flex; align-items: center;}
.advantages_item_head > div > p:nth-child(1) {font-size: var(--font-22); text-transform: uppercase; font-weight: 500; min-width: 300px; width: 300px;}
.advantages_item_head > div > p:nth-child(2) {font-size: var(--font-20); padding-right: 40px;}
.advantages_item_head > .close {min-width: 24px; width: 24px; height: 24px; position: relative; margin-left: auto;}
.advantages_item_head > .close::before {content: ""; position: absolute; top: 0; left: 11px; width: 2px; height: 100%; background: #7F7F7F; transition: .3s ease-in-out;}
.advantages_item_head > .close::after {content: ""; position: absolute; top: 11px; left: 0; width: 100%; height: 2px; background: #7F7F7F; transition: .3s ease-in-out;}
.advantages_item_head > .close:hover::before {background: #515151;}
.advantages_item_head > .close:hover::after {background: #515151;}
.advantages_item_body {
    opacity: 0; max-height: 0; height: 100%; position: relative; z-index: 2; transition: .3s ease-in-out; overflow: hidden;
    max-width: 710px; margin-left: auto; margin-right: var(--padding-in); color: #FFFFFF; font-size: var(--font-26);
}
.advantages_item_body > p {padding-top: 200px; padding-bottom: 40px;}
.advantages_item.active::before {opacity: 1;}
.advantages_item.active > .advantages_item_head {color: #FFFFFF;}
.advantages_item.active > .advantages_item_body {opacity: 1;}
.advantages_item.active > .advantages_item_head > .close::after {background: #BDBDBD;}
.advantages_item.active > .advantages_item_head > .close::before {opacity: 0;}

#advantages.ipoteka .advantages_item::before {background: none;}
#advantages.ipoteka .advantages_item.active > .advantages_item_head {color: #232323;}
#advantages.ipoteka .advantages_item.active > .advantages_item_head > .close::after {background: #7F7F7F;}
#advantages.ipoteka .advantages_item_body {color: #232323;}

@media only screen and (max-width: 1400px) {
    .advantages_head {margin-bottom: 50px; padding-left: 0;}
    .advantages_items {padding-left: 0; width: 60%;}
}

@media only screen and (max-width: 1200px) {
    .advantages_head {flex-direction: column; align-items: flex-start;}
    .advantages_head > p {margin-left: 0; padding-top: 20px;}
}

@media only screen and (max-width: 1024px) {
    #advantages.ipoteka {padding: 60px 0;}
    .advantages_head {padding: 0 0; margin-bottom: 40px;}
    .advantages_head > p {font-size: 16px;}
    .advantages_items {padding: 0 0; min-width: 0; width: 100%;}
    .advantages_item_head {padding: 13px 8px; align-items: flex-start;}
    .advantages_item_head > div {flex-direction: column; align-items: flex-start;}
    .advantages_item_head > div > p:nth-child(1) {font-size: 17px; min-width: 0; width: 100%;}
    .advantages_item_head > div > p:nth-child(2) {padding-right: 8px; font-size: 12px; padding-top: 8px;}
    .advantages_item_head > div > p:nth-child(2) > br {display: none;}
    .advantages_item_head > p:nth-child(1) {width: 40px; min-width: 40px; font-size: 16px;}
    .advantages_item_body {margin-right: 0; font-size: 17px; max-width: 100%; margin-left: 50px;}
    .advantages_item_body > p {padding-top: 0; padding-bottom: 100px;}
    .advantages_item_head > .close {min-width: 16px; width: 16px; height: 16px;}
    .advantages_item_head > .close::before {left: 7px; width: 2px;}
    .advantages_item_head > .close::after {top: 7px; height: 2px;}
    .advantages_item:nth-child(1)::before {background: url(/images/highwood/backgrounds/advantages_1.jpg?2) center top / auto 400px no-repeat;}
    .advantages_item:nth-child(2)::before {background: url(/images/highwood/backgrounds/advantages_2.jpg?2) center top / auto 400px no-repeat;}
    .advantages_item:nth-child(3)::before {background: url(/images/highwood/backgrounds/advantages_3.jpg?2) center top / auto 400px no-repeat;}
    .advantages_item:nth-child(4)::before {background: url(/images/highwood/backgrounds/advantages_4.jpg?2) center top / auto 400px no-repeat;}
    .advantages_item:nth-child(5)::before {background: url(/images/highwood/backgrounds/advantages_5.jpg?2) center top / auto 400px no-repeat;}
    .advantages_item.active > .advantages_item_body {margin-top: 140px; padding-bottom: 26px;}
}

/* ------------------------------- INFRA ------------------------------- */

#infra {margin-top: var(--margin-block); overflow: hidden;}
.infra {background: url(/images/highwood/backgrounds/infra.svg) center 200px / 100% auto no-repeat, linear-gradient(to bottom, #FFFFFF 50%, #EBEBEC 50%); transition: background 2s ease-in-out;}
.infra.is-inview {background: url(/images/highwood/backgrounds/infra.svg) center 0 / 100% auto no-repeat, linear-gradient(to bottom, #FFFFFF 50%, #EBEBEC 50%);}
.infra > h2 {padding-left: var(--padding-in); padding-top: var(--margin-block);}
.infra > .desc {max-width: 770px; width: 100%; margin: 0 auto; padding-bottom: var(--padding-in); font-size: var(--font-26); padding-top: 45px;}
.infra > .infra_slider {display: flex; padding-bottom: 100px;}
.infra > .infra_slider > .slider {width: calc(50% + 28px); min-height: 500px; position: relative; left: -28px; margin-right: 3vw; overflow: hidden;}
.infra > .infra_slider > .slider img {width: 500px; margin-right: 28px;}
.infra > .infra_slider > .slider .flickity-prev-next-button {top: calc(100% + 51px); transition: background .3s ease-in-out;}
.infra > .infra_slider > .slider .flickity-prev-next-button:hover {background: #0C0C5430;}
.infra > .infra_slider > .slider .flickity-prev-next-button.previous {left: calc(100% - 144px);}
.infra > .infra_slider > .slider .flickity-prev-next-button.next {right: 0;}
.infra > .infra_slider > .slider .flickity-prev-next-button {background: none; width: 62px; height: 62px; margin-top: 6px; border: 1px solid #111111;}
.infra > .infra_slider > .info > h3 {font-size: var(--font-44); font-family: 'EuclidFlex', sans-serif; max-width: 640px;}
.infra > .infra_slider > .info > ul {list-style: disc; padding-inline-start: 20px; padding-top: 40px;}
.infra > .infra_slider > .info > ul > li {list-style: disc; font-size: var(--font-20); margin-bottom: 16px;}
.infra > .infra_slider.reverse {flex-direction: row-reverse;}
.infra > .infra_slider.reverse > .slider .flickity-prev-next-button {top: calc(100% + 51px);}
.infra > .infra_slider.reverse > .slider .flickity-prev-next-button.previous {left: 0;}
.infra > .infra_slider.reverse > .slider .flickity-prev-next-button.next {right: calc(100% - 144px);}
.infra > .infra_slider.reverse > .slider {left: auto; right: -28px; margin-right: 0; margin-left: 3vw;}

@media only screen and (max-width: 1400px) {
    .infra > h2 {padding-left: 0;}
    .infra > .infra_slider {padding-bottom: 80px;}
    .infra > .infra_slider > .slider {margin-right: 20px; min-height: 418px;}
    .infra > .infra_slider.reverse > .slider {margin-left: 20px;}
    .infra > .infra_slider > .slider img {width: 400px;}
    .infra {background: url(/images/highwood/backgrounds/infra_m.svg) center 200px / 100% auto no-repeat, linear-gradient(to bottom, #FFFFFF 50%, #EBEBEC 50%);;}
    .infra.is-inview {background: url(/images/highwood/backgrounds/infra_m.svg) center 0 / 100% auto no-repeat, linear-gradient(to bottom, #FFFFFF 50%, #EBEBEC 50%);;}
}

@media only screen and (max-width: 1200px) {
    .infra > .infra_slider > .slider img {width: 300px;}
}

@media only screen and (max-width: 1024px) {
    .infra {padding-bottom: 30px;}
    .infra > h2 {padding: 54px var(--padding-in) 0;}
    .infra > .desc {padding-top: 20px; font-size: 16px; max-width: 270px; padding-bottom: 40px;}
    .infra > .infra_slider {flex-direction: column; padding-bottom: 20px;}
    .infra > .infra_slider.reverse {flex-direction: column; padding-bottom: 40px;}
    .infra > .infra_slider > .slider {width: 100%; margin-right: 0; left: 0; min-height: 356px;}
    .infra > .infra_slider > .slider img {width: 75%; max-height: 275px; object-fit: cover; margin-right: 10px;}
    .infra > .infra_slider > .slider .flickity-prev-next-button {width: 48px; height: 48px; top: calc(100% + 44px);}
    .infra > .infra_slider > .slider .flickity-prev-next-button.previous {left: calc(100% - 114px);}
    .infra > .infra_slider > .slider .flickity-prev-next-button.next {right: 8px;}
    .infra > .infra_slider.reverse > .slider {margin-left: 0; right: 0;}
    .infra > .infra_slider.reverse > .slider .flickity-prev-next-button.previous {left: calc(100% - 114px);}
    .infra > .infra_slider.reverse > .slider .flickity-prev-next-button.next {right: 8px;}
    .infra > .infra_slider > .info  {padding: 20px var(--padding-in) 0;}
    .infra > .infra_slider > .info > h3 {font-size: 28px;}
    .infra > .infra_slider > .info > ul {padding-top: 20px;}
    .infra > .infra_slider > .info > ul > li {font-size: 16px; margin-bottom: 12px;}
}

@media only screen and (max-width: 390px) {
    .infra > .infra_slider > .slider {min-height: 316px;}
}

/* ------------------------------- PLAN ------------------------------- */

#plan {margin-top: var(--margin-block); overflow: hidden;}
#plan_main {overflow: hidden; position: relative;}
#plan_block {overflow: hidden;}
#plan_block svg {display: block;}
#plan_pan {-webkit-transform: translateZ(0); transform: translateZ(0);}
#plan_main h2 {position: absolute; left: var(--padding-in); top: 44px; color: #FFFFFF; z-index: 2;}
#plan_main .sites_info {position: absolute; left: var(--padding-in); bottom: 44px; display: flex; width: 600px;}
#plan_main .sites_info > div {width: 33.3%;}
#plan_main .sites_info > div > .title {font-size: var(--font-90); color: #FFFFFF;}
#plan_main .sites_info > div > .desc {font-size: var(--font-30); color: #FFFFFF; padding-top: 16px;}

.plan_compass {min-width: 70px; width: 8vw; position: absolute; top: 50px; right: 50px; z-index: 2;}

.land-free {fill: rgba(39, 199, 107, 0); stroke: rgba(39, 199, 107, 0);}
.selected-free {fill: rgba(39, 199, 107, 0.4); stroke: rgba(39, 199, 107, 1);}
#l_217.selected-free {fill: #32BD6C; stroke: #32BD6C;}
.land-occupied {fill: rgba(241, 193, 0, 0); stroke: rgba(241, 159, 0, 0);}
.number-occupied {fill: #C7B090; stroke: #FFFFFF;}
.selected-occupied {fill: #C7B09080; stroke: #C7B090;}
.land-sold {fill: rgba(255, 12, 28, 0); stroke: rgba(255, 58, 61, 0);}
.selected-sold {fill: #7F7F7F80; stroke: #BDBDBD;}
.number-sold {fill: #7F7F7F; stroke: #BDBDBD; color: #FFFFFF;}
.txt-sold {stroke: #FFFFFF; fill: #FFFFFF;}

.land-unmeasured {fill: rgba(255, 255, 255, 0); stroke: rgba(255, 255, 255, 0);}
.selected-unmeasured {fill: rgba(255, 255, 255, 0.5); stroke: rgba(255, 255, 255, 0);}
.number-unmeasured {fill: #FFFFFF !important; stroke: none !important;}
.txt-unmeasured {fill: #7F7F7F !important; stroke: none !important;}

.info_block {
    position: absolute; background: #fff; padding: 15px 12px; font-size: 14px; border-radius: 4px; scale: 0;
    transition: scale .3s ease-in-out; user-select: none; z-index: 10; pointer-events: none;
}
.info_block.active {display: block; scale: 1; pointer-events: auto;}

.info_block > .head {display: flex; align-items: center;}
.info_block > .head > .features {display: flex; align-items: center; font-size: 14px; text-transform: lowercase; margin-right: 12px;}
.info_block > .head > .features > i {font-size: 16px; margin-right: 6px;}
.info_block > .head > .features > i.icon_forest {color: #253D2F;}
.info_block > .head > .features > i.icon_central {color: #C7B090;}
.info_block > .head > .features > i.icon_water {color: #0071FF;}
.info_block > .head > .title {font-size: 14px; margin-left: auto;}
.info_block > .status {font-size: 20px; display: flex; align-items: center; padding-top: 20px;}
.info_block > .status > span {min-width: 7px; height: 7px; border-radius: 50%; display: block; margin-right: 9px;}
.info_block > .status.green > span {background: #32BD6C;}
.info_block > .status.red > span {background: #7F7F7F;}
.info_block > .status.orange > span {background: #C7B090;}
.info_block > .status.grey > span {background: #7F7F7F;}
.info_block > .info {display: flex; align-items: center; padding-top: 20px;}
.info_block > .info > .square {font-size: 14px;}
.info_block > .info > .price {font-size: 14px; margin-left: 40px;}
.info_block > .btn_primary_wrap {height: 36px; font-size: 12px; margin-top: 20px; white-space: nowrap;}

.info_block .photo {display: flex;}
.info_block .photo > img {display: flex; max-width: 200px; width: 100%; border-radius: 8px; overflow: hidden;}
.info_block_photo {width: 300px; display: flex; align-items: flex-end;}
.info_block_photo.active {display: flex;}
.info_block_photo > img {width: 120px; margin-right: 12px;}
.info_block_photo .title {font-size: 18px;}
.info_block_photo .desc {font-size: 14px; padding-top: 6px;}

.info_block.mobile {padding: 32px 24px; width: 300px; display: flex; flex-direction: column;}
.info_block.mobile .title {color: #1A2A41; font-size: 22px; margin-bottom: 5px; font-weight: 600; order: 2;}
.info_block.mobile .text-grey {font-size: 22px; margin-bottom: 5px; font-weight: 500; order: 3;}
.info_block.mobile .price {font-size: 28px; color: #2CAFF9; order: 4; margin-bottom: 16px;}
.info_block.mobile .text-green {
    width: fit-content; font-size: 16px !important; font-weight: 500; color: #2B983C; border-radius: 16px;
    border: 1px solid #2B983C; background: #E0FFE4; padding: 6px 10px; order: 1; margin-top: 0; margin-bottom: 16px;
}
.info_block.mobile .text-red {
    width: fit-content; font-size: 16px !important; font-weight: 500; color: #C74022; border-radius: 16px;
    border: 1px solid #C74022; background: #FFE2DB; padding: 6px 10px; order: 1; margin-top: 0; margin-bottom: 16px;
}
.info_block.mobile .text-orange {
    width: fit-content; font-size: 16px !important; font-weight: 500; color: #E6AB38; border-radius: 16px;
    border: 1px solid #E6AB38; background: #FFF7E7; padding: 6px 10px; order: 1; margin-top: 0; margin-bottom: 16px;
}
.info_block.mobile .btn_primary_wrap {
    display: block; order: 5; height: 54px; line-height: 54px; transition: none;
}
.info_block.mobile .modal_popup_close {right: 16px; top: 16px; display: flex;}
#swipe_block {display: none;}

.plan_menu {display: none; flex-wrap: wrap; padding: 12px 0 0; width: 100%; user-select: none; text-align: left;}
.plan_menu .active {border: 1px solid #34A8E9;}
.plan_menu > a {
    border: 1px solid #D9D9D9; line-height: 30px; font-size: 12px; padding: 0 10px; margin-right: 8px; border-radius: 0;
    position: relative; margin-bottom: 8px; cursor: pointer; text-decoration: none; color: #232323; display: flex; align-items: center;
    transition: all 0.35s ease-out;
}
.plan_menu > a.new {width: fit-content; border: 1px solid #FF7700;}
.plan_menu > a.new > img {width: 12px; display: block; margin-right: 8px;}
.plan_menu > a.new:hover {background-color: #FF770033; border-color: #FF7700;}
.plan_menu > a.new.active, .plan_menu > a.new:hover.active {background-color: #FF7700; border-color: #FF7700; color: #FFFFFF;}
.plan_menu > a:hover {background-color: #CCCCCC66; border-color: #CCCCCC66;}
.plan_menu > a.active, .plan_menu > a:hover.active {background-color: #CCCCCC66; border-color: #CCCCCC66;}

@media only screen and (max-width: 1024px) {
    #plan {padding-top: 140px; margin-top: 0;}
    #plan_main {overflow-x: hidden; overflow: unset; padding: 90px 0 0;}
    #plan_main h2 {top: -70px; left: 0; color: #232323;}
    #plan_main .sites_info {top: 0; left: 0; height: fit-content; width: 100%; max-width: 400px; padding: 0;}
    #plan_main .sites_info > div > .title {color: #232323; font-size: 34px; font-weight: 500; line-height: 32px;}
    #plan_main .sites_info > div > .desc {color: #232323; font-size: 12px; padding-top: 8px;}
    #plan_pan {height: auto;}
    #plan_block {height: auto; position: relative; border-radius: 0;}
    #swipe_block {
        display: none !important; width: 100%; height: 100%; position: absolute; bottom: 0; left: 0; background: rgba(35, 35, 35, 0.7); z-index: 99;
    }
    #swipe_block > img {width: 30px; height: 30px; display: block; margin: 30px auto 20px;}
    #swipe_block > p {font-size: 16px; padding: 0 30px; text-align: center; color: #FFFFFF;}
    .plan_compass {min-width: 40px; width: 40px; top: 20px; right: 20px; display: none;}
    .info_block {min-width: 70px; padding: 8px;}
    .info_block > .status {padding-top: 4px; font-size: 8px;}
    .info_block > .status > span {min-width: 4px; height: 4px; margin-right: 4px;}
    .info_block > .head > .features {display: none;}
    .info_block > .head > .title {margin-left: 0; font-size: 6px;}
    .info_block > .info > .square {font-size: 6px;}
    .info_block > .info > .price {font-size: 6px; margin-top: 2px;}
    .info_block > .info {padding-top: 2px; flex-direction: column; align-items: flex-start;}
    .info_block > .info > .price {margin-left: 0; margin-top: 4px;}
    .info_block > .btn_primary_wrap {display: none;}
    .info_block_photo {max-width: 150px; width: fit-content; align-items: center;}
    .info_block_photo > img {width: 20px; margin-right: 4px;}
    .info_block_photo .title {font-size: 8px;}
    .info_block_photo .desc {font-size: 6px; padding-top: 2px;}
    .plan_menu {display: flex;}
}

/* --------------------------- VIDEO PLAYER --------------------------- */

#atmosphere {margin-top: var(--margin-block);}
#atmosphere h2 {margin-left: var(--padding-in); margin-bottom: 40px;}

#video_modal {width: 100%; opacity: 1; pointer-events: auto; transition: all 0.35s ease-out;}

#video_modal.fullscreen .video_modal_menu {display: none;}
#video_modal.fullscreen .video_modal_body {height: 100vh; width: 100vw; position: absolute; top: 0;}
#video_modal.fullscreen .video_main {border-radius: 0; height: 100%; width: 100%; max-width: unset; max-height: unset;}

.video_modal_menu {height: 54px; position: absolute; display: flex; right: 0; top: 0; align-items: center; padding: 0 20px;}
.video_modal_menu > div:first-child {width: max-content; position: absolute; line-height: 54px; right: 63px; color: #FFF; font-size: 16px; font-weight: 500;}
.video_modal_menu > div > i {padding: 10px; font-size: 14px; color: #fff; position: absolute; top: 9px; right: 14px; opacity: 0.5; cursor: pointer; transition: all 0.35s ease-out;}
.video_modal_menu > div > i:hover {opacity: 1;}

.video_modal_body {height: calc(100vh - 100px); width: 100%; display: flex; -webkit-justify-content: center; align-items: center;}
.video_main {position: relative; border-radius: 0; overflow: hidden; max-width: 100%; max-height: 100%;}
.video_main > video {object-fit: cover; width: 100%; height: 100%;}
.video_main.fullscreen {width: 100%; height: 100%; position: fixed; top: 0; left: 0; z-index: 1000;}

.video_controls_footer_mobile {display: none; color: #FFFFFF; font-size: 20px;}
.video_controls {color: #FFFFFF; font-size: 16px; position: absolute; bottom: 0; left: 0; padding: 16px 40px; height: auto; width: 100%;}
.video_controls::after {content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(8, 9, 13, 0.00) 0%, rgba(8, 9, 13, 0.90) 80.37%);}

.video_controls_header {z-index: 2; position: relative; display: flex; margin-bottom: 16px;}
.video_time {margin-left: auto;}

.video_controls_progress {z-index: 2; position: relative; cursor: pointer; width: 100%; height: 3px; border-radius: 20px; background: #D9D9D966; transition: all .1s ease-in-out; margin-bottom: 16px;}
.video_progress {height: 100%; border-radius: 20px; background: #FFFFFF;}

.video_controls_footer {z-index: 2; position: relative; display: flex;}
.video_controls_footer > div {width: 48px; height: 48px; padding: 12px;}
.video_controls_footer > div.disabled {display: none;}
.video_controls_footer i, .video_controls_footer_mobile i {cursor: pointer; width: 24px; line-height: 24px; text-align: center; transition: all .3s ease-in-out;}
.video_controls_footer i:hover, .video_controls_footer_mobile i:hover {text-shadow: 0 0 10px #fff;}
.video_volume {margin-left: auto;}

@media only screen and (max-width: 1400px) {
    #atmosphere h2 {margin-left: 0;}
}

@media only screen and (max-width: 1024px) {
    #atmosphere h2 {margin-left: 0; margin-bottom: 20px;}
}

@media only screen and (max-width: 1000px) {
    .video_main {width: 100%;}
}

@media only screen and (max-width: 600px) {
    .video_controls {padding: 48px 32px 24px 32px;}
    .video_controls_progress {margin-bottom: 0;}
    .video_controls_footer {display: none;}
    .video_controls_footer_mobile {display: block;}
    .video_pause {
        position: absolute; transition: .5s ease-in-out; top: calc(50% - 29px); left: calc(50% - 29px);
        background: url(/images/highwood/video_control_place.svg) center / cover no-repeat; border-radius: 50%; text-align: center;
        width: 58px; height: 58px; line-height: 58px; box-shadow: -0.73px 0.73px 0.73px -1.46px rgba(255, 255, 255, 0.35) inset;
        backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    }
    .video_next_time {
        display: none; font-size: 16px; position: absolute; top: calc(50% - 16px); right: calc(50% - 80px);
        background: url(/images/highwood/video_control_place.svg) center / cover no-repeat; border-radius: 50%; text-align: center;
        width: 32px; height: 32px; line-height: 32px; box-shadow: -0.73px 0.73px 0.73px -1.46px rgba(255, 255, 255, 0.35) inset;
        backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    }
    .video_prev_time {
        display: none; font-size: 16px; position: absolute; top: calc(50% - 16px); left: calc(50% - 80px);
        background: url(/images/highwood/video_control_place.svg) center / cover no-repeat; border-radius: 50%; text-align: center;
        width: 32px; height: 32px; line-height: 32px; box-shadow: -0.73px 0.73px 0.73px -1.46px rgba(255, 255, 255, 0.35) inset;
        backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    }
    .video_fullscreen {
        position: absolute; transition: .5s ease-in-out; top: 12px; right: 12px; border-radius: 50%; line-height: 48px;
        background: url(/images/highwood/video_control_place.svg) center / cover no-repeat; text-align: center; width: 48px; height: 48px;
        box-shadow: -0.73px 0.73px 0.73px -1.46px rgba(255, 255, 255, 0.35) inset; backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    #video_modal.fullscreen .video_main {background: #000000;}
    #video_modal.fullscreen .video_main > video {object-fit: scale-down;}
    .video_main {width: 100%; height: auto; margin: 0;}
    .video_main.fullscreen {margin: 0; width: 100%;}
    #video_modal.fullscreen .video_main {margin: 0;}
}

/* ------------------------------- GALLERY 2 ------------------------------- */

#gallery_2 {margin-top: var(--margin-block); margin-bottom: var(--margin-block); overflow: hidden;}
#gallery_2 .wrap {overflow: unset;}
#gallery_2 h2 {text-align: left;}
.gallery_2_header {display: flex; justify-content: space-between; align-items: center; padding: 0 var(--padding-in);}
.gallery_2_header .gallery_2_controls {display: none;}
.gallery_2_controls {display: flex; align-items: center; gap: 20px;}
.gallery_2_arrow {
    width: 48px; height: 48px; border: 1px solid #253D2F; border-radius: 4px; display: flex; align-items: center;
    -webkit-justify-content: center; cursor: pointer; transition: background .3s ease-in-out;
}
.gallery_2_arrow:hover {background: #F3F3F3;}
.gallery_2_arrow.prev > i {rotate: 180deg;}
.gallery_2_arrow > i {font-size: 22px; color: #253D2F;}
.gallery_2_counter {font-size: 18px; color: #7F7F7F; white-space: nowrap; min-width: 50px;}
.gallery_2_counter > span:first-child {color: #C7B090; font-size: 26px;}
.gallery_2_slider {padding-left: var(--padding-in); margin-top: 40px; position: relative; user-select: none;}
.gallery_2_track {display: flex;}
.gallery_2_slide {flex: 0 0 auto; width: 55%; margin-right: 20px;}
.gallery_2_slide picture {display: block; width: 100%; height: 460px;}
.gallery_2_slide img {width: 100%; height: 100%; object-fit: cover; user-select: none; border-radius: 4px; display: block;}
.gallery_2_bottom {display: flex; align-items: center; gap: 46px; margin-top: 40px; padding: 0 0 0 var(--padding-in);}
.gallery_2_controls_desktop {display: flex;}
.gallery_2_thumbs {display: flex; gap: 20px; overflow-x: auto; flex: 1; scrollbar-width: none;}
.gallery_2_thumbs::-webkit-scrollbar {display: none;}
.gallery_2_thumb {
    flex: 0 0 auto; width: 140px; height: 90px; border-radius: 4px; overflow: hidden; cursor: pointer;
    opacity: 0.5; transition: opacity .3s ease-in-out; user-select: none;
}
.gallery_2_thumb.active {opacity: 1;}
.gallery_2_thumb:hover {opacity: 0.8;}
.gallery_2_thumb img {width: 100%; height: 100%; object-fit: cover; display: block;}

@media only screen and (max-width: 1024px) {
    .gallery_2_header {padding: 0 var(--padding-in);}
    .gallery_2_header .gallery_2_controls {display: flex;}
    .gallery_2_controls_desktop {display: none !important;}
    .gallery_2_arrow {width: 40px; height: 40px;}
    .gallery_2_counter {display: none;}
    .gallery_2_slider {margin-top: 20px;}
    .gallery_2_slide {width: calc(100% - 16px); margin-right: 10px;}
    .gallery_2_slide picture {min-height: 450px; aspect-ratio: 359 / 449;}
    .gallery_2_slide img {height: 100%;}
    .gallery_2_bottom {padding: 0 var(--padding-in); margin-top: 16px;}
    .gallery_2_thumb {width: 100px; height: 66px; border-radius: 4px;}
}

#photos_top_gallery_overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #111; z-index: 1999; opacity: 1; visibility: visible;
    overflow-y: auto; display: flex; flex-direction: column; height: 100vh; transition: opacity 0.35s ease;
}
#photos_top_gallery_overlay.collapse {opacity: 0; pointer-events: none;}

#photos_top_gallery_overlay > .top_block {
    height: 54px; min-height: 54px; border-bottom: 1px solid rgba(141, 151, 166, 0.5); display: flex; justify-content: space-between;
    align-items: center; padding: 0 14px 0 30px; top: 0; left: 0; right: 0; margin-bottom: 20px;
}
#photos_top_gallery_overlay > .top_block > p {color: #FFFFFF; font-weight: 500; font-size: 16px;}
#photos_top_gallery_overlay > .top_block > .icon_logo {display: none; font-size: 50px; color: #FFFFFF;}
#photos_top_gallery_overlay > .top_block > span {padding: 4px; cursor: pointer; color: #FFFFFF; rotate: 45deg;}

#photos_top_slider_images {
    height: calc(100vh - 85px - 100px); width: 80%; margin: 0 auto; display: flex; align-items: center; position: relative;
}
#photos_top_slider_images > div {padding-bottom: 10px;}
#photos_top_slider_images > div > img {max-height: 100%; width: auto; max-width: 100%; margin: 0 auto; border-radius: 8px;}

.photos_slide_img {
    position: absolute; top: 0; bottom: 0; left: 0; width: 100%; opacity: 0; z-index: 1; display: flex; align-items: center;
    transition: all 0.2s ease-out;
}
.photos_slide_img.visible {z-index: 5;}
.photos_slide_img.active {opacity: 1;}
.photo_slide_img > img {transition: all 0.2s ease-out;}

.gallery_modal_thumbs {height: 60px; margin-top: 20px; margin-bottom: 20px; padding: 0 20px;}
.gallery_modal_thumbs > div {overflow: auto; padding-bottom: 10px; text-align: center;}

.gallery_modal_thumbs > div > div {max-height: 60px; display: inline-flex; justify-content: center;}
.gallery_modal_thumbs > div > div > span {
    display: flex; width: 60px; height: auto; border-radius: 2px; overflow: hidden; position: relative; padding: 0 3px;
}
.gallery_modal_thumbs > div > div > span:not(.active) {position: relative;}
.gallery_modal_thumbs > div > div > span:not(.active)::before {
    display: block; content: ''; position: absolute; height: 100%; width: 100%; background: rgba(0, 0, 0, 0.4); border-radius: 2px;
}
.gallery_modal_thumbs > div > div > span.active:after {
    content: ''; border: 4px solid #0C0C54; position: absolute; top: 0; bottom: 0; left: 3px; right: 3px; border-radius: 4px; width: calc(100% - 3px);
}
.gallery_modal_thumbs > div > div:hover {border: none;}
.gallery_modal_thumbs > div > div > span:hover {cursor: pointer;}
.gallery_modal_thumbs > div > div > span > img {width: calc(100% - 3px); height: 100%; object-fit: cover; display: block; border-radius: 4px;}

#photos_top_slide_paginator {
    position: absolute; transform: translate(-50%, -50%); top: 50%; left: 50%; width: 98vw; display: flex;
    justify-content: space-between;
}
#photos_top_slide_paginator > .slide_paginator {border-radius: 50%; height: 44px; width: 44px; display: flex; -webkit-justify-content: center; align-items: center; cursor: pointer;}
#photos_top_slide_paginator > .slide_paginator:hover {background: rgba(188, 192, 198, 0.2);}
#photos_top_slide_paginator > .slide_paginator > i {color: #FFFFFF; line-height: 44px;}
#photos_top_slide_paginator > .slide_paginator.prev > i {rotate: 180deg;}

@media only screen and (max-width: 800px) {
    #photos_top_gallery_overlay {background: #160F0F;}
    #photos_top_gallery_overlay > .top_block {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2); padding: 20px 26px 20px 20px; height: auto;
    }
    #photos_top_gallery_overlay > .top_block > #photos_top_slider_title {display: none;}
    #photos_top_gallery_overlay > .top_block > .icon_logo {display: block; height: 32px; line-height: 32px;}
    #photos_top_slide_paginator {display: none;}
    #photos_top_slider_images {width: 100%;}
    #photos_top_slider_images > div > img {border-radius: 0;}
    .gallery_modal_thumbs {margin-top: 20px; margin-bottom: 50px; height: 60px; padding: 0; overflow: hidden;}
    .gallery_modal_thumbs > div {padding: 0 20px 10px 20px;}
    .gallery_modal_thumbs > div > div {justify-content: start;}
    .gallery_modal_thumbs > div > div > span {width: 60px; min-width: 60px; height: 52px; min-height: 52px;}
    .photos_top_gallery_content {width: 100%; height: 100%; justify-content: unset; position: relative;}
}

/* ------------------------------- BUILDING ------------------------------- */

#building {margin-top: var(--margin-block);}
.building {padding-left: var(--padding-in); display: flex;}
.building > .info {width: 50%;}
.building > .info > p {margin-top: 24px; font-size: var(--font-28);}
.building > .info > .tags {margin-top: 60px; display: flex; flex-wrap: wrap; gap: 20px; padding-right: 40px;}
.building > .info > .tags > div {
    font-size: var(--font-18); border: 1px solid #868686; display: flex; align-items: center; border-radius: 4px;
    padding: 6px 16px;
}
.building > .info > .tags > div > i {font-size: 24px; color: #0C0C54; margin-right: 6px;}
.building > div {width: 50%;}

#flickity_gallery_3 {width: 100%; position: relative; overflow: hidden; border-radius: 4px;}
#flickity_gallery_3 .left_screen {position: absolute; left: 0; top: 0; width: 30%; height: 100%; content: ""; z-index: 3;}
#flickity_gallery_3 .right_screen {position: absolute; right: 0; top: 30%; width: 30%; height: 70%; content: ""; z-index: 3;}
#flickity_gallery_3 .flickity-prev-next-button.previous {left: 30px;}
#flickity_gallery_3 .flickity-prev-next-button.next {right: 30px;}
#flickity_gallery_3 .flickity-prev-next-button {background: #F3F3F3; width: 62px; height: 62px; border-radius: 4px; opacity: 0; transition: opacity .6s ease-in-out; z-index: 3;}
#flickity_gallery_3 .left_screen:hover ~ .flickity-prev-next-button.previous {opacity: 1;}
#flickity_gallery_3 .right_screen:hover ~ .flickity-prev-next-button.next {opacity: 1;}
#flickity_gallery_3 .flickity-prev-next-button:hover {opacity: 1;}
#flickity_gallery_3 .slider_progress {
    width: 100%; height: 4px; background: #7F7F7F; max-width: 140px; border-radius: 2px; overflow: hidden;
    position: absolute; bottom: 60px; left: calc(50% - 70px); z-index: 3;
}
#flickity_gallery_3 .slider_progress > div {z-index: 4; background: #FFFFFF; width: 0; height: 100%; max-width: 100%; position: relative; transition: .3s linear;}

#building_gallery_overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #111; z-index: 1999; opacity: 1; visibility: visible;
    overflow-y: auto; display: flex; flex-direction: column; height: 100vh; transition: opacity 0.35s ease;
}
#building_gallery_overlay.collapse {opacity: 0; pointer-events: none;}
#building_gallery_overlay > .top_block {
    height: 54px; min-height: 54px; border-bottom: 1px solid rgba(141, 151, 166, 0.5); display: flex; justify-content: space-between;
    align-items: center; padding: 0 14px 0 30px; top: 0; left: 0; right: 0; margin-bottom: 20px;
}
#building_gallery_overlay > .top_block > p {color: #FFFFFF; font-weight: 600; font-size: 16px;}
#building_gallery_overlay > .top_block > .icon_logo {display: none; font-size: 50px; color: #FFFFFF;}
#building_gallery_overlay > .top_block > span {padding: 4px; cursor: pointer; color: #FFFFFF; rotate: 45deg;}
#building_slider_images {
    height: calc(100vh - 85px - 100px); width: 80%; margin: 0 auto; display: flex; align-items: center; position: relative;
}
#building_slider_images > div {padding-bottom: 10px;}
#building_slider_images > div > img {max-height: 100%; width: auto; max-width: 100%; margin: 0 auto; border-radius: 8px;}
#building_slide_paginator {
    position: absolute; transform: translate(-50%, -50%); top: 50%; left: 50%; width: 98vw; display: flex;
    justify-content: space-between;
}
#building_slide_paginator > .slide_paginator {border-radius: 50%; height: 44px; width: 44px; display: flex; -webkit-justify-content: center; align-items: center;}
#building_slide_paginator > .slide_paginator:hover {background: rgba(188, 192, 198, 0.2);}
#building_slide_paginator > .slide_paginator > i {color: #FFFFFF; line-height: 44px;}
#building_slide_paginator > .slide_paginator.prev > i {rotate: 180deg;}

.building_thumbs {display: flex; gap: 8px; margin-top: 12px; justify-content: flex-end;}
.building_thumb {width: 16.667%;  border-radius: 4px; overflow: hidden; cursor: pointer; opacity: 0.5; transition: opacity .3s ease;}
.building_thumb.active {opacity: 1;}
.building_thumb:hover {opacity: 0.8;}
.building_thumb > img {width: 100%; height: 100%; object-fit: cover;}

@media only screen and (max-width: 1400px) {
    .building {padding-left: 0;}
}

@media only screen and (max-width: 1024px) {
    #building {padding: 0; overflow: hidden;}
    .building {flex-direction: column;}
    .building > div {width: 100%;}
    .building > .info {width: 100%;}
    .building > .info > p {font-size: 16px; margin-top: 20px;}
    .building > .info > .tags {margin-top: 20px; gap: 10px; padding-right: 0;}
    .building > .info > .tags > div {font-size: 14px; padding: 6px 10px;}
    .building > .info > .tags > div > i {font-size: 16px; margin-right: 4px;}
    #flickity_gallery_3 {width: 100%; margin-top: 40px; overflow: unset;}
    #flickity_gallery_3 .item {margin-right: 10px; width: calc(100% - 40px); border-radius: 4px;}
    #flickity_gallery_3 .left_screen {display: none;}
    #flickity_gallery_3 .right_screen {display: none;}
    #flickity_gallery_3 .flickity-prev-next-button {display: none;}
    #flickity_gallery_3 .slider_progress {display: none;}
    .building_thumbs {display: none;}
}