@charset "UTF-8";

/* 
Theme name: Na Výsluní
Author: Jan Kolařík
Author's url: www.kolarikjan.cz
*/
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0-modified | 20110126
   License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

/* make sure to set some focus styles for accessibility */
:focus {
    outline: 0;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    -moz-appearance: none;
}

input[type=search] {
    -webkit-appearance: none;
    -moz-appearance: none;
    box-sizing: content-box;
}

textarea {
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}

/**
 * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 */
audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    max-width: 100%;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
    display: none;
    height: 0;
}

/**
 * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
 * Known issue: no IE 6 support.
 */
[hidden] {
    display: none;
}

/**
 * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
 *    `em` units.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
    font-size: 100%;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
    -ms-text-size-adjust: 100%;
    /* 2 */
}

/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */
a:focus {
    outline: 0;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */
a:active,
a:hover {
    outline: 0;
}

/**
 * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
 * 2. Improve image quality when scaled in IE 7.
 */
img {
    border: 0;
    /* 1 */
    -ms-interpolation-mode: bicubic;
    /* 2 */
}

/**
 * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
 */
figure {
    margin: 0;
}

/**
 * Correct margin displayed oddly in IE 6/7.
 */
form {
    margin: 0;
}

/**
 * Define consistent border, margin, and padding.
 */
fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct color not being inherited in IE 6/7/8/9.
 * 2. Correct text not wrapping in Firefox 3.
 * 3. Correct alignment displayed oddly in IE 6/7.
 */
legend {
    border: 0;
    /* 1 */
    padding: 0;
    white-space: normal;
    /* 2 */
    *margin-left: -7px;
    /* 3 */
}

/**
 * 1. Correct font size not being inherited in all browsers.
 * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
 *    and Chrome.
 * 3. Improve appearance and consistency in all browsers.
 */
button,
input,
select,
textarea {
    font-size: 100%;
    /* 1 */
    margin: 0;
    /* 2 */
    vertical-align: baseline;
    /* 3 */
    *vertical-align: middle;
    /* 3 */
}

/**
 * Address Firefox 3+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
button,
input {
    line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */
button,
select {
    text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
 *    Known issue: inner spacing remains in IE 6.
 */
button,
html input[type=button],
input[type=reset],
input[type=submit] {
    -webkit-appearance: button;
    /* 2 */
    cursor: pointer;
    /* 3 */
    *overflow: visible;
    /* 4 */
}

/**
 * Re-set defaults cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
    cursor: default;
}

/**
 * 1. Address box sizing set to content-box in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 * 3. Remove excess padding in IE 7.
 *    Known issue: excess padding remains in IE 6.
 */
input[type=checkbox],
input[type=radio] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
    *height: 13px;
    /* 3 */
    *width: 13px;
    /* 3 */
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */
input[type=search] {
    -webkit-appearance: textfield;
    /* 1 */
    /* 2 */
    box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * Remove inner padding and border in Firefox 3+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/**
 * 1. Remove defaults vertical scrollbar in IE 6/7/8/9.
 * 2. Improve readability and alignment in all browsers.
 */
textarea {
    overflow: auto;
    /* 1 */
    vertical-align: top;
    /* 2 */
}

/**
 * Remove most spacing between table cells.
 */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: none;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    color: inherit;
    opacity: 1;
}

input::placeholder,
textarea::placeholder {
    color: inherit;
    opacity: 1;
}

button {
    border: 0;
    background-color: transparent;
    box-shadow: none;
    outline: none;
}

input[type=number] {
    -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

::-moz-selection {
    background-color: #000;
    filter: opacity(0.75);
    color: #fff;
}

::selection {
    background-color: #000;
    filter: opacity(0.75);
    color: #fff;
}

* {
    box-sizing: border-box;
    scroll-margin-top: 4rem;
}

@media only screen and (max-width: 768px) {
    * {
        scroll-margin-top: 2.5rem;
    }
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background-color: #fff;
    color: #666666;
    font-family: "Ogilvy Sans", sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6;
}

@media only screen and (max-width: 768px) {
    body {
        text-align: center;
        font-size: 1.0625rem;
    }
}

a {
    transition-duration: 0.15s;
    text-decoration: none;
    color: #000;
    text-decoration: underline;
    text-underline-offset: 0.1875rem;
}

a:hover {
    color: #666666;
}

.no-scroll {
    overflow: hidden;
}

.body ul {
    list-style: disc;
}

.body ol {
    list-style: decimal;
}

.body ul,
.body ol {
    margin-bottom: 2rem;
    padding-left: 1.25rem;
}

@media only screen and (max-width: 768px) {

    .body ul,
    .body ol {
        text-align: left;
    }
}

.body ul li::marker,
.body ol li::marker {
    color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000;
    font-family: "New York", serif;
    line-height: 1.2;
    font-weight: 500;
}

h1 {
    font-size: 5rem;
    margin-top: 3.5rem;
    margin-bottom: 2.5rem;
    line-height: 1.15;
}

@media only screen and (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        margin-bottom: 2.25rem;
    }
}

h2 {
    font-size: 5rem;
    margin-top: 3.5rem;
    margin-bottom: 3rem;
    line-height: 1.15;
}

@media only screen and (max-width: 1475px) {
    h2 {
        font-size: 4.375rem;
    }
}

@media only screen and (max-width: 768px) {
    h2 {
        font-size: 2.625rem;
        line-height: 1.2;
        margin-top: 2.5rem;
        margin-bottom: 1.75rem;
    }
}

.subpageContent h2 {
    font-size: 3.75rem;
    margin-top: 3.5rem;
    margin-bottom: 3rem;
    line-height: 1.15;
}

@media only screen and (max-width: 1475px) {
    .subpageContent h2 {
        font-size: 3.4375rem;
    }
}

@media only screen and (max-width: 768px) {
    .subpageContent h2 {
        font-size: 2rem;
        line-height: 1.2;
        margin-top: 2.5rem;
        margin-bottom: 1.75rem;
    }
}

h3 {
    font-size: 2.5rem;
    margin-top: 3.5rem;
    margin-bottom: 2.25rem;
    line-height: 1.15;
}

@media only screen and (max-width: 1475px) {
    h3 {
        font-size: 2rem;
    }
}

@media only screen and (max-width: 768px) {
    h3 {
        font-size: 1.625rem;
        line-height: 1.2;
        margin-top: 2.5rem;
        margin-bottom: 1.5rem;
    }
}

h4,
h5,
h6 {
    font-size: 1.875rem;
    margin-top: 3.5rem;
    margin-bottom: 1.75rem;
    line-height: 1.15;
}

@media only screen and (max-width: 1475px) {

    h4,
    h5,
    h6 {
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 768px) {

    h4,
    h5,
    h6 {
        font-size: 1.25rem;
        line-height: 1.2;
        margin-top: 2.5rem;
        margin-bottom: 1.5rem;
    }
}

p {
    margin-bottom: 2rem;
}

@media only screen and (max-width: 768px) {
    p {
        margin-bottom: 1.5rem;
    }
}

p:last-child {
    margin-bottom: 0;
}

strong,
b {
    color: #000;
    font-weight: 600;
}

iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

table {
    width: 100%;
    overflow-y: scroll;
}

table:not(:first-child) {
    margin-top: 3.5rem;
}

table:not(:last-child) {
    margin-bottom: 2rem;
}

table tr>th {
    background-color: #000 !important;
    padding: 1rem 1.5rem;
    border: 0;
    color: #fff;
    font-weight: 700;
}

table tr>td {
    background-color: #e8e8e8;
    padding: 1rem 1.5rem;
    border: 0;
}

table tr:nth-child(even)>td {
    background-color: rgba(232, 232, 232, 0.5);
}

table tr:not(:last-child)>td {
    border-bottom: 0 !important;
}

.container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media only screen and (min-width: 1475px) {
    .container {
        max-width: 1380px;
    }
}

@media only screen and (min-width: 1200px) {
    .container-extended {
        padding-left: 2.25rem;
        padding-right: 2.25rem;
    }
}

@media only screen and (min-width: 1475px) {
    .container-extended {
        max-width: 1920px;
        padding-left: 5.25rem;
        padding-right: 5.25rem;
    }
}

.header {
    z-index: 9;
    width: 100%;
    background-color: #151515;
    position: relative;
}

@media only screen and (min-width: 991px) {
    .header.fixed {
        position: fixed;
        top: 0;
        left: 0;
        transform: translateY(-100%);
    }

    .header.visible {
        transform: translateY(0);
    }
}

@media only screen and (max-width: 991px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
    }
}

.header-wrapper {
    position: relative;
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.header-logo-link,
.header-menu,
.header-toggler {
    position: relative;
    z-index: 1;
}

.header-logo {
    height: 3rem;
}

.header-logo img {
    max-height: 48px;
    filter: brightness(0) invert(1);
}


.header-logo::after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    left: -3.5rem;
    width: 22.5rem;
    background-image: url("../../img/logo/logo-light-small.svg");
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 0;
}

.header-menu ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-menu ul a {
    text-decoration: none;
    display: block;
    color: rgba(255, 255, 255, 0.25);
    position: relative;
}

.header-menu ul a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0.0625rem;
    background: #fff;
    transition-duration: 0.25s;
}

.header-menu ul a:hover,
.header-menu ul a.active {
    color: #fff;
}

.header-menu ul a:hover::after,
.header-menu ul a.active::after {
    width: 100%;
}

.header-menu-close {
    display: none;
}

@media only screen and (max-width: 991px) {
    .body {
        padding-top: 4.5rem;
    }
}

.body .section:first-child {
    margin-top: 3.5rem;
}

.body .section {
    margin-bottom: 11.5rem;
}

@media only screen and (max-width: 768px) {

    .body .section:first-child {
        margin-top: 2.5rem;
    }

    .body .section {
        margin-bottom: 4.5rem;
    }
}

.body .section-title {
    margin-bottom: 5rem;
}

@media only screen and (max-width: 768px) {
    .body .section-title {
        margin-bottom: 3rem;
    }
}

.body .section-title.centered {
    text-align: center;
}

.body .section-title h1,
.body .section-title h2,
.body .section-title h3 {
    margin-top: 0;
    margin-bottom: 0;
}

.footer {
    background-color: #000;
    overflow-x: hidden;
}

.footer-wrapper {
    position: relative;
    padding: 7.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 3rem;
}

@media only screen and (max-width: 1200px) {
    .footer-wrapper {
        flex-direction: column;
        gap: 7.5rem;
    }
}

@media only screen and (max-width: 768px) {
    .footer-wrapper {
        padding: 4.5rem 0;
        gap: 3rem;
    }
}

.footer-logo-link,
.footer-about {
    position: relative;
    z-index: 1;
}

.footer-logo-link img {
    max-height: 175px;
    filter: brightness(0) invert(1);
}

.footer-logo {
    width: 50%;
}

@media only screen and (max-width: 1200px) {
    .footer-logo {
        width: 100%;
    }
}

.footer-logo-link {
    text-decoration: none;
    font-family: "New York", serif;
    color: #fff !important;
    font-size: 5.625rem;
    line-height: 1;
    font-weight: 500;
}

@media only screen and (max-width: 768px) {
    .footer-logo-link {
        font-size: 3.125rem;
    }
}

.footer-logo::after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    left: -6.75rem;
    width: 100%;
    background-image: url("../../img/logo/logo-light-large.svg");
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 0;
}

