
/* Override default container padding. */
.page-template-template-schedule .main-content__content {
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 992px) {
  .page-title--schedule {
    position: sticky;
    top: 0;
  }
}

/* Filter & Dates */

.schedule__header {
  position: sticky;
  top: 0;
  background-color: white;
  border-bottom: 1px solid #787778;
}

.schedule__header__inner {
  display: flex;
  position: relative;
  padding: 0 25px;
}

@media (min-width: 780px) {
  .schedule__header__inner {
    padding: 0 45px;
  }
}

@media (min-width: 992px) {
  .schedule__header {
    top: 81px; /* Must be equal to height of .page-title--schedule */
  }

  .schedule__header__inner {
    display: block;
    padding: 0;
  }
}


/* Filters */

.schedule__filters {
  display: flex;
  width: 100%;
}

.dropdown-filter {
  position: relative;
  float: right;
  border-left: 1px solid #EAEAEA;
  padding: 5px 30px;
  cursor: pointer;
}

.dropdown-filter:first-child {
  border-left: none;
}

.dropdown-filter__trigger .caret {
  margin-left: 8px;
  color: #D56223;
}

.dropdown-filter__label {
  font-weight: normal;
  font-family: 'Kreon', serif;
  font-size: 17px;
}

.dropdown-filter__dropdown {
  display: none;
  position: absolute;
  top: 37px;
  right: -10px;
  width: 160px;
  padding: 15px 20px;
  background-color: white;
  box-shadow: #333 0px 0px 13px -7px;
  border-top: 1px solid #D56223;
}

.dropdown-filter.dropdown-open .dropdown-filter__dropdown {
  display: block;
}

@media (min-width: 992px) {
  .schedule__filters {
    position: absolute;
    top: -60px;
    right: 50px;
    z-index: 5;
    width: auto;
    border-left: none;
  }

  .dropdown-filter__label {
    color: white;
  }

  .dropdown-filter__dropdown {
    top: 50px;
    right: -40px;
  }
}

/* Date links filter
 * Only visible on mobile.
 * Not really a filter either but it looks like one.
 */

.schedule__filters .date-filter {
  padding-left: 0;
}

.date-filter__dropdown {
  right: auto;
  left: -15px;
  width: 170px;
}

.date-filter__date {
  display: block;
  margin-bottom: 5px;
  font-weight: normal;
  font-family: 'Kreon', serif;
  font-size: 17px;
  cursor: pointer;
  color: #3C3B3C;
}

.date-filter__date:last-child {
  margin-bottom: 0;
}

.date-filter__date:hover,
.date-filter__date:active,
.date-filter__date.active,
.date-filter__date:focus {
  color: #D56223;
}

@media (min-width: 780px) {
  .date-filter__dropdown {
    left: -25px;
  }
}

@media (min-width: 992px) {
  .schedule__filters .date-filter {
    display: none;
  }
}

/**
 * Event type filter
 */

.schedule__filters .event-type-filter {
  padding-right: 0;
  margin-left: auto;
}

.event-type-filter__label {
  text-transform: uppercase;
}

.event-type-filter__dropdown {
  right: -20px;
}

.event-type-filter__input-group {
  margin-bottom: 2px;
}

input[type="checkbox"].event-type-filter__checkbox {
  margin-top: 0;
  margin-right: 8px;
  vertical-align: middle;
  cursor: pointer;
}

.event-type-filter__checkbox-label {
  display: inline-block;
  margin: 0;
  vertical-align: middle;
  font-weight: normal;
  font-family: 'Kreon', serif;
  font-size: 17px;
  cursor: pointer;
}

@media (min-width: 780px) {
  .schedule__filters .event-type-filter {
    padding-left: 60px;
  }

  .event-type-filter__dropdown {
    right: -25px;
  }
}

@media (min-width: 992px) {
  .schedule__filters .event-type-filter {
    padding-bottom: 0;
    border-left: none;
  }

  .event-type-filter__dropdown {
    top: 55px;
    right: -45px;
  }
}


