/* Page layout (replaces inline width/float styles) */
.page-layout {
    font-size: 0;
    background-color: white;
}

.page-layout--master {
    height: 300vh;
}

.page-layout--landing {
    height: 100vh;
}

.page-menu-container {
    float: left;
    width: 20vw;
    height: inherit;
    background-image: url('../Images/link_background.gif');
}

.page-content-container {
    float: right;
    width: 78vw;
    height: inherit;
    background-color: inherit;
}

.page-content-detail {
    width: inherit;
    height: inherit;
    padding: 0;
    text-align: center;
}

.page-content-detail--landing {
    /* padding-right: 10vw; */
    text-align: center;
}

/* Menu bar — desktop: fixed sidebar */
#MenuBar {
    position: fixed;
    top: 150px;
    left: 0;
    z-index: 1000;
    width: 20vw;
    max-width: 151px;
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    position: fixed;
    top: calc(14vh + 4px);
    left: 8px;
    z-index: 1002;
    margin: 0;
    padding: 8px 12px;
    border: 2px solid #339933;
    border-radius: 6px;
    background-color: #ffffff;
    color: #339933;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.menu-toggle:focus {
    outline: 2px solid #339933;
    outline-offset: 2px;
}

.menu-toggle-icon {
    display: block;
    width: 18px;
    height: 2px;
    background-color: #339933;
    box-shadow: 0 6px 0 #339933, 0 -6px 0 #339933;
}

.menu-toggle-label {
    display: inline-block;
}

.menu-overlay {
    display: none;
}

.menu-panel {
    width: 100%;
}

.menu-panel ul.menuButton,
.menu-panel .menuButton {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-panel .menuButton li {
    margin: 0;
    padding: 0;
}

.menu-panel .menuButton a {
    display: block;
    padding: 2px 0;
}

.menu-panel .menuButton img {
    display: block;
    margin: 0 auto;
}

/* Tablet and mobile */
@media screen and (max-width: 912px) {
    .menu-toggle {
        display: flex;
    }

    #MenuBar {
        top: 0;
        left: 0;
        width: auto;
        max-width: none;
    }

    .menu-overlay {
        position: fixed;
        inset: 0;
        z-index: 1000;
        background-color: rgba(0, 0, 0, 0.45);
    }

    body.menu-open .menu-overlay {
        display: block;
    }

    .menu-panel {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1001;
        width: min(280px, 85vw);
        height: 100vh;
        padding: calc(14vh + 48px) 12px 24px;
        box-sizing: border-box;
        overflow-y: auto;
        background-color: #e8e8e8;
        background-image: url('../Images/link_background.gif');
        background-repeat: repeat-y;
        background-size: 100% auto;
        transform: translateX(-105%);
        transition: transform 0.25s ease;
        box-shadow: 2px 0 12px rgba(0, 0, 0, 0.2);
    }

    body.menu-open .menu-panel {
        transform: translateX(0);
    }

    body.menu-open {
        overflow: hidden;
    }

    .page-menu-container {
        display: none;
    }

    .page-content-container {
        float: none;
        width: 100%;
    }

    .page-content-detail--landing {
        padding-right: 0;
        padding-left: 0;
    }

    .menu-panel .menuButton img {
        width: 85%;
        max-width: 220px;
    }
}

@media screen and (max-width: 480px) {
    .menu-toggle {
        top: calc(14vh + 2px);
        left: 4px;
        padding: 6px 10px;
        font-size: 12px;
    }

    .menu-panel {
        width: min(260px, 90vw);
        padding-top: calc(14vh + 44px);
    }
}
