* {
  -ms-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

html, body {
	height: 100%;
}

body {
	padding: 0px;
	margin: 0px;
	font-family: 'Raleway', arial, sans-serif;
	font-weight: 400;
	font-size: 16px;
	color: #4d4d4d;
}

div.site {
	min-height: 100%;
	margin: 0px 0px -8em 0px;
	padding: 0px;
}

div.internal {
	min-width: 1000px;
}

div.errors, div.messages, div.warnings {
	-moz-border-radius: 1em;
	border-radius: 1em;
	margin: 1em 0;
	padding: 1em;
}

.content {
	display: block;
	width: 1320px;
	max-width: 95%;
	margin: 0px auto;
	position: relative;
}

input, button, select, textarea {
	font-family: 'Raleway', sans-serif;
	font-weight: 500;
	color: #4d4d4d;
	border: 1px solid #4d4d4d;
	background-color: #ffffff;
	font-size: 100%;
}

input[type='file'] {
	border: none;
	width: auto;
}

/* header */

.logo {
	display: block;
	width: 280px;
	margin-bottom: -15px;
}

h1 {
	margin: 0px;
	font-size: 200%;
	padding: 0.8em 0px;
}

div.top {
	width: 100%;
}

ul.topmenu {
	position: absolute;
	right: 0px;
	top: -2em;
	list-style-type: none;
}

ul.topmenu li {
	float: left;
	padding-right: 5em;
}

ul.topmenu li.last {
	padding-right: 0.3em;
}

ul.topmenu a {
	text-decoration: none;
	color: #4d4d4d;
}

div.loginbar {
	position: relative;
	padding: 0.3em 0px;
	text-align: right;
	background-color: #c9d0d1;
	color: #484a4c;
	width: 100%;
}

div.loginbar span {
	display: inline-block;
}

xxdiv.loginbar a:link { color: #008eb2; }
xxdiv.loginbar a:visited { color: #008eb2; }
div.loginbar a:link { color: #0077b2; }
div.loginbar a:visited { color: #0077b2; }

div.loginbar a.button:link { color: #ffffff; }
div.loginbar a.button:visited { color: #ffffff; }

div.loginbar input, div.loginbar .button {
	margin: 0px;
	padding: 0 0.3em;
	font-size: 100%;
	line-height: 19px;
	border: none;
}

div.loginbar input {
	width: 11em;
	margin-right: 2em;
}

div.loginbar .button {
	padding: 0 10px 1px 10px;
	width: auto;
}

div.loginbar input.forgot {
	width: 1.3em;
	z-index: 10;
	border: none;
	color: #ffffff;
	background-color: #525d63;
	cursor: pointer;
	position: absolute;
	right: 0px;
	top: 0px;
	bottom: 0px;
	height: auto;
}

div.loginbar input.forgot:hover {
	background-color: #778790;
}

div.loginbar div.cp {
	display: block;
	float: left;
	margin: 0px;
}

/* menu */

div.menu {
	width: 100%;
	min-width: 50em;
	text-align: center;
	border-bottom: 1px solid #a3a3a3;
	margin-top: 3px;
}

div.menu ul {
	position: relative;
	list-style-type: none;
	padding: 0;
	margin: 12px 0 0 0;
}

div.menu li {
	position: relative;
	bottom: 0;
	display: inline-block;
	vertical-align: top;
	margin: 0 0.3em -1px 0.3em;
	padding: 0;
	background-color: #e4eced;
	border: 1px solid #a3a3a3;
	zoom: 1;
	*display: inline;
}

div.menu li, div.menu a {
	position: relative;
	-webkit-border-top-left-radius: 0.5em;
	-moz-border-radius-topleft: 0.5em;
	border-top-left-radius: 0.5em;
	-webkit-border-top-right-radius: 0.5em;
	-moz-border-radius-topright: 0.5em;
	border-top-right-radius: 0.5em;
}

div.menu a {
	display: inline-block;
	padding: 0.2em 0.6em;
	margin: 0 0 -1px 0;
	border-bottom: 1px solid #a3a3a3;
}

div.menu a:hover {
	background-color: #FFFFFF;
}

div.menu a.sel {
	background-color: #FFFFFF;
	border-bottom: 1px solid #FFFFFF;
}

/* content */

h2 {
	width: 100%;
	font-weight: 500;
	xxxcolor: #008eb2;
	color: #0077b2;
	font-size: 43px;
	xletter-spacing: -0.05em;
	border: none;
	margin: 0.6em 0px;
	padding: 0px;
	text-align: center;
}

h3 {
	margin: 0.5em 0px;
	padding: 0;
	xxcolor: #008eb2;
	color: #0077b2;
	font-size: 100%;
}


/* misc */

div.push, div.footer {
	height: 8em;
}

div.footer {
	height: 5em;
	margin: 3em 0px 0px 0px;
	background-color: #4d4d4d;
	color:#ffffff;
	padding: 2em 0px 0px 0px;
	text-align: right;
}

div.footer div.content{
	font-size: 90%;
}

/* details */

div.buttons {
	width: 14.5em;
	margin: 0px auto;
}

div.ulbuttons {
	width: 16em;
	padding-left: 1.5em;
	margin: 0px auto;
}

div.buttons .button, div.ulbuttons .button {
	margin-bottom: 1em;
}

ul.table, ul.details {
	display: inline-block;
	width: 16em;
	margin: 0px auto 2em auto;
	text-align: left;
	list-style-type: none;
	zoom: 1;
	*display: inline;
}

ul.table li {
	position: relative;
	padding: 0.1em 0px;
	white-space: nowrap;
}

ul.table label {
	position: absolute;
	right: 100%;
	padding-right: 1em;
	top: 0.2em;
	width: 200em;
	text-align: right;
}

ul.table label.static {
	position: static
}

ul.details label {
	top: 0.1em;
	margin-right: 0.5em;
}

td.flag {
	background-color: #ff2d2d;
	color: #ffffff;
}

tr.odd-row {
	background-color: #e4eced;
}

span.req {
	width: 1em;
	margin-right: 0.5em;
}

/* form sections */

div.section {
	padding: 1em;
	margin: 1em 0px;
	background-color: #e4eced;
	text-align: left;
	width: 100%;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	position: relative;
}

div.sleft {
	width: 48%;	
}

div.sright {
	width: 48%;
	float: right;
	margin-top: 0px;
	clear: right;
}

div.section label {
	display: inline-block;
	text-align: right;
	width: 6em;
	margin-left: 0px;
	margin-right: 1em;
	position: relative;
	right: 0px;
	top: 0px;
}

div.widelabels label {
	width: 12em;
}

div.section label.cb {
	width: auto;
	text-align: left;
}

div.section ul {
	list-style-type: none;
}

div.section li {
	margin-bottom: 0.2em;
}

div.section input, div.section select {
	width: 16em;
}

div.section .button {
	width: auto;
}

div.section input[type='checkbox'] {
	width: auto;
}

span.holder {
	display: inline-block;
	width: 16em;
	text-align: right;
}

div.inset {
	margin-left: 2em;
}

div.pagebuttons {
	margin: 1em auto;
	text-align: center;
}

div.pagebuttons button, div.pagebuttons a.button {
	width: 8em;
}

.tzbutton {
	text-align: right;
}

.tzbutton .button {
	width: auto;
	font-size: 70%;
}

@media
only screen and (max-width: 1320px)  {

	div.content {
		width: 95%;
	}

}

@media
only screen and (max-width: 1000px)  {

	ul.topmenu li {
		padding-right: 3em;
	}

}


@media
only screen and (max-width: 800px)  {

	h2 {
		font-size: 300%;
	}

	h3 {
		font-size: 150%;
	}

	ul.table, ul.detail {
		max-width: 100%;
	}

	ul.table label {
		position: relative;
		display: block;
		width: 100%;
		text-align: left;
		top: 0px;
		right: 0px;
		padding: 0.2em 0px;
	}

}

@media
only screen and (max-width: 600px)  {

	div.loginbar span {
		display: block;
		clear: left;
		padding: 0.5em 0px;
	}

	div.loginbar input {
		margin-right: 0px;
	}

	div.pass {
		display: block;
		margin: 0.5em 0px;
	}

	h2 {
		font-size: 240%;
	}

	h3 {
		font-size: 135%;
	}

}

@media
only screen and (max-width: 500px)  {

	h2 {
		font-size: 200%;
	}

	h3 {
		font-size: 120%;
	}

}

@media
only screen and (max-width: 300px)  {

	body {
		font-size: 80%;
	}

}

/* fonts */
@font-face {
	font-family: 'Raleway';
	src: url('fonts/Raleway-VariableFont_wght.ttf');
}

@font-face {
	font-family: 'Raleway';
	src: url('fonts/Raleway-Italic-VariableFont_wght.ttf');
	font-style: italic;
}

@font-face {
	font-family: 'RobotoSlab';
	src: url('fonts/RobotoSlab-VariableFont_wght.ttf');
}