/* GLOBAL */
html,
body {
  height: 100%;
  margin: 0;
}
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
/* OPENING PAGE */
/* LOADER */
/* #load_screen {
  background: #001522;
  opacity: 0.8;
  position: fixed;
  z-index: 99999;
  width: 100%;
  height: 100%;
}
.loaders {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 2px solid #001522;
  border-top: 2px solid orange;
  border-radius: 50%;
}
#loading1 {
  width: 120px;
  height: 120px;
  -webkit-animation: spin1 3s linear infinite;
  animation: spin1 3s linear infinite;
}
#loading2 {
  width: 100px;
  height: 100px;
  -webkit-animation: spin2 2s linear infinite;
  animation: spin2 2s linear infinite;
}
#loading3 {
  width: 80px;
  height: 80px;
  -webkit-animation: spin3 1.5s linear infinite;
  animation: spin3 1.5s linear infinite;
}
#loading4 {
  width: 60px;
  height: 60px;
  -webkit-animation: spin4 0.8s linear infinite;
  animation: spin4 0.8s linear infinite;
}
@-webkit-keyframes spin1 {
  0% {
    -webkit-transform: translate(-50%, -50%) rotate(0deg);
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) rotate(360deg);
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes spin1 {
  0% {
    -webkit-transform: translate(-50%, -50%) rotate(0deg);
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) rotate(360deg);
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@-webkit-keyframes spin2 {
  0% {
    -webkit-transform: translate(-50%, -50%) rotate(0deg);
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) rotate(-360deg);
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}
@keyframes spin2 {
  0% {
    -webkit-transform: translate(-50%, -50%) rotate(0deg);
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) rotate(-360deg);
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}
@-webkit-keyframes spin3 {
  0% {
    -webkit-transform: translate(-50%, -50%) rotate(0deg);
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) rotate(360deg);
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes spin3 {
  0% {
    -webkit-transform: translate(-50%, -50%) rotate(0deg);
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) rotate(360deg);
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@-webkit-keyframes spin4 {
  0% {
    -webkit-transform: translate(-50%, -50%) rotate(0deg);
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) rotate(-360deg);
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}
@keyframes spin4 {
  0% {
    -webkit-transform: translate(-50%, -50%) rotate(0deg);
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) rotate(-360deg);
    transform: translate(-50%, -50%) rotate(-360deg);
  }
} */
/* FASCE */
#business-name-banner,
#cosa-acquistiamo {
  position: relative;
  width: 100%;
  height: 90px;
  z-index: 99;
  background-color: #001522;
  border-top: 3px solid #001522;
}
.name-style,
h2.fasce {
  display: inline;
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: "Open Sans Condensed", sans-serif;
  font-weight: normal;
  font-size: 35pt;
  color: orange;
  text-align: center;
  margin: 0;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 100;
}
.chi-siamo {
  color: #cc6600;
  font-family: "Open Sans Condensed";
  font-size: 28pt;
  margin-top: 0px;
}
/* Media per le fasce */
@media screen and (max-width: 640px) {
  #cosa-acquistiamo-testo {
    font-size: 29pt;
  }
}
/* GALLERIA e LOGO */
#opening-page {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-flow: column nowrap;
  flex-flow: column nowrap;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}
