#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;
	}

#bg-grey {
    display: block;
	margin: 0 auto;
	width: 100%;
	position: relative;
    margin-top: 70px;
    background-color: #e7edf2;
	}

#servizi {
    display: block;
	margin: 0 auto;
	max-width: 1500px;
	position: relative;
    margin-top: 70px;
	}

#servizi .tit{
    display: block;
	margin: 0 auto;
	max-width: 150px;
	position: relative;
    font-family: 'cuprum';
    font-size: 1.4em;
    font-weight: 500;
    padding: 6px;
    border: 1px solid #b0b9be;
    border-radius: 15px;
    margin-bottom: 30px;
    color: #687278;
	}

 .marquee-wrap {
            overflow: hidden;
        }

        .marquee {
            display: flex;
            width: fit-content;
            animation: marquee 20s linear infinite;
        }

        .marquee-content {
            display: flex;
            padding-right: 13px; /* Ensure space between content sets */
        }

        .marquee span {
            flex-shrink: 0; /* Prevent text from shrinking */
            white-space: nowrap; /* Prevent text wrapping */
        }

        @keyframes marquee {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }

 .marquee-wrap2 {
            overflow: hidden;
        }

        .marquee2 {
            display: flex;
            width: fit-content;
            animation: marquee 20s linear infinite;
        }

        .marquee-content2 {
            display: flex;
            padding-right: 13px; /* Ensure space between content sets */
        }

        .marquee2 span {
            flex-shrink: 0; /* Prevent text from shrinking */
            white-space: nowrap; /* Prevent text wrapping */
        }

        @keyframes marquee2 {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }

#servizi .title{
    display: block;
	margin: 0 auto;
	max-width: 1100px;
	position: relative;
    font-family: 'cent-b';
    font-size: 4.5em;
    line-height: 76px;
    color: var(--dark);
    margin-top: 50px;
    margin-bottom: 30px;
	}

#servizi .title2{
    display: block;
	margin: 0 auto;
	max-width: 1200px;
	position: relative;
    font-family: 'cent-b';
    font-size: 4.5em;
    line-height: 76px;
    color: var(--dark);
    margin-top: 50px;
    margin-bottom: 30px;
	}

#servizi .sotto-title{
    font-family: "Libre Baskerville", serif;
    font-weight: 500;
    font-style: italic;
    font-size: 2.3em;
    color:var(--blu);
    margin-bottom: 10px;
    line-height: 45px;
    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;
	}

#servizi .ser-cat3{
    display: inline;
	margin: 0 auto;
    float: left;
	width: 30%;
	position: relative;
    margin: 0 20px 40px 20px;
    background-color: #f6f6f6;
    border:2px solid #eaeaea;
    padding: 0;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#servizi .ser-cat3 p{
	margin: 0 auto;
    font-family: 'cent-b';
    font-size: 1.7em;
    line-height: 30px;
    min-height: 70px;
    padding: 10px 0 0 0;
	}

#servizi .ser-cat3 img{
	margin: 0 auto;
    width: 100%;
    margin-bottom: -7px;
    padding: 0;
	}

#servizi .ser-cat3 a{
    margin-bottom: 0px;
    padding: 0;
    bottom: 0;
	}

#servizi .ser-cat2{
    display: inline;
	margin: 0 auto;
    float: left;
	position: relative;
    padding: 0;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#servizi .ser-cat2.bg{
    width: 39%;
    background-image:url('../images/home/come-lavoriamo.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 850px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#servizi .ser-cat2.tx{
    width: 57%;
    margin-left: 50px;
    text-align: left;
    padding-left: 10px;
    padding-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;
	}

#servizi .desc1{
    font-size: 1.4em;
    line-height: 28px;
	}

#servizi .line{
    display: block;
    width: 99%;
    background-color: #fff;
    height: 1px;
    padding: 0;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 30px;
	}

