

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
@font-face{
	font-family:'Calibri';src:url("../fonts/calibri.woff") format('woff')
}
/* overwrites

*/

html, body{
	
	overflow-x: hidden;
	-webkit-overflow-scrolling:touch;
	background-color: #f6f6f6;
}
h1{
	color:#143d60;
	margin:30px 0 15px 0;
}
h2{
    color: #143d60;
    margin: 25px 0 25px 0;
    font-size: 36px;
    
}
h2.mehrf{
	margin: 25px 0 5px 0;
}
h3{
    color: #143d60;
    margin: 40px 0 25px 0;
    font-size: 29px;
    
}
h3.mehrf{
	 margin: 0px 0 25px 0;
}
h4{
    color: #143d60;
    margin: 10px 0 15px 0;
    font-size: 25px;
    
}
p,strong{
	font-size:16px;
}
span.fakelink{
	color:#337ab7;
}
span.fakelink:hover{
	color:#143d60;
}

.collapsing {

	height: initial !important;
}

.navbar-header{
	background-color:#fac10f;
	padding-top: 10px;
	
}
.navbar-header p{
	font-size:22px;
	color:#143d60;
	}

body{
	width:100%;
	font-family:Calibri,'Calibri',Arial,sans-serif;
	overflow-x: hidden;
	background-color:#f6f6f6;
}
.row.bordertop{
	border-top:1px solid  #dcdcdc;
	margin-top:25px!important;
}
/*
.row {
    margin-right: 30px; 
    margin-left: 30px; 
}
*/
#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    width:100%;
	/*height: 100vh;*/
}

#container{
	background-color:#f6f6f6;
	transform: translate(0,0);
    -webkit-transform: translate(0,0); /** Chrome & Safari **/
    -o-transform: translate(0,0); /** Opera **/
    -moz-transform: translate(0,0); /** Firefox **/
}
.container{
	width:100% !important;
	max-height:100% !important;
}
html.toggled #container{
	overflow:hidden !important;
	overflow: hidden;
    overflow-y: auto;
}

.navbar{
	top:0px;
	height:70px;
	width:100%;
    z-index:100;
    position:relative;
    left:0;
    margin:0 !important;
    background:#fac10f;
    border:none;
}


#index button{
	margin:auto;
	margin-top:90px;
	float:none;
}
/* 

quiz

*/
.step{
	display:none;
	position: relative;
}
#step0{
	display:block;
}

.quiztop{
	margin-top:30px;
	font-size:18px;
}
img.resultcheck{
	vertical-align: top;
	width: 20px;
	height:auto;
	margin-left:5px;
}
/*#step4 strong{
	display:block;
	margin-bottom:10px;
}
#step4 p{
	    margin: 0 0 5px;
}
#step4 .check-box{
	margin: 6px 0 0 0;
}
#step4 .col-md-4:nth-child(4){
	padding-right:0;
}
#step4 label{
	font-size: 14px;
}*/
#step4 h3{
	    margin: 30px 0 30px 0;
}
#step5 h2{
	text-align:center;
	margin-top:150px;
}
#step5 button{
	margin:auto;
	margin-top:100px;
	float:none;
}
#terms{
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	padding: 30px;
	background: #f6f6f6;
	height: 100%;
	z-index:100000;
}
/**************************************************


	

**************************************************/
/*thead, tbody { display: block; width:100%;}*/

#tbody {
	display: block;
	overflow-y:scroll;
	/*width:100%;
    height: 470px;       
    overflow-y: auto;   
    overflow-x: hidden; */
}

#senddata{
	float:left;
}



p.blue{
	color:#032c58;
}
p.bold{
	color:#032c58;
	font-weight:bold;
}
/************************************************************

 INPUT


*************************************************************/
input.required,button.required{
	border:1px solid red !important;
}

.form-control, .btn{
  -webkit-border-radius: 0px !important;
  -moz-border-radius: 0px !important; 
  border-radius: 0px !important; 
}
.btn-default{
	/*background:#fff !important;
	box-shadow: 0px 0px !important;
	border-color:#fff;*/
}


