﻿@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');

/* LAYOUT */

* {
	box-sizing: border-box;
	-webkit-text-size-adjust: none;
}

html, body {
	margin: 0px;
	padding: 0px;
	height: 100%;
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	font-size: 11pt;
	color: #577370;
	background-color: #f9f9f9;
}

header, nav, main, footer {
	display: block;
}

header {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	background-color: #6d6e71;
	z-index: 1000;
}

main {
	padding: 57px 9px 12px 9px;
}


/* FORMATTING */

a {
	color: #006e34;
	text-decoration: none;
}

	a:hover {
		text-decoration: underline;
	}

	a.no-decoration {
		text-decoration: none;
	}

img {
	max-width: 100%;
}

pre {
	font-family: inherit;
	font-size: inherit;
	white-space: pre-wrap;
}

h1 {
	font-size: 18pt;
	color: #006e34;
	font-weight: 300;
	margin-top: 0px;
}

h2 {
	font-size: 13pt;
	color: #006e34;
	font-weight: 400;
	margin-top: 0px;
}

	h2.no-bottommargin {
		margin-bottom: 0px;
	}

h3 {
	font-size: 10.5pt;
	color: #006e34;
	font-weight: 400;
	margin-top: 0px;
}

hr {
	padding: 0px;
	margin: 10px 0px 10px 0px;
	height: 1px;
	overflow: hidden;
	border-width: 0px;
	background-color: #e6eaf3;
	color: #e6eaf3;
}

.text-center {
	text-align: center;
}

.text-right {
	text-align: right;
}

.text-light {
	color: #a9b8b6;
}

.text-bold {
	font-weight: bold;
}

.text-focus {
	color: #006e34;
}

.text-small {
	font-size: 8pt;
}

.text-big {
	font-size: 22pt;
}

.text-danger {
	color: #ea212d;
}

.inline {
	display: inline-block;
}

.block {
	display: block;
}

.hide {
	display: none !important;
}

.autowidth {
	width: auto !important;
}

.fullwidth {
	width: 100% !important;
}

.no-margin-top {
	margin-top: 0px !important;
}

.no-margin-bottom {
	margin-bottom: 0px !important;
}

.dimmed {
	opacity: .5;
}

.searchempty {
	display: none;
	font-size: 10pt;
}

.far, .fas {
	font-size: 9pt;
}

.h1-filtertext {
	color: #a9b8b6;
	margin-top: -15px;
	font-size: 8.5pt;
}

/* NAVIGATION */

#navbtn {
	float: left;
	position: relative;
}

#nav {
	position: absolute;
	left: 0px;
	top: 100%;
	width: 380px !important;
	padding: 0px !important;
	background-color: #ffffff;
	z-index: 2000;
	cursor: default;
	display: none;
}

	.navitem {
		display: block;
		float: left;
		width: 33.33%;
		padding: 15px 12px 15px 12px !important;
		margin: 0px !important;
		text-align: center;
		color: #676767;
		cursor: pointer;
		font-size: 10pt;
		/*transition: background-color 0.3s;*/
	}

		.navitem:hover {
			background-color: #f9f9f9;
			text-decoration: none;
		}

		.navitem .far, .navitem .fas {
			display: block;
			margin: 0px auto 6px auto;
			font-size: 14pt;
			color: #676767;
		}

#navicons {
	float: right;
}

.navicon {
	position: relative;
	left: 0px;
	top: 0px;
	display: inline-block;
	color: #ffffff;
	padding: 15px 12px 15px 12px;
	/*transition: background-color 0.3s;*/
}

	.navicon:not(.no-hover):hover {
		background-color: #006e34;
		cursor: pointer;
		text-decoration: none;
	}

	.navicon .text {
		font-size: 10.5pt;
		margin-left: 6px;
		position: relative;
		top: 1px;
	}


/* CONTEXTMENU */

.ctxmenu-container {
}

.ctxmenu-overlay {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100vh;
	background: rgba(255, 255, 255, .01);
	cursor: auto;
	z-index: 2000;
	display: none;
}

