/* Mentech Vertical Sibling Menu */

.mtvsm-menu {
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #eeeeee;
    font-size: 15px;
    line-height: 1.35;
    color: #222;
}

.mtvsm-menu,
.mtvsm-menu * {
    box-sizing: border-box;
}

.mtvsm-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    font-weight: 700;
    letter-spacing: .01em;
    color: #222;
    background: #f7f7f7;
    border-bottom: 1px solid #eeeeee;
}

.mtvsm-title .dashicons {
    color: #555;
}

.mtvsm-parent-link {
    border-bottom: 1px solid #eeeeee;
    background: #fafafa;
}

.mtvsm-parent-link a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    color: #444;
    text-decoration: none;
    font-size: 14px;
}

.mtvsm-parent-link a:hover {
    background: #f2f2f2;
    color: #111;
}

.mtvsm-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mtvsm-item {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
}

.mtvsm-list .mtvsm-list .mtvsm-item {
    border-bottom-color: #f4f4f4;
}

.mtvsm-row {
    display: flex;
    align-items: stretch;
    min-height: 46px;
    background: #fff;
    transition: background .16s ease, border-color .16s ease;
}

.mtvsm-row:hover {
    background: #f8f8f8;
}

.mtvsm-link {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 12px 14px;
    color: #333;
    text-decoration: none;
}

.mtvsm-link:hover,
.mtvsm-link:focus {
    color: #111;
    text-decoration: none;
    outline: none;
}

.mtvsm-icon {
    flex: 0 0 auto;
    color: #777;
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.mtvsm-label {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

.mtvsm-toggle {
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-left: 1px solid #eeeeee;
    background: transparent;
    color: #555;
    cursor: pointer;
    padding: 0;
}

.mtvsm-toggle:hover,
.mtvsm-toggle:focus {
    background: #eeeeee;
    color: #111;
    outline: none;
}

.mtvsm-toggle .dashicons {
    transition: transform .16s ease;
}

.mtvsm-item.is-open > .mtvsm-row .mtvsm-toggle .dashicons,
.mtvsm-toggle[aria-expanded="true"] .dashicons {
    transform: rotate(180deg);
}

.mtvsm-item.is-current > .mtvsm-row {
    background: #f1f1f1;
    border-left: 4px solid #777;
}

.mtvsm-item.is-current > .mtvsm-row .mtvsm-link {
    font-weight: 700;
    color: #111;
    padding-left: 10px;
}

.mtvsm-item.is-current > .mtvsm-row .mtvsm-icon {
    color: #333;
}

.mtvsm-level-1 {
    background: #fbfbfb;
    border-top: 1px solid #f0f0f0;
}

.mtvsm-level-1 .mtvsm-link {
    padding-left: 30px;
    font-size: 14px;
}

.mtvsm-level-2 .mtvsm-link {
    padding-left: 46px;
    font-size: 13.5px;
}

.mtvsm-level-3 .mtvsm-link,
.mtvsm-level-4 .mtvsm-link,
.mtvsm-level-5 .mtvsm-link {
    padding-left: 62px;
    font-size: 13px;
}

.mtvsm-level-1 .mtvsm-row,
.mtvsm-level-2 .mtvsm-row,
.mtvsm-level-3 .mtvsm-row {
    background: #fbfbfb;
}

.mtvsm-level-1 .mtvsm-row:hover,
.mtvsm-level-2 .mtvsm-row:hover,
.mtvsm-level-3 .mtvsm-row:hover {
    background: #f3f3f3;
}

.mtvsm-js-submenu {
    display: none;
}

.mtvsm-js-submenu.is-visible {
    display: block;
}

@media (max-width: 640px) {
    .mtvsm-menu {
        font-size: 14px;
    }

    .mtvsm-row {
        min-height: 44px;
    }

    .mtvsm-link {
        padding-top: 11px;
        padding-bottom: 11px;
    }
}
