input, textarea, select {
	font-size: 14px;
}

select {
	height: 35px;
}

select, input[type="file"] {
	line-height: 20px;
}

td, p {
	font-size: 13px;
}

td.label {
	font-size: 13px;
}

td.number {
	text-align: right;
}

.box-blue, table.fieldset, table.fields, .fieldset td {
	background-color: #F5F5F5;
}

.box-blue {
	border-color: #F5F5F5;
}

#header {
	background-color: #0A6cb5;
}

.table thead th, .table.tablesorter thead th {
	border-bottom: 1px solid #0A6CB5;
	background-color: #F5F5F5;
	padding-top: 6px;
	padding-bottom: 6px;
}

.table tbody tr:nth-child(odd) td {
	background-color: #ffffff;
}

.table tbody tr:nth-child(even) td {
	background-color: #F5F5F5;
}

.table tbody tr td {
	background-color: #ffffff;
	padding-top: 6px;
	padding-bottom: 6px;
}

.fieldset tr td.text {
	line-height: 30px;
	font-weight: 400;
}

div.form {
	/*
  background: #F5F5F5;
  */
	background: #F5F5F5;
	padding: 1em 15%;
	margin-bottom: 2em;
}

.btn.default {
	background-color: #79b89d;
	border-color: #79b89d;
}

h1, h1.ems-header, h2.ems-header, .modal-header h3 {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	color: #0A6CB5;
}

h1 a {
	color: #0A6CB5;
}

.well {
	background-color: #F5F5F5;
}

.alert.alert-block {
	border: none;
}

.alert.alert-block, .alert.alert-block h4 {
	color: #948c76;
}

.page-container {
	box-shadow: 0 0 2px rgba(0, 0, 0, .18), 0 2px 4px rgba(0, 0, 0, .21);
	-webkit-box-shadow: 0 0 2px rgba(0, 0, 0, .18), 0 2px 4px
		rgba(0, 0, 0, .21);
	-moz-box-shadow: 0 0 2px rgba(0, 0, 0, .18), 0 2px 4px
		rgba(0, 0, 0, .21);
}

.formpanel {
	padding-bottom: 10px;
}

.document-editor {
	background-color: #fff;
}

.content-container {
	/*
	position: absolute;
	top: 0;
	bottom: 0.8em;
	right: 0.8em;
	left: 1.0em;
	*/
	padding: 0 20px 15px 20px;
	overflow: visible;
	height: 100%;
	width: 100%;
}

.box-white {
	background: #fff;
	padding-top: 0;
}

body.plain .content-container {
	top: 2.5em;
}

.topnav+.breadcrumb+.content-container {
	top: 7.5em;
}

body.plain .topnav {
	top: auto;
	bottom: 20px;
	left: 20px;
	right: 20px;
	margin: 0;
	padding: 0;
	background: #fff;
	height: auto;
	width: auto;
	border: none;
}

body.plain .topnav .nav-buttons {
	margin: 0;
}

table.fieldset {
	background-color: #F5F5F5;
	/*
    border: 1em solid transparent;
    */
}

table.fields {
	background-color: #F5F5F5;
	border: 1em solid transparent;
}

.topnav .nav-buttons {
	margin-top: 7px;
}

.fieldset {
	background-color: #F5F5F5;
	border: 1em solid transparent;
	margin-left: auto;
	margin-right: auto;
}

.row-flex-height {
	display: flex; /* equal height of the children */
}

.col-flex-width {
	flex: 1; /* additionally, equal width */
}

.table-form {
	width: 100%;
}

table.fields span.required {
	display: none;
}

.table-form td {
	padding: 3px 10px 3px 0;
}

.table-form td.input-label, td.fields label, table.fieldset td.label {
	font-weight: 500;
	color: #777;
}

.table-form td.input-label, td.fields label {
	float: none;
	text-align: right;
	vertical-align: top;
	margin: 0;
	padding-top: 8px;
	padding-right: 10px;
}

.table-form td.spacer {
	height: 15px;
}

.table-form td.input-label {
	width: 160px;
}

input[type="text"].error, input[type="number"].error {
	color: #df524e;
	border: 1px solid #df524e;
}

label.error {
	font-size: 12px;
}

.error {
	color: #df524e;
	font-weight: 500;
}

.validation-advice {
	font-size: 12px;
	color: #df524e;
	font-weight: 500;
}

