/* ==========================================================================
   STILI GENERICI
   ========================================================================== */
audio, canvas, iframe, img, svg, video {
  vertical-align: middle;
}
textarea {
  resize: vertical;
}
/*questo sotto non somma il padding*/
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}
/* ==========================================================================
   STILI SITO
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
}

:root {
   --egaf:#635953;
}

body{
   font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
 	font-size:18px; 
   background-image: url(../images/sfondo.jpg);
   background-size: cover;

 }
.wrapper {
  width: 92%;
  margin: 0 4%;
}
img {
 /* height: auto;
  max-width: 100%;
  width: auto;*/
}
.flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.intro{
   padding: 80px 0;

}
h1{
   font-size: 25px;
   font-weight:600;
   margin-top: 28px;
   margin-bottom: 5px;
}
p{
   font-weight: 300;
   line-height: 25px;
}
.logo{
   width: 100%;
   text-align: left;
   display: flex;
   flex-direction: column;
   justify-content: center;
   padding-right: 50px;

}
.pulsanti{
   width: 100%;
   display: flex;
   flex-direction: column;
   justify-content: flex-start;
   align-items: flex-start;
}
.box-attivita{
   border-radius: 11px;
   background-color: var(--egaf);
   padding: 30px;
   margin-bottom: 30px;
   width: 100%;
   margin-top: 30px;
}
.box{
   border-radius: 11px;
   background-color: #827a75;
   padding: 50px 40px;
   width: 100%;
}
.box a{
   display: flex;
   justify-content: flex-start;
   flex-wrap: nowrap;
}

.pulsanti div{
   text-align: left;
}
.pulsanti em{
   display: inline-block;
   color: #fff;
   font-weight: 100;
   font-size: 17px;
}

.pulsanti a{
   font-size: 28px;
   color: #fff;
   text-decoration: none;
   font-weight: 600;
}
.pulsanti a img{
   padding-right: 20px;
}
.funzionalita{
   display: flex;
   flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
margin-bottom: 0;
    

}
.funzionalita img{
   margin-bottom: 10px;
   padding-right: 0 !important;
}
.funzionalita a{
    padding: 40px 25px;
    border-radius: 8px;
    text-align: center;
    background-color: #fff;
    color:var(--egaf) ;
    font-size: 30px;
    font-weight: 700;
    border: solid 2px var(--egaf);
    width: 100%;
    margin-bottom: 20px;
}
.funzionalita a em{
   margin-left:0;
   color:var(--egaf) ;
   font-weight: 300;
    font-size: 17px;
}
.funzionalita strong{
   font-weight: 600;
   font-size: 15.5px;
}


/*footer
--------------------------------------------------------------------*/
footer{
   background-color: var(--egaf);
   width: 100%;
   text-align: center;
   color: #fff;
   font-size: 15px;
}
footer a{
   color: #fff;
   text-decoration: none;
}
footer .flex{
   padding: 30px 0;
}
.chiusura{
   font-weight: 100;
   font-size: 14px;
   color: #fff;
   padding: 20px 0;
   border-top: solid 1px #827a75;
   text-align: center;
}
address{
   text-align: center;
   display: flex;
   flex-wrap: wrap;
   font-style: normal;
   width: 100%;
}
address div{
   width: 100%;
}
address figure{
   padding-right: 0;
   text-align: center;
   width: 100%;
   margin-bottom: 5px;
}
.contatti{
   text-align: center;
   width: 100%;
   margin-top: 15px;
}
.social{
   width: 100%;
   text-align: center;
   margin-top: 15px;
}
.social img{
   padding: 0 2px;
   
}





/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {
	
	
}

@media only screen and (min-width: 768px) {
footer{
   text-align: left;
}
 address{
   width: 30%;
   text-align: left;
}
address div{
   width: auto;
}
address figure{
   padding-right: 20px;
   text-align: left;
   width: auto;
}
.contatti{
   text-align: left ;
   width: 30%;
   margin-top: 0;
}
.social{
   width: 40%;
   text-align: right;
    margin-top: 0;
} 
	

}
@media only screen and (min-width: 1024px) {
   .logo{
   width: 35%;}
   .pulsanti{
   width: 65%;}
   .box-attivita{
   margin-top: 0px;
}
.funzionalita a{
    width: 30%;
    margin-bottom: 0;
}

	
	}

@media only screen and (min-width: 1366px) {
  .wrapper, .wrapper-no-margin {
    width: 1296px;
    margin: 0px auto;
  }
}

