
/* select starting stylings ------------------------------*/
.select-mobile {
	position: relative;
	width: 100%;
}

.select-mobile > .select-text {
	position: relative;
	font-family: inherit;
	background-color: transparent;
	width: 100%;
	padding: 10px 10px 10px 0;
	font-size: 15px;
	border-radius: 0;
	border: none;
	border-bottom: 1px solid rgba(0,0,0, 0.12);
}

/* Remove focus */
.select-mobile > .select-text:focus {
	outline: none;
	border-bottom: 1px solid rgba(0,0,0, 0);
}

	/* Use custom arrow */
.select-mobile .select-text {
	appearance: none;
	-webkit-appearance:none
}

.select-mobile:after {
	position: absolute;
	top: 18px;
	right: 10px;
	/* Styling the down arrow */
	width: 0;
	height: 0;
	padding: 0;
	content: '';
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid black;
	pointer-events: none;
}

.select-mobile-wrapper.disabled .select-mobile:after {
	opacity: .12;
}


/* LABEL ======================================= */
.select-mobile > .select-label {
	color: rgba(0,0,0, 0.26);
	font-weight: normal;
	position: absolute;
	pointer-events: none;
	left: 0;
	top: -14px;
	transition: 0.2s ease all;
}

/* active state */
.select-mobile > .select-text:focus ~ .select-label, .select-mobile > .select-text:valid ~ .select-label {
	color: rgb(158, 158, 158);
	top: -14px;
	transition: 0.2s ease all;
}

/* BOTTOM BARS ================================= */
.select-mobile > .select-bar {
	position: relative;
	display: block;
	width: 100%;
}

.select-mobile > .select-bar:before, .select-mobile > .select-bar:after {
	content: '';
	height: 2px;
	width: 0;
	bottom: 1px;
	position: absolute;
	background: var(--primary);
	transition: 0.2s ease all;
}

.select-mobile > .select-bar:before {
	left: 50%;
}

.select-mobile > .select-bar:after {
	right: 50%;
}

/* active state */
.select-mobile > .select-text:focus ~ .select-bar:before, .select-mobile > .select-text:focus ~ .select-bar:after {
	width: 50%;
}

/* HIGHLIGHTER ================================== */
.select-mobile > .select-highlight {
	position: absolute;
	height: 60%;
	width: 100%;
	top: 25%;
	left: 0;
	pointer-events: none;
	opacity: 0.5;
}

.prefix ~ .select-mobile {
    margin-left: 3rem;
    width: 92%;
    width: calc(100% - 3rem);
}

.select-mobile-wrapper .prefix {
	position:absolute;
}
.select-mobile-wrapper {
	margin-bottom: 20px;
}