.ctxmenu {
	position: absolute;
	right: -1px;
	top: 100%;
	width: 250px;
	background-color: #ffffff;
	border: solid 1px #f9f9f9;
	border-radius: 3px;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.06);
	padding: 12px;
	text-align: left;
	line-height: normal;
	z-index: 3000;
	cursor: auto;
	display: none;
}

	.ctxmenu.lookup-list {
		width: 100%;
		max-height: 200px;
		overflow-y: auto;
		padding: 0px 12px 0px 12px;
		box-shadow: none;
		right: auto;
		left: 0px;
	}

		.ctxmenu.lookup-list .lookup-item {
			font-size: 9pt;
		}

			.ctxmenu.lookup-list .lookup-item.optgroup {
				cursor: default;
				font-weight: bold;
			}

	.ctxmenu.left {
		right: auto;
		left: 0px;
	}

	.ctxmenu a.block, .ctxmenu span.block {
		padding: 12px;
		margin: 0px -12px 0px -12px;
		color: #676767;
		/*transition: background-color 0.3s;*/
	}

		.ctxmenu a.block:hover, .ctxmenu span.block:hover {
			background-color: #f9f9f9;
			cursor: pointer;
			text-decoration: none;
		}

			.ctxmenu.lookup-list a.block, .ctxmenu.lookup-list span.block {
				padding: 9px 6px 9px 6px;
			}

	.ctxmenu h2 {
		color: #3a3f51;
		text-transform: uppercase;
		font-size: 10.5pt !important;
	}

		.ctxmenu h2:not(:first-of-type) {
			margin-top: 24px;
		}

	.ctxmenu h3 {
		color: #b3b3b3;
	}

	.ctxmenu a:not(.navitem) i {
		margin-right: 9px;
	}

	.ctxmenu hr {
		margin-top: 3px;
		margin-bottom: 3px;
		border: solid 0px #f9f9f9;
		border-top-width: 1px;
	}

	.ctxmenu i.fas, .ctxmenu i.far {
		/*opacity: .5;*/
	}


/* MODAL */

.modal-container {
	position: fixed;
	left: 0px;
	top: 0px;
	z-index: 2000;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .05);
}

.modal-container:not(.open) {
	visibility: hidden;
	opacity: 0;
}

.modal-container.open {
	visibility: visible;
	opacity: 1;
	transition: opacity .3s;
}

