/*
 * Ace theme update CSS stylesheet
 * Add here only the common classes across projects.
 *
 */


/* --- Enhance Ace skin classes --- */
/*
 * Defaults:
 * border-radius: 2px;
 * buttons border is reduced
 */

html {
	font-size: 13px;
}

body {
	background: url('../img/content-bg.png');
}

.page-content, .main-container:before, .main-container:after {
	background: none;
}

.sidebar, .sidebar a, .breadcrumbs, .breadcrumbs *,
.ui-tabs-nav li, .ui-tabs-nav li a,
.moduleHeader, a.landing-module-icon {
	text-shadow: 0.6px 0.6px 0 #ccd;
}

h1, h2, h3, h4 {
	text-shadow: 1px 1px 0 #ccc;
}

.sidebar .fa, .ui-pg-div .fa,
.sidebar .glyphicon, .ui-pg-div .glyphicon {
	text-shadow: 1px 1px 0px #ccc;
}

.input-icon > .ace-icon {
	padding: 0;
}

.breadcrumb > li > a {
	color: #4889B9;
}

label {
	font-size: inherit;
	margin-bottom: 0;
}


/* Default colors */

.green {
	color: green;
}

.royalblue {
	color: royalblue;
}

.dark-blue {
	color: #1060a0;
}

.maroon {
	color: maroon;
}

.red {
	color: red;
}


/* --- Borders --- */

.border {
	border: 1px solid #d0d0d0;
}

.border-bottom {
	border-bottom: 1px solid #d0d0d0;
}

.border-top {
	border-top: 1px solid #d0d0d0;
}

.border-left {
	border-left: 1px solid #d0d0d0;
}

.border-right {
	border-right: 1px solid #d0d0d0;
}


/* --- Elements fixes & sizes --- */

.btn, .btn-group > .btn, .btn-group + .btn {
	border-width: 4px;
}

.btn-sm, .btn-group > .btn-sm, .btn-group + .btn-sm {
	border-width: 3px;
	padding: 2px 9px;
}

.btn-xs, .btn-group > .btn-xs, .btn-group + .btn-xs {
	border-width: 2px;
}

.btn-uxs, .btn-group > .btn-uxs, .btn-group + .btn-uxs {
	border-width: 0px;
}

.form-control:focus {
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15) inset !important;
}

textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"],
.form-control, textarea, input, select,
input.btn, button.btn, a.btn, .btn-group > .btn {
	border-radius: 2px !important;
	font-size: 13px;
}

.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle),
.input-group > .form-control:first-child:not(:last-child) {
	border-bottom-right-radius: 0 !important;
	border-top-right-radius: 0 !important;
}

.btn-group > .btn:last-child:not(:first-child),
.btn-group > .dropdown-toggle:not(:first-child),
.input-group > .form-control:last-child:not(:first-child) {
	border-bottom-left-radius: 0 !important;
	border-top-left-radius: 0 !important;
}

.dropdown-navbar > li > a {
	font-size: 13px;
}

a[disabled]:not(.btn), a[readonly]:not(.btn) {
	color: #777 !important;
	cursor: not-allowed !important;
}

.form-control[disabled], 
.form-control[readonly],
fieldset[disabled] .form-control, 
fieldset[readonly] .form-control {
	background-color: #f7f7f7 !important;
	color: #777;
	cursor: not-allowed !important;
}

input.ace:not(.ace-switch)[type="checkbox"][readonly] + .lbl::before, 
input.ace:not(.ace-switch)[type="radio"][readonly] + .lbl::before {
	background-color: #ddd !important;
	color: #777;
	cursor: not-allowed !important;
}

input.ace.ace-switch[disabled] + .lbl::before, input.ace.ace-switch[readonly] + .lbl::before {
	opacity: 0.6;
}

input.ace.ace-switch[disabled]:checked + .lbl::after, 
input.ace.ace-switch[readonly]:checked + .lbl::after,
input.ace.ace-switch[disabled] + .lbl::after, 
input.ace.ace-switch[readonly] + .lbl::after {
	background-color: #eee;
}

.form-control[disabled], fieldset[disabled] .form-control {
	color: #939192;
	cursor: not-allowed !important;
}

.page-container[actionname="View"] .form-control {
	background: none repeat scroll 0 0 #fff !important;
	color: #444;
}

textarea, input[type!="button"] {
	padding-top: 3px;
	padding-bottom: 3px;
}

