#wowslider-container1 {
	margin: 0 auto;
	position: relative;
    width: 100%;
    margin: 0px;
    margin-bottom: 0;
    background-image: url('../images/testate/azienda.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size:cover;
    min-height: 600px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#testata {
    background-color: #1d293b;
    color: #fff;
	display: block;
	margin: 0 auto;
	position: relative;
    width:  100%;
    margin-top: -2px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    font-size: 1.3em;
    line-height: 30px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#testata .sotto-menu{
	display: block;
	margin: 0 auto;
	max-width: 1500px;
	position: relative;
    text-align: left;
    padding: 1px 5px 8px 0px;
    padding-top: 6px;
    font-size: 0.9em;
	color: #fff;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#testata .sotto-menu a{
	color: #fff;
    -webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
transition: all 0.3s ease;
	}

#testata .sotto-menu a:hover{
	color: var(--theme1);
	}

#testata .title{
	font-family: 'Playfair Display', serif;
    font-size: 3.9em;
    line-height: 80px;
    color: #fff;
    margin-top: 30px;
    margin-bottom: 10px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#testata .sub-title{
	font-family: 'gabriela';
    font-size: 1.8em;
    line-height: 40px;
    margin-top: 20px;
    color: #ffbc00;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#testata .desc{
    font-size: 1.45em;
    margin-top: 10px;
    margin-bottom: 50px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#testata .slogan{
    font-family: 'americana';
    font-size: 1.9em;
    line-height: 40px;
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 4px;
    color: #ffbc00;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#testata .slogan img{
    width: 100%;
    max-width: 500px;
	}

#box2{
	display: block;
	margin: 0 auto;
	position: relative;
	max-width: 1600px;
	z-index: 100;
    margin-top: 120px;
    margin-bottom: 130px;
	}

#box2 .tit{
    font-family: 'caveat';
    color: #1d293b;
    font-size: 3.3em;
    line-height: 36px;
	}

#box2 .line{
	display: block;
	margin: 0 auto;
    margin-top: 20px
	}

#box2 .desc{
    font-size: 1.3em;
    line-height: 29px;
	}

#box2 .slogan{
    font-family: 'cuprum-r';
    color: #1d293b;
    font-size: 1.8em;
    line-height: 36px;
	}

#box2 span{
    color: #1d293b;
    font-weight: 500;
	}

#box2 .link{
    margin-top: 50px;
    margin-bottom: 70px;
    font-size: 1.45em;
    color: #fff;
	}

#box2 .link a{
     background-color: #fff; 
    color: #1d293b;
    border-radius: 0px;
    padding: 10px 18px 11px 18px;
    border: 2px solid #1d293b;
    -webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
transition: all 0.3s ease;
	}

#box2 .link a:hover{
    background-color:var(--theme2); 
    border: 2px solid var(--theme2);
    color: #fff;
    border-radius: 30px;
	}

#grey{
    background-color: #f5f5f5;
    padding: 8px 0;
	display: block;
	margin: 0 auto;
	width: 100%;
	position: relative;
    margin-top: 40px;
    margin-bottom: 0px;
    }

#foto{
	display: block;
	margin: 0 auto;
	max-width: 1600px;
	position: relative;
    margin-top: 60px;
    margin-bottom: 100px;
    }

#foto .cat{
	display: inline;
    float: left;
    position: relative;
	margin: 0 auto;
    padding: 6px;
    width: 32.2%;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease
	}

.con {
	margin: 0 auto;
  position: relative;
  width: 100%;
    text-align: center;
}

#foto .image {
	margin: 0 auto;
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
    text-align: center;
}

#foto .middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

#foto .con:hover .image {
  opacity: 0.65;
}

#foto .con:hover .middle {
  opacity: 1;
}

#foto .text {
  background-color: var(--theme2);
  color: white;
  font-size: 2.8em;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
  padding: 14px 20px 17px 20px;
    border-radius: 50%;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
transition: all 0.3s ease
}

#foto .text:hover {
  background-color: var(--theme1);
}

