video.fullscreen {
	position: absolute;
  z-index: 0;
  object-fit: cover;
  width:100vw;
  height:100wh;
    max-height: 1080px;
    min-height: 1080px;
  top: 0%;
  left: 50%;
  transform: translate(-50%, 0%);
    margin-bottom: 0;
	}

video.fullscreen &::-webkit-media-controls {
     display:none !important;
  }

#typed{
	display: block;
	position: relative;
	margin:0 auto;
    padding: 420px 0 136px 0;
    margin-top: 50px;
	color:#fff;
    z-index: 200;
    margin-bottom: 0;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#typed a{
	color:#fff;
    font-size: 1.2em;
    font-family: 'cuprum';
	}

#typed p.anno{	
    margin: 0 auto;
    padding: 0;
    margin-bottom: 20px;
	font-size: 4em;
    font-family: "Libre Baskerville", serif;
font-weight: 600;
font-style: italic;
	line-height: 60px;
    text-shadow: 3px 3px 2px rgba(0, 0, 0, 0.6);
	}

#typed p.slogan{	
    margin: 0 auto;
    padding: 0;
	font-size: 2.2em;
	line-height: 54px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8);
	}

#slide-link{
    background: transparent;
	display: block;
	width: 100%;
    margin: 0 auto;
	position: absolute;
    z-index: 130;
	margin-top: 20px;
    margin-bottom: 0px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#slide-link p{
    font-family: 'cuprum';
    font-size: 1.8em;
    color: #fff;
	}

#slide-link a{
    background-color: var(--dark);
    color: #fff;
    padding: 13px 16px 14px 16px;
    -webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
transition: all 0.3s ease;
	}

#bonus {
    background-color: rgba(42,92,154, 0.85);
    display: block;
	margin: 0 auto;
	width: 100%;
	position: relative;
    margin-top: 0px;
    padding: 2px;
    margin-bottom: 0px;
    color: #fff;
    z-index: 200;
	}

#bonus-bg {
    display: block;
	margin: 0 auto;
	max-width: 1500px;
	position: relative;
	}

#bonus .cat-big{
    display: inline;
    float: left;
	margin: 0 auto;
	width: 74%;
	position: relative;
    margin-top: 10px;
    padding-left: 5px;
    padding-right: 20px;
    text-align: left;
    margin-bottom: 20px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#bonus .cat-small{
    display: inline;
    float: left;
	margin: 0 auto;
	width: 23%;
	position: relative;
    margin-top: 30px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#bonus .title1{
    font-size: 2.4em;
    margin: 10px 0;
    line-height: 36px;
    font-family: 'cuprum';
	}

#bonus .title2{
    font-size: 1.55em;
    margin: 10px 0;
    line-height: 34px;
	}

#bonus .button a{
	background-color:var(--rosso);
    color: #fff;
    border: 0;
    padding: 14px 21px 12px 21px;
    font-size: 2em;
    cursor:pointer;
    font-family: 'cuprum';
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#bonus .button a:hover {
    background-color:var(--dark);
    color: #fff;
    border-radius: 30px;
	}

#azienda {
    background-color: #f7f7f7;
    display: block;
	margin: 0 auto;
	width: 100%;
	position: relative;
    margin-top: 0px;
    padding: 40px 0;
    margin-bottom: 60px;
	}

#azienda-bg {
    display: block;
	margin: 0 auto;
	max-width: 1500px;
	position: relative;
    margin-top: 10px;
	}

#azienda .cat-big{
    display: inline;
    float: left;
	margin: 0 auto;
	width: 59%;
	position: relative;
    margin-top: 0px;
    padding-left: 5px;
    padding-right: 20px;
    text-align: left;
    margin-bottom: 30px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#azienda .cat-small{
    display: inline;
    float: left;
	margin: 0 auto;
	width: 39%;
	position: relative;
    margin-top: 0px;
    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;
	}

#azienda .cat-small img{
	width: 100%;
	max-width: 784px;
	}

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

#realizzazioni{
    display: block;
	margin: 0 auto;
	width: 100%;
	position: relative;
    margin-top: 80px;
    margin-bottom: 150px;
	}

#realizzazioni .cat{
    display: inline;
	margin: 0 auto;
    float: left;
    width: 23.3%;
	position: relative;
    padding: 0;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 60px;
    text-align: left;
    padding-left: 10px;
    padding-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;
	}

#realizzazioni img.top{
	margin: 0 auto;
    padding: 0;
	width: 100%;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#realizzazioni img.top:hover{
	border-radius: 40px;
	}

#realizzazioni .line{
	margin-top: 10px;
    margin-bottom: 20px;
    padding: 0;
    width: 80px;
    height: 3px;
    background-color: var(--rosso);
    }

#realizzazioni .tit{
    margin-top: 10px;
    margin-bottom: 0px;
	font-family: 'cuprum';
    font-size: 2.2em;
    line-height: 34px;
    padding: 0;
    }

