﻿/* The side navigation menu */
.sidenav
{
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 20; /* Stay on top */
    top: 0;
    left: 0;
    background-color: #CCC; /* #111 Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    opacity: 0.95;
    border-right:1px solid #cdcdcd;
}

/* The navigation menu links */
.sidenav a
{
    padding: 8px 8px 8px 32px;
    text-decoration: none; /*    font-size: 25px; */
    color: #818181;
    display: block;
    transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover, .offcanvas a:focus
{
    color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn
{
    position: fixed;
    top: 200px;
    left: -20px;
    font-size: 25px;
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    opacity: 0.9;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main
{
    transition: margin-left .5s; /*    padding: 20px; */
    margin-left : 50px;
    margin-right:50px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px)
{
    .sidenav
    {
        padding-top: 15px;
    }
    /*    .sidenav a {font-size: 18px;} */
}

#mySidenavBtn
{
    vertical-align: top;
    transform: rotate(7deg);
    -ms-transform: rotate(270deg); /* IE 9 */
    -moz-transform: rotate(270deg); /* Firefox */
    -webkit-transform: rotate(270deg); /* Safari and Chrome */
    -o-transform: rotate(270deg); /* Opera */
}


/*
 *  STYLE 2
 */

#mySidenav::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

#mySidenav::-webkit-scrollbar
{
	width: 12px;
	background-color: #F5F5F5;
}

#mySidenav::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	/*background-color: #D62929;*/
	background-color: #CDCDCD;
}


