html .fullCalendar {
  font-family: 'Euclid Cirular B', Sans-serif;
}
html .fullCalendar td.fc-day {
  border: none !important;
  background-color: transparent !important;
}
html .fullCalendar td.fc-day > div {
  min-height: auto !important;
}

html .fullCalendar .fc-grid .fc-other-month .fc-day-number {
  display: none;
}
html .mec-box-calendar.mec-calendar dl dt,
html .mec-box-calendar.mec-calendar dl dt:hover,
html .mec-calendar.mec-event-calendar-classic .mec-selected-day,
html .mec-calendar.mec-event-calendar-classic .mec-selected-day:hover {
  color: lightgray;
  -webkit-text-stroke-width: 0px !important;
}
html .rhcalendar.not-widget .fullCalendar .fc-view-month.fc-grid .fc-day-number {
  /*   -webkit-text-stroke-width: 0px !important; */
  /*   -webkit-text-stroke-color: black; */
  color: lightgray;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
}

html .rhcalendar.not-widget .fullCalendar .fc-view-month.fc-grid .has-event .fc-day-number {
  color: #000;
}

.mec-calendar .mec-has-event-a:hover {
  color: #bc85d7 !important;
  /*   -webkit-text-stroke-color: #9900CC; */
}

html .fullCalendar .fc-grid .fc-event-container,
html .fullCalendar .fc-day div.fc-day-content {
  display: none;
}

html .fullCalendar tr:has(.fc-day:not(.fc-other-month)) {
  border-top: 2px solid #000;
}

html .fullCalendar .fc-border-separate .fc-day-header {
  border: 0;
  padding-block: 10px;
  border-top: 2px solid #000;
}
html .fullCalendar table.fc-border-separate {
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

html .mec-event-calendar-classic .mec-calendar-side .mec-calendar-table {
  min-height: unset !important;
}

.mec-calendar-events-sec {
  display: none !important;
}

.elementor-location-popup .mec-calendar-events-sec {
  display: block !important;
}

#fullpage-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.modal-content {
  background: #fcf0f4;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  height: 100%;
}

#close-modal {
  cursor: pointer;
  font-size: 24px;
  display: block;
}

#fullpage-modal {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--e-global-color-2ff2be9);
  justify-content: center;
  align-items: center;
}

#fullpage-modal .modal-content {
  padding: 50px 20px;
  border-radius: 0;
  overflow: auto;
}

#close-modal {
  cursor: pointer;
  font-size: 24px;
  display: block;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

#fullpage-modal .prev-date-button,
#fullpage-modal .next-date-button,
#fullpage-modal #close-modal {
  border: none;
  background: none;
  color: #000;
}

#fullpage-modal .prev-date-button:hover,
#fullpage-modal .next-date-button:hover,
#fullpage-modal #close-modal:hover {
  border: none;
  background: none;
  color: #000;
}

#fullpage-modal #close-modal svg,
#fullpage-modal .prev-date-button svg,
#fullpage-modal .next-date-button svg {
  width: auto;
  height: auto;
}

.mec-event-table {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  text-align: left;
}

.mec-event-table .mec-event-date {
  flex: 0 0 150px;
}

.mec-event-date {
  color: var(--e-global-color-text);
}
.mec-event-date .event-d,
.mec-event-date .event-f {
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
}
.mec-event-date .event-d {
  font-size: 2rem;
  line-height: 0.8em;
}
.mec-event-date .mec-start-date-label {
  display: block;
}
.mec-event-d .mec-start-date-label {
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  color: var(--e-global-color-text);
}

