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

/**
 * @file
 * Button that expands second level nav when clicked.
 */

/*
  Media query breakpoints.
  Processed by postcss/postcss-custom-media.
*/

/* Navigation related breakpoints */

/* Grid related breakpoints */

/* Grid shifts from 6 to 14 columns. */

/* Width of the entire grid maxes out. */

/*
  Custom CSS properties.

  These are "compiled" by postcss/postcss-custom-properties for IE11 compatibility.
*/

:root {

  /* Typography */

  /* Layout */

  /* Drupal administrative toolbar heights and width. */

  /*
    Grid helpers.

    These variables help authors apply widths and negative margins to break items out of
    the grid, while still conforming to the larger grid system.

    Note we cannot change the values of these custom properties within media queries,
    as they are processed by postcss/postcss-custom-properties (for IE11 compatibility),
    which does not support that functionality. Therefore, we need a separate custom
    property for each breakpoint. 😭
  */ /* Approximate width of a scrollbar. Doesn't have to be perfect. */

  /* Grid gap across various breakpoints. */

  /* Column counts at various breakpoints. */

  /* Count of grid-gaps at various breakpoints. */

  /* Width of the entire grid at various breakpoints. */

  /* Width of a grid column at various breakpoints */

  /* Layout helpers */ /* Black */ /* Black 1 */ /* Black 2 */ /* Black 3 */ /* Gray Dark */ /* Gray medium */ /* Gray medium 1 */ /* Gray medium 2 */ /* Black 4 */ /* Gray light */ /* Gray light 1 */ /* Gray light 2 */ /* Blue dark 2 */ /* Blue medium */ /* Blue bright */ /* Blue bright 5 */ /* White */ /* Red */ /* Gold */ /* Green */ /* middle green */ /* light green */ /* dark green */ /* text color */
  
  /*
  $middle-green: #69aa41;
  $dark-green  : #376437;
  $light-green : #BECD2D;
  $dark-grey   : #555555;

  $color-primary: #286090;
  $color-danger : #c9302c;
  $text-color: #58595b;
  */

  /* Shadows */

  /* Radius */

  /* Outlines */

  /* Header */

  /* Width of slide out navigation */

  /* Border radius */

  /* Form */
}

[dir="ltr"] .primary-nav__button-toggle {
  padding-left: 0
}

[dir="rtl"] .primary-nav__button-toggle {
  padding-right: 0
}

[dir="ltr"] .primary-nav__button-toggle {
  padding-right: 0
}

[dir="rtl"] .primary-nav__button-toggle {
  padding-left: 0
}

.primary-nav__button-toggle {
  position: relative;
  overflow: hidden;
  width: 36px;
  height: 36px;
  margin-top: 2px; /* Visually align button with menu link text. */
  padding-top: 0;
  padding-bottom: 0;
  cursor: pointer;
  text-indent: -999px;
  border: 0;
  background: transparent;
  -webkit-appearance: none
}

.primary-nav__button-toggle .icon--menu-toggle {
    position: absolute;
    /* stylelint-disable csstools/use-logical */
    top: 50%;
    left: 50%;
    /* stylelint-enable csstools/use-logical */
    width: 16px;
    height: 16px;
    transition: background-color 0.2s;
    transform: translate(-50%, -50%);
    border-radius: 2px
  }

.primary-nav__button-toggle .icon--menu-toggle:before,
    .primary-nav__button-toggle .icon--menu-toggle:after {
      position: absolute;
      /* stylelint-disable csstools/use-logical */
      top: 50%;
      left: 50%;
      /* stylelint-enable csstools/use-logical */
      width: 18px;
      height: 0;
      content: "";
      transform: translate(-50%, -50%);
      /* Intentionally not using CSS logical properties. */
      border-top: solid 3px #69aa41;
    }

.primary-nav__button-toggle .icon--menu-toggle:after {
      transition: opacity 0.2s;
      transform: translate(-50%, -50%) rotate(90deg);
    }

.primary-nav__button-toggle[aria-expanded="true"] .icon--menu-toggle:after {
    opacity: 0;
  }

.primary-nav__button-toggle {

  /* aria-hidden attribute is removed by JS. Button is non-functional
     until JS is enabled.
  */
}

.primary-nav__button-toggle[aria-hidden="true"] {
    pointer-events: none;
  }

@media (min-width: 1200px) {
    [dir="ltr"] body:not(.is-always-mobile-nav) .primary-nav__button-toggle {
      margin-right: -36px
  }
    [dir="rtl"] body:not(.is-always-mobile-nav) .primary-nav__button-toggle {
      margin-left: -36px
  }
    body:not(.is-always-mobile-nav) .primary-nav__button-toggle {
      flex-shrink: 0;
      -ms-grid-row-align: stretch;
          align-self: stretch;
      width: 44px;
      height: auto;
      margin-top: 0
    }

      body:not(.is-always-mobile-nav) .primary-nav__button-toggle:focus {
        border: 0;
        outline: 0
      }

        body:not(.is-always-mobile-nav) .primary-nav__button-toggle:focus .icon--menu-toggle {
          border: solid 1px transparent;
          background-color: #69aa41
        }

          body:not(.is-always-mobile-nav) .primary-nav__button-toggle:focus .icon--menu-toggle:after {
            border-color: #fff;
          }

      body:not(.is-always-mobile-nav) .primary-nav__button-toggle:active {
        /* Necessary for Safari. */
        color: currentColor;
      }

      body:not(.is-always-mobile-nav) .primary-nav__button-toggle[aria-expanded="true"] .icon--menu-toggle:after {
        opacity: 0.8;
      }

      [dir="ltr"] body:not(.is-always-mobile-nav) .primary-nav__button-toggle .icon--menu-toggle {
        left: 3px
  }

      [dir="rtl"] body:not(.is-always-mobile-nav) .primary-nav__button-toggle .icon--menu-toggle {
        right: 3px
  }

      body:not(.is-always-mobile-nav) .primary-nav__button-toggle .icon--menu-toggle {
        transform: translateY(-50%)
      }

        body:not(.is-always-mobile-nav) .primary-nav__button-toggle .icon--menu-toggle:before {
          content: none;
        }

        body:not(.is-always-mobile-nav) .primary-nav__button-toggle .icon--menu-toggle:after {
          /* stylelint-disable csstools/use-logical */
          top: calc(50% - 2px);
          left: 3px;
          /* stylelint-enable csstools/use-logical */
          width: 8px;
          height: 8px;
          content: "";
          transform: translateY(-50%) rotate(45deg);
          opacity: 0.8;
          /* Intentionally not using CSS logical properties. */
          border-top: none;
          border-right: solid 2px currentColor;
          border-bottom: solid 2px currentColor;
          background: transparent;
        }
  }
