/*  These are in index.html
    Headers for each event type */

.events-section {
  padding: 2rem 0 5rem;
}

.events-section h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-shadow: 2px 2px 2px black;
  text-transform: uppercase;
  padding: 2rem 1rem;
}

/* h2.recurring-event-name {
      padding: 0.5rem;
      border: none;
    }
    .view-events-btn-container a,
    .single-recurring-event .recurring-btn,
    .recurring-btn {
      background: var(--primary);
      color: var(--light);
      font-weight: 600;
      border-radius: 5px;
      border: none;
    }
    
    .recurring-days-title {
      color: var(--light);
      font-weight: 600;
    }
    
    .recurring-event-description {
      color: var(--light);
      font-weight: 500;
    }
    
    .recurring-event-time {
      font-weight: 900;
      color: var(--light);
    }
    
    .no-event-post-text {
      text-align: center;
    
      width: 100%;
    }
    .single-recurring-event .recurring-event-name,
    .event-info h3.event-card-title {
      text-align: center;
      font-size: 2rem;
      font-weight: 700;
      color: var(--primary);
      text-shadow: 2px 2px 2px black;
      text-transform: uppercase;
      padding: 0.5rem;
    }
    
    .slick-initialized .single-recurring-event {
      max-width: unset;
      width: 100%;
      height: 100%;
    }
    
    .slick-initialized .recurring-event {
      background: none;
    }
    
    .slick-initialized .recurring-event,
    .recurring-event-name {
      border: 1px solid white;
    }
    
    .recurring-img-container {
      margin: 10px auto;
    }
    
    .slick-initialized .recurring-event {
      max-height: none;
    }
    
    .slick-dots {
      bottom: unset;
    }
    
    .event-info .date,
    .event-info p {
      color: var(--light);
    }
    
    @media (min-width: 768px) {
      .recurring-img-container {
        width: 30%;
        margin: 1rem auto;
      }
    } */

.new-events-gn-title,
.new-events-recurring-title {
  font-size: 3rem;
  padding: 1rem;
  text-align: center;
  color: var(--primary-color);
}

.event-gn-content {
  display: flex;
  flex-direction: column;
  color: white;
  background-color: black;
}

.event-gn-name {
  font-size: 2.5rem;
  margin: 0.5rem 0rem;
}

.event-gn-date {
  font-size: 1rem;
  text-transform: capitalize;
  font-weight: bold;
}
.event-gn-description i,
.event-gn-date i {
  margin-right: 0.5rem;
}

.event-gn-description {
  order: 3;
}

.event-gn-btn {
  order: 4;
  background: var(--primary);
  width: 50%;
  text-align: center;
  padding: 0.5rem 1rem;
  color: white;
  margin: 1rem 0 0;
}

.event-gn-images .event-gn-logo {
  display: none;
}

@media (min-width: 767px) {
  .new-events-gn-container {
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
  }
  .event-gn {
    display: flex;
    align-items: center;
  }
  .event-gn .event-gn-images {
    width: 50%;
    display: flex;
    position: relative;
    height: 100%;
  }

  .event-gn-image {
    height: 100%;
    object-fit: cover;
  }

  .event-gn-logo {
    position: absolute;
    bottom: 0;
  }
  .event-gn .event-gn-content {
    padding: 1rem;
    height: 100%;
    width: 50%;
    display: flex;
    justify-content: center;
  }
}

.new-events-gn-title {
}

.new-events-recurring-title {
}

/*  These are in index.html
    These are the containers that hold each event container */
.new-events-gn-container {
  width: 100%;
}

.new-events-recurring-gn-container {
  width: 100%;
}

/*  All below are formating for HTML appends from events.js */
.event-gn-container {
  padding: 10px;
}

.event-gn {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
}

/*  Container for images */
.event-gn-images {
  width: 100%;
  display: flex;
}

.event-gn-image {
  width: 100%;
  max-height: 400px;
}

/*  Container for GN logo */
.event-gn-logo {
  display: flex;
  justify-content: flex-end;
  margin-top: -20px;
  padding: 0 40px 0 0;
}

.event-gn-logo-inner {
  width: 30px;
  height: 30px;
  border-radius: 100%;
}

/*  Container for date, name, and description */
.event-gn-content {
  padding: 16px;
}

.event-gn-date {
  margin: 0rem;
}

.event-gn-name {
}

.event-gn-description {
}

/*  Formatting for Screens larger than 768px's */
@media (min-width: 768px) {
  .new-events-gn-container {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
  }

  .new-events-recurring-gn-container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
  }

  .event-gn-container {
    padding: 10px;
    width: 50%;
  }

  .event-gn:hover {
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
  }

  .event-gn {
    transition: all 0.3s;
    cursor: pointer;
    height: 100%;
  }

  .event-gn-logo {
    padding: 0 15px 0 0;
  }
}

/*  Formatting for screens larger than 900px's */
@media (min-width: 767px) {
  .event-gn-container {
    width: 100%;
  }
}

.new-events-gn-container {
  display: flex;
  justify-content: center;
  color: white;
}

.event-gn-btn {
}

.event-gn-btn {
  display: flex;
  width: 100%;
  justify-content: center;
  margin: 5px;
  margin: 0rem;
  padding: 0rem;
}

.event-gn-btn a {
  width: 100%;
  display: flex;
  color: white;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 10px;
  padding: 10px;
  position: relative;
  overflow: hidden;
  transition: all ease-in-out 0.5s;
  border: solid 2px white;
  z-index: 1;
}

.event-gn-btn a::before {
  background: rgba(0, 0, 0, 0.75);
  content: '';
  position: absolute;
  left: 0;
  width: 50%;
  height: 100%;
  top: 0;
  bottom: 0;
  z-index: -1;
  border-radius: 10px 0px 0px 10px;
  transition: all ease-in-out 0.5s;
}

.event-gn-btn a::after {
  background: rgba(237, 28, 35, 0.75);
  content: '';
  position: absolute;
  right: 0;
  width: 50%;
  height: 100%;
  top: 0;
  bottom: 0;
  z-index: -1;
  border-radius: 0px 10px 10px 0px;
  transition: all ease-in-out 0.5s;
}

.event-gn-btn a:hover::before {
  width: 500px;
  border-radius: 10px;
}
.event-gn-btn a:hover::after {
  width: 0px;
}
