/* stylelint-disable scss/operator-no-unspaced */
/* stylelint-enable scss/operator-no-unspaced */
/* Breakpoint viewport sizes and media queries.

Breakpoints are defined as a map of (name: minimum width), order from small to large:
   (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)

 The map defined in the `$breakpoint` global variable is used as the `$breakpoints` argument by default.

 Name of the next breakpoint, or null for the last breakpoint.

  >> breakpoint-next(sm)
   md
  >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
   md
  >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))
   md
*/
/* Minimum breakpoint width. Null for the smallest (first) breakpoint.
    >> ecl-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
    576px
*/
/* Maximum breakpoint width. Null for the largest (last) breakpoint.
   The maximum value is calculated as the minimum of the next one less 0.1.

   >> ecl-max(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
   767px
*/
/* Returns a blank string if smallest breakpoint, otherwise returns the name with a dash infront.
    Useful for making responsive utilities.

    >> infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
    ""  (Returns a blank string)
    >> infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
    "-sm"
*/
/**
* Social media follow component
* @define social-media-share
*/
.ecl-social-media-share {
  background-color: #fff;
  border: 0;
  border-radius: 0;
  margin: 0;
  padding: 0;
}

.ecl-social-media-share__description {
  color: #404040;
  font: normal normal 400 1rem/1.5rem arial, sans-serif;
  font-weight: 700;
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.ecl-social-media-share__list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 0;
  margin-top: -0.75rem;
  -webkit-padding-start: 0;
          padding-inline-start: 0;
}

.ecl-social-media-share__item {
  display: flex;
  -webkit-margin-end: 1.5rem;
          margin-inline-end: 1.5rem;
  margin-top: 1.5rem;
}
.ecl-social-media-share__item:last-child {
  -webkit-margin-end: 0;
          margin-inline-end: 0;
}

.ecl-social-media-share__link {
  align-items: center;
  display: flex;
  font: normal normal 400 0.875rem/1rem arial, sans-serif;
  overflow: hidden; /* Improve rendering on IE */
}

.ecl-social-media-share__icon {
  flex-shrink: 0;
  top: 0 !important;
}

.ecl-social-media-share--vertical .ecl-social-media-share__description {
  margin-bottom: 0;
}
.ecl-social-media-share--vertical .ecl-social-media-share__list {
  align-items: flex-start;
  flex-direction: column;
  margin-top: 0;
}
.ecl-social-media-share--vertical .ecl-social-media-share__item {
  -webkit-margin-end: 0;
          margin-inline-end: 0;
}
.ecl-social-media-share--vertical .ecl-social-media-share__item:last-child {
  -webkit-margin-end: 0;
          margin-inline-end: 0;
}

/* stylelint-disable-next-line order/order */
@media (max-width: 767px) {
  .ecl-social-media-share__description {
    margin-bottom: 0;
  }
  .ecl-social-media-share__list {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 0;
  }
  .ecl-social-media-share__item {
    -webkit-margin-end: 0;
            margin-inline-end: 0;
  }
  .ecl-social-media-share__item:last-child {
    -webkit-margin-end: 0;
            margin-inline-end: 0;
  }
}