/****** section id="selection-parameters" *******/
#selection-parameters {}

.rooms-selector {
	display: flex;
	padding: 0;
	margin: 0;
}

.rooms-selector li {
	height: 60px;
}

/* rooms number selector */
.room-box {
	position: relative;
	width: fit-content;
	/* padding: 25px 0; */
	margin-right: 15px;
}

.control-el-st::after,
.control-el-one::after,
.control-el-two::after,
.control-el-three::after {
	border: 2px solid #868994;
	font-style: normal;
	font-weight: 700;
	font-size: 14px;
	line-height: 14px;
	color: black;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 50px;
	/* padding: 12px 14px; */
}

.control-el-st::after {
	width: 110px;
}

.control-el-one::after,
.control-el-two::after,
.control-el-three::after {
	width: 50px;
}

.control-el-one::after {
	content: "1";
}

.control-el-two::after {
	content: "2";
}

.control-el-three::after {
	content: "3";
}

.control-el-st::after {
	content: "Студия";
}

#toggle-st:checked~.control-el-st::after,
#toggle-one:checked~.control-el-one::after,
#toggle-two:checked~.control-el-two::after,
#toggle-three:checked~.control-el-three::after {
	background: #EB6753;
	border: 2px solid #EB6753;
	color: white;
}

@media (min-width: 998px) {

	#toggle-st:hover~.control-el-st::after,
	#toggle-one:hover~.control-el-one::after,
	#toggle-two:hover~.control-el-two::after,
	#toggle-three:hover~.control-el-three::after {
		background: #EB6753;
		border: 2px solid #EB6753;
		color: white;
		box-shadow: 0px 0px 9px 11px rgba(211, 148, 90, 0.2);
	}
}

.label-st,
.label-one,
.label-two,
.label-three {
	background-color: cadetblue;
	width: 100%;
	height: 100%;
	opacity: 0;
	border-radius: 0.5rem;
	position: absolute;
	top: 0%;
	left: 0%;
	margin: 0;
	cursor: pointer;
}

.select__toggle {
	background-color: white;
}

.select__option {
	font-style: normal;
	font-weight: 700;
	font-size: 12px;
	line-height: 14px;
	letter-spacing: 0.6px;
	color: var(--darkGray);
}

.visually-hidden {
	position: absolute;
	left: -100vw;
}

/* rooms number selector */

.housing-section {
	display: flex;
	justify-content: space-between;
}

@media screen and (max-width: 600px) {
	.housing-section {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: auto auto;
		gap: 10px;
		align-items: start;
	}

	.housing-section > div {
		display: contents;
	}

	.housing-section .dropdown {
		display: contents;
	}

	/* Заголовки в первой строке */
	.housing-section .dropdown h3 {
		grid-row: 1;
		margin: 0 0 5px 0;
		text-align: center;
		font-size: 14px;
	}

	.housing-section > div:nth-child(1) .dropdown h3 {
		grid-column: 1;
	}

	.housing-section > div:nth-child(2) .dropdown h3 {
		grid-column: 2;
	}

	.housing-section > div:nth-child(3) .dropdown h3 {
		grid-column: 3;
	}

	/* Dropdown'ы во второй строке */
	.housing-section .dropdown .select {
		grid-row: 2;
		width: 100%;
	}

	.housing-section > div:nth-child(1) .dropdown .select {
		grid-column: 1;
	}

	.housing-section > div:nth-child(2) .dropdown .select {
		grid-column: 2;
	}

	.housing-section > div:nth-child(3) .dropdown .select {
		grid-column: 3;
	}
}

.housing-section .dropdown-toggle::after {
	display: none;
}

.dropdown-svg svg {
	width: 15px;
	height: 10px;
}

.reset-filter {
	display: flex;
	align-items: center;
	justify-content: center;
}

.button-border.button-width {
	width: 100%;
	max-width: 248px;
}

.reset-filter .button-grey {
	width: fit-content;
	color: var(--gray);
	font-weight: 600;
	font-size: 14px;
	line-height: 14px;
}

.reset-filter span {
	margin-left: 10px;
}

.reset-filter span svg {
	vertical-align: top;
}

h2.main-name-h2 span {
	font-variant-numeric: lining-nums;
}

.quantity-rooms {
	margin-bottom: 36px;
}

.quantity-rooms .link-name {
	line-height: 13px;
}

.found-apartments {
	padding-left: 40px;
}

.found-apartments h2.main-name-h2 {
	font-weight: 600;
	font-size: 30px;
	line-height: 45px;
	color: #4f4f4f;
}

.apartments-button-mobil {
	display: none;
}

.filters {
	display: grid;
	grid-template-columns: 330px 330px;
}

@media (min-width: 992px) and (max-width: 1200px) {
	.found-apartments h2.main-name-h2 {
		font-size: 22px;
	}
}

