/* Global options */

body {
	margin: 0;
	font-family: Arial, sans-serif;
	font-size: 12px;
}

h2 {
	font-size: 12px;
	text-align:left;
}

/* Language selection */

body.de [lang=en],
body.en [lang=de] {
	display: none;
}

body.de #switchEN, 
body.en #switchDE {
	opacity: 0.3;
}

#switchEN:hover, #switchDE:hover {
  cursor:pointer
}

/* Header */

header  {	
	margin: 0;
}

header .topPane {	
	margin: 10px 0 10px 0;
	height: 100px;
	position: relative;
}

#languages {	
	position:absolute;
	top:0;
	right: 1%;
	z-index: 1;
}

#logo {	
	position:absolute;
	right:1%;
	min-width: 185px; /* make german/english logo same width */
	z-index: 0;
}

#title {	
	color: #fff;
	background-color: rgba(0, 157, 229,.9);
	font-size: 46px;
	text-transform: uppercase;
	letter-spacing:normal;
	font-weight: 500;
	text-align:center;
	line-height: 150px;
	height: 150px;
}

/* Explanation block */

article  {
	border-radius: 0.5em;
	border: 1px solid #ccc;
	padding: 10px;
	margin: 20px;
}


article h1 {
	font-size: 12px;
	text-align:center;
}


/* Form */

#txt_ldap_username,
#txt_ldap_password  {
	border-radius: 0.5em;
	border: 1px solid #ccc;
	padding: 10px;
}


#txt_keytrac_typingSample {
	border-radius: 0.5em;
	border: 2px solid rgba(0, 157, 229,.9);
	min-height: 3em;
	font-size: 20px;
	font-weight: bold;
	width: 40em;
}

#txt_keytrac_typingSample:focus{
	outline: none;
}

.lbl_error {
	font-weight: bold;
	color: red;
}

.lbl_success {
	font-weight: bold;
	color: green;
}

main h1 {
	display: none;
}

main p {
text-align: center;
}

main p,
main table  {
    margin-left:  auto; 
    margin-right: auto;
}

main table tr>td {
  font-size: 12px;
  padding-bottom: 10px;
}
  
main input.button {
	font-size: 12px;
	border-radius: 0.5em;
	border: 1px solid #ccc;
	padding: 10px 15px;
	background-color: rgba(0, 157, 229,.7);
	color: #fff;
}

main input.button:hover {
	background-color: rgba(0, 157, 229,.9);
	border: 1px solid black;
}
main input.button[type=submit],
main input.button[type=reset] {
	width: 49%;
}

#showbar {
	border: 1px solid #ccc !important; 
	font-size: 20px !important;
	width: 40em !important;
	height: 20px !important;
}

.progressBar {
	width: 12.5% !important;
	height: 20px !important;
	background-color: rgba(0, 157, 229,.9);
	margin: 0;
	padding: 0;
}

/* Footer */

footer {
	background: #e4ebf2;
	border-color: #8a9da8;
	margin-bottom:10px;
	position: relative;
	width: 100%;
	height: 200px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

footer > div {
    padding: 20px;
	position:absolute;
}
footer > div:nth-child(1) {
  left: 25%;
}
footer > div:nth-child(2) {
  left: 55%;
}
