/* navigation */
nav {
    background-color: #eaeaea;
    height: 52px;
    top: 0;
    position: fixed;
    width: 100%;
    z-index: 9;
}

nav #logo {
    float: left;
    padding: 0;
    margin-top: 8px;
    margin-left: 10px;
    width: 120px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    overflow: hidden;
    padding-inline-start: 70px;
}

nav ul li {
    float: left;
    cursor: default;
    transition: 0.1s;
}

nav ul li a {
    display: block;
    color: #1f2e60;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

nav ul li:hover {
    background-color: #dddddd;
}

nav ul li.active {
    background-color: lightgray;
}

nav ul li#user-menu a {
    padding: 14px 16px 6px 16px;
}

nav ul li#user-menu {
    float: right;
}

nav ul li#user-menu a.username i {
    margin-top: -3px;
    margin-bottom: 12px;
    display: block;
}

nav ul li#user-menu a.username span {
    display: block;
    margin-top: -10px;
    font-size: 12px;
}

nav ul li ul.dropdown {
    display: none;
    float: left;
    overflow: hidden;
    position: absolute;
    background-color: #eaeaea;
    width: 250px;
    z-index: 1;
    padding: 0;
}

nav ul li ul.dropdown.user {
    position: relative;
    width: 150px;
}

nav ul li ul.dropdown li {
    float: none;
}

nav ul li ul.dropdown li a {
    padding: 8px 12px !important;
    text-align: left;
    transition: 0.1s;
}

nav ul li ul.dropdown li a.user {
    text-align: right;
}

nav ul li ul.dropdown li a:hover {
    background-color: #dddddd;
}

nav ul li:hover ul.dropdown {
    display: block;
}

#left-menu {
    height: 100%;
    width: 200px;
    position: fixed;
    z-index: 1;
    top: 52px;
    left: 0;
    background-color: #333;
    overflow-x: hidden;
    color: white;
}

#left-menu.full {
    width: 0px;
}

#left-menu figure {
    padding: 0;
    margin: 0;
    margin-top: 10px;
    margin-left: 10px;
}

#left-menu figure figcaption {
    font-weight: bold;
}

#left-menu ul {
    list-style: none;
    padding: 0;
    margin: .3em 0 1em 0;
}

#left-menu ul li {
    margin-left: 42px;
    text-indent: -42px;
    margin-bottom: .3em;
    padding-right: 10px;
}

#left-menu ul li a {
    color: white;
    text-decoration: none;
}

#left-menu ul li a:hover,
#left-menu ul li a.active {
    color: #ddd;
    text-decoration: underline;
}

#left-menu ul li a.queue-link {
    color: black;
    text-decoration: none;
}

#left-menu ul li a.queue-link:hover span {
    text-decoration: underline;
}

#left-menu span.queue-count {
    display: inline-block;
    width: 28px;
    background-color: #ddd;
    color: #333;
    padding: 0 .3em;
    text-align: right;
    line-height: 1.3em;
}

/* responsive */
nav div#responsive-nav {
    float: left;
    display: none;
    font-size: 2em;
    padding-right: .3em;
    margin-left: 10px;
}

nav div#responsive-nav a {
    cursor: pointer;
    color: #1f2e60;
}

@media screen and (max-width: 868px) {
    nav ul,
    nav ul li ul.dropdown li {
        display: none;
    }

    nav div#responsive-nav {
        display: block;
    }

    section.content section.center {
        width: 100%;
    }

    nav.responsive {
        height: 100%;
    }

    nav.responsive ul {
        display: block;
        position: relative;
        width: 100%;
        padding: 0;
    }

    nav.responsive ul li,
    nav ul li#user-menu {
        float: none;
        display: block;
        width: 100%;
    }

    nav.responsive ul li a,
    nav ul li#user-menu a {
        text-align: left;
    }

    nav.responsive ul li ul.dropdown {
        position: relative;
        width: 100%;
        height: 100%;
        background-color: #ddd;
    }

    nav.responsive ul li ul.dropdown li {
        float: none;
        display: block;
    }

    nav.responsive ul li ul.dropdown li a:hover {
        background-color: #eaeaea;
    }
}