.modal {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 3000;
	width: 90%;
	max-width: 90%;
	max-height: 90%;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

	.modal.box-white {
		padding: 18px;
	}

.modal-lg {
	width: 1024px;
}

.modal-md {
	width: 768px;
}

.modal-sm {
	width: 450px;
}

.modal-sheet {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.modal-header {
	padding: 6px;
	margin-bottom: 12px;
	position: relative;
}

	.modal-header h2 {
		margin-bottom: 0px;
	}

	.modal-innerheader {
		margin-top: 6px;
		color: #a9b8b6;
	}

	.modal-header .icon-btn-group.right {
		position: absolute;
		right: 9px;
		z-index: 2000;
	}

.modal-content {
	padding: 0px 6px 6px 6px;
	text-align: left;
	height: 100%;
	overflow: auto;
}


/* FORMS */

.form-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.form-group {
	position: relative;
	width: 100%;
	margin-bottom: 9px;
}

	.form-group::after {
		content: '';
		clear: both;
		display: table;
	}

	.form-group.quarter {
		width: calc(25% - 3px);
	}

	.form-group.third {
		width: calc(33.33% - 3px);
	}

	.form-group.half {
		width: calc(50% - 3px);
	}

	.form-group.twothird {
		width: calc(66.67% - 3px);
	}

	.form-group.buttons {
		float: none;
		clear: both;
		text-align: right;
		margin-top: 24px;
		margin-bottom: 0px;
		display: flex;
		justify-content: flex-end;
	}

		.form-group.buttons .btn {
			display: inline-block;
			min-width: 100px;
			text-decoration: none;
		}

			.form-group.buttons .btn:not(:first-of-type) {
				margin-left: 6px;
			}

	.form-group label, .form-group .label {
		/*display: block;*/
		margin-bottom: 3px;
		color: #a9b8b6;
		font-size: 10pt;
	}

	.form-group h2, .form-group h3 {
		margin-top: 24px;
		margin-bottom: 9px;
	}

form {
	margin: 0px;
}

.input-container {
	position: relative;
}

.input-container + .input-container {
	margin-top: 6px;
}

.input {
	width: 100%;
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	padding: 9px;
	background: none #f9f9f9;
	border: solid 1px #f9f9f9;
	border-radius: 3px;
	outline: 0;
	resize: none;
	transition: all .5s;
	-webkit-appearance: none;
}

	.input:focus {
		background-color: #eef3f7;
		border: solid 1px #eef3f7;
	}

	.input.lookup {
		padding-right: 30px;
	}

		.input.lookup.selectlist, .input.lookup.picklist {
			cursor: pointer;
		}

	.input-radio, .input-checkbox {
		cursor: pointer;
		opacity: 1 !important;
		margin-top: 3px;
	}

		.input-radio input, .input-checkbox input {
			display: none;
		}

		.input-radio span::before, .input-checkbox span::before {
			font-family: 'Font Awesome 5 Free';
			font-weight: 900;
			color: #f9f9f9;
			background-color: #f9f9f9;
			margin-right: 6px;
			padding: 7px 6px 6px 7px;
		}

			.input-radio span::before {
				border-radius: 50%;
				content: '\f111';
				font-size: 7pt;
				border: solid 2px #f9f9f9;
			}

			.input-checkbox span::before {
				border-radius: 3px;
				content: '\f00c';
			}

				.input-radio input:checked + span::before, .input-checkbox input:checked + span::before {
					color: #006e34;
				}

		.input-checkbox.checkbox-delete span::before {
			font-weight: 400;
			background-color: transparent;
			color: inherit;
			font-size: inherit;
			border-radius: 0px;
			padding: unset;
			content: '\f2ed';
			transition: color .3s;
		}

			.input-checkbox.checkbox-delete input:checked + span::before {
				content: '\f2ed';
				color: #ea212d;
			}

.input-icon {
	position: absolute;
	right: 7px;
	top: 9px;
	z-index: 20;
}

	.input-icon + .input {
		padding-right: 30px;
	}

	span.input-icon {
		color: #006e34;
	}

.btn {
	border-width: 0px;
	border-radius: 3px;
	outline: 0;
	background: none #006e34;
	color: #ffffff;
	font-size: 10pt;
	opacity: .9;
	padding: 9px 12px 9px 12px;
	cursor: pointer;
	transition: background .5s;
	text-align: center;
	-webkit-appearance: none;
}

	.btn:hover {
		background: none #006e34;
		text-decoration: none;
		opacity: 1;
	}

	.btn.simple {
		background: none #f9f9f9;
		color: #006e34;
	}

		.btn.simple:hover {
			background: none #eef3f7;
		}

	.btn.clean {
		background: none transparent;
		color: #a9b8b6;
	}

		.btn.clean:hover {
		}

	.btn.danger {
		background: none #ea212d;
		color: #ffffff;
	}

		.btn.danger:hover {
			background: none #e2202c;
		}

::placeholder {
	color: #abb9b7;
	font-size: 9pt;
}

.validation-summary-errors, .field-validation-error {
	color: #ea212d;
	font-size: 8pt;
}

	.validation-summary-errors ul {
		padding-left: 18px;
	}

.field-validation-error {
	padding: 6px;
	display: block;
	text-align: right;
}


/* FORM DATA BADGES */

#formDataBadge {
	position: fixed;
	right: 0px;
	top: 60px;
	z-index: 2000;
	padding: 12px;
	border-radius: 3px 0px 0px 3px;
	color: #ffffff;
	font-size: 9pt;
	transition: right 1.2s;
}

	#formDataBadge.ok {
		background-color: #0a991b;
	}

	#formDataBadge.error {
		background-color: #ea212d;
	}

	#formDataBadge.closed {
		right: -400px;
	}


/* BOXES */

.box-white {
	background: #ffffff none;
	padding: 24px;
	border-radius: 3px;
}

	.box-white:not(.no-shadow) {
		box-shadow: 0 1px 5px rgba(0, 0, 0, 0.06);
	}


/* GRID */

.grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	padding: 0px;
	margin: 0px -6px 0px -6px;
}

	.grid.flex-start {
		justify-content: flex-start;
	}

		.grid.flex-start .griditem {
			margin-left: 6px;
			margin-right: 6px;
		}

	.grid.no-equal-height {
		align-items: flex-start;
	}

.griditem {
	margin-bottom: 12px;
	padding: 18px;
	position: relative;
}

	.griditem.no-padding {
		padding: 0px;
	}

.gridheader::after {
	content: '';
	clear: both;
	display: table;
	margin-bottom: 12px;
}

