:root {
	--dimensione : 1; /*0.4;*/
	--color : #ECC782; /*#59B7B3;*/
	--color2 : #F6D692;
	
	/*grandezze esagoni*/
	--offsetO : 34%;
	--offsetV : 40%;
	--larghezza : 32%;
	
	/*grandezze esagoni lingue*/
	--larghezzaLn : 12%;
	
	/*grandezze esagoni grafica*/
	--offsetOG : 80%;
	--offsetVG : 140%;
	--larghezzaG : 15%;
	
	/*grandezze esagoni grafica*/
	--larghezzaB : 5%;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@200,300;400;500;700&display=swap');

html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-size: calc(var(--dimensione) * 62.5%);
	background: #ffffff;
	font-family: 'Roboto', sans-serif;
}

*{
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
	box-sizing: border-box;
}

/************************************************/
/* 				Testo							*/
/************************************************/
h1{
	position: relative;
	top: 0px;
	left: 0px;
	margin: 0px 0px 0px 0px;
	padding: 1.0rem 0rem 1.0rem 0rem;
	font-size: 1.8rem;
	font-weight: bold;
}

body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	text-align: left;	
	color: #444444;
	line-height: 1.6rem;
	font-size: 1.4rem;
	font-weight: 400;
}

a{
	text-decoration: none;
	color: #ffffff;
}

a:hover{
	text-decoration: underline;
	color: #ffffff;
}

/************************************************/
/* 				Box principali					*/
/************************************************/

#container{
	position: relative;
	width: calc(var(--dimensione) * 1080px);
	height: calc(var(--dimensione) * 1920px);
	margin: 0 auto;
	overflow: hidden;
	border: 0.1rem solid black;
}

#barraSu, #barraGiu{
	position: absolute;
	width: 100%;
	height: 5%;
	left: 0;
	background: var(--color);
	color: #444;
	display: flex;
	align-items: center;
	justify-content: center;
}

#barraSu{
	top: 0;
	font-size: 1.6rem;
	font-weight: 400;
}

#barraSuLogo{
	position: absolute;
	width: 20%;
	height: 96%;
	left: 2%;
	top: 2%;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	cursor: pointer;
}

#barraSuLogo img{
	width: 100%;
}

#barraSuIcone{
	position: absolute;
	width: 70%;
	height: 96%;
	right: 2%;
	top: 2%;
	display: flex;
	align-items: center;
	justify-content: right;
}

#barraSuIcone a, #barraSuIcone a:hover{
	color: #444444;
	text-decoration: none;
}

#barraSuIcone i{
	margin: 0 1rem;
}

#barraGiu{
	bottom: 0;
	font-size: 3rem;
	font-weight: 400;
}

#barraGiuSito{
	position: absolute;
	width: 46%;
	height: 96%;
	left: 2%;
	top: 2%;
	display: flex;
	align-items: center;
	justify-content: left;
}

#barraGiuSocial{
	position: absolute;
	width: 46%;
	height: 96%;
	right: 2%;
	top: 2%;
	display: flex;
	align-items: center;
	justify-content: right;
}

#testoHome{
	position: absolute;
	top: 10%;
	left: 15%;
	width: 70%;
	height: 20%;
	text-align: center;
}

#logoHome{
	position: absolute;
	bottom: 10%;
	left: 25%;
	width: 50%;
	height: 20%;
	text-align: center;
}

#testoHome img, #logoHome img{
	width: 100%;
	display: inline-block;
}

#contenitore{
	position: absolute;
	width: 100%;
	height: 90%;
	top: 5%;
	left: 0;
	overflow: hidden;
}

#corpo{
	position: absolute;
	width: 100%;
	height: 100%;
	/*border: 0.1rem solid red;*/
	top: 0%;
	left: 0%;
	opacity: 0;
	z-index: 0;
	display: none;
	z-index: 200; 
	box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.38);
}

iframe{
	border:0;
}

#quadrato{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
}

#quadrato img{
	width: 100%;
	display: block;
}

#logo{
	position: absolute;
	left: 0%;
	top: 5%;
	width: 50%;
	height: 15%;
	text-align: center;
	display: none;
}

#logo img{
	width: 80%;
	display: inline-block;
}

/************************************************/
/* 				Esagoni							*/
/************************************************/
.esagono{
	position: absolute;
	clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
	cursor:pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.esagonoExt{
	width: var(--larghezza);
	height: var(--larghezza);
}

.esagonoBordo{
	width: 96%;
	height: 96%;
	margin: 2%;
	background: var(--color);
}

.esagonoInt{
	width: 98%;
	height: 98%;
	margin: 1%;
	padding: 5%;
	background: #ffffff;
	font-size: 2.4rem;
	line-height: 3.2rem;
	text-align: center;
	text-transform: uppercase;
	font-weight: 700;
}

.esagonoLogo{
	background: linear-gradient(90deg, rgba(73,120,121,1) 0%, rgba(90,138,138,1) 100%);
}

.esagonoInt img{
	width: 90%!important;
}

#eIt{
	top: 67%;
	left: 61%;
	width: var(--larghezzaLn);
	height: var(--larghezzaLn);
	z-index: 100;
}