.readonly, input.readonly, input[readonly] {
	background-color: #f5f5f5;
	color: #333;
	font-weight: 500;
}

/* This is for styling the dates on reports 
 * I am putting it here because report-expense*.jsp reports all use it
*/
#form_fromDate, #form_toDate, #form_finalisedFromDate,
	#form_finalisedToDate, #form_createdFromDate, #form_createdToDate,
	#form_dueFromDate, #form_dueToDate {
	width: 85%;
}

.label-enabled-true {
	font-size: 11px;
	color: green;
}

.label-enabled-false {
	font-size: 11px;
	color: red;
}

input.checkbox {
	height: 18px;
	width: 18px;
}

.audit.modal {
	width: 90%;
	max-width: 1024px;
	height: 88%;
	margin-left: -45%;
	top: 4%;
}

.audit .modal-header {
	padding: 0 15px;
}

.audit .modal-body {
	padding: 20px;
	height: 100%;
	max-height: 90%;
}

.btn-history {
	width: 120px;
}

.audit .table tbody tr:nth-child(even) td {
	background-color: #fff;
}

@media ( max-width : 1024px) {
	.content-container {
		top: 0;
		bottom: 1em;
		right: 1em;
		left: 1em;
	}
	body.plain .content-container {
		top: 1em;
	}
	.table-form td.input-label {
		width: 160px;
	}
}

@media ( max-width : 740px) {
	.row-fluid [class*="span"] {
		display: block;
		float: none;
		width: 100%;
		min-height: 30px;
		margin-left: 0;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	.row-flex-height {
		display: block;
		float: none;
	}
	div.form {
		padding-left: 5%;
		padding-right: 5%;
	}
	#welcome {
		display: none;
	}
}

@media ( max-width : 420px) {
	.topnav {
		padding-left: 1em;
	}
	.table-form tr td {
		display: block;
		text-align: left;
	}
	.table-form td {
		padding: 3px 10px 0px 0;
	}
	.table-form td.input-label {
		width: 100%;
		padding-top: 10px;
		text-align: left;
		font-size: 10px;
		text-transform: uppercase;
	}
	.fieldset tr td:first-child {
		padding-left: 5px;
	}
	.modal {
		position: fixed;
		margin: 0;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		border-radius: none;
	}
	.modal .form-horizontal .control-label {
		width: 100px;
		text-align: left;
	}
	.modal .form-horizontal .controls {
		margin-left: 110px;
	}
}

.ui-select-container>.ui-select-match>.ui-select-toggle {
	background-color: #fff;
	color: #555;
	border: none;
	border-radius: 0px;
	width: 100%;
	height: 32px;
	box-shadow: none;
	padding: 0px 8px;
}

.ui-select-container>input.ui-select-search {
	box-sizing: border-box;
	height: 33px;
	box-shadow: none;
	margin-bottom: 0px;
	margin-right: 0px;
}

.ui-select-container>.ui-select-choices.ui-select-dropdown.dropdown-menu
	{
	border-radius: 0px;
}

.ui-select-container>.ui-select-no-choice.dropdown-menu {
	border-radius: 0px;
	padding: 8px 20px;
}

.ui-select-container.ui-select-bootstrap>.ui-select-choices,
	.ui-select-container.ui-select-bootstrap>.ui-select-no-choice {
	margin-top: 0px;
}

.ui-select-container>.ui-select-match>.ui-select-toggle>.ui-select-match-text
	{
	height: 30px;
	padding-top: 8px;
}

.ui-select-container>.ui-select-match>.ui-select-toggle>.ui-select-match-text span
	{
	line-height: 15px;
	width: max-content;
}

.ui-select-container>.ui-select-match>.ui-select-toggle>.btn.btn-xs.btn-link.pull-right
	{
	background-color: transparent;
	border: none;
	height: 25px;
	box-shadow: none;
	margin-top: 2px;
}

.ui-select-container>.ui-select-match>.ui-select-toggle>.btn.btn-xs.btn-link.pull-right>.glyphicon.glyphicon-remove::after
	{
	font-family: "FontAwesome";
	content: "\f12d"; /* eraser */
	color: #000;
}

.ui-select-container>.ui-select-match>.ui-select-toggle .ui-select-placeholder
	{
	line-height: 33px;
	color: #98a4a0;
	margin-left: 1px;
}

.ui-select-container.multi-value-field .ui-select-toggle {
	height: 42px;
}

