﻿
@font-face {
    font-family: "eKidz";
    src: url('../fonts/eKidz.otf');
}

.custom-select {
    position: relative;
    font-family: eKidz;
    font-size: 16px;
    background: none;
}

    .custom-select select {
        display: none; /*hide original SELECT element:*/
    }

.select-selected {
    background-color: #fff;
    border-radius: 30px;
}

    /*style the arrow inside the select element:*/
    .select-selected:after {
        position: absolute;
        content: "";
        top: 16px;
        right: 13px;
        width: 0;
        height: 0;
        border: 6px solid transparent;
        border-color: #EB3D00 transparent transparent transparent;
    }

    /*point the arrow upwards when the select box is open (active):*/
    .select-selected.select-arrow-active:after {
        border-color: transparent transparent #EB3D00 transparent;
        top: 10px;
    }


    .select-selected:focus {
        outline: none;
        box-shadow: 0 0 0 2px lightgray;
    }

/*style the items (options), including the selected item:*/
.select-items div {
    color: #EB3D00;
    padding: 6px 21px;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
    user-select: none;
    height: 38px;
}

.select-selected {
    color: #EB3D00;
    padding: 8px 21px;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
    user-select: none;
/*    _margin-top: -6px;
    _margin-left: -11px;
    _margin-right: -33px;*/
    margin-left: -5px;
    height: 38px;
}
/*style items (options):*/
.select-items {
    position: absolute;
    background-color: #fff;
    _top: 100%;
    left: 0;
    right: 0;
    z-index: 102;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 1px 1px 1px 1px rgb(0 0 0 / 51%);
}
.select-items-down {
    top: 100%;
}
.select-items-up {
    bottom: 100%;
}

/*hide the items when the select box is closed:*/
.select-hide {
    display: none;
}

.select-items div:hover,
.same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
}
