#testata {
    background-image: url('../images/testate/bg-testata.jpg');
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--dark);
	display: block;
	margin: 0 auto;
	position: relative;
    width:  100%;
    margin-top: -2px;
    margin-bottom: 40px;
    padding-bottom: 50px;
    font-size: 1.3em;
    line-height: 30px;
    clip-path: polygon(0% 0%, 0% 93%, 48% 93%, 50% 100%, 52% 93%, 100% 93%, 100% 0%);
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#testata .line {
    display: block;
    width: 150px;
    background-color: var(--rosso);
    height: 3px;
    padding: 0;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 30px;
	}

#testata .sotto-menu{
	display: block;
	margin: 0 auto;
	max-width: 1500px;
	position: relative;
    text-align: left;
    padding: 1px 5px 7px 8px;
    padding-top: 6px;
    font-size: 0.85em;
    font-weight: 400;
	color: #0a293c;
    -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: var(--dark);
    -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(--rosso);
    text-decoration: underline;
	}

#testata h1{
	font-family: "Libre Baskerville", serif;
    font-weight: 500;
    font-style: italic;
    font-size: 2.8em;
    color:var(--dark);
    margin-top: 0px;
    margin-bottom: 30px;
    line-height: 55px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#testata h1 span{
    font-size: 0.85em;
	}

#testata h2{
    font-weight: 400;
    font-size: 1.35em;
    color:var(--dark);
    margin-top: 10px;
    line-height: 44px;
    font-weight: 400;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#box-testo {
    box-shadow: 0px 0px 22px -3px rgba(0, 0, 0, 0.2);
background-color: rgba(255, 255, 255, 1);
border-radius: 0px;
    display: block;
	margin: 0 auto;
	max-width: 1500px;
	position: relative;
    margin-top: 80px;
    padding: 20px;
    margin-bottom: 80px;
	}

#box-testo .cat{
    display: inline;
    float: left;
	margin: 0 auto;
	width: 47%;
	position: relative;
    margin-top: 0px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: justify;
    margin-bottom: 10px;
    font-size: 1.35em;
    line-height: 28px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#box-testo .uno{
    margin-right: 20px;
	}

.highlight-text {
    color:var(--dark);
    font-weight: 500;
  background-image: linear-gradient(90deg, #F6BB2680 0%, #FF2E1B80 100%);
  background-position: left bottom;
  background-size: 100% 0.3em;
  background-repeat: no-repeat;
}

#azienda h1{
    font-family: "Libre Baskerville", serif;
    font-weight: 500;
    font-style: italic;
    font-size: 2.9em;
    color:var(--dark);
    margin-bottom: 10px;
    line-height: 55px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#azienda h1 span{
    font-size: 0.85em;
	}

#azienda h2{
    font-family: 'cuprum';
    font-size: 2.4em;
    color:var(--blu);
    margin-top: 10px;
    line-height: 44px;
    font-weight: 400;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#azienda .desc{
    font-size: 1.4em;
    margin-top: 15px;
    margin-bottom: 50px;
    line-height: 27px;
	}

#azienda .button a{
	background-color:var(--dark);
    color: #fff;
    border: 0;
    padding: 10px 16px 13px 16px;
    font-size: 1.5em;
    cursor:pointer;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#box1-grey {
    display: block;
	margin: 0 auto;
    position: relative;
    width: 100%;
	background-color: #f1f2f3;
    padding-top: 10px;
    padding-bottom: 10px;
    }

#box1 {
    display: block;
	margin: 0 auto;
    position: relative;
    max-width: 1500px;
	margin-top: 80px;
    margin-bottom: 80px;
    }

#box1 .cat{
    display: inline;
    float: left;
	margin: 0 auto;
    position: relative;
    text-align: left;
	-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
    }

#box1 .title{
    width: 33%;
    padding: 0 6px;
    }

#box1 .text{
    width: 65%;
    padding: 0 6px;
    }

#box1 .text p{
    margin: 0;
    font-size: 1.25em;
    line-height: 27px;
    }

#box1 .text span{
    font-weight: 400;
    font-size: 1.05em;
    }

#box1 .sotto-t{
    padding: 0;
    margin: 0;
    font-family: "Libre Baskerville", serif;
font-weight: 400;
font-style: italic;
    font-size: 3.5em;
    line-height: 50px;
    margin-bottom: 10px;
    color: var(--dark);
	-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
    }