#sep {
  width: 100%;
  height: 120px;
}
#galleria {
  position: relative;
  /* FLEX OUTSIDE */
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  /* FLEX INSIDE */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: wrap;
  flex-flow: wrap;
}
.settori {
  position: relative;
  height: 50%;
  overflow: hidden;
}
#top {
  width: 100%;
  border-bottom: 7px solid #001522;
}
#left {
  width: 50%;
  border-right: 7px solid #001522;
}
#right {
  width: 50%;
}
.imgtop,
.imgleft,
.imgright,
.imgpres {
  position: absolute;
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-animation: round 15s infinite;
  animation: round 15s infinite;
  /* -webkit-animation: round 25s infinite;
  animation: round 25s infinite; */
  opacity: 0;
  -webkit-filter: sepia(70%) blur(2px);
  filter: sepia(70%) blur(2px);
}
.imgpres {
  -webkit-animation: round 15s infinite;
  animation: round 15s infinite;
}
#pres {
  position: absolute;
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  /* opacity: 0; */
  -webkit-filter: sepia(70%) blur(2px);
  filter: sepia(70%) blur(2px);
}
@-webkit-keyframes round {
  25% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
}
@keyframes round {
  25% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
}
/* LOGO */
#imglogo1 {
  display: block;
  position: absolute;
  max-width: 300px;
  /* max-width: 700px; */
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
#imglogo2 {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
/* Media per il logo */
@media screen and (max-width: 860px), screen and (max-height: 680px) {
  #imglogo1 {
    width: 500px;
  }
}
@media screen and (max-width: 580px), screen and (max-height: 540px) {
  #imglogo1 {
    width: 180px;
  }
}
@media screen and (max-width: 350px), screen and (max-height: 450px) {
  #imglogo1 {
    display: none;
  }
  #imglogo2 {
    display: block;
    width: 150px;
    top: 50%;
  }
}
@media screen and (max-width: 280px), screen and (max-height: 320px) {
  #imglogo2 {
    display: none;
  }
}
/* Animazione per galleria */
.imgtop:nth-child(1) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}
.imgleft:nth-child(1) {
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}
.imgright:nth-child(1) {
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
}
.imgtop:nth-child(2) {
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
}
.imgleft:nth-child(2) {
  -webkit-animation-delay: 6s;
  animation-delay: 6s;
}
.imgright:nth-child(2) {
  -webkit-animation-delay: 7s;
  animation-delay: 7s;
}
.imgtop:nth-child(3) {
  -webkit-animation-delay: 10s;
  animation-delay: 10s;
}
.imgleft:nth-child(3) {
  -webkit-animation-delay: 11s;
  animation-delay: 11s;
}
.imgright:nth-child(3) {
  -webkit-animation-delay: 12s;
  animation-delay: 12s;
}
/* .imgtop:nth-child(4) {
  -webkit-animation-delay: 15s;
  animation-delay: 15s;
}
.imgleft:nth-child(4) {
  -webkit-animation-delay: 16s;
  animation-delay: 16s;
}
.imgright:nth-child(4) {
  -webkit-animation-delay: 17s;
  animation-delay: 17s;
}
.imgtop:nth-child(5) {
  -webkit-animation-delay: 20s;
  animation-delay: 20s;
}
.imgleft:nth-child(5) {
  -webkit-animation-delay: 21s;
  animation-delay: 21s;
}
.imgright:nth-child(5) {
  -webkit-animation-delay: 22s;
  animation-delay: 22s;
  } */
/* CORPO DEL SITO */
/* VETRINA */
#vetrina {
  position: relative;
  max-width: 990px;
  margin: 30px auto 30px auto;
  /* FLEX INSIDE */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.oggetto {
  position: relative;
  overflow: hidden;
  width: 320px;
  height: 320px;
  background-color: #e6e6e6;
  cursor: pointer;
  margin: 5px;
}
.bordo {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}
.imgoggetto {
  position: absolute;
  display: block;
  max-height: 90%;
  max-width: 90%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}
