﻿

#sideNav-container {
    position: fixed;
    top: 0;
    right: 0;
    background: #0c1e35;
    height: 100vh;
    border-top-left-radius: 16px;
    overflow:hidden;
    z-index:100;
    width: 0;
    transition:.25s ease all;
}

#sideNav-container.open {
    width:400px;
}

#sideNav {
    color: #7d84ab;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    width: 400px;
    background: #0c1e35;
    max-height: 100%;
    min-height: 100vh;
    overflow-y: scroll;
    max-width: 100vw;
}

    #sideNav section {
        border-bottom: 2px solid rgba(255,255,255,.1);
        padding: 0;
        
        margin: 8px 8px;
    }

        #sideNav section .section-header {
            text-align: center;
        }

        #sideNav section h1 {
            font-size: 20px;
            letter-spacing: 1.4px;
            margin: 0;
            font-weight: bold;
            text-align: center;
            text-transform: uppercase;
        }

#sideNav-user-info {
    border-bottom: 3px solid rgba(255,255,255,.1);
    margin-bottom: 12px;
    margin-top: 0 !important;
}

.link-image {
    background-image: url(profile-image.png);
    width: 40px;
    height: 40px;
    background-size: cover;
    border-radius: 8px;
    margin-right: 16px;
	background-position:center;
    ;
}

.momentum {
    font-size: 12px;
    font-weight: bolder;
    font-style: italic;
    text-transform: uppercase;
    color: #04d9ff;
}

.neonText {
    color: #fff;
    text-shadow: 0 0 7px #fff, 0 0 10px #fff, 0 0 21px #fff, 0 0 42px #0fa, 0 0 82px #0fa, 0 0 92px #0fa, 0 0 102px #0fa, 0 0 151px #0fa;
}

#sideNav .link-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    padding: 16px 12px;
    text-transform: uppercase;
    border-radius: 26px;
    flex-wrap: wrap;
    cursor: pointer;
    transition: .25s ease-in-out all;
}

#sideNav a.link-item {
    text-decoration: none !important;
    color: #7d84ab !important;
}

.link-item.link-item.expandable {
    margin-bottom: 0;
    padding: 12px 0 0 0;
    position:relative;
}

.link-item.expandable .link-text {
}

.link-item:active {
    background-color: rgba(255,255,255,.2);
}

.link-item.expandable:active {
    background-color: transparent;
}

#sideNav .link-item i {
    width: 40px;
    font-size: 18px;
    
    text-align: center;
    transition: .25s all ease-in;
}

.link-caret {
    text-align: right;
    font-size: 18px;
}

    .link-caret i {
        margin: 0 !important;
    }

.message-count {
    width: 40px;
    text-align: center;
    display: flex;
    justify-content: right;
    align-content: center;
    align-items: center;
    vertical-align: center;
}

.message-count-circle {
    text-align: center;
    width: 18px;
    height: 18px;
    background-color: #77DD77 !important;
    border-radius: 40%;
    vertical-align: middle;
    display: table-cell;
    color: black;
    font-size:12px;
    line-height: 18px;
}

.close-nav-button {
    vertical-align:middle;
    text-align:right;
}


#sideNav .link-item .link-text {
    flex-grow: 1;
}

@media (max-width: 575px) {
    #sideNav-container.open {
        width: 100%;
    }
}

    .link-text.username {
        font-size: 22px;
        text-transform: none;
    }

    .sub-links {
        width: 100%;
        background: rgba(255,255,255,.05);
        padding: 0 14px;
        margin: 8px 0;
    }

        .sub-links .link-item {
            padding: 10px 0 !important;
        }

        .sub-links .link-caret, .sub-links .link-text, .sub-links i {
            font-size: 14px !important;
        }

    .sub-links-container {
        max-height: 0;
        overflow: hidden !important;
        transition: max-height .25s ease-out;
    }

        .sub-links-container.active {
            max-height: 600px;
        }

    .link-item:hover, #sideNav a.link-item:hover {
        color: rgba(255,255,255,.7) !important;
    }

    .link-caret.flipped i {
        transform: rotateX(180deg);
    }

    .fa-caret-right {
        display: none;
    }

    .profile-stats-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        border-top: 1px solid rgba(255,255,255,.1);
    }

    .todays-score-container {
        font-weight: bolder;
        font-size: 24px;
        width: 100%;
        text-align: center;
    }

    .large-profile-image-container {
        padding: 12px;
        width: 100%;
    }

    .large-profile-image {
        background-image: url(profile-image.png);
        height: 0;
        width: 0;
        background-size: cover;
        border-radius: 8px;
        margin: 0 auto;
        transition: .5s ease-in-out all;
        opacity: 0;
background-position:center;
    }

        .large-profile-image.show {
            height: 140px;
            width: 140px;
            opacity: 1;
        }

    .current-level-info {
        text-align: center;
        width: 100%;
        font-weight: bold;
        margin-top: 4px;
    }

    .current-level, .next-level {
        width: 10%;
        text-align: center;
        font-weight: bold;
    }

    .progress-bar-container {
        width: 80%;
    }

    .progress-bar {
        background: rgba(255,255,255,.2);
        padding: 4px;
        border-radius: 6px;
    }

    .progress-status {
        width: 0%;
        padding: 4px;
        border-radius: 6px;
        background-color: #FFD700;
        display: block;
        transition: 1s ease-in all;
    }

    .next-level-info {
        font-size: 12px;
        font-weight: lighter;
        text-align: center;
        width: 100%;
    }


.net-level-info .legend {
    font-weight: bold !important;
    text-transform:uppercase;
}