#eIt .esagonoInt{
	background-image: url(../img/it.png);
	background-position: center center;
	background-size: 130%;
	background-repeat: no-repeat;
}

#eEn{
	top: 97%;
	left: 26%;
	width: var(--larghezzaLn);
	height: var(--larghezzaLn);
	z-index: 100;
}

#eEn .esagonoInt{
	background-image: url(../img/en.png);
	background-position: center center;
	background-size: 150%;
	background-repeat: no-repeat;
}

#eLogo{
	top: calc(var(--offsetV) + var(--larghezza));
	left: var(--offsetO);
}

#e1{
	top: var(--offsetV);
	left: var(--offsetO);
	opacity: 0;
	z-index: 0;
	display: none;
}

#e2{
	top: calc(var(--offsetV) + var(--larghezza) * 0.5 );
	left: calc(var(--offsetO) + var(--larghezza) * 0.75 );
	opacity: 0;
	z-index: 0;
	display: none;
}

#e3{
	top: calc(var(--offsetV) + var(--larghezza) * 1.5 );
	left: calc(var(--offsetO) + var(--larghezza) * 0.75 );
	opacity: 0;
	z-index: 0;
	display: none;
}

#e4{
	top: calc(var(--offsetV) + var(--larghezza) * 2 );
	left: var(--offsetO);
	opacity: 0;
	z-index: 0;
	display: none;
}

#e5{
	top: calc(var(--offsetV) + var(--larghezza) * 1.5 );
	left: calc(var(--offsetO) - var(--larghezza) * 0.75 );
	opacity: 0;
	z-index: 0;
	display: none;
}

#e6{
	top: calc(var(--offsetV) + var(--larghezza) * 0.5 );
	left: calc(var(--offsetO) + var(--larghezza) * 0.75 );
	opacity: 0;
	z-index: 0;
	display: none;
}

#e7{
	top: calc(var(--offsetV) + var(--larghezza) * 1.5 );
	left: calc(var(--offsetO) + var(--larghezza) * 0.75 );
	opacity: 0;
	z-index: 0;
	display: none;
}


#e8{
	top: calc(var(--offsetV) + var(--larghezza) * 0.5 );
	left: calc(var(--offsetO) + var(--larghezza) * 0.75 );
	opacity: 0;
	z-index: 0;
	display: none;
}

#e9{
	top: calc(var(--offsetV) + var(--larghezza) * 1.5 );
	left: calc(var(--offsetO) + var(--larghezza) * 0.75 );
	opacity: 0;
	z-index: 0;
	display: none;
}

#e10{
	top: calc(var(--offsetV) + var(--larghezza) * 0.5 );
	left: calc(var(--offsetO) - var(--larghezza) * 0.75 );
	opacity: 0;
	z-index: 0;
	display: none;
}

#cta{
	position: absolute;
	top: 150%;
	left: 15%;
	width: 60%;
	padding: 3rem 0;
	text-align: center;
	background: var(--color);
	background: linear-gradient(90deg, var(--color) 0%, var(--color2) 50%, var(--color) 100%);
	color: #444;
	font-weight: 600;
	font-size: 3rem;
	line-height: 2.6rem;
	opacity: 0;
	cursor: pointer;
}

#ctaTop{
	position: absolute;
	top: 0;
	left: 48%;
	width: 4%;
	height: 8%;
	clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
	z-index: 100;
	background: #ffffff;
}

#ctaBottom{
	position: absolute;
	bottom: 0;
	left: 48%;
	width: 4%;
	height: 8%;
	clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
	z-index: 100;
	background: #ffffff;
}


#ctaPdf{
	position: absolute;
	bottom: 5%;
	left: 20%;
	width: 60%;
	padding: 3rem 0;
	text-align: center;
	background: var(--color);
	background: linear-gradient(90deg, var(--color) 0%, var(--color2) 50%, var(--color) 100%);
	color: #444;
	font-weight: 600;
	font-size: 3rem;
	line-height: 2.6rem;
	opacity: 0;
	cursor: pointer;
	display: none;
	z-index: 300; 
}

/************************************************/
/* 				Esagoni grafica					*/
/************************************************/
.esagonoExtG{
	width: var(--larghezzaG);
	height: var(--larghezzaG);
}

.esagonoBack{
	width: calc(var(--larghezzaB) * 1.86);
	height: var(--larghezzaB);
	top: 92%;
	left: 84.5%;
	z-index: 600;
	display: none;
	cursor: pointer;
}

