/* width */
::-webkit-scrollbar {
  width: 10px;
  background-color: #A8DADC;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
  background-color: #A8DADC;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #E63946;
  border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #E63946aa;
}

.body {
  margin: 0px;
  color: #F1FAEE;
  background-image: url("../image/sfondo.jpg");
  background-size: cover;
  background-attachment: fixed;
  font-family: "Montserrat", sans-serif;
  width: 100%;
  background-color: #1D3557;
}
.body #nav {
  height: 80px;
  background-color: transparent;
  position: fixed;
  width: 100%;
  display: flex;
  transition: all 0.5s;
  z-index: 5;
}
.body #nav #menu {
  flex-basis: 100px;
  flex-grow: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  max-width: 800px;
  margin: auto;
}
.body #nav #menu .menu {
  flex-basis: 80px;
  flex-grow: 1;
  line-height: 30px;
  text-align: center;
  height: 30px;
  margin-top: 20px;
  border-right: 1px solid #F1FAEE;
  overflow: hidden;
}
.body #nav #menu .menu:nth-of-type(6) {
  border-right: none;
}
.body #nav #menu .menu:nth-of-type(2) {
  border-left: 1px solid #F1FAEE;
}
.body #nav #menu .menu a {
  color: #f1faee;
}
.body #nav #menu .menu a:hover {
  text-decoration: none;
  color: #E63946;
}
.body #nav #menu .menu a:focus {
  text-decoration: none;
}
.body #nav #menu #logo {
  width: 90px;
  height: 60px;
  background-image: url("../image/logo.jpg");
  background-image: url("../image/LOGO.eps");
  background-image: url("../image/mamprin.png");
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 5px;
  border-right: none;
}
.body #front {
  height: 100vh;
  text-align: left;
  padding-left: 20px;
  padding-top: 100px;
  font-family: "Montserrat", sans-serif;
  width: 100%;
}
.body #front .main-title {
  font-size: 40px;
}
.body #front .title {
  font-size: 25px;
}
.body #front .typed-words {
  color: #E63946;
}
.body #story {
  background-color: #F1FAEE;
  color: #E63946;
  color: #1D3557;
  font-size: 25px;
  text-align: center;
  padding-top: 100px;
  padding-bottom: -2px;
  padding-left: 30px;
  padding-right: 30px;
}
.body #contacts {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #A8DADC;
  text-align: center;
  font-size: 20px;
}
.body #contacts .logo-contacts {
  width: 100%;
  margin-bottom: 20px;
}
.body #contacts .logo-contacts img {
  width: 250px;
}
.body #contacts .copyMe {
  width: 250px;
  border: 1px solid #F1FAEE;
  height: 40px;
  border-radius: 120px;
  position: relative;
  display: inline-block;
  transition: all 0.5s;
  font-size: 18px;
  font-weight: 600;
  line-height: 40px;
  margin-top: 20px;
}
.body #contacts .copyMe .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #F1FAEE;
  color: #1D3557;
  text-align: center;
  border-radius: 10px;
  padding: 5px 5px;
  position: absolute;
  z-index: 1;
  top: 45px;
  left: 25%;
}
.body #contacts .copyMe .tooltiptext::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #F1FAEE transparent;
}
.body #contacts .copyMe:hover {
  background-color: #1D3557;
  background-color: #457B9D;
  border: 1px solid transparent;
  cursor: pointer;
}
.body #contacts .copyMe:hover .tooltiptext {
  visibility: visible;
  font-size: 10px;
}
.body #contacts p:nth-of-type(1) {
  font-weight: 700;
}
.body #contacts p img {
  width: 16px;
}
.body #contacts img {
  width: 16px;
}
.body #contacts #mail {
  background-image: url("../image/envelope.png");
  background-size: cover;
  flex-shrink: 3;
  flex-basis: 100px;
}
.body #contacts #phone {
  background-image: url("../image/phone.png");
  background-size: cover;
  flex-shrink: 3;
  flex-basis: 100px;
}
.body #gifs {
  padding-top: 40px;
  padding-bottom: 20px;
  background-color: #F1FAEE;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  overflow-y: hidden;
}
.body #gifs .gif-flex {
  flex-basis: 31%;
  max-height: 250px;
}
.body #gifs #tornio, .body #gifs #fresa, .body #gifs #printer, .body #gifs #component {
  background-image: url("../image/EFon.gif");
  background-position: 50%;
  background-repeat: no-repeat;
  display: inline-block;
  background-size: cover;
  margin: 5px;
}
.body #gifs #tornio:hover, .body #gifs #fresa:hover, .body #gifs #printer:hover, .body #gifs #component:hover {
  transition: all 1s;
  -moz-transition: 1s;
  -webkit-transition: 1s;
  -o-transition: 1s;
  background-position: 0%;
  border-radius: 10px;
}
.body #gifs #fresa {
  background-image: url("../image/fresa.gif");
}
.body #gifs #printer {
  background-image: url("../image/3Dprinter.gif");
}
.body #gifs #component {
  background-image: url("../image/BL4s.gif");
}
.body #gifs .hover {
  z-index: 2;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0);
  transition: 0.5s;
  -moz-transition: 0.2s;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  color: transparent;
  font-size: 45px;
  text-align: center;
  line-height: 250px;
}
.body #gifs .hover:hover {
  z-index: 2;
  width: 100%;
  height: 100%;
  background-color: #457B9D9a;
  color: #F1FAEE;
  border-radius: 10px;
}
.body #lavorazioni, .body #elettronica, .body #cablaggio {
  background-image: url("../image/sfondo3.jpg");
  background-size: cover;
  background-position: 50% 50%;
  background-size: cover;
  font-weight: 700;
  padding-top: 180px;
}
.body #lavorazioni .main-title, .body #elettronica .main-title, .body #cablaggio .main-title {
  font-size: 20px;
}
.body #lavorazioni .title, .body #elettronica .title, .body #cablaggio .title {
  font-size: 15px;
}
.body #lavorazioni .shadow, .body #elettronica .shadow, .body #cablaggio .shadow {
  width: 90%;
  height: 100%;
  background-color: #1D355788;
  background-color: #A8DADC;
  padding: 30px;
  padding-top: 60px;
  padding-left: 30px;
  clip-path: polygon(0% 0%, 85% 0%, 100% 40%, 100% 100%, 0% 100%);
  color: #1D3557;
}
.body #elettronica {
  background-image: url("../image/piastra.jpg");
}
.body #cablaggio {
  background-image: url("../image/cablaggiopic.jpg");
  background-position: 50% 100%;
}
.body .space {
  height: 50px;
  background-color: #F1FAEE;
}
.body #sectors {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 30px;
  background-color: #F1FAEE;
  color: #1D3557;
  overflow: hidden;
}
.body #sectors p:nth-of-type(1) {
  font-weight: 600;
}
.body #sectors .main-title {
  margin-bottom: 30px;
  font-size: 25px;
}
.body #sectors #carouselExampleIndicators img {
  max-height: 350px;
  margin: auto;
  border-radius: 5px;
}
.body #sectors #carouselExampleIndicators .carousel-caption h5 {
  background-color: #F1FAEEcc;
  margin: auto;
  width: 300px;
  padding: 10px;
  font-size: 15px;
  border-radius: 20px;
  color: #1D3557;
}
.body #sectors #carouselExampleIndicators ol {
  position: absolute;
  top: 20px;
}
.body #sectors #carouselExampleIndicators ol li {
  width: 24px;
  border-radius: 0px;
  height: 4px;
}
.body #sectors #carouselExampleIndicators .carousel-control-prev-icon {
  position: relative;
  top: -200px;
  left: -500px;
}
.body #sectors #carouselExampleIndicators .carousel-control-prev-icon img {
  transform: rotate(180deg);
}
.body #sectors #carouselExampleIndicators .carousel-control-next-icon {
  position: relative;
  top: -200px;
  left: 500px;
}
.body #where {
  background-color: #1D3557;
  height: 400px;
}
.body #where iframe {
  height: 400px;
  width: 100%;
  border: 1px solid #1D3557;
}
.body #footer {
  border-bottom: none;
  border-top: 3px solid #E63946;
  margin-bottom: 0px;
  padding-top: 50px;
  padding-bottom: 30px;
  padding-left: 30px;
  padding-right: 30px;
  min-height: 380px;
  text-align: left;
  font-size: 15px;
  background-color: #1D3557;
}
.body #footer p, .body #footer h4 {
  margin-left: 20px;
}
.body .sections {
  min-height: 300px;
  width: 100%;
}