label{
	font-weight:normal;
	font-size:16px;
	margin-bottom:0px;
}
label.formlabel{
	font-weight:normal;
	margin-top: 15px;
}
label.formlabelbold{
	font-weight:bold;
	margin-top: 15px;
}	
input[type='text'].disabled, input[type='email'].disabled,input[type='number'].disabled{	
	color:#888;
}
input[type='text'],input[type='email'],input[type='number']{
	display:block;
	padding:10px 5px;
	width:100%;
	clear:both;
	font-size:18px;
	border: 1px solid #ccc;
	-webkit-border-radius:0; 
    border-radius:0;
    box-shadow: none !important;
	-webkit-appearance: none;
	
}
textarea{
	display:block;
	padding:10px 5px;
	width:100%;
	clear:both;
	font-size:18px;
	border: 1px solid #ccc;
	-webkit-border-radius:0; 
    border-radius:0;
    box-shadow: none !important;
	-webkit-appearance: none;
}


input[type='submit'],
button.button {
	background-color:#004d93;
	border:none;
	color:#fff;
	padding:10px 20px;
	display:block;
	-webkit-border-radius:0;
	-webkit-appearance: none; 
    border-radius:0;
	margin-top: 25px;
    font-size:20px;
}
input[type='submit']:hover{
	background-color:#032c58;
}
input[type='submit'].disabled{
	opacity:0.75;
}
#reset {
	margin-bottom: 10px;
  }
  #absenden {
	width: 100%;
	margin-bottom: 35px;
  }

button.styled{
	background-color:#004d93;
	border:none;
	color:#fff;
	padding:10px 20px;
	display:block;
	-webkit-border-radius:0;
	-webkit-appearance: none; 
    border-radius:0;
    margin: 0px;
    float:right;
    font-size:20px;
    min-width:190px;
}
button.styled-light{
	background-color:grey;
	border:none;
	color:#fff;
	padding:10px 20px;
	display:block;
	-webkit-border-radius:0;
	-webkit-appearance: none; 
    border-radius:0;
    margin: 0px;
    float:right;
    font-size:20px;
    min-width:190px;
}
button.styled.disabled{
	background-color:#7fa6c9;
}
button.step{
	position:absolute;
	top:310px;
}
button.step.right{
	right:0;
}
button.styled.small{
	 font-size:14px;
	 margin:3px;
	 min-width:100px;
	 padding:5px 10px;
	display: inline-block;
	float:none !important;
}
p.require{	
	color:#666;
	font-size:12px;
	display:block;
	margin-top:10px;
}


/*
checkbox
*/

input.styled[type="checkbox"]{
	float: left;
	padding: 5px 10px;
	margin:0 0 18px 0;
	height:41px;
	width: 100%;
	font-size: 1.1em;
	color: #333333;
	border: 1px solid #ccc;

	font-family: "OpenSansRegular", sans-serif;
	-webkit-appearance: none;
	-moz-appearance: none;
}
input.styled[type="radio"]{
	float: left;
	padding: 5px 10px;
	margin:0 0 18px 0;
	height:41px;
	width: 100%;
	font-size: 1.1em;
	color: #333333;
	border: 1px solid #ccc;

	font-family: "OpenSansRegular", sans-serif;
	-webkit-appearance: none;
	-moz-appearance: none;
}

input[type="checkbox"]{
	margin:5px 5px 5px 2px;
}
input[type="radio"]{
	margin:5px 5px 5px 2px;
}

input.styled[type="checkbox"]{
	display: block;
	clear: both;
	float:left;
	visibility: hidden;
	width:0px;
	height:0px;
}

input.styled[type="radio"] {
	display: block;
	clear: both;
	float:left;
	visibility: hidden;
	width:0px;
	height:0px;
}



.check-box {
	clear:both;
	margin:10px 0 20px 0;
	position: relative;
	width:100%;
}
.check-box.float {
	width:initial;
	clear:none;
	float:left;
	margin-right:20px;
}

.radio-box {
	clear:both;
	margin:20px 0 0 0;
	position: relative;
	width:100%;
}

.check-box label:nth-of-type(1) {
	cursor: pointer;
	position: absolute;
	width: 20px;
	height: 20px;
	top: 5px;
  	left: 0;
	background: #fff;
	border:1px solid #ccc;

}

.radio-box label:nth-of-type(1) {
	cursor: pointer;
	position: absolute;
	width: 20px;
	height: 20px;
	top: 0px;
  	left: 0;
	background: #fff;
	border:1px solid #ccc;
	border-radius: 50%;
}
.radio-box.big label:nth-of-type(1) {

	width: 24px;
	height: 24px;
	top: 2px;
}


