/*
 * Theme Explore chrome. Printed after Elementor kit/post CSS and vendor
 * select2.css. Kit enqueue can put select2.css after frontend.css, so the
 * vendor 28px single-select height beats the theme skin.
 */

body[class*="elementor-kit-"] .explore-filter.md-group > label,
body[class*="elementor-kit-"] .form-group.explore-filter.md-group > label {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	pointer-events: none;
}

body[class*="elementor-kit-"] .explore-filter.md-group select:required:valid ~ label,
body[class*="elementor-kit-"] .form-group.explore-filter.md-group select:required:valid ~ label {
	top: 0;
	transform: none;
}

body[class*="elementor-kit-"] .explore-filter .select2-container--default .select2-selection--single,
body[class*="elementor-kit-"] .explore-head-search .select2-container--default .select2-selection--single,
body[class*="elementor-kit-"] .featured-search .select2-container--default .select2-selection--single {
	background: transparent;
	border: none;
	height: auto;
	margin-bottom: 0;
	outline: none;
}

body[class*="elementor-kit-"] .explore-filter .select2-container--default .select2-selection--single .select2-selection__rendered,
body[class*="elementor-kit-"] .explore-head-search .select2-container--default .select2-selection--single .select2-selection__rendered,
body[class*="elementor-kit-"] .featured-search .select2-container--default .select2-selection--single .select2-selection__rendered {
	align-items: center;
	border: none;
	border-bottom: 1.5px solid rgba(0, 0, 0, 0.2);
	display: flex;
	height: auto;
	line-height: 18px;
	min-height: 48px;
	padding: 14px 0;
}

body[class*="elementor-kit-"] .explore-filter .select2-container--default .select2-selection--single .select2-selection__arrow,
body[class*="elementor-kit-"] .explore-head-search .select2-container--default .select2-selection--single .select2-selection__arrow,
body[class*="elementor-kit-"] .featured-search .select2-container--default .select2-selection--single .select2-selection__arrow {
	bottom: 17px;
	position: absolute;
	right: 0;
	top: auto;
}

body[class*="elementor-kit-"] .explore-filter .select2-container--default .select2-selection--single .select2-selection__arrow b,
body[class*="elementor-kit-"] .explore-head-search .select2-container--default .select2-selection--single .select2-selection__arrow b,
body[class*="elementor-kit-"] .featured-search .select2-container--default .select2-selection--single .select2-selection__arrow b {
	display: none;
}

body[class*="elementor-kit-"] .explore-filter .select2-selection__clear,
body[class*="elementor-kit-"] .explore-head-search .select2-selection__clear {
	background: transparent;
	background-color: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	font-size: 0;
	font-weight: inherit;
	line-height: inherit;
	padding: 0;
	text-transform: none;
}

.orderby-filter .select2-selection__clear,
.explore-head-search .select2-selection__clear,
.explore-filter.md-group select[required] ~ .select2-container .select2-selection__clear,
.explore-head-search select[required] ~ .select2-container .select2-selection__clear {
	display: none;
}

/* Dropdown is appended to body; restore theme highlight after vendor select2.css. */
body.my-listing .select2-container--default .select2-results__option--highlighted[aria-selected],
body.my-listing .select2-container--default .select2-results__option--highlighted[aria-selected="true"] {
	background: #fff;
	color: #242429;
	padding-left: 5px;
}
