﻿.select-wrapper {
    margin: auto;
    max-width: 600px;
    width: calc(100%);
}

.select-pure__select {
    align-items: center;
    background: #151515;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    color: #7b7b7b;
    cursor: pointer;
    display: flex;
    font-size: 12px;
    font-weight: 500;
    justify-content: left;
    align-content: start;
    min-height: 44px;
    padding: 5px 10px;
    position: relative;
    transition: 0.2s;
    width: 100%;
}

.select-pure__options {
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    color: #363b3e;
    display: none;
    left: 0;
    max-height: 200px;
    overflow-y: scroll;
    position: absolute;
    top: 50px;
    width: 100%;
    z-index: 5;
}

.select-pure__select--opened .select-pure__options {
    display: block;
}

.select-pure__option {
    background: #fff;
    border-bottom: 1px solid #e4e4e4;
    box-sizing: border-box;
    height: 28px;
    line-height: 28px;
    padding: 2px;
    padding-left: 11px;
    transition: all 0.4s ease;
}

.select-pure__option:hover {
    background: #eee;
}

.select-pure__option--selected {
    color: #e4e4e4;
    cursor: initial;
    pointer-events: none;
}

.select-pure__option--hidden {
    display: none;
}

.select-pure__selected-label {
    background: #8950f7;
    border-radius: 4px;
    color: #fff;
    cursor: initial;
    display: inline-block;
    margin: 3px 5px 3px 0;
    text-align:center;
    padding-top: 3px;
    padding-bottom: 2px;
    padding-left: 6px;
}

    .select-pure__selected-label:last-of-type {
        margin-right: 0;
    }

    .select-pure__selected-label i {
        cursor: pointer;
        display: inline-block;
        margin-left: 3px;
        margin-right: 3px;
    }

        .select-pure__selected-label i:hover {
            color: #e4e4e4;
        }

.select-pure__autocomplete {
    background: #f9f9f8;
    border-bottom: 1px solid #e4e4e4;
    border-left: none;
    border-right: none;
    border-top: none;
    box-sizing: border-box;
    font-size: 12px;
    outline: none;
    padding: 10px;
    width: 100%;
}


.select-pure__placeholder {
    font-weight: 700;
    opacity: 0.5;
    transition: all 0.4s ease;
}

.select-pure__placeholder--hidden {
    display: none;
}

.trait-filter-selector:hover .select-pure__placeholder {
    opacity: 1;
}
