* {
	box-sizing: border-box;

}


html,body
{
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
	background:	white;
	font-family: 'Muli', sans-serif;
}

html{
	overflow: hidden;
	overflow-y: scroll;
/*	scroll-behavior: smooth;*/
}

.box1-title{
  position: relative;
  top: 0px;
  width: 100%;
	height: 100%;
  background-color: #b71705; /*#a7101f*/
	/*display: block;
overflow: auto;*/
text-align: center;

}
/*contenuto box 2 */
.box2{
  position: relative;
  top: 0px;
  width: 100%;
  height: auto;
	min-height: 100%;
  background-color: white;/*#FFEFD5*/
	display: grid;
	grid-template-columns: auto auto ;
	grid-template-rows: auto auto auto;
	grid-template-areas:
	"boxText boxText"
	"boxFunz boxFunz"
	"scuoT scuoT";
	overflow: hidden;
}

.imgCosaHome{
	position: absolute;
	height: 100%;
	min-width: 100%;
}

.boxTL{
	grid-area: boxText;
	z-index: 1;
	max-width: 60%;
}

.explainBox{
	grid-area: boxFunz;
	z-index: 1;
	display: grid;
	grid-template-rows: 30% auto;
	grid-template-areas:
	"pres pres pres"
	"art book work";
	justify-content: center;
	grid-column-gap: 50px;

}

.funzT{
	grid-area: pres;
}

.articoliBox{
	grid-area: art;
	background-color: white;
	width: 300px;
	height: 250px;
	text-align: center;
	padding-top: 20px;
	overflow: hidden;
	cursor: pointer;
}

.articoliBox:hover{
	transform: scale(1.1);
}

.mercatinoBox{
	grid-area: book;
	background-color: white;
	width: 300px;
	height: 250px;
	text-align: center;
	padding-top: 20px;
	cursor: pointer;
}

.mercatinoBox:hover{
	transform: scale(1.1);
}

.annunciBox{
	grid-area: work;
	background-color: white;
	width: 300px;
	height: auto;
	height: 250px;
	text-align: center;
	padding-top: 20px;
	cursor: pointer;
}

.annunciBox:hover{
	transform: scale(1.1);
}

.imgDBox{
	padding-top: 10px;
	width: 40px;
	height: 40px;
}

.box-opZ{
	position: absolute;
	background-color: white;
	width: 100%;
	height: 100%;
	opacity: 0.4;
}

#divTxt{
	width: 80%;
/*	box-shadow: 20px 0px 9px white;*/
}

.pScritt{
	padding: 10px;
	font-size: 17px;
	line-height: 30px;
}

.scuoleSel{
 grid-area: scuoT;
 z-index: 1;
 align-self: center;
 grid-template-columns:  auto 200px;
 display: grid;
 border-right: 6px solid #b71705;
 margin-left:25px;
 margin-right:25px;
 background-color: white;
 line-height: 30px;
 word-wrap: break-word;
 text-align: center;
}

.scuoIndent {
	padding-top: 25px;
  padding-bottom: 25px;
	padding-left: 5px;
	padding-right: 5px;

}

.clickScuo{
	width: 150px;
	height: 50px;
	font-size: 19px;
	color: #b71705;
	background-color: white;
	border: 3px solid #b71705;
	border-radius: 30px;
	cursor: pointer;
	align-self: center;
}

.clickScuo:hover{
	transition-duration: 0.4s;
	color: white;
	background-color: #b71705;
	border: 3px solid white;
}

.overHov{
	position: absolute;
	width: 300px;
	height: 250px;
	margin-top: -20px;
	background-color: white;
	opacity: 0.6;
	display: none;
}

.buttScopri{
	position: absolute;
	left: 50px;
	top: 80px;
	align-self: center;
	z-index: 1;
	height: 32px;
	width: 200px;
	  -webkit-transition-duration: 0.4s;
	  transition-duration: 0.4s;
	  cursor:pointer;
		  background-color: #b71705;
		  color: white;
		  border: 2px solid #b71705;
			margin-top: 20px;
			font-size: 18px;
			border-radius: 20px;
			display: none;
}

.buttScopri:hover{
	background-color: white;
	color:#b71705;
	border: 2px solid #b71705;
}


/*FINE impostazioni contenuto box 2*/

/*INIZIO box3*/
.box3{
  position: relative;
  top: 0px;
  width: 100%;
  height: auto;
	min-height: 100%;
  background-color: white;/*#FFEFD5*/
	display: grid;
	grid-template-columns: 40% 60% ;
	grid-template-areas:
	"imgChi parText";
}

