﻿.sal-custom-select-el {
    display: inline-block;
    margin: 5px;
}

div[class$='sal-custom-select-wrapper'] {
    position: relative;
    user-select: none;
    width: 100%;
}

div[class^='sal-custom-select-target'] {
    /*display: flex;*/
}

div[class^='sal-custom-select__trigger'] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.3;
    background-color: transparent;
    cursor: pointer;
    width: 100%;
    height: 32px;
    /*color: #ffffff;*/
}

div[class^='sal-custom-options'] {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #e6e7e8;
    background-color: #fff;
    border-radius: 3px;
    /*transition: all 0.5s;*/
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 3;
    max-height: 300px;
    overflow-y: auto;
}

div[class^='sal-custom-select'].open div[class^='sal-custom-options'] {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

span[class^='sal-custom-option'] {
    position: relative;
    display: block;
    padding: 0 22px 0 22px;
    font-size: 16px;
    font-weight: 300;
    /*color: #212221;*/
    line-height: 20px;
    cursor: pointer;
    transition: all 0.5s;
    padding: 5px;
}

    span[class^='sal-custom-option']:hover {
        cursor: pointer;
        background-color: #caeefa;
    }

    span[class^='sal-custom-option'].selected {
        color: black;
        background-color: #caeefa;
    }

.arrow {
    position: relative;
    height: 15px;
    width: 15px;
    margin-left: 20px;
}

    .arrow::before,
    .arrow::after {
        content: "";
        position: absolute;
        bottom: 0px;
        width: 0.15rem;
        height: 100%;
        transition: all 0.5s;
    }

    .arrow::before {
        left: -5px;
        transform: rotate(45deg);
        background-color: #ffffff;
    }

    .arrow::after {
        left: 5px;
        transform: rotate(-45deg);
        background-color: #ffffff;
    }

.open .arrow::before {
    left: -5px;
    transform: rotate(-45deg);
}

.open .arrow::after {
    left: 5px;
    transform: rotate(45deg);
}
