/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
#y360-calendar div.icon {
  display: inline-block;
  line-height: 1;
}

#y360-calendar div.icon svg {
  width: 1em;
  height: 1em;
  vertical-align: middle;
  display: inline-block;
  transform: translateY(-1px);
}

#y360-calendar div.icon svg path {
  fill: currentColor;
}
#y360-calendar tr.class-row.canceled td {
  text-decoration: line-through;
}

#y360-calendar {
  max-width: 1600px;
  padding: 2rem;
  color: #212529;
  line-height: 1.4;
  font-size: 16px;
  border-radius: 8px;
  background: white;
  text-align: left;
}

#y360-calendar .main-row {
  display: flex;
}

#y360-calendar .main-row .filter-side {
  width: 25%;
  padding-right: 32px;
}

#y360-calendar .main-row .calendar-side {
  width: 75%;
}

#y360-calendar .filter-item {
  display: flex;
  align-items: flex-start;
  line-height: 20px;
  font-size: 16px;
  margin-top: 0.5rem;
  cursor: pointer;
}

#y360-calendar .filter-item label {
  line-height: 1.4;
  font-size: 16px;
  margin: 0;
  padding: 0;
  transform: translateY(-2px);
  padding-left: 8px;
}

#y360-calendar .schedules-header,
#y360-calendar .filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

#y360-calendar .schedules-header-left {
  display: flex;
  align-items: center;
}

#y360-calendar .filters-header {
  color: var(--y360-color);
  font-size: 24px;
}

#y360-calendar .filter-header {
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
  font-size: 20px;
}

#y360-calendar .filter-options .filter-item input {
  background: none;
  box-shadow: none;
  height: unset;
  padding: 0;
  border: none;
}

#y360-calendar .filters > div:first-child {
  margin-bottom: 24px;
}

#y360-calendar .filters-header .filter-reset {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  font-size: 16px;
}

#y360-calendar .schedules-header .arrow-navigation {
  display: flex;
  align-items: center;
  min-width: 280px;
  justify-content: space-between;
}

#y360-calendar .schedules-header .arrow-navigation .prev-day,
#y360-calendar .schedules-header .arrow-navigation .next-day {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  border: 1px solid var(--y360-color);
  color: var(--y360-color);
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  padding: 0;
  line-height: 0;
  cursor: pointer;
}

#y360-calendar .schedules-header .arrow-navigation .prev-day.disabled,
#y360-calendar .schedules-header .arrow-navigation .next-day.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#y360-calendar .schedules-header .arrow-navigation .current-day {
  margin: 0 20px;
  font-size: 24px;
  color: var(--y360-color);
}

#y360-calendar .filters .filter-header .icon {
  display: none;
}

#y360-calendar .schedule-header,
#y360-calendar .class-row {
  display: flex;
  padding: 8px 16px;
  align-items: center;
}

#y360-calendar .schedule-header > div,
#y360-calendar .class-row > div {
  flex-grow: 1;
  flex-basis: 0;
}

#y360-calendar .pdf-btn,
#y360-calendar .view-today {
  background: var(--y360-color);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

#y360-calendar .view-today {
  margin-left: 1rem;
}

#y360-calendar .schedule-location a,
#y360-calendar .schedule-class a {
  color: var(--y360-color) !important;
}

@media (max-width: 992px) {
  #y360-calendar {
    transform: none;
  }

  #y360-calendar .main-row {
    flex-direction: column;
  }

  #y360-calendar .main-row .filter-side {
    margin-bottom: 24px;
    padding-right: 0;
  }

  #y360-calendar .main-row .filter-side,
  #y360-calendar .main-row .calendar-side {
    width: 100%;
  }

  #y360-calendar .filters .filter-header {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.05);
    padding: 8px 16px;
    border-radius: 8px;
    border-bottom: none;
  }

  #y360-calendar .filter-options {
    padding: 0 16px;
    height: auto;
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.2s ease-in-out, padding 0.2s ease-in-out;
  }

  #y360-calendar .filter-header.open + .filter-options {
    max-height: 1000px;
    padding-top: 8px;
  }

  #y360-calendar .filters .filter-header .icon {
    display: block;
    transition: transform 0.2s ease-in-out;
    transform: rotate(90deg);
  }

  #y360-calendar .filters .filter-header.open .icon {
    transform: rotate(-90deg);
  }

  #y360-calendar .filter-header {
    margin-bottom: 0;
  }

  #y360-calendar .filters > div:first-child {
    margin-bottom: 16px;
  }

  #y360-calendar .schedules-header .arrow-navigation {
    width: 100%;
  }
}

@media (max-width: 768px) {
  #y360-calendar .schedules-header {
    flex-direction: column;
    align-items: center;
  }

  #y360-calendar .schedules-header .arrow-navigation {
    min-width: unset;
  }

  #y360-calendar .schedules-header-left {
    display: flex;
    flex-direction: column;
  }

  #y360-calendar .schedules-header-left .view-today {
    margin: 12px 0;
  }

  #y360-calendar .schedules-header .btn {
    margin: 0;
  }
  #y360-calendar .class-row > div {
    padding: 0 5px;
  }
}

@media (max-width: 480px) {
  #y360-calendar .schedules-header-left {
    width: 100%;
  }
  #y360-calendar .schedule-header,
  #y360-calendar .class-row {
    padding: 8px;
  }
}
