﻿:root {
	--header-height: 52px;
	--dialog-top: 42px;
	--nav-width: 180px;
}

* {
	box-sizing:border-box;
}
	*:focus {
		outline: none;
	}

@media print {
	header, nav, footer, .breadcrumbs {
		display: none;
	}
	div#wrapper {
		left: 0px;
		top: 0px;
		padding-top: 20px;
	}
}

body {
	margin: 0px;
	color: #666;
	font-family: Arial, sans-serif;
	font-size: 14px;
}

p {
	margin: 0px 0px 10px 0px;
}
section p:last-of-type{
	margin-bottom: 0px;
}

h1 {
	font-size: 18px;
	color: black;
	margin: 0px 0px 10px 0px;
}
h2 {
	font-size: 16px;
	color: black;
	margin: 0px 0px 10px 0px;
}

a {
	color: #253551;
}
	a:hover {
		cursor: pointer;
	}

section div.link {
	color: #253551;
	cursor: pointer;
}

input, textarea {
	font-family: Arial, sans-serif;
	font-size: 14px;
	color: black;
	padding: 2px 5px 3px 5px;
	border: 0 none;
	border-bottom: 2px solid rgba(0,0,0,0.2);
	border-radius: 0px;
	width: 100%;
	/* background: rgba(0,0,0,0.025); */
}
	input::placeholder, textarea::placeholder {
		color: silver;
	}

	input.date, input.short {
		width: 200px;
	}
	input.medium {
		width: 400px;
	}
	input.editable, textarea.editable {
		border-color: transparent;
		border-bottom: 2px solid rgba(0,0,0,0.2);
	}
	input.name {
		font-size: 18px;
		font-weight: bold;
		color: black;
		margin-bottom: 10px;
	}

select {
	border: 0 none;
	border-bottom: 2px solid rgba(0,0,0,0.2);
	font-family: Arial, sans-serif;
	font-size: 14px;
	color: black;
	padding: 2px 5px 2px 1px;
}

.clear {
	clear: both;
}

.t10 {
	margin-top: 10px;
}
.t20 {
	margin-top: 20px;
}
.b0 {
	margin-bottom: 0px;
}
.b5 {
	margin-bottom: 5px;
}
.b10 {
	margin-bottom: 10px;
}
.b20 {
	margin-bottom: 20px;
}
.r5 {
	margin-right: 5px;
}
.m0 {
	margin: 0px !important;
}
.p0 {
	padding: 0px !important;
}

header {
	background: #253551;
	color: white;
	height: var(--header-height);
	box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
	z-index: 2;
	position: fixed;
	top: 0px;
	width: 100%;
}
	header div:nth-child(1) {
		text-align: left;
		width: 180px;
		float: left;
		padding: 10px;
	}
		header div:nth-child(1) a {
			color: rgba(255,255,255,0.15);
			padding: 5px;
			width: 32px;
			height: 32px;
			display: inline-block;
			text-align: center;
		}
		header div:nth-child(1) a:hover {
			color: rgba(255,255,255,1);
		}
		header div:nth-child(1) i, header div:nth-child(1) svg {
			font-size: 22px;
			line-height: 22px;
		}
		header div:nth-child(1) i:hover, header div:nth-child(1) svg:hover {
			cursor: pointer;
		}

		header div:nth-child(2) {
			width: calc(100% - 360px);
			float: left;
			padding: 10px;
		}
			header div:nth-child(2) input {
				width: 100%;
				background: rgba(0,0,0,0.2);
				color: white;
				height: 32px;
				border: 0 none;
				padding-left: 10px;
				border-radius: 5px;
			}
				header div:nth-child(2) input::placeholder {
					color: #354561;
				}
		header>div:nth-child(3) {
			text-align: right;
			width: 180px;
			float: right;
		}

nav {
	background: rgba(0,0,0,0.05);
	z-index: 1;
	position: fixed;
	top: var(--header-height);
	bottom: 0px;
	left: 0px;
	width: var(--nav-width);
	padding-top: 10px;
}
	nav a {
		display: block;
		padding: 7px 10px;
		text-decoration: none;
	}
		nav a:hover {
			background: #253551;
			color: white;
		}
		nav a.active {
			background: #4D87FF;
			color: #FFFFFF;
		}
			nav a.active .admin {
				color: #FFFFFF;
			}

#wrapper {
	background: white;
	position: fixed;
	top: var(--header-height);
	right: 0px;
	bottom: 0px;
	left: var(--nav-width);
	overflow-x: hidden;
	overflow-y: auto;
	z-index: 0;
	cursor: default;
}

main {
	padding: 0px;
}

footer {
	border-top: 1px dotted rgba(0,0,0,0.1);
	padding: 20px;
	font-size: 13px;
	color: #AAAAAA;
}
footer a {
	color: #666666;
	text-decoration: none;
}

.breadcrumbs {
	font-size: 12px;
	border-bottom: 1px dotted rgba(0,0,0,0.1);
	padding: 10px 20px 5px 20px;
	margin-bottom: 20px;
}

	.breadcrumbs a {
		text-decoration: none;
	}

