select.custom-select.hidden {
    display: none;
}
      
      
.custom-select {
    display: inline-block;
    position: relative;
    font-size: 1rem;
	font-weight: 400;
	color: var(--grey);
    line-height: 1.4;
    width: 100%;
    z-index: 1;
    transition: z-index 0s .2s;
}
.custom-select:focus,
.custom-select *:focus {
    outline: none;
    border: none;
    box-shadow: none;
}
.custom-select.open {
    z-index: 2;
    transition: none;
}

.custom-select .placeholder {
    position: relative;
	padding: 15px 0;
	background-color: transparent;
	border: none;
	border-radius: 0;
    border-bottom: 1px solid #d0d1d1;
    line-height: 1.2;
    resize: none;
    transition: var(--transition);
    cursor: pointer;
}
.custom-select .placeholder.has-img {
    padding-left: 35px;
}
.custom-select.not-filled + .custom-select .placeholder {
    border-bottom-color: var(--warning);
}

.custom-select:not(.has-reset) .placeholder::before {
    content: "";
	position: absolute;
	top: -2px;bottom: 0;
	right: 2px;
	margin: auto;
	width: 6px;height: 6px;
	border-right: 1px solid var(--black);
	border-bottom: 1px solid var(--black);
	transform: rotate(45deg);
    pointer-events: none;
}
.custom-select.has-reset .placeholder > div.reset {
	position: absolute;
	top: -6px;bottom: 0;
    right: 0;
	margin: auto;
	width: 10px;height: 10px;
    overflow: hidden;
    pointer-events: none;
 
}
.custom-select.has-reset.isSelected .placeholder > div.reset {
    top: 0;
    pointer-events: auto;
}
.custom-select.has-reset .placeholder > div.reset::before,
.custom-select.has-reset .placeholder > div.reset::after {
    content: "";
    position: absolute;
    top: 0;bottom: -10px;
    left: -1px;
    margin: auto;
    width: 12px;height: 1px;
    background-color: var(--black);
}
.custom-select.has-reset.isSelected .placeholder > div.reset::before,
.custom-select.has-reset.isSelected .placeholder > div.reset::after {
    bottom: 0;
}

.custom-select.has-reset .placeholder > div.reset::before {
    transform: rotate(45deg);
}
.custom-select.has-reset .placeholder > div.reset::after {
    transform: rotate(-45deg);
}

.custom-select .placeholder.has-img span {
    position: absolute;
    top: 0;bottom: 0;
    left: 0;
    margin: auto !important;
    width: 20px;
    height: 20px;
    background-position: center;
    background-size: cover;
}

.custom-select .options-wrapper {
    position: absolute;
    left: 0;
    width: 100%;
    max-height: 0;
    transition: var(--transition);
    overflow: hidden;
    background-color: white;
    padding-right: 10px;
    border-left: 1px solid #d0d1d1;
    border-right: 1px solid #d0d1d1;
    border-bottom: 1px solid #d0d1d1;
    opacity: 0;
    z-index: 2;
}
.custom-select.open .options-wrapper,
.custom-select.open .options {
    max-height: 250px;
    opacity: 1;
}

.custom-select .options {
    padding: 10px 0;
    overflow: auto;
}
.custom-select .options::-webkit-scrollbar-track {
    background-color: transparent;
    margin: 15px 0;
}
.custom-select .options::-webkit-scrollbar {
    width: 2px;
    background-color: transparent;
}
.custom-select .options::-webkit-scrollbar-thumb {
    background-color: #d0d1d1;
}

.custom-select .options > div {
    position: relative;
    padding: 5px 10px;
    transition: var(--transition);
    cursor: pointer;
    color: #888787;
}
.custom-select .options > div.selected,
.custom-select .options > div:hover {
    color: var(--black);
}
.custom-select .options > div.disabled {
    opacity: .5;
    pointer-events: none;
}
.custom-select .options > div[data-value=""] {
    display: none;
}

.custom-select .options > div.has-img {
    padding-left: 40px;
    padding-top: 8px;
    padding-bottom: 8px;
}
.custom-select .options > div.has-img span {
    position: absolute;
    top: 0;bottom: 0;
    left: 10px;
    margin: auto;
    width: 20px;
    height: 20px;
    background-position: center;
    background-size: cover;
}
.custom-select .options > div.has-img span::before {
    content: "";
    position: absolute;
    top: -3px;bottom: -3px;
    left: -3px;right: -3px;
    border: 1px solid transparent;
    transition: var(--transition);
    pointer-events: none;
}
.custom-select .options > div.has-img.selected span::before {
    border-color: var(--black)
}


@media(min-width: 768px) {
    .custom-select .options > div {
        padding: 5px 20px;
    }

    .custom-select .options > div.has-img {
        padding-left: 55px;
    }
    .custom-select .options > div.has-img span {
        left: 20px;
    }
    
}