body
{
	font-family: Arial, Helvetica, sans-serif;
	box-sizing: border-box;
	padding: 0px;
	margin: 0px;
	height: 100%;
}

*, *:before, *:after
{
	box-sizing: inherit;
}

div.pagebody
{
	padding-top: 1em;
	padding-left: 1em;
	padding-right: 1em;
}

table
{
	/*font-size: 10pt;*/
	border: 2px solid black;
	border-collapse: collapse;
	table-layout: fixed;
}

table.compact
{
	font-size: 8pt;
}

td
{
	border: 1px solid black;
	padding: 5px;
	text-align: center;
	vertical-align: middle;
}

th
{
	border: 1px solid black;
	background-color: darkred;
	color: white;
	padding: 5px;
	text-align: center;
	vertical-align: middle;
}

th.fixed4
{
	width: 4em;
}

th.fixed6
{
	width: 6em;
}

th.fixed8
{
	width: 8em;
}

th.fixed10
{
	width: 10em;
}

th.fixed12
{
	width: 12em;
}

th.fixed16
{
	width: 16em;
}

th.fixed20
{
	width: 20em;
}

th.fixed24
{
	width: 24em;
}

th.fixed32
{
	width: 32em;
}

th.left
{
	text-align: left;
}

td.event-message
{
	text-align: left;
	max-width: 60em;
	width: 60em;
	min-width: 10em;
}

th.minor
{
	background-color: white;
	color: black;
}

th.primary
{
	border: 2px solid black;
}

th.secondary
{
	background-color: #f1bf4e;
	color: black;
}

th.tertiary
{
	background-color: #666666;
	color: white;
}