.tooltip-inner {
	text-align: left !important;
	white-space: pre-wrap;
	max-width: 300px;
	opacity: .85;
	border-radius: 3px;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
	text-overflow: clip;
	word-wrap: break-word;
}


/* --- Validation --- */

.form-group.has-error .control-label, .form-group.has-error .help-block, .form-group.has-error .help-inline {
	color: #c94442;
}

.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea, .form-group.has-error button {
	border-color: #c94442;
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15) inset, 0 0 2px #ce8483 !important;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15) inset, 0 0 2px #ce8483 !important;
	color: #777;
}

.form-group.has-error input:focus, .form-group.has-error select:focus, .form-group.has-error textarea:focus, .form-group.has-error button:focus {
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15) inset, 0 0 4px #ce8483 !important;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15) inset, 0 0 4px #ce8483 !important;
	color: #777;
	border-color: #d77b68;
	background-color: #fef9f8;
}


/* --- Main content, Nav, Widget, Dialog & Tabs --- */

.widget-box, .modal-box {
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.modal-header {
	border-bottom: 1px solid #E5E5E5;
	padding: 10px 15px;
}


/* Navigation */

.nav-list > li .submenu > li a > .fa:first-child,
.nav-list > li .submenu > li a > .glyphicon:first-child {
	height: 16px;
}

.nav-list > li > .submenu a > .arrow {
	top: 7px;
}

.nav .open > a,
.nav .open > a:focus,
.nav .open > a:hover {
	background: inherit;
	color: inherit;
}

.navbar-container {
	padding-left: 20px;
}

header#navbar {
	background: url('../img/header-bg.png');
	min-height: 35px;
}

header#navbar a.navbar-brand {
	background: url('../img/logo.png') no-repeat left center;
	display: block;
	height: 35px;
	width: 120px;
	padding: 0;
}

header#navbar .navbar-brand {
	line-height: 32px;
	font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;
	font-weight: bold;
	font-size: 20px;
	text-shadow: 2px 2px 2px #000;
	padding-top: 0;
	padding-bottom: 0;
}

.navbar-header > ul > li > a {
	text-shadow: 0.6px 0.6px 0 #000;
	font-weight: bold;
}

.navbar-header[role="navigation"] {
	position: relative;
}

.navbar-fixed-top + .main-container {
	padding-top: 35px; /* Set the padding of teh main conetnt = the header height */
}

.ace-nav > li {
	height: 35px;
	line-height: 35px;
}

.ace-nav > li.primary {
	color: #478fca;
}

.ace-nav > li.primary > a {
	background-color: #2e6589;
}
.ace-nav > li.primary > a:hover,
.ace-nav > li.primary > a:focus,
.ace-nav > li.open.primary > a {
	background-color: #2c5976;
}

.nav-user-photo {
	max-width: 30px !important;
}

.user-info {
	font-size: 85%;
	line-height: 130%;
	top: 3px;
}

@media (max-width: 590px) {
	.ace-nav > li > a:not(.nav-user-menu) > .menu-text {
		display: none;
	}
}

@media (max-width: 991px) {
	.main-container .menu-toggler {
		padding-left: 0;
		z-index: 1036;
		height: 30px;
		padding: 0;
	}
	.menu-toggler + .sidebar.responsive {
		margin-top: 29px;
	}
	.main-container .menu-toggler:before {
		top: 10px;
	}
	.main-container .menu-toggler:after {
		top: 16px;
	}
	.main-container .menu-toggler.display:before {
		top: 5px;
	}
	.main-container .menu-toggler.display:after {
		top: 17px;
	}
	.menu-toggler + .sidebar.responsive + .main-content .breadcrumb {
		margin-left: 60px;
	}
	.ace-nav {
		background: none;
		border-width: 0;
	}
	.ace-nav > li {
		height: 30px;
		line-height: 30px;
	}
	.nav-user-photo {
		max-width: 25px !important;
	}
	.user-info {
		display: none;
	}
	a.landing-module-icon {
		margin: 20px 0 0 30px !important;
	}
	.form-control {
		box-shadow: none !important;
	}
}

@media (min-width: 992px) {
	.breadcrumbs-fixed + .page-content {
		padding-top: 40px;
	}
}


/* --- Sidebar --- */

.sidebar:before {
	box-shadow: 1px 0 2px #ddd;
}

.sidebar, .sidebar:before {
	background-color: #e5e5e5;
}

