html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

@import url('https://fonts.googleapis.com/css?family=Kanit:300,300i,400,400i,500,500i,600,700&display=swap');

body {
	margin: 0;
	padding: 0;
	text-align: left;	
	font-family: 'Nunito', sans-serif;
	font-size: 16px;
	min-height: 100%;
	overflow-x: hidden;
	background: #ffffff;
}

*{
	box-sizing: border-box;
}

a{
	text-decoration: none;
	color: #db413c;
}

a:hover{
	text-decoration: none;
	color: #db3430;
}

.fa-input {
	font-family: FontAwesome, 'Nunito', sans-serif;
}

/************************************************/
/* 				Box principali					*/
/************************************************/
h1{
	position: relative;
	width: 100%;
	margin: 10px 0 10px 0;
	padding: 0;
	font-size: 30px;
	line-height: 40px;
	color: #444444;
	font-family: 'Nunito', sans-serif;
	font-weight: 400;
	text-align: center;
}

h2{
	position: relative;
	width: 100%;
	margin: 10px 0 10px 0;
	padding: 0;
	font-size: 20px;
	line-height: 30px;
	color: #444444;
	font-family: 'Nunito', sans-serif;
	font-weight: 700;
	text-align: center;
}

#container{
	position: relative;
	width: 100%;
	height: 90%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	z-index: 10;
	text-align: center;
}

#logo{
	position: relative;
	height: 15%;
}

#logo img{
	height: 90%;
	top: 10%;
}

@media (max-width: 767px){
	h1{
		margin: 5px 0;
		font-size: 20px;
		line-height: 30px;
	}
}

/**************************************************/
/*				Header							  */
/**************************************************/
#header{
	position: relative;
	width: 100%;
	height: 10%;
	z-index: 50;
	z-index: 10;
}

#barraStep{
	position: absolute;
	width: 100%;
	height: 1px;
	background: #db413c;
	left: -100%;
	top: 30%;
}

.step{
	position: absolute;
	width: 20%;
	height: 100%;
	top: 0;
	text-align: center;
	color: #cccccc;
	font-size: 12px;
	font-weight: 300;
	padding: 0.4rem 0 0 0;
}

.step img{
	height: 40%;
	margin: 0 auto;
	display: inline-block;
	opacity: 0.1;
}

.stepText{
	opacity: 0;
}

#step1{
	left: 0;
}

#step2{
	left: 20%;
}

#step3{
	left: 40%;
}

#step4{
	left: 60%;
}

#step5{
	left: 80%;
}

#step6{
	left: 100%;
}

#footer{
	position: relative;
	width: 100%;
	height: 10%;
	z-index: 50;
	z-index: 10;
}

#step2, #step4, #step6, #step8, #step10{
	display: block;
}

@media (max-width: 767px){
	#step2, #step4, #step6, #step8, #step10{
		display: none;
	}
}

.iniziaTest, .fineTest{
}

.tasto{
    display: inline-block;
    margin: 10px 0;
    padding: 10px 14px;
    border: 2px solid #db413c;
    border-radius: 4px;
    background: #db413c;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.4s, color 0.4s;
}

.tasto:hover{
	background: #ffffff;
	color: #db413c;
	border: 2px solid #db413c;
}

.fineQuiz{
	position: relative;
	height: 60px;
	clear: both;
}

.tastoNav{
	position: absolute;
	width: 100%;
	bottom: 10px;
	left: 0;
}

.indietro{
	float: left;
}

.avanti, .conferma{
	float: right;
}

.stats{
	position: absolute;
	left: 5%;
	width: 90%;
	top: 5%;
	height: 90%;
	overflow: auto;
}

.invioRisposte, .chiudiStats{
	position: relative;
	float: left;
	padding: 12px 10px 8px 10px;
	margin: 10px 2%;
	background: #00428c;
	color: #ffffff;
	font-weight: bold;
	border-radius: 2px;
	cursor: pointer;
	font-size: 18px;
}

.chiudiStats{
	float: right;
}

.visualizzaRisposte{
	position: relative;
	margin: 20px 0;
}

.quiz, #slideHome, #slideFine{
	position: absolute;
	width: 80%;
	height: 80%;
	left: 10%;
	top: 15%;
	overflow: auto;
	background: rgba(255,255,255,0.8);
	border: 0.1red solid red;
}

.quizContent{
	position: relative;
	width: 90%;
	min-height: 85%;
	margin: 0;
	padding: 0;
	top: 5%;
	left: 5%;
}

.quizContent label{
	position: relative;
	width: 100%;
	padding: 0;
	margin: 10px 0;
}

