
.se-wrapper {
	display: flex;
	width: 100%;
	align-items: stretch;
}

.se-page-container {
	width: 100%;
	margin-left: 15px;
	margin-right: 15px;
}

.se-nav-container ~ .se-page-container {
	width: calc(100% - 200px);
}

.se-nav-container {
	min-width: 170px;
	max-width: 170px;
}

.navbar-scaleengine {
	min-width: 170px;
	max-width: 170px;
}

.navbar-collapse {
	min-width: 170px;
	padding: 0;
}

.navbar-fixed-side {
	margin: 0;
}

.navbar-fixed-side .navbar-nav {
	margin: 0;
}

@media (max-width: 768px) {
	.se-page-container {
	width: 98%;
	margin-left: 1%;
	margin-right: 0;
	}

	.se-nav-container ~ .se-page-container {
	width: 98%; 
	}

	.navbar {
	min-height: auto;
	}

	.se-nav-container {
	min-width: auto;
	max-width: auto;
	width: auto;
	position: fixed;
	z-index: 500;
	}

	.nav-scaleengine-subnav {
	min-width: 170px;
	}

	.navbar-scaleengine {
	min-width: auto;
	max-width: auto;
	}

	.navbar-scaleengine .container-fluid {
	padding: 0;
	margin: 0;
	}

	.navbar-collapse {
	min-height: 100vh;
	}

	.navbar-toggle {
	float: left;
	margin: 0;
	background-color: #ffffff;
	}

	.navbar-brand {
	display: none;
	}
}

/* PAGE OPENER */
.page-opener {
	padding: 5px 20px;
}

.page-opener > h1 {
	margin-top: 5px;
	padding: 0 5px 5px;
}

.page-opener > h2 {
	margin-top: 5px;
	padding: 0 5px 5px;
}

.page-opener > p {
	color: rgba(255,255,255, .4);
	background-color: #1E4B78;
	padding: 10px;
	border-radius: 4px;
	margin-top: 5px;
	font-size: 16px;
	color: #ffffff;
}
.page-opener > p a:hover {
	color: #ffffff;
	text-decoration: none;
}

#codeigniter_profiler {
	clear: both;
	margin-left: 200px;
}

@media (max-width: 768px) {
	#codeigniter_profiler {
		word-break: break-word;
		margin-left: 0;
	}
}

.section {
	margin-bottom: 30px;
}

.nav-scaleengine-header .accordion-toggle:after {
	/* symbol for "opening" menus */
	font-family: 'Glyphicons Halflings'; /* essential for enabling glyphicon */
	content: "\e114";	/* adjust as needed, taken from bootstrap.css */
	float: right;		/* adjust as needed */
	color: grey;		 /* adjust as needed */
}
.nav-scaleengine-header .accordion-toggle.collapsed:after {
	/* symbol for "collapsed" menus */
	content: "\e080";	/* adjust as needed, taken from bootstrap.css */
}

.nav-scaleengine-subnav .navbar-fixed-side .navbar-nav {
	margin: 0;
}

.nav-scaleengine-subnav ul.nav > li > a {
	padding: 2px;
	margin: 3px 3px 3px 25px;
}

.nav-scaleengine-subnav ul.nav > li:last-child > a {
	border-bottom: none;
}

footer {
	border-radius: 4px 4px 0 0;
	box-shadow: 0 2px 2px 0 #c2c2c2;
}

.form label {
	font-weight: normal;
	margin: 0;
}

.money, .table > thead > tr > th.money {
	text-align: right;
	padding-right: 10px;
}

.vid_list_item_details {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
}

.vid_name {
	width: 100%;
}

.vod_container {
	flex-grow: 2;
	padding: 0 5px;
}

.vid_overview {
	flex-basis: 100%;
}

.se-content-container {
	min-height: 80vh;
}

#sortable input, #sortable select {
	max-height: 3ex;
}

.selectbox {
	width:100%; 
	min-width:400px; 
	height: 200px;
}

.halfflex {
	min-width: 40%;
	flex-grow: 1;
}

.se-stream-list-item {
	padding-left:2ex;
}

.aftertable {
	margin-top: 8px;
}

.aftertable_count {
	display: inline;
	margin-left: 8px;
}

.aftersection {
	margin-bottom: 50px;
}

.aftersection button {
	width: 100%;
}

.stream-active th, .stream-active td {
	background-color: #dff0d8;
}
.stream-special th, .stream-special td {
	background-color: #d9edf7;
}
.stream-unknown th, .stream-unknown td {
	background-color: #fcf8e3;
}
.stream-down th, .stream-down td {
	background-color: #f2dede;
}

.btn-light{
	border: none;
	color: #FFFFFF;
}

.btn-primary[disabled]:hover {
	background-color: #ff772d;
}

nav.se-breadcrumb {
	margin-top: -3em;
	margin-bottom: 1em;
}

/* Activate Demo etc */
.section-page-opener {
	margin-top: -50px;
	border-bottom: 4px solid #ff772d;
}
@media (max-width: 768px) {
	.section-page-opener {
		margin-top: -20px;
	}
}

/* help controls */
.help_control {
	display:none;
}

.help_label {
	float:right; 
	margin-top: -2ex; 
	width: 2ex; 
	height: 2ex; 
	background-color:white; 
	text-align: center; 
	border-radius: 1ex; 
	font-size: 150%; 
	line-height:1.2;
}

.help {
	display: none;
	background-color:rgba(130,130,250,0.2);
}

.help_control:checked ~ .help, 
.help_control:checked ~ * .help {
	display:block;
}



/* API docs bits for formatting parameter lists */

.api_param_item > p {
  margin-bottom: 0px;
}

.api_param_item {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.api_param_item:nth-child(even) {
  background-color: #f5f5f5;
}

.api_param_tag_strong {
  color: #c92f56;
  padding: 0.1em 0.3em 0.1em 0.3em;
  border-radius: 0.4em;
  border: 1px solid #c92f56;
  font-size: 85%;
}

.api_param_tag_weak {
  color: #172a5e;
  padding: 0.1em 0.3em 0.1em 0.3em;
  border-radius: 0.4em;
  border: 1px solid #172a5e;
  font-size: 85%;
}

.api_param_name {
  font-size: 130%;
  vertical-align: middle;
}
