.component_dropdown {
    position: relative;
}
.component_dropdown .dropdown_container {
    display: none;
    position: absolute;
    right: 0;
}
.component_dropdown .dropdown_button {
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 4px;
    padding: 5px;
    min-width: 20px;
    text-align: center;
}
.component_dropdown .dropdown_container {
    padding-top: 9px;
    z-index: 3;
}
.component_dropdown .dropdown_container:before {
    content: ' ';
    position: absolute;
    right: 5px;
    top: 3px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
}
.component_dropdown .dropdown_container ul {
    cursor: pointer;
    margin: 0;
    list-style-type: none;
    background: white;
    border: 1px solid var(--bg-color);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    color: var(--color);
    border-radius: 3px;
    padding: 3px;
    font-size: 0.92em;
}
.component_dropdown .dropdown_container ul li {
    display: flex;
}
.component_dropdown .dropdown_container ul li > div {
    width: 150px;
    padding: 5px 5px 5px 10px;
}

.component_dropdown.active .dropdown_container {
    display: block;
}
.component_dropdown.active .dropdown_container li {
    background: white;
    transition: background 0.1s ease-out;
}

.component_dropdown.active .dropdown_container li:hover {
    background: var(--border);
    border-radius: 3px;
}

.component_dropdown.active .dropdown_button {
    border-color: var(--bg-color);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