@media only screen and (max-width: 1200px) {
    .footer-logo::after {
        display: none;
    }
}

.footer-about {
    width: 50%;
}

@media only screen and (max-width: 1200px) {
    .footer-about {
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .footer-about {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.footer-about-menu li:not(:last-child) {
    margin-bottom: 0.5rem;
}

.footer-about-menu li a {
    text-decoration: none;
    display: flex;
    align-items: center;
    width: -moz-fit-content;
    width: fit-content;
    font-size: 1.3125rem;
    color: #fff;
    position: relative;
}

@media only screen and (max-width: 768px) {
    .footer-about-menu li a {
        text-align: center;
        margin: 0 auto;
    }
}

.footer-about-menu li a svg {
    flex-shrink: 0;
    transition: all 0.25s ease-in-out;
    width: 0;
}

.footer-about-menu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all 0.25s ease-in-out;
    background-color: #fff;
    height: 0.0625rem;
    width: 0;
}

.footer-about-menu li a:hover svg {
    width: 1.5rem;
    margin-right: 0.25rem;
}

.footer-about-menu li a:hover::after {
    width: 100%;
}

.footer-about-contact {
    margin-left: auto;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 3rem;
}

@media only screen and (max-width: 768px) {
    .footer-about-contact {
        align-items: center;
        text-align: center;
    }
}

.footer-about-contact-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

@media only screen and (max-width: 768px) {
    .footer-about-contact-links {
        align-items: center;
    }
}

.footer-about-contact-links a {
    text-decoration: none;
    display: inline-block;
    width: -moz-fit-content;
    width: fit-content;
    font-size: 1.625rem;
    line-height: 1.15;
    color: #fff;
    font-weight: 600;
    background-size: 100% 200%;
    background-image: linear-gradient(to bottom, transparent 50%, #fff 50%);
    padding: 0.1875rem 0.125rem;
    background-position: 0 0;
    transition-duration: 0.25s;
    padding: 0.125rem 0.25rem;
    margin: 0 -0.25rem;
}

.footer-about-contact-links a:hover {
    background-position: 0 100%;
    color: #000;
}

.footer-about-contact-links a:not(:last-child) {
    margin-bottom: 0.25rem;
}

.footer-about-contact-address {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 3rem;
}

@media only screen and (max-width: 1200px) {
    .footer-about-contact-address {
        justify-content: flex-start;
    }

    .footer-about-contact-links {
        align-items: flex-start;
    }
}

@media only screen and (max-width: 768px) {
    .footer-about-contact-address {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
}

.footer-about-contact-address p b {
    color: #fff;
}

.footer-about-contact-address p {
    font-size: 1rem;
    margin-bottom: 0;
}

.header-toggler {
    width: 2.75rem;
    aspect-ratio: 1/1;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.15s;
    padding: 0.25rem;
    box-shadow: none !important;
    margin-left: auto;
    display: none;
}

@media only screen and (max-width: 991px) {
    .header-toggler {
        display: flex;
        margin-right: -0.5rem;
    }
}

.header-toggler,
.header-toggler .animated-icon span {
    transition: background-color 0.25s;
}

.header-toggler:hover,
.header-toggler.active {
    background-color: #fff;
}

.header-toggler:hover .animated-icon span,
.header-toggler.active .animated-icon span {
    background-color: #000;
}

.header-toggler .animated-icon {
    width: 1.625rem;
    height: 2.25rem;
    margin: 0;
    transform: rotate(0deg);
    cursor: pointer;
    transition: 0.5s ease-in-out;
    display: block;
}

.header-toggler .animated-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    border-radius: 0;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
    background: #fff;
}

.header-toggler .animated-icon span:nth-child(1) {
    top: 8px;
}

.header-toggler .animated-icon span:nth-child(2) {
    top: 17px;
}

.header-toggler .animated-icon span:nth-child(3) {
    top: 26px;
}

.header-toggler.active .animated-icon span:nth-child(1) {
    top: 17px;
    transform: rotate(135deg);
}

.header-toggler.active .animated-icon span:nth-child(2) {
    opacity: 0;
    left: -20px;
}

.header-toggler.active .animated-icon span:nth-child(3) {
    top: 17px;
    transform: rotate(-135deg);
}

.button {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: -moz-fit-content;
    width: fit-content;
    text-align: center;
    transition: all 0.25s ease-in-out;
}

.button img,
.button svg {
    flex-shrink: 0;
    transition: all 0.25s ease-in-out;
}

.button.icon-left-show-hover svg {
    width: 0;
    margin-left: 0;
}

.button.icon-left-show-hover:hover svg {
    width: 1.5rem;
    margin-left: 0.75rem;
}

.button-simple-black {
    border: 0.0625rem solid #000;
    color: #fff;
    font-weight: 600;
    border-radius: 3.125rem;
    font-size: 1.25rem;
    line-height: 1.625rem;
    padding: 1rem 1.75rem;
    min-width: 13.125rem;
    background-size: 100% 200%;
    background-image: linear-gradient(to bottom, #000 50%, #fff 50%);
    background-position: 0 0;
}

.button-simple-black svg {
    width: 1.5rem;
}

.button-simple-black:hover {
    background-position: 0 100%;
    color: #000;
}

.button-simple-black:hover svg {
    width: 1.5rem;
}

@media only screen and (max-width: 768px) {
    .button-simple-black {
        font-size: 1.0625rem;
        min-width: 10.9375rem;
        padding: 0.75rem 1.5rem;
    }
}

.button-simple-green {
    border: 0.0625rem solid #62af7e;
    color: #fff;
    font-weight: 600;
    border-radius: 3.125rem;
    font-size: 1.5rem;
    line-height: 1.625rem;
    padding: 1.25rem 1.75rem;
    background-size: 100% 200%;
    background-image: linear-gradient(to bottom, #62af7e 50%, #fff 50%);
    background-position: 0 0;
}

.button-simple-green:hover {
    background-position: 0 100%;
    color: #62af7e;
}

@media only screen and (max-width: 768px) {
    .button-simple-green {
        font-size: 1.0625rem;
        min-width: 10.9375rem;
        padding: 0.75rem 1.5rem;
    }
}

.button-more {
    gap: 3rem;
    font-weight: 600;
}

@media only screen and (max-width: 768px) {
    .button-more {
        gap: 1.5rem;
    }
}

.button-more:is(a) {
    background-image: none;
}

.button-more span {
    position: relative;
}

@keyframes underline-slide {
    0% {
        transform: scaleX(1);
        transform-origin: right;
    }

    50% {
        transform: scaleX(0);
        transform-origin: right;
    }

    51% {
        transform-origin: left;
    }

    100% {
        transform: scaleX(1);
        transform-origin: left;
    }
}

.button-more span::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.0625rem;
    background: #000;
    transform-origin: right;
    transform: scaleX(1);
}

.button-more img,
.button-more svg {
    width: 5rem !important;
}

@media only screen and (max-width: 768px) {

    .button-more img,
    .button-more svg {
        width: 3rem !important;
    }
}

.button-more:hover {
    color: #000;
}

.button-more:hover img,
.button-more:hover svg {
    transform: scale(1.15);
}

.button-more:hover span::after {
    animation: underline-slide 0.6s forwards;
}

.button-more.green {
    color: #00a359;
}

.button-more.green span::after {
    background: #00a359;
}

.button-more.white {
    color: #fff;
}

.button-more.white span::after {
    background: #fff;
}

.popup {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transition: all 0.25s ease-in-out;
}

.popup.active {
    visibility: visible;
    opacity: 1;
}

.popup-close {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    width: 3.5rem;
    height: 3.5rem;
    color: #000;
    padding: 0.25rem;
    background-color: #fff;
    z-index: 5;
}

@media only screen and (max-width: 1200px) {
    .popup-close {
        top: 1.5rem;
        right: 1.5rem;
    }
}

@media only screen and (max-width: 768px) {
    .popup-close {
        top: 0rem;
        right: 0rem;
        box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.125);
    }
}

.popup-inner {
    height: 100%;
    overflow-y: auto;
    /*display: flex;
  align-items: center;
  justify-content: center;*/
}

.popup-content {
    padding: 6rem 8rem;
    max-width: 120rem;
    margin: 0 auto;
}

@media only screen and (max-width: 1200px) {
    .popup-content {
        padding: 4rem 6rem;
    }
}

@media only screen and (max-width: 768px) {
    .popup-content {
        padding: 3rem 1.5rem;
    }
}

.popup-title {
    margin-top: 0;
}

.popup-gallery {
    background-color: #000;
}

.popup-gallery-image {
    position: absolute;
    top: 0;
    left: auto;
    z-index: 4;
    width: 100%;
    height: 100dvh;
    -o-object-fit: cover;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.25s linear;
}

@media only screen and (max-width: 768px) {
    .popup-gallery-image {
        top: 50%;
        transform: translateY(-50%);
        aspect-ratio: 4.5/3;
        height: auto;
    }
}

.popup-gallery-image.visible {
    opacity: 1;
}

.popup-gallery-controls {
    position: absolute;
    bottom: 5rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    z-index: 5;
}

.popup-gallery-controls button {
    border-radius: 50%;
    background-color: #fff;
    color: #000;
    opacity: 0.5;
    width: 3.5rem;
    height: 3.5rem;
    padding: 0.5rem;
    transition: all 0.25s ease-in-out;
}

.popup-gallery-controls button:hover {
    opacity: 1;
}

.popup-gallery .popup-close {
    background-color: transparent;
    color: #fff;
}

.popup:not(.active) .popup-gallery-image {
    display: none;
}

.banner {
    position: relative;
}

.banner.section {
    margin-bottom: 2.5rem;
}

@media only screen and (max-width: 991px) {
    .banner.section {
        margin-bottom: 5rem;
    }
}

@media only screen and (max-width: 768px) {
    .banner.section {
        margin-bottom: 2.5rem;
    }
}

.banner-extended.section {
    margin-bottom: 2.5rem;
}

@media only screen and (max-width: 991px) {
    .banner-extended.section {
        margin-bottom: 11.5rem;
    }
}

@media only screen and (max-width: 768px) {
    .banner-extended.section {
        margin-bottom: 4.5rem;
    }
}

@media only screen and (max-width: 768px) {
    .banner-image {
        position: relative;
    }
}

.banner-image img {
    width: 100%;
    height: calc(100dvh + 6rem);
    -o-object-fit: cover;
    object-fit: cover;
}

@media only screen and (max-width: 1475px) {
    .banner-image img {
        height: calc(100dvh + 3rem);
    }
}

@media only screen and (max-width: 991px) {
    .banner-image img {
        aspect-ratio: 4/3;
        height: auto;
    }
}

@media only screen and (max-width: 768px) {
    .banner-image img {
        aspect-ratio: 4.5/3;
    }
}

.banner-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(2.5deg, #fff 10%, rgba(255, 255, 255, 0) 35%);
}

@media only screen and (max-width: 768px) {
    .banner-image::after {
        background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 25%);
    }
}

.banner-image.large-gradiend::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(5deg, #fff 12.5%, rgba(255, 255, 255, 0) 50%);
}

@media only screen and (max-width: 768px) {
    .banner-image.large-gradiend::after {
        background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 50%);
    }
}

.banner-counters {
    position: absolute;
    display: flex;
    align-items: flex-end;
    height: calc(100dvh - 4.5rem);
    top: 2rem;
}

@media only screen and (max-width: 991px) {
    .banner-counters {
        height: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .banner-counters {
        margin-top: 3rem;
        display: block;
        position: unset;
        height: auto;
    }
}

.banner-counters-wrapper {
    display: flex;
    gap: 2.75rem;
}

@media only screen and (max-width: 1475px) {
    .banner-counters-wrapper {
        gap: 2rem;
    }
}

@media only screen and (max-width: 991px) {
    .banner-counters-wrapper {
        gap: 1rem;
    }
}

@media only screen and (max-width: 768px) {
    .banner-counters-wrapper {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

.banner-counters-item {
    max-width: 14.6875rem;
    aspect-ratio: 1/1;
    background-color: #000;
    border-radius: 1.875rem;
    padding: 2rem;
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

@media only screen and (max-width: 1475px) {
    .banner-counters-item {
        max-width: 13.4375rem;
    }
}

@media only screen and (max-width: 991px) {
    .banner-counters-item {
        justify-content: center;
        max-width: 10.9375rem;
        padding: 1.5rem;
    }
}

@media only screen and (max-width: 768px) {
    .banner-counters-item {
        padding: 1rem 1.25rem;
        gap: 1rem;
        flex-direction: row;
        width: 100%;
        max-width: 100%;
        aspect-ratio: unset;
        justify-content: flex-start;
    }
}

.banner-counters-item-number {
    display: block;
    font-size: 6.25rem;
    font-weight: 500;
    letter-spacing: -0.125rem;
    line-height: 1;
}

@media only screen and (max-width: 1475px) {
    .banner-counters-item-number {
        font-size: 5rem;
    }
}

@media only screen and (max-width: 991px) {
    .banner-counters-item-number {
        font-size: 4.0625rem;
    }
}

@media only screen and (max-width: 768px) {
    .banner-counters-item-number {
        min-width: 4.0625rem;
        font-size: 2.5rem;
        letter-spacing: -0.0625rem;
    }
}

.banner-counters-item-title {
    font-size: 1rem;
    line-height: 1.5;
}

@media only screen and (max-width: 991px) {
    .banner-counters-item-title {
        font-size: 0.875rem;
        text-align: left;
    }
}

.banner-counters-item.green::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5rem;
    background-color: #00a359;
}

@media only screen and (max-width: 991px) {
    .banner-counters-item.green::after {
        height: 0.75rem;
    }
}

@media only screen and (max-width: 768px) {
    .banner-counters-item.green::after {
        height: 0.5rem;
    }
}

.textimage-wrapper {
    display: flex;
    gap: 6.25rem;
}

@media only screen and (max-width: 1200px) {
    .textimage-wrapper {
        gap: 5rem;
        flex-direction: column;
    }
}

@media only screen and (max-width: 768px) {
    .textimage-wrapper {
        gap: 3rem;
    }
}

.textimage-title {
    max-width: 62.5%;
}

@media only screen and (max-width: 1200px) {
    .textimage-title {
        max-width: 100%;
    }
}

.textimage-text {
    width: 37.5%;
}

@media only screen and (max-width: 1200px) {
    .textimage-text {
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .textimage-text-button .button {
        margin: 0 auto;
    }
}

.textimage-text-content:not(:last-child) {
    margin-bottom: 2.5rem;
}

@media only screen and (max-width: 768px) {
    .textimage-text-content:not(:last-child) {
        margin-bottom: 1.5rem;
    }
}

.textimage-image {
    width: 62.5%;
}

@media only screen and (max-width: 1200px) {
    .textimage-image {
        width: 100%;
        order: -1;
    }
}

.textimage-image img {
    max-width: 100%;
    height: auto;
    border-radius: .75rem;
}

.textimage-image-box {
    position: relative;
}

.textimage-image-box-tag {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: absolute;
    bottom: 0;
    left: 10rem;
    transform: translateY(50%);
    border-radius: 1.875rem;
    padding: 0.625rem 1.5rem;
    background-color: #fff;
    border: 0.125rem solid #fff;
}

@media only screen and (max-width: 1200px) {
    .textimage-image-box-tag {
        left: 3rem;
    }
}

@media only screen and (max-width: 768px) {
    .textimage-image-box-tag {
        left: 0;
        right: 0;
        width: -moz-fit-content;
        width: fit-content;
        margin: 0 auto;
        padding: 0.45rem 1rem;
        gap: 0.5rem;
    }
}

.textimage-image-box-tag.green {
    background-color: #00a359;
    color: #fff;
}

.textimage-image-box-tag-small {
    font-size: 0.9375rem;
    line-height: 1.25;
    font-weight: 500;
}

.textimage-image-box-tag-large {
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 600;
}

@media only screen and (max-width: 768px) {
    .textimage-image-box-tag-large {
        font-size: 1.75rem;
    }
}

@media only screen and (min-width: 1200px) {
    .textimage-left-desktop {
        text-align: right;
    }

    .textimage-left-desktop .button {
        margin-left: auto;
    }
}

.textimage-spacing-desktop {
    padding-top: 5rem;
}

.textimage-spacing-desktop-large {
    padding-top: 9rem;
}

@media only screen and (max-width: 1200px) {

    .textimage-spacing-desktop,
    .textimage-spacing-desktop-large {
        padding-top: 0;
    }
}

.flatsBanner-inner {
    position: relative;
}

.flatsBanner-item {
    position: relative;
}

.flatsBanner-item-image {
    width: 100%;
    min-height: 46.875rem;
    height: 100dvh;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: left;
    object-position: left;
}

@media only screen and (max-width: 768px) {
    .flatsBanner-item-image {
        height: 85dvh;
        min-height: 34.375rem;
        max-height: 53.125rem;
    }
}

.flatsBanner-item-info {
    position: absolute;
    bottom: 10rem;
    left: 10rem;
    max-width: 25rem;
    width: 100%;
}

@media only screen and (max-width: 1475px) {
    .flatsBanner-item-info {
        bottom: 6.5rem;
        left: 6.5rem;
    }
}

@media only screen and (max-width: 1200px) {
    .flatsBanner-item-info {
        bottom: 5rem;
        left: 5rem;
    }
}

@media only screen and (max-width: 1200px) {
    .flatsBanner-item-info {
        max-width: 21.875rem;
    }
}

@media only screen and (max-width: 768px) {
    .flatsBanner-item-info {
        max-width: 100%;
        width: auto;
        left: 1.5rem;
        right: 1.5rem;
        bottom: 6.5rem;
    }
}

.flatsBanner-item-info-title {
    color: #fff;
    text-align: right;
    margin-top: 0;
    margin-bottom: 3rem;
}

@media only screen and (max-width: 768px) {
    .flatsBanner-item-info-title {
        margin-bottom: 1.5rem;
    }
}

.flatsBanner-item-info-parameters {
    width: 100%;
    border-top: 0.0625rem solid #fff;
}

.flatsBanner-item-info-parameters-row {
    border-bottom: 0.0625rem solid #fff;
    padding: 0.25rem 0;
    display: flex;
    justify-content: space-between;
}

.flatsBanner-item-info-parameters span {
    font-size: 1rem;
    color: #fff;
}

.flatsBanner-item-info-button {
    margin-top: 2.5rem;
}

.flatsBanner-item-info-button .button {
    margin-left: auto;
    margin-right: -8rem;
}

@media only screen and (max-width: 991px) {
    .flatsBanner-item-info-button .button {
        margin-right: 0;
    }
}

@media only screen and (max-width: 768px) {
    .flatsBanner-item-info-button {
        margin-top: 1.5rem;
    }
}

.flatsBanner .owl-dots {
    position: absolute;
    bottom: 10rem;
    right: 10rem;
    transform: translateY(-2.35rem);
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 0.5rem;
}

@media only screen and (max-width: 1475px) {
    .flatsBanner .owl-dots {
        bottom: 6.5rem;
        right: 6.5rem;
    }
}

@media only screen and (max-width: 1200px) {
    .flatsBanner .owl-dots {
        bottom: 5rem;
        right: 5rem;
    }
}

@media only screen and (max-width: 768px) {
    .flatsBanner .owl-dots {
        bottom: 2.5rem;
        left: 1rem;
        right: 1rem;
        margin: 0 auto;
        width: -moz-fit-content;
        width: fit-content;
        transform: none;
    }
}

.flatsBanner .owl-dots button {
    width: 4.5rem;
    height: 0.25rem;
    border-radius: 0.5rem;
    transition: all 0.25s ease-in-out;
}

@media only screen and (max-width: 1200px) {
    .flatsBanner .owl-dots button {
        width: 4rem;
    }
}

@media only screen and (max-width: 991px) {
    .flatsBanner .owl-dots button {
        width: 3rem;
    }
}

@media only screen and (max-width: 768px) {
    .flatsBanner .owl-dots button {
        width: 2.5rem;
    }
}

.flatsBanner .owl-dots button:first-child {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.flatsBanner .owl-dots button:last-child {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.flatsBanner .owl-dots button:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.flatsBanner .owl-dots button.active {
    background-color: #fff;
    transform: scaleY(1.5);
}

.contactus-form {
    max-width: 25rem;
    margin: 0 auto;
}

.contactus-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

@media only screen and (max-width: 768px) {
    .contactus-form-wrapper {
        gap: 1rem;
    }
}

.contactus-form-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0.5rem auto 0;
}

.contactus-form-footer {
    margin-top: 3.5rem;
}

@media only screen and (max-width: 768px) {
    .contactus-form-footer {
        margin-top: 2.5rem;
    }
}

.contactus-form-footer a,
.contactus-form-footer button {
    margin: 0 auto;
}

.form-inputbox {
    position: relative;
}

.form-inputbox-input {
    width: 100%;
    border: 0.0625rem solid #a8a8a9;
    color: #000;
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
}

.form-inputbox-input:is(textarea) {
    min-height: 12.5rem;
}

.form-inputbox-label {
    position: absolute;
    top: 1.25rem;
    left: 1rem;
    padding: 0 0.25rem;
    transition: all 0.25s ease-in-out;
    background-color: #fff;
    color: #000;
    line-height: 1;
    cursor: text;
}

.form-inputbox-input:not(:-moz-placeholder-shown):not(:focus)~.form-inputbox-label {
    top: -0.4rem;
    font-size: 0.875rem;
    color: #a8a8a9;
}

.form-inputbox-input:focus~.form-inputbox-label,
.form-inputbox-input:not(:placeholder-shown):not(:focus)~.form-inputbox-label {
    top: -0.4rem;
    font-size: 0.875rem;
    color: #a8a8a9;
}

.form-checkbox {
    cursor: pointer;
    display: flex;
    min-height: 1.5625rem;
    gap: 0.5rem;
}

.form-checkbox-input {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
    color: currentColor;
    width: 1.5625rem;
    height: 1.5625rem;
    border: 0.0625rem solid #a8a8a9;
    border-radius: 0.5rem;
    cursor: pointer;
}

.form-checkbox-input::before {
    content: "";
    width: 0.65rem;
    height: 0.7rem;
    -webkit-clip-path: polygon(7% 55%, 0 65%, 50% 100%, 100% 16%, 90% 8%, 47% 81%);
    clip-path: polygon(7% 55%, 0 65%, 50% 100%, 100% 16%, 90% 8%, 47% 81%);
    transform: scale(0);
    transform-origin: bottom left;
    transition: 120ms transform ease-in-out;
    background-color: CanvasText;
}

.form-checkbox-input:checked::before {
    transform: scale(1);
}

.form-checkbox-input:disabled {
    cursor: default;
    opacity: 0.5;
}

.form-checkbox span {
    color: #000;
    padding-top: 0.0625rem;
    font-size: 0.875rem;
}

.form-checkbox span a {
    background-position: 0 -1px;
}

.form-error {
    width: 100%;
    color: #9b0d0d;
    padding: 0.25rem 0 0.25rem 0.75rem;
    border-left: 0.0625rem solid #9b0d0d;
}

.form-error span {
    display: block;
    text-align: left;
    font-size: 1rem;
}

.form-error span:not(:last-child) {
    margin-bottom: 0.5rem;
}

.flatsSelector.section {
    margin-bottom: 0rem;
}

@media only screen and (max-width: 991px) {
    .flatsSelector.section {
        margin-bottom: 4.5rem;
    }
}

@media only screen and (max-width: 768px) {
    .flatsSelector.section {
        margin-bottom: 6.5rem;
    }
}

.flatsSelector-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4.7/3;
    /*&-inner {
      position: relative;
      @include min-media(xxxl) {
          &::before {
              content: "";
              position: absolute;
              top: 0;
              left: 0;
              height: 100%;
              width: 20rem;
              background: linear-gradient(90deg,c.$white 0%, rgba(255, 255, 255, 0) 40%);
          }
          &::after {
              content: "";
              position: absolute;
              top: 0;
              right: 0;
              height: 100%;
              width: 20rem;
              background: linear-gradient(-90deg,c.$white 0%, rgba(255, 255, 255, 0) 40%);
          }
      }
  }*/
}

.flatsSelector-image-main {
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
    opacity: 0;
    width: 100%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
    transition: opacity 0.25s linear;
    /*max-width: 1920px;*/
}

.flatsSelector-image-main.visible {
    opacity: 1;
}

.flatsSelector-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(5deg, #fff 12.5%, rgba(255, 255, 255, 0) 50%);
}

@media only screen and (max-width: 768px) {
    .flatsSelector-image::after {
        background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 25%);
    }
}

.flatsSelector-inner {
    /*max-width: 1920px;
  margin: 0 auto;*/
    position: relative;
}

.flatsSelector-controls {
    position: absolute;
    bottom: 15rem;
    left: 15rem;
}

@media only screen and (max-width: 1925px) {
    .flatsSelector-controls {
        bottom: 11.5rem;
        left: 10rem;
    }
}

@media only screen and (max-width: 1475px) {
    .flatsSelector-controls {
        bottom: 6.5rem;
        left: 6.5rem;
    }
}

@media only screen and (max-width: 991px) {
    .flatsSelector-controls {
        bottom: 3rem;
        left: 4rem;
    }
}

@media only screen and (max-width: 768px) {
    .flatsSelector-controls {
        bottom: -4.5rem;
        left: 0;
        right: 0;
        margin: 0 auto;
    }
}

.flatsSelector-controls-wrapper {
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
    background-color: #000;
    border-radius: 3.125rem;
    overflow: hidden;
}

.flatsSelector-controls button {
    padding: 0.75rem 1.125rem;
    transition: all 0.25s;
}

@media only screen and (max-width: 768px) {
    .flatsSelector-controls button {
        padding: 0.675rem 0.875rem;
    }
}

.flatsSelector-controls button img {
    width: 2rem;
}

@media only screen and (max-width: 768px) {
    .flatsSelector-controls button img {
        width: 1.5rem;
    }
}

.flatsSelector-controls button:hover {
    background-color: #2d2d2d;
}

.flatsSelector-controls-left:is(button) {
    padding-right: 0.5rem;
}

.flatsSelector-controls-left:is(button) img {
    transform: rotate(180deg);
}

.flatsSelector-controls-right:is(button) {
    padding-left: 0.5rem;
}

.flatsSelector-controls-title {
    margin-top: 0.5rem;
    display: block;
    text-align: center;
    color: #000;
    font-weight: 600;
}

@media only screen and (max-width: 768px) {
    .flatsSelector-controls-title {
        margin-top: 0.375rem;
        font-size: 0.9375rem;
    }
}

.flatsSelector-flat {
    position: absolute;
    top: 50%;
    left: 50%;
}

.flatsSelector-flat-toggle-button {
    background-color: #62af7e;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.25;
}

.flatsSelector-flat-hover-box {
    display: none;
    background-color: #fff;
    border-radius: 1.875rem;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    position: absolute;
    top: 0;
    width: 21.875rem;
}

.flatsSelector-flat-hover-box-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.flatsSelector-flat-hover-box-parameters {
    border-top: 0.0625rem solid #e8e8e8;
    margin: 1.25rem 0;
}

.flatsSelector-flat-hover-box-parameters-item {
    min-width: 7.5rem;
    border-bottom: 0.0625rem solid #e8e8e8;
    font-size: 0.9375rem;
    padding: 0.125rem 0.25rem;
}

.flatsSelector-flat-hover-box-parameters-item span:last-child {
    color: #000;
}

.flatsSelector-flat-hover-box-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.flatsSelector-flat-hover-box-info-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
}

.flatsSelector-flat-hover:hover .flatsSelector-flat-hover-box {
    display: block;
}

@media only screen and (max-width: 1200px) {
    .flatsSelector-flat-hover:hover .flatsSelector-flat-hover-box {
        display: none;
    }
}

.flatsSelector-flat-click {
    display: none;
    background-color: #fff;
    border-radius: 1.875rem;
    overflow: hidden;
    position: absolute;
    z-index: 3;
    top: 0;
    width: 28.125rem;
    transform: translateY(-50%);
}

@media only screen and (max-width: 1200px) {
    .flatsSelector-flat-click {
        position: absolute;
        top: 0;
        left: 0;
        transform: translate(-50%, 0%);
    }
}

@media only screen and (max-width: 768px) {
    .flatsSelector-flat-click {
        box-shadow: 0px 0px 20px 16px rgba(0, 0, 0, 0.05);
    }
}

@media only screen and (max-width: 576px) {
    .flatsSelector-flat-click {
        width: 21.875rem;
    }
}

@media only screen and (max-width: 350px) {
    .flatsSelector-flat-click {
        width: 18.75rem;
    }
}

.flatsSelector-flat-click-body {
    padding: 2.25rem;
    position: relative;
}

@media only screen and (max-width: 576px) {
    .flatsSelector-flat-click-body {
        padding: 1.5rem;
    }
}

.flatsSelector-flat-click-body-close {
    position: absolute;
    top: 2rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    color: #000;
}

@media only screen and (max-width: 576px) {
    .flatsSelector-flat-click-body-close {
        top: 1.2rem;
        right: 0.85rem;
    }
}

.flatsSelector-flat-click-body-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.flatsSelector-flat-click-body-info-type {
    transform: translateY(-0.125rem);
    font-size: 1rem;
}

.flatsSelector-flat-click-body-info-type strong {
    padding-left: 0.25rem;
    display: inline-block;
    transform: translateY(0.125rem);
    font-size: 1.25rem;
}

.flatsSelector-flat-click-body-schema {
    position: relative;
}

.flatsSelector-flat-click-body-schema-parameters {
    position: absolute;
    top: -0.75rem;
    right: 0;
    text-align: right;
    font-size: 0.8125rem;
    line-height: 1.3;
}

.flatsSelector-flat-click-body-schema-parameters-item span:last-child {
    color: #000;
}

.flatsSelector-flat-click-body-schema-image {
    padding: 0 1rem 0.5rem;
    margin: 0 auto;
    -o-object-fit: scale-down;
    object-fit: scale-down;
    max-height: 25rem;
}

.flatsSelector-flat-click-footer {
    background-color: #e8e8e8;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem 1.75rem;
    text-align: left;
}

@media only screen and (max-width: 576px) {
    .flatsSelector-flat-click-footer {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
}

.flatsSelector-flat-click-footer-left {
    flex-shrink: 0;
}

.flatsSelector-flat-click-footer-right {
    width: 100%;
}

.flatsSelector-flat-click-footer-right .button {
    width: 100%;
}

.flatsSelector-flat-click-footer-link {
    display: block;
}

.flatsSelector-flat-click-footer-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
}

.flatsSelector-flat.click-active .flatsSelector-flat-click {
    display: block;
}

.flatsSelector-flat.click-active .flatsSelector-flat-hover-box {
    display: none;
}

.flatsSelector-tag {
    color: #000;
    background-color: #e8e8e8;
    display: block;
    width: -moz-fit-content;
    width: fit-content;
    padding: 0.125rem 0.5rem;
    font-size: 1rem;
    border-radius: 1.875rem;
    min-width: 4.6875rem;
    text-align: center;
}

.flatsSelector-tag.green {
    color: #fff;
    background-color: #62af7e;
}

@media only screen and (min-width: 1475px) {
    .flatsList-title.section-title {
        margin-bottom: 0;
    }
}

@media only screen and (min-width: 991px) {
    .flatsList-title.section-title {
        max-width: 31.25rem;
    }
}

.flatsList-filters {
    position: relative;
    margin-bottom: 8.5rem;
}

@media only screen and (max-width: 1200px) {
    .flatsList-filters {
        margin-bottom: 5rem;
    }
}

@media only screen and (max-width: 991px) {
    .flatsList-filters {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }
}

@media only screen and (max-width: 768px) {
    .flatsList-filters {
        margin-bottom: 3rem;
    }
}

.flatsList-filters-reset {
    display: block;
    margin-left: auto;
    width: -moz-fit-content;
    width: fit-content;
    position: absolute;
    top: -3.5rem;
    right: 0;
}

@media only screen and (max-width: 991px) {
    .flatsList-filters-reset {
        position: unset;
        margin-top: 1rem;
    }
}

.flatsList-filters-toggler {
    display: none;
}

@media only screen and (max-width: 991px) {
    .flatsList-filters-toggler {
        display: flex;
        width: -moz-fit-content;
        width: fit-content;
    }
}

@media only screen and (max-width: 768px) {
    .flatsList-filters-toggler {
        width: 100%;
    }
}

.flatsList-filters-wrapper {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    /*@include max-media(lg) {
      display: none;
      &.active {
          display: flex;
          flex-direction: column;
          gap: 1rem;
      }
  }*/
}

@media only screen and (max-width: 1200px) {
    .flatsList-filters-wrapper {
        justify-content: space-between;
    }
}

@media only screen and (max-width: 991px) {
    .flatsList-filters-wrapper {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }
}

.flatsList-filters-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem 1rem;
}

.flatsList-filters-item {
    position: relative;
}

@media only screen and (max-width: 1200px) {
    .flatsList-filters-item {
        width: 100%;
    }
}

.flatsList-filters-item-header {
    border: 0.0625rem solid #000;
    border-radius: 1.875rem;
    color: #000;
    padding: 0.875rem 1.75rem;
    min-width: 12.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.flatsList-filters-item-header svg {
    transition: all 0.25s ease-in-out;
    width: 1.5rem;
}

.flatsList-filters-item-content {
    position: absolute;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-in-out;
    padding-top: 0.5rem;
    width: 100%;
    z-index: 1;
}

.flatsList-filters-item-content-wrapper {
    border-radius: 1.875rem;
    background-color: #fff;
    border: 0.0625rem solid #a8a8a9;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.flatsList-filters-item-content .form-inputbox {
    font-size: 0.875rem;
}

.flatsList-filters-item.active .flatsList-filters-item-header svg {
    transform: rotate(180deg);
}

.flatsList-filters-item.active .flatsList-filters-item-content {
    top: 100%;
}

.flatsList-table-wrapper {
    display: grid;
}

@media only screen and (max-width: 1200px) {
    .flatsList-table-wrapper {
        gap: 2rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 991px) {
    .flatsList-table-wrapper {
        gap: 1.5rem;
        grid-template-columns: minmax(0, 1fr);
    }
}

.flatsList-table-item {
    display: flex;
    border-radius: 3.125rem;
}

.flatsList-table-item:nth-child(odd) {
    background-color: #e8e8e8;
}

@media only screen and (max-width: 1200px) {

    .flatsList-table-item:nth-child(even),
    .flatsList-table-item:nth-child(odd) {
        background-color: transparent;
        border: 0.0625rem solid #e8e8e8;
    }
}

.flatsList-table-item>* {
    padding: 1.125rem 1.125rem 1.125rem 0;
    color: #000;
    font-size: 1rem;
}

.flatsList-table-item>*:first-child {
    padding-left: 2rem;
}

.flatsList-table-item>.popup {
    padding: 0;
}

.flatsList-table-item-id,
.flatsList-table-item-layout,
.flatsList-table-item-status,
.flatsList-table-item-area {
    width: 9.5%;
}

.flatsList-table-item-floor,
.flatsList-table-item-orientation {
    width: 7.5%;
}

.flatsList-table-item-price,
.flatsList-table-item-includes {
    width: 13.5%;
}

@media only screen and (max-width: 1200px) {
    .flatsList-table-item {
        flex-direction: column;
        padding: 2.75rem;
    }

    .flatsList-table-item>* {
        text-align: center;
        width: 100%;
        padding: 0;
    }

    .flatsList-table-item>*[data-title]::before {
        content: attr(data-title);
        text-align: left;
        min-width: 4.6875rem;
    }

    .flatsList-table-item>*:first-child {
        padding-left: 0;
        border: 0;
    }

    .flatsList-table-item>*:last-child {
        border: 0;
    }

    .flatsList-table-item-parameter {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1.5rem;
        padding: 0.25rem 0;
        border-bottom: 0.0625rem solid #000;
    }

    .flatsList-table-item-layout {
        border-top: 0.0625rem solid #000;
    }

    .flatsList-table-item-id {
        font-family: "New York", serif;
        font-size: 2.625rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
}

@media only screen and (max-width: 768px) {
    .flatsList-table-item {
        padding: 1.75rem;
    }
}

.flatsList-table-item-buttons {
    width: 20%;
    padding: 1.125rem 2.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.flatsList-table-item-buttons>a {
    display: flex;
    align-items: center;
}

.flatsList-table-item-buttons>a,
.flatsList-table-item-buttons>a svg {
    transition: all 0.25s ease-in-out;
}

.flatsList-table-item-buttons>a svg {
    flex-shrink: 0;
    width: 0;
}

.flatsList-table-item-buttons>a:hover {
    color: #000;
}

.flatsList-table-item-buttons>a:hover svg {
    width: 1.25rem;
    margin-left: 0.375rem;
}

@media only screen and (max-width: 1475px) {
    .flatsList-table-item-buttons {
        padding: 1.125rem 2.25rem;
    }
}

.flatsList-table-item-buttons-show:hover {
    margin-left: -0.75rem;
}

.flatsList-table-item-buttons-ask:hover {
    margin-right: -0.75rem;
}

.flatsList-table-item:nth-child(odd) .flatsList-table-item-buttons {
    background-color: #000;
    border-radius: 3.125rem;
}

.flatsList-table-item:nth-child(odd) .flatsList-table-item-buttons>a {
    color: #fff;
}

@media only screen and (max-width: 1200px) {

    .flatsList-table-item:nth-child(odd) .flatsList-table-item-buttons,
    .flatsList-table-item:nth-child(even) .flatsList-table-item-buttons {
        width: 100%;
        min-width: unset;
        padding: 0;
        margin: 1.25rem 0 0;
        background-color: unset;
        border-radius: unset;
        display: flex;
        gap: 0.5rem;
        justify-content: center;
    }

    .flatsList-table-item:nth-child(odd) .flatsList-table-item-buttons>a,
    .flatsList-table-item:nth-child(even) .flatsList-table-item-buttons>a {
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        border: 0.0625rem solid #000;
        color: #fff;
        font-weight: 600;
        border-radius: 3.125rem;
        font-size: 1.0625rem;
        line-height: 1.625rem;
        padding: 1rem;
        width: 100%;
        max-width: 10.9375rem;
        background-size: 100% 200%;
        background-image: linear-gradient(to bottom, #000 50%, #fff 50%);
        background-position: 0 0;
    }

    .flatsList-table-item:nth-child(odd) .flatsList-table-item-buttons>a:hover,
    .flatsList-table-item:nth-child(even) .flatsList-table-item-buttons>a:hover {
        margin: 0;
        background-position: 0 100%;
        color: #000;
    }

    .flatsList-table-item:nth-child(odd) .flatsList-table-item-buttons>a:hover svg,
    .flatsList-table-item:nth-child(even) .flatsList-table-item-buttons>a:hover svg {
        width: 1.5rem;
    }
}

@media only screen and (max-width: 768px) {

    .flatsList-table-item:nth-child(odd) .flatsList-table-item-buttons>a,
    .flatsList-table-item:nth-child(even) .flatsList-table-item-buttons>a {
        padding: 0.75rem 1.5rem;
    }
}

.flatsList-table-item-status .green {
    color: #00a359;
}

.flatsList-button {
    margin-top: 3rem;
}

@media only screen and (max-width: 768px) {
    .flatsList-button {
        margin-top: 2rem;
    }
}

.flatsList-button a {
    display: block;
    margin: 0 auto;
    width: -moz-fit-content;
    width: fit-content;
}

.download {
    background-color: #e8e8e8;
}

.download.section {
    padding: 7.5rem 0;
}

@media only screen and (max-width: 768px) {
    .download.section {
        padding: 4.5rem 0;
    }
}

.download-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media only screen and (max-width: 1200px) {
    .download-wrapper {
        flex-direction: column;
    }
}

@media only screen and (min-width: 1200px) {
    .download-title {
        margin-bottom: 0 !important;
    }
}

@media only screen and (max-width: 1200px) {
    .download-schema {
        margin-bottom: 4.5rem;
    }
}

@media only screen and (max-width: 768px) {
    .download-schema {
        margin-bottom: 3rem;
    }
}

.download-schema-image {
    max-width: 17.1875rem;
}

.download-files-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media only screen and (max-width: 1200px) {
    .download-files-wrapper {
        align-items: center;
    }
}

.download-files-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    width: -moz-fit-content;
    width: fit-content;
    min-width: 10.3125rem;
}

.download-files-item-icon {
    flex-shrink: 0;
    width: 2.125rem;
    -o-object-fit: scale-down;
    object-fit: scale-down;
}

.download-files-item span {
    display: block;
}

.flatDetail {
    text-align: left;
}

.flatDetail-wrapper {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

@media only screen and (max-width: 991px) {
    .flatDetail-wrapper {
        flex-direction: column;
    }
}

.flatDetail-legend {
    width: 40%;
}

@media only screen and (max-width: 1475px) {
    .flatDetail-legend {
        width: 45%;
    }
}

@media only screen and (max-width: 991px) {
    .flatDetail-legend {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.flatDetail-legend-header {
    display: flex;
    align-items: center;
    gap: 2rem;
}

@media only screen and (max-width: 991px) {
    .flatDetail-legend-header {
        justify-content: center;
        order: 1;
    }
}

@media only screen and (max-width: 768px) {
    .flatDetail-legend-header {
        flex-direction: column;
        gap: 0.75rem;
    }
}

.flatDetail-legend-header-logo {
    font-family: "New York", serif;
    border: 0.125rem solid #000;
    padding: 0.25rem 1rem;
    color: #000;
    font-size: 1.875rem;
    font-weight: 500;
    position: relative;
}

@media only screen and (max-width: 768px) {
    .flatDetail-legend-header-logo {
        font-size: 1rem;
        padding: 0.125rem 0.75rem;
    }
}

.flatDetail-legend-header-logo::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-image: url("../../img/logo/logo-light-small.svg");
    background-repeat: no-repeat;
    background-size: 16.5rem;
    z-index: 0;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 768px) {
    .flatDetail-legend-header-logo::after {
        left: 0.5rem;
        background-size: 8.5rem;
    }
}

.flatDetail-legend-info,
.flatDetail-legend-floor {
    margin-left: 7.5rem;
    max-width: 25rem;
}

@media only screen and (max-width: 1475px) {

    .flatDetail-legend-info,
    .flatDetail-legend-floor {
        margin-left: 5rem;
    }
}

@media only screen and (max-width: 1200px) {

    .flatDetail-legend-info,
    .flatDetail-legend-floor {
        margin-left: 0;
    }
}

@media only screen and (max-width: 991px) {

    .flatDetail-legend-info,
    .flatDetail-legend-floor {
        width: 100%;
    }
}

@media only screen and (max-width: 991px) {
    .flatDetail-legend-info {
        order: 3;
    }
}

.flatDetail-legend-info-title {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
}

@media only screen and (max-width: 991px) {
    .flatDetail-legend-info-title {
        text-align: center;
    }
}

.flatDetail-legend-info-total {
    display: block;
    font-weight: 600;
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 0 1rem;
}

@media only screen and (max-width: 768px) {
    .flatDetail-legend-info-total {
        flex-direction: column;
        align-items: center;
    }
}

.flatDetail-legend-info-total span:last-child {
    flex-shrink: 0;
}

.flatDetail-legend-info-parameters {
    border-top: 0.0625rem solid #000;
}

.flatDetail-legend-info-parameters-item {
    border-bottom: 0.0625rem solid #000;
    padding: 0.25rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.875rem;
    text-align: left;
}

.flatDetail-legend-info-parameters-item-room span:last-child {
    display: inline-block;
    text-align: right;
    min-width: 5.3125rem;
}

.flatDetail-legend-schema {
    display: none;
    order: 2;
}

@media only screen and (max-width: 991px) {
    .flatDetail-legend-schema {
        display: block;
        margin-bottom: 3.5rem;
        max-width: 31.25rem;
    }
}

@media only screen and (max-width: 768px) {
    .flatDetail-legend-schema {
        margin-bottom: 2.75rem;
    }
}

.flatDetail-legend-floor {
    margin-top: 5rem;
}

@media only screen and (max-width: 991px) {
    .flatDetail-legend-floor {
        order: 4;
    }
}

@media only screen and (max-width: 768px) {
    .flatDetail-legend-floor {
        margin-top: 2.75rem;
    }
}

.flatDetail-legend-floor-image {
    max-width: 100%;
    max-height: 14.0625rem;
    -o-object-fit: scale-down;
    object-fit: scale-down;
}

.flatDetail-schema {
    width: 60%;
    padding-left: 7.5rem;
    margin-top: 4rem;
}

@media only screen and (max-width: 1475px) {
    .flatDetail-schema {
        width: 55%;
        padding-left: 5rem;
    }
}

@media only screen and (max-width: 991px) {
    .flatDetail-schema {
        width: 100%;
        padding-left: 0;
        margin-top: 5rem;
    }
}

@media only screen and (max-width: 768px) {
    .flatDetail-schema {
        margin-top: 2.75rem;
    }
}

.flatDetail-schema-image {
    max-width: 100%;
    max-height: 40.625rem;
    -o-object-fit: scale-down;
    object-fit: scale-down;
}

@media only screen and (max-width: 991px) {
    .flatDetail-schema-image {
        display: none;
    }
}

.flatDetail-schema-image:not(:last-child) {
    margin-bottom: 3rem;
}

.flatDetail-schema-caution {
    font-size: 0.875rem;
    color: #666666;
}

@media only screen and (max-width: 768px) {
    .flatDetail-schema-caution {
        text-align: center;
    }
}

.flatDetail-schema-caution strong {
    color: #000;
}

.flatDetail-buttons {
    margin-top: 5rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

@media only screen and (max-width: 1200px) {
    .flatDetail-buttons {
        flex-direction: column;
    }
}

@media only screen and (max-width: 768px) {
    .flatDetail-buttons {
        margin-top: 2.75rem;
        gap: 2.75rem;
    }
}

.flatDetail-buttons-wrapper {
    display: flex;
    gap: 1rem;
}

@media only screen and (max-width: 768px) {
    .flatDetail-buttons-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
}

.flatDetail-buttons-wrapper .button {
    min-width: 11.875rem;
}

.flatDetail-buttons-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 1rem;
}

.flatDetail-buttons-phone a {
    text-decoration: none;
    display: inline-block;
    width: -moz-fit-content;
    width: fit-content;
    font-size: 1.625rem;
    line-height: 1.15;
    color: #000;
    font-weight: 600;
    background-size: 100% 200%;
    background-image: linear-gradient(to bottom, transparent 50%, #000 50%);
    padding: 0.1875rem 0.125rem;
    background-position: 0 0;
    transition-duration: 0.25s;
    padding: 0.125rem 0.25rem;
    margin: 0 -0.25rem;
}

.flatDetail-buttons-phone a:hover {
    background-position: 0 100%;
    color: #fff;
}

.gallery-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media only screen and (max-width: 768px) {
    .gallery-wrapper {
        gap: 1rem;
    }
}

.gallery-row {
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
}

.gallery-row:nth-child(even) {
    flex-direction: row-reverse;
}

@media only screen and (max-width: 991px) {

    .gallery-row,
    .gallery-row:nth-child(even) {
        flex-direction: column;
    }
}

@media only screen and (max-width: 768px) {
    .gallery-row {
        gap: 1rem;
    }
}

.gallery-col-large {
    width: 67.25%;
}

@media only screen and (max-width: 1475px) {
    .gallery-col-large {
        width: 67.35%;
    }
}

@media only screen and (max-width: 1200px) {
    .gallery-col-large {
        width: 67.55%;
    }
}

@media only screen and (max-width: 991px) {
    .gallery-col-large {
        width: 100%;
    }
}

.gallery-col-large .gallery-col-image:hover .gallery-col-image-main {
    transform: scale(1.05);
}

.gallery-col-small {
    width: 32.75%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media only screen and (max-width: 1475px) {
    .gallery-col-small {
        width: 32.55%;
    }
}

@media only screen and (max-width: 1200px) {
    .gallery-col-small {
        width: 32.45%;
    }
}

@media only screen and (max-width: 991px) {
    .gallery-col-small {
        flex-direction: row;
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .gallery-col-small {
        gap: 1rem;
    }
}

.gallery-col-small .gallery-col-image:hover .gallery-col-image-main {
    transform: scale(1.08);
}

.gallery-col-image {
    display: block;
    width: 100%;
    border-radius: 1.875rem;
    overflow: hidden;
    position: relative;
}

.gallery-col-image-main {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    transition: all 0.25s ease-in-out;
}

.gallery-col-image-icon {
    color: #fff;
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 1.5rem;
    height: 1.5rem;
}

@media only screen and (max-width: 576px) {
    .gallery-col-image-icon {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 1.25rem;
        height: 1.25rem;
    }
}

.map {
    position: relative;
}

.map.section {
    margin-bottom: 0;
}

.map-controls {
    position: absolute;
    left: 2.5rem;
    right: 2.5rem;
    bottom: 7.5rem;
    z-index: 4;
}

@media only screen and (max-width: 1200px) {
    .map-controls {
        bottom: 5rem;
    }
}

@media only screen and (max-width: 768px) {
    .map-controls {
        left: 1.5rem;
        right: 1.5rem;
        bottom: 1.5rem;
    }
}

.map-controls-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

@media only screen and (max-width: 768px) {
    .map-controls-wrapper {
        gap: 0.5rem;
    }
}

.map-controls .button {
    font-size: 1.0625rem;
}

.map-controls .button:not(.active) {
    background-position: 0 100%;
    color: #000;
}

@media only screen and (max-width: 768px) {
    .map-controls .button {
        font-size: 0.875rem;
        min-width: 9.375rem;
        padding: 0.5rem 0.875rem;
    }
}

@media only screen and (max-width: 768px) {
    .map-controls {
        padding: 1.5rem 1.5rem;
        position: unset;
    }
}

.map-frame {
    width: 100%;
    min-height: 34.375rem;
    height: calc(100dvh - 4.5rem);
}

.subpageTitle.section {
    margin-top: 8rem;
    margin-bottom: 5rem;
}

@media only screen and (max-width: 768px) {
    .subpageTitle.section {
        margin-top: 4.5rem;
        margin-bottom: 2.5rem;
    }
}

.subpageTitle h1,
.subpageTitle h2,
.subpageTitle h3 {
    margin: 0;
}

.textimage-image-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

@media only screen and (max-width: 768px) {
    .textimage-image-wrapper {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        margin-top: 2rem;
    }
}