.slide input {
  display: none;
}
/* .slide {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  overflow: hidden;
} */
.slideFoto2 {
  width: 100%;
  height: 100dvh;
  padding: 10px;
  position: fixed;
  top: 0;
  left: 0;
  background: #000000db;
  z-index: 99;
  overflow: auto;
  transition: .5s;
  transform: scale(0.3);
  opacity: 0;
  z-index: -2;
}

.slideFoto2 i {
  position: absolute;
  top: 30px;
  right: 30px;
  cursor: pointer;
  transition: 0.5s;
  background: white;
  padding: 2px 10px;
  border-radius: 50%;
  opacity: 0.7;
}
.slideFoto2 i:hover {
  opacity: 1;
  transform: scale(1.2) rotate(180deg);
  color: #f15454;
}
.slideFoto2_box {
    display: flex;
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
    /* border: 3px solid red; */
}
.slideFoto2_compari {
  z-index: 1;
  transform: scale(1);
  opacity: 1;
}

.foto {height: 100dvh;padding: 15px;display: flex;align-items: center;justify-content: center;}
.foto img {max-height: 100%;max-width: 100%;border-radius: 20px;border: 10px solid white;}
.descrizione {
    display: flex;
    align-items: center;
    justify-content: center;
}

.descrizione p {
    max-width: 600px;
    background: white;
    padding: 40px 35px;
    border-radius: 10px;
    text-align: center;
}
.controls {
    position: absolute;
    width: 100%;
    height: 30px;
    display: flex;
    z-index: 4;
    top: 50%;
    transform: translateY(-50%);
    align-items: center;
}
.controlsItem {
    width: 25px;
    height: 30px;
    position: absolute;
    z-index: 4;
    top: 0;
    right: 0;
    display: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.fa-arrow-alt-circle-right {
    font-size: 30px;
    color: #ffffff80;
    transition: .5s;
    margin-right: 13px;
}
.fa-arrow-alt-circle-right:hover {
  color: #0f5768;
  transform: scale(1.2);
}
.dots {
    position: absolute;
    bottom: 3%;
    width: 100%;
    height: 30px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dotsItem {
    width: 15px;
    height: 15px;
    background: #ffffff80;
    justify-content: center;
    z-index: 2;
    bottom: 0px;
    left: 0;
    position: relative;
    margin: 0 10px;
    border-radius: 50%;
    cursor: pointer;
}
/* #chk7:checked ~ .slideFoto {
  left: -0%;
}
#chk8:checked ~ .slideFoto {
  left: -100%;
}
#chk9:checked ~ .slideFoto {
  left: -200%;
}
#chk10:checked ~ .slideFoto {
  left: -300%;
}
#chk7:checked ~ .dots .dotsItem:nth-child(1),
#chk8:checked ~ .dots .dotsItem:nth-child(2),
#chk9:checked ~ .dots .dotsItem:nth-child(3),
#chk10:checked ~ .dots .dotsItem:nth-child(4) {
  background: #0f5768 !important;
}
#chk7:checked ~ .controls .controlsItem:nth-child(2),
#chk8:checked ~ .controls .controlsItem:nth-child(3),
#chk9:checked ~ .controls .controlsItem:nth-child(1),
#chk10:checked ~ .controls .controlsItem:nth-child(4) {
  display: flex !important;
}
#chk7:checked ~ .controls .controlsItem:nth-child(3),
#chk8:checked ~ .controls .controlsItem:nth-child(1),
#chk9:checked ~ .controls .controlsItem:nth-child(2),
#chk10:checked ~ .controls .controlsItem:nth-child(3) {
  display: flex !important;
  left: 0 !important;
  transform: rotate(180deg);
}

#grid2_1:checked ~ .slideFoto {
  left: -0%;
}
#grid2_2:checked ~ .slideFoto {
  left: -100%;
}
#grid2_3:checked ~ .slideFoto {
  left: -200%;
}
#grid2_1:checked ~ .dots .dotsItem:nth-child(1),
#grid2_2:checked ~ .dots .dotsItem:nth-child(2),
#grid2_3:checked ~ .dots .dotsItem:nth-child(3) {
  background: #0f5768 !important;
}
#grid2_1:checked ~ .controls .controlsItem:nth-child(2),
#grid2_2:checked ~ .controls .controlsItem:nth-child(3),
#grid2_3:checked ~ .controls .controlsItem:nth-child(1) {
  display: flex !important;
}
#grid2_1:checked ~ .controls .controlsItem:nth-child(3),
#grid2_2:checked ~ .controls .controlsItem:nth-child(1),
#grid2_3:checked ~ .controls .controlsItem:nth-child(2) {
  display: flex !important;
  left: 0 !important;
  transform: rotate(180deg);
} */