#box1 .line{
    padding: 0;
    margin: 20px 0;
    background-color: var(--blu);
    max-width: 150px;
    height: 3px;
    }

#box1 .cat .light{
    padding: 0;
    margin: 0;
    font-family: 'cuprum';
    font-size: 1.9em;
    line-height: 33px;
    margin-bottom: 10px;
    color: var(--blu);
	-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
    }

#box1 .cat .desc{
    padding: 0;
    margin: 0;
    font-size: 1.4em;
    line-height: 29px;
	-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
    }

#box1 .cat span{
    font-weight: 500;
    }

#box1 .cat ul{
    list-style: none;
    }

#box1 .cat li{
    list-style-image: url('../images/li-green.png');
    margin-left: 30px;
    }

#box2 .title{
    display: block;
	margin: 0 auto;
	max-width: 1600px;
	position: relative;
    font-family: 'cent-b';
    font-size: 3em;
    line-height: 56px;
    color: var(--dark);
    margin-top: 70px;
    margin-bottom: 70px;
	}

#news{
	display: block;
	margin: 0 auto;
	max-width: 1600px;
	position: relative;
    margin-top: 10px;
    margin-bottom: 120px;
    }

#news .data{
    text-align: right;
    padding-right: 6px;
    font-size: 1.35em;
    margin-bottom: 5px;
    color: #222;
    }

#news .new{
    border: 2px solid #eee;
    border-radius: 14px;
    padding: 6px;
    min-height: 330px;
    }

#news .illus{
    display: inline;
    float: left;
    position: relative;
	margin: 0 auto;
    width: 29%;
    margin-top: 10px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
    }

#news .desc{
    display: inline;
    float: left;
    position: relative;
	margin: 0 auto;
    width: 68%;
    text-align: left;
    padding-left: 15px;
    margin-top: 10px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
    }

#news .desc p{
	margin: 5px 0;
    line-height: 26px;
    font-size: 1.3em;
	}

#news .desc p.big{
	font-family: 'cuprum';
    font-size: 1.9em;
    color: var(--blu);
    line-height: 40px;
	}

#news .desc p.link{
	font-family: 'cuprum';
    font-size: 1.7em;
    color: var(--dark);
    line-height: 40px;
	}

#news .desc p.link a{
    color: var(--rosso);
    -webkit-transition: all 0.4s ease;
-moz-transition: all 0.4s ease;
-ms-transition: all 0.4s ease;
transition: all 0.4s ease;
	}

#news .desc p.link a:hover{
    color: var(--blu);
	}

#news .desc p.button{
	margin-top: 40px;
    padding-bottom: 40px;
	}

#news .desc p.button a{
    font-size: 1.1em;
    padding: 8px 15px 10px 15px;
    background-color: var(--blu);
    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;
	}

#news .desc p.button a:hover{
	border-radius: 30px;
    background-color: var(--rosso);
    color: #fff;
	}

#foto{
	display: block;
	margin: 0 auto;
	max-width: 1800px;
	position: relative;
    margin-top: 10px;
    margin-bottom: 40px;
    }

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

#foto .cat p{
    font-size: 1.15em;
    line-height: 21px;
    margin-top: 10px;
    min-height: 65px;
	}

.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(--rosso);
  color: white;
  font-size: 2.8em;
    font-weight: 300;
  padding: 14px 20px 21px 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(--blu);
}

#foto .text-link {
  background-color: var(--rosso);
  color: white;
    font-weight: 300;
  padding: 15px 21px 14px 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-link:hover {
  background-color: var(--blu);
}



/* responsive rules */
@media screen and (min-width: 1900px) {
    
 #azienda .cat-small{
     margin-top: 80px;
	} 
	
}

@media screen and (min-width: 1800px) and (max-width: 1899px) {
    
    
 #azienda .cat-small{
     margin-top: 80px;
	}

    
}



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

    
 #azienda .cat-small{
     margin-top: 80px;
	}

	
}

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

    
 #azienda .cat-small{
     margin-top: 80px;
	width: 38.5%;
	}

#servizi .ser-cat2.tx{
    margin-left: 15px;
	}

#servizi .ser-cat2.bg{
    min-height: 900px;
	}


	
}

@media screen and (min-width: 1220px) and (max-width: 1399px) {
    
#box-testo .cat{
    margin-top: 0px;
    padding-left: 16px;
    padding-right: 16px;
	}

