@media (min-width: 480px) {
	.hide-sm-only {
		display: none;
	}
}

@media (min-width: 785px) {
	.hide-md-up {
		display: none;
	}
	
	.modal__square {
		display: flex;
		flex-direction: row;
	}
	
	.form__row {
		display: flex;
		margin: 0 -7px 16px;
	}
	
	.form__row .input {
		padding: 0 7px;
	}
	
	.input__label {
		font-size: 17px;
	}
}

@media (min-width: 992px) {
	.hide-lg-up {
		display: none;
	}
}

@media (min-width: 1152px) {
	.hide-xl-only {
		display: none;
	}
}

@media (max-width: 1151px) {
	.hide-xl-down {
		display: none;
	}
}

@media (max-width: 991px) {
	.hide-lg-down {
		display: none;
	}
}

@media (max-width: 784px) {
	.hide-md-down {
		display: none;
	}
}

@media (max-width: 479px) {
	.hide-sm-down {
		display: none;
	}
}

@media (min-width: 1024px){
	.container {
		max-width: 1170px;
	}
	
	.modal__square-content {
		max-height: 90vh;
		border-radius: 20px;
		padding: 40px;
	}
	
	.modal__content {
		height: calc(100% + 5px);
	}
	
	#_page {
		padding-top: 80px;
	}
	
	div.ui_form__fieldset {
		margin-bottom: 15px;
	}
	
	div.ui_form__fieldset:last-child {
		margin-bottom: 0;
	}
	
	div.ui_form__fieldsets {
		margin-bottom: 15px;
	}
	
	div.ui_form__fieldset > .field.checkbox > label > .sub {
		display: inline-flex;
	}
	html.swal2-shown {
		overflow: hidden;
	}
	
	.stories__col {
		width: 220px;
		height: 168px;
		display: flex;
		flex-direction: column;
		border-radius: 28px;
		min-width: 220px;
	}
	
	.stories__wrap {
		height: 168px;
	}
	
	.stories__col-icon-wrap {
		margin: 11px auto;
		max-width: 72px;
		width: 100%;
		max-height: 72px;
		margin-bottom: 0;
		height: auto;
	}
	
	.stories__col-icon-wrap img {
		width: 100%;
		height: 100%;
	}
	
	.stories__col-title {
		position: relative;
		text-align: center;
		font-size: 16px;
		margin-top: auto;
		line-height: 1.3;
	}
	
	.stories__col-label {
		width: max-content;
		margin: 0 auto;
	}
	
	.modal-stories .modal__full-content {
		max-width: 430px;
		margin: auto;
		position: relative;
		max-height: 90vh;
		width: 100%;
		height: 100%;
	}

	.modal__full .modal__close {top: 0;right: -50px;}

