/* --- sticky --- */
body,
.widthContainer,
#content,
#content,
.newsContainer,
.newsRow,
.newsWrapper,
.news,
#mainImageContainer,
.imageCaption {
  overflow: visible !important;
}
#mainImageContainer {
  position: sticky !important;
  top: 5px;
  z-index: 1;
}

.activityContainer {
  display: flex;
  width: 90%;
  margin: auto;
  position: relative;
}
.activityImages {
  width: 20%;
  height: 20%;
  margin: 2%;
  cursor: pointer;
  transition: 0.3s;
}

#content .sectionTitle {
  font-size: 23px;
  margin-top: 40px;
  margin-bottom: 20px !important;
}
#authorsContainer {
  position: relative;
  width: 80%;
  height: auto;
  display: grid;
  grid-template-columns: 22% 22% 22% 22%;
  grid-column-gap: 4%;
  grid-row-gap: 20px;
  margin: 50px auto;
}
#authorsContainer .collaboratorContainer {
  width: 100%;
  margin: 0;
}
.workshopsContainer.item {
  position: relative;
  width: 90%;
  margin: auto;
  height: auto;
  overflow: hidden;
  display: grid;
  grid-gap: 0%;
  grid-template-columns: repeat(3, 1fr);
  margin: 50px auto;
  row-gap: 50px;
  column-gap: 3%;
}
.workshopWrapper {
  position: relative;
  width: 100%;
  height: auto;
}
.ticketEventContainer.workshop {
  position: relative;
  width: 100%;
  margin: auto;
  height: auto;
  overflow: hidden;
  font-size: 18px;
}
img.ticketEventImage.workshopImage {
  width: 100%;
  margin-bottom: 10px;
  aspect-ratio: 1/1;
}
.ticketEventTitle.workshopTitle {
  position: relative;
  width: 90%;
  height: auto;
  line-height: 24px;
  font-size: 22px;
  overflow: hidden;
  margin: auto;
  margin-left: 0;
  margin-bottom: 10px;
}
.sliderGroupContainer {
  width: 100%;
  margin: auto;
}
.productSlide {
  width: 100%;
}
.sliderTitleContainer {
  position: relative;
  width: 50%;
  height: auto;
  line-height: 50px;
  margin: 15px auto;
  font-size: 23px;
  text-align: center;
  text-transform: uppercase;
}
.ticketEventWho.workshopByUser {
  font-size: 16px;
  margin-bottom: 10px;
}
.ticketEventDate.workshopWhen {
  font-size: 18px;
  margin-bottom: 10px;
}
.ticketEventPlace {
  margin-bottom: 10px;
}
.ticketEventDat {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  margin: auto;
  line-height: 20px;
  font-size: 20px;
}
.collaboratorName {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: auto;
  line-height: 24px;
  font-size: 18px;
  margin: 7px auto;
}
#blogPostsContainer .blogPostRegular {
  margin: 0px;
  padding: 0px 20px;
}
.news.blogPostRegular:nth-child(3n-1) {
  border-left: 1px solid;
  border-right: 1px solid;
  border-color: rgb(205 205 205);
}

.collaboratorImage {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -webkit-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
}
.collaboratorImage:hover {
  transform: translateY(-20px);
}
.activitySummary.altColor {
  color: #801a2e;
}

.activitySubTitle {
  position: relative;
  font-size: 14px;
  text-align: center;
  font-family: var(--font-family-2) !important;
}

.activitySummary {
  position: relative;
  width: 100%;
  height: auto;
  line-height: 22px;
  font-size: 18px;
  margin-bottom: 30px;
}
.dataContainer {
  margin-top: 10px;
  line-height: 22px;
  font-size: 14px;
}
.activityViewMore {
  color: #801b2d;
}
h2.blogPostTitle.activityViewTitle {
  font-size: 20px;
  font-weight: 500;
  font-family: "Futura";
  margin-bottom: 10px;
}

h3.activityDate.blogPostDate {
  margin-bottom: 10px;
}
.activityTitle {
  position: relative;
  width: 90%;
  line-height: 50px;
  margin: 40px auto 10px;
  font-size: 40px;
  text-align: center;
  font-family: var(--font-family-2) !important;
}

.activityRow {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  display: grid;
  margin: 50px auto;
  grid-template-columns: repeat(4, 1fr);
}

.activityMainImage {
  position: relative;
  width: 100%;
  margin: auto;
  height: auto;
  overflow: hidden;
  font-size: 14px;
}

.item {
  position: relative;
  width: 45%;
  height: auto;
  align-items: start;
  justify-content: space-around;
  margin: 40px auto;
}

.activityColgado {
  position: relative;
  font-size: 14px;
  text-align: center;
  color: #801a2e;
  width: 90%;
  margin: auto;
  margin-top: 110px;
  font-family: var(--font-family-2) !important;
}