@media only screen and (max-width: 600px) {
  .body {
    background-image: url("../image/sfondo.jpg");
    background-position: 70%;
    width: 100vw;
    overflow-x: hidden;
  }
  .body #nav #menu {
    font-size: 8px;
    font-weight: 600;
  }
  .body #nav #menu .menu {
    margin-top: 5px;
  }
  .body #nav #menu .menu:nth-of-type(2) {
    border-left: 0px solid black;
  }
  .body #nav #menu #logo {
    max-width: 60px;
    max-height: 30px;
    margin-left: 8px;
    border-right: none;
  }
  .body #front {
    height: 100vh;
    font-weight: 600;
  }
  .body #front .main-title {
    font-size: 20px;
  }
  .body #front .title {
    font-size: 20px;
  }
  .body #front .typed-words {
    color: #E63946;
  }
  .body #story {
    padding-left: 10%;
    padding-right: 10%;
    font-size: 18px;
  }
  .body #lavorazioni, .body #elettronica, .body #cablaggio {
    background-image: url("../image/sfondo3.jpg");
    background-position: 50%;
    background-size: cover;
    font-weight: 600;
    min-height: 700px;
    flex-direction: column;
  }
  .body #lavorazioni .main-title, .body #elettronica .main-title, .body #cablaggio .main-title {
    font-size: 16px;
  }
  .body #lavorazioni .title, .body #elettronica .title, .body #cablaggio .title {
    font-size: 13px;
  }
  .body #lavorazioni .shadow, .body #elettronica .shadow, .body #cablaggio .shadow {
    width: 100%;
    height: 550px;
    margin-top: 220px;
    background-color: #1D355788;
    background-color: #A8DADC;
    padding: 5%;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    color: #1D3557;
  }
  .body #elettronica, .body #cablaggio {
    background-position: 70% 100%;
    background-image: url("../image/piastra.jpg");
    min-height: 500px;
  }
  .body #elettronica .shadow, .body #cablaggio .shadow {
    height: 300px;
    margin-top: 200px;
  }
  .body #cablaggio {
    background-image: url("../image/cablaggiopic.jpg");
    background-size: contain;
    background-position: 50% 30%;
    padding-top: 1px;
    min-height: 600px;
  }
  .body #cablaggio .shadow {
    height: 600px;
    margin-top: 160px;
  }

  #gifs {
    background-color: black;
    display: flex;
    justify-content: space-around;
    min-height: 200px;
    overflow-y: scroll;
  }
  #gifs::-webkit-scrollbar {
    display: none;
  }
  #gifs .gif-flex {
    max-width: 200px;
    max-height: 200px;
    width: 200px;
  }
  #gifs .gif-flex .hover {
    min-width: 200px;
    max-height: 200px;
    font-size: 35px;
    line-height: 200px;
  }

  #sectors #carouselExampleIndicators {
    height: 300px;
  }
  #sectors #carouselExampleIndicators h5 {
    max-width: 250px;
  }
  #sectors #carouselExampleIndicators img {
    height: 250px;
  }
}

/*# sourceMappingURL=main.css.map */
