/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
html, body {
	height: 100%;
}
body {
	padding-top: 50px;
}



/*
 * Loader
 */

.loading {
	overflow: hidden;
}
.loading .loader {
	display: block;
}
.loader {
	z-index: 10000;
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	background: #000;
	left: 0;
	top: 0;
	overflow: hidden;
	opacity: 0.9;
}
.loader img {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -7.5px -30px 0 0;
}


/*
 * Signin
 */

body#login {
	padding-top: 40px;
	padding-bottom: 40px;
	background-color: #eee;
}

.form-signin {
	max-width: 330px;
	padding: 15px;
	margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
	margin-bottom: 10px;
}
.form-signin .checkbox {
	font-weight: normal;
}
.form-signin .form-control {
	position: relative;
	height: auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 10px;
	font-size: 16px;
}
.form-signin .form-control:focus {
	z-index: 2;
}
.form-signin input[type="email"] {
	margin-bottom: -1px;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
	margin-bottom: 10px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

/*
 * Global add-ons
 */

.sub-header {
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}
.scrollListGroup {
	max-height: 300px;
	overflow-y: auto;
}
.hr-sm {
	margin-top: 5px;
	margin-bottom: 5px;
}
.panel hr {
	margin-left: -15px;
	margin-right: -15px;
}
.panel-body:not(.two-col) { padding:0px }

.panel-body .radio,.panel-body .checkbox {margin-top: 0px;margin-bottom: 0px;}
.panel-body .list-group {margin-bottom: 0;}
.margin-bottom-none { margin-bottom: 0; }
.panel-body .radio label,.panel-body .checkbox label { display:block; }
.addMenu .panel-body {max-height: 287px; overflow-y: auto;}
.addMenuItem {cursor: pointer;}
.addMenuItem:hover {background: #F5F5F5;}
.removeMenuItem {
	padding-right: 10px;
	line-height: 29px;
	cursor: pointer;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-inverse .navbar-brand {
	color: white;
}
.navbar-fixed-top {
	border: 0;
}

.tab-content-bordered {
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	padding: 10px;
}
.xdebug-var-dump {
	position: relative;
	z-index: 10000;
}

/*
 * Off Canvas
 * --------------------------------------------------
 */
@media screen and (max-width: 767px) {
	div.container-fluid.active {
		overflow: hidden;
	}
	.container-fluid, .main {
		height: 100%;
	}
	.main {
		background: #fff;
	}



	.row-offcanvas {
		height: 100%;
		position: relative;
		-webkit-transition: all 0.25s ease-out;
		-moz-transition: all 0.25s ease-out;
		transition: all 0.25s ease-out;
	}
	.row-offcanvas .sidebar-offcanvas {
		position: absolute;
		z-index: 1;
		left: -250px;
		top: 0;
		width: 250px;
		-webkit-transition: all 0.25s ease-out;
		-moz-transition: all 0.25s ease-out;
		transition: all 0.25s ease-out;
	}
	.row-offcanvas-left {
		-webkit-transform: translateX(0px);
		-moz-transform: translateX(0px);
		transform: translateX(0px);
	}
	.row-offcanvas-left.active {
		-webkit-transform: translateX(250px);
		-moz-transform: translateX(250px);
		transform: translateX(250px);
	}
	.row-offcanvas-left .sidebar-offcanvas {
	}
	.row-offcanvas-left.active .sidebar-offcanvas {
	}



	.navbar-nav {
		margin: 5px !important;
	}
	.navbar-nav > li {
		float: left;
	}
	.navbar-right {
		float: right !important;
	}
	.navbar-toggle {
		position: absolute;
		left: -23px;
		-webkit-transition: left .25s ease-out;
		-moz-transition: left .25s ease-out;
		transition: left .25s ease-out;
	}
	.navbar-toggle.active {
		position: absolute;
		left: -27px;
	}
	.navbar-inverse .navbar-toggle {
		border: none;
	}
	.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
		background: none;
	}
}

/* Hide for mobile, show later */
.sidebar {
	position: fixed;
	top: 51px;
	bottom: 0;
	left: 0;
	z-index: 1;
	display: block;
	padding: 20px;
	overflow-x: hidden;
	overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
	background-color: #f5f5f5;
	border-right: 1px solid #eee;
}
.sidebar {
	/*display: none;*/
}
@media (min-width: 768px) {
	.navbar-nav {
		margin: 0;
	}
	.navbar-header {
		float: none;
	}
}

/* Sidebar navigation */
.nav-sidebar {
	margin-right: -21px; /* 20px padding + 1px border */
	margin-bottom: 20px;
	margin-left: -20px;
}
.nav-sidebar > li > a {
	padding-right: 20px;
	padding-left: 20px;
}
.nav-sidebar .active > a,
.nav-sidebar .active > a:hover,
.nav-sidebar .active > a:focus,
.nav-sidebar > * .active > a,
.nav-sidebar > * .active > a:hover,
.nav-sidebar > * .active > a:focus {
	color: #fff;
	background-color: #428bca;
}
.nav-sidebar li a > .caret {
	margin-top: 8px;
}
.nav-list > li > a {
	padding-left: 40px;
}
.nav-sidebar .uncollapsed:after {
	font-family: 'Glyphicons Halflings';
	content: "\e114";
	float: right;
}
.nav-sidebar .collapsed:after {
	font-family: 'Glyphicons Halflings';
	content: "\e080";
	float: right;
}
.nav-sidebar .glyphicon {
	margin-right: 8px;
}


/*
 * Main content
 */

.main {
	padding: 20px;
}
@media (min-width: 768px) {
	.main {
		padding-right: 40px;
		padding-left: 40px;
	}
}
.main .page-header {
	margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
	margin-bottom: 30px;
	text-align: center;
}
.placeholders h4 {
	margin-bottom: 0;
}
.placeholder {
	margin-bottom: 20px;
}
.placeholder img {
	display: inline-block;
	border-radius: 50%;
}

.nav-sidebar .label {
	position: absolute !important;
	padding: 2px !important;
	right: 5px;
	top: -6px;
	z-index: 1;
}