/**
 * resets
 */
*,
*:before,
*:after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
body {
  margin: 0;
  background-color: #eee;
  color: #000;
  font-family: sans-serif;
  font-size: 0.75rem;
}
p {
  margin: 0;
}
p + p {
  margin-top: 1rem;
}
button {
  display: inline-block;
  outline: none;
  border: 1px solid #000;
  border-radius: 0.25rem;
  background-color: #fff;
  margin: 0;
  padding: 0.25rem 0.5rem;
  color: #000;
  white-space: nowrap;
  text-decoration: none;
  font-size: 0.75rem;
  cursor: pointer;
}
button:active {
  transform: translateY(1px);
}
button[disabled],
button[disabled="disabled"] {
  opacity: 0.5;
  cursor: default;
}
button[disabled]:active,
button[disabled="disabled"]:active {
  transform: none;
}
button.primary {
  background-color: #000;
  font-weight: bold;
  color: #fff;
}
/**
 * general classes
 */
.hidden {
  display: none !important;
}
.warn {
  color: #c00;
}
.control {
  overflow: hidden;
  border-bottom: 1px solid #999;
  padding: 0.5rem;
  white-space: nowrap;
}
.control > * {
  vertical-align: middle;
}
.control > .status {
  margin: 0 0.25rem;
}
.control input[type='radio'] {
  vertical-align: -2px;
}
.editor {
  position: relative;
  width: 100%;
  overflow-y: scroll;
}
/**
 * specific stuff
 */
#header {
  background-color: #000;
  padding: 0.5rem;
  color: #fff;
}
#header > h1 {
  margin: 0 0 0.5rem 0;
  line-height: 1.5;
  font-size: 1rem;
}
#header > h1 > small {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  font-weight: normal;
}
#header a {
  color: inherit;
}
#main {
  position: relative;
  user-select: none;
}
#index {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  border-right: 1px solid #999;
}
#index .item {
  background-color: #fff;
  border: 1px solid #999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.5rem;
  padding: 0.5rem;
  font-size: 1rem;
  cursor: move;
}
#index .item[data-type="cover"] {
  opacity: 0.75;
  cursor: default;
}
#index .item.selected {
  border-color: #000;
}
#index .item-ghost {
  background-color: transparent;
  border: 1px dashed #999 !important;
}
#index .item-ghost > * {
  visibility: hidden;
}
#browser {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
}
#browser .thumbs {
  display: grid;
  justify-items: start;
  grid-gap: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  padding: 0.5rem;
}
#browser .thumb {
  width: 10rem;
  height: 12rem;
}
#browser .thumb > img {
  background-color: #fff;
  display: block;
  margin: 0 auto;
  width: 100%;
  height: 10rem;
  object-fit: contain;
  border: 1px solid #999;
}
#browser .thumb > span {
  display: block;
  width: 100%;
  height: 2rem;
  overflow: hidden;
  line-height: 2rem;
  text-align: center;
  white-space: normal;
}
#browser .hint {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#browser .hint > span {
  display: block;
  margin: 0.5rem;
  text-align: center;
}
#preview {
  background-color: #eee;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  user-select: none;
}
#preview > .close {
  display: inline-block;
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}
#preview > .editor {
  overflow: hidden;
}
#preview .desk {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
#preview .book {
  background-color: #fff;
  width: auto;
  height: calc(100% - 6rem);
  display: flex;
  flex-flow: row nowrap;
  box-shadow: 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.5);
}
#preview .cover,
#preview .page {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
}
#preview .cover > img,
#preview .page > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#preview .page {
  width: 50%;
}
#preview .page::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
}
#preview .page.left::after {
  box-shadow: -2rem 0 2rem -2rem rgba(0, 0, 0, 0.5) inset;
}
#preview .page.right::after {
  box-shadow: 2rem 0 2rem -2rem rgba(0, 0, 0, 0.5) inset;
}
#preview .title {
  position: absolute;
  top: 0;
  left: 0;
  margin-top: -3rem;
  width: 100%;
  height: 3rem;
  overflow: hidden;
  padding: 0 0.5rem;
  line-height: 3rem;
  text-align: center;
}
#preview .nombre {
  position: absolute;
  bottom: 0;
  left: 0;
  margin-bottom: -3rem;
  width: 100%;
  height: 3rem;
  line-height: 3rem;
  text-align: center;
}
#preview .flippers {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-flow: row nowrap;
}
#preview .flipper {
  width: 50%;
  height: 100%;
  padding: 0 1rem;
  font-size: 4rem;
  line-height: calc(100vh - 4rem);
  cursor: default;
  opacity: 0.25;
}
#preview .flipper:hover {
  opacity: 1;
}
#preview .flipper.right {
  right: 0;
  text-align: right;
}
#blocker {
  background-color: #eee;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  text-align: center;
  line-height: 100vh;
  white-space: nowrap;
  user-select: none;
}
#debugger {
  position: fixed;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 0.5rem;
  background-color: #000000;
  color: #0f0;
  opacity: 0.75;
}
/*# sourceMappingURL=app-2021.1.14.css.map */