﻿.menu-link-expand {
    display: none;
    min-height: 300px;    
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    background-color: var(--color-white);
}

.menu-link-expand .list.list-group {
    overflow-y: auto;
}

.menu-link-expand[expanded='True'] {
    display: grid;  
}

.desktop .menu-link-expand a {
    font-weight: 400;
    color: var(--color-blue3);
    flex: 1;
    padding: 0 26px;
}

.desktop .menu-link-expand a:has(a) {
    padding: 0;
}


/*
.desktop .menu-link-expand a:hover {
    color: var(--color-blue3);
    text-shadow: 0px 0px 1px var(--color-blue3);
}

.desktop .menu-link-expanded-right-link:hover:after {
    color: var(--color-blue3);
}
*/


.menu-link-expand-left {
    display: flex;
    flex-flow: column;
    width: 100%;
    height: 100%;
    padding: 26px 0;
    position: relative;
    background-color: var(--color-white);
}

.desktop .menu-link-expand-left {
    max-height: 70vh;
}

.desktop .menu-link-expand-left:after {
    content: '';
    position: absolute;
    height: 100%;
    width: 1px;
    right: 0;
    top: 0;
    background: var(--color-lightblue2);
}

.desktop .menu-link__overlay {
    height: calc(100vh - var(--header-size));
    left: 0;
    position: fixed;
    top: var(--header-size);
    width: 100vw;
    z-index: -1;
    display: none;
    cursor: default !important;
}

.desktop .menu-link-expand[expanded='True'] .menu-link__overlay {
    display: unset;
}

.menu-link-expand a {
    border: none !important;
}

/* Responsive */


.phone .layout:not(.layout-side) .app-menu-links .menu-link-expanded-right a, 
.tablet .layout:not(.layout-side) .app-menu-links .menu-link-expanded-right a{
    background-color: rgba(235, 237, 243, 0.2);
    border-bottom: 1px solid rgba(129, 148, 177, 0.3);
}

.phone .menu-link-expand,
.tablet .menu-link-expand {
    position: absolute;
    top: var(--header-size);
    display: flex;
    flex-flow: column;
    width: 100%;
    left: 200%;
    height: 100%;
    transition: left .3s ease-in-out;
    z-index: -1;
}

.phone .menu-link-expand[expanded='True'],
.tablet .menu-link-expand[expanded='True'] {
    left: 0;
    z-index: 1;
}

.phone .menu-link-expand-left,
.tablet .menu-link-expand-left {
    padding: 16px;
    overflow: hidden;
}

.desktop .menu-link-expand-close {
    display: none;
}

.phone .menu-link-expand-close, 
.tablet .menu-link-expand-close {
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: center;
    top: 8px;
    right: 24px;
    height: 40px;
    width: 40px;
    background-color: var(--color-blue3);
}

.phone .menu-link-expand-close > *, 
.tablet .menu-link-expand-close > * {
    color: #fff;
}
