@charset "UTF-8";
/* CSS Document */

body,
h1,
h2,
h3,
h4,
h5,
p {
    font-family: 'Montserrat', sans-serif;
}

.bg-light{
  background-color: #fff!important;
}

.htesto{
  height:26rem;
}

.logo{
  max-width: 500px;
  min-width: 300px
}

.logo-head{
  max-width: 800px;
  min-width: 300px
}

.navbar-light .navbar-nav .nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: calc(14px + (14 - 14) * ((100vw - 300px) / (1920 - 300)));
  padding-left: 3rem;
}

.contattinav {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: calc(14px + (14 - 14) * ((100vw - 300px) / (1920 - 300)));
  padding-left: 0.5rem!important;
  color:#20448f!important;
}

.spazio-nav{
  padding-left: 4rem;
  padding-right: 4rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}


.h1head{
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: calc(35px + (100 - 35) * ((100vw - 300px) / (1920 - 300)));
  color:#2C2C2C;
}

.tit-pag-servizi{
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: calc(25px + (40 - 25) * ((100vw - 300px) / (1920 - 300)));
  color:#2C2C2C;
  padding-top: 35px;
}

.h3sez{
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: calc(35px + (100 - 35) * ((100vw - 300px) / (1920 - 300)));
  color:#FFFFFF;
}

.inserzioni{
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: calc(14px + (16 - 14) * ((100vw - 300px) / (1920 - 300)));
  color:#2C2C2C;
}

.bordo-video1{
  padding:4px;
}

.bordo-video2{
  padding:4px;
}

.bordo-video3{
  padding:4px;
}

.box-head{
  padding-left: 3rem;
  padding-right: 3rem;
  padding-top: 18rem;
  padding-bottom: 2rem;
}