.mec-event-list-noorsooteater {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.mec-event-list-noorsooteater .event-f {
  font-size: 3rem;
  font-weight: 700;
}

.mec-event-article {
  display: flex;
  gap: 36px;
}

.mec-event-article .mec-thumbnail {
  flex: 0 1 25%;
}
.mec-event-article .mec-thumbnail img {
  width: 100%;
  /* object-fit: cover;
  object-position: center center; */
  aspect-ratio: 52 / 72;
}

.mec-event-article .mec-event-wrapper {
  flex: 1 75%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-end;
  text-align: left;
}

.mec-event-article .mec-event-title,
.mec-event-article .mec-event-tit {
  text-transform: uppercase;
  font-weight: 700;
  margin: 0;
}

.mec-btn-wrapper .mec-booking-button {
  background: none;
  text-transform: uppercase;
}

.mec-btn-wrapper .mec-booking-button:hover {
  color: initial;
}

/* Hide default calendar behaviour
.mec-calendar-events-sec {
  display: none !important;
}
*/

.dialog-prevent-scroll {
  max-height: 100vh;
  overflow: hidden;
}

/* .mec-event-article {} */
.mec-event-list-classic {
  width: 100%;
}
.mec-event-list-classic .mec-event-article {
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-areas:
    'a b c'
    'a b d';
  gap: 0px 20px;
}
@media screen and (min-width: 767px) {
  .mec-event-list-classic .mec-event-article {
    display: flex;
    gap: 0px 32px;
  }
}
.mec-event-list-classic .mec-event-article .mec-event-detail,
.mec-event-list-classic .mec-event-article .mec-event-time {
  font-size: 14px;
  line-height: 1;
  margin-right: 0;
  width: 100%;
  float: none;
}
.mec-event-list-classic .mec-event-article .mec-event-date .event-d {
  font-size: 32px;
  line-height: 0.8em;
}
.mec-event-list-classic .mec-event-article .mec-event-date .event-f {
  font-size: 14px;
}
.mec-event-list-classic .mec-event-article .mec-event-tit {
  margin-bottom: 8px;
}
.mec-event-list-classic .mec-event-article .mec-short-day {
  grid-area: a;
}
.mec-event-list-classic .mec-event-article .mec-event-date {
  grid-area: b;
  margin: 0;
}
.mec-event-list-classic .mec-event-article .mec-title-wrapper {
  flex-grow: 1;
  grid-area: c;
  margin-bottom: 12px;
}
.mec-event-list-classic .mec-event-article .mec-btn-wrapper {
  flex-shrink: 0;
  grid-area: d;
}
.mec-event-list-classic .mec-event-article::before,
.mec-event-list-classic .mec-event-article::after {
  content: none !important;
}

.mec-event-list-classic > *:first-child {
  margin-top: 0;
}

html .mec-wrap.colorskin-custom .mec-calendar.mec-event-calendar-classic .mec-selected-day,
html
  .mec-wrap
  .mec-calendar.mec-event-calendar-classic:not(.mec-event-container-simple)
  .mec-selected-day:not(.mec-has-event):hover {
  color: lightgray !important;
}

.mec-calendar.mec-event-calendar-classic .mec-calendar-row dt.mec-has-event.mec-selected-day:hover a,
.mec-calendar.mec-event-calendar-classic .mec-calendar-row dt.mec-has-event.past-day:hover a {
  color: lightgray;
  pointer-events: none;
}
/* html .mec-calendar .mec-has-event-a:hover, */
.mec-calendar.mec-event-calendar-classic
  .mec-calendar-row
  dt.mec-has-event:not(.mec-selected-day):not(.past-day):hover
  a {
  color: #8c6dd4 !important;
}

/* Disable past events in calendar */
html .mec-calendar.mec-event-calendar-classic .mec-has-event.past-day a,
html .mec-calendar.mec-event-calendar-classic .mec-has-event.past-day a:hover {
  pointer-events: none;
  color: lightgray;
}

html .mec-calendar.mec-event-calendar-classic .mec-has-event.today a,
html .mec-calendar.mec-event-calendar-classic .mec-has-event.future-day a {
  color: #000;
}

/* Mängukava listivaade */
html .mec-wrap .mec-totalcal-box {
  display: none;
}

html .mec-calendar:not(.mec-liquid-custom-scrollbar) .mec-event-article {
  padding-block: 25px;
}

html .mec-calendar {
  border: none;
}
html .mec-box-calendar.mec-calendar dl dt:last-child {
  border-right: 0;
}
html .mec-skin-list-wrap .mec-month-navigator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1em;
}
html .mec-box-calendar.mec-calendar .mec-calendar-header h2,
html .mec-skin-list-wrap .mec-calendar-header h2 {
  font-size: 28px;
  line-height: 1.14;
  margin-bottom: 10px;
  margin: 0;
  font-weight: 700;
  letter-spacing: -2px;
}
.mec-wrap .mec-next-month,
.mec-wrap .mec-previous-month {
  border: none !important;
  text-transform: uppercase;
}
