/* /public/css/theme/school/components/custom-select.css */

.custom-select-wrapper {
    margin: 1rem;
    position: relative;
    user-select: none;
}
.custom-select-selected {
    font-size: var(--paragraph);
    font-family: "Futura Book", "Futura Book Cyrillic", sans-serif;
    /*margin: 1rem 1rem 0 1rem;*/
    padding: 1rem;
    border-radius: 5rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.8); /* Black with 50% transparency */
    /*background-color: rgba(var(--color-black-rgb), 0.5); !* Using a variable for 50% transparent black *!*/

    border: 1px solid white;
}

.schools  .custom-select-selected {
    min-width: 20vw;
}
.language  .custom-select-selected {
    min-width: 10vw;
}
.custom-select-selected .title{
    flex-grow: 10;
}
.custom-select-selected .arrow{
    flex-grow: 2;
}
.custom-select-options {
    display: none;
    position: absolute;
    left: 0; right: 0;
    background-color: rgba(0, 0, 0, 0.8); /* Black with 50% transparency */
    z-index: 100;
    border: 1px solid white;
    text-align: left;
}
.custom-select-options .custom-select-option {
    padding: 1rem;
    cursor: pointer;
}
.custom-select-options .title{
    flex-grow: 10;
}
.custom-select-options .arrow{
    flex-grow: 2;
}
.custom-select-options .custom-select-option:hover {
    background: var(--colorDarkYellow);
    color: var(--brandColor);
}


/* MOBILE LAYOUT (Screens smaller than 768px) */
@media (max-width: 768px) {
    .schools  .custom-select-selected {
        min-width: 35vw;
    }

    .language  .custom-select-selected {
        min-width: 15vw;
    }
}