.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: 5px;
    z-index: 3;
}
.component_dropdown .dropdown_container:before {
    content: ' ';
    position: absolute;
    right: 10px;
    top: 1px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid white;
}
.component_dropdown .dropdown_container ul {
    margin: 0;
    list-style-type: none;
    background: white;
    border: 1px solid var(--border);
    box-shadow: 1px 1px 2px var(--border);
    color: rgba(0,10,20,0.85);
    border-radius: 3px;
    padding: 3px 0px;
    font-size: 0.92em;
}
.component_dropdown .dropdown_container ul li {
    display: flex;
}
.component_dropdown .dropdown_container ul li > div {
    width: 160px;
    padding: 8px 5px 8px 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: rgba(0, 0, 0, 0.05);
}

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