.sidenav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: auto;
    min-width: 0;
    max-width: 0%;
    background-color: #eee;
    padding-top: 60px;
    transition: all 400ms ease;
    overflow-x: hidden;
	z-index: 1000;
}
.sidenav.open {
    min-width: 250px;
    max-width: 30%;
}

.sidenav_bg{
	position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
	width:100%;
    background-color: #eee;
	z-index: 1000;
	visibility:hidden;
}

.sidenav_bg.open{
    width: 100%;
	background-color: RGBA(0,0,0,0.65);
	transition: width 400ms;
	visibility:visible;
	
}

.sidenav > .sidenav-close {
    position: absolute;
    top: 0;
    right: 25px;
    padding: 8px 8px 8px 32px;
    color: #333;
    font-size: 36px;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 400ms ease;
}
.sidenav > .sidenav-close:hover {
    opacity: 1;
}

@media (max-width: 992px) {
	.sidenav.open {
		min-width: 250px;
		max-width: 50%;
	}
}

@media (max-width: 768px) {
	.sidenav.open {
		min-width: 100%;
		max-width: 100%;
	}
}
