﻿.action-drop-down {
    display: inline-block;
    position: relative;
    color: var(--klein-blue);
}
.action-drop-down label {
    margin-bottom: 0;
    cursor: pointer;
    font-weight: normal;
    position: relative;
    width: 100%;
    display: inline-grid;
    background-color: var(--ceramic);
    border: solid 1px var(--apricot);
    padding: 7px 39px 7px 14px;
    border-radius: 8px;
    margin: 0;
    gap: 15px;
}
.action-drop-down span {
    z-index: 1;
}
.action-drop-down > label img {
    position: absolute;
    right: 9px;
    height: 100%;
    width: 18px;
}
.action-drop-down .drop-down, .focus-rest {
    display: block;
    position: absolute;
}
.action-drop-down .drop-down:not(:focus-within), .focus-rest {
    pointer-events: none;
    opacity: 0;
}
.action-drop-down .drop-down:focus-within {
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 100%;
}
.action-drop-down .drop-down .patch {
    background-color: var(--ceramic);
    border-left: solid 1px var(--apricot);
    border-right: solid 1px var(--apricot);
    position: absolute;
    top: 50%;
    height: 50%;
    width: 100%;
}
.action-drop-down .drop-down .option-list {
    width: 100%;
    position: absolute;
    top: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--ceramic);
    border: solid 1px var(--apricot);
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding-bottom: 8px;
    z-index: 2;
}
.action-drop-down .drop-down .option-list :hover {
    background-color: var(--apricot);
}
.action-drop-down .drop-down button[type="submit"] {
    padding: 7px 14px;
    background: none;
    border: none;
    text-align: left;
    font: inherit;
}
.action-drop-down .drop-down img {
    background-color: var(--ceramic);
    position: absolute;
    right: 10px;
    height: auto;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    width: 18px;
    z-index: 2;
}
.action-drop-down .selected, .action-drop-down .option {
    grid-area: 1 / 1 / 2 / 2;
}
.action-drop-down .option {
    visibility: hidden;
}