* {
  font-family: Inter;
}

@font-face {
  font-family: Inter;
  src: url(src/fonts/Inter-VariableFont_slnt,wght.ttf);
}

.navbar-brand {
  font-weight: 800;
}

/* PER BOTTONE */
*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.buttons {
  text-align: center;
  border-radius: 30px;
}

.blob-btn {
  z-index: 1;
  position: relative;
  padding: 20px 46px;
  text-align: center;
  color: #ffffff;

  background-color: transparent;
  outline: none;
  border: none;
  transition: color 0.5s;
  cursor: pointer;
  border-radius: 30px;
}

.blob-btn:before {
  content: "";
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 2px solid #1d9ebb;
  border-radius: 30px;
}

.blob-btn:after {
  content: "";
  z-index: -2;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 100%;
  height: 100%;
  transition: all 0.3s 0.2s;
  border-radius: 30px;
}

.blob-btn:hover {
  color: #1d9ebb;
  border-radius: 30px;
}

.blob-btn:hover:after {
  transition: all 0.3s;
  left: 0;
  top: 0;
  border-radius: 30px;
}

.blob-btn__inner {
  z-index: -1;
  overflow: hidden;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: #1d9ebb;
}

.blob-btn__blobs {
  position: relative;
  display: block;
  height: 100%;
  filter: url("#goo");
}

.blob-btn__blob {
  position: absolute;
  top: 2px;
  width: 25%;
  height: 100%;
  background: #ffffff;
  border-radius: 100%;
  transform: translate3d(0, 150%, 0) scale(1.7);
  transition: transform 0.45s;
}

@supports (filter: url("#goo")) {
  .blob-btn__blob {
    transform: translate3d(0, 150%, 0) scale(1.4);
  }
}

.blob-btn__blob:nth-child(1) {
  left: 0%;
  transition-delay: 0s;
}

.blob-btn__blob:nth-child(2) {
  left: 30%;
  transition-delay: 0.08s;
}

.blob-btn__blob:nth-child(3) {
  left: 60%;
  transition-delay: 0.16s;
}

.blob-btn__blob:nth-child(4) {
  left: 90%;
  transition-delay: 0.24s;
}

.blob-btn:hover .blob-btn__blob {
  transform: translateZ(0) scale(1.7);
}

@supports (filter: url("#goo")) {
  .blob-btn:hover .blob-btn__blob {
    transform: translateZ(0) scale(1.4);
  }
}

/* SPECIFICI */

.text-decoration-underline {
  text-decoration-color: #1d9ebb !important;
  text-decoration-thickness: .2rem !important;
}

@media (min-width: 1600px) {
  .adg-primary {
    font-size: 2rem;
  }

  .adg-secondary {
    font-size: 1rem;
  }
}

@media (min-width: 993px) and (max-width: 1599px) {
  .adg-primary {
    font-size: 1.8vw;
  }

  .adg-secondary {
    font-size: 1vw;
  }
}

@media (max-width: 992px) {
  .adg-primary {
    font-size: 1.6rem;
  }

  .adg-secondary {
    font-size: 1rem;
  }
}

.ql-disabled > .ql-editor {
  padding: 0px 0px !important;
}

.imgNews {
  background-blend-mode: overlay;
  background-size: cover;
  background-color: RGBA(33, 37, 41, var(--bs-bg-opacity, 1)) !important;
}


.imgNews:hover {
  background-color: rgba(65, 65, 65, 0.8) !important;
  animation: fadeColor 1s linear;
}

@keyframes fadeColor {
  0% {
    background-color: RGBA(33, 37, 41, var(--bs-bg-opacity, 1)) !important;
  }

  100% {
    background-color: rgba(65, 65, 65, 0.8) !important;
  }
}

.fadeIn {
  opacity: 1;
  animation: fade 1s linear;
}

@keyframes fade {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

[id^="newsCol"] {
  padding-block: calc(var(--bs-gutter-x) * .5);
  display: block;
  top: 0px;
  position: relative;
  text-decoration: none;
  z-index: 0;
  border-radius: 1.6rem;
}

[id^="newsCol"]:hover {
  transition: all 0.2s ease-out;
  background-color: rgba(13, 109, 253, 0.300) !important;
  box-shadow: 0px 4px 8px rgba(38, 38, 38, 0.300);
  top: -4px;
}

/*
[id^="newsCol"]:before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -1px;
  right: -1px;
  height: 24px;
  width: 24px;
  border-radius: 32px;
  transform: scale(2);
  transform-origin: 50% 50%;
  transition: transform 0.15s ease-out;
  background-color: #1d9ebb;
}
*/
[id^="newsCol"]:hover:before {
  transform: scale(2.15);
}

a {
  text-decoration: none !important;
}

#contenuto>.ql-container {
  font-size: 21px;
}

