/* STILI BASE */

.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}

.justify-center {
  justify-content: center;
}
.justify-start {
  justify-content: flex-start;
}
.justify-end {
  justify-content: flex-end;
}
.justify-between {
  justify-content: space-between;
}
.justify-evenly {
  justify-content: space-evenly;
}

.items-center {
  align-items: center;
}
.items-start {
  align-items: start;
}
.items-end {
  align-items: end;
}

.relative {
  position: relative;
}
.absolute {
  position: absolute;
  top: 0;
  left: 0;
}
.w-auto {
  width: auto;
}

.w-full {
  width: 100%;
}
.h-full {
  height: 100%;
}
.w-1.\/2 {
  width: 50%;
}
.w-1.\/3 {
  width: 33.33%;
}
.w-1.\/4 {
  width: 25%;
}

.w-1.\/12 {
  width: 8.33%;
}
.w-2.\/12 {
  width: 16.66%;
}
.w-3.\/12 {
  width: 24.99%;
}
.w-4.\/12 {
  width: 33.32%;
}
.w-5.\/12 {
  width: 41.65%;
}
.w-6.\/12 {
  width: 49.98%;
}
.w-7.\/12 {
  width: 58.31%;
}
.w-8.\/12 {
  width: 66.64%;
}
.w-9.\/12 {
  width: 74.97%;
}
.w-10.\/12 {
  width: 83.3%;
}
.w-11.\/12 {
  width: 91.63%;
}

.w-1_2 {
  width: 50%;
}
.w-1_3 {
  width: 33.33%;
}
.w-1_4 {
  width: 25%;
}
.w-1_12 {
  width: 8.33%;
}
.w-2_12 {
  width: 16.66%;
}
.w-3_12 {
  width: 24.99%;
}
.w-4_12 {
  width: 33.32%;
}
.w-5_12 {
  width: 41.65%;
}
.w-6_12 {
  width: 49.98%;
}
.w-7_12 {
  width: 58.31%;
}
.w-8_12 {
  width: 66.64%;
}
.w-9_12 {
  width: 74.97%;
}
.w-10_12 {
  width: 83.3%;
}
.w-11_12 {
  width: 91.63%;
}

.mt-8 {
  margin-top: 8px;
}
.mt-16 {
  margin-top: 16px;
}
.mt-32 {
  margin-top: 32px;
}
.mt-64 {
  margin-top: 64px;
}
.mb-8 {
  margin-bottom: 8px;
}
.mb-16 {
  margin-bottom: 16px;
}
.mb-32 {
  margin-bottom: 32px;
}
.mb-64 {
  margin-bottom: 64px;
}

.my-8 {
  margin-top: 8px;
  margin-bottom: 8px;
}
.my-16 {
  margin-top: 16px;
  margin-bottom: 16px;
}
.my-32 {
  margin-top: 32px;
  margin-bottom: 32px;
}

.ml-8 {
  margin-left: 8px;
}
.ml-16 {
  margin-left: 16px;
}
.ml-32 {
  margin-left: 32px;
}
.ml-52 {
  margin-left: 52px;
}

.mr-10 {
  margin-right: 10px;
}

.mr-8 {
  margin-right: 8px;
}

.mr-12 {
  margin-right: 12px;
}

.mr-16 {
  margin-right: 16px;
}

.px-32 {
  padding-left: 32px;
  padding-right: 32px;
}
.px-16 {
  padding-left: 16px;
  padding-right: 16px;
}

.pr-40 {
  padding-right: 40px;
}

.p-8 {
  padding: 8px;
}
.p-4 {
  padding: 4px;
}

.testo-uppercase {
  text-transform: uppercase;
}

.testo-bianco {
  color: white;
}
.testo-giallo {
  color: #f6ff32;
}

.hover-sottolineato {
  text-decoration: none;
}
.hover-sottolineato:hover {
  text-decoration: underline;
}

