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

.component--contact-us-small {
  overflow: hidden;
  border-radius: 4px;
}

.component--contact-us-small .contact-us-small__cover {
  display: none;
  width: 100%;
}

.component--contact-us-small .contact-us-small__cover .field--name-image,
.component--contact-us-small .contact-us-small__cover img {
  width: 100%;
  height: auto;
}

.component--contact-us-small .contact-us-small__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  border: 1px solid #c9c5b9;
  padding: 30px 10px;
}

.component--contact-us-small .field--name-field-contact-logo {
  margin: 0 0 10px;
  width: 100%;
}

.component--contact-us-small .field--name-field-contact-logo .field--type-image {
  position: relative;
  width: 50%;
  max-height: 40px;
}

.component--contact-us-small .field--name-field-contact-headline {
  width: 100%;
  font-size: 0.75rem;
  line-height: 1rem;
  margin: 0 0 10px;
}

.component--contact-us-small .field--name-field-contact-title,
.component--contact-us-small .field--name-field-contact-mobile-title {
  width: 100%;
  font-family: "antenna-purina", Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1.625rem;
  margin: 0 0 18px;
}

.component--contact-us-small .field--name-field-contact-title {
  display: none;
}

.component--contact-us-small .field--name-field-contact-intro {
  width: 100%;
  font-size: 1rem;
  line-height: 1.5rem;
  margin: 0 0 9px;
}

.component--contact-us-small .field--name-field-contact-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.component--contact-us-small .field--name-field-contact-link a {
  font-family: "antenna-purina", Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.375rem;
  color: #3a3533;
}

.component--contact-us-small .field--name-field-contact-link:before {
  position: static;
  content: "";
  width: 24px;
  height: 24px;
  background-size: 24px 24px;
  margin: 4px 8px 0 0;
}

.component--contact-us-small .field--name-field-contact-link.faq {
  background-color: #e91c24;
}

.component--contact-us-small .field--name-field-contact-link.faq:before {
  background-image: url(../../../images/icons/icon-white-questions.svg);
}

.component--contact-us-small .field--name-field-contact-link.faq a {
  position: relative;
  font-family: "antenna-purina", Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.375rem;
  text-decoration: none;
  color: #ffffff;
  border-color: #3a3533;
}

.component--contact-us-small .field--name-field-contact-link.faq a:after {
  content: "";
  bottom: -3px;
  height: 1px;
  left: 0;
  position: absolute;
  width: 100%;
  background: #3a3533;
}

.component--contact-us-small .field--name-field-contact-link.email a {
  padding-bottom: 0;
}

.component--contact-us-small .field--name-field-contact-link.email:before {
  background-image: url(../../../images/icons/icon-red-mail.svg);
}

.component--contact-us-small .field--name-field-contact-link.phone {
  /*
  @include breakpoint(xl) {
    pointer-events: none;
  }
  */
}

.component--contact-us-small .field--name-field-contact-link.phone:before {
  background-image: url(../../../images/icons/icon-red-phone.svg);
  margin-top: 0;
}

.component--contact-us-small .field--name-field-contact-link.phone a {
  padding-bottom: 3px;
}

.component--contact-us-small .field--name-field-contact-link.phone a:hover {
  text-decoration: none;
  border-bottom: 1px solid #e91c24;
}

.component--contact-us .contact-us--main-image {
  width: 100%;
  display: none;
}

.component--contact-us .contact-us--main-image img {
  width: 100%;
}

.component--contact-us .contact-us--logo-text-container {
  margin-top: 30px;
}

.component--contact-us .contact-us--logo {
  padding: 0 15px;
  margin-bottom: 10px;
}

.component--contact-us .contact-us--logo .field--type-image {
  height: 74px;
}

.component--contact-us .contact-us--logo .field--type-image img {
  display: block;
  height: 100%;
  width: auto;
}

.component--contact-us .contact-us--title {
  font-family: "antenna-purina", Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.875rem;
  line-height: 2.25rem;
  padding: 0 15px;
  margin-bottom: 20px;
}

.component--contact-us .contact-us--intro {
  font-size: 1rem;
  line-height: 1.5rem;
  padding: 0 15px;
  margin-bottom: 30px;
}

.component--contact-us .contact-us--intro p {
  font-size: 1.125rem;
  line-height: 1.5;
}

.component--contact-us .contact-us--link {
  position: relative;
  padding: 0 15px 0;
  height: 75px;
  border-bottom: 1px solid #eeeeee;
  display: flex;
  align-items: center;
}

.component--contact-us .contact-us--link a {
  font-family: "antenna-purina", Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.375rem;
  color: #3a3533;
}

.component--contact-us .contact-us--link:before {
  content: "";
  width: 24px;
  height: 24px;
  background-size: 24px 24px;
  position: static;
  margin: 0 8px 0 0;
}

.component--contact-us .contact-us--link.faq {
  background-color: #e91c24;
}

.component--contact-us .contact-us--link.faq:before {
  background-image: url(../../../images/icons/icon-white-questions.svg);
}

