.select-details {
	position: relative;
	width: 400px;
	/* margin-right: 1rem; */
}

.select-details[open] {
	z-index: 1;
}

.select-summary {
	font-weight: 500;
	padding: 1rem;
	cursor: pointer;
	border-radius: 5px;
	background-color: #fafafa;
	list-style: none;
	box-shadow: 0 2px 7px #dfdfdf
}

.select-summary:hover {
	font-weight: 700;
	color: #e97f2f;
	cursor: pointer;
}

.select-summary::-webkit-details-marker {
	display: none;
}

.select-details[open] .select-summary:before {
	content: '';
	display: block;
	width: 100vw;
	height: 100vh;
	background: transparent;
	position: fixed;
	top: 0;
	left: 0;
}

.select-summary:after {
	content: '';
	display: inline-block;
	float: right;
	width: .5rem;
	height: .5rem;
	border-bottom: 1px solid currentColor;
	border-left: 1px solid currentColor;
	border-bottom-left-radius: 2px;
	transform: rotate(45deg) translate(50%, 0%);
	transform-origin: center center;
	transition: transform ease-in-out 100ms
}

.select-summary:focus {
	outline: none;
}

.select-details[open] .select-summary:after {
	transform: rotate(-45deg) translate(0%, 0%);
}

.select-ul {
	width: 100%;
	background: #fafafa;
	position: absolute;
	top: calc(100% + .5rem);
	left: 0;
	padding: 1rem;
	margin: 0;
	box-sizing: border-box;
	border-radius: 5px;
	max-height: 200px;
	overflow-y: auto;
}

.select-li {
	margin: 0;
	padding: 1rem 0;
	border-bottom: 1px solid #ccc;
	list-style: none;
}

.select-li:hover {
	font-weight: 700;
	color: #e97f2f;
	cursor: pointer;
}

.select-li:first-child {
	padding-top: 0;
}

.select-li:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

/* FAKE SELECT */

.select-summary.radios {
	counter-reset: radios;
}

.select-input[type=radio] {
	counter-increment: radios;
	appearance: none;
	display: none;
}

.select-input[type=radio]:checked {
	display: inline;
}

.select-input[type=radio]:after {
	content: attr(title);
	display: inline;
	font-size: 1rem;
}

.select-ul.list {
	counter-reset: labels;
}

.select-label {
	width: 100%;
	display: block;
	cursor: pointer;
}