.sold {
  position: absolute;
  display: block;
  z-index: 1;
  pointer-events: none;
}
.tendina {
  position: absolute;
  width: 100%;
  height: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  opacity: 0.8;
  -webkit-transition: 0.5s ease;
  -o-transition: 0.5s ease;
  transition: 0.5s ease;
  z-index: 2;
  pointer-events: auto;
}
.contenutiOggetto {
  position: absolute;
  overflow: hidden;
  bottom: 0;
  left: 15%;
  right: 15%;
  height: 0;
  -webkit-transition: 0.5s ease;
  -o-transition: 0.5s ease;
  transition: 0.5s ease;
  z-index: 3;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  pointer-events: none;
}
.descrizione {
  font-family: "Open Sans", sans-serif;
  font-size: 14pt;
  color: #001522;
  text-align: center;
  z-index: 4;
  pointer-events: none;
}
.oggetto:hover .contenutiOggetto,
.oggetto:hover .tendina,
.catobj:hover .contenutiOggetto,
.catobj:hover .tendina {
  height: 100%;
}
.oggetto:hover .bordo,
.catobj:hover .bordo {
  border: 3px solid #cc6600;
}
/* PRESENTAZIONE */
#presentazione-fascia {
  position: relative;
  width: 100%;
  height: auto;
  margin-top: 60px;
  margin-bottom: 60px;
  padding: 20px;
  border-top: 3px solid #001522;
  border-bottom: 3px solid #001522;
  z-index: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  z-index: 1;
}
#velatura {
  position: absolute;
  width: 40%;
  height: 100%;
  opacity: 0.75;
  z-index: 3;
  background-color: white;
}
.business-description-2 {
  width: 33%;
  padding: 60px 40px;
  font-family: "Open Sans";
  font-size: 20pt;
  text-align: center;
  color: black;
  z-index: 4;
}
#callleft,
#callright {
  /* POSIZIONE */
  position: absolute;
  display: block;
  width: 150px;
  height: auto;
  z-index: 4;
  /* CONTENUTO */
  cursor: pointer;
  background-color: #6eb33c;
  /* border: 1px dotted orange; */
  border-radius: 25px;
  box-shadow: 0 0 25px rgb(0 22 36 / 58%), inset 0 0 10px 8px #398403;
  /* FONTE */
  font-family: "Open Sans", sans-serif;
  color: white;
  font-size: 16pt;
  text-align: center;
  padding: 15px;
  padding-bottom: 30px;
}
#wp2,
#ph2 {
  font-size: 26pt !important;
  margin-top: 20px;
}
/* Animazione per la presentazione */
.imgpres:nth-child(1) {
  -webkit-animation-delay: 15s;
  animation-delay: 15s;
}
.imgpres:nth-child(2) {
  -webkit-animation-delay: 10s;
  animation-delay: 10s;
}
.imgpres:nth-child(3) {
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
}
.imgpres:nth-child(4) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}
/* Media per la presentazione */
@media screen and (max-width: 930px) {
  /* PRESENTAZIONE */
  #velatura,
  .business-description-2 {
    /* display: none; */
    width: 100%;
  }
  #presentazione-fascia {
    height: auto;
    padding: 10px;
    /* padding: 20px; */
  }
}
@media screen and (max-height: 360px) {
  #sep {
    height: 80px;
  }
}
/* CATEGORIE */
#categorie {
  position: relative;
  width: 100%;
  margin: 30px auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: wrap;
  flex-flow: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.catline {
  width: 100%;
  height: 290px;
  margin: 5px;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: wrap;
  flex-flow: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.cathead {
  position: relative;
  width: 290px;
  height: 290px;
  margin: 0 5px;
  background-color: #001522;
}
h3.titoloCategoria {
  display: inline;
  position: absolute;
  width: 100%;
  left: 50%;
  bottom: 10px;
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  margin: 0;
  padding-top: 8px;
  font-family: "Open Sans Condensed", sans-serif;
  text-align: center;
  font-weight: normal;
  color: orange;
  background-color: #001522;
  font-size: 30pt;
  z-index: 100;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}
.cathead:hover .titoloCategoria {
  font-size: 32pt;
  color: #ff6900;
}
.catobj {
  position: relative;
  width: 290px;
  height: 290px;
  margin: 0 5px;
  background-color: #e6e6e6;
  aspect-ratio: 1 / 1; /* futuro-proof: se togli height, il box resta quadrato */
  overflow: hidden; /* sicurezza per eventuali overflow */
}
.imgcatobj {
  position: absolute;
  display: block;
  max-height: 90%;
  max-width: 90%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}
.first-object {
  display: none;
}
.corretta {
  max-height: 70%;
  top: 39%;
}
/* Media per la galleria delle categorie */
@media screen and (max-width: 665px) {
  .catobj {
    display: none;
  }
  .first-object {
    display: block;
  }
  /* .catline {
      height: 100px;
    }
    .cathead {
      height: 80px;
      } */
}
/* SERVIZI */
#servcont1 {
  position: relative;
  max-width: 700px;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.servcont2 {
  width: 320px;
  height: auto;
  overflow: hidden;
  margin: 15px;
  padding: 30px;
  background-color: #e6e6e6;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-flow: column;
}
.servicon {
  margin-right: 20px;
  font-size: 28pt;
  color: #001522;
  opacity: 0.5;
}
.servdescrptn {
  font-family: "Open Sans", sans-serif;
  font-size: 15pt;
  padding-top: 7px;
}
h4.serviziTitoli {
  display: inline;
  color: #6eb33c;
  font-size: 18pt;
}
.verdeChiaro {
  color: #6eb33c;
}
