/*
 Theme Name:   Lofts
 Description:  template Lofts
 Author: Valery
 Author URI: https://lofts.by/
 Template:     twentytwentyone
 Version:      1.0
 Text Domain:  lofts
*/
@font-face {
    font-family: "nbrb";
    src: url("assets/css/fonts/nbrb.woff2") format("woff2"),
    url("assets/css/fonts/nbrb.ttf") format("truetype"),
    url("assets/css/fonts/nbrb.woff") format("woff");
    unicode-range: U+E901, U+42, U+59, U+4E;
}

.nbrb-icon {
    font-size: 18px;
    font-family: "nbrb" !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: normal;
    -webkit-font-feature-settings: "liga";
    -moz-font-feature-settings: "liga=1";
    -moz-font-feature-settings: "liga";
    -ms-font-feature-settings: "liga" 1;
    font-feature-settings: "liga";
    -webkit-font-variant-ligatures: discretionary-ligatures;
    font-variant-ligatures: discretionary-ligatures;
}

.nbrb-icon-byn:before {
    content: "\e901";
}
:root {
    --bs-font-sans-serif: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --global--font-primary: 'Inter', var(--bs-font-sans-serif);
    --global--font-secondary: var(--bs-font-sans-serif);
    --bs-heading-color: #222;
}
html{
    font-size: 15px;
}
body{
    font-size: 1rem;
}
a{
    color:#000;
    text-decoration: none;
    transition: all .3s ease;
}
a:hover{
    color:#777;
}
a:active,
a:focus {
    outline: none;
}
::-moz-selection {
    background-color: #000;
    color: #fff;
}
::selection {
    background-color: #000;
    color: #fff;
}
body {
    font-family: var(--global--font-secondary);
    font-weight: 300;
    background: #fff;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--global--font-primary);
    font-weight: 600;
}

.font-primary {
    font-family: var(--global--font-primary);
}
strong, b {
    font-variation-settings: 'wght' 600;
}
button, input, textarea, select {
    font-family: inherit;
}
h3{
    color:var(--bs-heading-color);
}
#page{
    position:relative;
    margin:0 auto;
    width:100%;
    max-width: 1920px;
    min-height: calc(var(--vh, 1vh) * 100);
}
header#masthead{
    position:absolute;
    top: 0px;
    left:0;
    z-index: 99;
    width:100%;
    transition: all .3s ease;
}
#content:after{
    content: "";
    background: linear-gradient(180deg, #ffffff 39.9%, #f8f8f8 100%);
    position:absolute;
    z-index: 0;
    height: 100px;
    top:0;
    left:0;
    width: 100%;
}
#content{
    padding:100px 0 0 0;
    position:relative;
}
#primary{
    position: relative;
    z-index: 1;
    background:#fff;
}
.header--row{
    display: flex;
    width: 100%;
    padding:30px 0;
    align-items: center;
    justify-content: space-between;
    transition: all .3s ease;
}
header.fixed#masthead{
    top:0px;
    position: fixed;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.05);
    background-color: #fff;
}
.fixed .header--row{
    padding:15px 0;
}
.site--logo{
    display:inline-flex;
}
.site--logo img{
    height:24px;
}
.template--contacts li a{
    width:40px;
    height:40px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
}
.header--menu{
    display: inline-flex;
    gap:50px;
    margin:0;
    list-style: none;
    padding:0;
    font-size: 14px;
    font-weight: 500;
}
.header--menu li{
    display: block;
}
.template--contacts{
    margin:0;
    padding:0;
    display: inline-flex;
    gap:1rem;
    list-style: none;
}
.template--contacts li.menu--li{
    display: none;
}
.template--contacts li a,
.template--contacts li img{
    flex-shrink: 0;
}
.template--contacts li{
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    white-space: nowrap;
}
.page--top{
    padding:3.3rem 0 0 0;
}
.main--img{
    position: absolute;
    object-fit: cover;
    object-position: center;
    top: 50%;
    right: 0;
    left: 0;
    height: auto;
    width: 100%;
    transform: translateY(-50%);
    z-index: 1;
}
.template--contacts li a img{
    height:18px;
    transition: all .3s ease;
}
.template--contacts li:not(.top--phone) a:hover img{
    transform: scale(1.1);
}
.top--h1{
    font-size: 2.5rem;
    line-height: 1.1;
    color:#fff;
    font-weight: 600;
    margin:0;
}
.subtext{
    font-size:1.3rem;
}
.top--content{
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    min-height:500px;
}
.top--content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    z-index: 2;
    pointer-events: none;
}
.top--left{
    position: relative;
    z-index: 3;
    color:#fff;
    padding:0 3.3rem;
    width:66%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap:2rem;
    justify-content: center;
}
.top--right{
    display:flex;
    width:34%;
    position:relative;
    flex: 1 0 auto;
}
.subtext ul{
    display:flex;
    flex-direction: column;
    gap:10px;
    margin:0;
    padding:0;
    list-style: none;
    font-size:1.2rem;
}
.subtext ul li span{
    font-weight: 700;
}
.header--right{
    display: flex;
    gap:2rem;
}

