.full-size {
  width: 100%;
  height: 100%;
}

.alert {
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 10px;
}

.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}

.fb3d-default-page {
  z-index: 1;
}

.fb3d-button {
  display: inline-block;
  font-size: 13px;
  margin: 0;
  cursor: pointer;
  border-width: 1px;
  border-style: solid;
  border-radius: 3px;
  white-space: nowrap;
  box-sizing: border-box;

  min-height: 32px;
  line-height: 2.30769231;
  padding: 0 12px;

  color: #fff;
  background: #007cba;
  border-color: #007cba;

  text-decoration: none;
  text-shadow: none;
}

a.fb3d-button, a.fb3d-button:visited {
  color: #fff;
}

.fb3d-button:focus,
.fb3d-button:hover {
	background: #0071a1;
	border-color: #0071a1;
	color: #fff
}

.fb3d-button:focus {
	box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba
}

.fb3d-button:active {
	background: #00669b;
	border-color: #00669b;
	box-shadow: none;
	color: #fff
}

table.fb3d-categories td {
  text-align: center;
}
table.fb3d-categories h3 {
  text-align: left;
}
@media (max-width: 599px) {
  table.fb3d-categories .fb3d-categories tr, .fb3d-categories td {
    display: block;
  }
}

._3d-flip-book a, .fb3d-link-lightbox-mode {
  cursor: pointer;
}

.fb3d-thumbnail-lightbox-mode, .fb3d-thumbnail-mode {
  position: relative;
  display: inline-block;
  line-height: 0;
}

._3d-flip-book .book-thumbnail {
  display: inline-block;
  transition: box-shadow .25s ease-in-out;
}

._3d-flip-book .book-thumbnail>a {
  -webkit-transform-style: flat;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-perspective: 1200px;
  -moz-perspective: 1200px;
  perspective: 1200px;
  display: inline-block;
}

._3d-flip-book:hover .book-thumbnail {
  box-shadow: 0 0 7px rgba(0,0,0,0.5);
}

._3d-flip-book:active .book-thumbnail {
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
  transition: box-shadow .15s ease-in-out;
}

._3d-flip-book .book-thumbnail img {
  border-radius: 0;
  -webkit-transform-origin: left;
  transform-origin: left;
  transition: transform .25s;
}

._3d-flip-book:hover .book-thumbnail img {
  -webkit-transform: rotateY(-20deg) rotateZ(0deg);
  -moz-transform: rotateY(-20deg) rotateZ(0deg);
  -ms-transform: rotateY(-20deg) rotateZ(0deg);
  transform: rotateY(-20deg) rotateZ(0deg);
}

._3d-flip-book:active .book-thumbnail img {
  -webkit-transform: rotateY(-17deg) rotateZ(0deg);
  -moz-transform: rotateY(-17deg) rotateZ(0deg);
  -ms-transform: rotateY(-17deg) rotateZ(0deg);
  transform: rotateY(-17deg) rotateZ(0deg);
  transition: transform .15s;
}

.fb3d-thumbnail-lightbox-mode .book-heading, .fb3d-thumbnail-mode .book-heading {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.fb3d-thumbnail-lightbox-mode .book-heading h3, .fb3d-thumbnail-mode .book-heading h3 {
  box-sizing: border-box;
  position: absolute;
  width: 100%;
  margin: 0;
  padding: 5px;
  font-weight: normal;
  font-size: 14px;
  line-height: 120%;
  color: #fff;
  text-decoration: none;
  z-index: 1;
  background: rgba(60, 60, 60, 0.8);
  bottom: -100%;
  transition: bottom .3s ease .2s;
}

.fb3d-thumbnail-lightbox-mode:hover .book-heading h3, .fb3d-thumbnail-mode:hover .book-heading h3 {
  bottom: 5px;
  transition-delay: 0s;
}

._3d-flip-book.fb3d-fix-title .book-heading h3 {
  bottom: 5px;
}

.fb3d-thumbnail-lightbox-mode .book-heading h3 a {
  color: #fff;
  text-decoration: none;
}

._3d-flip-book.fb3d-fs-dark .fullscreen {
  background-image: url('../images/texture.jpg');
}

._3d-flip-book.fb3d-fs-light .fullscreen {
  background-image: url('../images/inverse-texture.jpg');
}

._3d-flip-book .fullscreen {
  background-image: url('../images/texture.jpg');
}

.fb3d-h-100 {
  height: 100px;
}

.fb3d-h-200 {
  height: 200px;
}

.fb3d-h-300 {
  height: 300px;
}

.fb3d-h-400 {
  height: 400px;
}

.fb3d-h-500 {
  height: 500px;
}

.fb3d-h-600 {
  height: 600px;
}

.fb3d-h-700 {
  height: 700px;
}

.fb3d-h-800 {
  height: 800px;
}

.fb3d-h-900 {
  height: 900px;
}

.fb3d-h-1000 {
  height: 1000px;
}


/*Lightbox Effect*/

.fb3d-modal-shadow {
  overflow: hidden;
}

.fb3d-modal {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(0,0,0,.5);
  z-index: 500001;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s, visibility 0.5s step-end;
}
.fb3d-modal.visible {
  pointer-events: all;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s;
}

.fb3d-modal .mount-container {
  position: absolute;
  z-index: 1;
}
.fb3d-modal.dark .mount-container, .fb3d-modal.light .mount-container {
  width: 95%;
  height: 95%;
  left: calc(5% / 2);
  top: calc(5% / 2);
  box-shadow: 0 0 5px rgba(255,255,255,.5);
}
.fb3d-modal.dark-shadow .mount-container, .fb3d-modal.light-shadow .mount-container {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}
.fb3d-modal.dark .mount-container, .fb3d-modal.dark-shadow .mount-container {
  background-color: rgba(0,0,0,.5);
}
.fb3d-modal.light .mount-container, .fb3d-modal.light-shadow .mount-container {
  background-color: rgba(255,255,255,.5);
}
.light .mount-container.fullscreen, .light-shadow .mount-container.fullscreen {
  background-image: url('../images/inverse-texture.jpg');
}
.dark .mount-container.fullscreen, .dark-shadow .mount-container.fullscreen {
  background-image: url('../images/texture.jpg');
}

.fb3d-modal .cmd-close {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: bolder;
  color: #ccc;
  position: absolute;
  right: 10px;
  top: 8px;
  z-index: 2;
  cursor: pointer;
  transition: color .15s ease-in;
}
.fb3d-modal.dark .cmd-close, .fb3d-modal.light .cmd-close {
  right: calc(5% / 2 + 10px);
  top: calc(5% / 2 + 8px);
}
.fb3d-modal.light .cmd-close, .fb3d-modal.light-shadow .cmd-close {
  color: #555;
}
.fb3d-modal .cmd-close:hover {
  color: #eee;
  transition: color .15s ease-out;
}
.fb3d-modal.light .cmd-close:hover, .fb3d-modal.light-shadow .cmd-close:hover {
  color: #111;
}
.fb3d-modal .cmd-close:active {
  font-size: 22px;
  padding-top: 1px;
  padding-right: 1px;
}


/* ==========================================================================
   Bookzooka — front-end refresh
   ========================================================================== */

.fbs-embedded {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 20, 32, .06), 0 10px 30px rgba(16, 20, 32, .10);
}
/* Transparent stage: no frame, the book sits directly on the page */
/* Auto-height viewers follow the wide page shape, which is far too short on a
   phone. Give the single-page book, toolbar and panels real room there. */
