body {
	margin: 4px 0px;
	font-family: Arial,sans-serif;
	font-size: calc(.4rem + .8vw);
	line-height: normal;
}

a:active, a:visited, a:link {
	color: #004876;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:active.hidden-link, a:visited.hidden-link, a:link.hidden-link {
	color: black;
	text-decoration: none;
}
a:hover.hidden-link {
	text-decoration: none;
}

input {
	border: 1px solid #999;
	margin-bottom: 0.5em;
}
input:hover {
	border: 1px solid black;
}
input.button, button.button {
	display: inline-block;
	background: #c01f50 !important;
	border: 1px solid black;
	border-radius: 2px;
	box-shadow: inset 0px 1px 0px 0px white;
	margin: 0.5em 0 0.5em 0;
	color: white;
	padding: 4px 10px;
	cursor: pointer;
	font-weight: bold;
	font-size: calc(.4rem + .8vw);
}
input.button:hover,button.button:hover {
	/*background-color: #004876;*/
	background: #d02f60 !important;
	color: #eee;
	border: 1px solid #777;
	border-radius: 2px;
}

fieldset {
	border: 1px solid #044294;
	padding-bottom: 0;
}
legend {
	color: #044294;
	font-weight: bold;
	letter-spacing: 1px;
}

ul {
	list-style-type: square;
}

/* header */
header {
	padding-left: 16vw;
	position: relative;
	overflow: hidden;
	}
header .logos {
	display: grid;
	grid-template-columns: 16vw 14vw 14vw 14vw 13vw 14vw 1vw;
	margin:auto;
}
header .block {
	position: absolute;
	top: 0;
	left: 0;
	background-color: #004876;
	min-height: 153px;
	width: 15vw;
	height: 100%;
}
header .logos img {
	max-width:100%;
	scale: 100%;
	margin-top: auto;
	margin-bottom: auto;
}

/* header bar with language settings and logout */
.header-bar {
	height: 2vh;
	padding: 6px;
	border: 1px solid #000000;
	box-shadow: inset 0px 1px 0px 0px white;
	background-color: #081d36;
	background-image: linear-gradient(#081d36, #004876);
	color: white;
	vertical-align: middle;
}
.header-bar input~button {
	float:right;
	display:block;
	margin: auto;
	padding: 2px 4px 2px 4px;
}
.header-bar input~button:hover {
	/*background-color: ##004876;*/
	border-right: 2px;
	border-bottom: 2px;
}

/* content including nav and main */
.content {
	display: grid;
}

/* navigation */
nav {
	grid-column: 1/1;
	background-color: #eeeeee;
	border-right: 1px solid #044294;
	padding: 0.5em 0.5em 2em 0.5em;
	width: 21vw;
	min-width: 150px;
}
nav input {
	margin-right: 0.5em;
	width: 100%;
}
nav input.button {
	width: auto;
}
nav ul {
	padding-left:15px;
}

/* main */
section {
	grid-column: 2;
	grid-column-end: 4;
	margin: 1em;
	width: 95%;
}
section h1 {
	padding-left: 5px;
	margin-bottom: 1em;
	border-left: 5px solid #044294;
	border-bottom: solid 1px #ccf;
	font-size: calc(.6rem + 1.1vw);
}
section h2 {
	font-size: calc(.4rem + 1vw);
}

section #module-selection {
	margin: auto 1vw auto 1vw;
	width:100%;
	display: inline-grid;
	grid-template-columns: repeat(auto-fill, minmax(10em,1fr));
}
section #module-selection > div{
	display:flex;
	flex-direction: column;
}
section #module-selection a {
	display: block;
}
section #module-selection div {
	font-size: 85%;
	word-break: break-word;
}
section #module-selection div.module-description{
	flex: 1 1 auto;
	border: 1px dotted grey;
	border-collapse: collapse;
	width: 100%;
}
section #module-selection div.module-description > a{
	padding: 3pt;
}
section #module-selection div.module-status{
	text-align: center;
	border: 1px dotted grey;
	border-collapse: collapse;
	width: 100%;
	padding: 3pt 0pt 3pt 0pt;
}
section #module-selection img {
	border: 1px dotted grey;
	border-collapse: collapse;
	max-width: 100%;
	min-width: 10em;
}

section #registration {
	/*padding: 1em;*/
}
section #registration input {
	margin: 2px 0;
	width: 95%;
}
section #registration label {
	font-size: calc(.4rem + .8vw);
	margin-left: 0.5em;
}
section #registration .button {
	width:auto;
	margin:5px;
}

/* footer */
footer {
	padding: 2px 5px;
	border-top: 3px solid #044294;
}
footer img {
	float: right;
}

/* datatable */
th.ui-state-default , .ui-paginator{
	background-image: linear-gradient(#004876, #004876);
	color: white;
}

.ui-paginator a, .ui-paginator select {
	background-color: #85b2cb !important;
	color: white !important;
}

td button.ui-state-default {
	background-image: linear-gradient(#004876, #004876) !important;
	color: white !important;
}

td button.ui-state-hover {
	background-image: linear-gradient(#85b2cb, #FFFF) !important;
	color: #004876 !important;
}


.ui-row-editor-pencil > .ui-icon-pencil {
	width: 20px;
	height: 20px;
}

.ui-datatable thead th, .ui-datatable .ui-paginator {
	padding: 0;
}

.ui-datatable font {
	font-size: 1em;
}


td button {
	font-size: 20px !important;
}

td {
	font-size: 20px !important;
}

/*general*/

.sub{
	font-size: 18px;
	color: #004876;
	font-weight: bold;
	vertical-align: sub !important;
}
.centered{
	text-align: center;
}

.disable-scroll > .ui-dialog-content {
	overflow: hidden !important;
}


/* On screens that are 700px or less */
@media screen and (max-width: 700px) {
	section #module-selection div {
		font-size: 10px;
	}
}