/* mortgage header */
.mortgage-header {
	display: flex;
	align-items: center;
	gap: 0 30px;
	justify-content: space-between;
	box-sizing: border-box;
}
.mortgage-header * {
	box-sizing: border-box;
}
.mortgage-header .is-logo {
	height: 40px;
}
.mortgage-header .is-title {
	text-align: right;
}

@media (min-width: 600px) {
	.mortgage-header .is-logo {
		height: 50px;
	}
}

@media (min-width: 1000px) {
	.mortgage-header {
		margin-bottom: -30px;
	}
}

/* mortgage */
.mortgage {
	display: flex;
	flex-direction: column;
	gap: 30px 0;
	margin-top: 30px;
	padding: 20px;
	background: #f9f5e7;
	border-radius: 20px;
	box-sizing: border-box;
}
.mortgage * {
	box-sizing: border-box;
}
.mortgage .is-item {
	display: flex;
	flex-direction: column;
	gap: 5px 0;
}
.mortgage .is-item label {
	margin-right: auto;
	position: relative;
	cursor: pointer;
	font-size: .6875rem;
	font-weight: 500;
	line-height: .9625rem;
}
.mortgage .is-item label.is-required:after {
	content: '*';
	margin-left: 3px;
	color: #982e09;
	font-size: 1rem;
}
.mortgage .is-item input[type="text"],
.mortgage .is-item input[type="email"],
.mortgage .is-item select {
	height: 34px;
	padding: 6px 8px;
	border: 1px solid #979797;
	border-radius: 6px;
	font-size: 1rem;
	line-height: 1rem;
}
.mortgage .is-title {
	display: inline-block;
	margin: 0 0 10px 0;
}
.mortgage .is-slider {
	display: flex;
	flex-direction: column;
	gap: 10px 30px;
}
.mortgage .is-slider .ui-slider {
	height: 10px;
}
.mortgage .is-slider .ui-corner-all {
	border-color: #979797;
}
.mortgage .is-slider .ui-slider-handle {
	top: -6px;
	background-color: #f4a100;
	border-color: #f4a100;
	cursor: pointer;
	outline: none;
}
.mortgage .is-slider input[type="range"] {
	width: 100%;
	height: 10px;
	background: #fff;
	border: solid 1px #979797;
	border-radius: 3px;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
}
.mortgage .is-slider input[type="range"]::-webkit-slider-thumb {
	width: 19px;
	height: 19px;
	background: #f4a100;
	border-radius: 3px;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}
