/* правки. здесь новые стили. Стили из билда находятся в template_styles */
/* *{
    -moz-user-select: none;
    -khtml-user-select: none;
    user-select: none;
} */

body .menu-mobile {
    /*display: unset;*/
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	visibility: hidden;
    opacity: 0;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
	height: 100vh;
	/*height: 100%;*/
    background: var(--kanye-brown-color);
    z-index: 1020;
    -webkit-transform: translate(-100%, 0);
    transform: translate(-100%, 0);
    transition: .2s;
}
    body .menu-mobile.open {
		visibility: visible;
		display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-transform: translate(0%, 0);
        transform: translate(0%, 0);
        opacity: 1;
    }

body .nav-burger{
    z-index: 1000;
}

/* Список городов */
html body .main-header__chose-city{
    padding-left: 20px;
    margin-right: 20px;
    /* min-width: 133px; */
    position: relative;
    cursor: pointer;
}
@media (min-width: 1200px) and (max-width: 1260px) {
    /* html body .main-header__chose-city{
        min-width: 90px;
    } */
}

ul.main-header__chose-city.open li > .main-header__city-list {
    display: block;
}

    body .main-header ul .main-header__city-list {
        background: rgba(74, 135, 199, 1);
        position: absolute;
        display: none;
        left: 0;
        top: -10px;
        min-width: 160px;
        padding: 10px;
        padding-bottom: 14px;
        padding-left: 25px;
        margin-left: -5px;
        z-index: 1;
    }
        ul .main-header__city-list li {
            position: relative;
            padding: 5px 0px 5px 0px;
        }
        .main-header__city-list li:hover:before {
            background: url(/local/templates/scandia.life.mainpage/dist/img/icon-map.png) no-repeat left center;
            background-size: 13px;
            content: '';
            width: 16px;
            height: 20px;
            position: absolute;
            top: 5px;
            left: -20px;
        }
        .main-header__city-list li:hover a{
            text-decoration: underline;
        }
.slick-track{
    overflow: hidden;
    /* height: 100%; */
}
.slick-slider
{
    overflow: hidden;
    /* height: 100%; */
}
.slick-slide {
    height: initial;
}
/* Выбор города на мобильных */
html .menu-mobile .menu-mobile__wrapper .main-header__chose-city {
    margin-bottom: 15px;
    color: #ffffff;
    background: url(/local/templates/scandia.life.mainpage/dist/img/icon-map.png) no-repeat left center;
    background-size: 13px;
}
html .menu-mobile ul.main-header__city-list{
    background: #ffffff;
    color: #3c83bd;
}

html .menu-mobile .main-nav__link,
html .menu-mobile .menu-mobile__wrapper a.main-header__phone{
    color: #ffffff;
}

/* Блок "выбор недвижимости" если в городе только один ЖК */
.block-kvartals__one-zhk {
    padding: 100px 20px 20px 80px;
    background: #f0f0f2;
    position: relative;
    height: 350px !important;
    width: 50%;
    display: inline-block;
    clear: both;
}
.grayscale{
    color: #636363;
}
.block-kvartals__kvartal-feature.grayscale img {
    /* filter: brightness(39%); */
}
@media (max-width: 1200px) {
    html body .block-kvartals__kvartal,
    html body .block-kvartals__one-zhk{
        width:100% !important;
    }
    html body .block-kvartals__one-zhk{
        height: auto !important;
        padding: 30px;
        margin-bottom: 20px;
    }
}

/* Модальная форма "Заказать звонок" */
.callback-form .modal-content {
    border: 0;
    border-radius: 0;
    -webkit-box-shadow: 2px 4px 30px 0px rgba(155, 155, 155, 0.3);
    box-shadow: 2px 4px 30px 0px rgba(155, 155, 155, 0.3);
}
.callback-form .callback-form__close {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    opacity: 1;
    background-color: #f5f5f5;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAACySURBVCjPbdExbsJAEEbhz6xEZfcxoqBClvCtcgFcBB8DiUMh0RApl+ACrrYhhbHZTTzte5r5ZwYoLFUBKzS+lP9w6aQhKHzaObiLGe5sfbgG/GhtMqXUqT1cxIDoW2ujfSkTPhsIzEqtdbdOcZq/clR7kOKpQ9qlSvG45lTPpWOEZMQ4e3hlibkwJTi7zXHjW3jjIdsojkKK/y4dg8LRNk8+K3tXaPQLz6r0muyxy+/+Bek2QN9CaNm9AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE4LTA4LTIwVDExOjA0OjE3KzAwOjAwXthSFAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxOC0wOC0yMFQxMTowNDoxNyswMDowMC+F6qgAAAAASUVORK5CYII=);
    background-position: center;
    background-repeat: no-repeat;
}
@media (max-width: 960px) {
	.callback-form .callback-form__close {
		width: 30px;
		height: 30px;	
	}
}


