/* GENERAL RUELS */
.app {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.show-mobile {
  display: none;
}
.app-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.section-title-cms {
  color: #15366f;
  text-align: center;
  font-family: Poppins;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 14px;
}

/* PAGE TITLE */
.app-page-title {
  color: #15366f;
  font-size: 24px;
  font-weight: 500;
}

/* VISORE */
.app-visore {
  background-image: url("/external_cms/MYLOTTERIESPLAY/pages/assets/app-mylp/img/app_mylp_header_desk.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 300px;
  width: 100%;
  border-radius: 15px;
  padding: 80px 125px 0 55px;
}
.app-visore-container {
  display: flex;
  gap: 80px;
}
.img-qr {
  display: block;
  height: 130px;
  width: auto;
  margin-top: 11px;
}
/* VISORE CONENUTO EDITORIALE */
.visore-content {
  max-width: 344px;
}

/* VISORE LOGO E TESTO */
.visore-text-container {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.visore-text-container img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
}
.visore-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.text-scarica {
  color: #15366f;
  font-size: 18px;
  font-weight: 700;
}
.text-seleziona {
  color: #333;
  font-size: 14px;
  font-weight: 400;
}

/* VISORE IOS E ANDROID BUTTON */
.visore-download {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}
.visore-download img {
  height: 54px;
  width: auto;
}

/* VISORE TOOLTIP */
.tooltip-box {
  width: 100%;
  display: flex;
  justify-content: right;
}
.tooltip-box-howto {
  color: #15366f;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-align: right;
}
.tooltip-box-howto img {
  height: 18px;
  width: 18px;
  display: inline;
  margin-left: 10px;
}
.cms-tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.cms-tooltip .cms-tooltip-text {
  visibility: hidden;
  background-color: #ffffff;
  position: absolute;
  width: 380px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 15px;
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.08);
  transform: translateX(180px) translateY(7px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1;
}
.cms-tooltip:hover .cms-tooltip-text {
  visibility: visible;
  opacity: 1;
  transform: translateX(180px) translateY(7px);
  z-index: 10;
}
.cms-tooltip-item {
  display: flex;
  gap: 20px;
}
.item-num {
  color: #15366f;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  min-width: 10px;
  padding-top: 2px;
}
.item-text {
  color: #333;
  font-size: 14px;
  font-weight: 400;
}
.item-text.text-sm-cms {
  font-size: 12px;
}

/* SWIPER */
.swiper {
  height: 100%;
  width: 100%;
  z-index: 0 !important;
}
.swiper.swiper-scopri {
  max-width: 1139px;
  margin: 0 auto;
}
.slide-scopri {
  width: 270px !important;
  height: 345px !important;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 17px;
  background: radial-gradient(
    52.82% 52.82% at 47.97% 45.65%,
    #214d9e 0%,
    #0a275d 100%
  );
  color: #ffffff;
  display: flex;
  flex-direction: column;
  padding: 40px 20px;
}
.slider-scopri-top {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 265px;
  gap: 8px;
}
.slider-scopri-top p {
  text-align: center;
}
.slider-img-scopri {
  height: 80px;
  width: auto;
}
.swiper.swiper-servizi {
  max-width: 860px;
  margin: 0 auto;
  padding: 6px 0;
}
.slide-servizi {
  width: 270px !important;
  height: 310px !important;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 17px;
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  background-color: #ffffff;
}
.slider-img-servizi {
  height: 60px;
  width: auto;
}
.slider-servizi-top {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 250px;
  gap: 8px;
}
.slider-servizi-top p {
  text-align: center;
}
.slider-thumb-games {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
.slider-thumb-games img {
  width: 1100px;
  display: block;
  max-width: fit-content;
  margin: 0 auto;
}

.slider-thumb-games {
  overflow-x: auto;
  overflow-y: hidden;

  /* Firefox */
  scrollbar-width: none;

  /* IE/Edge (old) */
  -ms-overflow-style: none;
}

/* Chrome, Safari, Edge */
.slider-thumb-games::-webkit-scrollbar {
  display: none;
}

/* VISORE TOOLTIP */
@media screen and (max-width: 1023px) {
  /* GENERAL RUELS */
  .app-container {
    gap: 40px;
  }
  .app-page-title {
    font-size: 20px;
  }
  .app-visore {
    background-image: url("/external_cms/MYLOTTERIESPLAY/pages/assets/app-mylp/img/app_mylp_header_mob.png");
    background-position: top;
    background-repeat: no-repeat;
    height: 509px;
    width: 100%;
    padding: 50px 20px;
  }
  .img-qr {
    display: none;
  }
  .visore-download,
  .tooltip-box,
  .desk-hidden {
    display: none;
  }
  .show-mobile {
    display: block;
  }

  /* VISORE LOGO E TESTO */
  .visore-content {
    margin: 0 auto;
  }
  .visore-text-container {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
  }
  .visore-text-container img {
    width: 80px;
    height: 80px;
  }
  .visore-text {
    justify-content: center;
    align-items: center;
    gap: 8px;
  }
  .section-title-cms {
    text-align: left;
  }
  /* TOOTLTIP */
  .cms-tooltip .cms-tooltip-text {
    max-width: 360px;
    padding: 15px;
  }

  /* SWIPER */
  .swiper.swiper-cms {
    padding: 15px 0;
  }
}
/* THUMB GAMES */
@media only screen and (min-width: 768px) {
  .thumbs-mobile-container {
    display: none;
  }
}
@media only screen and (max-width: 769px) {
  .thumbs-mobile-desk {
    display: none;
  }
  .thumbs-mobile-container {
    position: relative;
  }
  .thumbs-mobile-container img {
    width: 100%;
    display: block;
  }
  .thumbs-mobile-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #f9f9f9);
    pointer-events: none;
    opacity: 0.8;
  }
}
