
.MultiBox {
    position: relative;
	max-width: 100%;
    box-sizing: border-box;
}

.MultiBox > .SvgIcon {
    width: 26px;
}

.MultiBox summary {
	padding: 6px 0px 6px 12px;
	border: 2px solid var( --color-bright );
    border-radius: 20px;


    cursor: pointer;
    /* background: white; */

    list-style: none;
    position: relative;
    padding-right: 30px;
}

.MultiBox summary:has(.SvgIcon) {
    padding: 5px 24px 1px 8px;
}

.MultiBoxSelected {
    background-image: linear-gradient( var(--color-bright), var(--color-light) );
	color: white;
	background-color: var(--color-dark);
}

/* Marker betrifft das Pfeilsymbol */ 
/* Firefox */
.MultiBox summary::marker {
    content: "";
}

/* Chrome, Edge, Safari */
.MultiBox summary::-webkit-details-marker {
    display: none;
}


/* Eigenes Pfeilsymbol */
.MultiBox summary::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);

    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #555;
}

.MultiBox[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}


.MultiBox .options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: auto;

    width: max-content;
    max-width: min(250px, 90vw);
    box-sizing: border-box;

	background: white;
    border: 1px solid #aaa;
    border-radius: 15px;
	overflow: hidden;
    z-index: 10;
    box-shadow: 0 3px 8px #0002;

}

.MultiBox label {
    display: block;
    padding: 5px;
    cursor: pointer;
}

.MultiBox label:hover {
    background: #eee;
}


.MultiBoxActions {
    display: flex;
    gap: 4px;
    padding: 6px;
    border-bottom: 1px solid #ddd;
}

.MultiBoxActions button {
    flex: 1;
    border: none;
    padding: 0px;
    cursor: pointer;
    background: #eee;
    text-decoration: none;
}

.MultiBoxActions button:hover {
    background: var(--color-light-pale);
    text-decoration: none;
}

.MultiBoxButton:hover .SvgIcon {
    stroke: var(--color-bright);
}


span.MultiBoxButton {
    padding: 0px 2px;
    color: black;
    
}