.button{
    outline: none;
    -webkit-appearance: none;
    min-width:220px;
    height:48px;
    padding: 0 1rem;
    display: inline-flex;
    text-align: center;
    position: relative;
    border-radius:48px;
    border:0;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 500;
    user-select: none;
    transition: all .3s ease;
}
.button.small--btn{
    font-size: 13px;
    min-width:160px;
    height:36px;
}
.button.color1{
    overflow: hidden;
    background: linear-gradient(to right, #E61E4D 0%, #E31C5F 50%, #D70466 100%);
    color:#fff;
    transition: color .3s ease;
}
.button.color1 span{
    position:relative;
    z-index:1;
}
.button.color1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #FFFFFF 0%, #FAFAFA 50%, #F1F1F1 100%);
    opacity: 0;
    transition: opacity .3s ease;
    z-index: -1;
}
.button.color1:hover{
    color:#000;
}
.button.color1:hover::before {
    z-index: 0;
    opacity: 1;
}
.button.color1:focus{
    background-color: #FF383C;
    color:#fff;
}
.button.color2,
.button.color2:focus{
    background-color: transparent;
    color:#fff;
    border-color:#FF383C;
}
.button.color2:hover{
    border-color:#000;
    background-color: #000;
    color:#fff;
}
.button.color3,
.button.color3:focus{
    background-color: #000;
    color:#fff;
}
.button.color3:hover{
    background-color: #FF383C;
    color:#fff;
}
.button.color4,
.button.color4:focus{
    background-color: #000;
    color:#fff;
}
.button.color4:hover{
    background-color: #fff;
    color:#000;
}
.button.color5,
.button.color5:focus{
    border-color:#000;
    background-color: transparent;
    color:#000;
}
.button.color5:hover{
    background-color: #000;
    color:#fff;
}
.cookies-wrap.hide{
    display: none;
}
.cookies-wrap {
    position: fixed;
    bottom: 20px;
    z-index: 1001;
    left: 50%;
    margin-left: -649px;
    width: 100%;
    max-width: 1298px;
    padding: 24px;
    font-size: 14px;
    text-align: center;
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    -webkit-transform: translateY(3000%);
    transform: translateY(3000%);
    -webkit-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}
.cookies-wrap.open {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
}
.cookies--text {
    padding-right: 20px;
    text-align: left;
}
.cookies-wrap a {
    flex-shrink: 0;
    border:1px solid transparent;
    display: inline-block;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    border-radius: 48px;
    color: #fff;
    height: 48px;
    line-height: 46px;
    width: 180px;
    background: #000;
}
.cookies-wrap a:hover{
    border:1px solid #000;
    background:transparent;
    color:#000;
}
button.mfp-close:focus,
button.mfp-close:hover {
    background-color: transparent;
    box-shadow: none;
}
.mfp-bg {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.5);
}
.mfp-fade.mfp-bg {
    opacity: 0;
    -webkit-transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    transition: all 0.1s ease-out;
}
.mfp-fade.mfp-bg.mfp-ready {
    opacity: 1;
}
.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}
.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    -webkit-transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    transition: all 0.1s ease-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}
.site-footer{
    position:relative;
    overflow: hidden;
    background: #f7f7f7;
    padding:3.3rem 0;
    font-size: 14px;
    color:#222;
}
.footer--title{
    color:#222;
    font-weight:500;
    line-height: 1;
    margin:0 0 20px 0
}
.footer--row{
    position:relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}
