/* 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"
*/
/*
 * File
 * @define file; weak
 */
.ecl-file {
  border-radius: 0;
  margin: 0;
  max-width: 823px;
  overflow: hidden;
}

.ecl-file__container {
  align-items: center;
  background-color: #f5f5f5;
  border: 1px solid #cfcfcf;
  display: flex;
  flex-wrap: wrap;
  padding: 1.5rem;
}

.ecl-file__icon {
  align-self: center;
  fill: #9f9f9f;
}

.ecl-file__info {
  display: flex;
  flex-basis: 50%;
  flex-grow: 1;
  flex-wrap: wrap;
  -webkit-margin-start: 1rem;
          margin-inline-start: 1rem;
}

.ecl-file__title {
  color: #404040;
  font: normal normal 400 1rem/1.25rem arial, sans-serif;
  font-weight: 700;
  width: 100%;
}

.ecl-file__language {
  color: #404040;
  font: normal normal 400 0.875rem/1rem arial, sans-serif;
  font-weight: 700;
  -webkit-margin-end: 0.5rem;
          margin-inline-end: 0.5rem;
  margin-top: 0.25rem;
}

.ecl-file__meta {
  color: #404040;
  font: normal normal 400 0.875rem/1rem arial, sans-serif;
  margin-top: 0.25rem;
}

.ecl-file__detail {
  border-bottom: 1px solid #d9d9d9;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  width: 100%;
}

.ecl-file__detail-meta {
  color: #707070;
  display: flex;
  font: normal normal 400 0.875rem/1rem arial, sans-serif;
  margin-bottom: 0.5rem;
}

.ecl-file__detail-meta-item {
  -webkit-margin-start: 1rem;
          margin-inline-start: 1rem;
}
.ecl-file__detail-meta-item::before {
  color: #004494;
  content: "|";
  -webkit-margin-end: 1rem;
          margin-inline-end: 1rem;
}

.ecl-file__detail-meta-item:first-of-type {
  -webkit-margin-start: 0;
          margin-inline-start: 0;
  text-transform: uppercase;
}
.ecl-file__detail-meta-item:first-of-type::before {
  display: none;
}

.ecl-file__description {
  color: #404040;
  display: inline-flex;
  font: normal normal 400 1rem/1.5rem arial, sans-serif;
  margin-top: 0.5rem;
  max-width: 80ch;
  white-space: pre-wrap;
}

.ecl-file__image {
  display: block;
  margin-top: 1rem;
  max-width: 13.125rem;
}

.ecl-file__taxonomy {
  border-bottom: 1px solid #d9d9d9;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  width: 100%;
}

.ecl-file__label {
  display: inline-flex;
  flex-basis: 100%;
  margin-bottom: 1rem;
  -webkit-margin-end: 0.5rem;
          margin-inline-end: 0.5rem;
}

.ecl-file__translation-language {
  color: #404040;
  font: normal normal 400 0.875rem/1rem arial, sans-serif;
  font-weight: 700;
}

.ecl-file__translation-container {
  border: 0;
  border-end-start-radius: 0;
  border-end-end-radius: 0;
  border-top: 0;
  display: flex;
  flex-direction: column;
  -webkit-padding-start: 1.5rem;
          padding-inline-start: 1.5rem;
  -webkit-padding-end: 1.5rem;
          padding-inline-end: 1.5rem;
}

.ecl-file__translation-toggle {
  align-self: flex-end;
  border: 0;
  font: normal normal 400 1rem/1.25rem arial, sans-serif;
  font-weight: 400;
  margin-bottom: 0.25rem;
  -webkit-margin-end: -1rem;
          margin-inline-end: -1rem;
  margin-top: 0.25rem;
  padding: 0.75rem 1rem;
}
.ecl-file__translation-toggle:focus-visible {
  outline-offset: -5px;
}
.no-js .ecl-file__translation-toggle {
  display: none;
}

.ecl-file__translation-list {
  display: none;
  list-style: none;
  margin: 0;
  -webkit-padding-start: 0;
          padding-inline-start: 0;
}
.no-js .ecl-file__translation-list {
  display: block;
}

.ecl-file__translation-item {
  border-top: 1px solid #d9d9d9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 1rem;
  padding-top: 1rem;
}
.ecl-file__translation-item:last-child {
  padding-bottom: 0;
}
.ecl-file__translation-item:first-child {
  border-top-width: 0;
}
.ecl-file__translation-item > span[class*=wt] {
  align-self: center;
}

