/* N-036: provisional visual dimensions, pending Jens' visual acceptance. */
.widget_custom_html:has([data-maettig-back-to-top-loader]) { display: none !important; }
#kt-scroll-up, #kt-scroll-up-reader { display: none !important; }
#maettig-back-to-top {
  --maettig-top-gap: 24px;
  position: fixed;
  top: calc(var(--maettig-top-gap) + var(--maettig-top-obstruction, 0px) + env(safe-area-inset-top, 0px));
  right: calc(var(--maettig-top-gap) + env(safe-area-inset-right, 0px));
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  margin: 0;
  padding: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #006ab2;
  box-shadow: none;
  line-height: 1;
  cursor: pointer;
  appearance: none;
  transition: none;
  -webkit-tap-highlight-color: transparent;
}
#maettig-back-to-top[hidden] { display: none !important; }
#maettig-back-to-top:hover,
#maettig-back-to-top:focus,
#maettig-back-to-top:active { background: transparent; color: #006ab2; box-shadow: none; }
#maettig-back-to-top .maettig-back-to-top__face {
  display: flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  border: 1px dashed #006ab2;
  border-radius: 8px;
  background: #f1f5fb;
}
#maettig-back-to-top svg { display: block; width: 16px; height: 16px; fill: currentColor; }
#maettig-back-to-top:hover .maettig-back-to-top__face { border-style: solid; }
#maettig-back-to-top:focus { outline: none; }
#maettig-back-to-top:focus-visible .maettig-back-to-top__face {
  outline: 3px solid #006ab2;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #fff;
}
@media (max-width: 1199px) {
  #maettig-back-to-top {
    --maettig-top-gap: 16px;
    --maettig-safe-right: env(safe-area-inset-right, 0px);
    right: var(--maettig-mobile-right, 0px);
    width: var(--maettig-mobile-hit-width, 32px);
    min-width: 0;
    padding: 8px 0 0;
    align-items: flex-start;
    justify-content: flex-start;
  }
  #maettig-back-to-top .maettig-back-to-top__face {
    flex-basis: var(--maettig-mobile-face-size, 20px);
    width: var(--maettig-mobile-face-size, 20px);
    height: var(--maettig-mobile-face-size, 20px);
    margin-left: var(--maettig-mobile-face-left, 2px);
    border-radius: 5px;
  }
  #maettig-back-to-top svg { width: 12px; height: 12px; }
  #maettig-back-to-top:focus-visible .maettig-back-to-top__face {
    outline: 2px solid #006ab2;
    outline-offset: 0;
    box-shadow: none;
  }
}