.quizContent input[type=text]{
	position: relative;
	width: 100%;
	padding: 12px 20px;
	margin: 0px 0;
	display: inline-block;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

.quizContent textarea {
	position: relative;
	width: 100%;
	height: 150px;
	padding: 12px 20px;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 4px;
	background-color: #f8f8f8;
	resize: none;
}

span.descrizioneTasto{
	font-size: 14px;
}

.slideIco{
	position: relative;
	width: 100%;
	margin: 0 0 10px 0;
	text-align: center;
}

.slideIco img{
	width: 80%;
	max-width: 150px;
	display: inline-block;
}

.tastoBox{
	position: relative;
	float: left;
	border: 1px solid #cccccc;
	border-radius: 4px;
	padding: 20px 0;
	text-align: center;
	cursor: pointer;
}

.tastoBox img{
	width: 80%;
	max-width: 120px;
	margin-bottom: 6px;
}

.tastoBox:hover{
	background: #f8f8f8;
}

.tastoBox20{
	width: 16%;
	margin: 10px 2%;
}

.tastoBox25{
	width: 21%;
	margin: 20px 2%;
}

.tastoBox33{
	width: 29%;
	margin: 20px 2%;
}

.tastoBox50{
	width: 46%;
	margin: 20px 2%;
}

@media (max-width: 767px){

	.tasto{
		padding: 20px 14px;
	}

	.tastoBox{
		float: none;
		padding: 10px 0;
	}
	
	.tastoBox img{
		width: 80%;
		max-width: 100px;
		margin-bottom: 6px;
	}


	.tastoBox20, .tastoBox25, .tastoBox33, .tastoBox50{
		width: 96%;
		margin: 10px 2%;
	}
	
	.quiz, #slideHome, #slideFine{
		width: 90%;
		left: 5%;
		height: 100%;
		top: 15%;
	}
	
	#logo img{
		height: 50%;
	}
	
	.quizContent{
		top: 0%;
	}
}

.tastoRisposta{
	position: relative;
	float: left;
	width: 40%;
	margin: 10px 5%;
	border: 1px solid #cccccc;
	border-radius: 4px;
	padding: 20px 0;
	text-align: center;
	cursor: pointer;
}

#navBar1,#navBar2{
	position: absolute;
	width: 100%;
	height: 10%;
	left: 100%;
	text-align: center;
	z-index: 1000;
	background: #ffffff;
	bottom: 0px;
}

.linkDomanda{
    display: inline-block;
    border-radius: 20px;
    width: 20px;
    height: 20px;
  /*  background: #00428c;*/
    border: 2px solid #5191d2;
    margin: 0px 5px;
    cursor: pointer;
}

.linkDomandaOver{
	background: #5191d2;
	border: 2px solid #00428c;
}

@media (max-width: 480px){

	.quizContent input[type=text]{
		padding: 22px 26px;
	}

}
.quiz, #slideFine{
	left: 100%;
	z-index: 100;
}
/*
#slide1-1, #slide2-1{
	left: 100%;
	z-index: 100;
}

#slide1-2, #slide2-2{
	left: 100%;
	z-index: 200;
}

#slide1-3, #slide2-3{
	left: 100%;
	z-index: 300;
}

#slide1-4, #slide2-4{
	left: 100%;
	z-index: 400;
}

#slide1-5, #slide2-5{
	left: 100%;
	z-index: 400;
}
*/
 
/********************************************************/
/* 				Form generica							*/
/********************************************************/
form input[type="text"], form textarea, form select{
	position: relative;
	width: 100%;
	border: 1px solid #ccc;
	padding: 5px 1%;
	border-radius: 1px;
	margin: 0;
}

form input[type="text"]:focus, form textarea:focus, form select:focus{
	border: 1px solid #5191d2;
}

form textarea{
	min-height: 100px;
	font: normal normal normal 12px ms-serif,arial,tahoma;
	color: #444444;
}

form select{
	color: #444444;
}

form input[type='radio'], input[type='checkbox'] {
	cursor: pointer;
	margin: 5px 0;
}

form input[type="submit"]{
	position: relative;
	float:left;
	width: 46%;
	margin: 10px 2%;
	padding: 8px 0;
	border: 10px solid #00428c;
	border-radius: 1px;
	background: #00428c;
	color: #ffffff;
	font-weight: bold;
	cursor: pointer;
	transition: background 0.4s, color 0.4s;
}

form input[type="submit"]:hover{
	background: #00428c;
	color: #ffffff;
}

form input[type="text"].errore, form input[type="checkbox"].errore, input[type="text"].errore,  input[type="checkbox"].errore{
	border: 1px solid #f36f6f;
}

label.errore{
	color: #f36f6f;
}

/************************************************/
/* 				Città							*/
/************************************************/
#_cercaLuoghi{
	width: 98%;
	margin: 0 auto;
	border: 0.1rem solid #cccccc;
	border-top: transparent;
	opacity: 0;
	max-height: 10rem;
	overflow: auto;
}

._cercaLuoghi{
	position: relative;
	width: 100%;
	border-bottom: 0.1rem solid #cccccc;
	padding: 0.6rem 1%;
	text-align: left;
	font-size: 12px;
}

@media (max-width: 767px){
	._cercaLuoghi{
		padding: 1.2rem 5%;
	}
}

/************************************************/
/* 				Utilità							*/
/************************************************/
.vuoto {
	clear:both;
}

.visible-mob{
	display: none;
}

@media (max-width: 767px){
	.visible-mob{
		display: block;
	}
	
	.hidden-mob{
		display: none;
	}

}
#calendario{
	position: relative;
	width: 100%;
	max-width: 16rem;
	margin: 0 auto;
}
