.sr-select {
    position: relative
}

.sr-select * {
    box-sizing: border-box
}

.sr-select .sr-select-activator {
    padding: 0;
    border: none;
    background: #F2F2F2;
    width: 100%;
    text-align: left;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    cursor: pointer;
    font-size: 18px;
    font-weight: 100;
    font-style: normal;
    color: #333333;
    font-family: 'roboto';
}

.sr-select .sr-select-activator .sr-select-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    pointer-events: none
}

.sr-select .sr-select-activator .sr-select-trigger:before {
    content: '';
    background: url(../gfx/down.svg) no-repeat;
    width: 20px;
    height: 10px;
    top: 17px;
    right: 15px;
    pointer-events: none;
}

.sr-select .sr-select-activator.sr-select-open .sr-select-trigger {
    transform: rotate(180deg)
}

.sr-select .sr-select-activator .sr-select-selected {
    flex: 1;
    padding: 13px 15px;
}

.sr-select.sr-select-multiple .sr-select-activator .sr-select-selected:has(.sr-select-selected-option) {
    padding: 0 5px 5px 5px;
}

.sr-select .sr-select-activator .sr-select-selected .sr-select-placeholder {
    /*opacity: .5*/
}

.sr-select .sr-select-activator .sr-select-selected .sr-select-selected-option {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.sr-select .sr-select-activator .sr-select-selected .sr-select-selected-option .sr-select-close {
    cursor: pointer;
    display: block;
    width: 15px;
    height: 15px;
    color: transparent;
    margin-left: 7px;
    font-weight: 100;
    font-style: normal;
    font-size: 30px;
}

.sr-select .sr-select-activator .sr-select-selected .sr-select-selected-option .sr-select-close:before {
    content: '';
    display: block;
    background: url(../gfx/close-small.svg) no-repeat;
    height: 15px;
    width: 15px;
    speak: none;
}

.sr-select .sr-select-activator .sr-select-selected .sr-select-selected-option .sr-select-close:hover {
    color: var(--primary-color)
}

.sr-select .sr-select-activator .sr-select-selected:has(.sr-select-selected-option) {
    display: flex;
    flex-direction: row;
    gap: 5px
}

.sr-select.sr-select-multiple .sr-select-activator .sr-select-selected {
    flex-wrap: wrap
}

.sr-select.sr-select-multiple .sr-select-activator .sr-select-selected .sr-select-selected-option {
    flex-wrap: nowrap;
    background-color: var(--secondary-color);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 100px;
    cursor: default;
    margin: 5px 5px 0 0;
    padding: 8px 11px 8px 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.sr-select .sr-select-optionList {
    width: 100%;
    left: 0;
    top: 100%;

    border-left: 1px solid var(--secondary-color);
    border-right: 1px solid var(--secondary-color);
    border-bottom: 1px solid var(--secondary-color);
    border-radius: 0;
    outline: none;
    box-shadow: 1px 1px 15px rgba(128, 128, 128, 0.2);
    max-height: 400px;
    background: #fff;
}

.sr-select .sr-select-optionList.sr-select-up {
    top: initial;
    bottom: 100%;
    border: 1px solid #333333;
    border-bottom: none
}

.sr-select-optionList {
    background-color: #fff;
    border: 1px solid #333333;
    border-top: none;
    position: absolute;
    z-index: 999
}

.sr-select-optionList * {
    box-sizing: border-box
}

.sr-select-optionList .sr-select-search-wrap {
    padding: 5px
}

.sr-select-optionList .sr-select-search-wrap input.sr-select-search {
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #DDDDDD;
    font-family: inherit;
    width: 100%
}

.sr-select-optionList .sr-select-list {
    max-height: 200px;
    overflow-y: auto
}

.sr-select-optionList .sr-select-list .sr-select-group {
    list-style-type: none
}

.sr-select-optionList .sr-select-list .sr-select-list-option {
    cursor: pointer;

    padding: 10px 15px;
    color: #333;
    font-weight: normal;
    font-style: normal;
    font-size: 18px;
    line-height: 100%;
    font-family: 'roboto';
}

.sr-select-optionList .sr-select-list .sr-select-list-option.sr-select-selected, .sr-select-optionList .sr-select-list .sr-select-list-option:focus, .sr-select-optionList .sr-select-list .sr-select-list-option:hover {
    color: var(--secondary-color);
    background: #F2F2F2;
}

.sr-select-optionList .sr-select-list .sr-select-list-option.sr-select-active {
    background: #F2F2F2;
}
