/*!
 * destyle.css v4.0.1 | MIT License | https://github.com/nicolas-cusan/destyle.css
 * Scoped to `.aag-layout` so the reset only affects AAG layouts,
 * not the rest of the Drupal site / admin UI.
 */

/* Reset box-model and set borders */
/* ============================================ */
.aag-layout *, .aag-layout ::before, .aag-layout ::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
  min-width: 0;
}
/* Document */
/* ============================================ */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */
.aag-layout {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
}
/* Sections */
/* ============================================ */
/**
 * Remove the margin in all browsers.
 */
.aag-layout {
  margin: 0;
}
/**
 * Render the `main` element consistently in IE.
 */
.aag-layout main {
  display: block;
}
/* Vertical rhythm */
/* ============================================ */
.aag-layout p, .aag-layout table, .aag-layout blockquote, .aag-layout address, .aag-layout pre, .aag-layout iframe, .aag-layout form, .aag-layout figure, .aag-layout dl {
  margin: 0;
}
/* Headings */
/* ============================================ */
.aag-layout h1, .aag-layout h2, .aag-layout h3, .aag-layout h4, .aag-layout h5, .aag-layout h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}
/* Lists (enumeration) */
/* ============================================ */
.aag-layout ul, .aag-layout ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Lists (definition) */
/* ============================================ */
.aag-layout dt {
  font-weight: bold;
}
.aag-layout dd {
  margin-left: 0;
}
/* Grouping content */
/* ============================================ */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
.aag-layout hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
.aag-layout pre {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}
.aag-layout address {
  font-style: inherit;
}
/* Text-level semantics */
/* ============================================ */
/**
 * Remove the gray background on active links in IE 10.
 */
.aag-layout a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}
/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
.aag-layout abbr[title] {
  text-decoration: underline dotted; /* 2 */
}
/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
.aag-layout b, .aag-layout strong {
  font-weight: bolder;
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
.aag-layout code, .aag-layout kbd, .aag-layout samp {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}
/**
 * Add the correct font size in all browsers.
 */
.aag-layout small {
  font-size: 80%;
}
/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
.aag-layout sub, .aag-layout sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
.aag-layout sub {
  bottom: -0.25em;
}
.aag-layout sup {
  top: -0.5em;
}
/* Replaced content */
/* ============================================ */
/**
 * Prevent vertical alignment issues.
 */
.aag-layout svg, .aag-layout img, .aag-layout embed, .aag-layout object, .aag-layout iframe {
  vertical-align: bottom;
}
/* Forms */
/* ============================================ */
/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */
.aag-layout button, .aag-layout input, .aag-layout optgroup, .aag-layout select, .aag-layout textarea {
  -webkit-appearance: none; /* 1 */
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit; /* 2 */
}
/**
 * Correct cursors for clickable elements.
 */
.aag-layout button, .aag-layout [type="button"], .aag-layout [type="reset"], .aag-layout [type="submit"] {
  cursor: pointer;
}
.aag-layout button:disabled, .aag-layout [type="button"]:disabled, .aag-layout [type="reset"]:disabled, .aag-layout [type="submit"]:disabled {
  cursor: default;
}
/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */
.aag-layout :-moz-focusring {
  outline: auto;
}
.aag-layout select:disabled {
  opacity: inherit;
}
/**
 * Remove padding
 */
.aag-layout option {
  padding: 0;
}
/**
 * Reset to invisible
 */
.aag-layout fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}
.aag-layout legend {
  padding: 0;
}
/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
.aag-layout progress {
  vertical-align: baseline;
}
/**
 * Remove the default vertical scrollbar in IE 10+.
 */
.aag-layout textarea {
  overflow: auto;
}
/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
.aag-layout [type="number"]::-webkit-inner-spin-button, .aag-layout [type="number"]::-webkit-outer-spin-button {
  height: auto;
}
/**
 * Correct the outline style in Safari.
 */
.aag-layout [type="search"] {
  outline-offset: -2px; /* 1 */
}
/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
.aag-layout [type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */
.aag-layout ::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}
/**
 * Fix appearance for Firefox
 */
.aag-layout [type="number"] {
  -moz-appearance: textfield;
}
/**
 * Clickable labels
 */
.aag-layout label[for] {
  cursor: pointer;
}
/* Interactive */
/* ============================================ */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
.aag-layout details {
  display: block;
}
/*
 * Add the correct display in all browsers.
 */
.aag-layout summary {
  display: list-item;
}
/*
 * Remove outline for editable content.
 */
.aag-layout [contenteditable]:focus {
  outline: auto;
}
/* Tables */
/* ============================================ */
/**
1. Correct table border color inheritance in all Chrome and Safari.
*/
.aag-layout table {
  border-color: inherit; /* 1 */
  border-collapse: collapse;
}
.aag-layout caption {
  text-align: left;
}
.aag-layout td, .aag-layout th {
  vertical-align: top;
  padding: 0;
}
.aag-layout th {
  text-align: left;
  font-weight: bold;
}
