/**
 * @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.
*/

.slick-slider .slick-slide:focus {
  outline: none;
}

.slick-slider .slick-arrow {
  position: absolute;
  z-index: 1;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  top: 50%;
  padding: 0;
  color: transparent;
  border: none;
  border-radius: 0;
  width: 48px;
  height: 48px;
  outline: none;
  background: none;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

.slick-slider .slick-arrow.slick-prev {
  left: 15px;
  background-image: url("../../../images/icons/left-arrow-red-square.svg");
}

.slick-slider .slick-arrow.slick-next {
  right: 15px;
  background-image: url("../../../images/icons/right-arrow-red-square.svg");
}

.slick-slider .slick-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 30px;
}

.slick-slider .slick-dots li.slick-active button {
  background: #e91c24;
}

.slick-slider .slick-dots li button {
  border: none;
  background: #3a3533;
  color: transparent;
  border-radius: 50%;
  padding: 0;
  width: 12px;
  height: 12px;
  margin: 0 10px;
  outline: none;
}

@media (min-width: 1140px) {
  .slick-slider .slick-dots li:first-child button {
    margin-left: 0;
  }

  .slick-slider .slick-dots li:last-child button {
    margin-right: 0;
  }
}