section {
	margin: 0px 20px 20px 20px;
	/* border: 1px dotted rgba(0,0,0,0.1); */
	border-radius: 5px;
	padding: 10px;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
}

	.tabs, .tabs-2 {
		margin-top: 10px;
	}

	.tab, .tab-2 {
		margin-right: 5px;
		float: left;
		display: inline-block;
		padding: 5px 10px;
		cursor: pointer;
		min-width: 150px;
		text-align: center;
		border-top-left-radius: 5px;
		border-top-right-radius: 5px;
		background: rgba(0,0,0,0.05);
		color: #253551;
	}
		.tab.round, .tab-2.round {
			border-radius: 5px;
			margin-bottom: 10px;
			margin-top: 10px;
		}
		.tab:hover, .tab-2:hover {
			background: #253551;
			color: white;
		}
		.tab.active, .tab-2.active {
			background: #253551;
			color: white;
			cursor: default;
		}

	section .table {
		clear: both;
		border: 1px dotted rgba(0,0,0,0.1);
		border-top: 1px solid #253551;
		padding: 5px;
		/* border-radius: 5px;
		border-top-left-radius: 0px; */
	}
	section table {
		width: 100%;
	}

	section .row {
		padding: 5px;
		margin-bottom: 1px;
	}
	section .row:hover {
		background: rgba(0,0,0,0.05);
	}
		section .row:hover .green {
			color: #00AA00;
		}
		.row .description {
			padding: 5px 5px 5px 22px;
			font-size: 12px;
			color: #AAAAAA;
		}
	section .row.link {
		cursor: pointer;
	}
		section .row.link:hover {
			background: #253551;
			color: white;
		}

		section .buttons {
			margin-top: 10px;
		}

	.button, section .button, #dialog .button {
		margin-right: 5px;
		float: left;
		display: inline-block;
		padding: 5px 10px;
		cursor: pointer;
		min-width: 150px;
		text-align: center;
		border-radius: 5px;
		background: rgba(0,0,0,0.05);
		color: #253551;
		text-decoration: none;
		vertical-align: middle;
	}
		.button.w32 {
			min-width: 32px;
			width: 32px;
			padding-left: 5px;
			padding-right: 5px;
		}
		.button.save, .button.save:hover {
			float: none;
			color: white;
			background: #FF0066;
			font-size: 12px;
			padding: 4px 20px;
			min-width: auto;
		}
	.button:hover, section .button:hover, #dialog .button:hover {
		background: #253551;
		color: white;
	}

#overlay {
	display: none;
	background: rgba(0,0,0,0.5);
	z-index: 3;
	position: fixed;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
}
#overlay-close {
	position: fixed;
	color: white;
	font-size: 32px;
	line-height: 32px;
	display: inline-block;
	top: 10px;
	right: 10px;
	cursor: pointer;
}
#dialog {
	background: white;
	border-radius: 5px;
	box-shadow: 0px 0px 20px rgba(0,0,0,0.5);
	padding: 10px;
	position: fixed;
	left: 20px;
	top: var(--dialog-top);
	right: 20px;
	max-width: 820px;
	margin: 0 auto;
}

	#dialog .title {
		font-weight: bold;
		font-size: 18px;
		color: black;
		padding-bottom: 10px;
		border-bottom: 1px dotted rgba(0,0,0,0.1);
		margin-bottom: 10px;
	}
	#dialog .buttons {
		padding-top: 10px;
		border-top: 1px dotted rgba(0,0,0,0.1);
		margin-top: 10px;
	}
	#dialog .button {
		margin-left: 5px;
		margin-right: 0px;
		float: right;
	}
	#dialog table {
		width: 100%;
	}
	#dialog table td:first-of-type {
		width: 150px;
	}

.alert {
	color: #FF0066;
	background: rgba(255,0,102,0.1);
	/*
	-webkit-text-stroke-width: 0.3px;
	-webkit-text-stroke-color: white;
	-webkit-text-fill-color: #FF0066;
	*/
}
.green {
	color: green;
	xbackground: rgba(102,255,102,0.1);
}
.faint { opacity: 0.5; }
.hidden {
	display: none;
}

section	.button.right {
	float: right;
	margin-right: 0px;
}

a.none {
	text-decoration: none;
}
.pointer {
	cursor:pointer;
}

.center {
	text-align: center;
}
.right {
	float: right;
}

.small { font-size: 12px; }
.large {
	font-size: 18px;
}

.w32 { width: 32px; }
.w100p {
	width: 100%;
}

.calendar-year { font-weight: bold; padding-bottom: 5px; margin-bottom: 5px; border-bottom: 1px solid silver; }
.bold { font-weight: bold; }
.normal { font-weight: normal; }

.code { font-family: 'Courier New'; }
.highlight {
	color: black;
	background: rgba(255, 0, 99, 0.5);
}

#search-results {
	position: relative;
	background: #253551;
	border-radius: 5px;
	width: 100%;
	display: none;
	box-shadow: 0px 5px 10px rgba(0,0,0,0.5);
}
#search-results div {
	width: 100%
}
#search-results a {
	color: #FFFFFF;
	display: block;
	text-decoration: none;
	padding: 5px 10px;
	margin: 0px;
	clear: both;
}
	#search-results a:hover {
		background:rgba(0,0,0,0.2);
	}

#search-results-close {
	display: inline-block;
	position: absolute;
	top: 5px;
	right: 15px;
	width: 16px !important;
	height: 16px;
	padding: 5px;
	float: right;
	cursor: pointer;
	z-index: 1000;
}
	#search-results-close svg {
		width: 16px;
		height: 16px;
		font-size: 16px;
		margin-left: -5px;
		margin-top: -5px;
		width: 16px !important;
		height: 16px !important;
		vertical-align: 1px !important;
	}

.verbose {
	color: green;
}

.admin {
	font-size: 10px;
	color: #4D87FF;
	vertical-align: middle;
	display: inline-block;
	margin-top: -3px;
}