.ui-select-container.multi-value-field .multi-value {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flexbox;
	display: -o-flex;
	display: flex;
	flex-direction: row;
	gap: 5px;
}

.ui-select-container.multi-value-field .multi-value .multi-value-element
	{
	overflow: hidden;
}

.ui-select-container.multi-value-field .multi-value .multi-value-element:first-child:not(:empty):not(:only-child)::after
{
	content: ": ";
}

.ui-select-container.multi-value-field .multi-value .multi-value-element:nth-child(2)
	{
	font-size: 14px;
	font-weight: 500;
}

.approver-lookup .ui-select-container>.ui-select-match>.ui-select-toggle .ui-select-placeholder
	{
	color: #555;
}

.bordered>.ui-select-container {
	border: 1px solid #F5F5F4;
}

.strike-through {
	text-decoration: line-through;
}

.expense-info-container .expense-info-label {
	text-decoration: none;
	font-weight: 600;
	color: #777;
	text-transform: uppercase;
	font-size: 11px;
}

img.mfp-img {
	background-color: #fff;
}

.expense-guest-modal.modal, .favourite-split-select-modal.modal {
	top: 4%;
}

.expense-guest-modal.fbt-50-50.modal {
	width: 400px;
	margin-left: -200px;
}

.expense-guest-modal.fbt-actual.modal {
	width: 600px;
	margin-left: -300px;
}

/* Requires a min height  because of the claimant lookup */
.expense-guest-modal.fbt-actual.modal .modal-body {
	min-height: 280px;
}

/* Make this the same width as the split so that you cant save the split while
   the guest is open */
.expense-maint-expense-split .expense-guest-modal.modal {
	width: 1052px;
	margin-left: -525px;
}

.expense-maint-expense-split .expense-guest-modal.modal .modal-body {
	min-height: 450px;
}

.favourite-split-select-modal.modal {
	width: 600px;
	margin-left: -300px;
}

.favourite-split-select-modal .modal-body {
	min-height: 480px;
}

.favourite-split-select-modal .modal-body .disclaimer {
	font-size: 11px;
}

.favourite-split-select-modal .modal-body h3.groups {
	color: #0A6CB5;
}

.favourite-split-save-modal.modal {
	width: 400px;
	margin-left: -200px;
}

/* Panel Styling - Start */
.panel {
	margin-bottom: 20px;
	background-color: #fff;
	border: 1px solid transparent;
	border-radius: 0;
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.panel-default {
	border-color: #e9e9e9;
}

.panel-primary {
	border-color: #2196f3;
}

.panel-info {
	border-color: #6E8DA5;
}

.panel-info2 {
	border-color: #7986CB;
}

.panel-warning {
	border-color: #64b5f6;
}

.panel-success {
	border-color: #46be8a;
}

.panel-danger {
	border-color: #e9595b;
}

.panel .panel-heading {
	text-transform: uppercase;
	padding: 10px 15px;
	border-bottom: 1px solid transparent;
}

.panel-default>.panel-heading {
	color: #767676;
	background-color: #f5f5f5;
	border-color: #e9e9e9;
}

.panel-primary>.panel-heading {
	color: #fff;
	background-color: #2196f3;
	border-color: #2196f3;
}

.panel-info>.panel-heading {
	color: #fff;
	background-color: #7599B3;
	border-color: #6E8DA5;
}

.panel-info2>.panel-heading {
	color: #fff;
	background-color: #7986CB;
	border-color: #7986CB;
}

.panel-warning>.panel-heading {
	color: #fff;
	background-color: #64b5f6;
	border-color: #64b5f6;
}

.panel-success>.panel-heading {
	color: #fff;
	background-color: #46be8a;
	border-color: #46be8a;
}

.panel-danger>.panel-heading {
	color: #fff;
	background-color: #e9595b;
	border-color: #e9595b;
}

.panel .panel-body {
	padding: 15px;
}

.panel .panel-btn-panel {
	padding-bottom: 5px;
}

/* Panel Styling - End */
.modal-body {
	position: relative;
	max-height: 550px;
	padding: 15px;
	overflow-y: auto;
}

.period-date {
	display: inline-block;
	margin-right: 10px;
}

.division-edit .authority-container {
	padding-bottom: 25px;
	margin-bottom: 10px;
	border-bottom: 1px solid #F5F5F5;
}