.footer--bottom{
    font-size:13px;
    padding:2rem 0 0 0;
    margin:2rem 0 0 0;
    border-top:1px solid #ebebeb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer--bottom img{
    height:32px;
    opacity:0.7;
    transition: all .3s ease;
}
.footer--bottom:hover img{
    opacity: 1;
}
.copy{
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap:20px;
    font-size:13px;
}
.copy div{
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap:10px;
}
.copy a{
    border-bottom:1px solid #6a6a6a;
    line-height: 1;
    display: inline-flex;
    color:#6a6a6a;
}
.footer--contacts img{
    height:16px;
}
.copy a:hover{
    border-color: transparent;
    color:#000;
}
.footer--logo{
    height:18px;
    opacity:0.4
}
.footer-blob{
    width: 500px;
    height: auto;
    position: absolute;
    top: 0;
    z-index: 1;
    left: 0;
    -webkit-animation: float 10s infinite ease-in-out alternate;
    animation: float 10s infinite ease-in-out alternate;
}
.footer--contacts{
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap:10px;
    font-size: 13px;
}
.footer--contacts li a{
    display: flex;
    gap:10px;
    align-items: center;
}
.footer--contacts a{
    color:#6a6a6a;
}
.footer--contacts a:hover{
    color: #000;
}
.center{
    text-align: center;
}
.white-popup-block .input--row-full input{
    height: 58px;
    display: flex;
    align-items: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #e1e1e1;
    background: transparent;
    width: 100%;
    outline: none;
    -webkit-appearance: none;
    padding: 0 15px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    font-size: 14px;
    border-radius: 8px;
    box-shadow: none !important;
    -webkit-transition: background .3s, border .3s;
    -o-transition: background .3s, border .3s;
    transition: background .3s, border .3s;
}
#paymentPopup .popup--inner .input--row-full{
    position: relative;
}
.custom-select input:focus,
.white-popup-block .input--row-full input:focus,
#success--form .input--row-full input:focus{
    border: 1px solid #ccc;
    background: #fff;
    outline: none;
}
#paymentPopup .popup--inner .input--row-full input:focus {
    border: 1px solid #000;
    background: #fff;
    outline: none;
}
.white-popup-block button.disabled,
#success--form button.disabled{
    opacity: 0.5;
    background: #999;
    pointer-events: none;
    cursor: not-allowed;
    color: #fff;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.input--row{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap:22px;
}
.input--label{
    font-weight: 600;
    font-size: 1rem;
    margin:0 0 10px 0;
}
.input--row-radio .check--row{
    display: flex;
    flex-direction: row;
    gap:24px;
}
.input--row-radio .form-check-input{
    width:18px;
    height: 18px;
    margin-top: 1.5px;
    border: 2px solid #ccc;
}
.input--row-radio .form-check .form-check-input{
    margin-left:-28px;
}
.input--row-radio .form-check {
    font-size: 14px;
    min-height: 1.5rem;
    padding-left: 28px;
    margin-bottom: 0;
}
.input--row-radio .form-check-input:checked {
    background-color: #E42B37;
    border-color: #E42B37;
}
.input--row-radio .form-check-input:focus {
    box-shadow: 0px 0px 0 3px rgba(228,43,55,0.2);
}
.form-check label{
    cursor: pointer;
}