.callback-form-2024 .modal-content {
    border: 0;
    border-radius: 12px;
    -webkit-box-shadow: 2px 4px 30px 0px rgba(155, 155, 155, 0.3);
    box-shadow: 2px 4px 30px 0px rgba(155, 155, 155, 0.3);
}

.callback-form-2024.meeting-form .modal-content {
    padding: 45px 55px;
    height: 100%;
}

@media (max-width: 1280px) {
    .callback-form-2024 .modal-content {

    }
}

@media (max-width: 780px) {
    .callback-form-2024 .modal-content {

    }
}

.callback-form-2024 .callback-form__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    opacity: 1;
    background-position: center;
    background-repeat: no-repeat;
}

.callback-form-2024 .modal-dialog {
    max-width: 560px;
}

.callback-form-2024 .modal-header {
    flex-direction: column;
    border-bottom: none;
    padding: 32px;
    padding-bottom: 12px;
}
.callback-form-2024 .modal-title {
    margin-bottom: 8px;
}
.callback-form-2024 .modal-body {
    padding: 32px;
    padding-top: 12px;
}
.meeting-form .modal-body {
    padding: 0;
}
.meeting-form .selectric {
    border: none;
    background: #F9F9F9;
    border-radius: 5px;
}
.meeting-form .selectric .label {
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 400;
}
/* .meeting-form .selectric .button:before {
    content: '';
    border: none;
    background-color: #E2DFD2;
    width: 20px;
    height: 20px;
    align-items: center;
    align-content: center;
    border-radius: 10px;
    display: block;
    position: absolute;
    top: 18px;
    right: 9px;
} */
.meeting-form .selectric .button:after {
    /* content: url('/upload/form-arrow.svg'); */
    /* border: none; */
    /* background-color: #E2DFD2; */
    /* width: 20px;
    height: 20px; */
    /* align-items: center; */
    /* align-content: center; */
    /* border-radius: 10px; */
}
.callback-form-2024.meeting-form .form-group input {
    padding: 18px 20px;
}
.form-group__remark {
    font-size: 14px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 500;
}
.callback-form-2024.meeting-form .form-group.description-text {
    font-size: 12px;
    text-align: center;
}
.callback-form-2024.meeting-form .form-group.description-text a {
    font-size: 12px;
}
.callback-form-2024.meeting-form .modal-dialog {
    height: auto !important;
}

.callback-form-2024 .modal-subtitle {
    font-size: 16px;
}

.callback-form-2024 .form-group.item-button {
    /* height: 60px;
    border-radius: 5px;
    background-color: #E2DFD2;
    font-size: 20px;
    color: #575757;
    font-weight: 500;
    margin-bottom: 10px; */

    width: 100%;
    height: initial;
    border-radius: 6px;
    padding: 15px 16px;
    background-color: #E5AF98;
    border: 1px solid #E5AF98;
    text-transform: initial;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    text-align: center;
    margin-top: 0;
    margin-bottom: 16px;
    transition: all 0.2s ease-in-out;
}
.callback-form-2024 .form-group.item-button:hover {
    background-color: #E5AF98;
    filter: saturate(1.1);
}
.callback-form-2024 .form-group.item-button.close {
    opacity: 1;
    text-transform: initial;
}

.callback-form-2024 .form-group.description-text {
    margin-top: 4px;
    margin-bottom: 4px;
    font-size: 12px;
    line-height: 130%;
    color: #575757;
}

.callback-form-2024 .form-group.description-text a {
    font-size: 12px;
    line-height: 130%;
}