.labelImg {
  max-width: 120px;
}

#map {
  height: 88svh !important;
  background: #aad3df;
}

#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
}

.leaflet-popup-tip {
  background-color: transparent !important;
}

.leaflet-popup-close-button {
  display: none;
}

.imgRegione {
  max-width: 30px;
  max-height: 26px;
}

.leaflet-popup-content {
  margin: 0 !important;
}

.leaflet-popup-content-wrapper {
  padding: 0 !important;
}

.labelRating {
  background-color: rgba(190, 190, 190, 0.235);
}

.badgeBambini {
  height: 24px;
  width: 24px;
  background-image: url('images/attributes/baby.png');
  background-size: cover;
}

.tooltipLabelCard {
  --bs-tooltip-bg: var(--bs-primary);
}

body {
  overflow-x: hidden !important;
}

#barraRicercaAcque {
  border-radius: 36px 0px 0px 36px !important;
}

#ordineRicercaAcque {
  border-radius: 0px 36px 36px 0px !important;
}


@media (max-width: 768px) {
  #barraRicercaAcque {
    border-radius: 36px !important;
  }

  #filtriRicercaAcque {
    border-radius: 36px !important;
    width: 65.3% !important;
  }

  #ordineRicercaAcque {
    border-radius: 36px !important;
  }
}

#offcanvasNavbar {
  width: 250px !important;
}

#mapAcqua {
  background: #aad3df;
  height: 500px !important;
}

@media (max-width: 768px) {
  #mapAcqua {
    height: 300px !important;
  }
}

.imgValore {
  max-width: 60px;
  max-height: 52px;
}

.titoloValoreAcqua {
  font-size: 2.4rem;
  font-weight: 700;
}

.valoreAcqua {
  font-size: 0.9rem;
}

.misuraValoreAcqua {
  font-size: 0.7rem;
}

@media (max-width: 768px) {
  .titoloValoreAcqua {
    font-size: 4svw;
    font-weight: 700;
  }

  .valoreAcqua {
    font-size: 3svw;
  }

  .misuraValoreAcqua {
    font-size: 3svw;
  }
}

@media (max-width: 768px) {
  .logoWA {
    display: none !important;
  }
}

#dalProduttore {
  min-height: 120px;
  /*min-height: 120px;*/
  border-radius: 12px !important;
  margin: 6px 6px 2px 6px !important;
}

@media (min-width: 769px) {
  .contattaciContent {
    width: 60% !important;
  }
}

.cardAcqua {
  padding-block: calc(var(--bs-gutter-x) * .5);
  display: block;
  top: 0px;
  position: relative;
  text-decoration: none;
  z-index: 0;
  border-radius: 1.6rem;
}

.cardAcqua:hover {
  transition: all 0.2s ease-out;
  background-color: rgba(13, 109, 253, 0.300) !important;
  box-shadow: 0px 4px 8px rgba(38, 38, 38, 0.300);
  top: -4px;
}

.cardAcqua:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -16px;
  right: -16px;
  height: 32px;
  width: 32px;
  border-radius: 32px;
  transform: scale(2);
  transform-origin: 50% 50%;
  transition: transform 0.15s ease-out;
}

.cardAcqua:hover:before {
  transform: scale(2.15);
}

#selectFiltriRicercaAcque {
  background-color: transparent !important;
  border: none !important;
}

#ordineRicercaAcque {
  cursor: pointer;
}

.labelRatingSelected {
  background-color: rgba(121, 190, 255, 0.235);
}

.video-background-holder {
  position: relative;
  background-color: transparent;
  height: 100%;
  width: 100%;
  /*border-radius: 36px;*/
  overflow: hidden;
  padding-block: 4rem;
  padding-inline: 2rem;
}

@media (max-width: 992px) {
  .video-background-holder {
    padding-block: 2rem;
    padding-inline: 0rem;
  }
}

.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%);
  opacity: 0.1;
}

.video-background-content {
  position: relative;
  z-index: 2;
}

.video-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0);
  opacity: 0.5;
  z-index: 1;
  opacity: 0.1;
  background: -webkit-linear-gradient(right,
      rgba(255, 255, 255, 0.65) 0%,
      rgba(255, 255, 255, 0) 20%,
      rgba(255, 255, 255, 0) 80%,
      rgba(255, 255, 255, 0.65) 100%);
}

.bg-principale {
  background-color: #1d9ebb !important;
}

.bnt-principale {
  background-color: #1d9ebb !important;
}

.text-principale {
  color: #1d9ebb;
}