.full{
    width:100%!important;
}
.popup--contacts a+a{
    margin-left:10px;
}
.popup--contacts div{
    font-size: 14px;
    line-height: 1;
    margin-top:10px;
}
.white-popup-block .input--label,
#success--form .input--label,
#paymentPopup .popup--inner .input--label{
    display: block;
}
#mailform{
    display: flex;
    flex-direction: column;
    gap:20px;
}
.form-check:not(.form-switch) a{
    color:#000;
    border-bottom: 1px solid;
}
.form-check:not(.form-switch) a:hover,
.popup--contacts a:hover{
    color:#E42B37;
}
.social--row{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap:20px;
}
.social--item{
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:10px;
    border-radius: 8px;
    border:1px solid #ccc;
    font-size:14px;
    color:#000;
    transition: all .3s ease;
}
.social--item:hover,
.social--item.active{
    border-color:#E42B37
}
.social--item.active{
    cursor: default;
    pointer-events: none;
}
.white-popup-block .form-check-input:checked,
#success--form .form-check-input:checked{
    background-color: #E42B37;
    border-color: #E42B37;
}
.white-popup-block .input--row-full input.unavailable,
#success--form .input--row-full input.unavailable{
    border-color:#ff0000
}
.white-popup-block .input--row-full input.available,
#success--form .input--row-full input.available{
    border-color:#359E24
}
.white-popup-block .form-check-input,
#success--form .form-check-input{
    width: 18px;
    height: 18px;
    margin-top: 2.5px;
}
.white-popup-block .form-check .form-check-input,
#success--form .form-check .form-check-input{
    margin-left: -28px;
}
.white-popup-block .form-check label,
#success--form .form-check label{
    font-size: 14px;
}
.white-popup-block .form-check-input:focus,
#success--form .form-check-input:focus{
    box-shadow: 0 0 0 .25rem rgba(228,44,55,0.25);
}
.white-popup-block .form-check,
#success--form .form-check{
    padding-left: 28px;
    margin-bottom: 0;
}
.custom--select {
    cursor: default;
    pointer-events: none;
    position: absolute;
    left: 0;
    height: 54px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    z-index: 11;
}
.selected-option {
    padding: 8px;
    cursor: pointer;
    border: 0;
    align-items: center;
    height: 52px;
    margin-top:1px;
    border-radius: 0;
    display: flex;
    justify-content: center;
}
.flag-icon {
    width: 20px;
    height: 20px;
}
.options {
    position: absolute;
    top: 0;
    padding-top:8px;
    left: -1px;
    width: calc(100% + 1px);
    display: none;
    border: 1px solid #e5e5e5;
    border-radius: 4px 0 4px 4px;
    background: #fff;
    z-index: 10;
}
.option {
    padding: 8px;
    display: flex;
    justify-content: center;
    cursor: pointer;
}
.option:hover {
    background-color: #f0f0f0;
}
.pos-rel{
    position: relative;
}
.hide{
    display: none!important;
}

body.no-scroll {
    overflow: hidden;
}
.lofts-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1000;
}
.lofts-mobile-overlay--active {
    opacity: 1;
    visibility: visible;
}
.mobile--top{
    padding: 20px 20px 0 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-bottom: 0;
}
.lofts-mobile-close-btn img{
    transition: all .3s ease;
    height:18px;
}
.lofts-mobile-close-btn:hover img {
    transform: scale(1.1);
}
.lofts-mobile-menu-container {
    position: fixed;
    bottom: -200%;
    left: 0px;
    width: 100%;
    height: calc(var(--vh, 1vh) * 50 - 40px);
    background: #F7F6F2;
    z-index: 100025;
    transition: bottom 0.3s ease;
    overflow: hidden;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
}
.lofts-mobile-menu-container--active {
    bottom: 0px;
    box-shadow: 0px 0 10px rgba(0, 0, 0, 0.05);
}
.lofts-mobile-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}
.lofts-mobile-slider--submenu {
    transform: translateX(-50%);
}

.lofts-mobile-main,
.lofts-mobile-submenu {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    flex-shrink: 0;
    position: relative;
}
.lofts-flex{
    display: flex;
    flex-direction: column;
    position: relative;
    justify-content: space-between;
    height: 100%;
}
.lofts-mobile-close-btn {
    padding: 0;
    position: absolute;
    right: 16px;
    width: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 32px;
    top: 16px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 100%;
    border: none;
    cursor: pointer;
    z-index: 1003;
}
.lofts-mobile-bottom a {
    position:relative;
    display: block;
    padding: 15px 32px;
    text-decoration: none;
    color: #000;
    font-size: 14px;
}
.lofts-mobile__menu {
    list-style: none;
    margin: 12px 0 0 0;
    padding: 0;
}
.lofts-mobile__menu .mobile-menu__item {
    margin: 0;
    border-bottom: 1px solid #eee;
}
.lofts-mobile-menu-container .mobile-menu__item a {
    position: relative;
    color:#000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 32px;
    font-weight: 400;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}