/* Модальная форма "Квартира недели" */
.room-week .modal-content {
    border: 0;
    border-radius: 0;
    -webkit-box-shadow: 2px 4px 30px 0px rgba(155, 155, 155, 0.3);
    box-shadow: 2px 4px 30px 0px rgba(155, 155, 155, 0.3);
}
.room-week .room-week__close {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    opacity: 1;
    background-color: #f5f5f5;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAACySURBVCjPbdExbsJAEEbhz6xEZfcxoqBClvCtcgFcBB8DiUMh0RApl+ACrrYhhbHZTTzte5r5ZwYoLFUBKzS+lP9w6aQhKHzaObiLGe5sfbgG/GhtMqXUqT1cxIDoW2ujfSkTPhsIzEqtdbdOcZq/clR7kOKpQ9qlSvG45lTPpWOEZMQ4e3hlibkwJTi7zXHjW3jjIdsojkKK/y4dg8LRNk8+K3tXaPQLz6r0muyxy+/+Bek2QN9CaNm9AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE4LTA4LTIwVDExOjA0OjE3KzAwOjAwXthSFAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxOC0wOC0yMFQxMTowNDoxNyswMDowMC+F6qgAAAAASUVORK5CYII=);
    background-position: center;
    background-repeat: no-repeat;
}

/* Элементы управления форм */
/* inputs */
.form-group input {
    width: 100%;
    height: 48px;
    border: none;
    box-shadow: inset 0 0 2px #bbbbbb;
    border-radius: 0px;
    line-height: 14px;
    font-size: 14px;
    box-sizing: border-box;
    padding-left: 20px;
}
.form-group input:active,
.form-group input:hover,
.form-group input:focus{
    box-shadow: inset 0 0 2px #bbbbbb;
}
/* state inputs */
body .input-error {
    outline: 1px solid #f00;
}

/* buttons */
.form-group.item-button {
    cursor: pointer;
    width: 100%;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--kanye-gold-color);
    color: var(--kanye-default-color);
    line-height: 19px;
    font-size: 16px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 10px;
    border: 0;
}
.form-group.item-button:hover {
    background: var(--kanye-darkgold-color);
    color: var(--kanye-default-color);
}

/* description form */
.form-group.description-text,
.form-group.description-text a {
    line-height: 21px;
    font-size: 14px;
    color: #969696;
}
.form-group.description-text a {
    text-decoration: none;
    border-bottom: 1px solid rgba(150, 150, 150, 0.25);
    opacity: 1;
}

.result-text{
    display: none;
    color: #58585b;
}
.result-text.open{
    display: block;
}

.text-light, .text-white{
    color: #ffffff;
}
.result-text .modal-title {
    text-align: center;
}

.top_helloworld{
    padding: 1em 1em;
    /* position: absolute; */
    top:0;left:0;z-index: 900;
    background: #4a87c7;width:100%;
}

.main-header .top_helloworld {
    position: relative;
    top: -18px;
}
.main-header.f-nav .top_helloworld{
    overflow: hidden; height: 0; padding: 0;
}


/* @media (min-width: 1200px) {
    .block-cart {
        transition: .3s;
        box-shadow: 9px 9px 15px 1px transparent;
    }
    .block-cart:hover {
        box-shadow: 9px 9px 15px 1px #00000024;
        transform: perspective(500px) rotateY(-10deg);
        z-index: 5;
    }
} */
body .modal-header .close {
    margin-top: 0px;
}

/* Модальное окно по центру экрана */
.modal-dialog {
    /* height: 100%; */
    /* width: 100%; */
    /* display: flex; */
    /* align-items: center; */
}

.modal-content {
    width: 100%;
    /* margin: 0 auto; */
}

/* Прелоадер */
/* Прелоадер */
/* Прелоадер */
.cssload-container {
	width: 100%;
	/* height: 49px; */
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #00000038;
    z-index: 100500;
    visibility: visible;
    /* z-index: -100500; */
}
.cssload-container.hidden {
    z-index: -100500;
    visibility: hidden;
}

