@charset "UTF-8";
/**
 * Awesome Events - Calendar View Styles
 * Styles specific to the FullCalendar view
 */
/**
 * SCSS Variables
 * Only breakpoints are defined as SCSS variables
 * (CSS variables don't work in media queries)
 */
.awesome-events-calendar-wrapper.ae-with-categories {
  display: flex;
  gap: 20px;
}

.ae-with-categories .ae-calendar-main {
  flex: 1;
  min-width: 0;
}

.ae-categories-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #E8E4E3;
  border-radius: 8px;
  padding: 15px;
}

.ae-categories-sidebar h5 {
  margin: 0 0 15px 0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #666;
  letter-spacing: 0.5px;
}

.ae-categories-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ae-category-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.ae-category-item:hover {
  background: #f0f0f0;
}
.ae-category-item.ae-category-has-children {
  padding-left: 4px;
}

.ae-no-categories {
  color: #999;
  font-size: 14px;
  font-style: italic;
  margin: 0;
}

.ae-category-checkbox {
  position: relative;
  width: 18px;
  height: 18px;
}
.ae-category-checkbox input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  margin: 0;
}

.ae-checkbox-mark {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 2px solid var(--cat-color, #666);
  border-radius: 4px;
  transition: all 0.2s;
}
.ae-checkbox-mark::after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.ae-category-checkbox input:checked ~ .ae-checkbox-mark {
  background: var(--cat-color, #666);
}
.ae-category-checkbox input:checked ~ .ae-checkbox-mark::after {
  display: block;
}

.ae-category-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ae-category-color[style*="display: none"] {
  display: none !important;
}

.ae-category-icon {
  flex-shrink: 0;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
}

.ae-category-name {
  flex: 1;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ae-category-count {
  font-size: 12px;
  color: #999;
  background: #eee;
  padding: 2px 8px;
  border-radius: 10px;
}

.ae-category-wrapper,
.ae-category-children {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ae-category-children .ae-category-wrapper {
  margin-bottom: 0;
}

.ae-categories-list .ae-category-wrapper {
  margin-bottom: 0;
}

.ae-category-toggle {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  color: #666;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  transition: color 0.2s;
}
.ae-category-toggle::before {
  content: "▼";
}
.ae-category-toggle[data-toggle-expanded=false]::before {
  content: "▶";
}
.ae-category-toggle:hover {
  color: #333;
}

.awesome-events-calendar {
  min-height: 600px;
}

.sx-container {
  min-height: 600px;
  margin: 20px 0;
}

.awesome-events-calendar-wrapper .sx-container {
  margin: 0;
}

.awesome-events-calendar .lm-schedule-item::before,
.awesome-events-calendar .lm-schedule-item::after {
  display: none !important;
}

.ae-event-content {
  padding: 4px 6px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--lm-schedule-color, #fff);
  overflow: hidden;
  height: 100%;
}

.ae-event-time {
  font-size: 10px;
  opacity: 0.9;
  margin-bottom: 2px;
}

.ae-event-title-row {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.ae-event-icon {
  flex-shrink: 0;
}

.ae-event-title {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: wrap;
}

.awesome-events-calendar-wrapper .lm-schedule-item,
.awesome-events-calendar-wrapper .ae-event-content {
  cursor: pointer;
}

.awesome-events-calendar-wrapper.ae-readonly {
  /* Calendar is read-only, event clicks still work */
}

.fc .fc-col-header-cell-cushion {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  height: 44px;
  font-size: 18px;
  text-transform: uppercase;
}

.awesome-events-calendar-wrapper .fc-v-event {
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 2px solid;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.awesome-events-calendar-wrapper {
  /* hours */
}
.awesome-events-calendar-wrapper .fc-theme-standard td, .awesome-events-calendar-wrapper .fc-theme-standard th {
  border-color: var(--ae-border-color);
}
.awesome-events-calendar-wrapper .fc .fc-timegrid-slot-minor {
  border-top-color: #e7e6e5;
}
.awesome-events-calendar-wrapper .fc .fc-timegrid-slot {
  height: 32px;
}
.awesome-events-calendar-wrapper .fc-timegrid-slot .fc-timegrid-slot-label-cushion {
  min-width: 64px;
  text-align: center;
}
.awesome-events-calendar-wrapper .fc-timegrid-event .fc-event-main {
  padding: 0;
}
.awesome-events-calendar-wrapper .fc-direction-ltr .fc-timegrid-col-events {
  margin: 0;
}
.awesome-events-calendar-wrapper .fc-event-main-frame {
  gap: 4px;
  padding: 4px;
}
.awesome-events-calendar-wrapper .fc-event-main-frame .fc-event-title-container {
  order: 1;
  font-size: 14px;
  line-height: 16px;
  flex-grow: 0;
}
.awesome-events-calendar-wrapper .fc-event-main-frame .fc-event-time {
  order: 2;
  font-weight: bold;
  font-size: 12px;
  line-height: 16px;
}
.awesome-events-calendar-wrapper .fc-timegrid-event {
  margin-bottom: 0;
}
.awesome-events-calendar-wrapper .fc-timegrid-event, .awesome-events-calendar-wrapper .fc-timegrid-more-link {
  border-radius: 0;
}
.awesome-events-calendar-wrapper .fc-timegrid-event-harness-inset .fc-timegrid-event, .awesome-events-calendar-wrapper .fc-timegrid-event.fc-event-mirror, .awesome-events-calendar-wrapper .fc-timegrid-more-link {
  box-shadow: none;
}

.fc-header-toolbar .fc-button-primary {
  border-radius: 4px;
  border: 1px solid var(--ae-border-color, #D0CDCC);
  background: #FFF;
  color: var(--fc-event-text-color);
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  font-variant: all-small-caps;
  letter-spacing: 2%;
  padding-left: 20px;
  padding-right: 20px;
  height: 44px;
  outline: none;
  font-family: "Roboto";
}
.fc-header-toolbar .fc-button-primary:active:not(:disabled), .fc-header-toolbar .fc-button-primary:hover {
  background-color: var(--ae-accent-color);
  border-color: var(--ae-accent-color);
}
.fc-header-toolbar .fc-button-primary:focus {
  box-shadow: none !important;
}
.fc-header-toolbar .fc-button-primary.fc-prev-button, .fc-header-toolbar .fc-button-primary.fc-next-button {
  padding: 0;
  width: 44px;
  height: 44px;
}
.fc-header-toolbar .fc-button-primary.fc-today-button {
  background-color: #fff;
  color: var(--fc-event-text-color);
}
.fc-header-toolbar .fc-button-primary.fc-today-button:disabled {
  background-color: var(--ae-list-bg-color);
  border-color: var(--ae-border-color, #D0CDCC);
}
.fc-header-toolbar .fc-button-primary.fc-today-button:hover {
  background-color: var(--ae-accent-color);
  color: #fff;
}
.fc-header-toolbar .fc-button-primary.fc-button-active:not(:disabled) {
  background-color: var(--ae-accent-color);
  border-color: var(--ae-accent-color);
}
.fc-header-toolbar .fc-toolbar-title {
  color: var(--Color-Dark, #040A16);
  text-align: center;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

@media (max-width: 899px) {
  .awesome-events-calendar-wrapper {
    flex-direction: column;
  }
  .ae-categories-sidebar {
    width: 100%;
  }
  .ae-categories-sidebar .ae-categories-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .ae-calendar-main .fc-view-harness, .ae-with-categories .ae-calendar-main .fc-view-harness {
    max-width: 100%;
    overflow: auto;
  }
  .ae-calendar-main .fc-dayGridMonth-view, .ae-with-categories .ae-calendar-main .fc-dayGridMonth-view {
    min-width: 500px;
  }
  .ae-calendar-main .fc-timeGridWeek-view, .ae-with-categories .ae-calendar-main .fc-timeGridWeek-view {
    min-width: 600px;
  }
  .fc-timegrid-slot-label-cushion {
    min-width: 44px;
  }
  .awesome-events-calendar-wrapper .fc .fc-timegrid-slot {
    height: 20px;
  }
  .fc .fc-col-header-cell-cushion {
    font-size: 14px;
  }
  .fc-header-toolbar .fc-toolbar-title {
    font-size: 18px;
  }
  .fc .fc-toolbar {
    align-items: center;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    gap: 12px;
  }
  .fc-header-toolbar .fc-today-button {
    display: none;
  }
}
@media (max-width: 599px) {
  .fc .fc-timegrid-axis-frame {
    justify-content: center;
  }
  .fc table {
    font-size: 12px;
  }
  .fc-header-toolbar .fc-button-primary {
    padding-left: 12px;
    padding-right: 12px;
  }
  .ae-category-wrapper .ae-category-children,
  .ae-category-wrapper .ae-category-toggle {
    display: none;
  }
  .awesome-events-calendar-wrapper .fc-event-main-frame .fc-event-title-container,
  .awesome-events-calendar-wrapper .fc-event-main-frame .fc-event-time {
    font-size: 12px;
  }
  .fc-timegrid-slot-label-cushion {
    min-width: 72px;
    font-size: 12px;
  }
  .fc .fc-col-header-cell-cushion {
    height: 40px;
    font-size: 12px;
  }
  .fc-timeGridWeek-view {
    min-width: 600px !important;
  }
  .awesome-events-calendar-wrapper .fc-event-main-frame .fc-event-time {
    display: none;
  }
  .ae-categories-sidebar {
    order: 2;
  }
  .awesome-events-calendar-wrapper.ae-with-categories {
    gap: 6px;
  }
  .fc .fc-toolbar {
    margin-bottom: 0.75em;
  }
  .fc-header-toolbar .fc-toolbar-title {
    font-size: 15px;
  }
  .fc-h-event .fc-event-title {
    white-space: normal;
  }
  .fc-timeGridDay-view .fc-timegrid-col-events .fc-timegrid-event-harness + .fc-timegrid-event-harness-inset {
    inset-inline-start: 40px !important;
  }
  .fc-timeGridDay-view .fc-timegrid-col-events .fc-timegrid-event-harness + .fc-timegrid-event-harness-inset + .fc-timegrid-event-harness-inset {
    inset-inline-start: 80px !important;
  }
  .ae-categories-list .ae-category-item {
    padding: 4px 6px;
    gap: 6px;
  }
  .awesome-events-calendar-wrapper .fc-event-main-frame {
    padding: 2px;
  }
}