@-webkit-keyframes iui-fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-moz-keyframes iui-fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-ms-keyframes iui-fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-o-keyframes iui-fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes iui-fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes iui-fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-moz-keyframes iui-fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-ms-keyframes iui-fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-o-keyframes iui-fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes iui-fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.dropdown-single,
.dropdown-multiple,
.dropdown-multiple-label {
    position: relative;
}

.dropdown-single.active .dropdown-main,
.dropdown-multiple.active .dropdown-main,
.dropdown-multiple-label.active .dropdown-main {
    display: block;
    -webkit-animation: iui-fadeIn 0.2s ease-in forwards;
    -moz-animation: iui-fadeIn 0.2s ease-in forwards;
    -ms-animation: iui-fadeIn 0.2s ease-in forwards;
    -o-animation: iui-fadeIn 0.2s ease-in forwards;
    animation: iui-fadeIn 0.2s ease-in forwards;
}

.dropdown-single.active .dropdown-display:after,
.dropdown-single.active .dropdown-display-label:after,
.dropdown-multiple.active .dropdown-display:after,
.dropdown-multiple.active .dropdown-display-label:after,
.dropdown-multiple-label.active .dropdown-display:after,
.dropdown-multiple-label.active .dropdown-display-label:after {
    border-top: none;
    border-bottom: 10px solid #999;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.dropdown-single.active .dropdown-display,
.dropdown-single.active .dropdown-display-label,
.dropdown-multiple.active .dropdown-display,
.dropdown-multiple.active .dropdown-display-label,
.dropdown-multiple-label.active .dropdown-display,
.dropdown-multiple-label.active .dropdown-display-label {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.dropdown-display-label,
.dropdown-display {
    position: relative;
    display: block;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.42857143;
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
    background-color: #fff;
}

.dropdown-display-label:after,
.dropdown-display:after {
    content: "";
    position: absolute;
    border-top: 10px solid #000000;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    top: 41%;
    right: 8px;
}

.dropdown-display {
    white-space: nowrap;
    padding: 6px 12px;
}

.dropdown-display .dropdown-chose-list {
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-display .dropdown-chose-list span:before {
    content: ",";
}

.dropdown-display .dropdown-chose-list span:first-child:before {
    content: "";
}

.dropdown-display .placeholder {
    display: none;
}

.dropdown-display .placeholder:first-child {
    position: absolute;
    height: 100%;
    width: 100%;
    color: #000000;
    display: block;
    text-indent: 10px;
    font-size: 1rem;
}

.dropdown-display input {
    border: 0;
    outline: none;
}

.dropdown-display-label {
    cursor: text;
    padding: 6px 25px 5px 0px;
}

.dropdown-display-label .dropdown-search {
    display: inline-block;
}

.dropdown-display-label input,
.dropdown-display-label input:focus {
    border: none;
    outline: none;
}

.dropdown-display-label .dropdown-chose-list {
    display: inline-block;
    padding: 0 5px;
}

.dropdown-display-label .dropdown-chose-list .placeholder {
    display: none;
}

.dropdown-display-label .dropdown-selected {
    position: relative;
    margin: 0 5px 5px 0;
    padding: 0 20px 0 5px;
    border: 1px solid #aaa;
    max-width: 100%;
    border-radius: 3px;
    background-repeat: repeat-x;
    color: #333;
    cursor: default;
    display: inline-block;
}

.dropdown-display-label .dropdown-selected .del {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
    float: right;
    line-height: 1;
    color: #999;
    position: absolute;
    right: 3px;
    top: 0px;
}

.dropdown-display-label .dropdown-selected .del:after {
    content: "\D7";
    font-size: 16px;
}

.dropdown-main {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1010;
    width: 100%;
    color: #444;
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    margin-top: -1px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: 0;
    padding: 4px 7px;
    display: none;
}

.dropdown-main ul {
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 240px;
    margin: 0;
    padding: 0;
}

.dropdown-main input {
    margin-top: 0;
    display: block;
    box-sizing: border-box;
    height: 30px;
    border: 1px solid #ccc;
    width: 100%;
    text-indent: 5px;
    border-radius: 3px;
}

.dropdown-main .dropdown-search {
    display: block;
    padding: 5px 0;
}

.dropdown-group {
    font-weight: bold;
}

.dropdown-group,
.dropdown-option {
    margin: 0.3rem 0;
    padding-left: 12px;
    list-style: none;
    line-height: 26px;
    word-wrap: break-word;
    font-size: 0.9rem;
}

.dropdown-option {
    cursor: pointer;
    position: relative;
    margin-bottom: 2px;
}

.dropdown-option.dropdown-chose{
    color: var(--site-button-text);
}

.dropdown-option.dropdown-chose:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--site-button);
    border-radius: unset;
    margin: 0;
    left: 0;
    top: 0;
    z-index: -1;
}

.dropdown-option:hover {
    background: lightgrey;
}