#content {
	background-color: white;
}

#content .blur {
	opacity: 0.5;
}

header .navbar {
	padding: 0;
}

header .navbar .toggle-nav {
	margin-left: 5px;
}

body {
	min-width: 380px;
	font-family: Arial,sans-serif;
}

a {
	cursor: pointer;
}

a:focus {
    outline: 0;
}

a i {
	text-decoration: none !important;
}

p a, .ta-text a {
	color: #014C93;
	text-decoration: underline;
}

textarea {
	min-height: 160px;
}

hr {
	border-top: 1px solid #E6E6E6;
}

.navbar .toggle-nav {
	border: 0;
	margin: 0 !important;
	padding: 0 !important;
	padding-top: 7px !important;
	height: 40px;
	width: 50px;
	font-size: 20px;
}

.toggle-nav:hover {
	background: 0 !important;
}

#loading {
	height: 100%;
	max-height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	background-color: rgba(255,255,255,0.4);
	background-image: url(assets/images/ajax-loaders/4.gif);
	background-repeat: no-repeat;
	background-position: center center;
	transition:opacity 1s linear;
}

.icon-loading {
	width: 16px;
	height: 16px;
	display: inline-block;
	vertical-align: middle;
	background-image: url(assets/images/ajax-loaders/1.gif);
	background-repeat: no-repeat;
	background-position: center center;
}

#notify {
	height: 40px;
}

#notify:focus, #notify:hover {
	background-color: #01518E;
}

#notify.new {
	background-color: #DA120E !important;
	font-weight: bold;
}

.user-menu .dropdown-toggle, .user-menu .dropdown-toggle:hover, .user-menu .dropdown-toggle:focus {
    background: none;
}

header .navbar .widget .dropdown-menu > li .widget-body .icon {
	text-align: center;
}

/* BANNER STYLING */
#banner {
	background-position: center;
	background-size: cover;
	height: 180px;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5) inset;
	position:relative;
	padding: 0;
}
	
.banner-tabs {
	height: 220px !important;
}

#banner h1.pull-left {
	position: absolute;
	bottom: 16px;
	z-index: 1;
	margin-left: 15px;
}

#banner .pull-right {
	position: absolute;
	bottom: 16px;
	right: 16px;
}

#banner ul.dropdown-menu {
	position: absolute;
	bottom: inherit;
	right: -1px;
	top: 10px;
}

.form-group .help-block {
	margin-bottom: 0px;
}

.pagination {
	margin: 0;
}

.row {
	/*max-width: 1300px;*/
	/*min-width: 600px;*/
}

.page-header {
	max-width: none;
	margin-bottom: 18px;
	overflow: visible;
	background: none;
}

.page-header > h1:nth-last-of-type(n+2) {
	display: none;
}

#banner > h1 {
	text-shadow: 0 0 0.3em #fff, 0 0 0.3em #fff, 0 0 0.3em #fff, 0 0 0.3em #fff;
}

#content-wrapper {
	max-width: none;
}

.page-header h1 input {
	font-size: 28px;
	height: auto;
	margin-top: -11px;
}

.header-tabs {
	width: 100%;
	height: 40px;
	position: absolute;
	bottom: 0px;
}

.header-tabs > ul {
	min-height: 40px;
	margin: 0;
	background-color: rgba(248, 248, 248, 0.78);
	overflow-y: hidden;
	white-space: nowrap;
	overflow-x: auto;
	border-bottom: 0;
}
.header-tabs > ul > li {
	height: 42px;
}

.banner-tabs .pull-right, .banner-tabs h1 {
	bottom: 56px !important;
}

.header-tabs > .nav-tabs > li.active > a {
	border-color: #fff;
	border-bottom-width: 1px;
}

.header-tabs > .nav-tabs > li > a {
	border-bottom-width: 0px;
	margin-right: 1px;
}

.nav-tabs > li {
    margin-bottom: -1px;
    display: inline-block;
    float: none;
}