#corpo-bg{
	display: block;
	margin: 0 auto;
	width: 100%;
	position: relative;
    padding: 0;
    margin-top: 0px;   
    margin-bottom: 0px;
    padding-top: 240px;
    background-image: url('../images/azienda/azienda-bg.jpg');
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 450px;
}

#corpo-bg p{
	margin: 0 auto;
    max-width: 1400px;
	color: #fff;
}

#corpo-bg .cont1{
   font-family: 'Playfair Display', serif;
    font-weight: 300;
	font-size: 3.2em;
    line-height: 46px;
    text-shadow: 2px 1px 4px rgba(0, 0, 0, 0.9);
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;  
}

#corpo-bg .cont2{
	font-size: 2em;
    padding-top: 40px;
    line-height: 35px;
    text-shadow: 2px 1px 4px rgba(0, 0, 0, 0.9);
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;  
}

#corpo-bg .link{
    margin-top: 50px;
    margin-bottom: 70px;
    padding-bottom: 40px;
    font-size: 1.45em;
    color: #fff;
	}

#corpo-bg .link a{
     background:transparent; 
    color: #fff;
    border-radius: 0px;
    padding: 10px 18px 11px 18px;
    border: 2px solid #fff;
    -webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
transition: all 0.3s ease;
	}

#corpo-bg .link a:hover{
    background-color:var(--theme1); 
    border: 2px solid var(--theme1);
    color: #fff;
    border-radius: 30px;
	}



/* responsive rules */
@media screen and (min-width: 1900px) {


	
}

@media screen and (min-width: 1800px) and (max-width: 1899px) {


}

@media screen and (min-width: 1600px) and (max-width: 1799px) {

   
    
#foto .cat{
    width: 32%;
	} 
	
}

@media screen and (min-width: 1400px) and (max-width: 1599px) {
    

    
#foto .cat{
    width: 31.8%;
	}
	
}

@media screen and (min-width: 1220px) and (max-width: 1399px) {


    
#foto .cat{
    width: 31.5%;
	}
	
}

@media screen and (min-width: 1001px) and (max-width: 1219px) {

    
#foto .cat{
    width: 31%;
	}
	
}


@media screen and (min-width: 851px) and (max-width: 1000px) {
    
#wowslider-container1 {
    min-height: 540px;
	}
    
#foto .cat{
    width: 47%;
	}

}


@media screen and (min-width: 651px) and (max-width: 850px) {
    
#wowslider-container1 {
    min-height: 450px;
	}
    
#foto .cat{
    width: 46%;
	} 

    
	
}

@media screen and (min-width: 451px) and (max-width: 650px) {

#wowslider-container1 {
    min-height: 380px;
	}
    
#foto .cat{
    padding: 4px;
    width: 48%;
    margin-bottom: 16px;
	}
    
#corpo-bg{
    padding-top: 120px;
}


}


@media screen and (min-width: 291px) and (max-width: 450px) {
    
#wowslider-container1 {
    min-height: 330px;
	}

#testata .title{
    font-size: 3.6em;
    line-height: 74px;
	}
    
#foto .cat{
    padding: 4px;
    width: 97%;
    margin-bottom: 16px;
	} 
    
#corpo-bg{
    padding-top: 80px;
}

    
	
}

@media screen and (max-width: 290px) {
    
#wowslider-container1 {
    min-height: 280px;
	}
	
#testata .title{
    font-size: 3.3em;
    line-height: 70px;
	}

#box2 .tit{
    font-size: 3em;
    line-height: 33px;
	}
    
#foto .cat{
    padding: 0px;
    width: 100%;
    margin-bottom: 20px;
	}
    
#corpo-bg{
    padding-top: 80px;
}

#corpo-bg .cont1{
	font-size: 2.6em;
    text-shadow: 2px 1px 4px rgba(0, 0, 0, 0.9);
}

#corpo-bg .cont2{
	font-size: 2em;
    padding-top: 40px;
    text-shadow: 2px 1px 4px rgba(0, 0, 0, 0.9);
}

#corpo-bg .button{
    font-size: 1.4em;
}
	
	
}