/* toolbar */
.toolbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 45px;
    border-radius: 8px 8px 0 0;
   /* background-color: var(--hdr_bkgr);*/
    overflow: visible;
    border-bottom: 1px solid var(--line);
}

/* icon boxes */
.toolbar .box_right,
.toolbar .box_left {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 1px;
    padding-right: 8px;
    padding-left: 8px;
    height: 100%;
}

/* position of dropdown */
.toolbar .dropdown {
    display: inline-block;
    position: relative;
}

/* flexing summary */
.toolbar summary {
    display: flex;
    align-items: center;
    list-style: none;
    cursor: pointer;
}

/* safari bug */
.toolbar .dropdown summary::-webkit-details-marker {
    display: none;
}

/* dropdown menu */
.toolbar .menu_drop {
    position: absolute;
    top: 100%;
    width: 200px;
    background-color: var(--tbar_bg);
    box-shadow: 3px 4px 6px 0px rgba(0, 0, 0, 0.2);
    z-index: 10;
    list-style: none;
    padding: 8px;
    margin: 0;
    border-radius: 8px;
}


/* left align dropdown */
.toolbar .box_left .menu_drop {
    left: 5px;
    right: auto;
    border-radius: 0 8px 8px 8px;
}

/* right align dropdown */
.toolbar .box_right .menu_drop {
    right: 5px;
    left: auto;
    border-radius: 8px 0 8px 8px;
}

/* menu rows in dropdown */
.toolbar .menu_drop li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    height: 44px;
    cursor: pointer;
    font-weight: 600;
    stroke: var(--icn_hover);
    color: var(--txt)
}

/* hover menu rows */
.toolbar .menu_drop li:hover {
    color: var(--nav_hover);
    background-color: var(--nav_bkgr);
    border-radius: 4px;
}

/* icon settings */
.toolbar .action_icn,
.toolbar .nav_icn {
    display: block;
    position: relative;
    text-decoration: none;
    width: 32px;
    height: 32px;
    stroke-width: 3px;
    stroke-linecap: round;
    stroke: var(--icn_stroke);
    fill: none;
    background-color: inherit;
    margin: 0 5px 0 5px;
}

/* different shape for navigation and action icons */
.toolbar .nav_icn {
    border-radius: 20%;
}

.toolbar .action_icn {
    border-radius: 50%;
}

/* hover icon settings */
.toolbar .action_icn:hover,
.toolbar .nav_icn:hover {
    background-color: var(--nav_hover);
    stroke: var(--icn_stroke);
}

/* open dropdown icon shape and color*/
.toolbar .dropdown[open] .action_icn {
    background-color: var(--tbar_bg);
    stroke: var(--nav_bkgr);
    border-radius: 50% 50% 0% 0%;
    box-shadow: 3px 4px 6px 0px rgba(0, 0, 0, 0.2);
}

.toolbar .dropdown[open] .nav_icn {
    background-color: var(--tbar_bg);
    stroke: var(--nav_bkgr);
    box-shadow: 3px 4px 6px 0px rgba(0, 0, 0, 0.2);
    border-radius: 20% 20% 0% 0%;
}


.toolbar .menu_icn {
    display: block;
    position: relative;
    text-decoration: none;
    width: 24px;
    height: 24px;
    stroke-width: 2px;
    stroke: var(--icn_fill);
    fill: none;
    margin: 0 5px 0 5px;
}

.toolbar li:hover .menu_icn {
    stroke: var(--icn_stroke);
}

.toolbar .menu_drop span {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-weight: 400;
}

.toolbar .menu_drop kbd {
    opacity: 30%;
    font-family: inherit;
    padding-right: 8px;
}