#realizzazioni .button a{
	background-color:var(--dark);
    color: #fff;
    border: 0;
    padding: 10px 16px 13px 16px;
    font-size: 1.5em;
    cursor:pointer;
    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;
	}




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

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

#realizzazioni .cat{
    width: 23.3%;
    margin-left: 10px;
    margin-right: 10px;
	}
    
}



@media screen and (min-width: 1600px) and (max-width: 1799px) {
    
video.fullscreen {
  width:100%;
  height:100vh;
    max-height: 1000px;
    min-height: 1000px;
	}
    
#typed{
    padding: 380px 0 96px 0;
	}
    
 #azienda .cat-small{
     margin-top: 80px;
	}

#realizzazioni .cat{
    width: 23.5%;
    margin-left: 7px;
    margin-right: 7px;
	}
	
}

@media screen and (min-width: 1400px) and (max-width: 1599px) {
    
video.fullscreen {
  width:100%;
  height:100vh;
    max-height: 910px;
    min-height: 910px;
	}
    
#typed{
    padding: 371px 0 14px 0;
	}
    
 #azienda .cat-small{
     margin-top: 80px;
	width: 38.5%;
	}

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

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

#realizzazioni .cat{
    width: 30.5%;
    margin-left: 13px;
    margin-right: 13px;
	}

	
}

@media screen and (min-width: 1220px) and (max-width: 1399px) {
    
video.fullscreen {
  width:100%;
  height:100vh;
    max-height: 910px;
    min-height: 910px;
	}

#typed{
    padding: 335px 0 40px 0;
	}

#bonus .cat-big{
	width: 76%;
	}

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

#servizi .ser-cat3{
    margin: 0 16px 40px 16px;
	}

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

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

#realizzazioni .cat{
    width: 30.5%;
    margin-left: 10px;
    margin-right: 10px;
	}

	
}

@media screen and (min-width: 1001px) and (max-width: 1219px) {
    
video.fullscreen {
  width:100%;
  height:100vh;
    max-height: 920px;
    min-height: 920px;
	}

#typed{
    padding: 400px 0 24px 0;
	}
    
#bonus {
    background-color: #00609d;
	}
    
#bonus .cat-big{
	width: 72%;
	}

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

#servizi .ser-cat3{
    margin: 0 13px 40px 13px;
	}

#servizi .ser-cat3 p{
    min-height: 120px;
	}
    
#servizi .ser-cat2.bg{
    width: 100%;
    min-height: 550px;
	}

#servizi .ser-cat2.tx{
    width: 96%;
    margin-left: 10px;
	}

#realizzazioni .cat{
    width: 46%;
    margin-left: 15px;
    margin-right: 15px;
	}

	
}


@media screen and (min-width: 851px) and (max-width: 1000px) {
	
video.fullscreen {
  width:100%;
  height:100vh;
    max-height: 720px;
    min-height: 720px;
	}

#typed{
    padding: 230px 0 164px 0;
	}
    
#bonus {
    background-color: #00609d;
	}
    
#bonus .cat-big{
	width: 72%;
	}

#bonus .cat-small{
	width: 25%;
    margin-top: 50px;
	}
    
 #azienda .cat-big{
	width: 99%;
	}

#azienda .cat-small{
	width: 99%;
	}

#servizi .ser-cat3{
	width: 45%;
    margin: 0 18px 40px 18px;
	}

#servizi .ser-cat3 p{
    min-height: 120px;
	}
    
#servizi .ser-cat2.bg{
    width: 100%;
    min-height: 490px;
	}

#servizi .ser-cat2.tx{
    width: 96%;
    margin-left: 10px;
	}

#realizzazioni .cat{
    width: 46%;
    margin-left: 10px;
    margin-right: 10px;
	}
    

}


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

video.fullscreen {
  width:100%;
  height:100vh;
    max-height: 650px;
    min-height: 650px;
	}

#typed{
    padding: 200px 0 140px 0;
	}
    
#bonus {
    background-color: #00609d;
	}
    
#bonus .cat-big{
	width: 71%;
	}

#bonus .cat-small{
	width: 25%;
    margin-top: 50px;
	} 
   
 #azienda .cat-big{
	width: 99%;
	}

#azienda .cat-small{
	width: 99%;
	}

#servizi .ser-cat3{
	width: 44.5%;
    margin: 0 15px 40px 15px;
	}

#servizi .ser-cat3 p{
    min-height: 120px;
	}
    
#servizi .ser-cat2.bg{
    width: 100%;
    min-height: 470px;
	}

#servizi .ser-cat2.tx{
    width: 96%;
    margin-left: 10px;
	}

#realizzazioni .cat{
    width: 46%;
    margin-left: 5px;
    margin-right: 5px;
	}

	
}

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

video.fullscreen {
  width:100%;
  height:100vh;
    max-height: 600px;
    min-height: 600px;
	}

