.modal{
  z-index: 9999;
}
.nav-iconaAnimataColor span:nth-child(1) {
  top: 7px;
  background-color: green !important;
  height: 4px !important;
}

.nav-iconaAnimataColor span:nth-child(2) {
  top:16px;
  background-color: white !important;
  height: 4px !important;
}

.nav-iconaAnimataColor span:nth-child(3) {
  top: 25px;
  background-color: red !important;
  height: 4px !important;
}
.logoGrande{
  width: 300px !important;
  transition: all 1s !important;
}
.logoPiccolo{
  width: 200px !important;
  transition: all 1s !important;
}
.logoNav{
  transition: all 1s;
}
.grigio{
  transition: all 1s !important;
  border-bottom: 2px solid #202020;
  background-color: #fff; 
}
.trasparente{
  background-color: transparent !important;
  transition: all 1s !important;
  border-bottom: 0px solid #202020;

}
/** HEADER **/

#cornice {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 50%;
  height: 98vh;
  padding: 10px 20px;
  min-height: 400px;
  color: #202020;
  border-bottom: 2px solid #202020;
  z-index: 1000;
  background-color: white;
}
#cornice:after {
  content: " ";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background-color: white;
  border-bottom: 2px solid #202020;
  border-right: 4px solid #202020;
  transform-origin: bottom left;
  -ms-transform: skew(-15deg, 0deg);
  -webkit-transform: skew(-15deg, 0deg);
  transform: skew(-15deg, 0deg);
}
#cCismac {
  position: absolute;
  top:0;
  left:0;
  z-index: 1000;
  width: 100%;
  height: 98vh;
}
.cCismac{
height: 25rem;
margin-left: 5%;
opacity: 0.18;
}
#obliqua{
  z-index: 1000 !important;
  text-align: left;
}
header, .carousel-item {
  height: 98vh;
  max-width: 100%;
  overflow: hidden;
}
.txtHeader{
  margin-left: 7rem;
  text-align: left;
  margin-right: -12rem;
}
.txtHeader h3{
  font-size: 35px;
  margin-bottom: 3rem;
}
.carousel-control-next {
  left: 50% !important;
}
.carousel-control-prev, .carousel-control-next{
  z-index: 1000;
  width: 5% !important;
}
.carousel-control-prev-icon{
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c20d1a'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
  position: absolute;
  left: 0.5rem;
}
.carousel-control-next-icon{
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c20d1a'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  position: absolute;
  right: 0.8rem;
}
.carousel-control-next-icon,
.carousel-control-prev-icon{
  width: 4rem;
  height: 4rem;
}
.carousel-indicators{
  z-index: 2000;
  justify-content: left;
  margin-left: 15%;
  margin-right: 15%;
  display: block;
}
.carousel-indicators [data-bs-target] {
  box-sizing: content-box;
  flex: 0 1 auto;
  width: 30px;
  height: 3px;
  padding: 0;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: #0060b6;
  background-clip: padding-box;
  border: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  opacity: .5;
  transition: opacity .6s ease;
}
.carousel-indicators .active{
  opacity: 1;
}
.bottone-slider{
  width: 50px;
}
.bottone-slider:hover{
  opacity: 0.6;
}
/** HEADER **/

/** BUSINESS **/
.business{
  margin-top: 4.5rem;
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
}
.business a{
  text-decoration: none;
  color: black;
}
.business .col-lg-3{
text-align: center;}
.business .offset-lg-1{
  margin-left: 13.6%;
}
.riquadroBusiness{
  background-color: rgba(0, 96, 182, 0.15);
  text-align: center;
  padding: 0rem 3rem 1.5rem 3rem;
  margin-bottom: 1rem;
  transition: all 0.5s; 
}
.riquadroBusiness:hover{
  background-color:#0060b6;
  color: #fff !important;
  transition: all 0.5s; 
}
.riquadroBusiness:hover img{
  filter: invert(100%);
  transition: all 0.5s; 
}

.riquadroBusiness:hover h5{
  color: #fff;
}
.riquadroBusiness p{
  font-size: small;
}
.riquadroBusiness h5{
  margin-bottom: 1rem;
}
.iconBusiness{
  width: 100px;
}
/** CONTATTI **/
.contatti{
  margin-top: 4rem;
}
.txtContatti{
  padding: 2rem;
  background-color: #F2F2F2;
}
.txtContatti a{
  color: #414141;
  text-decoration: none;
}
.txtContatti a:hover{
  font-weight: 500;
}
.icona-contatti{
  width: 35px;
  margin-right: 1rem;
  margin-top: 1.5rem;
}
.map{
  width: 100%;
  height: 100%;
}
.contatti td { 
  height: 50px; 
  vertical-align:bottom; 
}


