.eventElement {
  width: 100%;
  background-color: #4FA3B6;
  border-radius: 30px;
  display: flex;
  align-items: center;
}

.eventDate {
  padding: 25px;
  white-space: nowrap;
  text-align: center;
  color: #fff;
}

.eventDate div:first-child {
  font-size: 40px;
  font-weight: bold;
  color: #fff;
}

.eventDate div:nth-child(2) {
  font-size: 20px;
  color: #fff;
}


.eventInner {
  background-color: #f6f6f6;
  width: 100%;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
}

.eventTitle {
  color: #222;
  font-size: 30px;
}

.descriptionEvent {
  color: #555;
  font-size: 17px;
  padding-top: 5px;
}

.containerImgEvent {
  height: 250px;
  width: 250px;
  background-color: #222;
  border-radius: 30px;
}

select {
  padding: 10px 20px;
  border: 1px solid #d1d1d1;
  border-radius: 100px;
}

.filterContainer {
  margin-top: 5vh;
  display: flex;
  align-items: center;
  gap: 20px;
}

.containerCheckboxFilter {
  display: flex;
  align-items: center;
  gap: 30px;
}


/* check personalizzata */

.custom-checkbox input[type="checkbox"] {
  display: none;
}

/* Contenitore */
.custom-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #333;
}

/* Cerchio base */
.custom-checkbox .checkmark {
  width: 28px;
  height: 28px;
  border: 2px solid #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  transition: all 0.2s ease;
}

/* Spunta nascosta */
.custom-checkbox .checkmark svg {
  width: 16px;
  height: 16px;
  stroke: #2ea4a4;
  /* colore azzurro */
  stroke-width: 3;
  fill: none;
  display: none;
}

/* Stato checked */
.custom-checkbox input[type="checkbox"]:checked+.checkmark {
  border-color: #2ea4a4;
}

.custom-checkbox input[type="checkbox"]:checked+.checkmark svg {
  display: block;
}

@media screen and (max-width:1280px) {
  .eventDate div:first-child {
    font-size: 30px;
  }

  .eventDate div:nth-child(2) {
    font-size: 13px;
    color: #fff;
  }

  .eventTitle {
    color: #222;
    font-size: 17px;
    font-weight: 600;
  }

  .descriptionEvent {
    color: #555;
    font-size: 13px;
    padding-top: 5px;
  }


  .openModalResult{
    padding-top: 16px;
    font-size:14px;
  }
}

@media screen and (max-width:1024px) {
  .overlayModal>div:first-child {
    width: 60vw !important;
    padding: 15px !important;
  }

  .overlayModal>div:first-child div:nth-child(2) {
    flex-direction: column !important;
  }

  .overlayModal>div:first-child div:nth-child(2)>div>img {
    width: 100% !important;
  }

  .overlayModal>div:first-child div:nth-child(2) {
    padding-left: 0 !important;
  }

  .overlayModal>div:first-child div:nth-child(2)>div:first-child {
    padding-right: 0 !important;
  }

  .eventElement,
  .eventInner {
    flex-direction: column;
  }

  .eventInner>div:first-child {
    width: 100% !important;
  }

  .containerImgEvent {
    width: 100% !important;
  }

  .openModalResult {
    text-align: center !important;
  }
}

@media screen and (max-width: 600px) {

  .eventElement,
  .eventInner {
    flex-direction: column;
  }

  .eventInner>div:first-child {
    width: 100% !important;
  }

  .eventTitle {
    color: #222;
    font-size: 18px;
    font-weight: 600;
    text-align: center !important;
  }

  .descriptionEvent {
    color: #555;
    font-size: 12px;
    padding-top: 5px;
    text-align: center !important;

  }

  .openModalResult {
    font-size: 13px !important;
    text-align: center !important;
  }

  .containerImgEvent {
    width: 100% !important;
  }

  .eventDate {
    padding: 10px;
    white-space: nowrap;
    text-align: center;
    color: #fff;
  }

  .eventDate div:first-child {
    font-size: 30px;
    font-weight: bold;
    color: #fff;
  }

  .eventDate div:nth-child(2) {
    font-size: 15px;
    color: #fff;
  }

  .overlayModal>div:first-child {
    width: 95vw !important;
    padding: 15px !important;
  }

  .overlayModal>div:first-child div:nth-child(2) {
    flex-direction: column !important;

  }

  .overlayModal>div:first-child div:nth-child(2)>div>img {
    width: 100% !important;
  }

  .overlayModal>div:first-child div:nth-child(2)>div>div:nth-child(3) {
    margin-top: 30px !important;
    text-align: center;
  }

  .overlayModal>div:first-child div:nth-child(2)>div {
    padding: 0 !important;
    text-align: center;
  }

  .overlayModal>div:first-child div:nth-child(2)>div>div:first-child {
    font-size: 22px !important;
    text-align: center;
    margin-top: 30px !important;
  }

  .overlayModal>div:first-child div:nth-child(2)>div>div:nth-child(2) {
    color: #838383;
    font-size: 13px;
    text-align: center;
  }

  .galleryCalendar>div {
    width: 300px !important;
  }

  .galleryCalendar {
    align-items: center;
    justify-content: center;
  }

}