.griditem.col-0 {
	width: 0px;
	margin: 0px;
	overflow: hidden;
}

.griditem.col-1 {
	width: calc(8.3333% - 12px);
}

.griditem.col-2 {
	width: calc(16.6666% - 12px);
}

.griditem.col-3 {
	width: calc(24.9999% - 12px);
}

.griditem.col-4 {
	width: calc(33.3332% - 12px);
}

.griditem.col-5 {
	width: calc(41.6665% - 12px);
}

.griditem.col-6 {
	width: calc(49.9998% - 12px);
}

.griditem.col-7 {
	width: calc(58.3331% - 12px);
}

.griditem.col-8 {
	width: calc(66.6664% - 12px);
}

.griditem.col-9 {
	width: calc(74.9997% - 12px);
}

.griditem.col-10 {
	width: calc(83.333% - 12px);
}

.griditem.col-11 {
	width: calc(91.6663% - 12px);
}

.griditem.col-12 {
	width: calc(99.9996% - 12px);
}



/* ICON-BUTTONS GROUP */

.icon-btn-group {
	float: left;
	/*margin-top: 3px;*/
}

	.icon-btn-group:not(.right) .icon-btn {
		margin-right: 6px;
	}

	.icon-btn-group.right {
		float: right;
		margin-right: 3px;
	}

		.icon-btn-group.right .icon-btn {
			margin-left: 6px;
		}

.icon-btn {
	display: inline-block;
	position: relative;
	left: 0px;
	top: 0px;
	padding: 18px;
	margin: -6px -12px -6px -12px;
	border-radius: 50%;
	color: #006e34;
	cursor: pointer;
	/*transition: background-color .3s;*/
}

	.icon-btn > i {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
	}

	.icon-btn:hover, .icon-btn.active {
		background-color: #f9f9f9;
	}


/* TABLE */

.table {
	display: table;
	width: 100%;
}

	.table.fixed {
		table-layout: fixed;
	}

.table-head {
	display: table-header-group;
}

.table-body {
	display: table-row-group;
}

.table-row {
	display: table-row;
}

	.table-row:hover {
		background-color: #f9f9f9;
	}

	.table.no-hover > .table-body > .table-row, .table.no-hover > .table-row:hover, .table-row.no-hover:hover, .table-row.header, .table-row.footer {
		background-color: transparent;
	}

	.table-row.header {
		color: #a9b8b6;
		text-transform: uppercase;
		font-size: 10pt;
	}

		.table-row.header .table-cell.col-sort {
			cursor: ns-resize;
			user-select: none;
		}

			.table-row.header .table-cell.col-sort.sort-col:not(.col-sort-desc)::after {
				/*content: ' \02c5';*/
			}

			.table-row.header .table-cell.col-sort.sort-col.col-sort-desc::after {
				/*content: ' \02c4';*/
			}

	.table-row.pick {
		cursor: pointer;
	}

	.table-row.footer {
		font-weight: bold;
	}

		.table-row.footer .table-cell {
			border-bottom-width: 0px;
		}

	.table.no-border > .table-body > .table-row > .table-cell, .table.no-border > .table-row > .table-cell, .table-row.no-border > .table-cell, .table-cell.no-border {
		border-width: 0px;
	}

	.table.no-padding > .table-row > .table-cell, .table-row.no-padding > .table-cell, .table-cell.no-padding {
		padding: 0px;
	}

.table-cell {
	display: table-cell;
	border-bottom: solid 1px #f3f3f3;
	padding: 9px;
	position: relative;
	vertical-align: middle;
}

	.table-cell.indent {
		padding-left: 24px;
	}

	.table-cell.actions {
		text-align: right;
	}

		.table-cell.actions i {
			margin-left: 9px;
		}


/* LOGIN */

.loginbox {
	margin-top: 24px;
}

.logo-login {
	height: 18px;
	width: auto;
	margin-right: 6px;
	float: left;
}