.mortgage .is-slider input[type="range"]::-moz-range-thumb {
	width: 19px;
	height: 19px;
	background: #f4a100;
	border-radius: 3px;
	cursor: pointer;
}
.mortgage .is-slider input:not([type="range"]) {
	width: 100%;
	padding: 6px 20px;
	border: 1px solid #979797;
	border-radius: 6px;
	font-size: 1rem;
	line-height: 1rem;
	outline: none;
}
.mortgage .is-note {
	font-size: 1rem;
	line-height: 1.4rem;
}
.mortgage .is-note > *:last-child {
	margin-bottom: 0;
}
.mortgage .is-controls {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 15px 15px;
	justify-content: center;
}
.mortgage .is-controls .btn {
	display: inline-flex;
	align-items: center;
	gap: 0 10px;
	justify-content: space-between;
	padding: 8px 12px;
	background-color: #f4a100;
	border: 0;
	border-radius: 5px;
	color: #2b2a29;
	cursor: pointer;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.225rem;
	text-align: left;
	text-decoration: none;
	transition: 0.2s background-color, 0.2s border-color;
	margin: 0;
}
.mortgage .is-controls .btn:after {
	flex-shrink: 0;
	content: '';
	width: 15px;
	height: 15px;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="38" height="38" viewBox="0 0 38 38" fill="none"><path d="M34.1155 19H3.88672" stroke="%232B2A29" stroke-width="2.4" stroke-miterlimit="10"/><path d="M24.0294 8.92373L34.1057 19L24.0294 29.0763" stroke="%232B2A29" stroke-width="2" stroke-miterlimit="10"/></svg>') no-repeat 50% 50%;
	background-size: auto 15px;
}
.mortgage .is-controls .btn:hover {
	background-color: #f9f5e7;
	color: #2b2a29;
	text-decoration: none;
}
.mortgage .is-content > *:last-child {
	margin-bottom: 0;
}
.mortgage .table-responsive {
	width: 100%;
	overflow: auto;
	margin-bottom: 0;
}
.mortgage .cms-editor-table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	font-size: 1rem;
	line-height: 1.45rem;
}
.mortgage .cms-editor-table td {
	padding: 10px;
	background-color: #fff;
	border: 1px solid #a7a9ac;
	font-weight: 500;
}
.mortgage .cms-editor-table td.is-right {
	text-align: right;
}
.mortgage .cms-editor-table .pension-result {
	white-space: nowrap;
}
.mortgage .cms-editor-table.has-small-text td {
	font-size: 0.9rem;
	line-height: 1.2rem;
}
.mortgage .cms-editor-table input {
	max-width: 130px;
	padding: 6px 20px;
	border: 1px solid #979797;
	border-radius: 6px;
	font-size: 1rem;
	line-height: 1rem;
}
.mortgage .cms-editor-table input.is-readonly {
	background-color: #f5f5f5;
	border-color: #f5f5f5;
	outline: none;
}
.mortgage .cms-editor-table .btn {
	width: 100%;
}
.mortgage .is-relative {
	position: relative;
}
.mortgage .is-infobox {
	width: 180px;
	padding: 5px;
	position: absolute;
	top: 40px;
	right: 10px;
	z-index: 100;
	background: #ffee99;
	border-radius: 6px;
	line-height: 20px;
	text-align: center;
}
.mortgage .is-infobox img {
	position: absolute;
	top: -5px;
	left: 150px;
}
.mortgage .is-bold {
	font-weight: 500;
}
.mortgage .is-red {
	color: #c00;
}
.mortgage .is-bigger {
	font-size: 130% !important;
}
.mortgage .btn {
	margin-right: auto;
}
.mortgage .form__cherad label {
	text-transform: none;
}
.row.has-calculator {
	margin-top: 30px;
	margin-bottom: 30px;
}

@media (min-width: 600px) {
	.mortgage {
		padding: 30px;
	}
	.mortgage .is-label {
		font-size: 1.2rem;
		line-height: 1.6rem;
	}
	.mortgage .is-slider {
		align-items: center;
		flex-direction: row;
	}
	.mortgage .is-slider .ui-slider,
	.mortgage .is-slider input[type="range"] {
		width: calc(100% - 180px);
	}
	.mortgage .is-slider input:not([type="range"]) {
		width: 150px;
	}
	.mortgage .is-slider input[type="range"]::-webkit-slider-thumb {
		width: 26px;
		height: 26px;
	}
	.mortgage .is-slider input[type="range"]::-moz-range-thumb {
		width: 26px;
		height: 26px;
	}
	.mortgage .is-slider .ui-slider-handle {
		top: -9px;
	}
	.mortgage .is-item label {
		font-size: 0.9375rem;
		line-height: 1.3125rem;
	}
	.mortgage .is-controls .btn {
		gap: 0 15px;
	}
	.mortgage .cms-editor-table {
		font-size: 1.125rem;
	}
	.mortgage .cms-editor-table td {
		padding: 12px;
	}
}

@media (min-width: 800px) {
	.mortgage .is-controls .btn {
		padding: 15px 25px;
		font-size: 1.125rem;
		line-height: 1.575rem;
	}
	.mortgage .is-controls .btn.is-small:after {
		width: 21px;
		height: 21px;
		background-size: auto 21px;
	}
}

@media (min-width: 1000px) {
	.mortgage {
		margin-top: 60px;
		padding: 45px;
	}
	.mortgage .cms-editor-table input {
		width: 100%;
		max-width: none;
	}
}
