
/*region [SEARCH BOX] */

.search-box {
    width: calc(100% - 15px);
    border-radius: 3px;
    height: auto;
    line-height: 20px;
    border: 1px solid var(--color-main-brigth);
    position: relative;
    padding: 5px 5px 5px 10px;
    background: #FFFFFF;
}


.search-box:after {
    content: '';
    position: absolute;
    display: block;
    height: 5px;
    width: 5px;
    border-bottom: 2px solid var(--color-main-dark);
    border-right: 2px solid var(--color-main-dark);
    transform: rotate(45deg);
    right: 4px;
    top: 10px;
}

.search-box.open:after {
    transform: rotate(-135deg);
    top: 10px;
}
.search-box .selected {
    height: 100%;
    width: calc(100% - 30px);
    position: relative;
    display: flex;
    flex-wrap: wrap;
    white-space: nowrap;
    overflow: hidden;
}

.search-box .selected-box {
    height: 5px;
    padding: 5px 20px 5px 5px;
    background: var(--color-main-dark);
    color: #FFFFFF;
    font-size: 12px;
    display: block;
    line-height: 5px;
    position: relative;
    cursor: pointer;
    border-radius: 3px;
    margin: 1px;
    border: 1px solid #000000;
}

.search-box .selected-box .close {
    cursor: pointer;
}

.search-box .selected-box .close:before,
.search-box .selected-box .close:after {
    position: absolute;
    right: 7px;
    top: 2px;
    content: ' ';
    height: 10px;
    width: 2px;
    background-color: #FFFFFF;
}
.search-box .selected-box .close:before {
    transform: rotate(45deg);
}
.search-box .selected-box .close:after {
    transform: rotate(-45deg);
}
.search-box .selected-box:hover {
}
.search-box .selected-box:hover .close:after,
.search-box .selected-box:hover .close:before {
    background-color: #ff8585;
    box-shadow: 0 0 7px #000;
}
.search-box .list {
    position: absolute;
    width: calc(100% - 20px);
    background: #FFFFFF;
    margin-top: 10px;
    left: 0;
    border: 1px solid #cccccc;
    z-index: 100;
    padding: 10px;
    height: auto;
    display: none;
    box-shadow: 0 0 10px rgba(0,0,0, 0.3);
    margin-bottom: 30px;
}

.search-box .list input {
    width: calc(100% - 20px);
    height: 20px;
    padding: 5px;
}

.search-box.open .list {
    display: block;
}

.search-box .list-item {
    font-size: 14px;
    padding: 5px;
    cursor: pointer;
}
.search-box .list-items {
    margin-top: 10px;
    max-height: 200px;
    overflow-y: scroll;
}
.search-box .list-item:hover, .search-box .list-item.hover {
    background: var(--color-main-brigth) !important;
    width: calc(100% - 15px);
}

.search-box .list-item.selected {
    background: #f1f1f1;
    width: calc(100% - 15px);
}


/*endregion*/