@media (max-width: 1200px) {

	.griditem.no-padding-lg {
		padding: 0px;
	}

	.griditem.no-margin-bottom-lg {
		margin-bottom: 0px;
	}

	.griditem.col-lg-0 {
		width: 0px;
		margin: 0px;
		overflow: hidden;
	}

	.griditem.col-lg-1 {
		width: calc(8.3333% - 12px);
	}

	.griditem.col-lg-2 {
		width: calc(16.6666% - 12px);
	}

	.griditem.col-lg-3 {
		width: calc(24.9999% - 12px);
	}

	.griditem.col-lg-4 {
		width: calc(33.3332% - 12px);
	}

	.griditem.col-lg-5 {
		width: calc(41.6665% - 12px);
	}

	.griditem.col-lg-6 {
		width: calc(49.9998% - 12px);
	}

	.griditem.col-lg-7 {
		width: calc(58.3331% - 12px);
	}

	.griditem.col-lg-8 {
		width: calc(66.6664% - 12px);
	}

	.griditem.col-lg-9 {
		width: calc(74.9997% - 12px);
	}

	.griditem.col-lg-10 {
		width: calc(83.333% - 12px);
	}

	.griditem.col-lg-11 {
		width: calc(91.6663% - 12px);
	}

	.griditem.col-lg-12 {
		width: 100%;
	}

	.show-lg {
		display: inline-block;
	}

	.hide-lg {
		display: none;
	}
}



@media (max-width: 900px) {

	main {
		padding: 54px 3px 12px 3px;
	}

	h1 {
		font-size: 15pt;
	}

	h2 {
		font-size: 12pt;
	}

	h3 {
		font-size: 10.5pt;
	}

	.griditem.col-md-0 {
		width: 0px;
		margin: 0px;
		overflow: hidden;
	}

	.griditem.col-md-1 {
		width: calc(8.3333% - 12px);
	}

	.griditem.col-md-2 {
		width: calc(16.6666% - 12px);
	}

	.griditem.col-md-3 {
		width: calc(24.9999% - 12px);
	}

	.griditem.col-md-4 {
		width: calc(33.3332% - 12px);
	}

	.griditem.col-md-5 {
		width: calc(41.6665% - 12px);
	}

	.griditem.col-md-6 {
		width: calc(49.9998% - 12px);
	}

	.griditem.col-md-7 {
		width: calc(58.3331% - 12px);
	}

	.griditem.col-md-8 {
		width: calc(66.6664% - 12px);
	}

	.griditem.col-md-9 {
		width: calc(74.9997% - 12px);
	}

	.griditem.col-md-10 {
		width: calc(83.333% - 12px);
	}

	.griditem.col-md-11 {
		width: calc(91.6663% - 12px);
	}

	.griditem.col-md-12 {
		width: 100%;
	}

	.show-md {
		display: inline-block;
	}

	.hide-md {
		display: none;
	}
}



@media (max-width: 600px) {

	.form-group.buttons {
		text-align: center;
		flex-direction: column-reverse;
	}

		.form-group.buttons .btn {
			width: 100%;
			margin: 0px 0px 6px;
		}

	.form-group.quarter, .form-group.third, .form-group.half  {
		width: 100%;
	}

	.btn {
		padding: 9px 9px 9px 9px;
	}

	.griditem {
		padding: 18px;
	}

		.griditem.col-sm-0 {
			width: 0px;
			margin: 0px;
			overflow: hidden;
		}

		.griditem.col-sm-1 {
			width: calc(8.3333% - 12px);
		}

		.griditem.col-sm-2 {
			width: calc(16.6666% - 12px);
		}

		.griditem.col-sm-3 {
			width: calc(24.9999% - 12px);
		}

		.griditem.col-sm-4 {
			width: calc(33.3332% - 12px);
		}

		.griditem.col-sm-5 {
			width: calc(41.6665% - 12px);
		}

		.griditem.col-sm-6 {
			width: calc(49.9998% - 12px);
		}

		.griditem.col-sm-7 {
			width: calc(58.3331% - 12px);
		}

		.griditem.col-sm-8 {
			width: calc(66.6664% - 12px);
		}

		.griditem.col-sm-9 {
			width: calc(74.9997% - 12px);
		}

		.griditem.col-sm-10 {
			width: calc(83.333% - 12px);
		}

		.griditem.col-sm-11 {
			width: calc(91.6663% - 12px);
		}

		.griditem.col-sm-12 {
			width: 100%;
		}

	.show-sm {
		display: inline-block;
	}

	.hide-sm {
		display: none;
	}
}


@media print {

	.hide-print {
		display: none;
	}

	.show-print {
		display: inline-block;
	}
}