/** INNOVAZIONE **/
.innovazione{
  background-image: url(../img/home/img-innovazione.jpg);
  background-size:cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  margin-top: 4rem;
}
.innovazione .col-lg-8{
  padding-right: 0;
}
.innovazione .cismac-hr{
  width: 100%;
}
.txtInnovazione{
  padding: 2rem 4rem 2rem 2rem;
  background-color: #fff;
  margin-top: 15%;
  margin-bottom: 15%;
}
.txtInnovazione .col-lg-6{
  padding: 0rem 1.5rem 0rem 1.5rem;
}
.txtInnovazione img{
  width: 100px;
  margin: 1.5rem 0rem 1.5rem 0rem;
}
.txtInnovazione p{
  font-size: 14px;
}

@media only screen and (min-width: 1600px) {
  .spostatoSx{
    padding: 4rem;
  }
  .txtHeader h3{
    font-size: 55px;
  }
  .txtHeader{
    margin-left: 8rem;
    text-align: left;
    margin-right: -15rem;
  }
  .cCismac{
    height: 30rem;
    margin-left: 5%;
    }
}
@media only screen and (min-width: 768px) {
.dskNone{
  display: none;
}
.business .secondaRiga{
  margin-top: 2rem !important;
}
.sfondoSlide{
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
}
.primaSlide{
  background-image: url(../img/home/slider/foto-1.jpg);
  background-position-x: 100px;
}
.secondaSlide{
  background-image: url(../img/home/slider/foto-2.jpg);
}
.terzaSlide{
  background-image: url(../img/home/slider/foto-3.jpg);
  background-position-x: right;
}
.quartaSlide{
  background-image: url(../img/home/slider/foto-4.jpg);
}
}

@media only screen and (max-width: 768px) {
  .innovazione{
    background-attachment: scroll;
  }
  .mobNone{
    display: none;
  }
  .dskNone{
    display: block;
  }
  #cornice{
      display: none !important;
  } 
  #obliqua {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 20px;
    font-size: 20px;
    min-height: 400px;
    border-bottom: 2px solid #d64545;
    z-index: 99;
    background-color: white;
  }
  #obliqua:after {
    content: " ";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: white;
    border-bottom: 3px solid #d64545;
    border-right: 8px solid #d64545;
    transform-origin: bottom left;
    -ms-transform: skew(-25deg, 0deg);
    -webkit-transform: skew(-25deg, 0deg);
    transform: skew(-25deg, 0deg);
  }
  .carousel-control-next,
  .carousel-control-prev, #cCismac{
    z-index: 2000;
  }
  .carousel-control-next-icon,
  .carousel-control-prev-icon{
    width: 3rem;
    height: 3rem;
    margin-top: -4rem;
  }
  .txtHeader{
    margin-left: 1rem;
    text-align: left;
    margin-right: 0rem;
  }
  .txtHeader h3{
    font-size: 35px;
  }
  .carousel-control-prev-icon{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c20d1a'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
    position: absolute;
    left: 0.5rem;
  }
    .map{
      height: 300px;
    }
    .mappCol{
      padding-left:0rem;
      padding-right:0rem;
      margin-top: 2rem !important;
    }
    .business .offset-lg-1{
      margin-left: 0%;
    }
    .business h5{
      font-size: smaller;
    }
    .riquadroBusiness{
      padding: 0rem 0rem 1.5rem 0rem;
    }
    .logoNav48{
      display: none;
    }
    #carouselHeader{
      margin-top: 5rem;
    }
    .logoGrande{
      width: 150px !important;
    }
    .logoPiccolo{
      width: 150px !important;
    }
    .carousel-control-next{
      left:95% !important;
    }
    .sfondoSlide{
      padding-left: 0rem;
      padding-right: 0rem;
    }
    .imgSliderMobile{
      margin-top: 45vh;
    }
 
    .txtHeader h3{
      font-size: 30px;
    }

}
@media only screen and (max-width: 480px) {
  .txtHeader h3{
    font-size:22px;
  }
}
