.custom-select-container {
    position: relative;
    box-sizing: border-box;
    ;
}

.custom-select-container * {
    box-sizing: border-box;
}

.custom-select-container.is-disabled {
    opacity: .333;
}

.custom-select-opener {
    background-color: #ccc;
    padding: 0.5em;
    display: block;
    cursor: pointer;
    width: 100%;
}

.custom-select-container select {
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.custom-select-panel {
    max-height: 0;
    transition: max-height .5s ease-out, overflow-y 0.1s 0.5s;
    overflow: hidden;
    background-color: #e9e9e9;
    position: absolute;
    top: 100%;
    z-index: 1;
    width: 100%;
}

.custom-select-container.is-open .custom-select-panel {
    max-height: 10.7em;
    overflow-y: auto
}

.custom-select-option {
    padding: 0.5em;
}

.custom-select-option.has-focus {
    background-color: LightBlue;
}

.custom-select-option.is-selected::before {
    content: "✔";
    padding-right: 0.5em;
}

.custom-select-optgroup>.custom-select-option {
    padding-left: 2em;
}

.custom-select-optgroup::before {
    content: attr(data-label);
    display: block;
    padding: 0.5em;
    color: #888;
}

.custom-select-container {
    width: 100%;
    margin-bottom: 20px;
}

.custom-select-container .custom-select-opener {
    border-radius: 4px;
    border: 1px solid #BDBCBD;
    background: #FFF;
    color: var(--gray-scale-800-main);
    font-family: var(--font-family);
    font-size: var(--body-regular-18px-font-size);
    font-style: normal;
    font-weight: 400;
    line-height: var(--body-regular-18px-line-height);
    padding: 12px 16px;
}

.custom-select-container .custom-select-panel {
    z-index: 5;
    border-radius: 8px;
    background: #F4F4F4;
    box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.10);
    margin-top: 8px;
}

.custom-select-container .custom-select-panel .custom-select-option:first-child {
    pointer-events: none;
}

.custom-select-container .custom-select-panel .custom-select-option:first-child:not(.is-selected) {
    color: #BDBCBD;
}

.custom-select-container .custom-select-panel .custom-select-option {
    background: #FFF;
    color:var(--gray-scale-800-main);
    font-family: var(--font-family);
    font-size: var(--body-regular-16px-font-size);
    font-style: normal;
    font-weight: 400;
    line-height: var(--body-regular-16px-line-height) ;
    padding: 12px 16px;
}

.custom-select-container .custom-select-panel .custom-select-option::before {
    display: none;
}

.custom-select-container .custom-select-panel .custom-select-option.is-selected,
.custom-select-container .custom-select-panel .custom-select-option.has-focus {
    background: #FAFAFA;
}