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

HTML {
	height: 100vh;
	font-size:16px;
	min-with:320px;
}

BODY {
	height: 100vh;
	min-height: 100vh; /* this override height */
	margin: 0;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	color: #666;
	font-family: 'Roboto', Arial, sans-serif;
}

HEADER {
	background-color:#EEEEEE;
	box-shadow: 0px 1px 1px #AAA;
}

HEADER > .headerHead {
	height:20px;
	display: -webkit-flex;
	display:flex;
}

HEADER > .headerHead A  {
	margin-left:auto;
	padding:4px 1em 0 0;
}
HEADER > .headerHead .logoSbb {
	height:16px;
}

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:0px 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;
}

HEADER > .headerTail > DIV.language {
	padding: 0 1em 0 1em;
}

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

FOOTER {
	min-height: 64px;
	background-color: #EEEEEE;
	text-align: center;
}


SELECT, INPUT, TEXTAREA {
	font-family: 'Roboto', Arial, sans-serif;
	font-size:1.2em;
}
SELECT OPTION {
	background-color: #EEEEEE;
}
SELECT {
	background-color: #EEEEEE;
	border:1px solid;
	outline:0px;
}

FOOTER > A {
	text-decoration:none;
	margin-top:0.1em;
}
A.termCond {
	display:block;
}
.btn-apple-app-store {
	background-position: 0 -52px;
}

.btn-android-play-store {
	background-position: 0 0;
}

.btn-android-play-store, .btn-apple-app-store {
	display: inline-block;
	width: 128px;
	height: 42px;
	background-image: url(../img/appicon.png);
	text-indent: -9999px;
}


@media screen and (max-width: 640px) {
	FOOTER > A {
		margin-top:0.5em;
	}
	.btn-apple-app-store {
		background-position: 0 -40px;
	}
	.btn-android-play-store, .btn-apple-app-store {
		width:97px;
		height:32px;
		background-size:97px 72px; 
	}
}

.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;
}
DIV#progressBar {
	height:20px;
	background-color:#E0E0E0;
	border-style: solid;
	border-color: #808080;
	border-width: 1px;
	width:100%;
	margin:0 1em;
}
DIV#progressBar > DIV {
	background-color:#015A82;
	height:20px;
	width:0%;
}