.cssload-speeding-wheel {
	width: 49px;
	height: 49px;
    margin: 0 auto;
    position: fixed;
    top: 45%;
    left: 48%;
	border: 4px solid var(--kanye-gold-color);
	border-radius: 50%;
	border-left-color: transparent;
	border-right-color: transparent;
	animation: cssload-spin 950ms infinite linear;
		-o-animation: cssload-spin 950ms infinite linear;
		-ms-animation: cssload-spin 950ms infinite linear;
		-webkit-animation: cssload-spin 950ms infinite linear;
		-moz-animation: cssload-spin 950ms infinite linear;
}



@keyframes cssload-spin {
	100%{ transform: rotate(360deg); transform: rotate(360deg); }
}

@-o-keyframes cssload-spin {
	100%{ -o-transform: rotate(360deg); transform: rotate(360deg); }
}

@-ms-keyframes cssload-spin {
	100%{ -ms-transform: rotate(360deg); transform: rotate(360deg); }
}

@-webkit-keyframes cssload-spin {
	100%{ -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@-moz-keyframes cssload-spin {
	100%{ -moz-transform: rotate(360deg); transform: rotate(360deg); }
}

/* fix */
.block-option__example-img {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* body .block-option__choice { */
.block-option__choice {
	margin-bottom: 0;
	/* display: flex;
    align-items: center;
    justify-content: center; */
}

.block-option__section {
	height: 100%;
	/* padding-bottom: 300px; */
}

.block-option__floor {
	flex-grow: 1;
    display: flex;
    align-items: center;
}

.block-option__rose:before {
	top: 40%;
	transform: translateY(-40%);
}
.block-option__navigation:before {
	top: 40%;
	transform: translateY(-40%);
}



.block-option__choice {
	position: relative;
	justify-content: center;
	padding-top: 70px;
}

@media (min-width: 1199px) and (max-width: 1366px) {
    .block-option__choice {
        padding-top: 0px;
    }
}

.block-option__choice-title {
	position: absolute;
	top: 0;
}

@media (max-width: 1199px) {
    .block-option__section {
        padding-bottom: 15px !important;
    }
}


.block-filter__cost--on-input {
	position: absolute;
	bottom: -10px;
	left: 0;
	right: 0;
}

.block-filter__label--term-credit {
	margin-top: 28px;
}

/* end fix */

/* комерческая недвижимость */

.block-kvartals__icon--text {
	font-size: 32px;
	line-height: 1;
	color: #575757;
}

.gb--office .block-cart {
	width: 47%;
}

.gb--office .block-cart .block-cart__text {
	flex-basis: 40%;
	margin-top: auto;
}

.gb--office .block-cart .block-cart__img {
	max-width: 200px;
}

.gb--office .block-cart .block-cart__room {
	margin-top: 14px;
}

.block-option--office {
	align-self: stretch;
}

.block-option--office .block-option__wrapper,
.block-option--office .block-option__details {
	padding-bottom: 300px;
}

.block-option--office .block-option__details {
	position: relative;
}

.block-option--office .block-option__bottom {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
}
.block-option--office .block-option__bottom .block-advice {
	margin: 0;
}

.block-project-infographics__quantity--office .block-project-infographics__quantity-desc{
	max-width: 160px;
}

.block-option--office .block-option__row {
	position: relative;
	flex-wrap: wrap;
}

.block-option--office .block-option__pdf {
	position: absolute;
	/*bottom: 20px;*/
	bottom: 0px;
	right: 0;
}

@media (max-width: 1200px){
	.gb--office .block-cart {
		width: 45%;
	}

	.gb--office .block-cart .block-cart__img {
		margin-bottom: 15px;
		height: 100%;
	}

	.block-option--office .block-option__wrapper,
	.block-option--office .block-option__details {
		padding-bottom: 0;
	}

	.block-option--office .block-option__bottom {
		position: static;
		margin-top: 30px;
		margin-left: -40px;
		margin-right: -40px;
	}

	.block-option--office .block-option__example-img img{
		display: block;
		max-width: 100%;
		margin: 0 auto;
	}

	.block-option--office .block-option__example-img {
		/* min-height: 532px; */
		max-height: 532px;
	}

	.block-option--office {
		margin-bottom: 70px;
	}

	.block-option--office .block-option__details-position {
		display: flex;
		justify-content: space-evenly;
	}

	.block-option--office .block-option__pdf {
		display: none;
	}
}

@media (max-width: 768px) {
	.gb--office .block-cart {
		width: 100%;
	}

	.block-option--office .block-option__bottom {
		margin-left: -15px;
		margin-right: -15px;
	}

	.block-project-infographics__quantity--office .block-project-infographics__quantity-item {
		width: 33.33333%;
	}

	.block-project-infographics__lease--office {
		display: flex;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.block-project-infographics__quantity--office .block-project-infographics__quantity-item {
		width: 50%;
	}
}


.sales-office {
    position: relative;
}
#office-map {
    height: 617px;
}

.sales-office  .close {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 32px;
    height: 32px;
    opacity: 0.3;
}
.sales-office  .close:hover {
    opacity: 1;
}
/* .sales-office  .close:before, .close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #333;
} */
.sales-office  .close:before {
    transform: rotate(45deg);
}
.sales-office  .close:after {
    transform: rotate(-45deg);
}

.office-map__block {
    position: absolute;
    z-index: 2;
    background: #FEFEFE;
    max-width: 437px;
    width: 100%;
    left: calc((100vw - 1510px) / 2);
    top: 50%;
    transform: translateY(-50%);
}

.office-map__body {
    padding: 15px 15px 25px 25px;
    font-size: 16px;
    line-height: 100%;
    color: #575757;
}

.office-map__img {
    background-size: cover;
    height: 238px;
    width: 100%;
}
.office-map__phone {
    padding-top: 10px;
}

.office-map__time {
    padding-top: 15px;
    line-height: 150%;
}

.office-map__desc {
    padding-top: 15px;
    line-height: 130%;
}
@media screen and (max-width:1520px) {
    .office-map__block {
        left: calc((100vw - 100% + 50px) / 2);
    }
}
@media screen and (max-width: 991px) {
    #office-map {
        height: 617px;
        padding-top: 300px;
        box-sizing: content-box;
    }
    .office-map__block {
        width: calc(100% - 50px);
        max-width: 100%;
        transform: translateY(0);
        top: 0;
    }
}



/* @media (min-width: 768px){
    .modal-dialog {
        width: 800px;
    }
} */

#image-modal .modal-body{
    text-align: center;
}

#image-modal .modal-body img{
    max-height: 90vh;
}

section.agency__header {
    padding: 120px 20px;
}

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

.section {
    max-width: 1880px;
    margin: 0 auto;
}
.section-first {
    margin-top: 120px;
}
.title {
    margin: 0;
    padding: 0;
}
.title--h1 {
    font-size: 50px;
    font-weight: 500;
    line-height: 50px;
}
.color--white {
    color: #ffffff;
}

.two-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal--partner .modal-dialog {
    max-width: 560px;
}

.vacancy-swiper__button.agency__button  {
    margin-bottom: initial;
}

.callback-form--vacancy .modal-dialog {
    max-width: 784px;
}
.callback-form--vacancy .modal-body {
    max-width: 784px;
    padding: 32px;
}
.modal-vacancy {
    display: flex;
    flex-direction: column;
    row-gap: 32px;
}
.callback-form--vacancy .modal-vacancy__title {
    color: #E5AF98;
}
.modal-vacancy__preview {
    position: relative;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.2px;
}
.modal-vacancy__preview::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    bottom: -16px;
    background: #C8C8C8;
}
.modal-vacancy__conditions p {
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: -0.2px;
    margin-bottom: 12px;
}
.modal-vacancy__requirements {
    display: flex;
    flex-direction: column;
    row-gap: 32px;
}
.modal-vacancy__requirement {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}
.modal-vacancy__requirement ul {
    margin-bottom: 0;
    padding-left: 20px;
}
.modal-vacancy__requirement ul li {
    font-size: 16px;
    line-height: 160%;
    letter-spacing: 0%;
    margin-top: 4px;
}
.modal-vacancy__requirement ul li:first-child {
    margin-top: 0;
}
.modal-vacancy__requirement ul li::marker {
    color: #E5AF98;
}
.modal-vacancy__subtitle {
    color: #E5AF98;
    font-weight: 500;
    font-size: 20px;
}
.modal-vacancy__buttons .agency__button a {
    width: 100%;
}

@media (max-width: 1590px) {

}