/*
VARIABLES */
/* LINES SCROLL INDICATOR */
#scroll_line_container {
  display: none;
}
/* END LINES SCROLL INDICATOR */
.container_scroll_snap {
  max-height: 100vh;
  max-height: 100dvh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-scroll-snap-type: y mandatory;
  -ms-scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
}
.panel {
  scroll-snap-align: end;
  -webkit-scroll-snap-align: end;
  -ms-scroll-snap-align: end;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  display: flex;
  overflow: hidden;
  /*height: 100%;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 1.5em;
  text-align: center;
  color: white;
  position: relative;
  box-sizing: border-box;
  padding: 10px;*/
}
.slide_row {
  position: relative;
  width: 100%;
}
.slide_bg_row,
.slide_bg_inner {
  overflow: hidden;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
}
.slide_bg_row .slide_bg_overlay {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: ' ';
  z-index: 2;
  backface-visibility: hidden;
  background: rgba(43, 43, 43, 0.7);
  background: linear-gradient(0deg, rgba(43, 43, 43, 0.7) 0%, rgba(43, 43, 43, 0) 50%);
  opacity: 1;
}
.slide_bg_row .slide_bg {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  background-size: cover;
  width: 100%;
  height: 100%;
  background-color: var(--bricks-color-aomowe);
  background-position: center center;
  background-repeat: no-repeat;
}
.slide_content_row {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  justify-content: center;
}
.slide_content_row .slide_content {
  width: 85%;
}
.slide_row .slide_content {
  position: absolute;
  background: var(--bricks-color-iwfszf);
}
.slide_row .slide_content:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid var(--bricks-color-nwonvn);
  top: -0.5rem;
  left: -0.5rem;
}
.slide_row .slide_content > div:first-of-type {
  position: relative;
  z-index: 1;
}
.square_box {
  aspect-ratio: 1;
  width: 35px;
  background: var(--bricks-color-mdesud);
  position: absolute;
  left: 0px;
  top: -45px;
}
.slide_row:not(.template_copertina) .slide_content {
  max-height: 45vh;
  max-height: 45dvh;
}
.slide_content .webdoc_container {
  width: 100%;
}
.slide_content p {
  font-size: 16px;
}
.citazione {
  font-size: 16px;
  font-style: italic;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 10px;
}
.citazione .btn_icon {
  color: var(--bricks-color-prblie);
  margin-right: 10px;
}
.lazy-background {
  background-color: var(--bricks-color-prblie);
  /* Fallback nel caso in cui nessuna immagine sia caricata */
  transition: background-image 0.5s ease-out, filter 0.5s ease-out;
}
.lazy-background.is-loaded {
  filter: blur(0);
  /* Rimuove sfocatura quando l'immagine ad alta qualità è caricata */
}
@media (min-width: 1025px) {
  .slide_content .webdoc_container {
    width: 90%;
  }
}
@media (min-width: 1281px) {
  #scroll_line_container {
    display: inherit;
    position: fixed;
    top: 25%;
    right: 15px;
    width: 60px;
    /*background-color: #e5e5e5;*/
    z-index: 99;
  }
  #scroll_line_container ul {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-end;
    list-style: none;
    gap: 13px;
  }
  #scroll_line_container ul li {
    width: 25px;
    height: 2px;
    border-radius: 10px;
    cursor: pointer;
    background-color: var(--bricks-color-nwonvn);
    transition: all .3s ease;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.31), 2px 2px 2px rgba(0, 0, 0, 0.42);
  }
  #scroll_line_container .active {
    width: 45px;
    background-color: var(--bricks-color-jccvay);
  }
  .slide_content p {
    font-size: 1.5rem;
  }
  .slide_content {
    width: 100%;
  }
  .slide_content_row {
    justify-content: start;
  }
  .square_box {
    left: -55px;
    top: 0px;
  }
}
