.dual-listbox {
    display: flex;
    flex-direction: column;
}

.dual-listbox__container {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;

}

.dual-listbox__search {
    border: 1px solid $middle-turquoise;
    border-left: none;
    padding: 10px;
    max-width: 300px;
}

.dual-listbox__available,
.dual-listbox__selected {
    border: 1px solid $middle-turquoise;
    background-color: white;
    height: 300px;
    overflow-y: auto;
    padding: 0;
    width: 300px;
    margin-top: 0;
    -webkit-margin-before: 0;
}

.dual-listbox__available {
    border-left: none;
}

.dual-listbox__selected {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.dual-listbox__buttons {
    margin-left: 1px;
    margin-right: 1px;
    align-self: flex-end;
    height: 300px;
    display: flex;
    flex-direction: column;
}

.dual-listbox__button {
    margin-bottom: 1px;
    height: 25%;
    border: 0;
    background-color: $dark-grey;
    padding: 5px;
    color: $old-white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;

    i {
        font-size: $m-fs;
    }
}

.dual-listbox__button:hover {
    background-color: lighten($dark-grey, 20);
}

.dual-listbox__title {
    padding: 15px 10px;
    font-size: 120%;
    border-left: 1px solid #efefef;
    border-right: 1px solid #efefef;
    border-top: 1px solid #efefef;
    margin-top: 1rem;
    -webkit-margin-before: 1rem;
    text-align: center;
}

.dual-listbox__item {
    display: block;
    padding: 10px;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    border-bottom: 1px solid #efefef;
    transition: background 0.2s ease;
}

.dual-listbox__item--selected {
    background-color: $middle-turquoise;
    color: $old-white;
}