/**
 * @file
 * Breakpoints
 *
 * With these breakpoints we will define how the page layout works.
 * For reference, below are the grid default breakpoints and max-widths defined by Bootstrap 4.
 * https://getbootstrap.com/docs/4.4/layout/grid/#grid-tiers
 *
 * $grid-breakpoints: (
 *   xs: 0,
 *   sm: 576px,
 *   md: 768px,
 *   lg: 992px,
 *   xl: 1200px
 * );
 *
 * $container-max-widths: (
 *   sm: 540px,
 *   md: 720px,
 *   lg: 960px,
 *   xl: 1140px
 * );
 *
 */

/*
 * Usage:
 * @include breakpoint(md){
 *   background: blue;
 * }
 */

/*
example for $data argument
each breakpoint has a pair of corresponding values
$breakpoints-data: (
  breakpoints: (365px + 20px, 767px, 1023px, 1199px, 1440px - 20px, 1440px + 20px, 1600px),
  values: ((190px, 190px), (400px, 190px), (261px, 194px), (230px, 243px), (266px, 266px), (266px, 266px), (300px, 300px))
);
*/

/*
 * Usage:
 * @include breakpoint(md, 700px){
 *   background: blue;
 * }
 */

/**
* @file
* Colors
*
* Colors variables for the whole project.
*/

/**
* @file
* Common variables
*
* Common variables for the whole project
*/

/**
* @file
* Mixins
*
*/

/*
  example:
  .root-class {
    .element {
      .theme_cat & {
        ...
      }
    }
  }
  will result into
  .theme_cat .root-class .element

  .root-class {
    .element {
      @include insert-into-selector-as-last-but-one(".theme_cat") {
        ...
      }
    }
  }
  will result into
  .root-class .theme_cat .element
*/

/*
  example:
  repeat-last-part-of-selector(".root-class .element", 3);
  returns
  ".root-class .element.element.element"
*/

/*
A simple little SCSS mixin for creating scrim gradients
Inspired by Andreas Larson - https://github.com/larsenwork
https://css-tricks.com/easing-linear-gradients/
https://toward.studio/latest/making-css-gradients-smooth
*/

/*
a W3C Specs compliant way to override legacy CSS while explicitly highlighting the pieces of CSS code where refactoring is needed

example of usage:

.page {
  .container {
    &__item {
      @include increase-specificity-by-repeating(3) {
        ...
      }
    }
  }
}

will be built into

.page .container__item.container__item.container__item {
  ...
}

this method of increasing specificity is allowed by CSS Specifications
quote from https://www.w3.org/TR/selectors-3/#specificity:
> Note: Repeated occurrences of the same simple selector are allowed and do increase specificity.
*/

.red-pager {
  display: flex;
}

.red-pager .pager__items {
  margin: 0 auto;
  height: 48px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  padding-left: 0;
}

.red-pager .pager__item {
  display: inline-block;
  padding: 12px 15px;
  border-radius: 3px;
}

.red-pager .pager__item a {
  font-family: "antenna-purina", Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #3a3533;
  text-decoration: none;
}

.red-pager .pager__item.is-active {
  font-weight: normal;
  position: relative;
}

.red-pager .pager__item.is-active::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  border: 1px solid #e91c24;
  border-radius: 50%;
}

.red-pager .pager__item.is-active:first-child {
  margin-left: 15px;
}

.red-pager .pager__item.is-active:last-child {
  margin-right: 15px;
}

.red-pager .pager__item.pager__item--next,
.red-pager .pager__item.pager__item--previous {
  padding: 0;
}

.red-pager .pager__item.pager__item--next a,
.red-pager .pager__item.pager__item--previous a {
  background-color: #e91c24;
  position: relative;
  padding: 14px 24px;
  border-radius: 3px;
  display: inline;
}

.red-pager .pager__item.pager__item--next a::before,
.red-pager .pager__item.pager__item--previous a::before {
  content: "";
  position: absolute;
  background: url("/themes/custom/trim_the_tail_th/new_dist/images/icons/icon-white-left-arrow.svg") center center/24px 24px no-repeat;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
}

.red-pager .pager__item.pager__item--next a span,
.red-pager .pager__item.pager__item--previous a span {
  visibility: hidden;
  font-size: 0;
}

.red-pager .pager__item.pager__item--next a::before {
  background: url("/themes/custom/trim_the_tail_th/new_dist/images/icons/icon-white-right-arrow.svg") center center/24px 24px no-repeat;
}

.red-pager .pager__item.pager__item--ellipsis {
  padding: 12px 0;
  cursor: default;
}