/* Reikem CSS Stylesheet for RK Speedtest - https://speed.reikem.de */

/* Allgemeines */
html,body{
	border:none; padding:0; margin:0;
	background-color: rgb(245, 245, 246);
	color:#202020;
	}
body{
		text-align:center;
		font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
		margin-top: 2em;
		margin-bottom: 2em;
	}
h1{
		color:#404040;
	}
/* Abstände */
.mb-1 { margin-bottom: 1em; }
.mb-2 { margin-bottom: 2em; }
.mb-3 { margin-bottom: 3em; }
.mb-4 { margin-bottom: 4em; }
.mb-5 { margin-bottom: 5em; }
.mt-1 { margin-top: 1em; }
.mt-2 { margin-top: 2em; }
.mt-3 { margin-top: 3em; }
.mt-4 { margin-top: 4em; }
.mt-5 { margin-top: 5em; }
/* Design by REIKEM - generelles Layout */
.container {
	width: 864px;
	padding: 2em;
	margin: 0 auto;
	background: #FFF;
	border-radius: 10px;
}
.logo {
	float: left;
	width: 50%;
	text-align: left;
	height: 70px;
}
.logo img {
	float: left;
	max-width: 100%;
	height: auto;
	margin-top: 10px;
}
.gobutton{
	float: right;
	width: 50%;
	text-align: right;
	height: 70px;
}
.gobutton #startStopBtn {
	text-align: center;
}
hr.clear {
	clear:both;
}

/* Speedtest */
#startStopBtn{
		display:inline-block;
		margin:0 auto;
		color:#0C3183;
		background-color:rgba(0,0,0,0);
		border:0.15em solid #0C3183;
		border-radius:0.3em;
		transition:all 0.3s;
		box-sizing:border-box;
		width:8em; 
		height:2.3em;
		line-height:2em;
		font-size: 1.4em;
		font-weight: 500;
		cursor:pointer;
		box-shadow: 0 0 0 rgba(0,0,0,0.2), inset 0 0 0 rgba(0,0,0,0.2);
	}
#startStopBtn:hover{
	box-shadow: 0 0 2em rgba(0,0,0,0.1), inset 0 0 1em rgba(0,0,0,0.1);
	background-color: rgba(12,49,131,1);
	color: #FFF;
	border-color: #FFF;
	}
#startStopBtn.running{
		background-color:#c9124b;
		border-color:#c9124b;
		color:#FFFFFF;
	}
#startStopBtn.running:hover {
	box-shadow: 0 0 2em rgba(0,0,0,0.1), inset 0 0 1em rgba(0,0,0,0.1);
	background-color: #830c31;
	border-color: #830c31;
}
#startStopBtn:before{
		content:"Test starten";
	}
#startStopBtn.running:before{
		content:"abbrechen";
	}
#test{
		margin-top:2em;
		margin-bottom:2em;
}
div.testArea{
		display:inline-block;
		width:16em;
		height:12.5em;
		position:relative;
		box-sizing:border-box;
	}
div.testName{
		position:absolute;
		top:0.1em; left:0;
		width:100%;
		font-size:1.4em;
		z-index:9;
	}
div.meterText{
		position:absolute;
		bottom:1.55em; left:0;
		width:100%;
		font-size:2.5em;
		z-index:9;
	}
div.meterText:empty:before{
		content:"0.00";
	}
div.unit{
		position:absolute;
		bottom:2em; left:0;
		width:100%;
		z-index:9;
	}
div.testArea canvas{
		position:absolute;
		top:0; left:0; width:100%; height:100%;
		z-index:1;
}
div.testGroup{
		display:inline-block;
}
@media (max-width: 970px) {

	.container {
		width: 90%;
	}
}

@media (max-width:500px){
	body{
			font-size:0.8em;
			margin-top: 0;
			margin-bottom: 0;
	}
		.container {
		width: 90%;
		padding: 1em;
	}
	.testGroup{
		display:block;
		margin: 0 auto;
	}
	.testArea {
		margin-bottom: 2em;
	}
	.logo {
		width: 100%;
		text-align: center;
	}
	.gobutton {
		width: 100%;
		text-align:center;
	}
	#startStopBtn {
		font-size: 1.7em;
	}
	#test {
		font-size: 0.9em;
	}
	#ipArea {
		font-size: 1.2em;
	}
}
