@import url('https://fonts.googleapis.com/css?family=Roboto+Mono|Roboto+Condensed|Roboto:300,400,700');

HTML {
	font-size:16px;
	min-width:320px;
}

BODY {
	height: 832px;
	margin: 0;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	color: #666;
	font-family: 'Roboto', Arial, sans-serif;
	background-color:white;
}

@media screen and (max-width: 640px) {
	BODY { height:400px; }
}

@media screen and (min-width:641px) and (max-width: 1023px) {
	BODY { height:600px; }
}

HEADER > .headerHead {
	height:8px;
}
HEADER > .headerHead > * {
	display:none;
}

HEADER > .headerTail {
	height: 64px;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	flex-direction: row;
 	-webkit-align-items: center;	
	align-items: center;
}

HEADER > .headerTail > * {
	-webkit-flex: 0 0 auto;
	flex: 0 0 auto;
}

HEADER > .headerTail > DIV.logo IMG {
	display: block;
	height: 56px;
	padding:0 0px 8px 8px;
}

HEADER > .headerTail > DIV.middle {
	-webkit-flex: 1 1 auto;
	flex: 1 1 auto;
	text-align:center;
	font-weight:800;
	font-size:2em;
}

MAIN {
	-webkit-flex: 1 0 auto;
	flex: 1 0 auto;
}

MAIN > DIV.content {
	padding: 0 1em 0 1em;
}


SELECT, INPUT, TEXTAREA {
	font-family: 'Roboto', Arial, sans-serif;
	font-size:1.2em;
}

.textButton {
	box-sizing:border-box;
	display: inline-block;
	text-align: center;
	font-weight: 400;
	font-size: 1.25rem;
	line-height: 1em;
	padding: 0.5em 1.5em;
	color: #fff;
	background-color: #008aca;
	border: 1px solid #008aca;
	text-transform: uppercase;
	text-decoration: none;
	
	-webkit-border-radius: 0;
	border-radius: 0;
	-webkit-transition: background-color .1s ease-in;
	transition: background-color .1s ease-in;
	cursor:pointer;
}

.textButton:hover {
	color: #fff;
	background-color: #4dadda;
	border-color: #4dadda;
}

.textButtonLarge {
	width: 100%;
}

.textButtonSecondary {
	background-color: #AAAAAA;
	border-color: #AAAAAA;
}

.textButtonSecondary:hover {
	background-color: #CCCCCC;
	border-color: #CCCCCC;
}

.hiddenBox {
	display:none !important;
}
DIV#errorBox {
	background-color:#FFF0F0;
	border-color: #FFA0A0;
	color:red;
	border-radius: 5px;
	margin-bottom:0.3em;
	display:inline-block;
}

DIV#errorBox UL {
	box-sizing:border-box;
	padding:0em;
	margin:0.3em 4em;
}