@media (max-width: 991px) {
	.found-apartments {
		padding-left: 0px;
	}

	.apartments-button-desktop {}

	.apartments-button-mobil {
		display: inline-block;
		margin-bottom: 30px;
	}

	.filters {
		grid-template-columns: 1fr;
	}

	.found-apartments .arrow_found {
		display: none;
	}
}

@media (max-width: 500px) {
	.found-apartments h2.main-name-h2 {
		font-size: 22px;
	}

	.control-el-st::after,
	.control-el-one::after,
	.control-el-two::after,
	.control-el-three::after {
		height: 40px;
	}

	.control-el-st::after {
		width: 100px;
	}

	.control-el-one::after,
	.control-el-two::after,
	.control-el-three::after {
		width: 40px;
	}

	.button {
		width: 100%;
	}

	#choice-deals {
		padding: 0 5px;
	}
}

@media (max-width: 300px) {
	.found-apartments h2.main-name-h2 {
		font-size: 20px;
	}
}

/**** slider-range *****/
.range-row {
	/* margin-left: -30px; */
}

.row.slider-labels {
	justify-content: space-between;
	margin-right: -10px;
	color: #4f4f4f;
	font-weight: bold;
	font-size: 12px;
	line-height: 13px;
}

.noUi-target,
.noUi-target * {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-ms-touch-action: none;
	touch-action: none;
	-ms-user-select: none;
	-moz-user-select: none;
	user-select: none;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.noUi-target {
	position: relative;
	direction: ltr;
}

.noUi-base {
	width: 100%;
	height: 100%;
	position: relative;
	z-index: 1;
}

.noUi-origin {
	position: absolute;
	right: 0;
	top: 0;
	left: 0;
	bottom: 0;
}

.noUi-handle {
	position: relative;
	z-index: 1;
}

.noUi-stacking .noUi-handle {
	z-index: 10;
}

.noUi-state-tap .noUi-origin {
	-webkit-transition: left 0.3s, top 0.3s;
	transition: left 0.3s, top 0.3s;
}

.noUi-state-drag * {
	cursor: inherit !important;
}

.noUi-base,
.noUi-handle {
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.noUi-horizontal {
	height: 4px;
}

.noUi-horizontal .noUi-handle {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	left: -7px;
	top: -7px;
	background-color: var(--accent);
}

.noUi-background {
	background: #868994;
}

.noUi-connect {
	background: #4f4f4f;
}

.noUi-origin {
	border-radius: 2px;
}

.noUi-target {
	border-radius: 2px;
}

.noUi-target.noUi-connect {}

.noUi-draggable {
	cursor: w-resize;
}

.noUi-vertical .noUi-draggable {
	cursor: n-resize;
}

.noUi-handle {
	cursor: default;
	-webkit-box-sizing: content-box !important;
	-moz-box-sizing: content-box !important;
	box-sizing: content-box !important;
}

.noUi-handle:active {
	border: 8px solid #345dbb;
	border: 8px solid rgba(53, 93, 187, 0.38);
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	left: -14px;
	top: -14px;
}

[disabled].noUi-connect,
[disabled] .noUi-connect {
	background: #b8b8b8;
}

[disabled].noUi-origin,
[disabled] .noUi-handle {
	cursor: not-allowed;
}

.slider-labels .caption {
	width: fit-content;
	padding: 0 !important;
	display: flex;
	margin-bottom: 10px;
}

.slider-labels .caption .button-grey {
	margin-right: 5px;
}

#rangeBox {
	width: 300px;
	height: 100px;
}

#sliderBox {
	position: relative;
	top: 0%;
	width: 300px;
}

#slider0to50 {
	width: 150px;
	position: absolute;
	left: 0%;
}

#slider51to100 {
	width: 150px;
	position: absolute;
	left: 50%;
}

#inputRange {
	position: relative;
	top: 50%;
}

#inputRange::after {
	content: "";
	clear: both;
	display: block;
}

#inputRange #min {
	width: 40%;
	float: left;
}

#inputRange #max {
	width: 40%;
	float: right;
}

.slider {
	width: 100%;
	height: 3px;
	background: #868994;
	position: relative;
	margin-left: -8px;
}

.slider .bar {
	position: absolute;
	left: 50px;
	background: var(--accent);
	height: 100%;
}

.slider .bar .lp span {
	position: relative;
	left: -30px;
}

.slider .bar .rp span {
	position: relative;
	left: 10px;
}

.slider .bar .lp,
.slider .bar .rp {
	cursor: pointer;
	background: var(--accent);
	width: 20px;
	height: 20px;
	border: 3px solid var(--accent);
	border-radius: 100%;
	position: absolute;
	line-height: 400%;
	color: white;
	user-select: none;
}

.slider .bar .lp {
	left: 0px;
	top: -8px;
}

.slider .bar .rp {
	left: 100%;
	top: -8px;
}

.slider .bar .lp:hover,
.slider .bar .rp:hover {
	box-shadow: 0px 0px 9px 11px rgba(211, 148, 90, 0.2);
}

.deals-img {
	position: relative;
	border: 1px solid #d1d7dc;
	display: flex;
	justify-content: center;
}

