.btn--gradient {
  background: linear-gradient(90deg, #ED1C24 0%, #7A335C 100%);
  color: #fff;
}
.btn--gradient::after {
  background: #ed1c24;
}

.ui-select .selectric-items li:has(.selectric-color) {
  padding-right: 24px;
}
.ui-select .selectric-color {
  position: absolute;
  top: 50%;
  right: 16px;
  margin: -5px 0 0 0;
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.05);
}
.ui-select .selectric-open {
  z-index: 500;
}

/* -------- CALENDAR -------- */

.n-calendar .ui-sorting__check-input:checked ~ .ui-sorting__check-btn {
    color: #fff;
}

.n-calendar {
  padding: 40px 0;
}
.n-calendar.--compact .n-calendar__aside {
  display: none;
}
.n-calendar.--compact .n-calendar__datepicker .datepicker--nav-action {
  display: none;
}
@media (min-width: 992px) {
  .n-calendar {
    padding: 80px 0;
  }
  .n-calendar.--no-padding {
    padding: 0;
  }
  .n-calendar.--compact .n-calendar__body {
    height: 452px;
    overflow: hidden;
  }
  .n-calendar.--compact .n-calendar__aside {
    height: 100%;
    min-height: 0;
    display: block;
  }
  .n-calendar.--compact .n-calendar__main {
    height: 100%;
    min-height: 0;
    display: block;
    position: relative;
  }
  .n-calendar.--compact .n-calendar__main::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 152px;
    z-index: 300;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
  }
  .n-calendar.--compact .n-calendar__datepicker .datepicker--nav {
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
  .n-calendar.--compact .n-calendar__events {
    min-height: 100%;
  }
}
.n-calendar__head {
  margin: 0 0 20px;
}
@media (min-width: 992px) {
  .n-calendar__head {
    margin: 0 0 40px;
  }
}
.n-calendar__body {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 992px) {
  .n-calendar__body {
    -ms-grid-columns: 287px 1fr;
    grid-template-columns: 287px 1fr;
    grid-template-areas: "aside main";
  }
}
.n-calendar__aside {
  min-width: 0;
}
@media (min-width: 992px) {
  .n-calendar__aside {
    grid-area: aside;
  }
}
.n-calendar__main {
  min-width: 0;
  position: relative;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 992px) {
  .n-calendar__main {
    grid-area: main;
  }
}
.n-calendar__full {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  gap: 12px;
}
.n-calendar__full .btn {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 36px;
  width: 100%;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.59px;
  padding: 0 20px;
  background: linear-gradient(85.91deg, #606B72 3.51%, #6D4F67 21.14%, #7A335C 51.74%, #B12841 82.86%, #ED1C24 103.08%);
  color: #fff;
}
.n-calendar__full .btn::after {
  background: #7A335C;
}
@media (min-width: 992px) {
  .n-calendar__full {
    position: absolute;
    top: 0;
    right: 16px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    height: 58px;
    z-index: 200;
  }
  .n-calendar__full .btn {
    height: 34px;
  }
}
.n-calendar__title {
  display: block;
  margin: 0 0 24px;
  font-size: 2.4rem;
  line-height: 1.2;
  font-weight: 500;
  color: #7A335C;
}
@media (min-width: 992px) {
  .n-calendar__title {
    margin: 0 0 40px;
    font-size: 3.6rem;
  }
}
.n-calendar__filter .row {
  margin: 0 -10px -20px;
}
.n-calendar__filter .row > [class^=col] {
  padding: 0 10px 20px;
}
.n-calendar__filter .ui-sorting {
  width: 100%;
}
.n-calendar__filter .ui-select {
  margin: 0;
  width: 100%;
  text-wrap: balance;
}
.n-calendar__filter .ui-select .selectric-wrapper {
  font: 400 1.6rem/2.4rem "Montserrat", Helvetica, Arial, sans-serif;
  color: #2F444E;
}
.n-calendar__filter .ui-select .selectric {
  padding: 10px 50px 10px 16px;
}
@media (min-width: 768px) {
  .n-calendar__filter .ui-sorting {
    width: auto;
  }
  .n-calendar__filter .ui-select {
    width: 320px;
  }
}
@media (min-width: 992px) {
  .n-calendar__filter .ui-sorting {
    width: auto;
  }
  .n-calendar__filter .ui-select {
    width: 320px;
  }
}
.n-calendar__events {
  background: #fff;
  border-radius: 4px;
  padding: 16px;
}
.n-calendar__events-title {
  display: block;
  margin: 0 0 15px;
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: 600;
  color: #7A335C;
}
@media (min-width: 992px) {
  .n-calendar__events-title {
    font-size: 1.6rem;
  }
}
.n-calendar__events-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  gap: 10px;
}
.n-calendar__events-list > li {
  min-width: 0;
}
@media (min-width: 992px) {
  .n-calendar__events-list {
    gap: 12px;
  }
}
.n-calendar__events-card {
  display: block;
  padding: 12px;
  border-left: 6px solid #2F444E;
  background: #F3F5F6;
  color: #2F444E;
  text-decoration: none;
}
.n-calendar__events-card:hover {
  text-decoration: none;
  color: #2F444E;
}
.n-calendar__events-card.--red {
  border-color: #B61F38;
}
.n-calendar__events-card.--purple {
  border-color: #BC8CBE;
}
.n-calendar__events-card.--blue {
  border-color: #131695;
}
.n-calendar__events-card.--auto {
  border-color: #873F97;
}
.n-calendar__events-card.--motorcycle {
  border-color: #BC8CBE;
}
.n-calendar__events-card.--mondays {
  border-color: #B61F38;
}
.n-calendar__events-card.--track {
  border-color: #F8AA96;
}
.n-calendar__events-card.--amateur {
  border-color: #6C6ECE;
}
.n-calendar__events-card.--special {
  border-color: #131695;
}
.n-calendar__events-card.--karting {
  border-color: #7A335C;
}
.n-calendar__events-card.--rallycross {
  border-color: #B96F79;
}
.n-calendar__events-card.--motocross {
  border-color: #1E525F;
}
.n-calendar__events-card.--drifting {
  border-color: #B2CE62;
}
.n-calendar__events-card.--other {
  border-color: #457B9D;
}
@media (min-width: 992px) {
  .n-calendar__events-card {
    border-width: 8px;
  }
}
.n-calendar__events-card-date {
  display: block;
  margin: 0 0 8px;
  font-size: 1.3rem;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(47, 68, 78, 0.4);
}
.n-calendar__events-card-date mark {
  color: #7A335C;
}
@media (min-width: 992px) {
  .n-calendar__events-card-date {
    font-size: 1.4rem;
  }
}
.n-calendar__events-card-title {
  display: block;
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: 500;
}
.n-calendar__datepicker {
  background: #fff;
  border-radius: 4px;
}
.n-calendar__datepicker * {
  box-sizing: border-box;
}
.n-calendar__datepicker .datepicker {
  width: 100%;
  background: transparent;
  border: none;
  color: #2F444E;
}
.n-calendar__datepicker .datepicker--nav {
  border-bottom: 1px solid #EAECED;
  height: 44px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0 10px;
  gap: 10px;
}
@media (min-width: 992px) {
  .n-calendar__datepicker .datepicker--nav {
    height: 58px;
    padding: 0 16px;
  }
}
.n-calendar__datepicker .datepicker--nav-action {
  width: 20px;
  height: 20px;
  color: #2F444E;
}
.n-calendar__datepicker .datepicker--nav-action svg {
  display: block;
  width: 100%;
  height: 100%;
}
.n-calendar__datepicker .datepicker--nav-action path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1px;
}
.n-calendar__datepicker .datepicker--nav-title {
  display: block;
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: 600;
  color: #7A335C;
  pointer-events: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 992px) {
  .n-calendar__datepicker .datepicker--nav-title {
    font-size: 1.6rem;
  }
}
.n-calendar__datepicker .datepicker--content {
  padding: 0;
}
.n-calendar__datepicker .datepicker--days-names {
  margin: 0;
  padding: 0 10px;
  height: 40px;
  border-bottom: 1px solid #EAECED;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
}
@media (min-width: 992px) {
  .n-calendar__datepicker .datepicker--days-names {
    height: 32px;
    font-size: 1.3rem;
    letter-spacing: 1.5px;
    padding: 0;
  }
}
.n-calendar__datepicker .datepicker--day-name {
  color: #2F444E;
}
@media (min-width: 992px) {
  .n-calendar__datepicker .datepicker--day-name {
    color: #ACB4B8;
  }
  .n-calendar__datepicker .datepicker--day-name:not(:last-child) {
    border-right: 1px solid #EAECED;
  }
}
.n-calendar__datepicker .datepicker--cells {
  padding: 5px 10px 10px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[7];
  grid-template-columns: repeat(7, 1fr);
  gap: 5px 2px;
  font-size: 1.4rem;
  line-height: 1.3;
  font-weight: 500;
}
@media (min-width: 992px) {
  .n-calendar__datepicker .datepicker--cells {
    padding: 0;
    font-size: 1.6rem;
    line-height: 1;
    font-weight: 700;
    gap: 0;
  }
}
.n-calendar__datepicker .datepicker--cell {
  min-width: 0;
  width: 100%;
  height: auto;
  min-height: 42px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #2F444E;
  border-radius: 4px;
  position: relative;
}
.n-calendar__datepicker .datepicker--cell mark {
  color: currentColor;
}
.n-calendar__datepicker .datepicker--cell.-other-month- {
  pointer-events: none;
  color: rgba(47, 68, 78, 0.4);
}
.n-calendar__datepicker .datepicker--cell.-focus-, .n-calendar__datepicker .datepicker--cell.-selected- {
  color: #B61F38;
}
.n-calendar__datepicker .datepicker--cell.-focus-.-selected- {
  background: #fff;
}
@media (min-width: 992px) {
  .n-calendar__datepicker .datepicker--cell {
    background: #fff;
    box-shadow: 0 0 0 1px #EAECED;
    border-radius: 0;
    height: auto;
    aspect-ratio: unset;
    min-height: 127px;
    padding: 8px;
  }
  .n-calendar__datepicker .datepicker--cell.-other-month- {
    background: #F5F5F6;
  }
}
@media (min-width: 992px) {
  .n-calendar__cell {
    width: 100%;
    height: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 20px;
  }
}
@media (min-width: 992px) {
  .n-calendar__cell-number {
    display: block;
    text-align: right;
  }
}
.n-calendar__cell-dots {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 3px;
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 6px;
  z-index: 100;
}
@media (min-width: 992px) {
  .n-calendar__cell-dots {
    display: none;
  }
}
.n-calendar__cell-dot {
  display: block;
  width: 6px;
  height: 6px;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  border-radius: 50%;
}
.n-calendar__cell-events {
  display: none;
}
@media (min-width: 992px) {
  .n-calendar__cell-events {
    display: block;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 6px;
    margin: auto 0 0 0;
  }
}
.n-calendar__cell-event {
  display: block;
  background: #97A1A7;
  color: #fff;
  padding: 4px 6px;
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: 500;
}
.n-calendar__cell-event-ellipsis {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  overflow: hidden;
  max-height: 30px;
}
.n-calendar__cell-offcanvas {
  display: none;
}
.n-calendar__cell-tooltip {
  padding: 12px;
  width: 220px;
}
@media (min-width: 992px) {
  .n-calendar__cell-tooltip {
    padding: 16px;
    width: 260px;
  }
}
.n-calendar__cell-tooltip-title {
  display: block;
  border-bottom: 1px solid #EAECED;
  padding: 0 0 12px;
  margin: 0 0 12px;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(47, 68, 78, 0.4);
}
.n-calendar__cell-tooltip-title span {
  color: #7A335C;
}
@media (min-width: 992px) {
  .n-calendar__cell-tooltip-title {
    font-size: 1.4rem;
  }
}
.n-calendar__cell-tooltip-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.n-calendar__cell-tooltip-list > li {
  padding: 0 0 12px;
  margin: 0 0 12px;
  border-bottom: 1px solid #EAECED;
}
.n-calendar__cell-tooltip-list > li:last-child {
  margin: 0;
  padding: 0;
  border: none;
}
.n-calendar__cell-tooltip-event {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 992px) {
  .n-calendar__cell-tooltip-event {
    gap: 12px;
  }
}
.n-calendar__cell-tooltip-event-title {
  display: block;
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 600;
  color: #2F444E;
}
@media (min-width: 992px) {
  .n-calendar__cell-tooltip-event-title {
    font-size: 1.4rem;
  }
}
.n-calendar__cell-tooltip-event-text {
  display: block;
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 400;
  color: rgba(47, 68, 78, 0.4);
}

@media (min-width: 992px) {
  .n-calendar__cell-tooltip-event-text {
    font-size: 1.4rem;
  }
}
.n-calendar__cell-tooltip-event-action {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  gap: 12px;
}
.n-calendar__cell-tooltip-event-action .btn {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 28px;
  width: 100%;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 20px;
  background: linear-gradient(85.91deg, #606B72 3.51%, #6D4F67 21.14%, #7A335C 51.74%, #B12841 82.86%, #ED1C24 103.08%);
  color: #fff;
}
.n-calendar__cell-tooltip-event-action .btn::after {
  background: #7A335C;
}
@media (min-width: 992px) {
  .n-calendar__cell-tooltip-event-action .btn {
    height: 34px;
  }
}

.n-calendar .ui-sorting.-loading,
.n-calendar .d-events__data.-loading {
    position: relative;
    overflow: hidden
}
.n-calendar .ui-sorting.-loading:after,
.n-calendar .d-events__data.-loading:after{
 content: '';
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.4);
    z-index: 2
}

.n-calendar__cell-event.is-hidden {
  display: none;
}