@font-face { 
	font-family: "Roboto"; 
	src: url("../fonts/roboto-v20-latin-500.woff") format('woff'); 
}

@font-face { 
	font-family: "RobotoMono"; 
	src: url("../fonts/robotomono-regular.woff") format('woff'); 
}

@font-face { 
	font-family: "OpenSans"; 
	src: url("../fonts/opensans-regular.woff") format('woff'); 
}

@font-face { 
	font-family: "MaterialIcons"; 
	src: url("../fonts/materialicons-regular.woff") format('woff'); 
}

body {
	background-color: #444;
	font-family: "OpenSans", sans-serif;
	text-rendering: optimizeLegibility;
	hyphens: auto;
	line-height: 1.5em;
}

#main {
	max-width: 75em;
	background-color: white;
	margin:0 auto;
	padding: 1.5em;
	box-shadow: 0.25em 0.25em 0.25em #999;
	border-radius: 0.5em;
}

#messages {
	background-color: #e0ffe0;
	margin: 1.5em 0;
	padding: 0.5em 0.5em;
	border: 0.1em dotted #444;
}

#warning {
	background-color: #ffe0e0;
	margin: 1.5em 0;
	padding: 0.5em 0.5em;
	border: 0.1em dotted #444;
}

div .horScroll {
	overflow-x: auto;
}

h1 {
	text-align: center;
}

a {
	color: black;
	text-decoration: none;
}

a:visited {
	color: black;
}

a:hover {
	color: red;
}

table, tr, td, th {
	border: 0.1em solid grey;
	padding: 0.5em;
	page-break-inside: avoid;
	border-collapse:collapse;
}

th {
	background-color: #444;
	color: white;
}

tr:nth-child(even) {
	background: #fff;
}

tr:nth-child(odd) {
	background: #fffff0;
}

label {
  display: inline-block;
  width: 10em;
  text-align: left;
  vertical-align: middle;
  font-style: italic;
  line-height: 1.75em;
}

input, select, textarea {
	font-family: "RobotoMono", monospace;
	background-color: #ffffe0;
	font-size: 0.8em;
	vertical-align: middle;
	border: 0.1em solid #444;
}

input[type=submit], input[type=reset] {
	font-family: "OpenSans", sans-serif;
	margin: 0.5em 0;
	background-color: #444;
	color: white;
	font-size: 1em;
}

form .required {
	border: 0.1em solid red;
}

.icon {
  font-family: 'MaterialIcons';
  font-weight: normal;
  font-style: normal;
  font-size: 1.25em;  /* Preferred icon size */
  display: inline-block;
  vertical-align: middle;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
}