/* Gate Management - sidebar admin layout (built on Bootstrap 3.3.7) */

body{
	padding-top: 50px;
	background: #f4f6f8;
}

.app-topbar.navbar{
	margin-bottom: 0;
	border-radius: 0;
	z-index: 1100;
}

.app-topbar .navbar-form label{
	color: #ccc;
	margin-right: 6px;
}

.app-topbar-device{
	margin-right: 15px;
}

.device-select{
	width: 220px;
	display: inline-block;
}

.app-sidebar{
	position: fixed;
	top: 50px;
	left: 0;
	bottom: 0;
	width: 240px;
	background: #2c3138;
	overflow-y: auto;
	z-index: 1000;
}

.app-sidebar-nav{
	margin: 0;
	padding: 10px 0 30px;
	list-style: none;
}

.app-sidebar-nav > li > a{
	display: block;
	padding: 10px 18px;
	color: #c8ccd2;
	text-decoration: none;
	font-size: 14px;
}

.app-sidebar-nav > li > a:hover,
.app-sidebar-nav > li > a:focus{
	background: #3a4048;
	color: #fff;
	text-decoration: none;
}

.app-sidebar-nav > li.active > a{
	background: #1f2933;
	color: #fff;
	border-left: 3px solid #5bc0de;
	padding-left: 15px;
}

.app-sidebar-nav > li.app-nav-heading{
	padding: 16px 18px 6px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: #7b8794;
}

.app-sidebar-nav .glyphicon{
	margin-right: 8px;
	width: 16px;
	display: inline-block;
	text-align: center;
}

.app-content{
	margin-left: 240px;
	min-height: calc(100vh - 50px);
}

.app-content-inner{
	padding: 20px;
}

.app-page-title{
	margin-top: 0;
	margin-bottom: 20px;
	font-weight: 600;
}

.app-sidebar-toggle{
	display: none;
}

@media (max-width: 767px){
	body{
		padding-top: 100px;
	}
	.app-topbar .navbar-form.app-topbar-device{
		float: none;
		width: 100%;
		margin: 0;
		padding: 8px 15px;
		border-top: 1px solid rgba(255,255,255,.15);
	}
	.device-select{
		width: 100%;
	}
	.app-sidebar{
		top: 100px;
		left: -260px;
		transition: left .2s ease-in-out;
		box-shadow: 2px 0 6px rgba(0,0,0,.3);
	}
	.app-sidebar.app-sidebar-open{
		left: 0;
	}
	.app-content{
		margin-left: 0;
	}
	.app-sidebar-toggle{
		display: block;
	}
}
