/* ===== COMMON CLASSES ===== */
@keyframes border-thicken {
  0%{
    border-width: 1px;
  }
  to{
    border-width: 2px;
  }
}

.mls-calculator-block {
	display: flex;
	width: 100%;
	text-align: center;
	gap: 24px;
	max-width: 1300px;
	margin: 0 auto;
}

.space-bottom {
	margin-bottom: 16px;
}

.box-shadow {
	box-shadow: 0px 0px 16px 0px rgba(70, 70, 70, 0.15);
}

.hidden {
	display: none;
}

.relative {
    position: relative;
}

.text-white {
	color: white;
}

.text-bold {
	font-family: 'Proxima Nova Bold';
}

.w-fit-text {
	width: max-content;
}

/* ====== CALCULATOR SECTION ====== */
.calculator-section {
	border-radius: 40px 5px 5px 5px;
	background: #fff;
	box-shadow: 0px 0px 16px 0px rgba(70, 70, 70, 0.15);
	padding: 32px 16px;
	flex-grow: 1;
}

.content-wrapper {
	width: 90%;
	margin: 0 auto;
}

.heading {
	color: var(--main-theme-color);
}

.heading-wrapper {
	max-width: 800px;
	margin: 0 auto;
}

/* ----- dropdowns ----- */
.dropdowns-container {
	display: flex;
	width: 100%;
	gap: 16px;
	justify-content: center;
	margin: 0 auto 16px auto;
}

.mls-dropdown {
	width: 50%;
	margin: 0 auto;
}

.dropdowns-container .select-input-toggle {
	border-color: #464646;
	border-radius: 2px;
}

.mls-dropdown.expanded .select-input-toggle {
	border-radius: 3px 3px 0 0;
	border: 2px solid var(--main-theme-color) !important;
	animation: border-thicken .25s;
}

.dropdowns-container .fa-chevron-up {
	color: var(--main-theme-color) !important;
}

.mls-dropdown-items {
	margin-top: 4px;
	border: 0px;
	z-index: 80;
}
/* ----- end dropdowns ----- */


/* ----- annual income text input ----- */
.income-input-wrapper {
	display: flex;
	justify-content: center;
	margin-top: 16px;
}

#annual-income-text {
	border: 1px solid #464646;
	border-radius: 2px;
	padding: 13px 18px;
}

#annual-income-text:focus {
	border: 2px solid var(--main-theme-color) !important;
	animation: border-thicken .25s;
	outline: none !important;
}

.input-prefix {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #333;
	font-size: 16px;
	pointer-events: none;
}

.income-input-wrapper input {
    padding-left: 22px;
}

#annual-income-text {
	padding-left: 22px;
}
/* ----- end annual income text input ----- */


/* ----- range slider ----- */
#annual-income-range {
	width: 90%;
	-webkit-appearance: none;
	appearance: none;
	height: 6px;
	border-radius: 5px;
	background: #ccc;
	z-index: 50;
	position: relative;
}

#annual-income-range::-webkit-slider-thumb {
  -webkit-appearance: none; 
  appearance: none;
  width: 24px;
  height: 24px; 
	border-radius: 50%;
  background: var(--main-theme-color);
  cursor: pointer;
}

#annual-income-range::-moz-range-thumb {
  width: 24px; 
  height: 24px;
	border-radius: 50%;
  background: var(--main-theme-color);
  cursor: pointer;
}

.slider-ticks {
	position: relative;
	width: 90%;
	height: 24px;
	margin: 4px auto 0 auto;
	z-index: 0;
}

.slider-ticks .tick {
	position: absolute;
	top: -18px;
	transform: translateX(-50%);
	white-space: wrap;
	font-size: 14px;
	line-height: 20px;
	color: #333;
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 0;
	min-height: 40px;
	justify-content: end;
}

.slider-ticks .light-text {
	color: #6b6b6b;
}

.tick-line {
	font-size: 10px;
}
/* ----- end range slider -----  */


/* ----- mls estimation text ----- */
.surcharge-estimation {
	text-align: center;
	margin: 16px 0;
}

.estimated-price {
	font: "Proxima Nova", sans-serif;
	color: var(--main-theme-color);
	font-size: 16px;
	line-height: 24px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 16px 0 32px 0;
}

.price {
	font-family: var(--heading-font-family);
	font-size: 36px;
	line-height: 36px;
	align-self: self-start;
	margin-right: 5px;
}

.estimate-disclaimer {
	font-size: 12px;
	line-height: 18px;
	color: #6b6b6b;
}
/* ----- end mls estimation text ----- */


/* ===== PROMO SECTION ======== */
.promo-section {
	border-radius: 5px 5px 40px 5px;
	background: var(--text-color);
	color: #fff;
	padding: 48px 32px;
	max-width: 33%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.promo-image {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	margin: 0 auto;
	margin-bottom: 16px;
}

.promo-image img {
	border-radius: 50%;
	object-fit: cover;
}

.promo-text {
	color: #fff;
}

.text-large {
	font-size: 18px;
}

.promo-button {
	padding: 16px 20px;
	line-height: 18px;
	margin: 0 auto 16px auto;
	max-width: 277px;
	font-weight: 400;
}
.promo-phone-number {
	font-size: 21px;
	font-family: "Toroka", sans-serif;
	color: #fff;
	font-weight: 400;
	line-height: 16px;
}

/* ===== RESPONSIVE DESIGN ===== */
/* Tablet and smaller */
@media (max-width: 769px) {
	.mls-calculator-block {
		flex-direction: column;
	}
	.calculator-section {
		margin: 0 16px;
	}
	.promo-section {
		max-width: 100%;
		margin: 0 16px;
	}
	.dropdowns-container {
		flex-direction: column;
	}
	.mls-dropdown {
		width: 100%;
	}
	.mls-dropdown-items {
		max-height: 40vh;
		overflow-y: scroll;
	}
}

/* Small mobile */
@media (max-width: 360px) {
	.content-wrapper {
		max-width: 100%;
		width: 100%;
	}
	.mls-dropdown {
		width: 90%;
	}
}