.check-box.required label:nth-of-type(1) {

	border:1px solid #ff0000;

}

.radio-box.required label:nth-of-type(1) {

	border:1px solid #ff0000;

}
.check-box.disabled{
	pointer-events:none;
}
.radio-box.disabled{
	pointer-events:none;
}

.check-box label:nth-of-type(1):before {
	opacity: 0;
	content: '';
	position: absolute;
	width: 18px;
    height: 1px;
	background: transparent;
    top: 8px;
    left: 0px;
	border: 2px solid #143d60;
	border-top: none;
	border-right: none;
	border-left: none;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
.radio-box label:nth-of-type(1):before{
	opacity: 0;
	content: '';
	position: absolute;
	width: 8px;
    height: 8px;
	background-color: #333;
    top: 5px;
    left: 5px;
	border-radius:50%;

}
.radio-box.big label:nth-of-type(1):before{
	width: 12px;
    height: 12px;
}
.check-box label:nth-of-type(1):after {
	opacity: 0;
	content: '';
	position: absolute;
	width: 18px;
    height: 1px;
	background: transparent;
    top: 8px;
    left: 0px;
	border: 2px solid #143d60;
	border-top: none;
	border-right: none;
	border-left: none;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.check-box.disabled label:nth-of-type(1):after ,.check-box.disabled label:nth-of-type(1):before {
	border: 2px solid #888;
	border-top: none;
	border-right: none;
}
.radio-box.disabled label:nth-of-type(1):after ,.radio-box.disabled label:nth-of-type(1):before {
	border: 2px solid #888;
	border-top: none;
	border-right: none;
}

.check-box input.styled[type="checkbox"]:checked + label:after {
	opacity: 1;
}
.radio-box input.styled[type="radio"]:checked + label:after {
	opacity: 1;
}

.check-box input.styled[type="checkbox"]:checked + label:before {
	opacity: 1;
}
.radio-box input.styled[type="radio"]:checked + label:before {
	opacity: 1;
}
.radio-box.big label{
	font-size:20px;
}

.check-box label:nth-of-type(2) {
	display: block;
	width:auto;
	margin:0px 0px 5px 30px;
	cursor:pointer;

}
.radio-box label:nth-of-type(2) {
	display: block;
	width:auto;
	margin:0px 0px 5px 0px;
	cursor:pointer;
	padding-left:30px;
}
.radio-box.big label:nth-of-type(2) {
	padding-left:35px;
}
.check-box label.checkterms, .check-box label.checkoptin{
	font-weight:normal;
	padding-top: 5px;
}



.sweet-alert{
	width:500px;
	margin-left:-250px;
}

#checkbox-terms{
/*	margin-top:20px;*/
}

#signature {
	border: 1px dashed grey;
	background-color: #ffffff;
	background: #ffffff;
  }
  #signature.required {
	border: 1px solid #ff0000 !important;
  }


@media (min-width: 768px){

	.navbar-header {
		float: none;
	}


}


.navbar-header #logowrapper img:nth-child(1){
	max-height:45px !important;
	margin-top:10px;
}

@media  screen and (max-width: 500px){
	.navbar-header img:nth-child(1){
		max-width:130px !important;
	}
	.navbar-header img:nth-child(2){
		max-width:150px !important;
	}

	#clearcache, #senddata, #restart{
		display:block !important;
		margin:10px auto !important;
		float:none !important;
	}
}



/*
@media screen and (min-width: 320px) and (orientation: portrait) {
  html {
    transform: rotate(-90deg);
    transform-origin: left top;
    width: 100vh;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  }
	#wrapper{
		height: 100vw;
	
	}
  nav.navbar.navbar-inverse.navbar-fixed-top{
  	width: 100vh !important;
  }
}
*/


/*****
memory stats
***/
#logowrapper{
	float: right;
	position: relative;
	padding-right: 32px;
	padding-top: 23px;
}
#stats{
	border:1px solid grey;
	width:158px;
	height:17px;
	position:absolute;
	right:30px;
	top:-4px;
	background: linear-gradient(to right, green 0%, yellow 50%, red 100%);
}
#reccounter{
	font-size:12px;
}
#pointer{
	position: absolute;
	top: 17px;
	left: 0;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 10px solid black; /* Farbe des Dreiecks */
	margin-left: -5px;
}