.testo-bold {
  font-weight: 800;
}

.testo-w-20 {
  font-size: 20px;
}

.testo-l-20 {
  line-height: 20px;
}
.testo-l-24 {
  line-height: 20px;
}

#gallery-swiper-grande {
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  position: fixed;
  top: -30px;
  left: 0;
  opacity: 0;
  z-index: -5;
  transition: all 0.2s ease-in;
}

.mostra-gallery {
  top: 0 !important;
  opacity: 1 !important;
  z-index: 999999 !important;
}

#gallery-swiper-grande .swiper-slide {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

#gallery-swiper-grande img {
  width: auto;
  height: calc(100% - 130px);
}

#gallery-swiper-grande .img-cnt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: auto;
  /* height: calc(100% - 120px); */
}

.gallery-dida {
  padding: 10px 0;
  display: flex;
  align-items: center;
  width: 100%;
  color: white;
}

#gallery_swiper .foto-gialla {
  cursor: pointer;
}

#gallery-swiper-grande .swiper-button-next,
#gallery-swiper-grande .swiper-button-prev {
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: transparent;
  border-radius: 50%;
  border: none;
  transition: all 0.25s ease;
  background-color: #38a7ff;
}

#gallery_swiper .swiper-button-next:hover,
#gallery_swiper .swiper-button-prev:hover,
#gallery-swiper-grande .swiper-button-next:hover,
#gallery-swiper-grande .swiper-button-prev:hover {
  background-color: #38a7ff80;
}

#gallery-swiper-grande .swiper-button-prev {
  left: 20px;
}

#gallery-swiper-grande .swiper-button-next {
  right: 20px;
}

#gallery-swiper-grande-bt-chiudi {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 34px;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease-in;
  z-index: 9999999;
  border-radius: 15px;
}

#chiudi-nero {
  opacity: 0;
}

#gallery-swiper-grande-bt-chiudi:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

#gallery-swiper-grande-bt-chiudi:hover #chiudi-bianco {
  opacity: 0;
}
#gallery-swiper-grande-bt-chiudi:hover #chiudi-nero {
  opacity: 1;
}

#gallery-swiper-grande-bt-chiudi img {
  position: absolute;
  width: 22px;
  height: 22px;
  transition: all 0.2s ease-in;
}
/*----- RESPONSIVE TABLET --------*/

.mobile {
  display: none;
}

.no_tablet {
  display: none;
}

@media screen and (max-width: 821px) {
  .mobile {
    display: inherit;
  }
}

@media screen and (max-width: 821px) {
  #elemento14 .swiper-horizontal > .swiper-pagination-bullets,
  #elemento14 .swiper-pagination-bullets.swiper-pagination-horizontal,
  #elemento14 .swiper-pagination-custom,
  #elemento14 .swiper-pagination-fraction,
  #elemento14 .swiper-pagination,
  #galleria1-swiper .swiper-horizontal > .swiper-pagination-bullets,
  #galleria1-swiper .swiper-pagination-bullets.swiper-pagination-horizontal,
  #galleria1-swiper .swiper-pagination-custom,
  #galleria1-swiper .swiper-pagination-fraction,
  #galleria1-swiper .swiper-pagination {
    bottom: 12px;
    z-index: 0;
  }

  #elemento14 .swiper-button-next,
  #elemento14 .swiper-button-prev,
  #galleria1-swiper .swiper-button-next,
  #galleria1-swiper .swiper-button-prev {
    bottom: 6px;
    top: auto;
    z-index: 1;
  }

  #galleria1-swiper {
    padding-bottom: 50px;
    margin-top: 32px;
  }

  #galleria1-swiper .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #galleria1-swiper .caption_composizione {
    margin-top: 4px;
  }
}

@media only screen and (max-width: 480px) {
  #galleria1-swiper .swiper-slide img {
    width: 100%;
  }

  #elemento14 {
    margin-bottom: -100px !important;
  }
}