#box-testo .uno{
    margin-right: 20px;
	}

	
}

@media screen and (min-width: 1001px) and (max-width: 1219px) {
    
#box-testo .cat{
    margin-top: 0px;
    padding-left: 14px;
    padding-right: 14px;
	}

#box-testo .uno{
    margin-right: 20px;
	}
    
#box1 .title{
    width: 32%;
    padding: 0 6px;
    }

	
}


@media screen and (min-width: 851px) and (max-width: 1000px) {
	
#box-testo .cat{
    margin-top: 0px;
    padding-left: 10px;
    padding-right: 10px;
	}

#box-testo .uno{
    margin-right: 20px;
	}
    
#box1{
    margin-top: 60px;
    margin-bottom: 60px;
    }
    
#box1 .title{
    width: 99%;
    }
    
#box1 .text{
    width: 99%;
    }
    
#news .illus{
    margin-top: 20px;
    }

    

}


@media screen and (min-width: 651px) and (max-width: 850px) {


#box-testo {
    box-shadow: 0px 0px 22px -3px rgba(0, 0, 0, 0);
    margin-top: 60px;
    margin-bottom: 60px;
	}

#box-testo .cat{
	width: 97%;
    margin-top: 0px;
    padding-left: 6px;
    padding-right: 6px;
	}

#box-testo .uno{
    margin-right: 0px;
	}
    
#box1{
    margin-top: 60px;
    margin-bottom: 60px;
    }
    
#box1 .title{
    width: 99%;
    }
    
#box1 .text{
    width: 99%;
    }
    
#news .illus{
    margin-top: 20px;
    }
    
#news .desc{
    padding-left: 10px;
    }


	
}

@media screen and (min-width: 451px) and (max-width: 650px) {
    
#testata h1{
    font-size: 2.3em;
    line-height: 52px;
	}  


#box-testo {
    box-shadow: 0px 0px 22px -3px rgba(0, 0, 0, 0);
    margin-top: 60px;
    margin-bottom: 60px;
	}

#box-testo .cat{
	width: 97%;
    margin-top: 0px;
    padding-left: 6px;
    padding-right: 6px;
	}

#box-testo .uno{
    margin-right: 0px;
	}
    
#box1{
    margin-top: 60px;
    margin-bottom: 60px;
    }
    
#box1 .title{
    width: 99%;
    }
    
#box1 .text{
    width: 99%;
    }
    
#news .illus{
    width: 98%;
    }

#news .desc{
    width: 98%;
    padding-left: 5px;
    }



}


@media screen and (min-width: 291px) and (max-width: 450px) {
    
#testata h1{
    font-size: 1.7em;
    line-height: 48px;
	}

#testata h2{
    font-size: 1.3em;
    line-height: 39px;
	}
    

#box-testo {
    box-shadow: 0px 0px 22px -3px rgba(0, 0, 0, 0);
    margin-top: 60px;
    padding: 15px;
    margin-bottom: 60px;
	}

#box-testo .cat{
	width: 97%;
    margin-top: 0px;
    padding-left: 6px;
    padding-right: 6px;
	}

#box-testo .uno{
    margin-right: 0px;
	}
    
#box1{
    margin-top: 60px;
    margin-bottom: 60px;
    }
    
#box1 .title{
    width: 99%;
    }
    
#box1 .text{
    width: 99%;
    }
    
#news .illus{
    width: 98%;
    }

#news .desc{
    width: 98%;
    padding-left: 5px;
    }



	
}

@media screen and (max-width: 290px) {
    
#testata h1{
    font-size: 1.5em;
    line-height: 44px;
	}

#testata h2{
    font-size: 1.28em;
    line-height: 38px;
	}
    
#box-testo {
    box-shadow: 0px 0px 22px -3px rgba(0, 0, 0, 0);
    margin-top: 60px;
    padding: 4px;
    margin-bottom: 60px;
	}

#box-testo .cat{
	width: 94%;
    margin-top: 0px;
    padding-left: 6px;
    padding-right: 6px;
	}

#box-testo .uno{
    margin-right: 0px;
	}
    
#box1{
    margin-top: 60px;
    margin-bottom: 60px;
    }
    
#box1 .title{
    width: 99%;
    }
    
#box1 .text{
    width: 99%;
    }
    
#news .illus{
    width: 98%;
    }

#news .desc{
    width: 98%;
    padding-left: 5px;
    }

    


	
}