.els-search,
.els-search * {
	box-sizing: border-box;
}

.els-search {
	--els-bg: #ffffff;
	--els-border: #ece7de;
	--els-text: #0f172a;
	--els-muted: #7c8597;
	--els-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
	--els-button-start: #000000;
	--els-button-end: #000000;
	--els-button-shadow: none;
	--els-radius: 20px;
	--els-field-radius: 24px;
	width: 100%;
}

.els-search .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.els-search__form {
	margin: 0;
}

.els-search__shell {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.95fr) auto;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 12px 14px 12px 18px;
	background: transparent;
	border: 1px solid white;
	border-radius: 50px;
	box-shadow: var(--els-shadow);
}

.els-search__field {
	position: relative;
	min-width: 0;
}

.els-search__field::before {
	content: "";
	position: absolute;
	top: 50%;
	right: 24px;
	margin-top: -3px;
	border-style: solid;
	border-width: 7px 6px 0 6px;
	border-color: #0f172a transparent transparent transparent;
	pointer-events: none;
}

.els-search__field::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 1px;
	height: 100%;
	background: white;
}

.els-search__field:last-of-type::after {
	display: none;
}

.els-search__field.is-empty::before {
	border-top-color: #ffffff;
}

.els-search__field.is-loading {
	opacity: 0.7;
}

.els-search__field.is-enhanced::before {
	display: none;
}

.els-search__field.is-enhanced .els-search__select {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.els-search__select {
	display: block;
	width: 100%;
	min-height: 62px;
	padding: 0 54px 0 24px;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--els-text);
	font: inherit;
	font-size: 1.2rem;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.els-search__select::-ms-expand {
	display: none;
}

.els-search__field.is-empty .els-search__select {
	color: rgba(255, 255, 255, 0.7);
}

.els-search__select:disabled {
	opacity: 1;
	cursor: not-allowed;
}

.els-search__select option {
	color: var(--els-text);
}

.els-search__field .els-search__select2-proxy {
	width: 100%;
}

.els-search__field > .select2.select2-container {
	display: block;
	width: 100% !important;
	font: inherit;
}

.els-search__field > .select2.select2-container .select2-selection--single {
	display: flex;
	align-items: center;
	height: 42px;
	padding: 0 54px 0 24px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	outline: none;
	background: transparent;
	transition: all 0.3s ease;
}

.els-search__field > .select2.select2-container .select2-selection--single:hover {
		background: rgba(200, 0, 0, 0.18) !important;
		box-shadow: 0 0 0 2px rgba(200, 0, 0, 0.35) !important; 
	}

.els-search__field > .select2.select2-container .select2-selection--single .select2-selection__rendered {
	width: 100%;
	padding: 0;
	color: white;
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
}

.els-search__field.is-empty > .select2.select2-container .select2-selection--single .select2-selection__rendered {
	color: rgba(255, 255, 255, 1);
}

.els-search__field > .select2.select2-container .select2-selection--single .els-search__select2-placeholder,
.els-search__field > .select2.select2-container .select2-selection--single .select2-selection__placeholder {
	color: rgba(255, 255, 255, 1);
}

.els-search__field > .select2.select2-container .select2-selection--single .select2-selection__arrow {
	right: 24px;
	top: 50%;
	width: 14px;
	height: 14px;
	margin-top: -7px;
}

.els-search__field > .select2.select2-container .select2-selection--single .select2-selection__arrow b {
	left: 50%;
	top: 50%;
	margin: -2px 0 0 -6px;
	border-style: solid;
	border-width: 7px 6px 0 6px;
	border-color: #ffffff transparent transparent transparent;
}

.els-search__field.is-empty > .select2.select2-container .select2-selection--single .select2-selection__arrow b {
	border-top-color: #ffffff;
}

.els-search__field > .select2.select2-container.select2-container--open .select2-selection--single .select2-selection__arrow b {
	margin-top: -5px;
	border-width: 0 6px 7px 6px;
	border-color: transparent transparent #ffffff transparent;
}

.els-search__field.is-empty > .select2.select2-container.select2-container--open .select2-selection--single .select2-selection__arrow b {
	border-bottom-color: #ffffff;
}

.select2-dropdown.els-search__select2-dropdown {
	border: 0;
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
	overflow: hidden;
}

.select2-dropdown.els-search__select2-dropdown .select2-search--dropdown {
	padding: 16px 18px 10px;
}

.select2-dropdown.els-search__select2-dropdown .select2-search--dropdown .select2-search__field {
	width: 100%;
	padding: 0 0 12px;
	border: 0;
	border-bottom: 1px solid var(--els-border);
	background: transparent;
	color: var(--els-text);
	font: inherit;
	font-size: 0.98rem;
	outline: none;
	box-shadow: none;
}

.select2-dropdown.els-search__select2-dropdown .select2-search--dropdown .select2-search__field::placeholder {
	color: var(--els-muted);
	opacity: 1;
}

.select2-dropdown.els-search__select2-dropdown .select2-results > .select2-results__options {
	max-height: 320px;
	padding: 4px 0 10px;
	scrollbar-width: thin;
}

.select2-dropdown.els-search__select2-dropdown .select2-results__option {
	padding: 11px 24px;
	font-size: 1rem;
	font-weight: 500;
	background: transparent;
	color: var(--els-text);
}

.select2-dropdown.els-search__select2-dropdown .select2-results__option--highlighted[aria-selected],
.select2-dropdown.els-search__select2-dropdown .select2-results__option--highlighted[data-selected] {
	background: rgba(15, 23, 42, 0.04);
	color: var(--els-text);
}

.select2-dropdown.els-search__select2-dropdown .select2-results__option[aria-selected="true"],
.select2-dropdown.els-search__select2-dropdown .select2-results__option[data-selected="true"] {
	background: transparent;
	color: #b8b3aa;
}

.els-search .els-search__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 190px;
	height: 62px;
	margin-left: 12px;
	padding: 0 30px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 100px;
	background: transparent;
	background-position: left center;
	background-size: 200% auto;
	box-shadow: none;
	color: #ffffff;
	font: inherit;
	font-size: 1.12rem;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	transition: 0.5s;
}