#typed{
    padding: 100px 0 90px 0;
	}
    
#typed a{
    font-size: 1.0em;
	}
    
#bonus {
    margin-top: 53px;
    background-color: #00609d;
	}
    
#bonus .cat-big{
	width: 99%;
    margin-bottom: 10px;
	}

#bonus .cat-small{
	width: 99%;
    margin-top: 20px;
    margin-bottom: 30px;
	}
    
 #azienda .cat-big{
	width: 99%;
	}

#azienda .cat-small{
	width: 99%;
	}
    
#servizi .title{
    font-size: 3.8em;
    line-height: 62px;
	}
    
#servizi .title2{
    font-size: 3.8em;
    line-height: 62px;
	}

#servizi .ser-cat3{
	width: 92%;
    margin: 0 20px 40px 20px;
	}
    
#servizi .ser-cat2.bg{
    width: 100%;
    min-height: 450px;
	}

#servizi .ser-cat2.tx{
    width: 99%;
    margin-left: 10px;
	}

#realizzazioni .cat{
    width: 93%;
    margin-left: 10px;
    margin-right: 10px;
    border-bottom:1px solid #ccc;
	}


}


@media screen and (min-width: 291px) and (max-width: 450px) {
    
video.fullscreen {
  width:100%;
    height:100vh;
    max-height: 630px;
    min-height: 630px;
	}

#typed{
    padding: 40px 0 150px 0;
	}
    
#typed p.slogan{	
	font-size: 2em;
	line-height: 45px;
	}

#typed big{
    font-size: 0.9em;
	}

#slide-link{
	margin-top: 0px;
	}
    
#bonus {
    margin-top: 40px;
    background-color: #00609d;
	}
    
#bonus .cat-big{
	width: 99%;
    margin-bottom: 10px;
	}

#bonus .cat-small{
	width: 99%;
    margin-top: 20px;
    margin-bottom: 30px;
	}
    
#azienda .cat-big{
	width: 99%;
	}

#azienda .cat-small{
	width: 99%;
	}

#azienda .title1{
    font-size: 2.4em;
    line-height: 40px;
	}

#azienda .title2{
    font-size: 2.1em;
    line-height: 34px;
	}
    
#servizi .title{
    font-size: 3.8em;
    line-height: 62px;
	}
    
#servizi .title2{
    font-size: 2.7em;
    line-height: 50px;
	}

#servizi .ser-cat3{
	width: 90%;
    margin: 0 20px 40px 20px;
	}
    
#servizi .ser-cat2.bg{
    width: 100%;
    min-height: 360px;
	}

#servizi .ser-cat2.tx{
    width: 99%;
    margin-left: 10px;
	}
    
#servizi .icon{
    width: 20%;
	}

#servizi .desc2{
    width: 95%;
    margin-left: 0px;
    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;
	}

#realizzazioni .cat{
    width: 93%;
    margin-left: 6px;
    margin-right: 10px;
    border-bottom:1px solid #ccc;
	}
    


	
}

@media screen and (max-width: 290px) {
    
video.fullscreen {
  width:100%;
  height:100vh;
    max-height: 650px;
    min-height: 650px;
	}
    
#typed{
    padding: 30px 0 100px 0;
	}

#typed p.anno{	
	font-size: 3.6em;
	line-height: 55px;
	}

#typed p.slogan{	
	font-size: 1.7em;
	line-height: 43px;
	}

#typed big{
    font-size: 0.82em;
	}
    
#bonus {
    background-color: #00609d;
	}
    
#bonus .cat-big{
	width: 99%;
    margin-bottom: 10px;
	}

#bonus .cat-small{
	width: 99%;
    margin-top: 20px;
    margin-bottom: 30px;
	}
    
#azienda .cat-big{
	width: 99%;
	}

#azienda .cat-small{
	width: 99%;
	}

#azienda .title1{
    font-size: 1.9em;
    line-height: 40px;
	}

#azienda .title2{
    font-size: 1.5em;
    line-height: 34px;
	}
    
#servizi .title{
    font-size: 3em;
    line-height: 52px;
	}
    
#servizi .title2{
    font-size: 2.2em;
    line-height: 45px;
	}

#servizi .ser-cat3{
	width: 91%;
    margin: 0 10px 40px 10px;
	}
    
#servizi .ser-cat2.bg{
    width: 100%;
    min-height: 270px;
	}

#servizi .ser-cat2.tx{
    width: 99%;
    margin-left: 0px;
	}
    
#servizi .icon{
    width: 20%;
	}

#servizi .desc2{
    width: 95%;
    margin-left: 0px;
    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;
	}

#realizzazioni .cat{
    width: 92%;
    margin-left: 2px;
    margin-right: 10px;
    border-bottom:1px solid #ccc;
	}

#realizzazioni .tit{
    font-size: 2em;
    line-height: 34px;
    }
    


	
}