/****** section class="mortgage" *******/
#mortgage {
	padding: 60px 0 50px 0;
}

.mortgage-block {
	padding: 32px 37px;
	border: 1px solid #d1d7dc;
	cursor: pointer;
}

.mortgage-calculator-wrap {
	padding: 28px 12px 6px 12px;
	border: 1px solid #d1d7dc;
	overflow: visible;
}

.mortgage-block {
	margin-bottom: 30px;
	position: relative;
}

.mortgage-block img {
	max-width: 192px;
	max-height: 84px;
	position: absolute;
	top: 25px;
	left: 25px;
	z-index: 0;
}

.mortgage-info-flex {
	justify-content: space-between;
	z-index: 10;
	margin-top: 85px;
}

/***** .best-deals-wrap:hover *******/
.mortgage-block {
	position: relative;
}

.mortgage-block:hover {
	box-shadow: 0 0 20px rgba(147, 147, 147, 0.8);
}

/***** //:hover *******/

.mortgage-calculator-wrap .form-group {
	border: 1px solid #e1e6ee;
	border-bottom: none;
	padding-top: 16px;
	position: relative;
}

.mortgage-calculator-wrap .form-control {
	border-radius: 0px;
	height: 60px;
	border: 1px solid #e1e6ee;
	font-size: 14px;
	line-height: 28px;
	color: #202020;
}

/** mortgage-calculator-dropdown **/
.dropdown.mortgage-calculator-dropdown {
	position: relative;
	border: 1px solid #e1e6ee;
	padding: 16px 16px 10px 16px;
	font-family: raleway-medium;
	font-weight: 400;
	font-size: 14px;
	line-height: 28px;
	color: #202020;
}

.dropdown.mortgage-calculator-dropdown input,
.dropdown ul {
	display: none;
}

.dropdown.mortgage-calculator-dropdown label {
	cursor: pointer;
	width: 100%;
}

.mortgage-calculator-dropdown label span svg {
	position: absolute;
	right: 16px;
	top: 27px;
}

.mortgage-programm {
	margin-bottom: 0;
}

.mortgage-programm label {
	font-family: Montserrat;
	font-style: normal;
	font-weight: 600;
	font-size: 14px;
	line-height: 28px;
	color: var(--black);
}

.dropdown.mortgage-calculator-dropdown ul {
	position: absolute;
	top: 63px;
	left: 0;
	width: 100%;
	margin: 0;
	padding: 5px 16px;
	margin: 0;
	list-style: none;
	background: #fff;
	z-index: 100;
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);

	font-family: Montserrat;
	font-style: normal;
	font-weight: 600;
	font-size: 14px;
	line-height: 28px;
	color: var(--black);
}

.dropdown.mortgage-calculator-dropdown a {
	color: #202020;
	text-decoration: none;
}

.dropdown.mortgage-calculator-dropdown :checked ~ ul {
	display: inline-block;
}

/** //mortgage-calculator-dropdown **/

.form-control:focus {
	box-shadow: none;
}

.mortgage-calculator-form form {
	margin-bottom: 24px;
}

/***************/

.mortgage-logo-img img {
	width: 100%;
}

.mortgage-prise {
	font-style: normal;
	font-weight: 600;
	font-size: 30px;
	line-height: 45px;
	color: var(--accent);
}

.prise-border {
	border-top: 1px solid #e1e6ee;
}

.mortgage-block-prise > div {
	padding-left: 28px;
}

@media (max-width: 991px) {
	.mortgage-block-prise > div {
		padding-left: 0;
	}

	.mortgage-calculator-wrap {
		padding: 28px 12px 28px 12px;
	}
}

@media (max-width: 470px) {
	.mortgage-block-prise {
		font-size: 20px;
	}

	.mortgage-calculator-wrap {
		padding: 10px 0px;
	}

	.mortgage-calculator-wrap label.group-label > div {
		font-size: 12px;
	}

	#mortgage {
		padding: 0 0 50px 0;
	}
}

.calculator_range {
	border: 1px solid #e1e6ee;
	border-radius: 8px;
	margin-bottom: 33px;
	width: 100%;
	padding: 15px 16px 48px;
	position: relative;
	min-height: 96px;
	box-sizing: border-box;
}

.calculator_range-head,
.calculator_range > .d-flex {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	column-gap: 16px;
}

.calculator_range .tit {
	color: #161517;
	font-size: 14px;
	font-weight: 600;
	line-height: 28px;
}

.calculator_range .range-slider {
	position: absolute;
	width: calc(100% - 32px);
	bottom: 10px;
	left: 16px;
	right: 16px;
	padding: 0;
	margin: 0;
	height: 50px;
	z-index: 2;
}