@media (max-width: 782px) {
  .fbs-book.full-size:not(.fbs-embed-book) {
    height: clamp(460px, 82vh, 900px) !important;
    height: clamp(460px, 82svh, 900px) !important;
  }
}

.fbs-embedded.fbs-bg-transparent, .fbs-bg-transparent .fbs-embedded {
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

/* Book covers (thumbnail modes) */
._3d-flip-book .book-thumbnail {
  border-radius: 4px 10px 10px 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 8px 24px rgba(0, 0, 0, .14);
  transition: box-shadow .35s cubic-bezier(.2, .7, .2, 1), transform .35s cubic-bezier(.2, .7, .2, 1);
  position: relative;
}
._3d-flip-book .book-thumbnail::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .18) 0, rgba(255, 255, 255, .18) 2.5%, rgba(0, 0, 0, 0) 6%, rgba(0, 0, 0, 0) 100%);
}
._3d-flip-book .book-thumbnail img {
  border-radius: 4px 10px 10px 4px;
  display: block;
}
._3d-flip-book:hover .book-thumbnail {
  box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 18px 40px rgba(0, 0, 0, .22);
  transform: translateY(-4px);
}
._3d-flip-book:active .book-thumbnail {
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 8px 20px rgba(0, 0, 0, .18);
  transform: translateY(-1px);
}
.fb3d-thumbnail-lightbox-mode .book-heading h3, .fb3d-thumbnail-mode .book-heading h3 {
  left: 8px;
  right: 8px;
  width: auto;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(17, 19, 26, .78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.fb3d-thumbnail-lightbox-mode:hover .book-heading h3, .fb3d-thumbnail-mode:hover .book-heading h3,
._3d-flip-book.fb3d-fix-title .book-heading h3 {
  bottom: 8px;
}

/* Studio lightboxes */
.fb3d-modal.studio-blur, .fb3d-modal.studio-dim {
  transition: opacity .35s ease, visibility .35s step-end;
}
.fb3d-modal.studio-blur.visible, .fb3d-modal.studio-dim.visible {
  transition: opacity .35s ease;
}
.fb3d-modal.studio-blur {
  background-color: rgba(10, 12, 18, .55);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}
.fb3d-modal.studio-dim {
  background-color: rgba(8, 9, 12, .86);
}
.fb3d-modal.studio-blur .mount-container, .fb3d-modal.studio-dim .mount-container {
  width: calc(100% - 48px);
  height: calc(100% - 92px);
  left: 24px;
  top: 68px;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  transform: scale(.98);
  transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}
.fb3d-modal.visible .mount-container {
  transform: none;
}
.fb3d-modal.studio-blur .cmd-close, .fb3d-modal.studio-dim .cmd-close {
  right: 24px;
  top: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 0;
  color: #fff;
  background: rgba(20, 22, 28, .7) no-repeat center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
  transition: background-color .15s, transform .15s;
}
.fb3d-modal.studio-blur .cmd-close:hover, .fb3d-modal.studio-dim .cmd-close:hover {
  background-color: rgba(40, 43, 52, .9);
  transform: scale(1.06);
}
.fb3d-modal.studio-blur .cmd-close:active, .fb3d-modal.studio-dim .cmd-close:active {
  font-size: 0;
  padding: 0;
  transform: scale(.96);
}
@media (max-width: 600px) {
  .fb3d-modal.studio-blur .mount-container, .fb3d-modal.studio-dim .mount-container {
    width: 100%;
    height: calc(100% - 56px);
    left: 0;
    top: 56px;
    border-radius: 0;
  }
  .fb3d-modal.studio-blur .cmd-close, .fb3d-modal.studio-dim .cmd-close {
    right: 12px;
    top: 9px;
  }
}