/* Slidebars 0.8 - http://plugins.adchsm.me/slidebars/ Written by Adam Smith - http://www.adchsm.me/ Released under MIT License - http://plugins.adchsm.me/slidebars/license.txt */
html,body,#sb-site,.sb-slidebar {
	margin: 0;
	padding: 0;
    box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;	
}


html, body {
	width: 100%;
	/*overflow-x: hidden;*/ /* Stops horizontal scrolling. */
	overflow-y: auto;
}

html {
	height: 100%; /* Site is as tall as device. */
}

body {
	min-height: 100%;
}


#wrapper {width:100%;min-height:100%;position:relative;z-index:1;background-color:#fff}

.sb-slidebar{
	height:100%;
	width:30%;
	overflow-y:auto;
	position:fixed;
	top:0;
	z-index:0;
	visibility:hidden;
	background-color:#56646e;
	-webkit-transform: translate(0px); /* Fixes issues with translated and z-indexed elements on iOS 7. */
}

.sb-left {
	left: 0; /* Set Slidebar to the left. */
}

.sb-static {
	position: absolute; /* Makes Slidebars scroll naturally with the site, and unfixes them for Android Browser < 3 and iOS < 5. */
}


/*html.sb-active-left .sb-left { 
	visibility:visible;
}*/

html.sb-active {overflow:hidden;}

html.sb-active body{height:100vh;overflow:hidden;}

html.sb-anim-type-translate .sb-slide,html.sb-anim-type-side .sb-slide {
	-webkit-transition:-webkit-transform 400ms ease;
	transition:-webkit-transform 400ms ease;
	transition:transform 400ms ease;
	transition:transform 400ms ease, -webkit-transform 400ms ease;
	-webkit-transition-property:-webkit-transform,left; /* Add left/right for Android < 4.4. */
	-webkit-backface-visibility:hidden; /* Prevents flickering. This is non essential, and you may remove it if your having problems with fixed background images in Chrome. */
}


/* Slidebar widths for browsers/devices that don't support media queries. */
.sb-slidebar {width: 30%;}

@media (max-width: 480px) { /* Slidebar widths on extra small screens. */
	.sb-slidebar {width: 70%;}
}

@media (min-width: 481px) { /* Slidebar widths on small screens. */
	.sb-slidebar {width: 55%;}

}

@media (min-width: 768px) { /* Slidebar widths on medium screens. */
	.sb-slidebar {width: 40%;}

}

@media (min-width: 992px) { /* Slidebar widths on large screens. */
	.sb-slidebar {width: 30%;}
}

@media (min-width: 1200px) { /* Slidebar widths on extra large screens. */
	.sb-slidebar {width: 20%;}
}

.sb-hide { 
	display: none; /* Optionally applied to control classes when Slidebars is disabled over a certain width. */
}

.user_info {width:100%; padding:30px 0; position:relative; text-align:center;}
.user_img {display:block; margin:0 auto 10px; text-align:center;}
.user_img img {width:100px; height:100px; border-radius:50px; -moz-border-radius:50px; -webkit-border-radius:50px;}
.user_name {margin:0 auto; text-align:center; font-size:14px; line-height:20px;}
.user_name > span {display:inline-block; font-size:16px; line-height:20px; margin:0 5px;}
/*.user_info dl dt,.user_info dl dd {line-height:20px; text-align:center;}
.user_info dl dt {color:#fff; font-size:16px;}
.user_info dl dd {color:#eaeaea; font-size:14px;}*/
.user_admin {position:absolute; top:20px; right:20px; display:block;}
.user_admin > a {display:block; width:26px; height:26px; background-image:url(/nmaster/image/btn_admin.png); background-size:100%; background-repeat:no-repeat;}

.sb-slidebar {
	background-color: #56646e; /* Background colour. */
	color: #e8e8e8; /* Text colour. */
}

.sb-slidebar a {
	color: #f2f2f2; /* Link colour. */
	text-decoration: none;
}

.sb-slidebar a:hover {
	color: #49AEF2; /* Link hover colour. */
	text-decoration: underline;
}

/* --------------------
 * 004 - Slidebar Menus
 */
 
/* Main Menu */
.sb-menu { /* Apply to <ul> or <ol>. */
	padding: 0;
	margin: 0;
	list-style-type: none;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sb-menu li {
	width: 100%;	
	padding: 0;
	margin: 0;
	position:relative;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Will darken any background colour you set. */
}

.sb-menu > li:first-child {
	border-top: none; /* Removes top border from first list item.. */
}

.sb-menu li a {
	width: 100%; /* Makes links full width. */
	display:block;
	padding:15px; /* Creates an even padding the same size as your font. */
	font-size:18px;
	line-height:20px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;	
}

.sb-menu li a:hover {
	text-decoration: none;
	background-color:#303b43; /* Will lighten any background colour you set. */
}

/* Borders */
.sb-left .sb-menu li a {
	border-left: 3px solid transparent;
}

.sb-left .sb-menu li a:hover {
	border-left: 3px solid #8ebcdc; color:#8ebcdc; /* Removes transparent colour, so border colour will be the same as link hover colour. */
}

/* Submenus */
.sb-submenu {
	display: none;
	padding: 0;
	margin: 0;
	list-style-type: none;
	background-color: rgba(255, 255, 255, 0.05); /* Submenu background colour. */
}
.sb-submenu li a {font-size:16px;}

.sub_2depth li a {font-size:16px; text-indent:16px;}

/* SubSubmenus */

/* Caret */
span.sb-caret {
	width: 0;
	height: 0;
	line-height:20px;
	display:block;
	position:absolute;
	top:25px;
	right:20px;
	border: 5px solid transparent;
}

span.sb-caret { /* Caret Down */
	border-top: 5px solid;
	border-bottom: 0px solid transparent;
}

.sb-submenu-active > span.sb-caret { /* Caret Up */
	border-top: 0px solid transparent;
	border-bottom: 5px solid;
}