.calculator_range .range-slider .irs {
	width: 100%;
	height: 50px;
}

.calculator_range input.range-slider,
.calculator_range .range-slider > input {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.calculator_range .range-slider .irs {
	width: 100%;
}

.input__box {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-width: 0;
	gap: 4px;
}

.rezult-range {
	letter-spacing: 0.02em;
	text-align: right;
	width: auto;
	min-width: 48px;
	max-width: 120px;
	font-size: 14px;
	line-height: 28px;
	border: none !important;
	background: transparent !important;
	outline: none !important;
	box-shadow: none !important;
	padding: 0;
	margin: 0;
	color: #302e3c;
	font-weight: 500;
	font-family: Montserrat, sans-serif;
	-webkit-appearance: none;
	appearance: none;
}

.rezult-range:focus {
	outline: none !important;
	box-shadow: none !important;
}

.rub {
	font-size: 14px;
	line-height: 28px;
	color: #302e3c;
	font-weight: 500;
	flex: 0 0 auto;
	white-space: nowrap;
}

.calculator__rezult {
	width: 375px;
	padding: 40px;
}

.calculator__rezult .tit {
	color: #302e3c;
	letter-spacing: 0.02em;
	font-size: 14px;
	font-weight: 500;
	line-height: 166%;
}

.calculator__rezult-sum {
	font-size: 24px;
	line-height: 38px;
	color: #212121;
	margin-top: 33px;
}

.calculator__rezult-sum .sum {
	color: var(--accent);

	font-size: 33px;
	line-height: 38px;
}

@media (max-width: 700px) {
	#news-page-images {
		padding: 44px 0 50px 0;
	}

	.calculator_range-head,
	.calculator_range > .d-flex {
		grid-template-columns: 1fr;
		row-gap: 8px;
	}

	.input__box {
		justify-content: flex-end;
		width: 100%;
	}
}

.mortgage-calculator-form .custom-select {
	background: #fff url("../images/mortgage-page/select.png") no-repeat right 0.75rem center/13px 8px;
	padding: 15px !important;
	height: unset !important;
	color: var(--black);
	font-size: 14px;
	font-weight: 600;
	line-height: 28px;
	font-family: Montserrat;
	cursor: pointer;
}

.mortgage-calculator-form .custom-select option {
	color: var(--black);
	font-size: 14px;
	font-weight: 600;
	line-height: 28px;
	font-family: Montserrat;
}

.mortgage-calculator-form .custom-select:focus {
	box-shadow: none !important;
	border: 1px solid #e1e6ee;
}

.multi-select {
	width: 100%;
	border: 1px solid #e1e6ee;
	border-radius: 8px;
	position: relative;
	cursor: pointer;
	margin-bottom: 33px;
	overflow: visible;
	z-index: 1;
}

.multi-select_open {
	z-index: 20;
	border-bottom: none;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.mortgage-calculator-form {
	overflow: visible;
	position: relative;
}

@media (max-width: 1250px) {
	.multi-select {
		max-width: unset;
	}
}

.multi-select__arrow {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
}

.multi-select__field {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 32px 15px 16px;
	min-height: 58px;
}

.multi-select__input {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	border: none;
	background: transparent;
	outline: none;
	box-shadow: none;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 28px;
	color: #161517;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.multi-select__parameters {
	font-weight: 400;
	font-size: 12px;
	line-height: 20px;
	color: #3a374f;
	background: rgba(55, 57, 190, 0.25);
	border-radius: 4px;
	padding: 2px;
	/* display: flex; */
	display: none;
	align-items: center;
	min-width: 30px;
	justify-content: center;
}

.multi-select__list {
	background: rgba(233, 237, 238);
	position: absolute;
	border: 1px solid #e1e6ee;
	border-top: unset;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	left: -1px;
	top: calc(100% - 1px);
	display: none;
	overflow: hidden;
	width: calc(100% + 2px);
	z-index: 30;
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.multi-select_open .multi-select__list {
	display: block;
	max-height: 230px;
	overflow: auto;
}

.multi-select__item {
	padding: 5px 10px;
	cursor: pointer;
	user-select: none;
	font-size: 14px;
	font-weight: 600;
	line-height: 28px;
	color: #161517;
}

.multi-select__item_active,
.multi-select__item:hover {
	background: var(--accent);
	color: #fff;
}

.irs--round .irs-bar {
	background-color: #d3945a !important;
}

.irs--round .irs-handle {
	border: 4px solid #d3945a !important;
	background-color: #d3945a !important;
	box-shadow: 0 1px 3px rgba(0, 0, 255, 0.3);
}
.irs--round .irs-from,
.irs--round .irs-to,
.irs--round .irs-single {
	display: none !important;
}