/* Date links */

.schedule__dates {
  display: none;
  justify-content: flex-start;
}

.dates__date {
  display: inline-block;
  width: 25%;
  padding: 5px 20px;
  font-weight: normal;
  font-family: 'Kreon', serif;
  font-size: 17px;
  border-left: 1px solid #EAEAEA;
  cursor: pointer;
  color: #3C3B3C;
}

.dates__date:first-child {
  padding-left: 0;
  border-left: none;
}

.dates__date.active {
  color: #CE4C00;
}

@media (min-width: 992px) {
  .schedule__dates {
    display: flex;
    justify-content: space-around;
    width: 100%;
  }
}

/* Schedule content */

.schedule__content {
  min-height: 350px;
}

.schedule-date-anchor {
  /* Add spacing to top of anchor/jump links
  to account for sticky header. */
  display: block;
  padding-top: 115px;
  margin-top: -115px;
}

.schedule-content__day {
  padding: 0;
  border-bottom: 1px solid #787778;
}

.schedule-content__day:last-child {
  border-bottom: none;
}

.day__date-venue {
  padding: 20px 0;
  background-color: #FBFBFB;
}

.date-venue__inner {
  padding: 5px 0 5px 35px;
  border-left: 5px solid #F1D298;
}

.date-venue__date {
  margin-bottom: 5px;
}

.date-venue__date h2 {
  margin-top: 0;
  margin-bottom: 0;
  text-transform: none;
}

.date-venue__venue {
  font-family: 'Kreon', serif;
}

.date-venue__venue .venue__link {
  font-family: 'Kreon', serif;
  font-weight: 300;
}

.day__events {
  padding: 0 40px;
}

.schedule__content .event {
  padding: 20px 0;
  border-bottom: 1px solid #EAEAEA;
}

.schedule__content .event:last-child {
  border-bottom: none;
}

.event__time {
  margin-bottom: 15px;
  font-size: 15px;
}

.event__image {
  margin-bottom: 15px;
}

.event__title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 18px;
}

.event__title.title-display--light {
  font-family: 'Open Sans', sans-serif;
  font-weight: 100;
}

.event__title.title-display--none {
  display: none;
}

.event__content {
  font-size: 15px;
}

.event__content p {
  margin: 15px 0;
  font-size: 15px;
}

.event__content > p:first-child {
  margin-top: 0;
}

.event__content > p:last-child {
  margin-bottom: 0;
}

.event__content .collapseomatic {
  font-size: 17px;
}

.event__content .collapseomatic_content p:first-child {
  margin-top: 0;
}

@media (min-width: 780px) {
  .date-venue__inner {
    padding-left: 55px;
  }

  .day__events {
    padding: 0 60px;
  }

  .event__description {
    padding-left: 20px;
  }
}

@media (min-width: 992px) {

  .day__date-venue {
    padding: 0;
    background-color: white;
  }

  .date-venue__inner {
    padding-left: 25px;
  }

  .schedule-content__day {
    display: flex;
    /*padding: 45px 0 25px 0;*/
  }

  .day__date-venue {
    width: 25%;
    padding: 45px 0;
    background-color: #FBFBFB;
  }

  .day__events {
    display: flex;
    flex-wrap: wrap;
    width: 75%;
    padding: 0 20px 0 0;
  }

  .schedule__content .event {
    display: flex;
    flex: 0 0 100%;
    width: 100%;
    padding: 0;
  }

  .schedule__content .event:first-child .event__time {
    padding-top: 55px;
  }

  .schedule__content .event:first-child .event__description {
    padding-top: 50px;
  }

  .event__time {
    width: 34.5%;
    padding: 20px;
    margin-bottom: 0;
    background-color: #FBFBFB;
  }

  .event__description {
    width: 65.5%;
    padding: 15px 0 15px 20px;
  }
}