td.ellipsis
{
	max-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

td.left
{
	text-align: left;
}

a.imglink
{
	text-decoration: none;
}

span.small
{
	font-size: 7pt;
}

div.warnbox
{
	background: #ffcc60;
	padding: 0.5em;
	border-bottom: 2px solid black;
	text-align: center;
}

div.dangerbox
{
	background: #ff2020;
	padding: 0.5em;
	border-bottom: 2px solid black;
	text-align: center;
	color: white;
}

div.noticebox
{
	background: #80ddff;
	padding: 0.5em;
	border-bottom: 2px solid black;
	text-align: center;
}

p.footer
{
	text-align: center;
	color: #888888;
	font-style: italic;
	font-size: small;
	padding-top: 3em;
}

p.returnlink
{
	font-size: 8pt;
}

p.indented
{
	padding-left: 2em;
}

p.double-indented
{
	padding-left: 4em;
}

pre.indented
{
	padding-left: 2em;
}

span.tree-line
{
    border-bottom: 1px solid;
    border-left: 1px solid;
    height: 1.2em;
    width: 2em;
    display: inline-block;
    margin-bottom: 0.3em;
    margin-left: 1em;
}

span.ou-icon::before
{
	content: '🏢';
}

ul.tree-list
{
	list-style: none;
	border-left: 1px solid black;
	padding-left: 0em;
	margin-left: 1em;
	margin-top: 0em;
	/*padding-left: 2em;*/
}

li.tree-item
{
	/*margin-left: 2em;*/
	margin-top: 0.5em;
}

.navbar
{
	background-color: #202020;
	overflow: hidden;
}

.navbar a
{
	float: left;
	display: block;
	color: #f0f0f0;
	text-align: center;
	padding: 0.5rem 2rem;
	text-decoration: none;
}

.navbar a:hover
{
	background-color: #606060;
}

.navbar a.active
{
	background-color: darkred;
}

.navbar a.login
{
	float: right;
	padding: 0.5rem 2rem;
	margin-right: 2em;
}

.navbar a.impersonation
{
	background-color: darkred;
}

.titlebar
{
	line-height: 3.5rem;
	border-bottom: 2px solid black;
	text-align: center;
	background-color: #f0f0f0;
}

.titlebar span.title
{
	display: inline-block;
	vertical-align: middle;
	color: #202020;
	font-size: 1.5rem;
	font-weight: bold;
}

.titlebar img.logo
{
	vertical-align: middle;
	height: 2rem;
}

.navbar span.sub
{
	float: left;
	display: block;
	color: #f0f0f0;
	text-align: center;
	padding: 0.5rem 1rem;
	color: #f0f0f0;
	border-left: 1px solid #f0f0f0;
	border-right: 1px solid #f0f0f0;
}

.disabled
{
	cursor: not-allowed !important;
	opacity: 0.5 !important;
}

.actionbutton
{
	border: 1px solid black;
	background-color: #f0f0f0;
	margin: 1rem 1rem;
	cursor: pointer;
	padding: 0.5rem;
	line-height: 3rem;
}

.actionbutton:hover:not(.disabled)
{
	background-color: #f8f8d0;
}

.actionbutton span.icon
{
	float: left;
	display: inline-block;
	color: black;
	text-align: center;
	vertical-align: middle;
	font-size: 20pt;
	min-width: 2.5em;
}

.actionbutton span.content
{
	display: inline-block;
	text-align: left;
	vertical-align: middle;
	line-height: normal;
}

.actionbutton span.title
{
	font-weight: bold
}

.actionbutton span.caption
{
	font-size: 9pt;
}

.listtable
{
	width: 100%;
	border: 1px solid black;
	border-collapse: collapse;
	table-layout: fixed;
}

.listtable td
{
	border: 1px solid black;
	padding: 0.5rem;
	text-align: left;
	vertical-align: middle;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	max-width: 20em;
}

.listtable td.basiccell
{
	text-align: center;
	width: 8rem;
}

.listtable td.iconcell
{
	width: 6rem;
	text-align: center;
	font-size: 8pt;
}

.listtable td.checkcell
{
	width: 6rem;
	text-align: center;
	vertical-align: middle;
	font-size: 8pt;
}

.listtable td.noresultcell
{
	text-align: center;
	color: darkred;
	font-style: italic;
	background-color: #f0f0f0;
}

.listtable p
{
	padding: 0.25em;
	margin: 0px;
}

.minibutton
{
	display: inline-block;
	background-color: #f0f0f0;
	color: #202020;
	border: 1px solid black;
	padding: 0.25em 0.4em;
	text-decoration: none;
	cursor: pointer;
}

.minibutton-selected
{
	display: inline-block;
	background-color: darkred;
	color: #f0f0f0;
	border: 1px solid black;
	padding: 0.25em 0.4em;
	text-decoration: none;
	cursor: pointer;
}

.minibutton:hover:not(.disabled)
{
	background-color: #f8f8d0;
}

abbr.largeicon
{
	font-size: 2rem;
}

span.largeicon
{
	font-size: 2rem;
}

tr.selectable
{
	background-color: #f0f0f0;
	cursor: pointer;
}

tr.checkable
{
	background-color: #f0f0f0;
}

tr.selectable:hover:not(.disabled)
{
	background-color: #f8f8d0;
}

p.filterline
{
	font-size: 8pt;
}

.form-outer
{
	width: 100%;
	border-top: 1px solid black;
}

.form-field
{
	width: 100%;
	border-bottom: 1px solid black;
}

.form-field p.form-field-label
{
	/*color: #606060;*/
}

.form-field p.form-field-label-warning
{
	color: red;
	font-weight: bold;
}

.form-field p.form-field-note
{
	color: #707070;
	font-size: 8pt;
}

.form-field p.form-field-payload
{
	padding-left: 2em;
}

input
{
	background-color: #f0f0f0;
}

textarea
{
	background-color: #f0f0f0;
}

input.text6
{
	width: 6em;
}

input.text8
{
	width: 8em;
}

input.text16
{
	width: 16em;
}

input.text20
{
	width: 20em;
}

input.mediumtext
{
	width: 32em;
}

input.pricetext
{
	width: 10em;
}

textarea.mediumtext
{
	width: 32em;
}

.form-field span.form-field-toggle
{
	float: right;
	display: block;
}

.submitbutton
{
	border: 1px solid black;
	background-color: #60ff60;
	margin: 0.5rem 0.5rem;
	cursor: pointer;
	padding: 0.25rem;
	line-height: 2rem;
}

.mediumbutton
{
	display: inline-block;
	background-color: #f0f0f0;
	color: #202020;
	border: 1px solid black;
	padding: 0.25em 0.4em;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 1px 1px;
}

.mediumbutton-green
{
	display: inline-block;
	background-color: #90ff90;
	color: black;
	border: 1px solid black;
	padding: 0.25em 0.5em;
	text-decoration: none;
	cursor: pointer;
	font-size: 16pt;
	line-height: 2em;
	box-shadow: 1px 1px;
}

.mediumbutton-blue
{
	display: inline-block;
	background-color: #b0d0ff;
	color: black;
	border: 1px solid black;
	padding: 0.25em 0.5em;
	text-decoration: none;
	cursor: pointer;
	font-size: 16pt;
	line-height: 2em;
	box-shadow: 1px 1px;
}

.mediumbutton-yellow
{
	display: inline-block;
	background-color: #ffcc90;
	color: black;
	border: 1px solid black;
	padding: 0.25em 0.5em;
	text-decoration: none;
	cursor: pointer;
	font-size: 16pt;
	line-height: 2em;
	box-shadow: 1px 1px;
}

.mediumbutton-red
{
	display: inline-block;
	background-color: #ff9090;
	color: black;
	border: 1px solid black;
	padding: 0.25em 0.5em;
	text-decoration: none;
	cursor: pointer;
	font-size: 16pt;
	line-height: 2em;
	box-shadow: 1px 1px;
}

.mediumbutton-purple
{
	display: inline-block;
	background-color: #aa80ff;
	color: black;
	border: 1px solid black;
	padding: 0.25em 0.5em;
	text-decoration: none;
	cursor: pointer;
	font-size: 16pt;
	line-height: 2em;
	box-shadow: 1px 1px;
}

.mediumbutton-deepred
{
	display: inline-block;
	background-color: #ff5050;
	color: black;
	border: 1px solid black;
	padding: 0.25em 0.5em;
	text-decoration: none;
	cursor: pointer;
	font-size: 16pt;
	line-height: 2em;
	box-shadow: 1px 1px;
}

p.buttonline
{
	text-align: center;
}

.mediumbutton-icon
{
	padding-left: 0.25em;
	padding-right: 0.25em;
}

.document-wrapper
{
	width: 100%;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	border-right: 1px solid black;
	padding: 0px;
}

.document-wrapper .document
{
	display: inline-block;
	border-left: 1px solid black;
	border-right: 1px solid black;
	width: 10em;
	height: 6em;
	text-align: center;
	background-color: #f0f0f0;
	margin: 0px;
	cursor: pointer;
	padding: 0.5em;
	vertical-align: middle;
	border-collapse: collapse;
}

.document-wrapper p.payload
{
	overflow: hidden;
	vertical-align: middle;
}

.document-wrapper .document span.icon
{
	font-size: 20pt;
	vertical-align: middle;
}

.document-wrapper .document span.filename
{
	font-size: 8pt;
	color: #808080;
	vertical-align: top;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 8em;
	vertical-align: middle;
}

p.document-type-description
{
	font-size: 8pt;
	color: #808080;
}

p.document-entry
{
	margin-left: 2em;
}

.document-icon
{
	cursor: pointer;
}

.document-filename
{
	cursor: pointer;
}

p.line-entry
{
	margin-left: 2em;
}

span.delete-link
{
	
}

span.delete-document
{
	
}

p.approval-section-caption
{
	font-size: 8pt;
	color: #808080;
}

.clickable
{
	cursor: pointer;
}

input.line-item-amount
{
	width: 6em;
	text-align: right;
}

.smallbutton-icon
{
	padding-left: 0.1em;
	padding-right: 0.1em;
}

.smallbutton
{
	display: inline-block;
	background-color: #f0f0f0;
	color: #202020;
	border: 1px solid black;
	padding: 0.25em 0.4em;
	text-decoration: none;
	cursor: pointer;
}

.smallbutton-green
{
	display: inline-block;
	background-color: #90ff90;
	color: black;
	border: 1px solid black;
	padding: 0.25em 0.75em 0.25em 0.5em;
	text-decoration: none;
	cursor: pointer;
	font-size: 12pt;
	line-height: 1.25em;
	box-shadow: 1px 1px;
}

.smallbutton-yellow
{
	display: inline-block;
	background-color: #ffcc90;
	color: black;
	border: 1px solid black;
	padding: 0.25em 0.75em 0.25em 0.5em;
	text-decoration: none;
	cursor: pointer;
	font-size: 12pt;
	line-height: 1.25em;
	box-shadow: 1px 1px;
}

.smallbutton-red
{
	display: inline-block;
	background-color: #ff9090;
	color: black;
	border: 1px solid black;
	padding: 0.25em 0.75em 0.25em 0.5em;
	text-decoration: none;
	cursor: pointer;
	font-size: 12pt;
	line-height: 1.25em;
	box-shadow: 1px 1px;
}

.grayed
{
	font-style: italic;
	color: #808080;
}

select.medium
{
	min-width: 24em;
}

.clickable
{
	cursor: pointer;
}

td.deficit-balance
{
	color: red;
}

td.surplus-balance
{
	color: forestgreen;
}

td.neutral-balance
{
	color: black;
}

div.indented
{
	padding-left: 2em;
}

.subcaption
{
	color: #808080;
	font-size: 7pt;
}

table.indented
{
	margin-left: 2em;
}