.story.slick-dotted.slick-slider {
    border-radius: 20px;
    overflow: hidden;
}
	.story__item {
    height: 90vh;
}
	
	
	.modal-stories .modal__full {
		display: flex;
		height: 100%;
		width: 100%;
	}
	
	.story .slick-dots {
		padding: 25px 10px;
	}
	
	.story__title {
		top: 45px;
		left: 25px;
	}
	
	.story__item-inner {
		padding: 0 25px 120px;
	}
	
	.product {
		max-width: 362px;
		margin: 15px;
		display: flex;
		flex-direction: column;
		filter: opacity(0);
	}
	
	.catalog__list {
		margin: -15px;
		display: flex;
		flex-wrap: wrap;
		width: calc(100% + 30px);
	}
	
	.product__footer {
		margin-top: auto;
	}
	
	.product__address br {display: none;}
	
	.product:last-child {
		margin: 15px;
	}
	
	.product__info {display: flex;flex-direction: column;padding: 0 13px;height: 46%;}
	
	.product__img-wrap {
		height: 176px;
		min-height: 176px;
	}
	
	h2 {
		font-size: 2.8em;
		margin-bottom: 0;
	}
	
	.stories {
		margin: 40px 0;
	}
	
	.section-map {
		margin: 30px 0;
	}
	h1 {
		font-size: 2.8em;
	}
	
	.region-intro {
		padding: 25px 32px;
		margin: 16px 0 16px;
		padding-bottom: 30px;
	}
	
	.region-intro__address {
		max-width: initial;
		color: #455A64;
		font-size: 16px;
	}
	
	.region-intro__caption {
		font-size: 26px;
		font-weight: 400;
		margin-top: 2px;
	}
	.region-intro__info {
		margin-bottom: 20px;
	}
	.region-intro__title {
		margin-bottom: 0px;
	}
	
	.style--1 .stories__col {
		width: 279px;
		height: 80px;
		border-radius: 12px;
		min-height: auto;
		padding: 25px;
		background-color: #ECEFF1;
		background-size: cover;
	}
	.section--title > .icon {
		top: 10px;
	}
	
	.section--title > .icon [class^="icon-"], .title__block > [class^="icon-"] {
		width: 24px;
		height: 24px;
	}
	
	.offer__item {
		width: 357px;
		margin: 15px;
		padding: 8px;
		padding-bottom: 11px;
		/* height: 100%; */
	}
	
	.offer__list {
		display: flex;
		flex-wrap: wrap;
		margin: -15px;
	}
	
	.offer__item-header {
		flex-direction: column;
	}
	
	.offer__item-preview {
		margin: 0;
		width: 100%;
		height: 144px;
		margin-bottom: 8px;
	}
	
	.offer__item-preview > [data-lazy] {
		border-radius: 20px;
	}
	
	.offer__item-details {
		padding: 0 8px;
		padding-top: 4px;
	}
	
	.offer__item-labels {
		padding: 0px 8px;
	}
	
	.section--title {
		margin-bottom: 20px;
	}
	.offer__item-preview {
		border-radius: 20px;
	}
	
	.ui--genplan-area > .genplan-mask > .background {
		background-repeat: no-repeat;
		background-position: center;
		background-size: cover;
	}
	
	.ui--genplan-area {
		height: 856px;
		min-height: auto;
		margin: 0;
		border-radius: 32px;
		background: #f4f5f7;
	}
	
	.village--kosminka .ui--genplan-area > .genplan-mask {
		height: 856px;
		min-height: auto;
		transition: 0.3s;
		filter: opacity(0);
	}
	.village--kosminka .ui--genplan-area > .genplan-mask.shown {
		filter: opacity(1);
	}
	
	.village--kosminka .ui--genplan-area > .genplan-mask svg {
		height: 785px;
		top: 34px;
		left: 5px;
	}
	
	.humble {
		border-radius: 16px;
		padding: 15px 25px;
		font-size: 16px;
	}
	
	.humble span.icon + .label {
		margin-left: 10px;
	}
	
	.humble--tiny {
		font-size: 12px;
		line-height: 1.2;
		padding: 4px 8px;
		border-radius: 8px;
	}
	
	.places__item {
		width: 360px;
		height: 184px;
		margin: 15px;
		padding: 18px 24px;
	}
	
	.places__wrap {
		height: auto;
		margin: 0;
	}
	
	.places__list {
		margin: -15px;
		padding: 0;
	}
	
	.places__item-title {
		font-size: 22px;
	}
	
	.places__item-dist {
		font-size: 16px;
	}
	.map--content #map {
		height: 520px;
	}
	
	.subscribe .wrapper {
		width: 57%;
	}
	
	.fieldsets-linear {
		display: flex;
		flex-wrap: wrap;
	}
	
	.fieldsets-linear .ui_form__fieldsets {
		display: flex;
		flex-wrap: wrap;
		margin: -4px;
	}
	
	.fieldsets-linear .ui_form__fieldsets .ui_form__fieldset {
		margin: 4px;
	}
	
	.subscribe:after {
		max-width: 53%;
		height: 560px;
		top: 120px;
		margin: auto;
		bottom: 0;
	}
	.style--1 .stories__col.load:after {
		display: none;
	}
	.subscribe {
		padding: 24px 32px;
	}
	.map--content {
		border-radius: 32px;
	}
	
	.region-intro__img-wrap {
		top: 0;
		right: 0;
		width: 50%;
		height: 100%;
		max-width: initial;
	}
	
	.region-intro__img-wrap [data-lazy] {
		height: 450px;
		border-radius: 50% 0% 0% 50%;
		position: absolute;
		margin: auto;
		top: 0;
		bottom: 0;
	}
	
	.modal.style--page .modal__square {
		width: 100%;
		background: white;
	}
	
	.modal.style--page .modal__square .modal__square-title {
		display: none;
	}
	
	.modal.style--page .modal__square .modal__square-content {
		max-width: inherit;
		border-radius: 0;
		max-height: initial;
		padding: 0 15px;
		max-width: 1170px;
		margin: auto;
		padding-top: 80px;
	}
	
	.modal .offer__list {
		display: block;
	}
	
	.modal .offer__list #areas, .offer__list .areas-list {
		display: flex;
		flex-wrap: wrap;
	}
	
	.modal__square-content .offer__item {
		width: calc(33% - 27px);
		display: flex;
		flex-direction: column;
	}
	
	.modal__square h3 {
		font-size: 21px;
	}
	
	.modal__square-content .offer__item .offer__item-header {
		flex-direction: revert;
	}
	
	.modal__square-content .offer__item .offer__item-header .offer__item-preview {
		width: 72px;
		height: 64px;
		border-radius: 10px;
		margin-bottom: 0;
		margin-right: 7px;
	}
	
	.modal__square-content .offer__item .offer__item-header .offer__item-preview > [data-lazy] {
		border-radius: 10px;
	}
	
	.modal__square-content .offer__item .offer__item-labels {
		padding: 0;
		margin-top: auto;
	}
	
	.ui--modal-menu {
		width: max-content;
		border-radius: 20px;
		bottom: inherit;
		transform: translateY(1%);
		filter: opacity(0);
	}
	
	.ui--modal-menu.shown {
		filter: opacity(1);
	}
	.ui--modal-menu > .wrapper > .header {
		display: none;
	}
	
	.ui--list.ui--list-1 .item {
		font-size: 16px;
		line-height: 1.2;
	}
	
	.ui--list .item {
		margin: 8px 0;
	}
	
	.ui--modal-menu .wrapper {
		padding-top: 10px;
	}
	
	.ui--modal-menu > .wrapper > .container {
		padding: 0 24px;
	}
	
	.select-preview {
		font-size: 32px;
	}
	
	.select-preview .icon {
	}
	
	.notice__wrap {
		max-width: initial;
		width: max-content;
	}
	
	.notice__wrap.style--1 {border-radius: 24px;}
	
	.notice__wrap.style--1 .offer__item-labels {
		padding: 0 0px;
	}
	
	.notice__wrap.style--1 .offer__item-details {
		padding: 0;
	}
	.modal__square-header > .btn--back:first-child {
		margin-top: 10px;
	}
	
	.page-area__wrapper {
		display: flex;
		padding-top: 40px;
	}
	
	.page-area__wrapper > .col-left {
		width: 60%;
		padding-right: 30px;
		position: relative;
	}
	
	.page-area__wrapper > .col-right {
		width: 40%;
	}
	
	.ui--preview-location {
		height: 464px;
	}
	
	.ui--insolation .mask {
		height: 464px;
	}
	
	.ui--insolation .background .compas .item {
		font-size: 16px;
		width: 24px;
		height: 24px;
	}
	
	.ui--insolation .background {
		max-width: 450px;
	}
	
	.ui-area-short {
		width: 456px;
		margin: 0;
		border-radius: 20px;
		padding: 20px 25px;
		position: fixed;
		height: auto;
	}
	
	.ui-area-short .offer__item-labels {
		padding: 0;
	}
	
	.ui-area-short .offer__item-details {
		padding: 0;
	}
	
	.ui-area-short .offer__item-title {
		font-size: 2.7rem;
	}
	
	.ui-area-short .offer__item-info ul li {
		font-size: 26px;
	}
	.village--kosminka .ui--preview-location .wrapper .scrollarea {
		transform: scale(0.83);
	}
	
	.ui--insolation .background #label {
		font-size: 14px;
		top: 45px;
	}
	
	.position-bottom > .swal2-popup h2 {
		font-size: 1.9em;
	}
	.illustration--booking {
		background: url('/wp-content/themes/svdachi/assets/images/icons/booking-notification-desk.svg') no-repeat center;
	}
	
	#notice-booking .notice__wrap {
		max-width: 500px;
	}
	
	.page-lk__wrapper {
		display: flex;
		padding-top: 30px;
	}
	
	.page-lk__wrapper > .col-left {
		width: 150px;
	}
	
	.page-lk__wrapper > .col-right {
		width: calc(100% - 150px);
		padding-left: 50px;
	}
	
	.ui-button--profile {
		flex-direction: column;
		align-items: flex-start;
	}
	
	.ui-button--profile > .col-middle {
		margin: 0;
	}
	
	.ui-avatar {
		font-size: 80px;
		width: 120px;
		height: 120px;
		border-radius: 32px;
	}
	
	.ui-button--profile .col-left {
		margin-bottom: 15px;
	}
	
	.ui-button--profile .fullname {
		font-size: 22px;
		line-height: 1.2;
		margin-bottom: 10px;
	}
	
	.ui-button--profile .phone {
		font-size: 14px;
		line-height: 1.2;
	}
	
	.ui-button--profile > .col-right {
		display: none;
	}
	.page-lk__wrapper .offer__item {
		width: calc(50% - 30px);
	}
	
	.offer__item-footer {
		padding: 5px 8px;
	}
	
	.form--section .form--title {
		font-weight: 600;
		font-size: 18px;
		line-height: 22px;
	/* identical to box height */
		color: #3D3D3D;
	}
	
	.ui-fakeform {
		display: flex;
		flex-wrap: wrap;
		width: 100%;
	}
	
	.ui-fakeform > .form--section {
		width: calc(50% - 30px);
		margin-right: 30px;
		cursor: pointer;
	}
	
	.input__elem-bg {
		background: transparent;
		border: 1px solid #B0BEC5;
	}
	
	.offer__item-footer .ui-button {
		max-width: 240px;
	}
	
	.notice.absolute {
		position: absolute;
		background: transparent;
		top: inherit;
		right: inherit;
		bottom: inherit;
		left: inherit;
		overflow: inherit;
		transition-delay: .05s;
	}

	.notice.absolute .notice__wrap {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}
	
}