.imgChiSiamo{
	grid-area: imgChi;
	height: 550px;

	align-self: center;
	justify-self: center;
	align-self: center;
	border-radius: 200px;
}

.textChi {
	grid-area: parText;
	height: 200px;
	border-right: 6px solid #b71705;
	margin-left:25px;
	margin-right:25px;
	background-color: white;

	padding-left: 1.8em;
	padding-right: 1.2em;
	padding-top: 20px;
	padding-bottom: 25px;
	line-height: 30px;
	word-wrap: break-word;
	align-self: center;
}
/*FINE box3*/

/*INIZIO box4*/
.box4{
	position: relative;
  top: 0px;
  width: 100%;
  height: auto;
	min-height: 100%;
  background-color: white;/*#FFEFD5*/
	display: grid;
	grid-template-columns: 60% 40% ;
	grid-template-rows: auto 15%;
	grid-template-areas:
	"textMiss copVidDiv"
	"ambDiv ambDiv";
}
.textMiss {
	grid-area: textMiss;
	height: 200px;
	border-left: 6px solid #b71705;
	margin-left:25px;
	margin-right:25px;
	background-color: white;

	padding-left: 1.8em;
	padding-right: 1.2em;
	padding-top: 20px;
	padding-bottom: 25px;
	line-height: 30px;
	word-wrap: break-word;
	align-self: center;
}

.copVidDiv{
	grid-area: copVidDiv;
	height: auto;
	display: grid;
	grid-template-areas:
	"codVi"
}

.copVid{
	grid-area: codVi;
	justify-self: center;
	align-self: center;
}

.playButt{
	grid-area: playB;
	align-self: center;
	position: relative;
	left: 400px;
	width: 50px;
	height: 50px;
	cursor: pointer;
}

.ambSel{
 grid-area: ambDiv;
 z-index: 1;
 align-self: center;
 grid-template-columns:  auto 200px;
 display: grid;
 /*box-shadow: 0 0 9px #939893;*/
 border-right: 6px solid #008000;
 margin-left:25px;
 margin-right:25px;
 background-color: white;
 line-height: 30px;
 word-wrap: break-word;
 text-align: center;

}

.ambIndent {
	padding-top: 25px;
  padding-bottom: 25px;
	padding-left: 5px;
	padding-right: 5px;

}

.clickAmb{
	width: 150px;
	height: 50px;
	font-size: 19px;
	color: #008000;
	background-color: white;
	border: 3px solid #008000;
	border-radius: 30px;
	cursor: pointer;
	align-self: center;
}

.clickAmb:hover{
	transition-duration: 0.4s;
	color: white;
	background-color: #008000;
	border: 3px solid white;
}

/*FINE box4*/

.logo-top{
	max-width: 500px;
	height: 50%;
  margin: auto;
	padding-top: 65px;
/*  position: relative;
  left: 50%;
  top: 200px;*/
}

.logo-top-img{
	line-height: 100%;
  max-height: 100%;
	width: auto;
	max-width: 100%;
	vertical-align: middle;
}

.helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}


.main-box-text{
	font-size: 2.0em;
	color: 	#F5FFFA;
	width: 70%;
	height: 25%;
	font-style: italic;
	/*position: relative;
	top: 300px;
	left: 50%;*/
	margin: auto;
	padding-top: 10px;
	text-align: center;
}

.cookie{
	position: fixed;
	bottom: 0;
	background-color: black;
	color: white;
	z-index:10;
	padding-left: 20px;
	padding-right: 20px;
	text-align: center;
	padding-bottom: 10px;
	padding-top: 10px;
	display: none;
}

.arrow{
	/*position: relative;
	top: 380px;
	left: 50%;*/
	margin:auto;
	width: 86px;
	height: 86px;
	border-radius: 43px;
	border: 3px solid white;
	text-align: center;
	cursor: pointer;
	transition: 0.3s;
	vertical-align: middle;

}

.arrow:hover{

	background-color: black;
}

.dimensioni-arrow{
	height: 46px;
	width: 46px;

}

.mySlides {
  display: none;
  height: 100%;
  width: 100%;
  overflow-y: hidden;
  text-align: center;

}
img {
	vertical-align: middle;
}



h1,h2 {
  text-align: center;
  color: #b22222;
}


.benv-class{
	color: white;
	font-size: 1.0em;
	z-index: 3;
}






a{
  text-decoration: none;
}

li{
  list-style-type: none;

}



#navMenu {
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 3;
}


ul.parent {
  margin:0;
  padding:0;
  list-style:none;
  background: #b71705;
  text-align: center;
  position: relative;
}