.ecl-file__translation-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  flex-wrap: wrap;
}

.ecl-file__translation-title {
  color: #404040;
  font: normal normal 400 1rem/1.25rem arial, sans-serif;
  font-weight: 700;
}

.ecl-file__translation-meta {
  color: #404040;
  font: normal normal 400 0.875rem/1rem arial, sans-serif;
  margin-top: 0.25rem;
}

.ecl-file__download,
.ecl-file__translation-download {
  align-self: center;
  font: normal normal 400 1rem/1.25rem arial, sans-serif;
  margin-top: 1.5rem;
  width: 100%;
}

.ecl-file__translation-description {
  color: #404040;
  display: block;
  font: normal normal 400 1rem/1.25rem arial, sans-serif;
  max-width: 80ch;
}

.ecl-file__translation-container[aria-expanded=true] .ecl-file__translation-list {
  display: block;
}
.ecl-file__translation-container[aria-expanded=true] .ecl-file__translation-toggle .ecl-button__icon {
  transform: rotate(0);
}

/* stylelint-disable-next-line order/order */
@media (min-width: 480px) {
  .ecl-file__download,
  .ecl-file__translation-download {
    margin-top: 0;
    width: auto;
  }
  .ecl-file__info {
    -webkit-margin-end: 1rem;
            margin-inline-end: 1rem;
  }
  .ecl-file__translation-item {
    flex-direction: row;
    max-width: 100%;
  }
}
/* stylelint-disable-next-line order/order */
@media (min-width: 768px) {
  .ecl-file__translation-container {
    -webkit-padding-start: 5.5rem;
            padding-inline-start: 5.5rem;
  }
  .ecl-file__detail {
    flex-direction: row;
  }
  .ecl-file__detail-info {
    flex-grow: 1;
  }
  .ecl-file__download {
    align-self: center;
    margin-top: 0;
  }
  .ecl-file__image {
    align-self: flex-start;
    -webkit-margin-start: 2rem;
            margin-inline-start: 2rem;
    -webkit-margin-end: 0;
            margin-inline-end: 0;
    margin-top: 0;
  }
  .ecl-file__taxonomy {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }
}
/*
* thumbnail variant
*/
.ecl-file--thumbnail .ecl-file__container {
  padding-bottom: 1.5rem;
}
.ecl-file--thumbnail .ecl-file__info {
  -webkit-margin-start: 0;
          margin-inline-start: 0;
}
.ecl-file--thumbnail .ecl-file__title {
  font: normal normal 400 1rem/1.5rem arial, sans-serif;
  font-weight: 700;
}
.ecl-file--thumbnail .ecl-file__language,
.ecl-file--thumbnail .ecl-file__meta {
  margin-top: 0;
}
.ecl-file--thumbnail .ecl-file__translation-container {
  -webkit-padding-start: 1.5rem;
          padding-inline-start: 1.5rem;
}
.ecl-file--thumbnail .ecl-file__translation-item {
  flex-direction: row;
  flex-wrap: wrap;
}
.ecl-file--thumbnail .ecl-file__translation-item:first-of-type {
  border-top-width: 0;
  padding-top: 0;
}
.ecl-file--thumbnail .ecl-file__translation-detail {
  flex-basis: 100%;
  margin-bottom: 0.5rem;
}
.ecl-file--thumbnail .ecl-file__translation-info {
  align-items: center;
  flex-direction: row;
}
.ecl-file--thumbnail .ecl-file__translation-title {
  font: normal normal 400 1rem/1.5rem arial, sans-serif;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.ecl-file--thumbnail .ecl-file__translation-meta {
  -webkit-margin-start: 0.25rem;
          margin-inline-start: 0.25rem;
  margin-top: 0;
}

.ecl-file__icon {
  fill: #9f9f9f !important;
}

.ecl-link__icon--after .ecl-link__icon {
  -webkit-margin-start: 0.5rem !important;
          margin-inline-start: 0.5rem !important;
}

.ecl-file .ecl-button.ecl-file__translation-toggle {
  margin: 0.25rem -1rem 0.25rem 0;
}

.ecl-file__description {
  white-space: normal;
}

.ecl-file__taxonomy * {
  margin-top: 0 !important;
}