* {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

html, body {
	height: 100%;
	padding: 0px;
	margin: 0px;
}

form {
	margin: 0;
}

body.js {
	display: none;
}

a, a:visited {
	color: #3b73af;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a, .actionbtn, .icon-collapsed, .icon-expanded,
.icon-checkbox-unchecked:not(.bool), .icon-checkbox-checked:not(.bool),
.icon-minus-box, .icon-delete, .icon-partly-filter-checked, 
.icon-partly-filter-unchecked, .icon-partly-filter-partly-checked,
input[type=checkbox]:enabled {
	cursor: pointer;
}

[class^="icon-"], [class*=" icon-"] {
	font-weight: inherit;
}

.icon-checkbox-unchecked:hover svg,
.icon-checkbox-checked:hover svg,
.icon-partly-filter-checked:hover svg,
.icon-partly-filter-partly-checked:hover svg,
.icon-partly-filter-unchecked:hover svg,
.icon-minus-box:hover svg {
	filter: drop-shadow( 0px 0px 2px #3C90F2);
}


table {
	border: none;
	border-collapse: collapse;
}

td.r, th.r, .r td, .c th {
	text-align: right !important;
}

td.c, th.c, .c td, .c th {
	text-align: center !important;
}

.r input[type='text'] {
	text-align: right !important;
}

header h1 {
	color: white;
	margin: 0px;
	padding: 0px;
	font-size: 1.4em;
	font-weight: normal;
}

header .iw-contextMenu, .tree .iw-contextMenu {
	position: fixed;
}

.contentheader h2 {
	font-size: 1.5em;
	font-weight: normal;
	margin: 0px 0px 4px 0px;
}

.contentheader h2 a {
	text-decoration: none;
}

/*h3 {
	font-size: 1.2em;
	font-weight: 500;
	margin: 0px 0px 8px 0px;
}*/

img {
	border: 0;
}

@media (resolution: 120dpi) {
	img.fixscale {
		width: 80%;
	}
}

@media (resolution: 150dpi) {
	img.fixscale {
		width: 50%;
	}
}

/*img.loading {
	background: transparent url('/i/loading.gif') center no-repeat;
}*/

.middle {
	vertical-align: middle;
}

.hide {
	display: none !important;
}

.smaller {
	font-size: smaller;
}


input.text {
	width: 300px;
}

.icon {
	display: inline-block;
	min-width: 16px;
	text-align: center;
}
.icon.bool {
	color: gray;
}

.actionbtn i.icon:first-child, .actionlink i.icon, .nav a .icon {
	margin-right: 4px;
}

/* forms */
.width100 {
	width: 100%;
}

.widthstd {
	width: 700px;
}

.height100column {
	height: 100%;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
}

.height100column form {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.widthstd2x {
	width: 100%;
	max-width: 1400px;
}

.formtable .formlabel {
	width: 30%;
}

.formtable .formbody {
	width: 70%;
}

.formtable {
	margin-bottom: 7px;
	width: 100%;
}

.contentbodypadding {
	padding: 8px;
}

.formtable td {
	vertical-align: top;
}

.formbody textarea {
	width: 100%;
	height: 75px;
}

.radiobuttonlist label, .checkboxlist label {
	display: flex;
	margin: 2px 0 2px 0;
}

.radiobuttonlist.horizontal {
	display: flex;
}

.radiobuttonlist.horizontal label:not(:first-child), .checkboxlist.horizontal label:not(:first-child) {
	margin: 2px 0 2px 12px;
}


hr {
	color: #003399;
	height: 2px;
}

.formtable .formbody {
	line-height: 1.3em;
}

.contentheader {
	background-color: #f5f5f5;
	padding: 0 8px 0 8px;
	display: inline-block;
	width: 100%;
}

.contentheader .cramb {
	padding: 6px 0 4px 0;
}

.formtable tr:not(:first-child) {
	border-top: 1px solid #bad6dd;
}

.formbody {
	vertical-align: top;
	background: #ebf3ff;
	padding: 3px 6px 4px 6px;
}

.formbody input[type=text],
.formbody input[type=password],
.formbody select,
.formbody textarea {
	width: 100%;
}

.inpstd .formbody input[type=text],
.inpstd .formbody input[type=password],
.inpstd .formbody select,
.inpstd .formbody textarea {
	width: auto;
}

.formlabel {
	text-align: left;
	padding-top: 3px;
	padding-right: 8px;
	padding-bottom: 6px;
	color: #525252;
	font-weight: bold;
}

.formvalidation {
	color: #ff0000;
}

.descriptiontext {
	font-weight: normal;
	font-size: smaller !important;
	margin: 3px 0 0 1px
}

.btn {
	width: 7.5em;
	height: 1.9em;
	cursor: pointer;
}

.btn-primary:focus {
	outline: 0;
}

.buttonsbar {
	display: flex;
	min-height: 30px;
}
form .buttonsbar {
	padding-top: 8px;
}

.modal-footer .right, .buttonsbar .right {
	margin-left: auto;
	display: flex;
	align-items: center;
}

.modal-footer .right > *, .buttonsbar .right > *, .buttonsbar .left > * {
	margin-left: 4px;
}


/* lists */
.listviewtable th {
	font-weight: normal;
	color: #b2b2b2;
	text-align: left;
	text-decoration: none;
	vertical-align: top;
	background-color: #f2f2f2;
	padding: 4px 6px;
}

.listviewtable .gr {
	height: 22px;
	font-weight: bold;
	border-bottom: 1px solid #8ebbf5;
	border-top: 1px solid #f9f9f9;
	padding: 14px 8px 3px 8px;
}

.listviewtable td {
	padding: 4px 6px;
}

.listviewtable .alt {
	background: #f9f9f9;
}

.listviewtable .del {
	background-color: #ccc;
	text-decoration: line-through;
}

.listviewtable.hover tr:hover:not(.sel_info) {
	background-color: #AFEEEE;
}

.listviewtable tr.checked:not(.child-checked):not(.parent-checked) {
	background-color: #c2dbff;
}

.listviewtable tr.checked.parent-checked {
	background-color: #c2dbff;
}


.listviewtable tr:has(input[type="radio"]:checked){
	background-color: #c2dbff;
}

.listviewtable .sel_info {
	text-align: center;
}

.listviewtable .sel_info span {
	font-weight: bold;
}

/*.listviewtable th {
	position: relative;
}
*/
.listviewtable th .dropdownimage {
	font-size: x-small;
	visibility: hidden;
	position: absolute;
	right: 0;
	top: 0;
}

.listviewtable th:hover .dropdownimage {
	visibility: visible;
}

.listviewtable td.sel {
	user-select: none;
}
/*.listviewtable tr:focus {
	background-color: orange !important;
}*/

.cellborders .border-l {
	border-left: solid 1px #bbb;
}

.cellborders .border-r {
	border-right: solid 1px #bbb;
}

.cellborders .border-b {
	border-bottom: solid 1px #bbb;
}

.cellborders .border-t {
	border-top: solid 1px #bbb;
}

.cellborders .border-l-wide {
	border-left: solid 3px #bbb;
}

.cellborders .border-r-wide {
	border-right: solid 3px #bbb;
}

.cellborders .border-b-wide {
	border-bottom: solid 3px #bbb;
}

.cellborders .border-t-wide {
	border-top: solid 3px #bbb;
}

.inlinefilter {
	padding: 4px;
	font-size: smaller;
}

.filterbtn.hascriteria, .listsettings-enabled {
	font-weight: bold;
	color: #F36F38;
}

/* two columns table/row*/
.twocolumnstable {
	display: table;
	width: 100%;
	border-spacing: 4px;
}

.twocolumnsrow {
	display: table;
	width: 100%;
}

.twocolumnstable .twocolumnsrow {
	display: table-row;
}

.twocolumnstable .twocolumnsrow:not(:first-child) > div {
	padding-top: 4px;
}

.twocolumnstable .twocolumnsrow input[type=text], .twocolumnstable .twocolumnsrow input[type=password],
.twocolumnstable .twocolumnsrow select, .twocolumnstable .twocolumnsrow textarea {
	width: 100%;
}

.twocolumnsrow > div {
	display: table-cell;
}

.twocolumnstable .twocolumnsrow > div:first-child {
	padding-right: 4px;
}

.twocolumnsrow.longfirst > div:first-child {
	width: auto;
}

.twocolumnsrow.longfirst > div:last-child {
	width: 20px;
	text-align: right;
}

.twocolumnsrow.longlast > div:first-child {
	width: 20px;
	text-align: left;
}

.twocolumnsrow.longlast > div:last-child {
	width: auto;
}


/* menu */
/* toolbar */
.menutoolbar {
	border-bottom: 1px solid #ccc;
	width: 100%;
	display: flex;
	justify-content: space-between;
}

.menutoolbar ul {
	margin: 0;
	padding: 0px 8px 4px 8px;
	border: 0;
	list-style-type: none;
	min-height: 42px;
	display: flex;
	align-content: center;
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
}

.menutoolbar li {
	border: 0;
	padding-top: 4px;
}

.menutoolbar-left {
	float: left;
}

.menutoolbar-right {
	float: right;
}

.menutoolbarseparator {
	width: 6px;
}

.menutoolbar-left h3 {
	margin: 0 8px 0 -8px;
}

.menutoolbar-field {
	display: flex;
	align-items: center;
}
.menutoolbar-field > div:nth-child(2) {
	padding-left: 4px;
}

.topmargin {
	margin-top: 12px;
}

.actionbtn, .actionimg, .btn-primary {
	border: 1px solid #d5d5d5;
	padding: 3px 9px;
	background-color: #eee;
	background-image: -webkit-linear-gradient(#fcfcfc, #eee);
	background-image: linear-gradient(#fcfcfc, #eee);
	white-space: nowrap;
}

a.actionbtn, a.actionimg {
	text-decoration: none;
	color: #333;
}

.actionbtn:hover, .actionimg:hover, .btn-primary:hover {
	background-image: -webkit-linear-gradient(#fcfcfc, #ddd);
	background-image: linear-gradient(#fcfcfc, #ddd);
	border: 1px solid #c6c6c6;
}

.actionbtn:active, .actionimg:active, .btn:active {
	background-image: -webkit-linear-gradient(#ddd, #fcfcfc);
	background-image: linear-gradient(#ddd, #fcfcfc);
	border: 1px solid #4d90fe;
}

.actionbtn .icon-dropdownarrow {
	font-size: x-small;
}
.actionbtn .icon-dropdownarrow svg {
	width: 12px;
	height: 12px;
}

.disabled {
	color: gray;
	background-image: none;
	background-color: #f2f2f2;
	cursor: pointer;
	pointer-events: none;
}

a.disabled > i.icon {
	color: gray;
}

.backbutton {
	margin-right: 8px;
}

.badge {
	position: absolute;
	top: -7px;
	right: -7px;
	background: #f00;
	display: inline-block;
	font-size: 10px;
	color: #fff;
	padding: 2px 3px;
	text-align: center;
	font-family: Segoe UI, 'Open Sans', Trebuchet MS;
}

.dropdownmenu a.task-progress {
	padding: 4px 12px 12px 12px;
}

.dropdownmenu a.task-progress:hover {
	background-color: #eff0f1;
	color: #333;
}

.dropdownmenu a.task-progress:not(:last-child) {
	border-bottom: #ccc;
}

.task-progress > div:first-child > span {
	text-align: right;
}

.task-progress > div:last-child {
	position: relative;
	overflow: hidden;
	height: 7px;
	background-color: #eee;
}

.task-progress > div:last-child > span {
	position: absolute;
	overflow: hidden;
	float: left;
	height: 100%;
	background-color: #57889c;
	padding: 0px;
}

.formbody input[readonly],
.formbody textarea[readonly],
.formbody select[disabled], .formbody select.readonly, .formbody select option:disabled,
.formbody div[data-disabled] {
	background-color: #e5e5e5;
}

.formbody input:read-only, .formbody textarea:read-only {
	background-color: #e5e5e5;
}

.grid60, .fieldsblock-grid, .block-body {
	display: grid;
	grid-template-columns: repeat(60, 1fr);
	align-items: flex-start;
}

.grid-sidebar-2col {
	display: grid;
	grid-template-columns: max-content 1fr;
	height: 100%;
}

@media (min-width: 600px) {
	.grid60 .grid-cols2 {
		width: 100%;
		columns: 100px 2;
		column-gap: 20px;
	}

	.grid-cols2 > * {
		-webkit-column-break-inside: avoid;
		page-break-inside: avoid;
		break-inside: avoid;
	}
}


@media (max-width: 600px) {
	.grid60, .fieldsblock-grid, .block-body {
		width: 100%;
		max-width: 600px;
	}

	.grid60 > *, .fieldsblock-grid > *, .block-body > * {
		grid-column-end: span 60 !important
	}

	.field-label {
		width: 30% !important;
	}

	.field-body {
		width: 70% !important;
	}
}
@container (max-width: 880px) {
	.grid60, .fieldsblock-grid, .block-body {
		width: 100%;
		max-width: 600px;
	}

	.grid60 > *, .fieldsblock-grid > *, .block-body > * {
		grid-column-end: span 60 !important
	}

	.field-label {
		width: 30% !important;
	}

	.field-body {
		width: 70% !important;
	}
}

.fieldsblock-grid, .grid60 > *, .block-body > * {
	grid-column-end: span 60;
}


.viewform.grid60, .editform.grid60 {
	grid-column-gap: 20px;
}

.fieldsblock-grid .field {
	display: flex;
	flex-direction: row;
	grid-column-end: span 60;
}

.field-label {
	text-align: left;
	padding-top: 3px;
	padding-right: 8px;
	padding-bottom: 6px;
	color: #6b778c;
	font-weight: 500;
}

.viewform .field-label, .block-collapsible .field-label {
	font-weight: normal;
}

.field-body {
	vertical-align: top;
	/*background: #ebf3ff;*/
	padding: 3px 6px 4px 6px;
}

/*.fieldsblock-grid > div:not(:first-child) {
	border-top: 1px solid #bad6dd;
}*/
.field-body input[type=text],
.field-body input[type=password],
.field-body select,
.field-body textarea {
	width: 100%;
	background-color: #fafbfc;
	border-color: #aaa;
	border-width: thin;
}

.inpstd .field-body input[type=text],
.inpstd .field-body input[type=password],
.inpstd .field-body select,
.inpstd .field-body textarea {
	width: auto;
}

.field-validation {
	color: #ff0000;
}

.field-description {
	font-weight: normal;
	font-size: smaller !important;
	margin: 3px 0 0 1px
}

.field-plaintext {
	display: block;
	background-color: #ebf3ff;
	padding: 2px;
	word-wrap: break-word;
}

.field-plaintext::after {
	content: '\200B';
}

.field-body input[type=text].cal-date {
	width: 85px;
	background-color: transparent;
}

.field-editableplaintext {
	padding: 0;
	background-color: #ebf3ff;
	border: solid 1px transparent;
	cursor: text;
}
.field-editableplaintext > a {
	display: flex;
	flex-direction: row;
	color: inherit;
}
.field-editableplaintext > a:hover {
	text-decoration: none;
}
.field-editableplaintext .field-editableplaintext-text {
	flex: 1;
}
.field-editableplaintext .field-editableplaintext-btn {
	visibility: hidden;
	padding-left: 2px;
	cursor: pointer;
}
.field-editableplaintext .field-editableplaintext-btn .svgicon-edit2 {
	width: 12px;
	height: 12px;
}
.field-editableplaintext:not(.field-editableplaintext-editmode):hover {
	border: solid 1px #c2dbff;
}
.field-editableplaintext:not(.field-editableplaintext-editmode):hover .field-editableplaintext-btn {
	visibility: initial;
	background-color: #c2dbff;
}

.field-editableplaintext-editmode {
	position:relative;
}
.field-editableplaintext-editmode .field-editableplaintext-btn {
	position: absolute;
	right: 0;
	visibility: visible;
	background-color: white;
	border: 1px solid #ddd;
	display: flex;
	padding: 2px;
	gap: 2px;
	box-shadow: 0 3px 6px rgba(111,111,111,0.2);
}
.field-editableplaintext-editmode .field-editableplaintext-btn .svgicon-true {
	color: mediumseagreen;
}
.field-editableplaintext-editmode .field-editableplaintext-btn .svgicon-close {
	color: inherit;
}
.field-editableplaintext-editmode .field-editableplaintext-btn > a {
	border-radius: 3.01px;
	cursor: pointer;
	background-color: rgba(9,30,66,0.13);
	display: inline-block;
	height: 24px;
	padding: 0 4px;
	margin: 0;
	display: flex;
	align-items: center
}

/*.field-editableplaintext:hover {
	border: none;
}

.field-editableplaintext-editmode .field-editableplaintext:hover .field-editableplaintext-btn {
	visibility: initial;
	background-color: none;
}
*/
