
html, body
{
    height: 100%;
	font-family: 'PT Sans', sans-serif;
}

body{
	background-color:#fff;
	/*background-image: url('img/bg.jpg'); */
	background-position: center center;
	background-size: cover;
	background-attachment: fixed;
}

a.link:hover{ cursor:pointer; }

.next-btn{
	position: fixed;
	right: 0;
	bottom: 0;
	margin: 0 40px 60px 0;
	font-size: 20px;
	border:none;
	padding: 0.6em 1.5em;
	border-radius: 40px;
	font-weight: 700;
	color: #FFF;
	background: #FFCE4F;
	border-color: #FFCE4F;
	min-width: 120px;
	outline:none;
	text-align: center;
	cursor:pointer;
}

.next-btn:hover {
	background: #FFB800;
	color: #fff;
	text-decoration:none;
}

.next-btn::after {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	line-height: 3;
	text-align: center;
	background: transparent;
	color: rgba(0,0,0,0.3);
	content: 'ili pritisnite ENTER';
	font-size: 0.65em;
	pointer-events: none;
}

.btn{ background:#FFCE4F; color:#FFF; text-transform:uppercase; padding: 6px 22px;}
.btn:hover{ background:#FFB800; color:#FFF; }

#main-wrapper{
	width:100%;
	min-height:100%;
}


#home{
	padding:0 0 50px 0;
}

.splash-box {
	width:100%;
	text-align:center;
	padding:20px 0;
}

.splash-box  .logo{
	background: url(img/anparo.png) center center no-repeat;
	background-size:contain;
	width:100%;
	height:200px;
	display:block;
}

.splash-box  h1{
	font-size: 17px;
	line-height: 22px;
	text-transform: uppercase;
	max-width: 600px;
	margin: 80px auto 10px;
	font-weight: 700;
}

.splash-box .text-box p{
	font-size: 15px;
	margin:0 0 0px 0;
}

.splash-box .splash-icon{
	border: 21px solid #FFF;
	box-shadow: 0px 1px 111px #DFDFDF;
	border-radius: 50%;
	display: block;
	margin: 0 auto;
	width:140px;
	height:140px;
}


.form-wrapper{
	display: block;
	padding: 10px 40px 40px;
	border-radius: 4px;
	width:650px;
	margin:35px auto;
	background: #FFF;

}

.form-title{
	text-align:center;
	margin: 40px;
}

.form-title h2{
	text-align:center;
	font-size:22px;
}

.form-title p{
	text-align:center;
	font-size:14px;
}




.form-vertical label{
}

.form-vertical input, .form-vertical textarea{
	border:none;
	border-bottom:2px solid #ccc;
	box-shadow:none;
	border-radius:0px;
}

.form-horizontal{
	width:100%;
	margin:0 auto;
	display:block;
}

.form-horizontal label{
	float:left;
	width:25%;
	padding: 3px 0 0;
	text-align: right;
	font-size:20px;
	font-weight:400;
}

.form-horizontal label:after{
	content:":";
}

.form-horizontal .form-group{
	border-bottom:1px solid #ccc;
	padding-bottom: 4px;
	margin-bottom: 40px;
}


.form-horizontal input, .form-horizontal textarea{
	font-size:20px;
	float:right;
	width:73%;
	outline: none;
	border: none !important;
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	box-shadow: none !important;
	border-radius:0px;
}

/*LOADER*/

.loader {
  width: 30px;
  height: 30px;
  background-color: #FFB800;

  position: fixed;
  top:20px;
  right:20px;
  
  opacity:0;
  
  -webkit-animation: rotateplane 1.2s infinite ease-in-out;
  animation: rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes rotateplane {
  0% { -webkit-transform: perspective(120px) }
  50% { -webkit-transform: perspective(120px) rotateY(180deg) }
  100% { -webkit-transform: perspective(120px) rotateY(180deg)  rotateX(180deg) }
}

@keyframes rotateplane {
  0% { 
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg) 
  } 50% { 
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg) 
  } 100% { 
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}

