/* Match Gravity Forms Styles Pro theme "sp_kiwi" native selects. */

/* Avoid flash before our repeater CL JS runs. */
.gfield--type-buehnen.smoco-buehnen-cl-pending:not([data-smoco-buehnen-cl="visible"]),
.gfield--type-buehnen[data-smoco-buehnen-cl="hidden"] {
	display: none !important;
}

.ginput_container_buehnen {
	position: relative;
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* Repeater cells shrink-wrap children unless forced full width. */
.gfield_repeater_cell .gfield--type-buehnen,
.gfield_repeater_cell .ginput_container_buehnen,
.gfield_repeater_cell .ginput_container_buehnen .select2-container,
.gfield--type-buehnen,
.ginput_container_buehnen .select2-container {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

.ginput_container_buehnen .select2-container--default .select2-selection--single,
.ginput_container_buehnen .select2-selection.smoco-buehnen-selection {
	position: relative;
	background-color: #f0f0f0 !important;
	background-image: url("../../../gfstylespro/icons/caret.svg") !important;
	background-position: calc(100% - 16px) 50% !important;
	background-repeat: no-repeat !important;
	background-size: 11.2px !important;
	border: 1px solid #e2e7ed !important;
	border-radius: 20px !important;
	height: 41px !important;
	min-height: 41px !important;
	padding: 0 36px 0 16px !important;
	box-sizing: border-box !important;
	outline: none !important;
	box-shadow: none !important;
	display: flex !important;
	align-items: center !important;
}

.ginput_container_buehnen .select2-container--default .select2-selection--single .select2-selection__rendered,
.ginput_container_buehnen .select2-selection.smoco-buehnen-selection .select2-selection__rendered {
	color: #808080 !important;
	font-family: "Open Sans", Arial, Verdana, sans-serif !important;
	font-size: 16px !important;
	line-height: 41px !important;
	padding: 0 !important;
	margin: 0 !important;
}

.ginput_container_buehnen .select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: #808080 !important;
}

/* Kill Select2 clear/arrow completely (native caret via background-image). */
.ginput_container_buehnen .select2-selection__clear,
.ginput_container_buehnen .select2-selection__arrow,
.ginput_container_buehnen .select2-selection__arrow b {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.ginput_container_buehnen .select2-container--default.select2-container--focus .select2-selection--single,
.ginput_container_buehnen .select2-container--default.select2-container--open .select2-selection--single {
	border-color: #e2e7ed !important;
	outline: none !important;
	box-shadow: none !important;
}

/* Dropdown on body — sit cleanly under field. */
.select2-dropdown.smoco-buehnen-dropdown {
	border: 1px solid #e2e7ed !important;
	border-radius: 12px !important;
	margin-top: 2px;
	overflow: hidden;
	background: #fff !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
	/* Below sticky header/menu (~1000+), above normal form content. */
	z-index: 20 !important;
}

.select2-dropdown.smoco-buehnen-dropdown .select2-search--dropdown {
	padding: 10px !important;
	background: #fff !important;
}

.select2-dropdown.smoco-buehnen-dropdown .select2-search--dropdown .select2-search__field {
	background-color: #fff !important;
	border: 1px solid #e2e7ed !important;
	border-radius: 8px !important;
	color: #333 !important;
	font-family: "Open Sans", Arial, Verdana, sans-serif !important;
	font-size: 16px !important;
	padding: 8px 12px !important;
	outline: none !important;
	width: 100% !important;
	box-sizing: border-box !important;
	height: auto !important;
	min-height: 0 !important;
}

.select2-dropdown.smoco-buehnen-dropdown .select2-results__option {
	color: #808080 !important;
	font-family: "Open Sans", Arial, Verdana, sans-serif !important;
	font-size: 16px !important;
	padding: 8px 16px !important;
}

.select2-dropdown.smoco-buehnen-dropdown .select2-results__option--highlighted[aria-selected],
.select2-dropdown.smoco-buehnen-dropdown .select2-results__option--highlighted[data-selected] {
	background-color: #f0f0f0 !important;
	color: #333 !important;
}

.select2-dropdown.smoco-buehnen-dropdown .select2-results__option[aria-selected="true"] {
	background-color: #f7f7f7 !important;
	color: #333 !important;
}