.deals-info {
	border: 1px solid #d1d7dc;
	border-top: none;
	padding: 16px;
}

.deals-img img {
	max-width: 100%;
	align-self: center;
	align-items: center;
}

.best-deals-wrap,
.deals-info {
	position: relative;
}

.best-deals-wrap:hover {
	-webkit-box-shadow: 0 15px 10px 2px rgba(12, 37, 124, 0.5), 0 2px 0px rgba(12, 37, 124, 0.3);
	-moz-box-shadow: 0 15px 10px 2px rgba(12, 37, 124, 0.5), 0 2px 0px rgba(12, 37, 124, 0.3);
	box-shadow: 0 15px 10px 2px rgba(12, 37, 124, 0.3), 0 2px 0px rgba(12, 37, 124, 0.1);
}

.best-deals-wrap .deals-info::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(12, 37, 124, 0.1);
	left: 0;
	top: 0;
	transition: opacity 0.6s;
	opacity: 0;
}

.best-deals-wrap:hover .deals-info::after {
	opacity: 0.8;
}

.deals-info sup small {
	font-weight: bold;
}

.deals-info .info-div {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.btn:focus,
.btn.focus {
	outline: 0;
	box-shadow: none;
}

.main-arrow svg {
	vertical-align: inherit;
}

.like svg {
	width: 28px;
	height: 24px;
}

.deals-img .like {
	position: absolute;
	top: 8px;
	right: 6px;
}

.page-link {
	color: #212121;
}

.page-link:focus {
	box-shadow: none;
}

a.page-link.link-button {
	font-size: 12px;
	line-height: 13px;
	font-weight: 700;
	color: #212121;
	border: 2px solid var(--accent);
	border-radius: 1px 20px !important;
	padding: 11px 27px;
}

a.page-link.link-button:hover {
	background-color: var(--accent);
	color: var(--white);
}

.navigation-mobil {
	display: none;
}

.button-box {
	display: flex;
	justify-content: space-between;
	max-width: 700px;
}

.button-box .button {
	width: 100% !important;
	max-width: 214px;
	text-align: center;
}


.row-bob {
	display: grid;
	grid-template-columns: 2fr 1fr;
}

.second-group {
	margin-left: 30px;
}

@media (min-width: 992px) and (max-width: 1200px) {
	.page-link.link-numbers {
		padding: 6px 15px;
	}

	.page-item.active .page-link.link-active {
		padding: 16px 15px;
	}

	.quantity-rooms ul.pagination {
		flex-wrap: wrap;
		align-content: start;
	}
}

@media (max-width: 992px) {
	.button-box .button:nth-child(2) {
		display: none;
	}

	.second-group {
		margin-left: 0px;
	}

	.row-bob {
		display: grid;
		grid-template-columns: 1fr;
	}

	.navigation-mobil {
		display: block;
	}

	.navigation-large {
		display: none;
	}
}

@media (max-width: 600px) {
	.button-box {
		flex-direction: column-reverse;
	}

	.button-box .button {
		max-width: 100%;
	}
}

@media (max-width: 380px) {
	.page-link.link-numbers {
		padding: 6px 15px;
	}

	.page-item.active .page-link.link-active {
		padding: 16px 15px;
	}

	a.page-link.link-button {
		padding: 11px 11px;
	}
}

@media (max-width: 300px) {
	.page-link.link-numbers {
		padding: 5px 12px;
	}

	page-link.link-numbers {
		font-size: 14px;
	}

	.quantity-rooms ul.pagination {
		flex-wrap: wrap;
		align-content: start;
	}

	.quantity-rooms ul.pagination li {
		margin-bottom: 10px;
	}
}

.first-group {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.number {
	border: 2px solid var(--accent);
	border-radius: 48px;
	font-style: normal;
	font-weight: 700;
	font-size: 14px;
	line-height: 14px;
	color: black;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 16px 16px;
	min-width: 50px;
	min-height: 50px;
	margin-right: 15px;
	cursor: pointer;
}

.number:nth-child(1) {
	min-width: 120px
}

.number:nth-last-child(1) {
	margin-right: 0;
}

.number:hover {
	box-shadow: var(--accent-hover);
}

.number.active {
	background: #EB6753;
	border: 2px solid #EB6753;
	color: white;
}

.parking-buttons {
	display: flex;
	align-items: center;
}

@media (max-width: 600px) {
	.number {
		padding: 11px 17px;
		max-width: 120px;
		width: auto;
		margin-bottom: 0;
		flex: 1;
		min-width: 0;
	}

	.number:nth-last-child(1) {
		margin-bottom: 0;
	}

	.rooms-selector {
		flex-direction: row;
		align-items: center;
		flex-wrap: wrap;
		gap: 10px;
	}

	.parking-buttons {
		flex-direction: column;
		align-items: center;
		justify-content: center;

	}

	.parking-buttons .button, .parking-buttons .btn  {
		margin-right: 0px !important;
	}
}