/*
Small Lake City 2.16.30
ADMIN BAR POSITION AUTHORITY REPAIR ONLY.
No Home Catalog content/layout/assets are modified.
*/

/*
A transformed/filtered/perspective root can cause position:fixed descendants
to behave as though they are positioned inside page flow. Remove those containing
blocks from the document roots only.
*/
html,
body {
  transform: none !important;
  filter: none !important;
  perspective: none !important;
  backdrop-filter: none !important;
}

/* WordPress's injected margin compensation is replaced by one body padding offset. */
html {
  margin-top: 0 !important;
}

body.admin-bar {
  margin-top: 0 !important;
}

/* Give the actual WordPress toolbar absolute authority over its viewport position. */
html body #wpadminbar {
  display: block !important;
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  width: 100vw !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  translate: none !important;
  filter: none !important;
  perspective: none !important;
  z-index: 2147483647 !important;
  float: none !important;
  clear: none !important;
  overflow: visible !important;
}

/* Exactly one offset for logged-in visitors. */
@media screen and (min-width: 783px) {
  html body.admin-bar {
    padding-top: 32px !important;
  }
  html body #wpadminbar {
    height: 32px !important;
    min-height: 32px !important;
  }
}

@media screen and (max-width: 782px) {
  html body.admin-bar {
    padding-top: 46px !important;
  }
  html body #wpadminbar {
    height: 46px !important;
    min-height: 46px !important;
  }
}

/* Defensive rule: a toolbar may never remain nested inside the catalog. */
#slc21626-catalog > #wpadminbar,
#slc21626-catalog #wpadminbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
}
