body::-webkit-scrollbar {
  width: 0.35rem;
}

body::-webkit-scrollbar-track {
  background-color: black;
}

body::-webkit-scrollbar-thumb {
  background-color: #8a8a8a;
}


.iubenda-embed:not(.no-brand):not(.iubenda-nostyle) {
  background-image: none !important;
  padding-left: 0;

}

html {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

h1 {
  color: #f4f2f2 !important;
  font-weight: bold;
}

body {
  width: 100%;
  position: relative;
  margin: 0;
  min-height: 100%;
  padding-bottom: 8rem;
  margin: 0;
  box-sizing: inherit;
  font-family: "Urbanist", sans-serif;
  letter-spacing: 0.1em;
  color: #f4f2f2;
  background-color: #171717;

}

button {
  line-height: normal;
}

.testata {
  padding-top: 8rem;
  padding-bottom: 8rem;

}

.section {
  width: 90%;
}

.color,
.footer,
.dropdown-menu {
  background: #171717 100%;
}

.footer {
  /* font-family: "Audiowide", sans-serif; */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 100%;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.error {
  color: red;
  font-weight: bold;
}

/*per pagina gallery*/
.gallery-page {
  max-width: 90%;
  margin: 0 auto;
}

/* Viewer grande sopra */
.main-viewer {
  position: relative;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.main-viewer img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.nav-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.nav-prev {
  left: 10px;
}

.nav-next {
  right: 10px;
}

/* Strip sotto */
.thumb-strip {
  margin-top: 10px;
  background: #000;
  border-radius: 8px;
  padding: 8px 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* CONTENITORE CHE SCROLLA ORIZZONTALE */
.thumbs-container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  /* fondamentale */
  overflow-y: hidden;
  white-space: nowrap;
  padding: 4px;
  scrollbar-width: thin;
  /* Firefox: spessore */
}

/* Miniature */
.thumb {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0.7;
  border: 2px solid transparent;
  transition: opacity 0.2s, border-color 0.2s, transform 0.15s;
}

.thumb:hover {
  opacity: 1;
  transform: scale(1.03);
}

.thumb.active {
  opacity: 1;
  border-color: #007bff;
}

.empty-message {
  text-align: center;
  color: #777;
}

/* 🔹 Chrome / Edge / Safari: scrollbar orizzontale della thumbs-container */
.thumbs-container::-webkit-scrollbar {
  height: 6px;
}

.thumbs-container::-webkit-scrollbar-track {
  background-color: #000;
}

.thumbs-container::-webkit-scrollbar-thumb {
  background-color: #8a8a8a;
  border-radius: 10px;
}

/* 🔹 Firefox: colore scrollbar della thumbs-container */
.thumbs-container {
  scrollbar-color: #8a8a8a #000;
  /* thumb, track */
}


/* .dropdown:hover>.dropdown-menu{
    display: block;
} */


/* .dropdown>.dropdown:active{
 pointer-events: none;
} */

/* .prova::after, .prova::before {
  content: '';
  line-height: 45px;
  position: absolute;
  width: 100%;
  opacity: 0;
} */
.stroke a,
.stroke a:after,
.stroke a:before {
  transition: all .5s;
}

.stroke a {
  position: relative;
}

.stroke a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: '.';
  color: transparent;
  background: #FFF200;
  height: 1px;
}

.stroke a:hover:after {
  width: 100%;
}

/* .btn-a {
  cursor: pointer;
  line-height: 45px;
  position: relative;
  padding: 0 20px;
} */

.btn-1a {
  width: 200px;
  padding-left: 45px;
}

.btn-1 svg,
.btn-1a svg {
  /* height: 45px; */
  left: 0;
  position: absolute;
  /* top: 0; */
  width: 100%;
}

/* .btn-1 rect {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-dasharray: 522, 0;
  transition: all 0.35s linear;
} */

.btn {
  padding: 4px 15px;
  border: #f4f2f2 1px solid;
  color: #f4f2f2;
  border-radius: 25px;
}

.btn:hover {
  border: #FFF200 1px solid;
}

.btn:hover {
  color: #FFF200;
}

.btn .svg-icon {
  padding-top: 0;
  bottom: 0;
  position: relative;
}

.btn:hover path {
  fill: #FFF200;
}

.btn-1:hover rect {
  stroke: #FFF200;
  stroke-width: 3;
  stroke-dasharray: 15, 415;
  stroke-dashoffset: 48;
  transition: all 1.35s cubic-bezier(0.19, 1, 0.22, 1);
}

/* .btn-1a rect {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-dasharray: 550, 0;
  transition: all 0.35s linear;
}

.btn-1a:hover rect {
  stroke: #FFF200;
  stroke-width: 3;
  stroke-dasharray: 15, 480;
  stroke-dashoffset: 48;
  transition: all 1.35s cubic-bezier(0.19, 1, 0.22, 1);
} */

.svg-icon {
  padding-top: 13px;
  padding-left: 10px;
}

.btn svg path {
  fill: #ffffff;
}

.markOS svg path {
  fill: linear-gradient(180deg, #1400FF 0%, #840199 100%);
}

.yellow:hover .markOS path {
  stroke: #ffffff;
  /* Imposta il colore del contorno a bianco */
  stroke-width: 1px;
  /* Imposta lo spessore del contorno */
}


/* svg:hover path {
  fill: #FFF200 !important;
} */

.flip-vertical-right {
  -webkit-animation: flip-vertical-right 0.4s cubic-bezier(0.550, 0.085, 0.680, 0.530) alternate-reverse both;
  animation: flip-vertical-right 0.4s cubic-bezier(0.550, 0.085, 0.680, 0.530) alternate-reverse both;
}

/* Stile della barra di avanzamento */
progress::-webkit-progress-bar {
  background-color: transparent;
  /* Colore di sfondo trasparente */
}

/* Stile della parte di avanzamento (barra gialla) */
progress::-webkit-progress-value {
  background-color: #FFF200;
  /* Colore di riempimento giallo */
}

/* Animazione della barra di avanzamento */
@keyframes progress-animation {
  from {
    width: 0%;
  }

  /* Larghezza iniziale */
}

/* Applica l'animazione alla barra di avanzamento */
#scroll-progress {
  position: fixed;
  top: 3px;
  z-index: 1;
  width: 100%;
  height: 4px;
  margin-top: 87px;
  background-color: transparent;
  animation: progress-animation 0.5s linear forwards;
  /* Animazione della larghezza */
}

@-webkit-keyframes flip-vertical-right {
  0% {
    -webkit-transform: rotateY(0);
    transform: rotateY(0);
  }

  100% {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
  }
}

@keyframes flip-vertical-right {
  0% {
    -webkit-transform: rotateY(0);
    transform: rotateY(0);
  }

  100% {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
  }


}

/*CAROSELLO INIZIALE*/

#carousel {
  width: 90%;
  min-height: 650px;
}

.carousel-item img {
  height: 650px;
  object-fit: cover;
  /* Rendi l'immagine coprire l'intero spazio assegnato, mantenendo le proporzioni originali */
  /* object-position: 80% 20%; */
  /* Allinea l'immagine a destra */
  margin-left: auto;
  /* Assicura che l'immagine sia allineata a destra */
  margin-right: 0;
  /* Rimuove il margine destro */
  border-radius: 15px;
}

.carousel-indicators {
  bottom: 50px;
}

.carousel-indicators [data-bs-target] {
  width: 15px;
  height: 10px;
  border-top-left-radius: 10px 30px;
  border-top-right-radius: 10px 30px;
  border-bottom-right-radius: 10px 30px;
  border-bottom-left-radius: 10px 30px;
}

.carousel-indicators .active {
  background-color: #FFF200;
  width: 80px;
  height: 10px;
  border-top-left-radius: 10px 30px;
  border-top-right-radius: 10px 30px;
  border-bottom-right-radius: 10px 30px;
  border-bottom-left-radius: 10px 30px;
}


.car-caption {
  background-color: #242325d8;
  position: absolute;
  margin: 0 5%;
  bottom: 105px;
  max-width: 800px;
  padding: 20px 20px;
  border-radius: 15px;
}

.car-caption * {
  margin-bottom: 1.8rem;
}

.btn1a {
  height: 38px;
  padding: 8px;
  border: transparent;
  border-radius: 20px;
  background-color: #FFF200;
}

.content .btn1a {
  background-color: transparent;
  position: absolute;
  right: 10px;
  bottom: 10px;
}

.content .btn1a .cta svg path,
.content .btn1a .cta svg polyline {
  stroke: #f4f2f2;

}

.text-body-secondary .btn1a {
  display: flex;
  align-items: center;
  background-color: transparent;
  border: #f4f2f2 1px solid;
}

.text-body-secondary .btn1a .cta {
  color: #f4f2f2;
  font-weight: 500;
}

.text-body-secondary .btn1a .cta svg {
  stroke: #f4f2f2;
  margin-left: 10px;
}

.cta {
  padding-left: 10px;
  transition: all 0.2s ease;
  font-weight: 900;
  color: #000000;
}


.container-card .cta {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta svg {
  margin-bottom: 0;
  margin-left: 14px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: #111;
  stroke-width: 2;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

.cta:hover:before {
  width: 100%;
  background: #ffab9d;
}

.cta:hover svg {
  transform: translateX(0);
}

.cta:active {
  transform: scale(0.96);
}

.screensaver-layout {
  background: #171717;
  z-index: 1000;
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.screensaver-layout img {
  width: 250px;
}

.hidden {
  display: none;
}

.navbar {
  background-color: #171717;
  width: 100% !important;
  /* box-shadow: 0 1px 4px rgb(146 161 176 / 15%); */
}

/* .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
} */

.navbar .nav-container li {
  list-style: none;
}

.navbar .nav-container a,
p {
  text-decoration: none;
  color: #f4f2f2;
  font-size: 1.2rem;
}

.nav-container {
  display: block;
  position: relative;
  height: 75px;
  max-width: 100% !important;
  padding: 0;
  margin: 0;
}

.container-fluid {
  padding: 0;
  margin: 0;
}

.nav-container .checkbox {
  right: 30px;
  position: absolute;
  display: block;
  height: 32px;
  width: 32px;
  top: 20px;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.nav-container .menu-lines {
  right: 30px;
  display: block;
  height: 26px;
  width: 32px;
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact {
  right: 30px;
  display: block;
  position: absolute;
}

.bord {
  display: block;
  position: absolute;
  border-left: #8a8a8a 1px solid;
  height: 100%;
  right: 205px;
}

.nav-container .menu-lines .line {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 10px;
  background: #f4f2f2;
}

.nav-container .menu-lines .line1 {
  transform-origin: 100% 0%;
  transition: transform 0.4s ease-in-out;
}

.nav-container .menu-lines .line2 {
  margin-left: 6px;
  width: 26px;
  justify-content: end;
  transition: transform 0.2s ease-in-out;
}

.nav-container .menu-lines .line3 {
  transform-origin: 100% 100%;
  transition: transform 0.4s ease-in-out;
}

.navbar .menu-items {
  /* display: flex; */
  padding-top: 120px;
  background-color: #171717f7;
  /* box-shadow: inset 0 0 2000px rgba(255, 255, 255, .5); */
  height: 100vh;
  width: 100%;
  transform: translate(150%);
  /* display: flex;
  flex-direction: column;
  margin-right: -40px; */
  /* padding-right: 50px; */
  transition: transform 0.5s ease-in-out;
  /* text-align: center; */
}

.navbar .menu-items .yellow,
.navbar .menu-items .yellow1,
.navbar .menu-items p {
  margin-bottom: 1.2rem;
  font-size: 1.2rem;

}

.logo {
  position: absolute;
  left: 30px;
}

.nav-container input[type="checkbox"]:checked~.menu-items {
  transform: translateX(0);
}

.nav-container input[type="checkbox"]:checked~.menu-lines .line1 {
  transform-origin: 100% 0%;
  transform: translateY(0px) rotate(-50deg);
  background: #FFF200;
}

.nav-container input[type="checkbox"]:checked~.menu-lines .line2 {
  transform: scaleY(0);
}

.nav-container input[type="checkbox"]:checked~.menu-lines .line3 {
  transform-origin: 100% 100%;
  transform: translateY(0px) rotate(50deg);
  background: #FFF200;
}

.nav-container input[type="checkbox"]:checked~.logo {
  display: none;
}

.nav-container input[type="checkbox"]:checked~progress {
  display: none;
}

.nav-container .row {
  margin: 0;
}

.menu {
  position: relative;
}

.menu .yellow ul {
  position: absolute;
  top: 0;
  left: 430px;
  display: none;
}


.yellow:hover .hov {
  color: #FFF200;
}


.yellow1:hover a {
  color: #FFF200;
}

.yellow2 {
  display: inline-block;
}

.yellow2:hover a {
  color: #FFF200;
}

/*card-carousel*/

.container-card {
  /* padding: 20px 0; */
  overflow-x: auto;
  display: flex;
  justify-content: center;
  height: 500px;
  gap: 10px;
}

.container-card div {
  flex: 0 0 19%;
  border-radius: 0.5rem;
  /* transition: flex 0.5s ease-in-out, box-shadow 0.5s ease-in-out, transform 0.5s ease-in-out; */
  box-shadow: 1px 5px 15px #242325;
  position: relative;
  overflow: hidden;
}

.c4 div {
  flex: 0 0 24%;

}

.c3 div {
  flex: 0 0 32%;
}

.c1 div {
  flex: 0 0 60%;
}

.card-body h1,
p {
  margin-bottom: 1.8rem;
}

.container-card .card2 {
  flex: 0 0 24%;
  border-radius: 0.5rem;
  transition: flex 0.5s ease-in-out, box-shadow 0.5s ease-in-out, transform 0.5s ease-in-out;
  box-shadow: 1px 5px 15px #242325;
  position: relative;
  overflow: hidden;
}

.container-card .sistemaCasse {
  background: url("/image/casse.jpg") no-repeat 65%/cover;

}

.container-card .bilance {
  background: url("/image/17.jpg") no-repeat 30%/cover;
}

.container-card .etichette {
  background: url("/image/etichette.png") no-repeat 20%/cover;
}

.container-card .digitalSignage {
  background: url("/image/19.jpg") no-repeat 60%/cover;
}

.container-card .cpi {
  background: url("/image/20.jpg") no-repeat 100%/cover;
}

.container-card .dO {
  background: url("/image/10.jpg") no-repeat 50%/cover;
}

.container-card .retail {
  background: url("/image/13.jpg") no-repeat 30%/cover;
}

.container-card .horeca {
  background: url("/image/11.jpg") no-repeat 20%/cover;
}

.container-card .farmacie {
  background: url("/image/12.jpg") no-repeat 20%/cover;
}

.container-card div .content span {

  font-size: 16px;

}

.container-card div .content {
  border-radius: 0;
  font-size: 1.5rem;
  color: #fff;
  /* display: flex;*/
  align-items: center;
  padding: 10px 0;
  /* flex-direction: column; */
  width: 100%;
  top: 70%;
  background: #1c1c1ce3;
  height: 30%;
  justify-content: center;
}

.container-card h5 {
  text-align: center;
  padding-top: 2%;
}

.card {
  background-color: #242325;
  border-radius: 15px;
  color: #f4f2f2;
  border: transparent;
}

.card-body ul,
.card-a ul {
  list-style: none;
  color: #f4f2f2;
  padding-bottom: 10px;
  font-size: 24px;
}

.card-b ul {
  list-style: none;
  font-size: 24px;
}


.card-body {
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.center {
  padding-left: 8%;
  padding-right: 8%;
  display: flex;
  justify-content: space-evenly;
}


ul.card-text {
  padding-left: 0;

}

.d-flex li {
  padding: 10px 10px;
}

.cover {
  display: flex;
  justify-content: flex-end;
}

.img4 {
  min-height: 100%;
  border-bottom-right-radius: 15px;
}

.img5 {
  object-fit: cover;
  object-position: 44% 90%;
  min-height: 100%;
  border-top-left-radius: 15px;
}

.img6 {
  object-fit: cover;
}

.card-img-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #242325d8;
  border-radius: 15px 0 0 15px;
  padding: 5% 5%;

}


.trust p,
.trust2 p {
  font-size: 18px;
  margin-bottom: 0;
}



@media (min-width:1090px) {
  .img4-a {
    object-position: 20% 60%;
  }

}

@media (min-width:992px) {
  .menu-items .yellow:hover ul {
    display: block;
  }

  .a {
    padding-left: 200px;
  }

  .image-cov {
    object-fit: cover;
    min-height: 500px;
    max-height: 750px;
    min-width: 100%;
  }

  .image-cov1 {
    object-fit: cover;
    min-height: 500px;
    max-height: 850px;
    min-width: 100%;
  }

  .trust {
    width: 70%;
    padding-top: 40px;
  }

  .trust2 {
    width: 50%;
    padding-top: 20px;
  }


  .menu-items ul {
    border-left: #8a8a8a 1px solid;
  }

  .card-a {
    min-height: 300px;
    max-height: 700px;
  }

  .card-img {
    min-height: 300px;
  }

}

@media (min-width:1450px) {
  .menu .yellow ul {
    left: 550px
  }

  .a {
    padding-left: 300px;
  }

}

@media (min-width:992px) and (max-width:1230px) {
  .menu .yellow ul {
    left: 340px;
  }

  .a {
    padding-left: 100px;
  }
}

@media (max-width:991px) {

  .trust {
    width: 90%;
  }

  .trust2 {
    width: 70%;
  }

  .card-a {
    min-height: 600px;
  }

  .card-img {
    height: 600px;
  }




  /* .container-card>div .content {
    top: 70%;
    background: #1c1c1ce3;
    height: 30%;
    justify-content: center;
  } */

  .img6 {
    border-radius: 15px 15px 0 0;
  }


  .menu-items {
    text-align: center;
  }

  .menu ul {
    padding-left: 0;
  }

  .container-card {
    height: auto;
    /* padding: 20px 0; */
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    justify-content: flex-start;
  }

  /* Nascondi la barra di scorrimento per WebKit (Chrome, Safari) */
  .container-card::-webkit-scrollbar {
    display: none;
  }

  /* Assicurati che l'elemento possa comunque essere scorrevole */
  .container-card {
    overflow: -webkit-pannable;
  }

  .c1 {
    display: flex;
    justify-content: center;
  }

  .container-card div {
    height: 300px;
    min-width: 300px;
    margin-right: 10px;
  }


  .container-card .btn1a {
    padding: 5px;
  }

  /* .container-card > div:hover {
  flex: 0 0 30%;
  box-shadow: 1px 3px 15px #a7a7a7;
  transform: translateY(-30px);
} */

}

@media (min-width:768px) {

  .partner {
    width: 70%;
  }

  .card-b {
    height: 800px;
  }

  .card-img-b {
    min-height: 800px;
  }

  .trust div {
    display: flex;
  }

  .trust {
    padding-top: 20px;
  }

  .trust .vrD {
    height: 100px;
    padding: 0 3%;
    margin-top: auto;
    margin-bottom: auto;
  }

  .section {
    padding-top: 40px;
  }

  .card-img-overlay {
    width: 50%;
  }

  .img4 {
    border-top-right-radius: 15px;
  }

  .img5 {
    border-bottom-left-radius: 15px;
  }

  .img6 {
    border-radius: 0px 15px 15px 0;
  }

  .img7 {
    object-fit: contain;
    max-height: 400px;
  }
}

@media (max-width:767px) {



  .card-b,
  .card-img-b {
    min-height: 700px;
  }

  .trust .vrH,
  .trust vrD {
    display: none;
  }

  .trust {
    width: 60%;

  }

  .trustCenter {
    padding-top: 30px;
  }

  .section {
    padding-top: 20px;
  }

  .card-img-overlay {
    border-radius: 15px;
  }

  .image-cov,
  .image-cov-a {
    max-height: 400px;
    width: 100%;
  }

  .img4 {
    border-bottom-left-radius: 15px;
  }


  .img5 {
    border-top-right-radius: 15px;
  }

  .img6 {
    border-radius: 15px 15px 0 0;
  }

  .img7 {
    object-fit: contain;
    width: 60%;
    margin: 0 auto;

  }

  .nav-container .menu-lines,
  .nav-container .checkbox {
    right: 30px;
  }


  .carousel-item img {
    min-height: 650px;
  }

  .carousel-indicators {
    bottom: 10px;
  }

  .car-caption {
    bottom: 60px;
  }

  .car-caption * {
    margin: 5px;
  }

  .navbar .menu-items {
    padding-top: 80px;
    overflow-y: scroll;
  }

  .contact,
  .bord {
    display: none;
  }

  .container-card div,
  .card2 {
    width: 300px;
    flex: 0 0 100px;
    height: 300px;
  }

}

@media (min-width:481px) {
  .trust2 .vrD {
    height: 50px;
    margin: auto;
    padding: 0 5%;
  }

  .img-logo {
    width: 280px;
  }

}

@media (max-width:480px) {
  .trust2 div {
    display: flex;
    flex-direction: column;
  }

  .trust2 .vrH {
    display: none;
  }

  .trust2 .flex-column {
    padding-top: 10px;
  }

  .img-logo {
    width: 200px;
  }

}

@media (max-width:390px) {

  .car-caption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin: 0;
    top: 0;
  }

  .carousel-item img {
    min-height: 700px;
  }
}