/*LOADER*/
#loaderFull{
	width:100%;
	height:100%;
	position:fixed;
	top:-110%;
	left:0px;
	box-shadow:0px 1px 3px rgba(0,0,0,0.3);
	background-color:#FFB800;
	background-image: url(img/anparoWhite.png);
	background-position:center center;
	background-repeat:no-repeat;
	background-size:500px auto;
	z-index: 10000;
	transition:all 1s;
}

#loaderFull.active, .first-load #loaderFull{
	top:0;
}


/*ON PAGE LOAD ANIMATION
.first-load{
	height:100%;
}

.first-load #main-wrapper{
	background: rgba(255,255,255,1);
	height:auto;
	float:left;	
	height:100%;
	overflow:hidden;
}

.first-load  #main{
	box-shadow:none;
	width:100%;
	height:100%;
	margin-left:0;
	background: url(img/anparo.png) center center no-repeat;
}

.first-load  #navbar{
	opacity:0;
}

.first-load #home h1{
	opacity:0;
}

.first-load #home .cbp-qtrotator{
	opacity:0;
}

.first-load .page-content{
	opacity:0;
}

.first-load .loader{ opacity:1; }
*/

.logo{ opacity:1;  }


#test{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: block;
}

#test .form-wrapper{
	width:100%;
	height:100%;
	padding:0px;
	margin:0px;
}

#progress-indicator{
	height:10px;
	background:#FFCE4F;
	display:block;
	position:absolute;
	top:0;
	left:0;
	-webkit-transition:width 1s;
	transition:width 1s;
}

#current-question-indicator{
	display: block;
	position: absolute;
	top: 25px;
	right: 30px;
	font-size: 25px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 700;
	color: #ccc;
}

#timer{
  display: block;
  position: absolute;
  top: 25px;
  left: 30px;
  font-size: 25px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #ccc;
}

#current-question-indicator.questionsList{ 
	display:none;
}

.questions-container{
	width:100%;
	height:100%;
	padding:0px;
	margin:0px;
	list-style-type:none;
	overflow: hidden;
	position:relative;
}

.question{
	width:800px;
	position:absolute;
	top:0%;
	left:50%;
	margin:0px auto auto -400px;
	display:block;
	-webkit-transform:translateX(2000px);
	transform:translateX(2000px);
	-webkit-transition:all 1s;
	transition:transform 1s;
}

.question:first-child{
	transition: all 1s;
}

.question.active{
	-webkit-transform:translateX(0px);
	transform:translateX(0px);
}

.question.done{
	-webkit-transform:translateX(-2000px);
	transform:translateX(-2000px);
}

.question > label{ 
	display: block;
	font-size: 40px;
	color: #999;
	width: 100%;
	font-weight:300;
	padding: 25px 18px 10px 18px;
	border-bottom: 1px solid #ccc;
}

.answers-container{
	list-style-type:none;
	width:100%;
	text-align:center;
	padding:0;
	margin:0;
}

.answer{
	display:inline-block;
	vertical-align: middle;
	cursor:pointer;
	padding: 10px 20px;
	-webkit-transition:all 0.5s;
	transition:all 0.5s;
	z-index:0;
	position:relative;
	width:100%;
	margin-top:15px;
	margin-bottom:15px;
}

.answer.imageless{ 
	margin-bottom:0px;
	border-top:1px solid #FFF;
	border-bottom:1px solid #FFF;
}

.checkbox-answer:hover, .checkbox-answer.active{
	-ms-transform: scale(1.1); /* IE 9 */
    -webkit-transform: scale(1.1); /* Chrome, Safari, Opera */
    transform: scale(1.1);
	z-index:1;
}

