#customCalendar {
  --fc-classic-primary: #ff590a;
  --fc-classic-event: #ff590a;
  --fc-classic-event-contrast: #fff;
  --fc-classic-today: #f6f8fb;
  --fc-classic-button: transparent;
  --fc-classic-button-border: transparent;
  --fc-classic-button-foreground: #272d39;
  font-family: 'utb_textregular', Helvetica, Arial, Verdana, sans-serif;
}

.calendar-wrap {
  clear: both;
  position: relative;
  isolation: isolate;
  margin-bottom: 152px;
}

.calendar-wrap > .calendar-nav,
.js-calendar-nav-inside {
  top: -11px;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: auto;
}

.calendar-wrap > .calendar-nav a,
.js-calendar-nav-inside a {
  position: relative;
  z-index: 1;
  float: none;
  width: 36px;
  height: 36px;
  margin: 0;
  border-radius: 3px;
  background-repeat: no-repeat;
  background-size: 22px 22px;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}

.calendar-wrap > .calendar-nav a:hover,
.calendar-wrap > .calendar-nav a:focus-visible,
.js-calendar-nav-inside a:hover,
.js-calendar-nav-inside a:focus-visible {
  background-color: #f6f8fb;
  outline: 2px solid transparent;
  opacity: 1;
}

.calendar-wrap #customCalendar {
  position: relative;
  z-index: 1;
}

.calendar-wrap #customCalendar > div > div:first-child {
  margin-top: 32px;
  margin-bottom: 21px;
}

.calendar-wrap #customCalendar [role='heading'] {
  min-width: 205px;
  margin: 0;
  color: #272d39;
  font-family: 'utb_textbold', Helvetica, Arial, Verdana, sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: center;
}

.calendar-wrap #customCalendar button {
  min-width: 32px;
  min-height: 32px;
  padding: 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #272d39;
}

.calendar-wrap #customCalendar button:hover,
.calendar-wrap #customCalendar button:focus-visible {
  background: #f6f8fb;
  color: #ff590a;
}

.calendar-wrap #customCalendar [role='grid'] {
  border: 1px solid #ebeef4;
}

.calendar-wrap #customCalendar [role='columnheader'] {
  border-right: 0;
  border-left: 0;
  background: #fff;
}

.calendar-wrap #customCalendar [role='columnheader'] > div {
  padding: 13px 2px 16px;
  color: #626b77;
  font-size: 1.4rem;
  font-weight: 400;
  text-decoration: none;
}

.calendar-wrap #customCalendar [role='gridcell'][data-date] {
  position: relative;
  overflow: visible;
  background: #f6f8fb;
}

.calendar-wrap #customCalendar [role='gridcell'][data-date] [aria-hidden] {
  padding: 12px 14px;
  color: #626b77;
  font-size: 1.5rem;
  line-height: 1.5rem;
  text-decoration: none;
}

.calendar-wrap .ajaxed-el {
  z-index: 2;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #ff590a;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.calendar-wrap .ajaxed-el:hover,
.calendar-wrap .ajaxed-el:focus-visible {
  opacity: 0.92;
  color: #fff;
}

.calendar-wrap .ajaxed-el > div {
  padding: 18px 12px;
  color: #fff;
  font-size: 1.4rem;
  white-space: normal;
}

.pane-calendar-big-item.utb-calendar-preview {
  position: absolute;
  z-index: 10000;
  display: block;
  width: min(380px, calc(100vw - 32px));
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0 6px 43px rgba(46, 40, 33, 0.17);
  color: #272d39;
  text-decoration: none;
}

.pane-calendar-big-item.utb-calendar-preview::after {
  content: '';
  position: absolute;
  top: 100%;
  left: var(--utb-calendar-arrow-left, 50%);
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-width: 15px 15px 0;
  border-style: solid;
  border-color: #fff transparent transparent;
}

.pane-calendar-big-item.utb-calendar-preview--below::after {
  top: auto;
  bottom: 100%;
  border-width: 0 15px 15px;
  border-color: transparent transparent #fff;
}

.pane-calendar-big-item.utb-calendar-preview .item-image {
  position: relative;
  display: block;
  height: 149px;
  overflow: hidden;
  background: #f6f8fb;
}

.pane-calendar-big-item.utb-calendar-preview .item-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pane-calendar-big-item.utb-calendar-preview .item-date,
.pane-calendar-big-item.utb-calendar-preview .event-tags {
  position: absolute;
  z-index: 1;
}

.pane-calendar-big-item.utb-calendar-preview .item-date {
  right: 15px;
  bottom: 15px;
  padding: 8px 10px;
  background: #fff;
  text-align: center;
}

.pane-calendar-big-item.utb-calendar-preview .item-date strong,
.pane-calendar-big-item.utb-calendar-preview .item-date span {
  display: block;
}

.pane-calendar-big-item.utb-calendar-preview .event-tags {
  top: 15px;
  left: 15px;
}

.pane-calendar-big-item.utb-calendar-preview .event-title {
  display: block;
  padding: 22px 23px 12px;
  font-family: 'utb_textbold', Helvetica, Arial, Verdana, sans-serif;
  font-size: 2rem;
}

.pane-calendar-big-item.utb-calendar-preview .event-excerpt {
  display: block;
  padding: 0 23px 22px;
  color: #626b77;
  font-size: 1.4rem;
}

@media screen and (max-width: 1410px) {
  .calendar-wrap {
    margin-bottom: 30px;
  }

  .calendar-wrap .ajaxed-el > div {
    padding: 5px;
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 767px) {
  .calendar-wrap #customCalendar [role='heading'] {
    min-width: 0;
    font-size: 1.15rem;
  }

  .calendar-wrap #customCalendar [role='columnheader'] > div {
    font-size: 1.1rem;
  }

  .calendar-wrap #customCalendar [role='gridcell'][data-date] [aria-hidden] {
    padding: 8px;
    font-size: 1.2rem;
  }
}