#eg1{
	top: var(--offsetVG);
	left: var(--offsetOG);
}

#eg2{
	top: calc(var(--offsetVG) + var(--larghezzaG) * 0.5 );
	left: calc(var(--offsetOG) + var(--larghezzaG) * 0.75 );
}

#eg3{
	top: calc(var(--offsetVG) + var(--larghezzaG));
	left: var(--offsetOG);
}

#eg4{
	top: calc(var(--offsetVG) + var(--larghezzaG) * 1.5 );
	left: calc(var(--offsetOG) + var(--larghezzaG) * 0.75 );
}

/************************************************/
/* 				Calendario						*/
/************************************************/
.trattamentoTasto{
	position: relative;
	width: 80%;
	margin: 6rem 10% 0rem 10%;
	background: var(--color);
	color: #444444;
	padding: 20px 0;
	text-align: center;
	font-weight: 600;
	font-size: 3.6rem;
	line-height: 4.8rem;
}

.trattamentoTasto span{
		font-size: 3rem;
		font-weight: 200;
}
a:hover._link{
  text-decoration: none;
}
#calendario{
	position: relative;
	width: 90%;
	margin: 4rem 5% 0 5%;
}

.giorno{
	position: relative;
	float: left;
	width: 20%;
	/*border: 0.1rem solid red;*/
}

.ora{
	position: relative;
	border-bottom: 0.1rem solid #ccc;
	border-right: 0.1rem solid #ccc;
	text-align: center;
}

.oraTitolo{
	padding: 2rem 0;
	font-weight: 600;
	font-size: 3.2rem;
}

.oraNum{
	padding: 2.8rem 0;
	font-size: 3.2rem;
}

.oraTasto{
	display: inline-block;
	width: 5.3rem;
	height: 4.6rem;
	overflow: hidden;
	margin: 1.2rem 0 1.1rem 0;
	position: relative;
}
 .oraEsagono{
	clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);

	position: absolute;
	width: 100%;
	height: 100%;
}
._ora .oraEsagono{

	cursor:pointer;

}

.occupato{
	background: #DDADAF
}

.libero{
	background: #ACE1AF;
}
.semiLibero{
	background: #dfdb4c;
}

.disabilitato{
	background: #f8f8f8;
}

/********************************************************/
/* 				Form generica							*/
/********************************************************/

form{
	width: 80%;
	margin: 4rem 10% 0 10%;
}

form label{
	position: relative;
	width: 100%;
	margin: 0 0% 2rem 0%;
	padding: 0;
	font-weight: 300;
	padding-top: 0.4rem;
	font-size: 3.8rem;
	color: #a3a3a3;
}

::placeholder {
  color: #444444;
  opacity: 0.5;
}

form input[type="text"], form input[type="password"], form textarea, form select{
	position: relative;
	width: 100%;
	border: 0;
	border-bottom: 0.1rem solid #444;
	padding: 2rem 1% 0.5rem 1%;
	margin: 0 0 3rem 0;
	font-size: 3.8rem;
	font-weight: 500;
}

form input[type="text"]:focus, form input[type="password"]:focus, form textarea:focus, form select:focus{
	outline: none;
	border-bottom: 0.1rem solid var(--color);
}

form textarea{
	min-height: 10rem;
	font: normal normal normal 1.2rem 'Roboto', sans-serif;
	color: #444444;
}

form select{
	color: #444444;
}

form input[type='radio'], input[type='checkbox'] {
	cursor: pointer;
	margin: 5px 0;
	height: 3.8rem;
	width:3.8rem;
}

form input[type="submit"], form input[type="reset"]{
	display: inline-block;
	margin: 1rem 0%;
	width: 100%;
	padding: 1.6rem 5%;
	border: 0.1rem solid var(--color);
	background: var(--color);
	color: #444444;
	cursor: pointer;
	transition: background 0.4s, color 0.4s;
	font-family: 'Roboto', sans-serif;
	font-weight: 600;
	font-size: 3.8rem;
}

form input[type="submit"]:hover, form input[type="reset"]:hover{
	background: var(--color);
	color: #444444;
}

.testoPrivacy{
	font-size: 2.2rem;
	line-height: 3rem;
}

.errore{
	color: #cf3838;
	background: #f8f8f8;
}

span.errore{
	font-size: 2rem; 
	color: #cf3838;
}

.rispostaForm{
	position: relative;
	width: 80%;
	margin: 40% 10% 0 10%;
	font-size: 4rem;
	font-weight: 600;
	text-align: center;
	line-height: 5rem;
}


/*------------Dom--------------------*/
#frame{
	position: relative;
	width: 100%;
	overflow: hidden;
	/*display: none;*/
}

/*
#corpo{
	opacity: 1;
}

#quadrato{
	display: none;
}
*/