.activityContent .customButton {
  margin-left: 0;
}

.activityImage {
  position: relative;
  width: 100%;
  height: auto;
}

.activityGroupContainer .activitysContainer {
  margin: auto;
}
.articleColgado {
  position: relative;
  font-size: 14px;
  text-align: center;
  color: #801a2e;
  width: 90%;
  margin: auto;
  margin-top: 70px;
  font-family: var(--font-family-2) !important;
}
.postItemIntervalo {
  width: 90%;
  margin: auto;
}
.postItemIntervalo #blogPostsContainer {
  width: 75%;
  gap: 0;
  row-gap: 30px;
  margin: auto;
  grid-template-columns: repeat(auto-fill, 30%);
  justify-content: center;
}
.postItemIntervalo .blogSliderWrapper {
  width: 100%;
  margin: auto;
}
.postItemIntervalo .activityWrapper.blogPostRegular:nth-child(3n-1) {
  border-left: 1px solid;
  border-right: 1px solid;
  border-color: rgb(205 205 205);
}

.postItemIntervalo .sliderContainer.blogSlider {
  width: 100%;
}
.articleTitle {
  position: relative;
  width: 90%;
  line-height: 50px;
  margin: 10px auto;
  font-size: 40px;
  text-align: center;
  text-transform: uppercase;
  font-family: var(--font-family-2) !important;
}
.articleSubTitle {
  position: relative;
  font-size: 14px;
  text-align: center;
  font-family: var(--font-family-2) !important;
}
#content .newsContainer {
  position: relative;
  width: 85%;
  margin: auto;
  height: auto;
  overflow: hidden;
  display: block;
  grid-template-columns: unset;
  margin: 50px auto;
}

#content .newsRow:nth-child(odd) {
  grid-auto-columns: 50% 50%;
}
#content .newsContainer.intervaloNews {
  width: 90%;
}

.newsContainer.intervaloNews {
}

.intervaloNews .newsWrapper {
  width: 100%;
}

.intervaloNews .news {
  padding: 0;
}

.intervaloNews .newsWrapper:not(.noBorder):nth-child(2n) {
  border-right: none;
}

.intervaloNews .newsRow {
  margin-top: 0;
}

/*---- abro estilos de galería --------*/

#popupGalleryPosts {
  position: fixed;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100vh;
  background: #000;
}
#popupGalleryPostsClose {
  position: absolute;
  top: 15px;
  right: 35px;
  color: rgb(241, 241, 241);
  font-size: 40px;
  font-weight: 600;
  z-index: 1;
}
#popupGalleryPostsClose:hover,
#popupGalleryPostsClose:focus {
  color: var(--second);
  cursor: pointer;
}
.gallerySliderContainer {
  width: 50%;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  height: auto;
  position: relative;
}

.galleryImage {
  width: auto;
  height: auto;
  max-height: 90vh;
  max-width: 100%;
}
.gallerySliderContainer .slick-dots {
  width: 100%;
  right: 0;
  bottom: -35px;
  top: unset;
  height: 16px;
}

.gallerySliderContainer .slick-dots li button:before {
  opacity: 0.5;
  background: white;
  color: white;
}

.gallerySliderContainer .slick-dots li.slick-active button:before {
  opacity: 1;
  background: white;
  color: white;
}
/*---- abro estilos de galería --------*/
@media screen and (max-width: 768px) {
  #authorsContainer {
    grid-template-columns: 1fr;
    width: 85%;
  }
  .workshopsContainer.item {
    grid-template-columns: 1fr;
  }
  .sliderTitleContainer {
    width: 100%;
    line-height: 28px;
    margin-bottom: 2rem;
  }
  .dataContainer {
    margin-top: 10px;
  }
  .activityContainer {
    flex-direction: column;
    width: 85%;
  }
  .activityTitle {
    margin-top: 3rem;
    font-size: 28px;
    line-height: 36px;
  }

  .item {
    width: 100%;
  }

  #blogPostsContainer .blogPostRegular {
    margin: 0;
    margin-bottom: 2rem;
    padding: 0;
  }
  .postItemIntervalo .activityWrapper.blogPostRegular:nth-child(3n-1) {
    border-left: 0;
    border-right: 0;
  }
  .articleColgado {
    margin-top: 35px;
  }
  .articleTitle {
    font-size: 35px;
  }
  #content .newsContainer.intervaloNews {
    width: 85%;
  }
  .postItemIntervalo {
    width: 85%;
    margin: auto;
  }
  .postItemIntervalo #blogPostsContainer {
    grid-template-columns: 1fr;
    width: 100%;
    row-gap: 20px;
  }
  .gallerySliderContainer {
    width: 80%;
  }
  #popupGalleryPostsClose {
    font-size: 25px;
    right: 25px;
  }
}