ul.parent > li {
  display: inline-block;
  list-style: none;
}

ul.parent > li > a {
  display:block;
  height: 59px;
  width:300px;
  color: white;
  line-height: 65px;
  text-decoration: none;
  transition: background 0.5s linear 0s, color 0.5s linear 0s;      /* Transazione: effetto di graduale cambio del colore che viene dato al passaggio del mouse */
}                                                                         /* su una delle caselle del menu*/

ul.parent > li:hover {
  background-color: #F08080;;
}

ul.child {
  position: absolute;
  width: 350px;
  display: none;
}


.bloccoInfo {
	position: relative;
/*	top: 50px;*/
  background: #b71705;
  color: white;
	padding-bottom: 100px;
}

.indent {
	position: relative;
	top: 50px;
	border-left: 6px solid #b71705;
	margin-left:25px;
	margin-right:25px;
	background-color: white;

	padding-left: 1.8em;
	padding-right: 1.2em;
	padding-top: 20px;
	padding-bottom: 25px;
	margin-bottom: 100px;
	line-height: 30px;
	word-wrap: break-word;
}

p.indent
{

}

.sendForm
{
  position: relative;
	left: 30%;
  margin-top: 30px;
  height: 35px;
  width: 40%;
  font-size: 16px;
	font-family: 'Muli', sans-serif;
	padding-left: 20px;
	border-radius: 7px;
}

textarea {
	position: relative;
	left: 30%;
  margin-top: 30px;
  font-size: 16px;
	min-width: 40%;
  max-width: 40%;
}

.menu-select{
	width: 50px;
	height:50px;
}

button.login
{

  background-color: #b71705;
  color: white;
  border: 2px solid white;
}

button.login:hover {
	background-color: white;
	color: black;
	border: 2px solid #b71705;
}

.giornalini{
	text-align: center;
	font-weight: bold;
	padding-top: 30px;
	margin-bottom: 30px;
	padding-left: 20px;
	padding-right: 20px;
}
.butt-form-in{
position: relative;
left: 42.5%;
height: 32px;
width: 15%;
font-size: 18px;
background-color: #b71705;
color:  white;
border: 2px solid white;
margin-top: 20px;
}

.butt-form-in:hover{
	background-color: white;
	color: #b71705;
	border: 2px solid #b71705;

}
.cercaTuttiGiorn{
	height: 32px;
	width: 200px;
	  -webkit-transition-duration: 0.4s;
	  transition-duration: 0.4s;
	  cursor:pointer;
		  background-color: white;
		  color: #b71705;
		  border: 2px solid #b71705;
			margin-top: 20px;
			font-size: 18px;
}

.butt-guarda{
	text-align: center;
}

.cercaTuttiGiorn:hover {
	background-color:#b71705;
	color: white;
	border: 2px solid white;
}

#tex{
	height: 100px;
}

#contattoForm{
	display: none;
}

.piu{
    font-size: 25px;
    font-weight: bold;
}

.contattiShow{
	font-size:18px;
	text-align:center;
	cursor: pointer;
	margin: auto;
	border-radius: 8px;
}

.contattiShow:hover{
	opacity: 0.4;
	transition: opacity 0.3s;
}

@media screen and (max-width: 1440px) {
	.box4{

		grid-template-columns: auto ;
		grid-template-rows: auto auto 15%;
		grid-template-areas:
		"copVidDiv"
		"textMiss"
		"ambDiv";
	}
	.textMiss {

		align-self: start;
	}
}

@media screen and (max-width: 1050px) {
	.explainBox{

		grid-template-rows: 10% auto auto;
		grid-template-areas:
		"pres pres"
		"art book"
		"work work";
		grid-row-gap: 30px;
	}
	.scuoleSel{
	 margin-top: 20px;
	 margin-bottom: 20px;
	}
	.boxTL{
		max-width: none;
	}
	.indent{
		margin-bottom: 60px;
	}
	/*box3*/
	.box3{
		grid-template-columns: auto;
		grid-template-areas:
		"imgChi"
		"parText";
	}
}

