﻿/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    /*width: 0; /* 0 width - change this with JavaScript */
    width: 250px; /* 250px width, always on display by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    background-color: #111; /* Black */
    /*background-color: #0099df; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    /*padding-top: 60px; /* Place content 60px from the top */
    transition: 0.3s; /* 0.5 second transition effect to slide in the sidenav */
}

    /* The navigation menu links */
    .sidenav a {
        padding: 12px 14px 8px 14px;
        text-decoration: none;
        font-size: 16px;
        color: #fff;
        display: block;
        transition: 0.2s;
        white-space: nowrap;
    }

        /* When you mouse over the navigation links, change their color */
        .sidenav a:hover {
            /*color: #0099df;*/
            color: #fff;
            /*background-color: #fff;*/
            background-color: #212121;
        }

        /*.sidenav a i.arrow {
            float: right;
        }*/

        .sidenav a i.arrow {
            float: right;
            display: block;
            height: 0px;
            width: 0px;
            margin-right: -20px;
            margin-top: -5px;
            border-left: none;
            /*border-right: 20px solid #dde7f4;*/
            /*border-right: 20px solid #fff;*/
            border-right: 20px solid #212121 !important;
            border-top: 15px solid transparent;
            border-bottom: 15px solid transparent;
        }

    /* Position and style the close button (top right corner) */
    .sidenav .closeBtn {
        position: absolute;
        display: block !important;
        width: 50px !important;
        height: 50px !important;
        top: 0 !important;
        right: 0px !important;
        font-size: 30px !important;
        line-height: 50px !important;
        text-align: center !important;
        padding: 0 !important;
    }

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    margin-left: 250px;
    transition: margin-left .3s;
    padding: 5px;
}

/* Toggle menu button */
.openBtn {
    padding: 10px;
    padding-top: 4px;
    font-size: 32px;
    /*background-color: #0099df;*/
}

/* On smaller screens, where width is less than 768px, change the style of the sidenav to be hidden by default */
@media screen and (max-width: 968px) {
    .sidenav {
        width: 0;
        /*padding-top: 15px;*/
    }

    #main {
        margin-left: 0 !important;
    }
}

/* On bigger screens, where width is more than 768px, change the style of the sidenav close button to be hidden */
@media screen and (min-width: 768px) {
    .sidenav .closeBtn {
        display: none !important;
    }
}

.sidenav-header-admin {
    width: 100% !important;
    text-align: center;
    background-color: rgba(255, 216, 0, 0.10) !important;
    color: #ffd800 !important;
}

.sidenav-item-admin {
    color: rgba(255, 216, 0, 0.60) !important;
}