/* Bars (Hamburger lines) */
.bar {
    display: block;
    width: 30px;
    height: 3px;
    margin: 5px auto;
    background-color: #22508C;
    border-radius: 5px;
    transition: background-color 0.4s ease-in, transform 0.4s ease-in, width 0.4s ease-in;
}

h2.menutitle {
    display: flex;
    color: #fff !important;
    padding: 0 0 0 .5rem;
    margin-bottom: 0 !important;
    font-weight: bold;
    letter-spacing: 1px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 2rem;
}

.menutitle .toggleSpan.closeMenuBtn:hover {
    background: #cc0000;
}

.menutitle .toggleSpan.closeMenuBtn {
    position: relative;
    height: 3.2rem;
    width: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .menutitle .toggleSpan.closeMenuBtn label {
        position: relative;
        width: 100%;
        height: 100%;
        padding: 40% 0;
    }
/* Menu Panel */
#slidingNav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: visibility 0s 0.4s, opacity 0.4s ease-in-out;
}

    #slidingNav.open {
        display: flex;
        opacity: 1;
        visibility: visible;
        transition-delay: 0s;
    }

/* Aside Panels */
.aside-section {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
}

/* Aside Left - slide down */
.aside-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

/* Aside Right - slide in from right */
.aside-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 40em;
    height: 100%;
    background-color: #222;
    font-family: 'Franklin Gothic Book', sans-serif;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

    .aside-right h3 {
        font-size: 1.7em;
        margin: 1em 0 0;
        padding-left: 0.5em;
        color: #fff !important;
        border-bottom: 2px solid #444;
    }

    .aside-right ul {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        list-style: none;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid #333;
    }

    .aside-right li.menuTsLink {
        display: flex;
        border-left: 1px solid #333;
        flex: 1 0 50%;
    }


    .aside-right .menuEvents li.menuEvItem {
        width: 100%;
    }

    .aside-right .menuEvents .menuEvLink {
        display: flex;
        flex-direction: row;
        flex: 1 0 100%
    }

    .aside-right .menuEvLink .menuCalDate {
        display: flex;
        flex-direction: column;
        color: #fff;
        justify-content: center;
        align-items: center;
        font-variant: all-petite-caps;
        line-height: 1em;
        font-size: 1.55em;
        padding: .5em;
        border-right: 1px solid #fff;
        margin-right: .5em;
        width: 3em;
    }

    .aside-right .menuEvLink > p {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

        .aside-right .menuEvLink > p .menuEvents-title {
            font-size: 1.2em;
        }

    .aside-right .topRowMenu {
        display: flex;
        flex-direction: row;
        border-top: 1px solid #333;
    }

        .aside-right .topRowMenu a,
        .aside-right .topRowMenu a:visited {
            flex: 1 1 auto;
            width: auto;
            border-left: 0.5em solid transparent;
        }

/* Open Panels */
#slidingNav.open .aside-left {
    transform: translateY(0%);
    opacity: 1;
}

#slidingNav.open .aside-right {
    transform: translateX(0%);
    opacity: 1;
}

/* Links */
.aside-right a,
.aside-right a:visited {
    display: block;
    width: 100%;
    padding: 0.65em;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

    .aside-right a:hover,
    .aside-right a:focus,
    .aside-right .topRowMenu a:hover,
    .aside-right .topRowMenu a:focus {
        background: rgba(119, 119, 119, 0.5);
        border-left: 0.5em solid #D7A31A;
        transition: all 0.3s ease;
    }