.els-search .els-search__submit:hover {
	background: #c80000;
}

.els-search__submit:focus-visible {
	outline: 2px solid #ff8b17;
	outline-offset: 3px;
}

.els-search__submit-icon {
	display: inline-flex;
	width: 26px;
	height: 26px;
}

.els-search__submit-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

@media (max-width: 1024px) {
	.els-search__shell {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 14px;
		padding: 18px;
	}

	.els-search__field {
		border: none;
		border-radius: var(--els-field-radius);
	}

	.els-search__field::after {
		display: none;
	}

	.els-search__field::before {
		right: 22px;
	}

	.els-search__select {
		min-height: 76px;
		padding-left: 22px;
	}


	.els-search__field > .select2.select2-container .select2-selection--single {
		height: 76px;
		padding-left: 22px;
	}

	.els-search__field > .select2.select2-container .select2-selection--single .select2-selection__arrow {
		right: 22px;
	}

	.els-search__submit {
		height: 76px;
		margin-left: 0;
	}
}

@media (max-width: 767px) {
	.els-search__shell {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
		max-width: 470px;
		margin: 0 auto;
		padding: 22px 18px;
		border-radius: 50px;
	}

	.els-search__field {
		border: 0;
		border-radius: 10px;
		background: transparent;
		border-bottom: 1px solid rgba(255, 255, 255, 0.6);
		border-radius: 0 !important;
	}

	.els-search__field::before {
		right: 22px;
	}

	.els-search__select {
		min-height: 62px;
		padding: 0 58px 0 22px;
		font-size: 1.1rem;
	}

	.els-search__field.is-empty .els-search__select {
		color: white !important;
		-webkit-text-fill-color: white;
	}

	.els-search__field > .select2.select2-container .select2-selection--single {
		height: 62px;
		padding: 0 58px 0 22px;
	}

	.els-search__field > .select2.select2-container .select2-selection--single .select2-selection__rendered {
		font-size: 1.1rem;
	}

	.els-search__field > .select2.select2-container .select2-selection--single .select2-selection__arrow {
		right: 22px;
	}

	.els-search__submit {
		width: 100%;
		height: 70px;
		margin-left: 0;
		padding: 0 22px;
		border-radius: 10px;
	}
}