.box-temp{
  padding-left: 3rem;
  padding-right: 3rem;
  padding-top: 10rem;
  padding-bottom: 2rem;
}
.box-video{
  padding-left: 3rem;
  padding-right: 3rem;
}
.box-1-testo{
  padding-left: 3rem;
  padding-right: 3rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.box-servizi{
  padding-left: 3rem;
  padding-right: 3rem;
  padding-top: 12rem;
  padding-bottom: 2rem;
}

.box-bot-carpenteria{
  padding-left: 3rem;
  padding-right: 3rem;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.bottom-align-text {
    position: absolute;
    bottom: 0;
  }
.img-servizi{
  max-width: 200px;
  min-width: 200px;
}
.box-gallery{
  padding:15px;
}
.img-gallery{
  padding:5px;
}

.titolo-video{
  font-weight: 400;
  font-size: calc(26px + (30 - 26) * ((100vw - 300px) / (1920 - 300)));
  color:#fff;
  margin-bottom: 12px;
}
.txt{
  font-size: calc(14px + (16 - 14) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 300;
  color:#fff;
}

.txt-box-serv{
  font-size: calc(14px + (16 - 14) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 300;
  color:#fff;

  padding-top: 15px;
}

.btn-light{
  font-size: calc(12px + (12 - 12) * ((100vw - 300px) / (1920 - 300)));
  background-color: #fff;
  color:#222222;
}

.btn-blu{
  font-size: calc(12px + (12 - 12) * ((100vw - 300px) / (1920 - 300)));
  background-color: #20448f;
  color:#fff;
  border-radius: 50px;
}
.btn-white{
  font-size: calc(12px + (12 - 12) * ((100vw - 300px) / (1920 - 300)));
  background-color: #fff;
  color:#3B3B3B;
  border-radius: 50px;
}


.hrvideo{
  border:1px solid #fff;
  margin-top: 1px;
}

.hrslider{
  border:1px solid #20448f;
  margin-top: 1px;
}

.hslider{
  padding-top: 45%;
}

.bordo-top-bot-dx{
  border-top:1px solid #BEBEBE;
  border-bottom:1px solid #BEBEBE;
  border-right:1px solid #BEBEBE;
}
.bordo-top-bot{
  border-top:1px solid #BEBEBE;
  border-bottom:1px solid #BEBEBE;
}

.bordo-top-dx{
  border-top:1px solid #BEBEBE;
  border-right:1px solid #BEBEBE;
}

.bordo-top{
  border-top:1px solid #BEBEBE;
}
.sez-serv-dx{
  border-right:1px solid #BEBEBE;
  margin-top: 20px;
}
.sez-serv-bot{
  border-bottom:1px solid #BEBEBE;
  margin-top: 20px;
}

.sez-serv-0{
  margin-top: 20px;
}
.sez-serv-dx-bot{
  border-right:1px solid #BEBEBE;
  border-bottom:1px solid #BEBEBE;
  margin-top: 20px;
}
.titolo-serv{
  font-weight: 400;
  font-size: calc(21px + (23 - 21) * ((100vw - 300px) / (1920 - 300)));
  color:#2D2D2D;
  margin-bottom: 12px;
}
.titolo-carpenteria{
  font-weight: 400;
  font-size: calc(23px + (28 - 23) * ((100vw - 300px) / (1920 - 300)));
  color:#2D2D2D;
  margin-bottom: 12px;
}
.titolo-macchinari{
  font-weight: 600;
  font-size: calc(16px + (18 - 16) * ((100vw - 300px) / (1920 - 300)));
  color:#2D2D2D;
  margin-bottom: 2px;
  padding-top: 1rem;
}

.video-background-holder {
    position: relative;
    background-color: #fff;
    height: 85vh;
    min-height: 25rem;
    width: 100%;
    overflow: hidden;
}

.video-head{
  height: auto;
}

.video-background-holder video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.video-background-content {
    position: relative;
    z-index: 2;
}



.video-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #fff;
    opacity: 0.1;
    z-index: 1;
}

.videoofficina{
  height:300px!important;
}

.certificato{
  max-width: 300px;
  transition-duration: 1s;
}
.certificato:hover{
  max-width: 290px;
  transition-duration: 1s;
}
.titolo {
    font-size: calc(40px + (150 - 40) * ((100vw - 300px) / (1920 - 300)));

}

.blu{
  color:#20448f;
}

.white{
  color:#fff;
}


strong{
  font-weight: 600;
}
a {
  text-decoration: none;
  color:#fff;
}
a:hover {
  text-decoration: none;
  color:#949494;
}

.black{
  color:#1A1A1A;
}
/*------------------------------------------CARD SLIDER------------------------------------------*/
.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: transparent;
    background-clip: border-box;
    border: none;
    border-radius: .25rem;
}

/*------------------------------------------FINE CARD SLIDER------------------------------------------*/

.carousel-wrapper {
  width: 1000px;
  margin: auto;
  position: relative;
  text-align: center;
  font-family: sans-serif;
}

.owl-carousel .owl-nav {
  overflow: hidden;
  height: 0px;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: #5110e9;
}


.owl-carousel .item {
  text-align: center;
}

.owl-carousel .nav-button {
  height: 50px;
  width: 25px;
  cursor: pointer;
  position: absolute;
  top: 110px !important;
}

.owl-carousel .owl-prev.disabled,
.owl-carousel .owl-next.disabled {
  pointer-events: none;
  opacity: 0.25;
}

.owl-carousel .owl-prev {
  left: -35px;
}

.owl-carousel .owl-next {
  right: -35px;
}

.owl-theme .owl-nav [class*=owl-] {
  color: #ffffff;
  font-size: 39px;
  background: #000000;
  border-radius: 3px;
}

.owl-carousel .prev-carousel:hover {
  background-position: 0px -53px;
}

.owl-carousel .next-carousel:hover {
  background-position: -24px -53px;
}

/*-----------------------------------BTN-RIGHE-----------------------*/
 .btn {
            background-color: #20448f;
            color: #fff;
            font-size: calc(14px + (16 - 14) * ((100vw - 300px) / (1920 - 300)));
            font-weight: 500;
            position: relative;
            border-radius: 0 !important;
            border: none;
            transition:all 0.3s ease 0s;
        }
        .btn:hover,
        .btn.active:hover{
            color: #ffffff;
        }
        .btn:before{
            content: "";
            position: absolute;
            top: -5px;
            left: 0;
            background-color:#2C2C2C;
            width: 30%;
            height: 2px;
            transition:all 0.3s ease 0s;
        }
        .btn:after{
            content: "";
            position: absolute;
            bottom: -5px;
            right: 0;
            background-color:#2C2C2C;
            width: 30%;
            height: 2px;
            transition:all 0.3s ease 0s;
        }
        .btn:hover:before,
        .btn:hover:after,
        .btn.active:before,
        .btn.active:after{
            width: 100%;
        }

        @media screen and (max-width: 575px){
            .btn{
                margin-bottom: 50px !important;
            }
        }
.btn2 {
                   background-color: #20448f;
                   color: #fff;
                   font-size: calc(14px + (16 - 14) * ((100vw - 300px) / (1920 - 300)));
                   font-weight: 500;
                   position: relative;
                   border-radius: 0 !important;
                   border: none;
                   transition:all 0.3s ease 0s;
               }
               .btn2:hover,
               .btn2.active:hover{
                   color: #ffffff;
               }
               .btn2:before{
                   content: "";
                   position: absolute;
                   top: -5px;
                   left: 0;
                   background-color:#fff;
                   width: 30%;
                   height: 2px;
                   transition:all 0.3s ease 0s;
               }
               .btn2:after{
                   content: "";
                   position: absolute;
                   bottom: -5px;
                   right: 0;
                   background-color:#fff;
                   width: 30%;
                   height: 2px;
                   transition:all 0.3s ease 0s;
               }
               .btn2:hover:before,
               .btn2:hover:after,
               .btn2.active:before,
               .btn2.active:after{
                   width: 100%;
               }

               @media screen and (max-width: 575px){
                   .btn2{
                       margin-bottom: 50px !important;
                   }
               }

/*-----------------------------------FINE-BTN-RIGHE-----------------------*/
.gira{
  max-width: 70px;
  min-width: 70px;
}

.animation {
  width: 70px;
  height: 70px;
  position: relative;
  animation-name: dx-sx;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}
@keyframes dx-sx {
  0% {
    left: -20px;
    top: 0px;
  }
  50% {
    left: 20px;
    top: 0px;
  }
  100% {
    left: -20px;
    top: 0px;
  }
}

#mapid { height: 600px; }



@media only screen and (max-width: 1030px) {
  #mapid { height: 400px; }
}


@media only screen and (max-width: 900px) {

.htesto{
  height:16rem;
}
.box-head{
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 6rem;
  padding-bottom: 2rem;
}
.box-video{
  padding-left: 1rem;
  padding-right: 1rem;
}

.box-servizi{
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.box-bot-carpenteria{
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.logo{
  min-width: 200px;
}

.navbar-light .navbar-nav .nav-link {
  padding-left: 0rem;
}

.spazio-nav {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0rem;
}

.hslider{
  padding-top: 1rem;
}
}
