.wrap {margin-left: 240px;}
/* Menu */
.sidenav {
	left: 0;
	width: 240px;
	height: 100%;
	z-index: 100;
	position: fixed;
	background: #fff;
	overflow-y: auto;
	overflow-x: hidden;
	margin-left: 0;
	border-right: 1px solid #e2e2e2;
	
	transition: margin-left .5s ease;
	-o-transition: margin-left .5s ease;
	-ms-transition: margin-left .5s ease;
	-moz-transition: margin-left .5s ease;
	-webkit-transition: margin-left .5s ease;
	}

.sidenav.sidenavhover { 
	margin-left: 0 !important;
	border-right: 1px solid #eeeeee; }
.sidenav > ul span.count{
	color: #fff;
	border-radius: 100%;
	width: 24px;
	height: 24px;
	display: inline-block;
	text-align: center;
	margin-left: -5px;
	position: absolute;
	margin-top: -10px;
}
.sidenav > ul span.warning{
	border-color: #f0ad4e;
	background: #f0ad4e;
	width: 8px;
	height: 8px;
	margin: -4px 5px 0;
	border-radius: 100%;
	display: inline-block;
	text-align: center;
	position: absolute;
}



.sidenav > ul {
	margin: 0;
	padding: 0;
	height: 100%;
	position: relative;
	list-style-type: none;
	}

.sidenav ul > li { border-bottom: 0px solid #eeeeee; }

.sidenav ul > li a {
	color: #787878;
	display: block;
	cursor: pointer;
	font-size: 16px;
	padding: 12px 30px 12px 20px;
	position: relative;
	border-left: 5px solid #fff;
	}
.sidenav ul > li a.active {
	color: #333;
	border-left: 5px solid #f0003c;
	font-weight: 600;
	}
	
.sidenav ul > li a i { 
	margin-top: 2px;
	font-family: FontAwesome; }

.sidenav ul > li a:hover {
	color: #6a6a6a;
	text-decoration: none; }

.sidenav ul > li a div {
	top: 0;
	right: 0;
	width: 70px;
	position: absolute;
	padding: 10px 25px;
	}

.sidenav ul > li a div img { width: 92.5%; }

.sidenav ul > li.logout {
	bottom: 0;
    width: 100%;
    background: #fff;
    position: absolute;
	}

.sidenav ul > li.user {
	z-index: 9999;
	overflow: hidden;
	position: absolute;
	bottom: 48px;
	transition: height .5s ease-in-out;
	-o-transition: height .5s ease-in-out;
	-ms-transition: height .5s ease-in-out;
	-moz-transition: height .5s ease-in-out;
	-webkit-transition: height .5s ease-in-out;
	border: none;
	background: #fff;
	width: 100%;
	}

.sidenav ul > li.search {
	z-index: 9999;
	overflow: hidden;
	position: relative;
	transition: height .5s ease-in-out;
	-o-transition: height .5s ease-in-out;
	-ms-transition: height .5s ease-in-out;
	-moz-transition: height .5s ease-in-out;
	-webkit-transition: height .5s ease-in-out;
	}


.sidenav ul > li.user img { float: left;}

.sidenav ul > li.user p {
	float: left;
	color: #000;
	margin: 3px 15px 0;
	font-size: 16px;
	}
.sidenav ul > li.user small{
	    font-size: 11px;
	    color: #fff;
	    font-weight: 600;
	    text-transform: uppercase;
	    background: #676767;
	    padding: 1px 4px;
	}



.sidenav ul > li.user .content {padding: 12px 25px 10px;border: none;}

/* Menu Search */
.sidenav ul > li.search .search-block {
	width: auto;
	overflow: hidden;
	position: relative;
	margin: 0 20px 10px;
	/* display: none; */
	}

.sidenav ul > li.search .search-block .search {
	width: 100%;
	outline: none;
	color: #333;
	box-shadow: none;
	padding: 0 2px 10px 2px;
	position: relative;
	border-radius: 0;
	/* background: #eee; */
	border-top: 0 !important;
	border-right: 0 !important;
	border-left: 0 !important;
	transition: all .5s ease-in-out;
	border-bottom: 1px solid #bbb;
	}

.sidenav ul > li.search .search-block span {
	right: -8px;
	top: -4px;
	color: #777;
	width: auto;
	font-size: 14px;
	float: right;
	position: absolute;
	transition: left .5s ease-in-out;
	-o-transition: left .5s ease-in-out;
	-ms-transition: left .5s ease-in-out;
	-moz-transition: left .5s ease-in-out;
	-webkit-transition: left .5s ease-in-out;
	}

.sidenav ul > li.search .search-block span i { 
	margin-left: 4px;
	font-family: FontAwesome; }

.sidenav ul > li.search .search-block span.focus { left: -109% !important; }

.sidenav ul > li.search .search:focus {
	color: #777;
	outline: none; }
.sidenav ul > li.search .search-block .btn{
	background: transparent;
	color: #666;
}

/* Menu Overlay */
.overlay {
	width: 100%;
	height: 100%;
	display: none !important;
	position: fixed;
	z-index: 999998;
	background: rgba(0,0,0,0);
	}
	
/* Menu Dropdown */
.sidenav ul.dropdown-menu {
	border: 0;
	bottom: 0;
	padding: 0;
	top: 130px;
	height: auto;
	margin-top: 0;
	margin-left: 0;
	min-width: 100%;
	max-width: 100%;
	border-radius: 0;
	background-color: #fff;
	box-shadow: none !important;
	border-bottom: 1px solid #eeeeee; }
	
.sidenav ul.dropdown-menu.second { top: 0; }
	
.sidenav ul.dropdown-menu:before {
	top: 0;
	left: 0;
	content: "";
	height: 100%;
	width: 300px;
	position: fixed;
	background: #fff; }
	
.sidenav ul.dropdown-menu > li { border-bottom: 0 !important; }

.sidenav ul.dropdown-menu > li > a.back {
	color: #999;
	margin-bottom: 10px;
	padding: 5px 30px !important;
	border-bottom: 1px solid #eee; }

.sidenav ul.dropdown-menu > li > a { 
	white-space: normal;
	padding: 10px 30px !important; }

.sidenav ul.dropdown-menu > li > a:hover { background: transparent; }

/* ---------- Responsive Styles ---------- */
@media (max-width: 768px) {
.sidenav { margin-left: -300px; }
.sidenav ul > li.user {height: 130px;bottom: 0;left: 15px;}
.sidenav ul > li.search .search-block span { font-size: 15px; }
.sidenav ul > li.user .search {
	margin-bottom: 10px;	
	padding: 5px 25px; } }
@media (max-width: 560px) {
.sidenav ul > li a {padding:10px 30px 10px 20px;}
.sidenav.sidenavhover { width: 100%; }
.sidenav ul > li.search .search-block,
.sidenav ul > li.user .content {
	/* width: 90%; */
	margin-left: auto;
	margin-right: auto;
	}
.sidenav ul > li.user .content { padding: 5px 5px 10px; } }