html {
	font-family: Tahoma, sans-serif;
}

/* colours for WRM logo:
 *	outer ring (darker blue): #0f70b7
 *	inner ring (lighter blue): #009fe2
 *	banner: #2c2e83
 */

header.banner {
	display:flex;
	border-bottom: #009fe2 3px solid;
}
header.banner img.logo {
	width: 211px;
	height: 166px;
}
header.banner div.title {
	flex-grow: 1;
	text-align: center;
	font-size: 200%;
	font-weight: bold;
	padding-top: 55px;
	color: #0f70b7
}
header.banner div.user {
	width: 211px;
}
header.banner div.user img.logged_in {
	width: 80px;
	height: 80px;
	margin-top: 30px;
	margin-left: 130px;
}
header.banner div.user img.logged_out {
	display: none;
}

main {
}

div#screen {
	height: 20px;
	width: 20px;
	position: absolute;
	top: 0px;
	left: 0px;
	background-color: rgba(0,0,0,0.1);
	display: none;
}

div#screen div#user_menu {
	width: 150px;
	background-color: white;
	position: absolute;
	border: black 1px solid;
	right: 20px;
	top: 120px;
	padding: 7px;
	display: none;
}

div#screen div#user_menu div {
	-webkit-user-select: none;
	user-select: none;
}

div#screen div#user_menu div:hover {
	background-color: #8ef8ff;
}

div.popup_window {
	position: absolute;
	background-color: white;
	border: black 1px solid;
	display: none;
	overflow: auto;
}

div.button {
	background-color: #0f70b7;
	color: white;
	border: #0f70b7 1px solid;
	border-radius: 9px;
	height: 29px;
	padding-top: 5px;
	text-align: center;
	-webkit-user-select: none;
	user-select: none;
	display: inline-block;
}
div.button:hover {
	background-color: #4a94de;
}
div.btn_selected, div.btn_selected:hover {
	background-color: #005598;
}

main div.option_button {
	position:absolute;
	border: black 1px solid;
	width: 130px;
	padding: 5px;
	-webkit-user-select: none;
	user-select: none;
}
main div.option_button:hover {
	background-color:#e0e0f0;
}

main div.page_title {
	background-color: #009fe2;
	color: white;
	display: inline-block;
	padding: 5px 10px 5px 10px;
	-webkit-user-select: none;
	user-select: none;
}

/* most interesting stuff happens in div.page_main */
main div.page_main {
	position: relative;
}

/* table stuff */
main div.page_main div.table {
	margin-left: 150px;
	-webkit-user-select: none;
	user-select: none;
	font-size: 85%;
}
main div.page_main div.table div.thead {
	position: relative;
	overflow-x: clip;
}
main div.page_main div.table div.thead div.block {
	background-color: white;
	height: 25px;
	position: absolute;
	width: 0px;
}
main div.page_main div.table div.thead div.th {
	border: black 1px solid;
	border-left-color: white;
	display: inline-block;
	position: absolute;
	font-weight: bold;
	color: white;
	background-color: black;
	padding: 0 2px;
}
main div.page_main div.table div.thead div.th:first-child {
	border-left-color: black;
}
main div.page_main div.table div.tbody {
	overflow-y: auto;
	overflow-x: auto;
	position: relative;
	top: 21px;
}
main div.page_main div.table div.tbody div.tr {
	height: 22px;
	position: relative;
}
main div.page_main div.table div.tbody div.highlighted {
	background-color: #009fe2;
	color: white;
}
main div.page_main div.table div.tbody div.tr div.td {
	border: black 1px solid;
	border-top: none;
	display: inline-block;
	height: 21px;
	overflow-y: hidden;
	position: absolute;
	padding: 0 2px;
}
main div.page_main div.table div.tfoot {
	position: relative;
	top: 21px;
	border: black 1px solid;
	padding-left: 5px;
}

body.wait {
	cursor: wait;
}