#servizi .icon{
    display: inline;
	margin: 0 auto;
    float: left;
	position: relative;
    padding: 0;
    width: 10%;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#servizi .icon img{
    width: 100%;
    max-width: 80px;
	}

#servizi .desc2{
    display: inline;
	margin: 0 auto;
    float: left;
	position: relative;
    padding: 0;
    width: 87%;
    margin-left: 20px;
    font-size: 1.3em;
    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;
	}

#cantieri{
	display: block;
	margin: 0 auto;
	width: 100%;
	position: relative;
    margin-top: 0px;
    padding-top: 20px;
    padding-bottom: 100px;
    background-color: #e7edf2;
    }

#cantieri-bg{
	display: block;
	margin: 0 auto;
	position: relative;
    }

#cantieri .cant{
	display: inline;
    float: left;
	margin: 0 auto;
	width: 21.3%;
	position: relative;
    margin-bottom: 30px;
    padding: 4px;
    margin-right: 30px;
    margin-left: 30px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
}

#cantieri a{
	color:#222;
}

#cantieri a:hover{
	color:#222;
}

#cantieri .title{
    position: relative;
    width: 100%;
	text-align: left;
    padding: 10px;
    background-color:var(--blu);
    color: #fff;
    font-size: 1.75em;
	font-family: 'cuprum';
    max-width: 290px;
    z-index: 150;
    margin-bottom: -20px;
}

#cantieri .imm{
    z-index: 100;
    position: relative;
}

#cantieri .imm img{
   width: 100%;
    max-width: 500px;
    border-top-right-radius: 40px;
    border-bottom: 5px solid var(--rosso);
}

#cantieri .desc{
    margin: 0 auto;
    margin-top: 0;
    padding: 12px 10px 10px 10px;
    font-size: 1.3em;
    line-height: 26px;
    background-color: #fff;
    min-height: 80px;
    max-width: 500px;
    color: #222;
    }

#cantieri .con {
    margin: 0 auto;
  position: relative;
  width: 100%;
    max-width: 500px;
    background-color: var(--dark);
    border-top-right-radius: 42px;
}

#cantieri .image {
    margin: 0 auto;
  opacity: 1;
  display: block;
  width: 100.1%;
  height: auto;
    max-width: 400px;
  transition: .4s ease;
  backface-visibility: hidden;
 }

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

#cantieri .con:hover .image {
  opacity: 0.5;
}

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

#cantieri .text {
  background-color: var(--rosso);
  color: white;
  font-size: 2.5em;
  padding: 10px 25px 25px 25px;
    border-radius: 50%;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
}

#cantieri .text img{
    border-top-right-radius: 0px;
    border-bottom: none;
}

#cantieri .text: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;
	}

#cantieri .cant{
    width: 21%;
	}
    
}



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

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

#cantieri .cant{
    width: 21%;
    margin-right: 26px;
    margin-left: 26px;
	}
	
}

@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;
	}

#cantieri .cant{
    width: 29%;
    margin-right: 26px;
    margin-left: 26px;
	}

	
}

@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;
	}

#cantieri .cant{
	width: 29%;
    margin-right: 20px;
    margin-left: 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;
	}

#cantieri .cant{
	width: 29%;
    margin-right: 15px;
    margin-left: 15px;
}

	
}


@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;
	}

#cantieri .cant{
	width: 44%;
    margin-right: 20px;
    margin-left: 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;
	}

#cantieri .cant{
	width: 44%;
    margin-right: 12px;
    margin-left: 12px;
}

	
}

@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;
	}

#cantieri-bg{
	max-width: 500px;
}

#cantieri .cant{
	width: 86%;
    margin-right: 30px;
    margin-left: 30px;
}


}


@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;
	}

#cantieri .cant{
	width: 86%;
    margin-right: 16px;
    margin-left: 16px;
}
    


	
}

@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;
	}

#cantieri .cant{
	width: 90%;
    margin-right: 8px;
    margin-left: 8px;
}
    


	
}