/*
 * DO NOT EDIT THIS FILE.
 * See the following change record for more information,
 * https://www.drupal.org/node/3084859
 * @preserve
 */

/*
 * @file
 * Provides the layout styles for three-column layout section.
 */

.layout--threecol-section {
  display: flex;
  flex-wrap: wrap
}

.layout--threecol-section > .layout__region {
    flex: 1 0 100%;
    margin-bottom: 1.125rem
  }

@media (min-width: 62.5rem) {

.layout--threecol-section > .layout__region {
      flex-grow: 0;
      flex-shrink: 0;
      margin-bottom: 0
  }
    }

@media (min-width: 62.5rem) {
    [dir="ltr"] .layout--threecol-section > .layout__region--first {
      margin-right: 1.125rem
  }
    [dir="rtl"] .layout--threecol-section > .layout__region--first {
      margin-left: 1.125rem
  }

    .layout--threecol-section > .layout__region--second {
      margin-left: 1.125rem;
      margin-right: 1.125rem;
    }

    [dir="ltr"] .layout--threecol-section > .layout__region--third {
      margin-left: 1.125rem
  }

    [dir="rtl"] .layout--threecol-section > .layout__region--third {
      margin-right: 1.125rem
  }
    .layout--threecol-section--25-50-25 > .layout__region--first,
    .layout--threecol-section--25-50-25 > .layout__region--third {
      flex-basis: calc(25% - 1.125rem);
    }

    .layout--threecol-section--25-50-25 > .layout__region--second {
      flex-basis: calc(50% - 2.25rem);
    }
    .layout--threecol-section--25-25-50 > .layout__region--first,
    .layout--threecol-section--25-25-50 > .layout__region--second {
      flex-basis: calc(25% - 1.125rem);
    }

    .layout--threecol-section--25-25-50 > .layout__region--third {
      flex-basis: calc(50% - 2.25rem);
    }
    .layout--threecol-section--50-25-25 > .layout__region--first {
      flex-basis: calc(50% - 2.25rem);
    }

    .layout--threecol-section--50-25-25 > .layout__region--second,
    .layout--threecol-section--50-25-25 > .layout__region--third {
      flex-basis: calc(25% - 1.125rem);
    }
    .layout--threecol-section--33-34-33 > .layout__region--first,
    .layout--threecol-section--33-34-33 > .layout__region--second,
    .layout--threecol-section--33-34-33 > .layout__region--third {
      flex-basis: calc(33.33% - 1.50075rem);
    }
}