.component--contact-us .contact-us--link.faq a,
.component--contact-us .contact-us--link.faq span {
  font-family: "antenna-purina", Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.375rem;
  text-decoration: none;
  color: #ffffff;
  position: relative;
}

.component--contact-us .contact-us--link.faq a {
  border-color: #3a3533;
}

.component--contact-us .contact-us--link.faq a:after {
  content: "";
  bottom: -3px;
  height: 1px;
  left: 0;
  position: absolute;
  width: 100%;
  background: #3a3533;
}

.component--contact-us .contact-us--link.phone a,
.component--contact-us .contact-us--link.email a,
.component--contact-us .contact-us--link.wa a,
.component--contact-us .contact-us--link.tg a,
.component--contact-us .contact-us--link.ym a,
.component--contact-us .contact-us--link.hotline a,
.component--contact-us .contact-us--link.website a {
  display: inline;
  border-bottom: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-image: linear-gradient(rgba(255, 255, 255, 0) calc(100% - 1px), #e91c24 1px);
  background-position-x: 0;
  background-position-y: 100%;
  background-size: 0% 100%;
  transition: background-size 0.5s;
}

.component--contact-us .contact-us--link.phone a:hover,
.component--contact-us .contact-us--link.email a:hover,
.component--contact-us .contact-us--link.wa a:hover,
.component--contact-us .contact-us--link.tg a:hover,
.component--contact-us .contact-us--link.ym a:hover,
.component--contact-us .contact-us--link.hotline a:hover,
.component--contact-us .contact-us--link.website a:hover {
  background-size: 100% 100%;
}

.component--contact-us .contact-us--link.phone:before {
  background-image: url(../../../images/icons/icon-red-phone.svg);
  margin-top: 0;
}

.component--contact-us .contact-us--link.email {
  /*a {
    @include underline-hover-transition-2(); // @todo
  }*/
}

.component--contact-us .contact-us--link.email:before {
  background-image: url(../../../images/icons/icon-red-mail.svg);
}

.component--contact-us .contact-us--link.email svg {
  display: none;
}

.component--contact-us .contact-us--link.wa:before {
  background-image: url(../../../images/icons/icon-red-wa.svg);
}

.component--contact-us .contact-us--link.tg:before {
  background-image: url(../../../images/icons/icon-red-tg.svg);
}

.component--contact-us .contact-us--link.ym:before {
  background-image: url(../../../images/icons/icon-red-ym.svg);
}

.component--contact-us .contact-us--link.ya:before {
  background-image: url(../../../images/icons/icon-red-ya.svg);
}

.component--contact-us .contact-us--link.website:before {
  background-image: url(../../../images/icons/icon-red-website.svg);
}

.component--contact-us .contact-us--multiple-links {
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  min-height: 75px;
}

.component--contact-us .contact-us--multiple-links-wrapper {
  padding: 10px 0;
}

.component--contact-us .contact-us--multiple-links-title {
  opacity: 0.6;
  font-size: 0.875rem;
  line-height: 1.375rem;
}

.component--contact-us .contact-us--multiple-links .contact-us--link-title {
  font-size: 0.875rem;
  line-height: 1.375rem;
}

.component--contact-us .contact-us--multiple-links .contact-us--link-content {
  white-space: nowrap;
}

@media (min-width: 1140px) {
  .component--contact-us-small .contact-us-small__cover {
    display: block;
  }

  .component--contact-us-small .field--name-field-contact-title {
    display: block;
  }

  .component--contact-us-small .field--name-field-contact-mobile-title {
    display: none;
  }

  .component--contact-us {
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
    margin-bottom: 60px;
    padding-top: 60px;
  }

  .component--contact-us .contact-us--main-image {
    display: flex;
    align-items: center;
  }

  .component--contact-us .contact-us--main-image .field--name-field-c-contact-mob-img {
    flex: auto;
    height: 100%;
  }

  .component--contact-us .contact-us--main-image .field--name-field-c-contact-mob-img img {
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }

  .component--contact-us .contact-us--content-wrapper {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: flex-start;
  }

  .component--contact-us .contact-us--logo-text-container {
    padding: 0 15px;
    margin-top: 0;
  }

  .component--contact-us .contact-us--title {
    font-size: 2.5rem;
    line-height: 3.25rem;
  }

  .component--contact-us .contact-us--links {
    min-width: 325px;
  }

  .component--contact-us .contact-us--link-wrapper {
    min-width: 185px;
    max-width: 185px;
  }

  .component--contact-us .contact-us--link {
    justify-content: flex-end;
    padding-right: 21px;
    border-radius: 2px;
  }

  .component--contact-us .contact-us--link.faq .contact-us--link-wrapper {
    max-width: none;
  }
}

@media (min-width: 1300.1px) {
  .component--contact-us .contact-us--main-image {
    width: 40%;
  }

  .component--contact-us .contact-us--content-wrapper {
    width: 60%;
  }
}

@media (min-width: 1140.1px) and (max-width: 1300px) {
  .component--contact-us .contact-us--main-image {
    width: 35%;
  }

  .component--contact-us .contact-us--content-wrapper {
    width: 65%;
  }
}