/*
 * Local replacement for the retired Hibu WIDGET_CSS resource.
 *
 * The original resource now returns HTTP 403. Hibu's page loader waits for
 * this link before enabling the runtime, site, and page stylesheets, so this
 * successful local stylesheet allows the remaining original CSS to load.
 *
 * The archived pages contain desktop-only header sizing. The mobile rules
 * below remove that fixed 768px canvas and stack page columns on phones.
 */

/*
 * Hibu gives the internal pages a taller header than the generated sticky
 * spacer. Keep the header in normal document flow so it can never cover the
 * first content row, regardless of viewport width or browser zoom.
 */
body#dmRoot #dm-outer-wrapper.hasStickyHeader .dmHeaderContainer.d-header-wrapper {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  transform: none !important;
}

body#dmRoot #dm #stickyHeaderSpacer {
  display: none !important;
  height: 0 !important;
}

@media (max-width: 767px) {
  body#dmRoot .dmInner,
  body#dmRoot #iscrollBody,
  body#dmRoot #site_content,
  body#dmRoot #dm #hcontainer,
  body#dmRoot #dm #hcontainer .dmHeaderResp,
  body#dmRoot #dm #hcontainer .dmRespRow,
  body#dmRoot #dm #hcontainer .dmRespColsWrapper,
  body#dmRoot #dm #dm_content,
  body#dmRoot #dm #dmFirstContainer,
  body#dmRoot #dm #dm_content .dmRespRowsWrapper,
  body#dmRoot #dm #dm_content .dmRespRow,
  body#dmRoot #dm #dm_content .dmRespColsWrapper,
  body#dmRoot #dm .dmFooterContainer,
  body#dmRoot #dm .dmFooterResp {
    box-sizing: border-box !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body#dmRoot #dm-outer-wrapper.hasStickyHeader .dmHeaderContainer.d-header-wrapper {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
  }

  body#dmRoot #dm #stickyHeaderSpacer {
    display: none !important;
    height: 0 !important;
  }

  body#dmRoot #dm #hcontainer .dmRespColsWrapper,
  body#dmRoot #dm #dm_content .dmRespColsWrapper {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  body#dmRoot #dm #hcontainer .u_1436922825 {
    padding: 10px !important;
  }

  body#dmRoot #dm #hcontainer .u_1436922825 > .dmRespColsWrapper > .dmRespCol {
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 5px !important;
  }

  body#dmRoot #dm #hcontainer .u_1436922825 > .dmRespColsWrapper > .u_1992958820 {
    order: -1 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    padding: 0 !important;
  }

  body#dmRoot #dm #hcontainer .u_1436922825 > .dmRespColsWrapper > .u_1457608691,
  body#dmRoot #dm #hcontainer .u_1436922825 > .dmRespColsWrapper > .u_1562445218,
  body#dmRoot #dm #hcontainer .u_1436922825 > .dmRespColsWrapper > .u_1568637210 {
    flex: 0 0 33.333% !important;
    width: 33.333% !important;
    text-align: center !important;
  }

  body#dmRoot #dm #hcontainer .u_1436922825 .u_1939143293 {
    display: block !important;
    width: 200px !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  body#dmRoot #dm #hcontainer .u_1436922825 .dmNewParagraph {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  body#dmRoot #dm #hcontainer .u_1436922825 .dmNewParagraph * {
    font-size: inherit !important;
    line-height: inherit !important;
  }

  body#dmRoot #dm #hcontainer .u_1436922825 a {
    font-size: 17px !important;
    line-height: 1.25 !important;
  }

  body#dmRoot #dm #hcontainer .u_1801609181 nav.u_1111782016 {
    min-width: 0 !important;
    width: 100% !important;
    padding: 4px !important;
  }

  body#dmRoot #dm #hcontainer .u_1111782016 > .unifiednav__container:not([data-depth]) {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    width: 100% !important;
  }

  body#dmRoot #dm #hcontainer .u_1111782016 > .unifiednav__container:not([data-depth]) > .unifiednav__item-wrap > .unifiednav__item {
    padding: 7px 8px !important;
    font-size: 13px !important;
  }

  body#dmRoot #dm #hcontainer .u_1111782016 .unifiednav__container[data-depth] {
    z-index: 1000 !important;
  }

  body#dmRoot #dm #dm_content .dmRespRow {
    height: auto !important;
    min-height: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body#dmRoot #dm #dm_content .dmRespColsWrapper {
    height: auto !important;
  }

  body#dmRoot #dm #dm_content .dmRespColsWrapper > .dmRespCol {
    box-sizing: border-box !important;
    float: none !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  body#dmRoot #dm #dm_content .imageWidget,
  body#dmRoot #dm #dm_content .imageWidget img,
  body#dmRoot #dm #dm_content img {
    max-width: 100% !important;
    height: auto !important;
  }

  body#dmRoot #dm #dm_content .dmNewParagraph,
  body#dmRoot #dm .dmFooterContainer,
  body#dmRoot #dm .dmFooterContainer * {
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
}