.mobile--bottom{
    padding:20px 32px;
}
.mobile--bottom a{
    font-weight: 300;
    font-size:13px;
    border-bottom: 1px solid;
}
.lofts-mobile-menu-container .mobile-menu__item a:hover {
    color:#000;
    background: #f5f5f5;
}
.lofts-mobile-content {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
}
.lofts-mobile__menu .lofts-mobile-content {
    display: none;
}
.lofts-mobile-hamburger {
    cursor: pointer;
}
.subheading{
    line-height: normal;
}
h3{
    position: relative;
    z-index:2;
    font-size: 1.6rem;
    margin:0 0 20px 0;
}
.white--block ul{
    display: flex;
    position:relative;
    z-index:2;
    flex-direction: column;
    gap:10px;
    margin:0;
    padding: 0 0 0 22px;
    list-style: disc;
}
.white--block ul li{
    position:relative;
}
.bx-authform-starrequired{
    color:#ff0000
}
.accordion-item{
    border-bottom: 0;
    border-left:0;
    border-right:0;
    border-top:0;
}
.accordion-item:after{
    content:"";
    position:absolute;
    bottom:0;
    left:-3.3rem;
    height: 1px;
    background:rgba(0,0,0,0.12);
    width: calc(100% + 6.6rem);
}
.accordion-item:last-child:after{
    display: none;
}
.accordion-item{
    padding-bottom: 20px;
}
.accordion-item:last-child{
    border-bottom: 0;
    border-left:0;
    border-right:0;
    border-top:0;
}
.accordion-button{
    font-weight: 500;
    font-size: 1.2rem;
    padding: 20px 28px 0 0;
    cursor:pointer;
}
.accordion-button:not(.collapsed) {
    color: #f82631;
    background-color: transparent;
    box-shadow: none;
}
.accordion-body {
    padding: 20px 0 0 0;
}
.accordion-button::after {
    position: absolute;
    top:25px;
    flex-shrink: 0;
    width: 18px;
    right:0;
    height: 12px;
    margin-left: auto;
    content: "";
    background-image: url(assets/images/chevron.svg?2);
    background-repeat: no-repeat;
    background-size:18px;
    transition: transform .3s ease;
}
.accordion-button:not(.collapsed)::after {
    background-image: url(assets/images/chevron.svg?2);
    transform: rotate(180deg);
}
.heading,
.accordion{
    width:100%;
}
.accordion{
    margin-top:-20px;
    margin-bottom: -20px;
}
.accordion,
.accordion-item{
    position:relative;
    background-color:transparent;
}
.accordion-button{
    background-color:transparent;
}
.error404{
    position:relative;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    flex-direction: column;
    gap:20px;
    min-height: calc(var(--vh, 1vh) * 100 - 100px);
}
.page--text{
    padding: 3.3rem 0 6.7rem 0;
    min-height: calc(var(--vh, 1vh) * 100);
}
.page--text .entry-title{
    margin:0;
    line-height: 1.1;
}
.page--text .title-column{
    margin: 0 0 2rem 0;
}
.text--wrp .white--block{
    gap:1rem;
}
.text--wrp .white--block p,
.text--wrp .white--block h3{
    margin:0;
    width: 100%;
}
.white--block {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.marg-top{
    margin-top:2rem;
}
.white--block iframe{
    border-radius:20px!important;
}
.text--wrp .white--block a{
    text-decoration: underline;
}
.apartments--wrp{
    padding-bottom:5rem;
    overflow: hidden;
}
h2{
    font-size:1.6rem;
    margin:0 0 25px 0;
}
.apartments-slide-thumbnail{
    display: block;
    overflow: hidden;
    border-radius: 20px;
}
.apartments-slide-thumbnail img{
    border-radius:20px;
    transition: all .3s ease;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 3 / 2;
}
.apartments-slide-thumbnail:hover{
    opacity:0.5
}
.swiper-slide{
    height:auto!important;
}
.apartments-slide,
.apartments-slide-content{
    display:flex;
    flex-direction:column;
    gap:1rem;
}
.apartments-slide-content{
    gap:10px;
}
.apartments-slide-title{
    font-weight:500;
    line-height: normal;
}
.apartments-slide-price{
    color: #777;
    font-weight: 400;
    font-size: 14px;
}
.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    position:relative;
    bottom: auto;
    top: auto;
    left: auto;
    width: 100%;
    margin-top:20px;
}
.swiper {
    overflow: visible!important;
}
.swiper-pagination-bullet{
    width:6px;
    height: 6px;
}
.swiper-pagination-bullet-active{
    background:#000;
    transform: scale(1.3);
}
.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{
    margin:0 7px;
}
video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.apartments--items{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap:10px;
}
.apartments--archive{
    padding:0 0 3.3rem 0;
}
.apartments--item .apartments-slide-content{
    margin-top:1rem;
}
.entry-title{
    margin:0 0 25px 0;
}
.entry-title.smaller{
    font-size:1.6rem;
}
.back--url{
    display:inline-flex;
    font-size:14px;
    gap:7px;
    margin:0 0 10px 0;
    align-items: center;
}
.apartments--detail{
    overflow: hidden;
    padding-top:3.3rem;
}
.apartments--info{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap:10px;
    grid-row-gap: 20px;
}
.ap--col{
    display: flex;
    flex-direction: column;
    gap:10px;
    line-height: normal;
}
.ap--col div{
    font-weight:600
}
.ap--col span{
    color:#777;
}
.apartments--block{
    margin-top:2rem;
    display: flex;
    flex-direction: row;
    gap:2rem;
}
.apartments--col:first-child{
    width:70%;
}
.apartments--col:last-child{
    width:30%;
}
.widget{
    position: sticky;
    top:80px;
    z-index: 9;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.apartments--price{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 20px;
}
.apartments--price div,
.apartments--price div i{
    font-size:20px;
    font-weight: 600;
    line-height: 1;
}
.apartments--price div i{
    font-size:24px;
}
.apartments--desc{
    margin-top:2rem;
    margin-bottom:3rem;
}
.apartments--price div.price--convert{
    font-weight: 300;
    color: #777;
    font-size: 13px;
    margin-top: 10px;
}
.apartments--rules{
    margin-top:2rem;
    padding-top:2rem;
    border-top:1px solid #e1e1e1
}
.apartments--time{
    display: flex;
    flex-direction: row;
    gap:2rem;
    margin-bottom:25px;
}
.icon--line{
    font-weight: 500;
    display: flex;
    flex-direction: row;
    gap:15px;
    align-items: center;
}
.rules--icons{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap:10px;
    line-height: 1;
    flex-direction: column;
}
.icon--line img{
    opacity:0.5;
}
.apartments--comfort{
    margin-top:2rem;
    padding-top:2rem;
    border-top:1px solid #e1e1e1
}
.apartments--comfort .rules--icons{
    display: grid;
    grid-template-columns: repeat(2,1fr);
}
.add--comfort{
    padding-top:25px;
    column-count: 2;
    column-gap: 20px;
    column-fill: balance;
}
.comfort--col {
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-bottom: 20px;
}
.comfort--col strong{
    font-weight: 600;
}
.comfort--trigger{
    margin-top:25px;
    cursor: pointer;
    display: flex;
    color: rgb(0, 0, 0);
    height: 42px;
    align-items: center;
    border-radius: 6px;
    width:100%;
    text-align: center;
    padding: 0px 1rem;
    background: transparent;
    border:1px solid #e1e1e1;
    justify-content: center;
    transition: all .3s ease;
}
.comfort--trigger:hover{
    border:1px solid #000;
    background:#fafafa
}
.comfort--col p{
    margin:0;
    line-height: normal;
}
.comfort--col p+p{
    margin-top:1rem;
}
.widget .button{
    width: 100%;
}
.booking--widget {
    display: none;
    z-index: 10000;
    width: 100%;
    max-width: 600px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 3.3rem 24px;
    font-size: 14px;
    text-align: center;
    line-height: normal;
    gap: 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #222;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    -webkit-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}
.booking--overlay{
    display: none;
    position:fixed;
    z-index:9999;
    top:0;
    padding: 10px;
    left:0;
    width:100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}
.booking--widget .button:hover{
    color:#fff;
}
.booking--widget .button.color1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #000000 0%, #000000 50%, #000000 100%);
    opacity: 0;
    transition: opacity .3s ease;
    z-index: -1;
}
.map--wrp{
    margin-bottom: 3rem;
}
.map--wrp iframe{
    border-radius: 20px!important;
}
.location--wrp{
    display: flex;
    gap:3.3rem;
    flex-direction: row;
    margin-bottom: 20px;
}
.location--col{
    display: flex;
    flex-direction: column;
    gap: 10px;
    line-height: normal;
}
.location--col div {
    font-weight: 600;
}
.location--col span{
    color: #777;
}
@media only screen and (min-width : 993px) {

    .apartments--gallery {
        width: 100%;
        overflow: hidden;
    }
    .apartments--gallery .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: auto;
        gap: 10px;
        transform: none !important;
    }
    .apartments--gallery .swiper-slide {
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }
    .apartments--gallery .swiper-slide a {
        display: block;
        width: 100%;
        height: 100%;
    }
    .apartments--gallery .swiper-slide a:hover{
        opacity:0.5
    }
    .apartments--gallery .swiper-slide img {
        width: 100%;
        height: 100% !important;
        object-fit: cover;
        display: block;
        aspect-ratio: 4 / 3;
    }
    .apartments--gallery .swiper-slide:first-child {
        grid-row: span 2;
        grid-column: span 2;

    }
    .apartments--gallery .swiper-slide:first-child img{
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
    }
    .apartments--gallery .swiper-slide:nth-child(2) {
        grid-column: 3;
        grid-row: 1;
    }
    .apartments--gallery .swiper-slide:nth-child(3) {
        grid-column: 4;
        grid-row: 1;
    }
    .apartments--gallery .swiper-slide:nth-child(3) img{
        border-top-right-radius: 20px;
    }
    .apartments--gallery .swiper-slide:nth-child(4) {
        grid-column: 3;
        grid-row: 2;
    }
    .apartments--gallery .swiper-slide:nth-child(5) {
        grid-column: 4;
        grid-row: 2;
    }
    .apartments--gallery .swiper-slide:nth-child(5) img{
        border-bottom-right-radius: 20px;
    }
    .mobile-only-slide {
        display: none !important;
    }
    .apartments--gallery .swiper-pagination {
        display: none;
    }
    .apartments--gallery{
        position:relative;
    }
    .all--photos{
        z-index: 2;
        position:absolute;
        bottom:20px;
        right:20px;
        display: inline-flex;
        font-size:13px;
        font-weight: 500;
        color:#000;
        background:#fff;
        border-radius: 6px;
        height:36px;
        align-items: center;
        padding:0 1rem;
        gap:5px;
    }
    .all--photos img{
        height:18px;
    }
}
@media only screen and (max-width : 1399px) {
    .cookies-wrap {
        margin-left: -559px;
        max-width: 1118px;
    }
}
@media only screen and (max-width : 1200px) {
    .cookies-wrap {
        margin-left: -469px;
        max-width: 938px;
    }
    .top--right{
        display: none;
    }
    .top--left{
        width:100%;
    }
    .top--content::after {
        width: 100%;
    }
    .apartments--items {
        grid-template-columns: repeat(2, 1fr);
        grid-row-gap: 2rem;
    }
    .apartments--info {
        grid-template-columns: repeat(3, 1fr);
        grid-row-gap: 20px;
    }
    .apartments--col:last-child {
        width: 34%;
    }
    .apartments--col:first-child {
        width: 64%;
    }
}
@media only screen and (max-width : 992px) {
    html{
        font-size: 14.5px;
    }
    .apartments--col:last-child {
        width: 100%;
    }
    .apartments--col:first-child {
        width: 100%;
    }
    .apartments--block {
        flex-direction: column-reverse;
        gap: 0px;
    }
    .widget {
        position: fixed;
        top: auto;
        bottom: 0;
        width: 100%;
        left: 0;
        border-radius: 0;
        background: #fff;
        padding: 15px;
        display: flex;
        flex-direction: row;
        gap: 10px;
        justify-content: space-between;
    }
    .widget .button{
        width:150px;
        min-width: 150px;
    }
    .apartments--price{
        justify-content: center;
        margin-bottom: 0px;
    }
    .nights{
        display: none;
    }
    .apartments--price div{
        display:flex;
        gap:10px;
        align-items: center;
    }
    .apartments--price div.price--convert{
        margin-top:0;
    }
    .apartments--gallery{
        position:relative;
    }
    .apartments--gallery .swiper-pagination-bullets.swiper-pagination-horizontal{
        position:absolute;
        transform: translateX(0);
        left:40%;
        margin-left:-50px;
        bottom:20px;
    }
    .apartments--gallery .swiper-pagination-bullets.swiper-pagination-horizontal .swiper-pagination-bullet-active{
        background: #fff;
    }
    .apartments--gallery .swiper-pagination-bullets.swiper-pagination-horizontal .swiper-pagination-bullet{
        background: #fff;
        opacity: 0.9;
    }
    .apartments-slide-thumbnail img,
    .apartments--slider .swiper-slide img,
    .top--content,
    .apartments-slide-thumbnail,
    .white--block iframe{
        border-radius: 10px!important;
    }
    .apartments--slider .swiper-slide a {
        display: block;
        width: 100%;
        position: relative;
    }
    .apartments--slider .swiper-slide a:hover{
        opacity:0.5
    }
    .apartments--slider .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 3 / 2;
        display: block;
    }
    .apartments--slider .swiper-slide{
        width:80%!important;
    }
    .all--photos{
        display: none;
    }
    .mobile-only-slide {
        display: block;
    }
    .top--content{
        min-height: 400px;
    }
    .top--h1{
        font-size:2rem;
    }
    .subtext {
        font-size: 1.1rem;
        line-height: normal;
    }
    header.fixed#masthead {
        top: 0px;
        position: fixed;
    }
    #content:after{
        height:62px;
    }
    .page--text{
        padding-bottom: 3.3rem;
    }
    .cookies-wrap {
        margin-left: -349px;
        max-width: 698px;
    }
    .site--logo img {
        height: 20px;
    }
    #content {
        padding: 62px 0 0 0;
    }
    .header--row {
        padding: 15px 0;
    }
    .template--contacts li a img {
        height: 16px;
    }
    .template--contacts li a {
        width: 32px;
        height: 32px;
    }
    .apartments--detail {
        padding-top: 2rem;
    }
    .site-footer.footer--padding{
        padding: 3.3rem 0 100px 0;
    }
}
@media only screen and (max-width : 768px) {
    .footer--row {
        flex-direction: column;
        gap: 24px;
    }
    .location--wrp {
        gap: 15px;
        flex-direction: column;
    }
    .footer--bottom{
        flex-direction: column-reverse;
        gap:20px;
        align-items: flex-start;
    }
    .footer--bottom img {
        opacity: 0.7;
    }
    .apartments--info {
        grid-template-columns: repeat(2, 1fr);
    }
    .booking--widget{
        width: 90%;
    }
    .apartments--items {
        grid-template-columns: repeat(1, 1fr);
        grid-row-gap: 2rem;
    }
    .top--content {
        min-height: 300px;
    }
    .top--left {
        padding: 0 2rem;
    }
    .cookies-wrap {
        gap:15px;
        font-size: 13px;
        margin-left: -259px;
        max-width: 518px;
        flex-direction: column;
    }
    .cookies--text {
        padding-right: 0px;
    }
    .cookies-wrap a{
        width: 100%;
    }
    .header--menu{
        display: none;
    }
    .template--contacts li.menu--li {
        display: inline-flex;
    }
    .apartments-swiper-container .swiper-slide{
        width:80%!important;
    }
}
@media only screen and (max-width : 576px) {
    html{
        font-size: 14px;
    }
    .site-footer.footer--padding {
        padding: 3.3rem 0 120px 0;
    }
    #paymentPopup .popup--inner{
        padding:2rem;
        background:#fff;
        min-height: 300px;
    }
    #closePopup {
        right: 10px;
        top: 11px;
    }
    .book {
        width: 350px;
        max-width: 350px;
        transform: translateX(-45px);
    }
    .contents--bottom {
        flex-direction: column;
    }
    .steps--row {
        grid-template-columns: repeat(1, 1fr);
    }
    .main--img {
        position: absolute;
        object-fit: cover;
        top: 0;
        height: 100%;
        width: 100%;
        transform: translateY(0);
    }
    .subtext {
        font-size: 1rem;
    }
    .top--h1 {
        font-size: 1.6rem;
    }
    .top--content {
        justify-content: center;
        align-items: center;
        border-radius: 10px;
    }
    .cookies-wrap {
        margin-left: 0;
        left: 2%;
        max-width: 96%;
        width: 96%;
        bottom:10px;
    }

    .white-popup-block {
        padding: 2rem;
    }
    .top--right {
        flex: none;
        height: auto;
    }
    header#masthead .button.small--btn{
        padding:0;
        min-width: 130px;
        font-size: 12px;
    }
    .header--right{
        gap:15px;
    }
    .apartments--price div.price--convert {
        font-size: 11px;
        gap: 5px;
    }
    .widget {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .widget .button {
        width: 100%;
        height: 42px;
        min-width: 150px;
    }
}