.dm-custom-select{
    position: relative;
    background-color: transparent;
    height: 100%;
    padding: 5px 20px;
    min-width: 250px;
    border: 1px solid var(--dm_black);
    border-radius: 30px;
    min-height: 60px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    width: 300px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.dm-custom-select.dm-has-selection {
    background-color: var(--dm_black);
}

.dm-custom-select.dm-has-selection .select-selected {
    color: #fff;
}

.dm-custom-select select{
    display: none;
}
.select-selected:after {
    position: absolute;
    content: '';
    width: 15px;
    height:19px;
    background-image: url(../images/arrow-down-straight.svg);
    background-size: cover;
    display: inline-block;
    padding: 6px;
    right: 20px;
    z-index: 100;
    transform-origin: center;
    transition: .2s;

}

.dm-custom-selected .select-selected:after {
    display: none;
}

.dm-custom-select.dm-has-selection .select-selected:after {
    background-image: url(../images/arrow-down-straight-white.svg);
}

.select-selected {
    padding: 8px 16px;
    cursor: pointer;
    height: 100%;
    background-color: unset;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--dm_black);
    font-size: 16px;
    font-weight: 400;
    width: 100%;
}
/*.select-items div {
    color: #fff;
    padding: 8px 20px;
    cursor: pointer;
}*/

.select-items-wrapper {
    color: #fff;
    padding: 8px 20px;
    cursor: pointer;
    max-height: 330px;
    overflow: auto;
}

.select-items {
    position: absolute;
    z-index: 39;
    background-color:  var( --dm_black);
    top: -2px;
    right: unset;
    left: -2px;
    width: calc(100% + 4px);
    max-height: 360px;
    border-radius: 0;
    overflow: hidden;
    padding: 10px 10px 20px;
}



.select-hide {
    display: none;
}

.dm-custom-select .select-selected.select-arrow-active:after{
    background-image: url(../images/arrow-down-straight-white.svg);
}

.dm-custom-select .select-items-wrapper > div{
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    padding: 8px 20px
}

.dm-custom-select .select-items-wrapper > div:hover{
    font-weight: 700;
}

.dm-custom-select .select-items-wrapper::-webkit-scrollbar-track
{
    border-radius: 10px;
    background-color: var( --dm_lavender);
}

.dm-custom-select .select-items-wrapper::-webkit-scrollbar
{
    width: 4px;
    background-color: var( --dm_lavender);
}

.dm-custom-select .select-items-wrapper::-webkit-scrollbar-thumb
{
    border-radius: 10px;
    background-color: var(--dm_black);
    width: 2px;
    border: 2px solid var(--dm_black);
}

.dm-custom-close {
    width: 20px;
    height: 20px;
    transform: rotate(45deg);

    align-items: center;
    justify-content: center;
    position: absolute;
    right: 15px;
    z-index: 50;
    cursor: pointer;
    display: none;

}

.dm-custom-selected .dm-custom-close {
    display: flex;
}

.dm-custom-close:before,
.dm-custom-close:after {
    width: 100%;
    content: '';
    height: 3px;
    background-color: #000;
    position: absolute;
}

.dm-custom-select-active .dm-custom-close:before,
.dm-custom-select-active .dm-custom-close:after {
    background-color: #fff;
}

.dm-custom-close:after {
    transform: rotate(90deg);
}

@media all and (max-width: 992px) {
    .dm-custom-select {
        width: 100%;
        margin-right: 0;
        /*z-index: 10;*/
    }
}
