/*
 * Application-owned viewer styles.
 * Keep project-specific fixes here; do not append them to AnyFlip vendor CSS.
 */

:root {
  background: #fff;
  color-scheme: light;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: #fff !important;
  background-color: #fff !important;
}

body {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

/* Static placeholder before the AnyFlip runtime initializes. */
#tmpLoading {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background: #fff !important;
  background-color: #fff !important;
}

/*
 * AnyFlip creates #bacgradient as the publication background and may change
 * its opacity and inject gradient/image/dynamic-background children at runtime.
 * The site only needs a plain white canvas, so disable those generated visual
 * layers and keep the background itself opaque white.
 */
#bacgradient {
  opacity: 1 !important;
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
  pointer-events: none;
}

#bacgradient > * {
  display: none !important;
}
