/* Grid CSS */
.ta-container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  position: relative;
}

.ta-row.no-gutters > [class*="ta-col-"] {
  padding-right: 0;
  padding-left: 0;
}

.ta-row {
  display: flex;
  flex-wrap: wrap;
}

.ta-row [class*="ta-col-"] {
  width: 100%;
  padding: var(--margin_between_event_half);
}

/* Single-column layouts (list / minimal list) use a real `gap` instead of the per-column
   padding above.

   This is the one place in this grid where `gap` is safe. The multi-column layouts cannot use
   it: their columns are sized with percentage flex-basis that already totals 100%
   (3 x 33.333%), so `gap` would add space on top of that and wrap the last column; and the
   masonry layout absolutely positions these same elements, which takes them out of flow so
   `gap` would not apply to them at all. Neither applies here — every item is full width and
   masonry is never involved.

   Spacing between items is unchanged: the padding contributed half a gutter above and half
   below (half + half = one full gutter), which is exactly what `gap` now supplies. What this
   removes is the half-gutter the padding also added around the *outside* of the row, so the
   cards now sit flush with the section edges as the design intends. */
.ta-row.ta-list_layout,
.ta-row.ta-minimal_list {
  gap: var(--margin_between_event);
}

.ta-row.ta-list_layout > [class*="ta-col-"],
.ta-row.ta-minimal_list > [class*="ta-col-"] {
  padding: 0;
}

@media (min-width: 1200px) {
  .ta-row .ta-col-xl-1 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .ta-row .ta-col-xl-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .ta-row .ta-col-xl-3 {
    flex: 0 0 33.33333333%;
    max-width: 33.33333333%;
  }
  .ta-row .ta-col-xl-4 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .ta-row .ta-col-xl-5 {
    flex: 0 0 20%;
    max-width: 20%;
  }
  .ta-row .ta-col-xl-6 {
    flex: 0 0 16.66666666666667%;
    max-width: 16.66666666666667%;
  }
  .ta-row .ta-col-xl-7 {
    flex: 0 0 14.28571428%;
    max-width: 14.28571428%;
  }
  .ta-row .ta-col-xl-8 {
    flex: 0 0 12.5%;
    max-width: 12.5%;
  }
}

@media (max-width: 1200px) {
  .ta-row .ta-col-lg-1 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .ta-row .ta-col-lg-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .ta-row .ta-col-lg-3 {
    flex: 0 0 33.33333333%;
    max-width: 33.33333333%;
  }
  .ta-row .ta-col-lg-4 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .ta-row .ta-col-lg-5 {
    flex: 0 0 20%;
    max-width: 20%;
  }
  .ta-row .ta-col-lg-6 {
    flex: 0 0 16.66666666666667%;
    max-width: 16.66666666666667%;
  }
  .ta-row .ta-col-lg-7 {
    flex: 0 0 14.28571428%;
    max-width: 14.28571428%;
  }
  .ta-row .ta-col-lg-8 {
    flex: 0 0 12.5%;
    max-width: 12.5%;
  }
}

@media (max-width: 992px) {
  .ta-row .ta-col-md-1 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .ta-row .ta-col-md-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .ta-row .ta-col-md-2-5 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .ta-row .ta-col-md-3 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
  .ta-row .ta-col-md-4 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .ta-row .ta-col-md-5 {
    flex: 0 0 20%;
    max-width: 20%;
  }
  .ta-row .ta-col-md-6 {
    flex: 0 0 16.66666666666667%;
    max-width: 16.66666666666667%;
  }
  .ta-row .ta-col-md-7 {
    flex: 0 0 14.28571428%;
    max-width: 14.28571428%;
  }
  .ta-row .ta-col-md-8 {
    flex: 0 0 12.5%;
    max-width: 12.5%;
  }
}

@media (max-width: 768px) {
  .ta-row .ta-col-sm-1 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .ta-row .ta-col-sm-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .ta-row .ta-col-sm-2-5 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .ta-row .ta-col-sm-3 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
  .ta-row .ta-col-sm-4 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .ta-row .ta-col-sm-5 {
    flex: 0 0 20%;
    max-width: 20%;
  }
  .ta-row .ta-col-sm-6 {
    flex: 0 0 16.66666666666667%;
    max-width: 16.66666666666667%;
  }
  .ta-row .ta-col-sm-7 {
    flex: 0 0 14.28571428%;
    max-width: 14.28571428%;
  }
  .ta-row .ta-col-sm-8 {
    flex: 0 0 12.5%;
    max-width: 12.5%;
  }
}
.eventful_pro__event_pagination.eventful-pro-on-mobile {
  display: none;
}

@media (max-width: 576px) {
  .ta-row .ta-col-xs-1 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .ta-row .ta-col-xs-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .ta-row .ta-col-xs-3 {
    flex: 0 0 33.33333333%;
    max-width: 33.33333333%;
  }
  .ta-row .ta-col-xs-4 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .ta-row .ta-col-xs-5 {
    flex: 0 0 20%;
    max-width: 20%;
  }
  .ta-row .ta-col-xs-6 {
    flex: 0 0 16.66666666666667%;
    max-width: 16.66666666666667%;
  }
  .ta-row .ta-col-xs-7 {
    flex: 0 0 14.28571428%;
    max-width: 14.28571428%;
  }
  .ta-row .ta-col-xs-8 {
    flex: 0 0 12.5%;
    max-width: 12.5%;
  }
  .eventful-pro-post-pagination.eventful-pro-on-mobile:not(.eventful-pro-hide) {
    display: block;
  }
  .eventful-pro-post-pagination:not(.eventful-pro-on-mobile) {
    display: none;
  }
}
