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

.paragraph--type--c-text.light-bg {
  background-color: #f9f9f9;
  text-align: left;
  overflow: visible;
  padding: 25px 0;
}

.paragraph--type--c-text .field--name-field-c-title,
.paragraph--type--c-text .field--name-field-sub-heading {
  padding: 0;
  margin-bottom: 20px;
}

.paragraph--type--c-text .paragraph--type--c-text {
  font-family: "antenna-purina", Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
}

.paragraph--type--c-text .field--name-field-summary-text {
  margin: 0;
  padding: 0;
}

.paragraph--type--c-text p {
  font-size: 1rem;
  line-height: 1.5rem;
  font-family: "antenna-purina", Helvetica, sans-serif;
  font-weight: 300;
  font-style: normal;
  margin: 20px 0;
}

.paragraph--type--c-text p,
.paragraph--type--c-text .dark-text p {
  color: #3a3533;
}

.paragraph--type--c-text.twb-col-8 .content {
  padding: 0;
}

.paragraph--type--c-externalvideo {
  margin-bottom: 0;
}

.dsu_gallery_wrapper .slick-dots button {
  height: 12px;
  width: 12px;
  background-color: #3a3533;
  border-radius: 50%;
  display: inline-block;
  opacity: 1;
  margin: 0 20px 0 0;
  padding: 0;
}

.dsu_gallery_wrapper li.slick-active {
  opacity: 1;
}

.dsu_gallery_wrapper li.slick-active button {
  background-color: #e91c24;
}

.paragraph--type--c-share-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.paragraph--type--c-share-buttons .social-media-icon {
  width: 45px;
  height: 45px;
  display: block;
  background-size: 43px 43px;
}

.paragraph--type--c-share-buttons .social-media-icon.facebook-share {
  background-image: url("../../../images/social-icons/icon-facebook.svg");
}

.paragraph--type--c-share-buttons .social-media-icon.facebook-share img {
  display: none;
}

.paragraph--type--c-share-buttons .social-media-icon.twitter {
  background-image: url("../../../images/social-icons/icon-twitter.svg");
}

.paragraph--type--c-share-buttons .social-media-icon.twitter img {
  display: none;
}

.paragraph--type--c-sideimagetext .wrapper-description-section {
  font-family: "antenna-purina", Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.paragraph--type--c-sideimagetext .field--name-field-c-sideimagetext-summary {
  font-size: 1rem;
  line-height: 1.5rem;
  font-family: "antenna-purina", Helvetica, sans-serif;
  font-weight: 300;
  font-style: normal;
  margin: 20px 0;
}

.paragraph--type--c-sideimagetext .image_cta_link {
  background: none !important;
  margin: 0;
}

.paragraph--type--c-sideimagetext a {
  font-family: "antenna-purina", Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.375rem;
  margin-bottom: 20px;
}

.paragraph--type--c-slider img {
  width: 100%;
}

.paragraph--type--c-slider .fields--wrapper {
  width: 50%;
  font-family: "antenna-purina", Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.875rem;
  line-height: 2.25rem;
  box-shadow: 0 4px 12px 0 rgba(88, 79, 76, 0.16);
  background-color: #ffffff;
}

.paragraph--type--c-slider .fields--wrapper .image_cta_link {
  box-shadow: none;
  padding: 0;
  border: 0;
}

.paragraph--type--c-slider .fields--wrapper a {
  font-family: "antenna-purina", Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.375rem;
  margin-bottom: 20px;
  text-transform: none;
}

.paragraph--type--c-slider .slick-dots button:before {
  opacity: 1;
  color: #3a3533;
}

.paragraph--type--c-slider .slick-dots .slick-active button:before {
  opacity: 1;
  color: #e91c24;
}

.paragraph--type--c-teasercycle .paragraph--type--c-teasercycle-item {
  font-family: "antenna-purina", Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1.625rem;
}

.paragraph--type--c-teasercycle .paragraph--type--c-teasercycle-item img {
  width: 100%;
}

.paragraph--type--c-teasercycle .paragraph--type--c-teasercycle-item p {
  font-size: 1rem;
  line-height: 1.5rem;
  font-family: "antenna-purina", Helvetica, sans-serif;
  font-weight: 300;
  font-style: normal;
}

.paragraph--type--c-teasercycle .paragraph--type--c-teasercycle-item a {
  font-family: "antenna-purina", Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.375rem;
}

@media (min-width: 1140px) {
  .paragraph--type--c-text.light-bg {
    padding: 50px 0;
  }

  .paragraph--type--c-text.twb-col-8 .content {
    padding: 0 10px 0 0;
  }
}