@media screen and (max-width: 695px) {
	.box2{
		grid-template-columns: auto;
		grid-template-rows: auto auto auto;
		grid-template-areas:
		"boxText"
		"boxFunz"
		"scuoT";
	}
	.explainBox{
		grid-template-rows: 10% auto auto;
		grid-template-columns: 100%;
		grid-template-areas:
		"pres"
		"art"
		"book"
		"work";
		grid-column-gap: none;
		grid-row-gap: 1px;
	}
	.scuoleSel{
	 margin-top: 20px;
	 margin-bottom: 20px;
	 width: 98%;
	 margin-left: 0;
	 margin-right: 0;
	 grid-template-columns: auto;
	 justify-content: center;
	 justify-self: end;
	}
	.clickScuo {
		margin: auto;
		height: 40px;
		margin-top: 15px;
		margin-bottom: 15px;
	}
	.scuoIndent {
		padding-top: 10px;
		padding-bottom: 10px;

	}
		.articoliBox,.mercatinoBox,.annunciBox{
		width: 100%;
		height: 250px;

	}
	.annunciBox:hover,.mercatinoBox:hover,.articoliBox:hover{
		transform: none;
	}
	#divTxt{
		width: 98%;
		margin-left: 0;
		margin-right: 0;
	}
	/*box 4*/
	.ambSel{
	 grid-template-columns: auto;
	 margin-left: 0px;
	 margin-right: 0px;
	 width: 98%;
	 justify-self: end;

	}
	.clickAmb {
		margin: auto;
		margin-top: 10px;
		margin-bottom: 10px;
	}
	.ambIndent{
		padding-left: 10px;
		padding-right: 10px;

	}
	.textMiss {
		height: auto;
	}
	.copVid{
		width: 90%;
	}
	.textMiss {
			margin-left: 0;
			margin-right: 0;
	}
	/*fine box 4*/
	/*box3*/
	.box3{
		padding-top: 60px;
		padding-bottom: 30px;
	}
	.imgChiSiamo{
		height: 450px;

		justify-self: center;
		align-self: center;

	}
	.textChi {
		align-self: start;
		height: auto;
		margin-left: 0px;
		margin-right: 0px;
		width: 98%;
		justify-self: end;
	}
	.contattiShow{
		padding-left: 15px;
		padding-right: 15px;
	}
}

@media screen and (max-width: 365px) {
	.imgChiSiamo{
		height: auto;
		width: 98%;

		justify-self: center;
		align-self: center;

	}
}

@media screen and (max-height: 800px) {
	.explainBox, .scuoleSel{
		margin-bottom: 50px;
	}


}

@media screen and (max-height: 680px) {
	.copVid{
		margin-top: 40px;
	}


}

@media screen and (max-height: 560px) {
	.ambSel{
		margin-top: 50px;
		margin-bottom: 50px;
	}
	.imgChiSiamo{
		height: 450px;
		margin-top: 50px;
		margin-bottom: 50px;
	}
}


@media screen and (max-height: 450px) {
	.arrow{
		width: 46px;
		height: 46px;
		border-radius: 23px;
	}
	.dimensioni-arrow{
		height: 20px;
		width: 20px;
}

.logo-top{
	width: 80%;

}
.main-box-text{
	font-size: 1.6em;
	width: 90%;
	padding-top: 10px;
}
.sendForm
{
	left: 10%;
	width: 80%;
}

input[type="button"] {
	left: 10%;
	width: 80%;
}

textarea {
	left: 10%;
	max-width: 80%;
}
.div-login{
	right: 0px;
}

}



@media screen and (max-height: 375px) {

	.main-box-text{
		font-size: 1.3em;
	}

}

@media screen and (max-height: 250px) {
	.main-box-text{
		font-size: 1.1em;
	}
}

@media screen and (max-width: 600px) and  (min-height: 451px){
	.box1-title{
	  width: 100%;
		height: 100%;
	  background-color: #b71705; /*#a7101f*/
		/*display: block;
	overflow: auto;*/
	text-align: center;
	}
	.cercaTuttiGiorn {
	    margin-left: 0;
	}
	.logo-top{
		width: 80%;

	}
	.main-box-text{
		font-size: 1.6em;
		width: 90%;
		padding-top: 10px;
	}
	.arrow{
		width: 76px;
		height: 76px;
		border-radius: 38px;
	}
	.dimensioni-arrow{
		height: 36px;
		width: 36px;

	}
	.sendForm
	{
		left: 10%;
	  width: 80%;
	}

	input[type="button"] {
		left: 10%;
	  width: 80%;
	}

	textarea {
		left: 10%;
	  max-width: 80%;
	}
}

@media screen and (max-width: 400px) and  (min-height: 451px){
	.arrow{
		width: 66px;
		height: 66px;
		border-radius: 33px;
	}
	.dimensioni-arrow{
		height: 30px;
		width: 30px;
}

}

@media screen and (max-width: 300px) {
	button.login
	{

	  padding:5px 15px;
	  margin-right: 10px;
	}
	.main-box-text{
		font-size: 1.3em;
	}


}
