.quote-page {
	background: #f5f8fb;
	padding-bottom: 80px;
}

.quote-intro {
	background: #fff;
	border-left: 5px solid #f28a2e;
	border-radius: 8px;
	box-shadow: 0 14px 30px rgba(15, 44, 69, .08);
	margin-bottom: 28px;
	padding: 28px;
}

.quote-intro h1 {
	color: #163f62;
	font-size: 36px;
	line-height: 1.15;
	margin: 0 0 10px;
}

.quote-intro p {
	color: #5d6b78;
	margin-bottom: 18px;
	max-width: 780px;
}

.quote-wizard {
	background: #fff;
	border: 1px solid #dfe7ee;
	border-radius: 8px;
	box-shadow: 0 18px 40px rgba(15, 44, 69, .09);
	margin-left: 0;
	margin-right: 0;
	padding: 24px;
}

.tab-wizard .tabs-ctrl {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(5, 1fr);
	height: auto;
	margin-bottom: 24px;
}

.tab-wizard .tabs-ctrl .ctrl {
	background: #eaf3f8;
	border: 1px solid #dfe7ee;
	border-radius: 8px;
	color: #163f62;
	cursor: pointer;
	display: flex;
	float: none;
	flex-direction: column;
	font-size: 18px;
	font-weight: 900;
	height: auto;
	justify-content: center;
	margin: 0;
	min-height: 66px;
	padding: 10px;
	width: auto;
}

.tab-wizard .tabs-ctrl .ctrl.active {
	background: #163f62;
	border-color: #163f62;
	color: #fff;
}

.tab-wizard .tabs-ctrl .ctrl span {
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0;
	margin-top: 2px;
	position: static;
	text-transform: uppercase;
}

.tab-wizard .tabs-content {
	margin: 0;
}

.tab-wizard .tabs-content .tab {
	display: none;
	position: relative;
	width: 100%;
}

.tab-wizard .tabs-content .tab.active {
	display: block;
}

.quote-step-heading {
	border-bottom: 1px solid #dfe7ee;
	margin-bottom: 22px;
	padding-bottom: 16px;
}

.quote-step-heading h2 {
	color: #163f62;
	font-size: 26px;
	font-weight: 900;
	line-height: 1.2;
	margin: 0 0 6px;
}

.quote-step-heading p {
	color: #5d6b78;
	margin: 0;
}

.form-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-field {
	display: block;
	min-width: 0;
	margin: 0;
}

.form-field--full {
	grid-column: 1 / -1;
}

.tab-wizard input,
.tab-wizard textarea,
.tab-wizard select {
	box-sizing: border-box;
	min-width: 0;
	max-width: 100%;
	background: #fff;
	border: 1px solid #cfdbe6;
	border-radius: 8px;
	color: #17212b;
	height: 50px;
	margin: 0;
	padding: 0 14px;
	width: 100%;
}

.tab-wizard input[type="date"] {
	appearance: none;
	-webkit-appearance: none;
	display: block;
}

.tab-wizard input[type="date"]::-webkit-date-and-time-value {
	text-align: left;
	min-width: 0;
}

.tab-wizard textarea {
	height: 150px;
	padding-top: 14px;
	resize: vertical;
}

.tab-wizard input:hover,
.tab-wizard textarea:hover,
.tab-wizard input:focus,
.tab-wizard textarea:focus,
.tab-wizard select:hover,
.tab-wizard select:focus {
	border-color: #f28a2e;
}

.tab-wizard .invalid {
	background: #fff6f6;
	border-color: #d53f3f;
}

.quote-search {
	margin-bottom: 20px;
	max-width: 460px;
}

.quote-item-sector {
	border-top: 1px solid #dfe7ee;
	padding: 22px 0;
}

.quote-item-sector h3 {
	color: #163f62;
	font-size: 20px;
	font-weight: 900;
	margin: 0 0 14px;
}

.quote-item-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-item {
	align-items: center;
	background: #f8fbfd;
	border: 1px solid #dfe7ee;
	border-radius: 8px;
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr 74px;
	margin: 0;
	min-height: 60px;
	padding: 10px 12px;
}

.quote-item span {
	color: #17212b;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0;
}

.quote-item select {
	height: 40px;
	padding: 0 8px;
}

.bottom-control {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin: 26px 0 0;
	width: 100%;
}

.bottom-control button {
	clear: none;
	display: inline-flex;
	height: 48px;
	position: static;
	width: auto;
}

.bottom-control .btn-prev {
	background: #eaf3f8;
	color: #163f62;
	left: auto;
}

.bottom-control .btn-next {
	background: #163f62;
	color: #fff;
	right: auto;
}

.bottom-control .btn-send {
	background: #f28a2e;
	color: #fff;
	margin: 0;
	min-width: 230px;
	position: static;
	width: auto;
}

.bottom-control .not {
	cursor: not-allowed;
	opacity: .4;
	pointer-events: none;
}

.bottom-control .is-loading {
	opacity: .85;
}

@media only screen and (max-width: 991px) {
	.tab-wizard .tabs-ctrl {
		grid-template-columns: repeat(3, 1fr);
	}

	.form-grid,
	.form-grid--three {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.quote-item-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media only screen and (max-width: 767px) {
	.quote-page {
		padding-bottom: 40px;
	}

	.quote-intro {
		padding: 22px 18px;
	}

	.quote-intro h1 {
		font-size: 26px;
	}

	.quote-wizard {
		padding: 16px;
	}

	.tab-wizard .tabs-ctrl {
		grid-template-columns: 1fr;
	}

	.tab-wizard .tabs-ctrl .ctrl {
		align-items: center;
		flex-direction: row;
		gap: 10px;
		min-height: 48px;
	}

	.tab-wizard .tabs-ctrl .ctrl span {
		margin-top: 0;
	}

	.form-grid,
	.form-grid--three,
	.quote-item-grid {
		grid-template-columns: 1fr;
	}

	.quote-item {
		grid-template-columns: 1fr 70px;
	}

	.bottom-control {
		flex-direction: column;
	}

	.bottom-control button,
	.bottom-control .btn-send {
		width: 100%;
	}
}