@media (max-width: 991px) {
	#main-nav-bg, .main-nav-closed #main-nav-bg {
		width: 0px;
	}
	#main-nav, .main-nav-closed #main-nav {
		width: 0px;
		overflow: hidden;
	}
	#content, .main-nav-closed #content {
		margin-left: 0px;
	}
	.form-horizontal .control-label {
		padding-top: 0px;
		padding-bottom: 10px;
	}
	.page-header h1 span {
		font-size: 24px;
	}
	.page-header h1 input {
		font-size: 24px;
		height: auto;
		margin-top: -7px;
	}
	.page-header {
		min-height: 70px;
	}
	.page-header h1.pull-left, .page-header .btn-group {
		margin-top: 18px;
	}
	
	.page-header .pull-right {
		top: -25px;
		position: absolute;
		right: 15px;
	}
	
	#banner .pull-right {
		top: 65px;
		position: absolute;
		right: 15px;
	}
	
	#main-nav .navigation > .nav > .nav-bottom {
		display: none;
	}
	
	.main-nav-opened #wrapper #main-nav .navigation > .nav > .nav-bottom {
		display: inline-block !important;
	}
	
	/* BANNER STYLING */
	#banner {
		height: 160px;
	}
	
	.banner-tabs {
		height: 210px !important;
	}

	#banner ul.dropdown-menu {
		top: 10px;
	}

	#main-nav .navigation > .nav > li > .nav > li > a:focus {
		color: #000;
	}
	
	#main-nav .navigation li, #main-nav .navigation a {
		min-height: 40px;
		line-height: 28px;
	}
}

@media (max-width: 767px) {
	.page-header {
		min-height: 0;
		margin-bottom: 15px;
		text-align: left;
	}
	
	#content-wrapper {
		padding-bottom: 10px;
	}
	
	#content-wrapper.blur {
		opacity: 0.5;
	}

	.page-header h1.pull-left {
		margin-top: -3px;
	}
	
	.page-header .pull-right .btn-group {
		margin-top: 15px;
	}
	
	.main-nav-opened #wrapper #main-nav .navigation > .nav > .nav-bottom {
		display: inline-block !important;
		position: relative !important;
	}
	
	/* BANNER STYLING */
	#banner {
		height: 117px;
	}
	
	.banner-tabs {
		height: 157px !important;
	}
	
	.page-header .pull-right {
		top: -14px;
		position: absolute;
		right: 15px;
	}
	
	#banner .pull-right {
		top: 50px;
	}
	
	#banner .pull-right .btn-group {
		margin-top: 0px !important;
	}

	#banner ul.dropdown-menu {
		top: 20px;
	}

	#blur {
		width: 100% !important;
		height: 100% !important;
		margin-right: auto;
		margin-left: auto;
		margin-top: -40px;
		position: fixed;
		background-color: rgba(110,110,110,0.8);
		z-index: 10;
	}
	
	header .navbar .dropdown-menu {
		margin-right: -32px;
	}
	
	.nav > li > a {
		padding: 10px 10px;
	}
}

@media (max-width: 600px) {
	
	#banner .pull-right {
		top: 0;
	}
}

@media (min-width: 1300px) {
	/* BANNER STYLING */
	#banner {
		height: 220px;
	}
	
	.banner-tabs {
		height: 260px !important;
	}
	
	#content {
		font-size: 15px !important;
    	line-height: 23px;
	}
}

@media (min-width: 1500px) {
	/* BANNER STYLING */
	#banner {
		height: 250px;
	}
	
	.banner-tabs {
		height: 290px !important;
	}
}

.form-horizontal .control-label {
	text-align: left;
}

.bootbox-close-button {
	margin-top: -4px;
	font-size: 28px;
}

.bootbox-body h2 {
	margin-top: 0px;
}

/*
 * Table styles
 */
.table-checkboxes > tr > td:first-child, .table-checkboxes tr > th:first-child {
	text-align:center;
	width:36px;
}
.table-checkboxes input[type=checkbox] {
	display: inline-block;
	margin: 0;
	vertical-align: middle;
}