.answer:hover, .answer.active{
	background:#FFFBE2;
	text-shadow: 1px 0px 0px #FFFFFF;
}

 .answer.imageless.active{
	border-top: 1px solid #FFE9B2;
	border-bottom: 1px solid #FFE9B2;
}

.answer.text-answer{
	padding:20px 0;
}


.answer  label { 
	cursor:pointer;
	width:100%;
}


.answer  label > img{ 
	display:block; 
	margin:0 auto; 
	max-width:150px;
}

.answer label > span{ 
	display:block; 
	margin:10px auto; 
	width:100%;
	font-size: 18px;
	font-weight: 400;
	text-align:center;
}

.answer.imageless label > span{
	text-align:left;
}

.answer  input[type="text"]{
	width:100%;
	border:none;
	border-bottom:1px solid #999;
	font-size:40px;
	padding:10px;
	outline:none;
}

.answer  input[type="checkbox"], .answer  input[type="radio"]{ 
	display:none;
}



.questionsList{
	width:800px;
	height: auto !important;
	margin:0 auto;
	overflow:visible;
	padding-bottom:150px;
}

.questionsListTitle{
	width: 800px;
	display: block;
	margin: 0 auto;
	padding: 80px 18px 30px;
	font-size: 20px;
	text-transform: uppercase;
	border-bottom: 3px solid #FFCE4F;
	font-weight: 400;
	color: #000;
}

.questionsList .question{
	width:100%;
	height:auto;
	position:relative;
	float:none;
	top:auto;
	left:auto;
	-webkit-transform:translateX(0px) !important;
	transform:translateX(0px) !important;
	margin: 50px 0 0 !important;
	transition:all 1s;
}

.questionsList .question:first-child{
	margin-top:70px;
}

.questionsList .question:last-child{
	margin-bottom:50px;
}

.questionsList .question label{
	font-size:24px;
}

.questionsList .question:first-child > label{
	padding: 10px;
}

.questionsList .answer{
	padding: 5px 15px;
}
.questionsList .answer label > span{
	font-size: 14px;
}


#testFinished{
	max-width: 100%;
	text-align: center;
	padding: 30px 0;
}

#testFinished h1{
	font-size: 20px;
}

#testFinished h2{
	border-bottom: 1px solid #ddd;
	border-top: 1px solid #ddd;
	padding: 30px 0;
	font-size: 30px;
	margin: 50px 0;
}

#testFinished p{
	font-size: 20px;
}


@media screen and (max-width: 800px)/*, screen and (max-height: 540px) */{
	
	#loaderFull{
		background-size: 250px auto;
	}
	
	.splash-box .logo{
		height: 130px;
	}
	
	.splash-box .splash-icon{
		max-width: 50%;
	}
	
	.splash-box h1{
		margin: 30px auto 15px;
	}
	
	.form-wrapper{
		width: 100%;
		padding: 10px;
		margin: 0 0 50px;
	}
	
	.form-title{
		text-align: center;
		margin: 10px 10px 30px;
	}
	
	.form-horizontal label{
		float: none;
		width: 100%;
		padding: 3px 0 0;
		text-align: left;
		font-size: 15px;
		color: #999;
		font-weight: 400;
		padding: 0 10px;
	}
	
	.form-horizontal input, .form-horizontal textarea{
		font-size: 20px;
		float: left;
		width: 100%;
	}
	
	
	
	.question{
		width:90%;
		margin:50px 5% 100px;
		left:auto;
	}
	
	.question > label{
		font-size: 24px;
		padding: 70px 10px 10px;
	}
	
	.questionsList{
		width:85%;
	}
	
	.questionsListTitle{
		width:90%;
		margin:0 5%;
		
	}
	
	
	
	
	.next-btn{
		position: relative;
		float: none;
		right: auto;
		bottom: auto;
		margin: 10px auto;
		display: block;
		max-width: 200px;
		overflow: auto;
	}
	.next-btn::after{ display:none; }
	
	.next-btn
	
}	