.sidebar-shortcuts {
	max-height: 42px;
}

.menu-min .sidebar-shortcuts-large {
	width: 235px;
}

.sidebar-scroll .nav-wrap .sidebar-shortcuts,
.sidebar .sidebar-shortcuts {
	min-height: 30px;
}

.sidebar .sidebar-shortcuts-large {
	line-height: 26px;
}

.sidebar .sidebar-shortcuts-large > .btn {
	line-height: 16px;
	width: 35px;
}

.sidebar-shortcuts, .breadcrumbs {
	background-color: #e5e5e5;
	background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d0d0d0), to(#e5e5e5)) !important;
	background-image: -webkit-linear-gradient(top, #d0d0d0, 0%, #e5e5e5, 100%) !important;
	background-image: -moz-linear-gradient(top, #d0d0d0 0%, #e5e5e5 100%) !important;
	background-image: linear-gradient(to bottom, #d0d0d0 0%, #e5e5e5 100%) !important;
	background-repeat: repeat-x !important;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd0d0d0', endColorstr='#ffe5e5e5', GradientType=0) !important;
	border-top: 1px solid #c0c0c0;
	border-bottom: 1px solid #c5c5c5;
}

.nav-list .main-section, .nav-list li.open .main-section {
	background: #f7f7f7;
	background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f9f9f9), to(#e7e7e7));
	background-image: -webkit-linear-gradient(top, #f9f9f9, 0%, #e7e7e7, 100%);
	background-image: -moz-linear-gradient(top, #f9f9f9 0%, #e7e7e7 100%);
	background-image: linear-gradient(to bottom, #f9f9f9 0%, #e7e7e7 100%);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9f9f9', endColorstr='#ffe7e7e7', GradientType=0);
	font-weight: bold;
	color: #2b7dbc !important;
	padding-bottom: 8px;
	padding-top: 8px;
}

.nav-list li > a {
	overflow: hidden;
	height: auto;
}

.nav-list > li a > .arrow {
	top: 10px;
}

.nav-list > li > .submenu > li:before {
	top: 13px;
}

.nav-list > li .submenu > li > a {
	padding-top: 3px;
	padding-bottom: 4px;
}

.nav-list > li .submenu > li a > .fa:first-child,
.nav-list > li .submenu > li a > .glyphicon:first-child {
	top: 6px;
}

.nav-list .submenu li {
	white-space: nowrap;
}

.nav-list > li li.active > a:after {
	top: 0px;
}


/* --- Breadcrumbs & top nav --- */

.breadcrumbs {
	box-shadow: 0 1px 2px #ddd;
	line-height: 25px;
	min-height: 30px;
}

ul.breadcrumb {
	margin: 0 22px 0 12px;
}

.nav-search .nav-search-input {
	padding-top: 2px;
	padding-bottom: 2px;
}


/* --- jqGrid style fixes --- */

.ui-jqgrid .ui-jqgrid-htable th div {
	padding-bottom: 4px;
	padding-top: 4px;
	height: 30px;
}

.ui-jqgrid .ui-jqgrid-labels th div {
	padding-top: 7px;
}

.ui-jqgrid .ui-jqgrid-htable th {
	height: auto;
	background: linear-gradient(to bottom, #F8F8F8 0%, #ECECEC 100%) repeat-x scroll 0 0 #F2F2F2;
}

.ui-jqgrid th.ui-th-column-header {
	text-align: center !important;
}

.ui-jqgrid th.ui-th-column ul.dropdown-menu {
	position: static !important;
}

.ui-jqgrid .ui-jqgrid-htable th span.ui-jqgrid-resize {
	height: 34px !important;
}

.ui-jqgrid .ui-th-column {
	border-right: 1px solid #e1e1e1 !important;
}

.ui-jqgrid .ui-search-toolbar .ui-th-column > div {
	padding: 0 !important;
}

.ui-jqgrid .ui-jqgrid-pager {
	height: auto;
	padding-bottom: 3px !important;
}

.ui-jqgrid .ui-pager-control {
	height: auto;
}

.ui-jqdialog-content .searchFilter .delete-rule:hover {
	transform: none;
}

.ui-jqdialog-content .searchFilter .delete-rule {
	font-size: 15px;
	font-weight: bold;
	line-height: 20px;
}

.ui-jqgrid-hdiv .ui-jqgrid-htable {
	border-top-width: 0;
}

.ui-jqgrid-btable {
	background: #fff;
}

.ui-jqgrid tr.ui-row-ltr td, .ui-jqgrid tr.ui-row-rtl td {
	padding: 3px 5px;
}

.ui-jqgrid-hdiv .ui-jqgrid-htable, .ui-jqgrid .ui-jqgrid-btable {
	border-left-width: 0;
}

.ui-search-toolbar input {
	border-radius: 0 !important;
}

.ui-jqgrid .ui-search-table, .ui-jqgrid .ui-search-table td {
	line-height: 20px;
}

.ui-jqgrid .ui-search-table .ui-multiselect {
	background: white !important;
	border: #ddd 1px solid;
	padding-top: 3px;
	padding-bottom: 3px;
	line-height: 20px;
	height: 24px;
	padding: 0 2px !important;
}

.ui-jqgrid .ui-pg-table, .ui-jqgrid .ui-paging-info {
	font-size: 1em;
}


/* --- jQuery style fixes --- */

.ui-widget {
	border: 1px solid #ddd;
}

.widget-header, .ui-widget-header{
	background: #e0e0e0;
	background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f9f9f9), to(#e0e0e0));
	background-image: -webkit-linear-gradient(top, #f9f9f9, 0%, #e0e0e0, 100%);
	background-image: -moz-linear-gradient(top, #f9f9f9 0%, #e0e0e0 100%);
	background-image: linear-gradient(to bottom, #f9f9f9 0%, #e0e0e0 100%);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffeeeeee', GradientType=0);
	border-bottom: 1px solid #ccc;
	color: #669FC7;
}

.widget-header, .ui-widget-header {
	position: relative;
}

.widget-header.widget-header-flat, .ui-widget-header.widget-header-flat {
	background: none;
	border-width: 0 0 1px 0;
}

.ui-widget-header.ui-tabs-nav {
	background: none;
}

.ui-state-disabled {
	cursor: not-allowed !important;
}


/* --- Login page --- */

#loginbox {
	position: relative;
	top: auto;
	margin: 100px auto 0 auto;
	width: 370px;
}

#loginbox .checkbox {
	margin: 0px 0 5px 0;
	padding: 0 !important;
}

.forgot-msg, .login-msg, .initial-msg, .error-login-msg, .error-forgot-msg, .success-msg {
	padding-bottom: 10px;
}

.success-msg {
	color: #15ab24;
}

.error-login-msg, .error-forgot-msg {
	color: #D00000;
}

.initial-msg {
	color: #D09000;
}

#loginbox th {
	padding: 0 0 6px;
	text-align: left;
	width: 95px;
	font-weight: normal;
}

#forgotInner th {
	width: 105px;
}

#loginbox td {
	padding: 0 0 6px;
}

#loginbox a.forgot {
	position: absolute;
	right: 15px;
	bottom: 10px;
	text-decoration: none;
	font-style: italic;
}

#loginbox a.forgot:hover {
	text-decoration: underline;
	color: #000;
}


/* --- Alerts --- */

.alert {
	padding: 10px;
	margin-bottom: 10px;
	border-radius: 2px;
}

.alert .fa,
.alert .glyphicon {
	font-weight: bold;
	padding-right: 10px;
}

.alert-dismissable, .alert-dismissible {
	padding-right: 25px;
}

.alert-dismissable .close, .alert-dismissible .close {
	right: -25px;
	top: 0;
}

.row-warning {
	background: #ffffe0;
	color: #600000;
}

.row-error {
	background: #f08080;
	color: #000;
}

.row-info {
	background: #d3d3d3;
	color: #000;
}

.row-reminder {
	background: #E0EAEA;
	color: #000080;
}


/* --- Bootstrap-dialog styles --- */

.bootstrap-dialog.type-default .modal-header {
	background-color: #abbac3;
}
.bootstrap-dialog.type-info .modal-header {
	background-color: #6fb3e0;
}
.bootstrap-dialog.type-primary .modal-header {
	background-color: #428bca;
}
.bootstrap-dialog.type-success .modal-header {
	background-color: #87b87f;
}
.bootstrap-dialog.type-warning .modal-header {
	background-color: #ffb752;
}
.bootstrap-dialog.type-danger .modal-header {
	background-color: #d15b47;
}
.bootstrap-dialog .bootstrap-dialog-close-button button {
	font-size: 28px;
}


/* --- Other pages --- */

.group-button-bar .btn {
	font-size: 12px !important;
}