.table-checkboxes label {
	display:block;position:absolute;width:36px;height:36px;margin-bottom:0px;margin-left:-8px;margin-top:-8px;
}

table td[ng-click] {
	cursor: pointer;
}


/*
 * Custom button styling for active buttons
 */
.btn, .btn-group > .btn:first-child, .btn-group > .btn:last-child, .btn-group > .dropdown-toggle {
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}

.btn-group.open .btn.dropdown-toggle:active, .btn-group.open .btn.dropdown-toggle.active, .btn:active, .btn.active {
	background-color: rgb(220, 220, 220);
	border-color: rgb(173, 173, 173);
}

/*
 * Dropdown styling for group selection in table header
 */
.dropdown-menu li a {
	cursor: pointer;
}

.btn-group .dropdown-menu li a i {
	margin-left: -10px;
	padding-right: 4px;
	width: 15px;
	vertical-align: middle;
}

/*
 * ng-Table styling for custom headers
 */
.ng-table-filters th {
	padding: 0px !important;
}

.ng-table th input {
	border: 0;
	margin-top: -6px;
	margin-bottom: -8px;
	margin-right: -2000px; /* Fix for table header changing width on search */
	padding-left: 0px;
	padding-right: 23px;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}

.ng-table th i {
	cursor: pointer;
	margin: -8px !important;
	padding: 10px;
	width: 34px;
	position: relative;
	padding-top: 12px;
}

.ng-table th span {
	cursor: pointer;
}

.ng-table th span.invisible {
	visibility: hidden;
}

.ng-table th, .ng-table thead {
	background-color: white;
}

.ng-table .label {
	margin-left: 5px;
}

input[disabled] {
	padding: 0;
	border: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	background-color: white !important;
	cursor: default !important;
}

select[disabled] {
	padding-left: 0;
	border: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	background-color: white !important;
	cursor: default !important;
	-moz-appearance: menulist-text;
    -webkit-appearance: none;
    appearance: none;
}

.form-group[disabled][data-form-input] {
	margin-bottom: 3px;
}

.form-group[disabled] .control-label {
	padding-bottom: 0;
}

.icon-clear {
	cursor: pointer;
	width: 34px;
	padding: 10px;
	position: relative;
	border: 0;
	box-shadow: none;
	background: rgba(0,0,0,0);
	opacity: 0.6;
}

.icon-clear:hover {
	opacity: 1;
}

.on-drag-hover {
	border-width:2px;
}

/* reduce  margin on inputs in form table */
form table input {
	padding-left: 8px !important;
}

/* reduce  margin on inputs in form table */
form table select {
	padding-left: 4px !important;
}

.fc-header .fc-header-left {
    position: initial;
    width: initial;
    text-align: initial;
    right: initial;
    top: initial;
}

.ta-root.focussed > .ta-scroll-window.form-control {
	border-color: #AAA;
	box-shadow: 0px 0px 8px #DCE1E5;
}

.panel {
	box-shadow: none;
}

.widget-body {
	min-height: 40px;
	line-height: 28px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #E5E5E5;
}

.widget-body:hover {
	background-color: inherit !important;
}

.message {
	margin: 0 -10px;
	padding: 8px 10px 12px;
	cursor: pointer;
	border-bottom: 1px solid #DDD;
	opacity: 0.4;
}

.message:hover {
	background-color: #EEEEEE;
}

.message.active {
	opacity: 1;
	border-left: 3px solid #0163AC;
}

.message.active:hover {
	background-color: #FAFAFA;
}

.message:first-child {
	margin-top: -10px;
}

.message:last-child {
	margin-bottom: -10px;
	border-bottom: none;
}

.label-normal {
  background-color: #AAA;
}

#footer {
	text-shadow: none;
}

table .nav-tabs {
	margin-bottom: 0;
}

table .nav-tabs li a {
	background-color: rgb(231, 231, 231);
}