@charset "UTF-8";
:root {
  --main-font: "Poppins", Arial, sans-serif;
  --accent-color: #27348b;
  --book-cover-second-btn-color: #f1f1ee;
  --book-cover-second-btn-hover-color: #f1f1ee;
  --book-cover-second-btn-hover-text-color: black;
  --book-action-second-color: black;
  --book-view-bg-color: #f1f1ee;
  --card-color: #f1f1ee;
  --highlight-color: rgba(35,60,137,0.32);
  --highlight-low-color: rgba(214, 217, 255, 0.32);
  --hover-element-color: rgba(178, 186, 238, 0.25);
  --import-bg-color: #5e67a9;
  --import-font-color: #fff;
  --nav-bar-home-bg-color: #27348b;
  --nav-bar-home-button-background-color: #fff;
  --nav-bar-home-font-color: #fff;
  --pagination-bar-bg-color: #939ac5;
  --pagination-bar-highlight-color: #27348b;
  --primary-btn-color: #5e67a9;
  --primary-btn-hover-color: #5e67a9;
  --read-bar-bg-color: #5e67a9;
  --read-bar-btn-color: #939ac5;
  --read-bar-btn-hover-color: #939ac5;
  --read-bar-btn-text-color: white;
  --read-bar-font-color: #fff;
  --read-panel-bg-color: #939ac5;
  --reader-menu-section-header: #939ac5;
  --secondary-btn-color: #939ac5;
  --secondary-btn-text-color: #fff;
  --special-btn-color: #9a294e;
  --shelf-bg-color: #939ac5;
  --shelf-btn-bg-color: #5e67a9;
  --shelf-color: #f1f1ee;
  --shelf-font-color: #fff;
  --shelf-text-color: #5e67a9;
}

@font-face {
  font-family: "icons";
  src: url("../assets/fonts/icons-21117f2646aadb3d9d687f5987ca15e9.eot");
  src: url("../assets/fonts/icons-21117f2646aadb3d9d687f5987ca15e9.eot") format("embedded-opentype"), url("../assets/fonts/icons-737cce80cd42ce7f1bd4f10e4f906a57.woff2") format("woff2"), url("../assets/fonts/icons-ebb2c94af66e9c467d5130835833682b.woff") format("woff"), url("../assets/fonts/icons-bf1c70520ca6660677ba41f13378aa37.ttf") format("truetype"), url("../assets/fonts/icons-5840b28b0779b515eb92cc7a99891696.svg#icons") format("svg");
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'icons';
    src: url('../font/icons.svg?16962749#icons') format('svg');
  }
}
*/
[class^=icon-]:before, [class*=" icon-"]:before {
  font-family: "icons";
  font-style: normal;
  font-weight: normal;
  speak: never;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: 0.2em;
  text-align: center;
  /* opacity: .8; */
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: 0.2em;
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.icon-warning:before {
  content: "!";
}

/* '!' */
.icon-menu:before {
  content: "#";
}

/* '#' */
.icon-happy:before {
  content: ")";
}

/* ')' */
.icon-plus:before {
  content: "+";
}

/* '+' */
.icon-font-minus:before {
  content: "-";
}

/* '-' */
.icon-sad:before {
  content: "/";
}

/* '/' */
.icon-refresh:before {
  content: "0";
}

/* '0' */
.icon-parameters:before {
  content: "8";
}

/* '8' */
.icon-ticket:before {
  content: ":";
}

/* ':' */
.icon-previous:before {
  content: "<";
}

/* '<' */
.icon-switch:before {
  content: "=";
}

/* '=' */
.icon-next:before {
  content: ">";
}

/* '>' */
.icon-help:before {
  content: "?";
}

/* '?' */
.icon-digital-library:before {
  content: "B";
}

/* 'B' */
.icon-cloud-user:before {
  content: "C";
}

/* 'C' */
.icon-doc-text:before {
  content: "E";
}

/* 'E' */
.icon-search:before {
  content: "F";
}

/* 'F' */
.icon-eye-off:before {
  content: "H";
}

/* 'H' */
.icon-book-open:before {
  content: "O";
}

/* 'O' */
.icon-settings:before {
  content: "Q";
}

/* 'Q' */
.icon-ereader:before {
  content: "R";
}

/* 'R' */
.icon-eye:before {
  content: "S";
}

/* 'S' */
.icon-tags:before {
  content: "T";
}

/* 'T' */
.icon-user:before {
  content: "U";
}

/* 'U' */
.icon-ok:before {
  content: "V";
}

/* 'V' */
.icon-cancel:before {
  content: "X";
}

/* 'X' */
.icon-up:before {
  content: "^";
}

/* '^' */
.icon-info:before {
  content: "i";
}

/* 'i' */
.icon-down:before {
  content: "v";
}

/* 'v' */
.icon-nocloud:before {
  content: "x";
}

/* 'x' */
.icon-link-ext:before {
  content: "͡";
}

/* '͡' */
.icon-fullscreen:before {
  content: "Ϳ";
}

/* 'Ϳ' */
.icon-exitfullscreen:before {
  content: "֎";
}

/* '֎' */
.icon-sendto:before {
  content: "→";
}

/* '→' */
.icon-gift:before {
  content: "♣";
}

/* '♣' */
.icon-heart:before {
  content: "❤";
}

/* '❤' */
.icon-load:before {
  content: "";
}

/* '' */
.icon-highlight:before {
  content: "";
}

/* '' */
.icon-collapse:before {
  content: "";
}

/* '' */
.icon-toc:before {
  content: "";
}

/* '' */
.icon-annotate:before {
  content: "";
}

/* '' */
.icon-lock:before {
  content: "";
}

/* '' */
.icon-pencil:before {
  content: "";
}

/* '' */
.icon-expand:before {
  content: "";
}

/* '' */
.icon-font-download:before {
  content: "";
}

/* '' */
.icon-download-cloud:before {
  content: "";
}

/* '' */
.icon-font-plus:before {
  content: "";
}

/* '' */
.icon-cloud-upload:before {
  content: "";
}

/* '' */
.icon-cart:before {
  content: "";
}

/* '' */
.icon-home:before {
  content: "";
}

/* '' */
.icon-heart-empty:before {
  content: "";
}

/* '' */
.icon-download:before {
  content: "";
}

/* '' */
.icon-cloud-download:before {
  content: "";
}

/* '' */
.icon-bookmark:before {
  content: "";
}

/* '' */
.icon-bookmark-empty:before {
  content: "";
}

/* '' */
.icon-close:before {
  content: "";
}

/* '' */
.icon-book:before {
  content: "";
}

/* '' */
.icon-trash:before {
  content: "";
}

/* '' */
.animate-spin {
  align-items: center;
  animation: spin 2s infinite linear;
  display: flex;
  justify-content: center;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}
.animate-fadeIn {
  animation: fadeIn 250ms 1 ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.translating-to-right {
  animation: translating 2s linear infinite;
}

@keyframes translating {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}
@keyframes bgChange {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
@keyframes pulse {
  25% {
    opacity: 0.2;
  }
  100% {
    transform: scale(1);
  }
}
@keyframes fullSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 50px 50px;
  }
}
@keyframes indeterminate {
  0% {
    left: -35%;
    right: 100%;
  }
  60% {
    left: 100%;
    right: -90%;
  }
  100% {
    left: 100%;
    right: -90%;
  }
}
/* Application CSS */
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/poppins-v9-latin-regular-1a280523d375e9358d5229df34fc8e94.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/poppins-v9-latin-700-e535f7856b24153e0f3146e8f90a45c5.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "OpenSans";
  src: url("../assets/fonts/OpenSans-Regular-3eb5459d91a5743e0deaf2c7d7896b08.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "OpenSans";
  src: url("../assets/fonts/OpenSans-Italic-07cd1acf656521af831f0a37e304c5bb.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: "OpenSans";
  src: url("../assets/fonts/OpenSans-SemiBold-af0b2118d34dcaf6e671ee67cf4d5be2.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "OpenSans";
  src: url("../assets/fonts/OpenSans-Bold-5bc6b8360236a197d59e55f72b02d4bf.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url("../assets/fonts/SourceSansPro-Regular-c1678b46f7dd3f50ceac94ed4e0ad01a.ttf") format("ttf");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url("../assets/fonts/SourceSansPro-Bold-8669b8706bbbdd1482e2fccc4ed96850.ttf") format("ttf");
  font-weight: bold;
  font-style: normal;
}
html, body, main {
  font-size: 100%;
  height: 100%;
  margin: 0;
}

*, *:before, *:after {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

body {
  background-color: #fff;
  font-family: var(--main-font);
  font-size: 1.2rem;
  overflow-x: hidden;
  width: 100%;
}

main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

input[type=text], input[type=password], input[type=email] {
  background-color: white;
  border: 1px solid #8f8f8f;
  border-radius: 0.2rem;
  font-family: var(--main-font);
  outline: 0;
  min-width: 10rem;
}

input:focus, input:active {
  outline-color: #68a99c;
  outline-offset: -2px;
  outline-style: auto;
  outline-width: 5px;
}

.underline {
  border-bottom: 2px solid #979797;
  color: inherit;
  display: inline-block;
  font-family: var(--main-font);
  line-height: 1.4;
  text-decoration: none;
}
.underline:hover {
  border-bottom-color: var(--accent-color);
}

.bold {
  font-family: var(--main-font);
  font-weight: bold;
}

.btn {
  border: none;
  background-color: #8f8f8f;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  color: white;
  cursor: default;
  font-family: var(--main-font);
  font-size: 0.85rem;
  height: 2.4em;
  line-height: 2.4em;
  margin: 0.6em 0.8em;
  min-width: 8em;
  outline: 0;
  padding: 0 0.6em;
  text-align: center;
  text-decoration: none;
  transition: all 200ms ease-in-out;
  white-space: nowrap;
}
.btn:hover {
  opacity: 0.9;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
}
.btn [class^=icon-] {
  font-size: 1em;
}

.btn:disabled, .disabled {
  cursor: auto;
  opacity: 0.5;
}
.btn:disabled:hover, .disabled:hover {
  opacity: 0.5;
  box-shadow: none;
}

.btn-primary {
  background-color: var(--primary-btn-color);
  color: #fff;
}
.btn-primary:hover {
  background-color: var(--primary-btn-hover-color);
}

.btn-secondary {
  background-color: var(--secondary-btn-color);
  color: var(--secondary-btn-text-color);
}

.btn-critic {
  background-color: #d8161a;
  color: #fff;
}

.btn-icon {
  align-items: center;
  background: none;
  border: 0;
  color: #060606;
  display: flex;
  font-family: var(--main-font);
  font-size: 0.8rem;
  line-height: 1.2rem;
  outline: 0;
  padding: 0 0.2rem 0 0;
  text-decoration: none;
}
.btn-icon [class^=icon-] {
  font-size: 1.2rem;
}
.btn-icon:hover {
  text-decoration: underline;
}

.btn-icon-label {
  white-space: nowrap;
}

.btn-link {
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  padding: 0;
  outline: 0;
  text-decoration: underline;
}

.btn-logo {
  align-items: center;
  background-color: white;
  display: flex;
  justify-content: center;
}

.btn-round, .btn-icon-up {
  align-items: center;
  background: none;
  border: none;
  color: white;
  display: flex;
  flex-direction: column;
  font-family: var(--main-font);
  font-size: 0.8rem;
  justify-content: center;
  margin: 0 0.5em 0 0;
  outline: 0;
  text-decoration: none;
}
.btn-round:hover, .btn-icon-up:hover {
  transform: scale(1.05);
}
.btn-round [class^=icon-], .btn-icon-up [class^=icon-] {
  color: #000;
  background-color: var(--nav-bar-home-button-background-color);
  border-radius: 0.8em;
  font-size: 1.7em;
  height: 1.6em;
  line-height: 1.6em;
  margin-bottom: 0.1em;
  text-align: center;
  width: 1.6em;
}
.btn-round .btn-label, .btn-icon-up .btn-label {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding-right: 1em;
  position: relative;
}
.btn-round .btn-label.btn-label-switch-off:after, .btn-round .btn-label.btn-label-switch-on:after, .btn-icon-up .btn-label.btn-label-switch-off:after, .btn-icon-up .btn-label.btn-label-switch-on:after {
  bottom: 0;
  content: ">";
  font-size: 95%;
  transform: rotate(90deg) scaleY(1.4);
  position: absolute;
  right: 0.2em;
}
.btn-round .btn-label.btn-label-switch-on:after, .btn-icon-up .btn-label.btn-label-switch-on:after {
  transform: rotate(-90deg) scaleY(1.4);
  right: 0.1em;
}

.btn-icon-up {
  margin: 0 0.5em 0.2em 0;
}
.btn-icon-up [class^=icon-] {
  background-color: transparent;
  color: white;
  height: 1.3em;
}

nav {
  align-items: center;
  background-color: var(--nav-bar-home-bg-color);
  display: flex;
  font-size: 1.2rem;
  justify-content: space-between;
  left: 0;
  margin-bottom: 1rem;
  min-height: 4rem;
  padding: 0 1rem;
  position: absolute;
  top: 0;
  width: 100%;
}
nav .btn-round {
  color: var(--nav-bar-home-font-color);
}
nav .back-to-home {
  margin-right: auto;
  font-size: 0.8rem;
  height: 1.7rem;
  line-height: 1.7rem;
  padding: 0 0.7rem;
  min-width: initial;
  background: #dadada;
  color: #4c4c4c;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  border-radius: 0.1rem;
}
nav .back-to-home:hover {
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
}
nav .reseller-retail {
  align-items: center;
  display: flex;
  font-size: 80%;
  margin: 0 0.7rem;
}
nav .reseller-retail a {
  color: #3e6d64;
}
nav .reseller-retail img {
  margin-left: 0.7rem;
  max-height: 32px;
}
nav .btn-help {
  align-items: center;
  background-color: var(--primary-btn-color);
  border: 2px solid white;
  border-radius: 0.7em;
  color: white;
  display: flex;
  height: 1.4em;
  font-size: 1.1rem;
  justify-content: center;
  margin-left: 1em;
  padding: 0;
  transition: background-color 150ms ease-in-out;
  width: 1.4em;
}
nav .btn-help:hover {
  background-color: var(--primary-btn-hover-color);
}

.nav-buttons {
  align-items: center;
  display: flex;
  margin-left: auto;
}

.logo {
  margin-right: 0.5em;
  padding-bottom: 0.1em;
}

.logo-label {
  font-size: 130%;
  font-weight: bold;
  margin-right: 0.8em;
}

.vertical {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.card {
  background-color: var(--card-color);
  border-radius: 2px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  margin: 1rem;
  padding: 2rem;
}
.card.card-content-centered {
  text-align: center;
}
.card.card-small-width {
  max-width: 350px;
}
.card.card-medium-width {
  max-width: 600px;
}
.card.card-wide {
  min-width: 600px;
}

.card-message {
  text-align: left;
  width: 100%;
}

.card-list {
  list-style: square;
}

.page {
  align-items: center;
  display: flex;
  flex-direction: column;
  min-height: 90vh;
}
.page.page-centered {
  justify-content: center;
}

.tooltip {
  background-color: var(--card-color);
  display: flex;
  flex-direction: column;
  font-size: 0.7em;
  font-weight: bold;
  max-width: 20em;
  padding: 0.8em;
  position: absolute;
  text-align: left;
  z-index: 101;
}
.tooltip .icon-info {
  font-size: 1.6rem;
  padding-bottom: 0.4rem;
}
.tooltip a {
  color: inherit;
  font-weight: bold;
}

.tooltip-title {
  color: inherit;
  font-size: 110%;
  font-weight: bold;
  margin-bottom: 0.7em;
}

.tooltip-info {
  background-color: #ffffffdd;
  border: 1px solid #242323;
  color: #242323;
}

.tooltip-alert {
  background-color: #fce199dd;
  border: 1px solid #483500;
  color: #98730e;
}

.tooltip-error {
  background-color: #f4b39bdd;
  border: 1px solid #450001;
  color: #b21718;
}

/************* BOOKS *************/
.books {
  flex-grow: 1;
  padding-top: 4rem;
}
.books.search .split {
  display: flex;
  width: 100%;
}
.books.search .split .book-list-container {
  width: 66%;
}
.books.search .split .book-list-container .book-list {
  margin-top: 1rem;
}
.books.search .split .book-list-container .book-list .card {
  margin: 0 1rem 1rem 1rem;
}
.books.search .split .search-list-container {
  width: 33%;
}
.books.search .split .search-list-container h2 {
  text-align: center;
  margin-bottom: 0;
}
.books.search .split .search-list-container .card {
  margin: 0.5rem 1rem;
}

.sideload .books {
  padding-bottom: 5rem;
}

/************* READER *************/
body.reading {
  height: 100vh;
  overflow: hidden;
}

/*********** APP LOADER **********/
.app-loader {
  align-items: center;
  display: flex;
  color: #8f8f8f;
  font-size: 7rem;
  height: 100vh;
  justify-content: center;
  position: fixed;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  width: 100%;
}

/************ OFFLINE ************/
.offline {
  font-size: 3vmin;
}
.offline [class^=icon-] {
  font-size: 8vmin;
  left: -30px;
  position: relative;
}

/************ ERROR ************/
.error {
  align-items: center;
  display: flex;
  flex-direction: column;
  font-size: 4vmin;
  height: 100vh;
  justify-content: center;
  overflow: hidden;
  padding: 2rem;
  text-align: center;
}
.error .main-icon {
  font-size: 12vmin;
  margin-bottom: 3rem;
}
.error p.error-message {
  text-align: left;
}
.error p.error-notice {
  color: #646464;
  font-size: 3.5vmin;
}

/********** CLOUD USAGE **********/
.cloud-usage .modal-section {
  max-width: 30em;
}
.cloud-usage .cloud-usage-fake-book {
  height: 3em;
  margin: 0 auto;
  position: relative;
  width: 5em;
}
.cloud-usage .cloud-usage-fake-book .icon-cloud-user {
  background-color: var(--primary-btn-color);
  -webkit-clip-path: polygon(0 0, 100% 0%, 0% 80%, 0 80%);
          clip-path: polygon(0 0, 100% 0%, 0% 80%, 0 80%);
  color: white;
  font-size: 2.4rem;
  height: 1.1em;
  left: 0;
  position: absolute;
  text-align: center;
  top: 0;
  width: 1.1em;
}
.cloud-usage .cloud-usage-fake-book .icon-cloud-user:before {
  font-size: 55%;
  left: -3px;
  position: absolute;
  top: -1px;
}
.cloud-usage .modal-footer {
  justify-content: center;
}

/************ SENTRY *************/
.sentry-error-embed {
  padding: 30px !important;
}

.sentry-error-embed * {
  font-family: var(--main-font) !important;
}

.sentry-error-embed .form-submit .btn {
  border: none !important;
  background-color: var(--primary-btn-color) !important;
  border-radius: 0.2rem !important;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) !important;
  color: #060606 !important;
  cursor: default !important;
  font-size: 0.8rem !important;
  height: 2rem !important;
  line-height: 2rem !important;
  margin: 0.5rem 1rem !important;
  min-width: 10rem !important;
  outline: 0 !important;
  padding: 0 0.5rem !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: all 200ms ease-in-out !important;
  white-space: nowrap !important;
}
.sentry-error-embed .form-submit .btn:hover {
  opacity: 0.9 !important;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3) !important;
}

.sentry-error-embed .form-submit .close {
  padding-top: 14px !important;
}

/********* BROWSER ERROR *********/
.browser-overlay {
  background-color: white;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10000;
}

.browser-not-supported {
  font-size: 6vmin;
  margin: 50vh 10vw 0;
  text-align: center;
  transform: translateY(-50%);
}

.browser-not-supported .icon-sad {
  font-size: 200%;
}

/************* ICONS FIX *************/
.icon-ticket:before {
  font-size: 82%;
  margin-left: 0;
  width: 1.1em;
}

/************ RESPONSIVE ************/
@media screen and (max-width: 1024px) {
  .import {
    font-size: 0.8rem;
  }
}
@media screen and (max-width: 800px) {
  .btn-icon {
    padding: 0;
  }

  .import {
    font-size: 0.7rem;
  }
  .import .import-status {
    flex-direction: column;
    max-width: 14em;
    text-align: center;
  }
}
@media screen and (max-width: 460px) {
  .hide-for-space {
    display: none;
  }

  main {
    height: auto;
  }

  nav {
    align-items: center;
  }

  .card {
    padding: 1rem;
  }

  .import {
    padding: 0 3em;
  }

  .book-download .book-download-status {
    flex-direction: column;
    font-size: 1.2em;
    height: 4em;
    line-height: 1.2em;
    margin-top: 1em;
    max-width: 10em;
    text-align: center;
  }
  .book-download .endless-progress {
    width: 80vw;
  }
}
.hover-bounce-in {
  display: inline-block;
  vertical-align: middle;
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  transition-duration: 0.3s;
}
.hover-bounce-in:hover, .hover-bounce-in:focus, .hover-bounce-in:active {
  transform: scale(1.111);
  transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}

/**
 * (C)Leanest CSS spinner ever
 */
@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}
.loader {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 0;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  visibility: hidden;
  width: 100%;
}

.loader-on {
  visibility: visible;
}

.loader .progresss {
  animation: spin 1s infinite steps(8);
  display: inline-block;
  font-size: 12px;
  height: 5em;
  margin: 0 0.5em;
  overflow: hidden;
  position: relative;
  text-indent: 999em;
  width: 5em;
}

.loader .small.progresss {
  font-size: 6px;
}

.loader .large.progresss {
  font-size: 24px;
}

.loader .progresss:before,
.loader .progresss:after,
.loader .progresss > div:before,
.loader .progresss > div:after {
  content: "";
  position: absolute;
  top: 0;
  left: 2.25em;
  /* (container width - part width)/2  */
  width: 0.5em;
  height: 1.5em;
  border-radius: 0.2em;
  background: #eee;
  box-shadow: 0 3.5em #eee;
  /* container height - part height */
  transform-origin: 50% 2.5em;
  /* container height / 2 */
}

.loader .progresss:before {
  background: #555;
}

.loader .progresss:after {
  transform: rotate(-45deg);
  background: #777;
}

.loader .progresss > div:before {
  transform: rotate(-90deg);
  background: #999;
}

.loader .progresss > div:after {
  transform: rotate(-135deg);
  background: #bbb;
}

[type=range] {
  -webkit-appearance: none;
  background: transparent;
  margin: 0.8em 0;
  width: 100%;
}
[type=range]::-moz-focus-outer {
  border: 0;
}
[type=range]:focus {
  outline: 0;
}
[type=range]:focus::-webkit-slider-runnable-track {
  background: var(--primary-btn-color);
}
[type=range]:focus::-ms-fill-lower {
  background: var(--primary-btn-color);
}
[type=range]:focus::-ms-fill-upper {
  background: #52b899;
}
[type=range]::-webkit-slider-runnable-track {
  cursor: default;
  height: 0.4em;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  width: 100%;
  box-shadow: 0.1em 0.1em 0.1em rgba(0, 0, 0, 0.2), 0 0 0.1em rgba(13, 13, 13, 0.2);
  background: var(--primary-btn-color);
  border: 0 solid #cfd8dc;
  border-radius: 0.2em;
}
[type=range]::-webkit-slider-thumb {
  box-shadow: 0.1em 0.1em 0.1em rgba(0, 0, 0, 0.4), 0 0 0.1em rgba(13, 13, 13, 0.4);
  background: #ffffff;
  border: 0.1em solid #eceff1;
  border-radius: 0.8em;
  cursor: default;
  height: 1.6em;
  width: 1.6em;
  -webkit-appearance: none;
  margin-top: -0.6em;
}
[type=range]::-moz-range-track {
  box-shadow: 0.1em 0.1em 0.1em rgba(0, 0, 0, 0.2), 0 0 0.1em rgba(13, 13, 13, 0.2);
  cursor: default;
  height: 0.4em;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
  width: 100%;
  background: var(--primary-btn-color);
  border: 0 solid #cfd8dc;
  border-radius: 0.2em;
  height: 0.2em;
}
[type=range]::-moz-range-thumb {
  box-shadow: 0.1em 0.1em 0.1em rgba(0, 0, 0, 0.4), 0 0 0.1em rgba(13, 13, 13, 0.4);
  background: #ffffff;
  border: 0.1em solid #eceff1;
  border-radius: 0.8em;
  cursor: default;
  height: 1.2em;
  width: 1.2em;
}
[type=range]::-ms-track {
  cursor: default;
  height: 0.4em;
  -ms-transition: all 0.2s ease;
  transition: all 0.2s ease;
  width: 100%;
  background: transparent;
  border-color: transparent;
  border-width: 0.8em 0;
  color: transparent;
}
[type=range]::-ms-fill-lower {
  box-shadow: 0.1em 0.1em 0.1em rgba(0, 0, 0, 0.2), 0 0 0.1em rgba(13, 13, 13, 0.2);
  background: #52b899;
  border: 0 solid #cfd8dc;
  border-radius: 0.4em;
}
[type=range]::-ms-fill-upper {
  box-shadow: 0.1em 0.1em 0.1em rgba(0, 0, 0, 0.2), 0 0 0.1em rgba(13, 13, 13, 0.2);
  background: #52b899;
  border: 0 solid #cfd8dc;
  border-radius: 0.4em;
}
[type=range]::-ms-thumb {
  box-shadow: 0.1em 0.1em 0.1em rgba(0, 0, 0, 0.4), 0 0 0.1em rgba(13, 13, 13, 0.4);
  background: #ffffff;
  border: 0.1em solid #eceff1;
  border-radius: 0.8em;
  cursor: default;
  height: 1.2em;
  width: 1.2em;
  margin-top: 0.1em;
}
[type=range]:disabled::-webkit-slider-thumb {
  cursor: not-allowed;
}
[type=range]:disabled::-moz-range-thumb {
  cursor: not-allowed;
}
[type=range]:disabled::-ms-thumb {
  cursor: not-allowed;
}
[type=range]:disabled::-webkit-slider-runnable-track {
  cursor: not-allowed;
}
[type=range]:disabled::-ms-fill-lower {
  cursor: not-allowed;
}
[type=range]:disabled::-ms-fill-upper {
  cursor: not-allowed;
}

/* Routes CSS */
.audio {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 4rem 0 0;
}

.cloud-transition {
  flex-grow: 1;
  padding-top: 4rem;
}

.book-download {
  align-items: center;
  background-color: var(--import-bg-color);
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: center;
  padding-bottom: 2.5rem;
  padding-top: 4rem;
  width: 100%;
}
.book-download nav {
  background-color: var(--import-bg-color);
}
.book-download .endless-progress {
  margin-top: 0.5em;
  width: 18em;
}

.book-download-illustration {
  display: flex;
  justify-content: center;
  max-height: 60vh;
}
.book-download-illustration img {
  height: 100%;
  width: auto;
}
.book-download-illustration .book-no-cover {
  display: flex;
  font-size: 200%;
  height: 60vh;
  justify-content: center;
  padding: 1rem;
  width: 42vh;
}

.book-download-status {
  align-items: center;
  color: var(--import-font-color);
  display: flex;
  flex-direction: row;
  font-size: 1.65rem;
  height: 2em;
  justify-content: center;
  margin-top: 1.5em;
}
.book-download-status img {
  height: 1.3em;
  margin-left: 0.4em;
}

.home {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 4rem;
  width: 100%;
}

.import {
  align-items: center;
  background-color: var(--import-bg-color);
  display: flex;
  flex-direction: column;
  font-family: var(--main-font);
  height: 100vh;
  justify-content: center;
  padding-top: 4rem;
  width: 100%;
}
.import nav {
  background-color: var(--import-bg-color);
}

.import-file {
  align-items: center;
  display: flex;
  font-size: 45vmin;
  justify-content: center;
  height: calc(75vh - 4rem);
  min-width: 50vw;
  overflow: hidden;
  position: relative;
}
.import-file .icon-book {
  z-index: 2;
}
.import-file .pulse {
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 30rem;
}
.import-file .pulse circle {
  fill: #8f8f8f;
  transform: scale(0);
  opacity: 0;
  transform-origin: 50% 50%;
  animation: pulse 2s cubic-bezier(0.5, 0.5, 0, 1) infinite;
}

.import-status {
  align-items: center;
  color: var(--import-font-color);
  display: flex;
  font-size: 2.7em;
  justify-content: center;
  margin-bottom: 0.5em;
}
.import-status img {
  height: 1.3em;
  margin-left: 0.4em;
}

.multiple-books-import {
  align-items: center;
  background-color: var(--card-color);
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: center;
  padding-top: 4rem;
  width: 100%;
}
.multiple-books-import .book-import-status {
  height: 5rem;
  margin-top: auto;
}

.multiple-books-import-files {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-wrap: wrap;
  width: 100%;
}

.multiple-books-import-file {
  align-items: center;
  display: flex;
  font-size: 0.8em;
  line-height: 1.3em;
  min-width: 25rem;
  padding-bottom: 1rem;
}
.multiple-books-import-file .progress-bar {
  width: 100%;
}

.multiple-books-import-status {
  font-size: 1.3em;
}
.multiple-books-import-status.import-error {
  color: red;
}
.multiple-books-import-status.import-ok {
  color: green;
}

.hachette-home-banner {
  flex: 1;
  align-items: center;
  background-color: #ffff;
  display: flex;
  font-family: var(--main-font);
  height: auto;
  justify-content: center;
  overflow: hidden;
  padding: 1em 2em;
  position: relative;
  width: 100%;
}

.hachette-home-banner-content {
  display: flex;
  flex-direction: column;
  max-width: 700px;
}

.hachette-home-banner-logo {
  align-items: center;
  display: flex;
  font-size: 190%;
  font-weight: bold;
}
.hachette-home-banner-logo img {
  height: 9em;
  margin-bottom: 0.4em;
  max-height: 40vh;
}

.hachette-home-footer {
  flex: 1;
  align-items: center;
  background-color: #2C4B75;
  display: flex;
  font-family: var(--main-font);
  height: auto;
  justify-content: center;
  overflow: hidden;
  padding: 1em 2em;
  position: relative;
  width: 100%;
}

.hachette-home-footer-content {
  height: 12em;
  display: flex;
  flex-direction: column;
  max-width: 800px;
  align-items: center;
  justify-content: space-around;
}

.btn-connect {
  border-radius: 30px;
  background-color: #618DB6;
  color: #ffff;
  font-size: 20px;
  width: 12em;
}

.btn-connect-employees {
  background-color: transparent;
  box-shadow: none;
  font-size: 0.73em;
  max-width: 700px;
  transition: transform 200ms ease-in-out;
  width: 16em;
}
.btn-connect-employees:hover {
  box-shadow: none;
  transform: scale(1.05);
  opacity: 1;
}

.login-success {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  margin-bottom: 4em;
}
.login-success img {
  max-height: 25vh;
}
.login-success h1 {
  font-size: 1.4em;
  margin: 0.5em 0 0;
}
.login-success .icon-ok {
  background-color: #5ed678;
  border-radius: 1em;
  color: white;
  font-size: 1.6em;
  height: 1.5em;
  line-height: 1.6em;
  padding: 0;
  position: relative;
  width: 1.5em;
}
.login-success .icon-ok:before {
  left: 0.25em;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0.25em;
}
.login-success p {
  text-align: center;
}

.shelf .book-list-container {
  margin-top: 0;
}

.shelf-title {
  color: var(--accent-color);
  font-size: 2.2rem;
  margin: 1.2em 0 0;
  max-width: calc(435px * 3);
  width: 100%;
}
.shelf-title [class^=icon-] {
  color: #000;
}

.shelf-add-books {
  color: var(--accent-color);
  font-size: 1.4rem;
  padding: 2em 0;
}

.update {
  flex-grow: 1;
  padding-top: 4rem;
}

/* Components CSS */
.activate-code .modal-dialog {
  width: 500px;
}
.activate-code .modal-body {
  display: flex;
  flex-direction: row;
  position: relative;
}
.activate-code .modal-body .activate-code-content, .activate-code .modal-body .activate-code-result {
  transition: opacity 200ms ease-in-out;
  width: 100%;
}
.activate-code .modal-body .activate-code-result {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  width: 100%;
  z-index: -1;
}
.activate-code .modal-body .activate-code-result .modal-content-sub {
  text-align: center;
  font-size: 0.75em;
  padding-top: 0.9em;
}
.activate-code .modal-body .activate-code-result .modal-content {
  height: 100%;
  font-size: 1.2em;
  justify-content: center;
}
.activate-code .modal-body .activate-code-result .modal-footer {
  justify-content: center;
}
.activate-code.display-activate-code-result .activate-code-content {
  opacity: 0;
  z-index: -1;
}
.activate-code.display-activate-code-result .activate-code-result {
  opacity: 1;
  z-index: 1;
}
.activate-code .modal-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 1em;
}
.activate-code .modal-content label {
  font-size: 110%;
  text-align: center;
}
.activate-code .modal-content input {
  font-size: 1.1em;
  margin: 1em 1em 0.5em;
  padding: 0.5em;
}
.activate-code .modal-content input:focus {
  outline-offset: 0;
}
.activate-code .modal-footer .btn-primary {
  text-transform: none;
}

.code-activation-tutorial .modal-dialog {
  width: 500px;
}
.code-activation-tutorial .modal-body {
  display: flex;
  flex-direction: row;
  position: relative;
}
.code-activation-tutorial .modal-body .activate-code-tutorial-content {
  transition: opacity 200ms ease-in-out;
  width: 100%;
}
.code-activation-tutorial .modal-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 1.5em;
  padding-bottom: 3.5em;
}
.code-activation-tutorial .modal-content label {
  font-size: 110%;
  text-align: center;
}
.code-activation-tutorial .modal-footer {
  justify-content: center;
  border-width: 0;
}

.annotation-form-container {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  position: fixed;
  z-index: 10;
}
.annotation-form-container * {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.annotation-form-content {
  padding: 0.5em 0.5em 0;
}

.annotation-form, .annotation-actions {
  border: 0;
  border-radius: 0.2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  position: absolute;
  z-index: 10;
}

.annotation-form {
  background-color: var(--card-color);
  border-radius: 0.4rem;
  color: black;
}
.annotation-form textarea {
  font-size: 0.75em;
  margin-bottom: 0;
  max-width: 90vw;
  padding: 0.4em;
  width: 30rem;
}
.annotation-form .annotation-form-buttons {
  display: flex;
  justify-content: center;
}
.annotation-form .annotation-form-buttons .btn {
  min-width: 7em;
}

.annotation-actions {
  background-color: var(--primary-btn-color);
  color: white;
  display: flex;
  justify-content: center;
  position: absolute;
  z-index: 10;
}
.annotation-actions .btn {
  border: none;
  background: none;
  box-shadow: none;
  color: white;
  height: 2em;
  font-size: 85%;
  line-height: 2em;
  margin: 0;
  min-width: 7em;
}
.annotation-actions .btn > [class^=icon-] {
  margin-right: 0.2em;
}
.annotation-actions .btn:last-child {
  border-left: 1px solid #ffffff80;
}

.annotation-form-title {
  font-size: 0.95rem;
  font-family: var(--main-font);
  margin: 0 0 0.5em;
}

.app-help {
  z-index: 11;
}
.app-help p {
  text-align: center;
}

.app-help .modal-footer .btn {
  color: white;
  padding: 0.3rem 1.5rem;
}

.app-help-content {
  max-width: 500px;
  padding: 1.5em 2em;
}

.app-help-website {
  align-items: center;
  display: flex;
  justify-content: center;
}

.app-help-logo {
  float: left;
  max-height: 160px;
  max-width: 240px;
  padding-right: 1em;
}

.app-help-version {
  color: #8f8f8f;
  font-size: 80%;
}

@media screen and (max-width: 460px) {
  .app-help-website {
    flex-wrap: wrap;
  }
}
.app-changelog-title {
  font-size: 1.24em;
  margin: 1em;
}

.app-changelog-changes {
  margin: 0 2em 2em 1em;
}

.app-changelog-change {
  font-size: 92%;
  line-height: 1.5;
  padding-left: 0.5em;
}

.app-changelog .modal-footer {
  justify-content: center;
}
.app-changelog .modal-footer .btn {
  text-transform: none;
}

.app-changelog-changes a {
  border-bottom: 1px solid #979797;
  color: inherit;
  display: inline-block;
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.4;
  text-decoration: none;
}
.app-changelog-changes a:hover {
  transform: scale(1.02);
}

.app-changelog-welcome {
  margin: 2em;
}

.modal {
  align-items: center;
  display: none;
  justify-content: center;
  height: 100vh;
  left: 0;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: -1;
}

.modal-enabled {
  display: flex;
  z-index: 10;
}

.modal-background {
  background: rgba(30, 30, 30, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 11;
}

.modal-dialog {
  border: 0;
  border-radius: 0.6rem;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  background: #fff;
  cursor: auto;
  font-size: 0.8em;
  min-width: 400px;
  max-height: 90vh;
  width: 400px;
  z-index: 200;
}

.modal.auto-size .modal-dialog {
  min-width: 460px;
  width: auto;
}

.modal-title {
  background-color: var(--primary-btn-color);
  border-bottom: 1px solid #e7e9ee;
  border-radius: 0.6rem 0.6rem 0 0;
  color: white;
  font-size: 1.8em;
  padding: 0.5em;
  text-align: center;
}

.modal-critic .modal-title {
  background-color: #d8161a;
  font-size: 1em;
  padding: 2em 1em 1em 1em;
}
.modal-critic .modal-title::before {
  font-family: "icons";
  content: "!";
  font-size: 4em;
  display: block;
  margin-top: -1.1em;
  padding-bottom: 0.15em;
  color: #d8161a;
  filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.35));
  background: radial-gradient(circle, white 9.5%, rgba(255, 255, 255, 0) 9.5%, rgba(255, 255, 255, 0) 9.5%);
}
.modal-critic .modal-dialog {
  text-align: center;
}
.modal-critic .modal-body {
  color: #d8161a;
  font-weight: bold;
}

.modal-body {
  color: #5b5b5b;
  display: flex;
  flex-direction: column;
  padding: 0;
  max-height: 80vh;
}

.modal-content {
  overflow-y: auto;
  max-height: 70vh;
}

.modal-dialog .modal-section {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  margin: 1rem 2rem;
}
.modal-dialog .modal-section .btn {
  margin: 0.3rem 1rem 0.3rem 0;
  min-width: 11.5rem;
  padding: 0 1rem 0 0.5rem;
}
.modal-dialog .modal-section .modal-section-entry {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 0.5rem;
}
.modal-dialog .modal-section .modal-section-entry-comment {
  align-items: center;
  display: flex;
  color: #7a797a;
  font-size: 0.8rem;
  font-style: italic;
  min-width: 15rem;
  margin: 0.2rem 0;
}

.modal-section-title {
  font-size: 1.15rem;
  padding-bottom: 1rem;
}

.modal-splitter {
  background-color: #ddd;
  border: none;
  height: 1px;
  width: 20%;
}

.modal-footer {
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  padding: 1em 1em 0;
}
.modal-footer.one-button {
  justify-content: space-around;
}
.modal-footer button {
  display: block;
  font-size: 0.8em;
  height: auto;
  line-height: 1.8em;
  margin: 0 0 1rem 0;
  padding: 0.5rem 1.2rem;
}

@media screen and (max-width: 460px) {
  .modal-dialog {
    min-width: 98% !important;
    width: 98% !important;
  }

  .modal-title {
    font-size: 1.5em;
  }
}
.app-nav-main {
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
}
.app-nav-main > a:first-child {
  height: 40px;
}
.app-nav-main .manage-library .btn {
  text-align: left;
}
.app-nav-main .manage-library .btn [class^=icon-]:before {
  width: 1.4rem;
}
.app-nav-main .manage-library .btn-save {
  text-align: center;
}
.app-nav-main .manage-library .btn-save [class^=icon-]:before {
  width: 1.4rem;
}
.app-nav-main .btn-round [class^=icon-]:before {
  color: var(--accent-color);
}
.app-nav-main .btn-connection {
  margin-right: 2em;
  padding-left: 1.5em;
  padding-right: 1.5em;
}
.app-nav-main .btn-parameters .icon-parameters:before {
  padding-top: 0.3em;
}
.app-nav-main .btn-no-background {
  background-color: transparent;
  box-shadow: none;
  font-size: 0.73em;
  max-width: 700px;
  transition: transform 200ms ease-in-out;
  width: 16em;
}
.app-nav-main .btn-no-background:hover {
  box-shadow: none;
  transform: scale(1.05);
  opacity: 1;
}

.manage-library-cloud-usage {
  align-items: center;
  display: flex;
  font-size: 140%;
  max-width: 24rem;
  width: 100%;
}
.manage-library-cloud-usage i[class^=icon-] {
  align-items: center;
  background-color: var(--primary-btn-color);
  border-radius: 0.75em;
  color: white;
  display: flex;
  font-size: 1.8rem;
  height: 1.05em;
  justify-content: center;
  margin-right: 0.5em;
  width: 1.05em;
}
.manage-library-cloud-usage .usage-percentage {
  font-size: 71%;
  margin-left: 1em;
}

@media screen and (max-width: 460px) {
  .app-nav-main {
    padding: 0;
  }
}
.app-notifier-wrapper {
  display: flex;
  justify-content: center;
  overflow: hidden;
  width: 100vw;
}

.app-notifier {
  bottom: 1em;
  font-size: 73%;
  left: 2em;
  list-style: none;
  margin: 0;
  padding: 0;
  position: fixed;
  transition: all 300ms ease;
  z-index: 999;
}

.sideload .app-notifier {
  bottom: calc(5.5rem + 1em);
}

.app-notification {
  align-items: center;
  background-color: #fff;
  border-left: 0.55em solid #000;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  color: #000;
  display: flex;
  height: 3em;
  justify-content: space-between;
  margin-bottom: 0.5em;
  padding: 0 1em;
  text-align: center;
  transition: all 300ms ease;
  width: 100%;
}
.app-notification .btn-link {
  color: inherit;
  margin-left: 5em;
  text-decoration: none;
  text-transform: uppercase;
}
.app-notification .btn-link:hover {
  text-decoration: underline;
}
.app-notification .underline {
  border-bottom-color: #787878;
  cursor: pointer;
}
.app-notification .underline:hover {
  border-bottom-color: #000;
}

.app-notification-removed {
  transform: translateX(-150%);
}

.app-notification-info {
  border-color: var(--primary-btn-color);
  color: var(--primary-btn-color);
}

.app-notification-warning {
  border-color: #9A294E;
  color: #9A294E;
}
.app-notification-warning .underline {
  border-bottom-color: #9a6378;
}
.app-notification-warning .underline:hover {
  border-bottom-color: #9A294E;
}

.app-notification-error {
  border-color: #DE0200;
  color: #DE0200;
}
.app-notification-error .underline {
  border-bottom-color: #eb7971;
}
.app-notification-error .underline:hover {
  border-bottom-color: #DE0200;
}

.app-notification-text {
  display: block;
  max-width: 80vw;
  padding-right: 0.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audio-reader {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: space-around;
}
.audio-reader iframe {
  border-width: 0;
  border-radius: 1em;
  box-sizing: border-box;
  height: 100%;
  opacity: 1;
  position: relative;
  transition: opacity 200ms ease-in-out;
  width: 100%;
}
.audio-reader .cover {
  margin: 0 1em;
  max-height: 15em;
  max-width: 20em;
}
.audio-reader.audio-reader-disabled iframe {
  opacity: 0;
}
.audio-reader .audio-reader-offline, .audio-reader .audio-reader-expired {
  align-items: center;
  background-color: #f9f9f9;
  border-radius: 0.5em;
  box-shadow: 0.3em 0.3em 0.3em #cfcfcf;
  display: flex;
  flex-direction: column;
  font-size: 1.2em;
  padding: 2em 2em 1em;
  position: absolute;
}
.audio-reader .audio-reader-popup-actions {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 1em;
}
.audio-reader .loader {
  display: flex;
  flex-direction: column;
  height: calc(100% - 4rem);
  top: 4rem;
}
.audio-reader .loader-text {
  font-size: 1.5em;
  padding: 1em;
  text-align: center;
}

@media screen and (max-width: 460px) {
  .audio-reader {
    flex-direction: column;
  }
}
.authentea-login-background {
  background: rgba(30, 30, 30, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 11;
}

.authentea-oauth-background {
  align-items: center;
  background: rgba(30, 30, 30, 0.9);
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 11;
}
.authentea-oauth-background i {
  color: whitesmoke;
  font-size: 7rem;
}
.authentea-oauth-background button {
  color: #8f8f8f;
  cursor: pointer;
  margin: 2em 1em 1em;
}

.book-annotations {
  background-color: white;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  color: #242323;
  font-size: 1rem;
  margin: 0;
  max-width: 33vw;
  min-width: 16rem;
  opacity: 0;
  padding: 0;
  position: absolute;
  right: 0;
  top: 3.3rem;
  transition: opacity 250ms ease-in-out;
  z-index: -1;
}

.book-annotations-visible {
  opacity: 1;
  z-index: 100;
}

.book-annotations-list {
  list-style: none;
  margin: 0;
  max-height: 80vh;
  overflow: auto;
  padding: 0;
}

.book-annotations-title {
  background-color: var(--reader-menu-section-header);
  color: white;
  display: flex;
  height: 2.2rem;
  justify-content: space-between;
  line-height: 2.2rem;
  margin: 0;
  padding-left: 1em;
  text-align: left;
  width: 100%;
}

.book-annotation-empty {
  margin: 1em;
  text-align: center;
}

.book-annotation-empty-title {
  font-weight: bold;
}

.book-annotation-group {
  background-color: #eaeaea;
  font-size: 0.9em;
  padding: 0.2em 0;
  text-align: center;
}
.book-annotation-group:not(:first-child) {
  margin-top: 0.5em;
}

.book-annotation {
  border-left: 5px solid yellow;
  cursor: pointer;
  display: flex;
  font-size: 1rem;
  justify-content: space-between;
  padding: 0.6rem 1rem;
}

.book-annotation {
  border-bottom: 1px solid #eaeaea;
}

.book-annotation-content {
  display: flex;
  flex-direction: column;
}

.book-annotation-position {
  font-size: 0.7em;
  color: darkgray;
  padding-bottom: 0.2em;
}

.book-annotation-highlight {
  font-size: 0.8em;
  word-break: break-all;
}

.book-annotation-note {
  font-size: 0.85em;
  margin-top: 0.3em;
  padding-top: 0.5em;
  position: relative;
}
.book-annotation-note:before {
  border-bottom: 1px solid #eaeaea;
  content: "";
  left: 35%;
  position: absolute;
  top: 0;
  width: 30%;
}

.book-annotation-note-title {
  color: #8b8b8b;
}

.book-annotation-remove {
  align-items: center;
  color: #8b8b8b;
  display: flex;
  justify-content: center;
  padding-left: 0.2em;
}
.book-annotation-remove:hover {
  color: #68a99c;
}

.book-annotation-edit {
  color: #8b8b8b;
}
.book-annotation-edit:hover {
  color: #68a99c;
}

.book-bookmarks {
  background-color: white;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  color: #242323;
  font-size: 1rem;
  margin: 0;
  min-width: 20rem;
  opacity: 0;
  padding: 0;
  position: absolute;
  right: 0;
  top: 3.3rem;
  transition: opacity 250ms ease-in-out;
  z-index: -1;
}

.book-bookmarks-visible {
  opacity: 1;
  z-index: 100;
}

.book-bookmarks-list {
  list-style: none;
  margin: 0;
  max-height: 50vh;
  overflow: auto;
  padding: 1rem 0;
}

.book-bookmarks-title {
  background-color: var(--reader-menu-section-header);
  color: white;
  display: flex;
  height: 2.2rem;
  justify-content: space-between;
  line-height: 2.2rem;
  margin: 0;
  padding-left: 1em;
  text-align: left;
  width: 100%;
}

.book-bookmark-empty {
  margin: 0 1em;
  text-align: center;
}

.book-bookmark-empty-title {
  font-weight: bold;
}

.book-bookmark {
  align-items: center;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 1rem;
}

.book-bookmark:not(:last-child) {
  border-bottom: 1px solid #eaeaea;
}

.book-bookmark-title {
  min-width: 3rem;
  overflow: hidden;
  padding-right: 1.7rem;
  position: relative;
}

.book-bookmark-title-display {
  padding-right: 0.3rem;
}
.book-bookmark-title-display:hover {
  text-decoration: underline;
}

.book-bookmark-active {
  background-color: var(--hover-element-color);
}

.book-bookmark-progression {
  align-self: flex-end;
  color: #8b8b8b;
  flex-grow: 1;
  font-size: 75%;
  text-align: right;
}

.book-bookmark-edit {
  color: #8b8b8b;
  font-family: inherit;
  font-size: 80%;
  margin-left: auto;
  margin-right: 0.4em;
}
.book-bookmark-edit:hover {
  color: #68a99c;
}

.book-bookmark-remove {
  color: #8b8b8b;
}
.book-bookmark-remove:hover {
  color: #68a99c;
}

input.book-bookmark-input {
  background-color: #eaeaea;
  border: 0;
  border-radius: 0;
  bottom: 0;
  display: none;
  font-family: inherit;
  font-size: inherit;
  left: 0;
  outline: 0;
  padding: 0;
  position: absolute;
  width: 100%;
}

.book-bookmark-editing .book-bookmark-input {
  display: block;
}
.book-bookmark-editing .book-bookmark-title-display {
  visibility: hidden;
}

.book-cover-view {
  height: 160px;
}
.book-cover-view.disabled {
  opacity: 0.4;
}

.book-import {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-flow: wrap;
  justify-content: center;
}

.book-import-logo {
  color: var(--accent-color);
  font-size: 42vmin;
  margin: 0;
  opacity: 0.8;
  padding: 0;
}
.book-import-logo .icon-book:before {
  margin: 0 2rem 0 0;
}

.book-import-infos {
  align-items: center;
  background-color: var(--accent-color);
  color: #fff;
  display: flex;
  flex-direction: column;
  margin: 2em 2rem 0 0;
  min-height: 40vmin;
}
.book-import-infos .progress-bar {
  width: 100%;
}

.book-import-steps {
  flex-grow: 1;
  list-style: none;
  margin: 0;
  overflow-x: hidden;
  padding: 1em;
  width: 35rem;
}
.book-import-steps .book-import-step-number {
  align-items: center;
  border: 1px solid #dedede;
  border-radius: 1.5em;
  display: flex;
  font-size: 0.7rem;
  font-weight: bold;
  height: 1.5em;
  justify-content: center;
  margin-right: 0.5rem;
  width: 1.5em;
}
.book-import-steps li {
  align-items: center;
  display: flex;
  color: #dedede;
  font-size: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.book-import-steps li:first-child {
  color: #fff;
  font-size: 120%;
  font-weight: bold;
  padding-bottom: 0.4em;
}
.book-import-steps li:first-child .book-import-step-number {
  border: 1px solid #fff;
}

@media screen and (max-width: 800px) {
  .book-import-logo {
    font-size: 30vmin;
  }

  .book-import-infos {
    margin: 0;
  }

  .book-import-steps {
    width: auto;
  }
}
.book-list-container {
  align-items: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  max-width: 100vw;
  width: 100%;
}

.book-list {
  display: inline-block;
  list-style-type: none;
  margin: 0;
}

.book-list-item {
  padding: 1rem;
}

.book-list-item:not(:last-child) {
  border-bottom: 2px solid #fbfbfb;
}

.book-list-item:hover {
  background-color: #fbfbfb;
}

.book-list-empty {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
}

.book-list-empty-text {
  margin-bottom: 3rem;
  margin-top: 1rem;
  text-align: center;
}

.book-grid {
  align-content: start;
  display: grid;
  grid-gap: 0;
  grid-template-columns: repeat(auto-fit, 435px);
  justify-content: center;
  justify-items: center;
  padding: 0 1rem;
  width: 100%;
}
.book-grid .book-list-item {
  border: 0;
  padding: 0;
  width: 435px;
}
.book-grid .book-list-item:hover {
  background-color: transparent;
}
.book-grid .book-list-item .card {
  padding: 0;
}

.book-list-options {
  align-self: flex-end;
  display: flex;
  justify-content: flex-end;
}

.book-list-option-layout {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0 1rem;
}
.book-list-option-layout li {
  opacity: 0.5;
}
.book-list-option-layout li.selected {
  opacity: 1;
}

.books-fake-drop-zone {
  align-items: center;
  color: #646464;
  border: 4px dashed #8f8f8f;
  border-radius: 4px;
  display: flex;
  flex-grow: 1;
  font-size: 1.4rem;
  justify-content: center;
  margin: 3rem 2rem;
  padding: 2rem;
  max-width: 90vw;
  width: 100%;
}
.books-fake-drop-zone [class^=icon-] {
  font-size: 4rem;
}
.books-fake-drop-zone .activate-code-floating-button {
  display: flex;
  align-items: center;
  font-size: inherit;
  color: #646464;
  background: none;
  border: none;
  cursor: pointer;
}
.books-fake-drop-zone .activate-code-floating-button [class^=icon-] {
  font-size: 4rem;
}

.books-drop-zone {
  background-color: rgba(104, 169, 156, 0.2);
  border: 4px solid #68a99c;
  display: none;
  height: calc(100vh - 4rem);
  left: 0;
  margin: 0;
  position: fixed;
  top: 4rem;
  width: 100vw;
}

.drag .books-drop-zone {
  display: block;
}

.books-import {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}
.books-import [class^=icon-] {
  font-size: 2rem;
}
.books-import .books-import-gift {
  color: var(--primary-btn-color);
  font-size: 5rem;
  margin-bottom: 0.4em;
}

.books-import-title {
  font-size: 1.7rem;
  margin-top: 0;
  text-align: center;
}

.books-import-text {
  margin-bottom: 1.5em;
  margin-top: 0.3em;
  text-align: center;
}

#books-importer {
  position: fixed;
  bottom: 50px;
  right: 50px;
  width: 400px;
  z-index: 2;
  background-color: #ffffff;
}
#books-importer .books-importer-header {
  background-color: #28358a;
  text-align: center;
  color: white;
  font-size: 14px;
  padding: 7px;
  cursor: pointer;
}
#books-importer .books-importer-header i {
  position: absolute;
  right: 0;
  margin-top: -9px;
  font-size: 25px;
  color: white;
}
#books-importer .books-importer-content {
  max-height: 140px;
  border-bottom: 1px solid #c4c4c4;
  overflow-y: scroll;
}
#books-importer .books-importer-content ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#books-importer .books-importer-content ul li:first-child {
  padding-top: 10px !important;
}
#books-importer .books-importer-content ul li {
  color: #adadad;
  font-size: 14px;
  padding: 5px 15px 5px 15px;
  vertical-align: middle;
}
#books-importer .books-importer-content ul li span:first-child {
  display: inline-block;
  width: 91%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#books-importer .books-importer-content ul li span:last-child {
  float: right;
  font-size: 16px;
  margin-top: -3px;
}
#books-importer .books-importer-content ul li span:last-child i {
  display: inline-block;
}
#books-importer .books-importer-content ul li span:last-child i.icon-ok {
  color: green;
}
#books-importer .books-importer-content ul li span:last-child i.icon-warning {
  color: red;
}

.book-list-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 2rem 0;
  max-width: calc(435px * 3);
  padding: 0 1rem;
  width: 100%;
}

@media screen and (max-width: 1337px) {
  .book-list-header {
    max-width: calc(435px * 2);
  }
}
@media screen and (max-width: 900px) {
  .book-list-header {
    justify-content: center;
    flex-wrap: wrap;
  }
  .book-list-header > :first-child {
    flex-grow: 1;
    margin-bottom: 0.5rem;
  }
}
.book-list-option {
  cursor: default;
  flex-shrink: 0;
  font-size: 0.9em;
  margin: 0 0 0 2em;
  position: relative;
}
.book-list-option.book-list-option-active .btn-switch {
  border-bottom: 1px solid var(--primary-btn-color);
  color: var(--primary-btn-color);
}
.book-list-option.book-list-option-active .btn-switch:after {
  color: var(--primary-btn-color);
}
.book-list-option .btn-switch {
  border-bottom: 1px solid #8f8f8f;
  padding-right: 1.5em;
  position: relative;
}
.book-list-option .btn-switch:after {
  bottom: 0;
  color: #8f8f8f;
  content: "▼";
  font-size: 90%;
  margin-bottom: 0.1em;
  position: absolute;
  right: 0.3em;
  transform: rotate(180deg) scaleY(0.6);
}
.book-list-option .btn-switch.btn-switch-off:after {
  transform: scaleY(0.6);
}
.book-list-option .book-list-option-list {
  background-color: white;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  font-size: 0.8em;
  list-style: none;
  margin: 0.2em 0 0;
  padding: 1em 0;
  position: absolute;
  right: 0;
  z-index: 10;
}
.book-list-option .book-list-option-list li {
  padding: 0.2em 1.5em 0.2em 1.8em;
  white-space: nowrap;
}
.book-list-option .book-list-option-list li:hover, .book-list-option .book-list-option-list li.selected {
  background-color: var(--hover-element-color);
}
.book-list-option .book-list-option-list li.sortable:hover:before, .book-list-option .book-list-option-list li.sortable.selected:before {
  color: #8f8f8f;
  content: "▼";
  font-size: 90%;
  margin-top: 0.1em;
  position: absolute;
  left: 0.6em;
  transform: scaleY(0.6);
}
.book-list-option .book-list-option-list li.sortable:hover.asc:before, .book-list-option .book-list-option-list li.sortable.selected.asc:before {
  transform: rotate(180deg) scaleY(0.6);
}

.book-pagination {
  bottom: 0;
  color: var(--pagination-bar-bg-color);
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  font-style: italic;
  height: 1.2rem;
  position: absolute;
  transition: height 250ms ease-in-out;
  width: 100%;
}
.book-pagination progress {
  background-color: var(--card-color);
  border: none;
  bottom: 0;
  height: 0.7rem;
  opacity: 1;
  position: absolute;
  transition: height 250ms ease-in-out;
  width: 100%;
  z-index: 1;
}
.book-pagination progress::-moz-progress-bar {
  background-color: var(--pagination-bar-bg-color);
  -moz-transition: width 100ms ease-in-out;
  transition: width 100ms ease-in-out;
}
.book-pagination progress::-webkit-progress-bar {
  background-color: var(--card-color);
  -webkit-transition: width 100ms ease-in-out;
  transition: width 100ms ease-in-out;
}
.book-pagination progress::-webkit-progress-value {
  background-color: var(--pagination-bar-bg-color);
  -webkit-transition: width 100ms ease-in-out;
  transition: width 100ms ease-in-out;
}

.book-pagination-expanded progress {
  height: 1.2rem;
}
.book-pagination-expanded .book-pagination-title {
  bottom: 1.2rem;
}
.book-pagination-expanded .book-pagination-elements {
  height: 1.2rem;
}
.book-pagination-expanded .book-pagination-element:after {
  bottom: 0.4rem;
}

.book-pagination-tip {
  background-color: var(--card-color);
  bottom: 1.56rem;
  border-radius: 4px;
  color: grey;
  font-size: 72%;
  font-style: normal;
  left: 0;
  letter-spacing: 0.1em;
  padding: 0.5rem;
  position: absolute;
  text-transform: uppercase;
  visibility: hidden;
  z-index: 100;
}

.book-pagination-tip-visible {
  visibility: visible;
}

.book-pagination-title {
  bottom: 0.7rem;
  color: #8b8b8b;
  display: block;
  font-size: 0.9rem;
  line-height: 1rem;
  opacity: 0.8;
  overflow: hidden;
  position: relative;
  text-align: center;
  text-overflow: ellipsis;
  transition-property: bottom, opacity;
  transition-duration: 250ms;
  transition-timing-function: ease-in-out;
  white-space: nowrap;
  width: 100%;
}

.book-pagination-title-hidden {
  opacity: 0;
}

.book-pagination-loader {
  position: relative;
}

.book-pagination-elements {
  bottom: 0;
  display: flex;
  height: 0.7rem;
  left: 0;
  position: absolute;
  transition: height 250ms ease-in-out;
  width: 100%;
  z-index: 2;
}

.book-pagination-element {
  bottom: 0;
  display: block;
  position: relative;
  text-align: center;
}

.book-pagination-chapter {
  bottom: 0;
  height: 100%;
  position: absolute;
  width: 100%;
}
.book-pagination-chapter:hover {
  background: linear-gradient(to left, rgba(242, 242, 242, 0.75), rgba(242, 242, 242, 0.75)) 0 0 no-repeat var(--pagination-bar-highlight-color);
  background-position: 0 0;
  background-origin: border-box;
  border-left: 1px solid #646464;
  border-right: 1px solid #646464;
  opacity: 0.9;
  z-index: 10;
}

.book-pagination-breadcrumb {
  color: #d4d1d1;
}

.book-pagination-remaining {
  font-size: 80%;
  position: absolute;
  right: 1%;
}

.book-page-numbers {
  color: #8b8b8b;
  display: flex;
  font-style: normal;
  justify-content: space-around;
  left: 0;
  padding: 0 5vw;
  position: absolute;
  top: -3em;
  width: 100%;
}

.book-remaining-time {
  color: #646464;
  display: flex;
  font-size: 0.5em;
  font-style: italic;
  line-height: 2em;
  margin-top: 0.5em;
  opacity: 1;
  transition: all 200ms ease-in-out;
}

.reader {
  background-color: white;
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
}

.reader:-webkit-full-screen {
  height: 100%;
  top: 0;
  width: 100%;
}

.reader:-webkit-full-screen-ancestor {
  background-color: white;
}

.reader:-moz-full-screen {
  background-color: white;
}

.reader:-ms-fullscreen {
  background-color: white;
}

.reader::-ms-backdrop {
  background-color: white;
}

.reader::-webkit-backdrop {
  background-color: white;
}

.reader::backdrop {
  background-color: white;
}

.reader-menu-enter-area {
  height: 8vh;
  min-height: 4rem;
  position: absolute;
  top: 0;
  width: 100vw;
}

.reader-menu {
  align-items: center;
  background-color: var(--read-bar-bg-color);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  color: var(--read-bar-font-color);
  display: flex;
  height: 3.3rem;
  left: 0;
  overflow: hidden;
  padding: 0 1em;
  position: absolute;
  top: -3.465rem;
  transition: top 250ms ease-in-out;
  width: 100vw;
  z-index: 2;
}
.reader-menu > a:first-child {
  height: 40px;
}
.reader-menu .logo {
  padding-bottom: 0;
}
.reader-menu .back-to-home {
  background-color: var(--read-bar-btn-color);
  border-radius: 0.4em;
  color: var(--read-bar-btn-text-color);
  flex-shrink: 0;
  font-size: 0.8rem;
  height: 2.4em !important;
  line-height: 2.4em !important;
  min-width: initial;
  padding: 0 0.8em 0 1.8em;
  position: relative;
}
.reader-menu .back-to-home:hover {
  background-color: var(--read-bar-btn-hover-color);
  opacity: 1;
}
.reader-menu .back-to-home:before {
  content: "<";
  font-family: "Poppins", Arial, sans-serif;
  font-size: 150%;
  left: 0.4em;
  position: absolute;
  top: 0.04em;
}
.reader-menu .btn-icon-up, .reader-menu .btn-icon-up [class^=icon-], .reader-menu .btn-icon-label {
  color: var(--read-bar-font-color);
}

.reader-menu-item {
  height: 100%;
}

.reader-menu-item:hover, .reader-menu-item-active {
  background-color: var(--hover-element-color);
}

.reader-bookmark-button-on, .reader-bookmark-button-off {
  color: var(--accent-color);
  margin: 0;
  position: fixed;
  right: 0;
  top: calc(3.3rem + 0.7rem);
  z-index: 10;
}
.reader-bookmark-button-on [class^=icon-], .reader-bookmark-button-off [class^=icon-] {
  font-size: 1.5rem;
}

.reader-bookmark-button-off {
  color: #e7e7e7;
}

.reader-menu.reader-menu-visible, .reader-menu-enter-area:hover .reader-menu {
  top: 0;
}

.reader-menu-book {
  align-items: center;
  display: flex;
  flex-grow: 1;
  font-size: 0.9rem;
  height: 100%;
  justify-content: space-between;
}

.reader-menu-book > * {
  padding: 0 0.7rem;
}

.reader-menu-book-fontsize {
  align-items: center;
  display: flex;
}
.reader-menu-book-fontsize .reader-menu-book-fontsize-buttons {
  display: flex;
}
.reader-menu-book-fontsize .reader-menu-book-fontsize-buttons .btn-icon {
  padding: 0;
}

.reader-menu-book-fontsize-low {
  font-size: 70%;
}

.reader-fullscreen-button {
  margin-right: auto;
}

.reader-menu-book-bookmarks {
  align-items: center;
  display: flex;
}
.reader-menu-book-bookmarks .reader-bookmark-button {
  background: none;
  border: none;
  margin-bottom: 0.1em;
  padding: 0;
  outline: 0;
}
.reader-menu-book-bookmarks .reader-bookmarks-button {
  color: white;
  line-height: inherit;
  padding: 0;
  text-decoration: none;
}

.reader-title {
  color: #8b8b8b;
  font-family: serif;
  font-weight: normal;
  font-size: 1em;
  height: 3rem;
  letter-spacing: 0.3em;
  line-height: 3rem;
  margin: 0;
  overflow: hidden;
  padding: 0 3rem;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  width: 100%;
}

.reader-page-switch {
  background-color: rgba(255, 255, 255, 0.5);
  border: 0;
  border-radius: 0;
  bottom: 30%;
  color: #000;
  display: block;
  font-size: 30px;
  height: auto;
  margin: 0;
  min-width: unset;
  opacity: 0.3;
  outline: 0;
  overflow: hidden;
  padding: 0.2em 0 0.44em 0;
  position: absolute;
  top: 30%;
  z-index: 99 !important;
}

.reader-page-switch:disabled {
  visibility: hidden;
}

#reader-left-btn {
  border-top-right-radius: 0.3em;
  border-bottom-right-radius: 0.3em;
  left: 0;
}

#reader-right-btn {
  border-top-left-radius: 0.3em;
  border-bottom-left-radius: 0.3em;
  right: 0;
}

#reader-left-btn:hover, #reader-right-btn:hover {
  opacity: 1;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.2);
}

#reader-left-btn.focusout, #reader-right-btn.focusout {
  opacity: 0.3;
  color: #000;
  background-color: rgba(255, 255, 255, 0.5);
  transition: background-color 1s ease-in, opacity 0.5s ease-out, color 1s ease-out;
  -webkit-transition: background-color 1s ease-in, opacity 0.5s ease-out, color 1s ease-out;
}

.no-cursor {
  cursor: none;
}

.reader-ui {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.default-theme {
  background-color: #ffffff;
}

.night-theme {
  background-color: #141414;
  color: #d7d7d7;
}

.sepia-theme {
  background-color: #FBF0D9;
}

.zoom-modes {
  display: flex;
  position: absolute;
  right: 3.8rem;
  top: calc(3.3rem + 0.5rem);
  z-index: 10;
}
.zoom-modes .btn {
  background-color: var(--secondary-btn-color);
  height: 2em;
  line-height: 2em;
  margin: 0;
  min-width: auto;
}
.zoom-modes .btn:first-child {
  border-bottom-left-radius: 0.2em;
  border-top-left-radius: 0.2em;
}
.zoom-modes .btn:last-child {
  border-bottom-right-radius: 0.2em;
  border-top-right-radius: 0.2em;
}
.zoom-modes .btn.zoom-active-mode {
  background-color: var(--primary-btn-color);
}

@media screen and (max-width: 1024px) {
  .reader-menu .back-to-home:before {
    left: 0.65em;
  }

  .hide-for-space {
    display: none;
  }
}
@media screen and (max-width: 600px) {
  .reading .logo {
    display: none;
    margin: 0;
    padding-bottom: 0.05em;
  }

  .reader-page-switch {
    display: none;
  }

  .reader-engine {
    margin: 0.5em 0 0 !important;
  }

  .reader-menu {
    padding: 0;
  }
  .reader-menu .btn-icon-label {
    display: none;
  }

  .reader-menu-book-fontsize span {
    display: none;
  }

  .book-search-input input {
    min-width: 6rem;
  }
}
@media screen and (max-width: 400px) {
  .reader-search-input {
    display: none;
  }
}
.book-reader-settings {
  background-color: white;
  border-radius: 0.5em;
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.6);
  color: #242323;
  cursor: default;
  font-size: 1rem;
  margin: 0;
  max-width: 33vw;
  min-width: 16rem;
  opacity: 0;
  padding: 0;
  position: absolute;
  left: 7rem;
  top: 3.3rem;
  transition: opacity 250ms ease-in-out;
  z-index: -1;
}

.book-reader-settings-visible {
  opacity: 1;
  z-index: 100;
}

.book-reader-settings-list {
  list-style: none;
  margin: 0 0.6em;
  max-width: 20em;
  padding: 0;
}

.book-reader-settings-item {
  border-top: 1px solid #e0e0e0;
  display: flex;
  padding: 1em;
}
.book-reader-settings-item:first-child {
  border-top: 0;
}

.book-reader-setting-font-size {
  align-items: center;
  justify-content: space-between;
}
.book-reader-setting-font-size input[type=range] {
  flex-grow: 1;
  margin: 0 1em;
}
.book-reader-setting-font-size .book-reader-setting-font-size-low {
  font-size: 85%;
}
.book-reader-setting-font-size .book-reader-setting-font-size-high {
  font-size: 140%;
}

.book-reader-setting-themes {
  justify-content: space-between;
}

.book-reader-setting-theme {
  align-items: center;
  border-radius: 1em;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  display: flex;
  height: 2em;
  justify-content: center;
  margin-right: 0.4em;
  position: relative;
  width: 2em;
}
.book-reader-setting-theme.selected:after {
  border-bottom: 2px solid var(--primary-btn-color);
  bottom: -0.5em;
  content: " ";
  left: 0;
  position: absolute;
  width: 100%;
}

.book-reader-setting-fonts {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}
.book-reader-setting-fonts img {
  height: 1.5em;
  width: auto;
}
.book-reader-setting-fonts .book-reader-setting-font {
  margin: 0.2em 0;
  position: relative;
}
.book-reader-setting-fonts .book-reader-setting-font span {
  display: block;
  font-size: 1.1em;
  margin-bottom: 0.3em;
  padding-left: 0.25em;
}
.book-reader-setting-fonts .book-reader-setting-font.selected:after {
  border-left: 2px solid var(--primary-btn-color);
  content: " ";
  height: 75%;
  left: -0.2em;
  position: absolute;
  top: 0;
}

.book-reader-setting-layouts {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}
.book-reader-setting-layouts .book-reader-setting-layout {
  margin: 0.2em 0;
  position: relative;
}
.book-reader-setting-layouts .book-reader-setting-layout .book-reader-setting-layout-icons {
  width: 50px;
  text-align: center;
}
.book-reader-setting-layouts .book-reader-setting-layout .book-reader-setting-layout-icons i {
  position: relative;
  display: inline-block;
}
.book-reader-setting-layouts .book-reader-setting-layout .book-reader-setting-layout-icons :nth-child(2) {
  margin-left: -15px;
}
.book-reader-setting-layouts .book-reader-setting-layout span {
  display: inline-block;
  font-size: 1.1em;
  margin-bottom: 0.3em;
  padding-left: 0.25em;
}
.book-reader-setting-layouts .book-reader-setting-layout.selected:after {
  border-left: 2px solid var(--primary-btn-color);
  content: " ";
  height: 75%;
  left: -0.2em;
  position: absolute;
  top: 0;
}

@media screen and (max-width: 1024px) {
  .book-reader-settings {
    left: 3rem;
  }
}
@media screen and (max-width: 600px) {
  .book-reader-settings {
    left: 2%;
    right: inherit;
  }
}
.book-search-input {
  align-items: center;
  border: 1px solid black;
  display: flex;
  height: 100%;
  margin: 1em;
}
.book-search-input > .wrapper {
  align-items: center;
  display: flex;
  height: 2rem;
  width: 100%;
}
.book-search-input input {
  background-color: white;
  border: 0;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  font-family: var(--main-font);
  font-size: 1em;
  height: 100%;
  outline: 0;
  padding: 0.3em 0.6em;
  width: 100%;
}
.book-search-input input::-webkit-input-placeholder {
  color: #646464;
  opacity: 0.4;
}
.book-search-input input:-moz-placeholder {
  color: #646464;
  opacity: 0.4;
}
.book-search-input input::-moz-placeholder {
  color: #646464;
  opacity: 0.4;
}
.book-search-input input:-ms-input-placeholder {
  color: #646464;
  opacity: 0.4;
}
.book-search-input .search-bar-icon {
  align-items: center;
  background-color: transparent;
  border: 0;
  cursor: pointer;
  color: #b3b3b3;
  display: flex;
  font-size: 1em;
  height: 100%;
  justify-content: center;
  line-height: 100%;
  outline: 0;
  width: 2.1em;
}
.book-search-input .search-bar-icon:hover {
  font-size: 1.05rem;
}

.book-search {
  background-color: white;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  color: #242323;
  font-size: 1rem;
  margin: 0;
  opacity: 0;
  padding: 0;
  position: absolute;
  right: 0;
  top: 3.3rem;
  transition: opacity 250ms ease-in-out;
  width: 20rem;
  z-index: -1;
}

.book-search-visible {
  opacity: 1;
  z-index: 100;
}

.book-search-minimized {
  height: 2.2rem;
  overflow: hidden;
}

.book-search-results-count {
  font-size: 0.9rem;
  font-weight: bold;
  padding: 0 1em;
}

.book-search-results {
  list-style: none;
  margin: 0;
  max-height: calc(100vh - 12.5rem);
  outline: 0;
  overflow: auto;
  padding: 0 0 1em;
}

.book-search-header {
  background-color: var(--reader-menu-section-header);
  color: white;
  display: flex;
  height: 2.2rem;
  justify-content: space-between;
  line-height: 2.2rem;
  margin: 0;
  padding-left: 1em;
  text-align: left;
  width: 100%;
}

.book-search-title {
  font-size: 1.1em;
  text-align: left;
  width: 100%;
}

.book-search-nav {
  align-items: center;
  display: flex;
  font-size: 0.9em;
}
.book-search-nav .btn-result-nav {
  background: none;
  border: 0;
  color: white;
  font-size: 150%;
  height: 100%;
  margin: 0;
  padding: 0;
  transform: scaleX(0.6) translateY(-0.12em);
  width: 2em;
}
.book-search-nav .btn-result-nav:disabled {
  color: transparent;
}

.btn-search-expand, .btn-search-collapse {
  align-items: center;
  background-color: transparent;
  border: 0;
  color: white;
  display: flex;
  height: 100%;
  justify-content: center;
  line-height: 100%;
  outline: 0;
  position: relative;
  padding: 0;
  width: 4em;
}

.btn-search-expand:after, .btn-search-collapse:after {
  content: ">";
  font-family: var(--main-font);
  font-size: 180%;
  transform: rotate(90deg) scaleY(1.3);
}

.btn-search-collapse:after {
  transform: rotate(-90deg) scaleY(1.3);
}

.book-search-result {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  justify-content: space-between;
  padding: 1em 1em 1.5em;
  position: relative;
}
.book-search-result > p {
  margin: 0;
}
.book-search-result .book-search-result-position {
  font-size: 0.7em;
  color: darkgray;
  padding-top: 0.5em;
  position: relative;
}
.book-search-result:active, .book-search-result:focus {
  border-left: 0.25em solid var(--secondary-btn-color);
  outline: 0;
}

.book-search-result .book-search-result-position:before {
  background-color: darkgray;
  bottom: -2.1em;
  content: "";
  font-size: 0.5em;
  height: 1em;
  left: var(--current-progression);
  opacity: 0;
  position: absolute;
  text-align: center;
  width: 0.4em;
  z-index: 1;
  transition: left 200ms ease-in-out, opacity 150ms ease-in-out;
}

.book-search-result:hover .book-search-result-position:before {
  opacity: 1;
}

.book-search-result .book-search-result-position:after {
  background: linear-gradient(to right, var(--primary-btn-color) 0%, var(--primary-btn-color) var(--progression), var(--card-color) var(--progression)) 0 0 no-repeat;
  bottom: -2em;
  border-radius: 0.3em;
  content: "";
  font-size: 0.5em;
  height: 0.5em;
  left: 0;
  position: absolute;
  text-align: center;
  width: 100%;
}

.book-search-term {
  background-color: rgba(255, 0, 69, 0.18);
}

.book-search-loading {
  align-self: center;
  color: var(--primary-btn-color);
  font-size: 2em;
  text-align: center;
  width: 3rem;
}

.book-shelf {
  align-items: center;
  background-color: var(--shelf-bg-color);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  color: var(--shelf-font-color);
  display: flex;
  flex-direction: column;
  height: 15rem;
  justify-content: center;
  margin-bottom: 3rem;
  padding: 0.5rem 2rem 1.65rem;
  position: relative;
  width: 100%;
}
.book-shelf:last-child {
  margin-bottom: 0;
}
.book-shelf a, .book-shelf a:visited {
  color: inherit;
  text-decoration: none;
  -webkit-text-decoration-skip: spaces;
          text-decoration-skip: spaces;
}

.book-shelf.new .book-shelf-title {
  margin: 1em 0 0;
}

.book-shelf.empty {
  height: 11rem;
}
.book-shelf.empty .book-shelf-add-button {
  background-color: transparent;
  color: white;
}
.book-shelf.empty .book-shelf-add-button:hover {
  box-shadow: none;
  transform: scale(1.05);
}
.book-shelf.empty .book-shelf-books:after {
  display: none;
}
.book-shelf.empty .btn-shelf-menu {
  bottom: 2.8rem;
}
.book-shelf.empty .book-shelf-menu {
  top: 8.4rem;
}

.book-shelf-title {
  font-size: 1.4rem;
  font-weight: normal;
  margin: 0 0 auto 0;
  padding-bottom: 0.5em;
}
.book-shelf-title a {
  color: var(--shelf-font-color);
  text-decoration: none;
}
.book-shelf-title a:hover {
  text-decoration: underline;
}

.book-shelf-count {
  font-size: 80%;
}

.book-shelf-books {
  align-items: center;
  display: flex;
  flex-grow: 1;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  position: relative;
  width: 100%;
}
.book-shelf-books:after {
  background: linear-gradient(to right, transparent 0%, var(--shelf-bg-color) 30%, var(--shelf-bg-color) 100%) 0 0 no-repeat;
  content: "";
  position: absolute;
  right: 0;
  height: 100%;
  width: 8rem;
}

.book-shelf-book {
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  display: block;
  flex-shrink: 0;
  height: 160px;
  margin: 0 1.5rem 2px 0;
  overflow: hidden;
}
.book-shelf-book:last-child {
  margin-right: 0;
}
.book-shelf-book img {
  height: 100%;
}
.book-shelf-book .book-no-cover {
  font-size: 80%;
  height: 100%;
  padding: 0.5em;
  text-align: center;
  width: 10rem;
  word-break: break-word;
}

.btn-shelf-menu {
  font-size: 1.5rem;
  right: 1rem;
  margin-left: auto;
  position: absolute;
  bottom: 4.8rem;
}
.btn-shelf-menu [class^=icon-] {
  background-color: var(--shelf-btn-bg-color);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  color: white;
}

.book-shelf-menu {
  background-color: var(--shelf-btn-bg-color);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  border-radius: 0.3em;
  color: #fff;
  font-size: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 0.2rem;
  top: 10.5rem;
  z-index: 10;
}
.book-shelf-menu li {
  cursor: default;
  padding: 0.2em 0.5em;
}
.book-shelf-menu li:hover {
  text-decoration: underline;
}

.shelf-form {
  align-items: center;
  display: flex;
  flex-direction: column;
}
.shelf-form .shelf-form-input {
  align-items: center;
  display: flex;
  margin-bottom: 0.4em;
}
.shelf-form .shelf-form-input input {
  margin: 0 0 0 0.4em;
}
.shelf-form .shelf-form-actions {
  display: flex;
  justify-content: center;
  padding-left: 2rem;
}

@media screen and (max-width: 1024px) {
  .book-shelf {
    margin-bottom: 2rem;
  }
}
.book-shelves {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 3rem;
  width: 100%;
}

.book-shelves-empty {
  color: var(--accent-color);
  font-size: 1.45rem;
  letter-spacing: 0.023em;
  padding: 2em 0;
}

.book-shelf-add-button {
  align-items: center;
  background-color: var(--shelf-color);
  border: none;
  color: var(--shelf-text-color);
  display: flex;
  flex-direction: row;
  font-family: var(--main-font);
  font-size: 1.6rem;
  justify-content: center;
  padding: 0;
}
.book-shelf-add-button .btn-round {
  background-color: var(--shelf-btn-bg-color);
  border-radius: 4rem;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  font-size: 3rem;
  font-weight: normal;
  height: 4rem;
  width: 4rem;
}
.book-shelf-add-button .btn-round:hover {
  transform: none;
}
.book-shelf-add-button > [class^=icon-] {
  font-size: 250%;
}
.book-shelf-add-button:hover {
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
}

.btn-empty-shelves {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-bottom: 3rem;
}

@media screen and (max-width: 1024px) {
  .book-shelves {
    padding: 2rem 1rem;
  }
}
.book-shelves-selector {
  background-color: #fff;
  border-bottom-left-radius: 0.2em;
  border-bottom-right-radius: 0.2em;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  color: #242323;
  font-size: 0.9rem;
  margin: 0;
  min-width: 14rem;
  max-width: 18rem;
  padding: 0;
  position: absolute;
  right: 0;
  top: 4rem;
  z-index: 100;
}

.book-shelves-selector-header {
  background-color: var(--accent-color);
  border-bottom: 1px solid var(--accent-color);
  border-top-left-radius: 0.2em;
  border-top-right-radius: 0.2em;
  color: white;
  font-size: 110%;
  padding: 0.8em 1em;
  text-align: center;
}

.book-shelves-selector-list {
  list-style: none;
  padding: 0.5em 1.5em;
}

.book-shelves-shelve {
  display: flex;
  flex-direction: row;
}

.book-shelves-shelve-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

.book-shelves-selector-footer {
  display: flex;
  justify-content: space-between;
  padding: 0 0.5em 0.5em;
}
.book-shelves-selector-footer .btn {
  text-transform: uppercase;
}

.book-shelves-selector .shelf-creation-input {
  min-width: auto;
  width: 100%;
}

.book-toc {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6);
  height: calc(100% - 4rem);
  margin: 0;
  max-width: 80vw;
  min-width: 20rem;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  right: 0;
  top: 3.3rem;
  transition: opacity 0.4s ease-in-out;
  z-index: -1;
}

.book-toc-expanded {
  opacity: 1;
  z-index: 100;
}

.book-toc-title {
  background-color: var(--reader-menu-section-header);
  color: white;
  display: flex;
  height: 2.2rem;
  justify-content: space-between;
  line-height: 2.2rem;
  margin: 0;
  padding-left: 1em;
  text-align: left;
  width: 100%;
}

.book-toc ul {
  height: 100%;
  list-style: none;
  overflow: auto;
  padding: 0;
}

.book-toc-items {
  margin: 0;
  padding: 1rem 0;
  position: relative;
}

.book-toc-item:not(:last-child) {
  border-bottom: 1px solid #f5f5f5;
}

.book-toc-item-link {
  color: #242323;
  display: block;
  font-size: 70%;
  overflow: hidden;
  padding: 0.1rem 2rem 0.1rem 2rem;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.book-toc-item-level-1 {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.book-toc-item-level-2 {
  color: #666;
  font-size: 65%;
  letter-spacing: 0.03em;
  padding-left: 3rem;
}

.book-toc-item-level-3 {
  color: grey;
  font-size: 60%;
  font-style: italic;
  padding-left: 4rem;
}

.book-toc-item-level-4 {
  color: grey;
  font-size: 60%;
  padding-left: 5rem;
}

.book-toc-item-level-5 {
  padding-left: 6rem;
}

.book-toc-item-level-6 {
  padding-left: 7rem;
}

.book-toc-item-level-5,
.book-toc-item-level-6 {
  color: darkgray;
  font-size: 60%;
}

.book-toc-item .book-toc-item-link:hover {
  text-decoration: underline;
}

.book-toc-item ul {
  background-color: rgba(255, 255, 255, 0.55);
  background-origin: padding-box;
  border-width: 1px 0;
  border-style: solid;
  border-color: #EAEAE7;
}

.book-toc-item ul:empty {
  border: none;
}

.book-toc-item-label {
  align-items: center;
  display: flex;
  line-height: 1.5rem;
  padding: 0.2rem 0.5rem 0.2rem 0;
  position: relative;
}
.book-toc-item-label:hover {
  background-color: var(--hover-element-color);
  background-origin: padding-box;
}

.book-toc-item-page {
  color: gray;
  font-size: 50%;
}

.book-toc-item-current > .book-toc-item-label {
  background-color: rgba(184, 253, 236, 0.36);
  background-origin: padding-box;
  font-weight: bold;
}
.book-toc-item-current > .book-toc-item-label:before {
  color: #68a99c;
  content: "▶";
  font-size: 50%;
  left: 1rem;
  position: relative;
}

.book {
  display: flex;
  position: relative;
  background-color: var(--book-view-bg-color);
}

.book-clickable {
  cursor: default;
}
.book-clickable:hover .book-title {
  text-decoration: underline;
}

.book-unavailable .book-illustration, .book-unavailable .book-details {
  opacity: 0.4;
}

.mobile-app-available .book-illustration, .mobile-app-available .book-details {
  opacity: 1;
}

.book-illustration {
  align-items: center;
  display: flex;
  justify-content: flex-start;
  min-width: 5rem;
  position: relative;
  text-align: center;
}
.book-illustration .book-no-cover {
  font-size: 50%;
  height: 80px;
  width: 60px;
}

.book-no-cover {
  align-items: center;
  background-color: #4B1F12;
  color: #cacaca;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 0 0.3rem;
  text-decoration: none;
}

.book-no-cover-2 {
  background-color: #F7F4E1;
  color: #970d23;
}

.book-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  padding-bottom: 0.4em;
  width: 100%;
}

.book-infos {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.book-title {
  line-height: 1.15em;
  word-break: break-word;
}

.book-author {
  color: #4a4a4a;
  font-size: 0.56em;
  letter-spacing: 0.15em;
  line-height: 1.4em;
  margin-bottom: auto;
  margin-top: 0.5em;
  text-transform: uppercase;
}

.book-status {
  color: #646464;
  display: flex;
  font-size: 0.5em;
  line-height: 2em;
  margin-top: 0.5em;
  opacity: 1;
  transition: all 200ms ease-in-out;
}

.book-progress {
  align-items: center;
  color: #646464;
  display: flex;
  font-size: 0.7em;
  margin-top: auto;
  width: 100%;
}
.book-progress .book-progress-bar {
  background: linear-gradient(to right, var(--primary-btn-color) 0%, var(--primary-btn-color) var(--progression), #fdfdfd var(--progression)) 0 0 no-repeat;
  border-radius: 0.3em;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  flex-grow: 1;
  font-size: 1.4em;
  height: 0.3em;
  margin-bottom: 0.1em;
  margin-right: 0.6em;
  text-align: center;
  z-index: 1;
}

.book-downloading {
  font-style: italic;
  justify-content: center;
  margin-top: auto;
  overflow: hidden;
  padding-bottom: 0.3rem;
}

.book-actions {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  justify-content: center;
  min-width: 7rem;
}

.book-action {
  align-items: center;
  background-color: transparent;
  border: 0;
  cursor: default;
  display: flex;
  font-family: var(--main-font);
  font-size: 0.75rem;
  height: 2.5em;
  justify-content: center;
  margin-bottom: 0.3em;
  outline: none;
  padding: 0 0.8em;
}
.book-action [class^=icon-] {
  font-size: 130%;
  margin-right: 0.2em;
}
.book-action:hover {
  transform: scale(1.1);
}

.book-action-primary {
  background-color: var(--primary-btn-color);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.book-action-secondary {
  background-color: var(--book-cover-second-btn-color);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  color: var(--book-action-second-color);
}
.book-action-secondary:hover {
  background-color: var(--book-cover-second-btn-hover-color);
  color: var(--book-cover-second-btn-hover-text-color);
}

.book-action-disabled {
  opacity: 0.3;
}
.book-action-disabled:hover {
  transform: none;
}

.book-action-download {
  justify-content: flex-start;
  min-width: 11em;
}

.book-remove-confirmation, .book-modal-info {
  padding: 0 1em;
}

.book-expire-soon {
  background-color: #de0200;
  color: white;
  font-size: 0.5em;
  left: 0;
  letter-spacing: 0.16em;
  padding: 1em 1.5em;
  position: absolute;
  line-height: 1.6em;
  text-transform: uppercase;
  text-align: left;
  width: 55%;
}

.book-tile .book-presentation {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  max-height: 220px;
  padding: 8px;
  word-wrap: break-word;
}
.book-tile .book-presentation .book-details {
  justify-content: flex-start;
}
.book-tile .book-presentation .book-actions {
  flex-direction: row;
  justify-content: space-between;
  margin-top: auto;
}
.book-tile .book-presentation .book-action-more {
  position: relative;
}
.book-tile .book-illustration {
  display: flex;
  justify-content: center;
  min-width: 160px;
  overflow: hidden;
  width: 160px;
}
.book-tile .book-illustration img {
  margin-right: auto;
}
.book-tile .book-illustration .book-no-cover {
  font-size: 80%;
  height: 220px;
  width: 10rem;
  word-break: break-word;
}
.book-tile:hover {
  transition: all ease-in 150ms;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}
.book-tile .book-actions-menu {
  background-color: white;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  list-style: none;
  min-width: 13rem;
  padding: 0.4rem 0;
  position: absolute;
  right: 0;
  top: 35px;
  visibility: hidden;
  z-index: 10;
}
.book-tile .book-actions-menu li {
  height: 1.8rem;
  line-height: 1.8rem;
  padding-right: 0.6rem;
  position: relative;
  text-align: right;
}
.book-tile .book-actions-menu li:hover {
  background-color: #ebebeb;
}
.book-tile .book-actions-menu-visible {
  visibility: visible;
}

.sideload-progress .book-sideload [class^=icon-] {
  font-size: 200%;
}
.sideload-progress .book-sideload:after {
  animation: fullSpin 1.5s linear infinite;
  border: 0.3em solid #fff;
  border-color: var(--accent-color) transparent transparent;
  border-radius: 50%;
  content: " ";
  display: block;
  height: 3.1em;
  margin: 0;
  width: 3.1em;
  position: absolute;
}

.book-round-action {
  align-items: center;
  background-color: var(--primary-btn-color);
  border-radius: 1.4em;
  bottom: 1em;
  color: #fff;
  display: flex;
  font-size: 0.75rem;
  height: 2.8em;
  justify-content: center;
  left: 1em;
  margin-bottom: 0;
  padding: 0;
  position: absolute;
  width: 2.8em;
}
.book-round-action [class^=icon-] {
  font-size: 180%;
  transition: all 150ms ease-in-out;
}
.book-round-action:hover {
  transform: none;
}
.book-round-action.warning {
  background-color: #fbb03b;
}
.book-round-action.error {
  background-color: #de0200;
}

.book-nocloud .icon-nocloud {
  font-size: 270%;
  padding-left: 0.2em;
}

.book-cloud-user-icon {
  align-items: center;
  background-color: var(--primary-btn-color);
  -webkit-clip-path: polygon(0 0, 100% 0%, 0% 80%, 0 80%);
          clip-path: polygon(0 0, 100% 0%, 0% 80%, 0 80%);
  color: white;
  display: flex;
  font-size: 2.4rem;
  height: 1.1em;
  justify-content: center;
  left: 0;
  margin-right: 0.5em;
  position: absolute;
  top: 0;
  width: 1.1em;
}
.book-cloud-user-icon [class^=icon-]:before {
  font-size: 55%;
  left: -3px;
  position: absolute;
  top: -1px;
}

.book-sideload:hover [class^=icon-] {
  font-size: 200%;
}

.book-no-sideload {
  color: #a9a9a9;
}

.book-sideload-title {
  font-size: 1.2em;
  padding: 0 1em;
  text-align: center;
  width: 100%;
}

.book-sideload-ereaders {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0 1em 1em;
}

.book-sideload-ereader {
  align-items: center;
  background-color: rgba(234, 234, 234, 0.8);
  display: flex;
  flex-direction: column;
  margin: 1em;
  padding-bottom: 1em;
  text-transform: capitalize;
}
.book-sideload-ereader .icon-ereader {
  font-size: 6em;
}
.book-sideload-ereader:hover, .book-sideload-ereader.selected {
  background-color: rgba(231, 252, 233, 0.8);
}
.book-sideload-ereader.selected {
  transform: scale(1.1);
}

.sideloaded .book-sideload [class^=icon-], .sideloaded .book-sideload:hover [class^=icon-] {
  font-size: 190%;
  padding-bottom: 0.1em;
  position: absolute;
}
.sideloaded .book-sideload [class^=icon-]:last-child, .sideloaded .book-sideload:hover [class^=icon-]:last-child {
  font-size: 75%;
}

.book-download [class^=icon-], .book-upload [class^=icon-] {
  font-size: 200%;
  padding-left: 0.2em;
}

.downloading .book-download:after, .uploading .book-upload:after {
  animation: fullSpin 1.5s linear infinite;
  border-color: var(--accent-color) transparent transparent;
  border-radius: 50%;
  border-style: solid;
  border-width: 0.3em;
  content: " ";
  display: block;
  height: 3.1em;
  margin: 0;
  width: 3.1em;
  position: absolute;
}

.uploading .book-upload.warning:after {
  border-color: #ff890f transparent transparent;
  height: 3em;
  width: 3em;
}

.book-selection-overlay {
  align-items: center;
  background-color: rgba(255, 255, 255, 0.65);
  display: flex;
  font-size: 2.2rem;
  height: 100%;
  justify-content: center;
  left: 0;
  padding-right: 240px;
  position: absolute;
  width: 100%;
  z-index: 2;
}
.book-selection-overlay [class^=icon-] {
  align-items: center;
  background-color: var(--secondary-btn-color);
  border-radius: 1.5em;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  color: white;
  display: flex;
  height: 1.5em;
  justify-content: center;
  width: 1.5em;
}

.book.selected .book-selection-overlay {
  background-color: rgba(235, 255, 228, 0.4);
}
.book.selected .book-selection-overlay [class^=icon-] {
  background-color: var(--primary-btn-color);
}

.button-check {
  align-items: center;
  display: flex;
  margin: 0.7rem 0;
}

.button-check-box {
  border: 2px solid #303030;
  border-radius: 2px;
  flex-shrink: 0;
  height: 1.3em;
  line-height: 1.3em;
  margin-right: 1em;
  opacity: 0.7;
  position: relative;
  width: 1.3em;
}
.button-check-box > .icon-ok {
  color: #303030;
  font-size: 1.05em;
  left: -0.18em;
  position: absolute;
  top: -0.11em;
}

.button-check-label {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}
.button-check-label > a {
  font-size: 92%;
}

.button-loader {
  transition: width 200ms ease-in-out;
}
.button-loader .button-loader-text {
  display: flex;
  justify-content: center;
}
.button-loader .icon-load {
  margin-right: 0.4em;
}

.button-loading, button.button-loading {
  min-width: unset;
  width: auto;
}

.button-progress {
  background: linear-gradient(to left, var(--hover-element-color), var(--read-panel-bg-color)) 0 0 no-repeat #fbfbfb;
  background-origin: border-box;
  color: #000;
  cursor: default;
}
.button-progress:hover {
  transform: none;
}

.cloud-eula {
  font-size: 1.2rem;
}

.cloud-books-migration {
  width: 100%;
}

.cloud-books-migration-banner {
  align-items: center;
  background-color: var(--read-bar-bg-color);
  color: var(--read-bar-font-color);
  display: flex;
  flex-direction: column;
  font-family: var(--main-font);
  font-size: 1em;
  height: 14rem;
  justify-content: center;
  margin-bottom: 1em;
  overflow: hidden;
  padding: 1em 2em;
  position: relative;
  width: 100%;
}
.cloud-books-migration-banner > p {
  font-size: 1.1em;
  margin: 0.6em 0;
  text-align: center;
}
.cloud-books-migration-banner progress {
  background-color: var(--secondary-btn-color);
  background-clip: padding-box;
  border-radius: 1em;
  display: block;
  height: 1em;
  margin: 1em 0;
  max-width: 23em;
  overflow: hidden;
  position: relative;
  width: 90%;
}
.cloud-books-migration-banner progress::-moz-progress-bar {
  background-color: #e6e6e6;
  -moz-transition: width 100ms ease-in-out;
  transition: width 100ms ease-in-out;
}
.cloud-books-migration-banner progress::-webkit-progress-bar {
  background-color: var(--secondary-btn-color);
  -webkit-transition: width 100ms ease-in-out;
  transition: width 100ms ease-in-out;
}
.cloud-books-migration-banner progress::-webkit-progress-value {
  background-color: #e6e6e6;
  -webkit-transition: width 100ms ease-in-out;
  transition: width 100ms ease-in-out;
}

.cloud-books-migration-mylibrary {
  align-items: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  padding-bottom: 2em;
}
.cloud-books-migration-mylibrary > h1 {
  color: var(--read-bar-bg-color);
  margin-bottom: 1.5em;
}

.cloud-books-migration-mylibrary-books {
  display: flex;
  flex-direction: row;
}
.cloud-books-migration-mylibrary-books > .book {
  align-items: center;
  color: #8b8b8b;
  display: flex;
  font-size: 0.94em;
  margin: 1em;
  max-width: 19em;
}
.cloud-books-migration-mylibrary-books > .book > .book-cover {
  border: 1px solid black;
  flex-shrink: 0;
  height: 8em;
  margin-right: 1em;
  width: 6em;
}

.cloud-migration-success a {
  color: #5b5b5b;
}
.cloud-migration-success .cloud-my-new-library {
  align-items: flex-start;
}
.cloud-migration-success .cloud-my-new-library {
  padding-bottom: 0;
}
.cloud-migration-success .cloud-my-new-library-title, .cloud-migration-success .cloud-migration-success-entry {
  color: var(--read-bar-bg-color);
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 0;
}
.cloud-migration-success .cloud-migration-success-list {
  display: flex;
  justify-content: space-between;
}
.cloud-migration-success .cloud-migration-success-list > ol {
  margin: 0 0 1em;
}
.cloud-migration-success .cloud-migration-success-list > .book-cover {
  border: 1px solid black;
  flex-shrink: 0;
  height: 5em;
  margin-left: 1.5em;
  margin-top: 0.2em;
  width: 4em;
}
.cloud-migration-success .modal-dialog {
  font-size: 0.9em;
  max-width: 57em;
}
.cloud-migration-success .modal-footer {
  justify-content: center;
}
.cloud-migration-success .btn {
  text-transform: none;
}

.cloud-my-new-library {
  align-items: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  padding-bottom: 2em;
}

.cloud-my-new-library-title {
  color: var(--read-bar-bg-color);
  font-size: 1.7em;
  font-weight: bold;
  margin-bottom: 1.5em;
}

.cloud-my-new-library-books {
  display: flex;
  flex-direction: row;
}
.cloud-my-new-library-books > .book {
  align-items: center;
  color: #8b8b8b;
  display: flex;
  font-size: 0.94em;
  margin: 1em;
  max-width: 19em;
}
.cloud-my-new-library-books > .book > .book-cover {
  border: 1px solid black;
  flex-shrink: 0;
  height: 8em;
  margin-right: 1em;
  width: 6em;
}

.cloud-reseller-picker {
  max-width: 1200px;
  font-family: "OpenSans";
  font-size: 1.1rem;
}
.cloud-reseller-picker button {
  color: white;
  font-family: "OpenSans";
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.cloud-reseller-picker .scale-down-on-active {
  transform: scale(1);
  transition: transform 0.05s ease;
}
.cloud-reseller-picker .reseller.scale-down-on-active {
  transform: scale(1);
  transition: transform 0.05s ease, border-color 0.2s ease;
}
.cloud-reseller-picker .scale-down-on-active:active {
  transform: scale(0.95);
}
.cloud-reseller-picker img {
  min-width: 100%;
  width: 100%;
  height: auto;
}
.cloud-reseller-picker h1 {
  font-size: 2.2rem;
  margin: 0;
}
.cloud-reseller-picker h3 {
  font-weight: 600;
  font-size: 1.4rem;
}
.cloud-reseller-picker h4 {
  font-size: 1.3rem;
}
.cloud-reseller-picker p {
  padding: 1rem 2.3rem;
  border-radius: 10px;
  -webkit-hyphens: auto;
          hyphens: auto;
}
.cloud-reseller-picker .grey {
  background-color: #F6F6F6;
}
.cloud-reseller-picker .blue-text {
  color: #2D2590;
}
.cloud-reseller-picker .center-text {
  text-align: center;
}
.cloud-reseller-picker .small-block {
  max-width: 23rem;
}
.cloud-reseller-picker .intro-container {
  display: flex;
  flex-direction: column;
}
.cloud-reseller-picker .intro-container > div {
  flex: 1;
  padding: 2rem;
}
.cloud-reseller-picker .intro-container > div:first-child {
  align-self: center;
  display: none;
}
.cloud-reseller-picker .intro-container .intro-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
}
.cloud-reseller-picker .intro-container .intro-content .choose-reseller-button {
  background-color: #D8161A;
  padding: 10px 50px;
}
.cloud-reseller-picker .intro-container .intro-content .choose-reseller-button:hover {
  background-color: #B71417;
}
.cloud-reseller-picker .resellers-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}
.cloud-reseller-picker .resellers-container .reseller-list {
  display: grid;
  grid-gap: 1rem;
  margin: 1rem auto 0 auto;
  padding: 0;
  grid-template-columns: repeat(1, 1fr);
  list-style: none;
}
.cloud-reseller-picker .resellers-container .reseller {
  width: 200px;
  border-radius: 23px;
  margin-bottom: 10px;
  position: relative;
  border: 1px solid #F6F6F6;
  box-shadow: 1px 1px 1px 1px #00000017;
  cursor: pointer;
  height: 110px;
}
.cloud-reseller-picker .resellers-container .reseller img {
  max-height: 65px;
  padding-left: 20px;
  padding-right: 20px;
  object-fit: scale-down;
}
.cloud-reseller-picker .resellers-container .reseller:hover {
  border: 1px solid #2C43D6;
}
.cloud-reseller-picker .resellers-container .reseller:hover .login-button {
  background-color: #2C43D6;
}

@media screen and (min-width: 500px) {
  .cloud-reseller-picker .resellers-container .reseller-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 700px) {
  .cloud-reseller-picker {
    margin-top: 3rem;
  }
  .cloud-reseller-picker .intro-container {
    flex-direction: row;
  }
  .cloud-reseller-picker .intro-container > div:first-child {
    display: flex;
  }
  .cloud-reseller-picker .resellers-container .reseller-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 1000px) {
  .cloud-reseller-picker .resellers-container .reseller-list {
    grid-template-columns: repeat(4, 1fr);
  }
}
.cloud-update-popins .modal-title {
  font-size: 1.6em;
}
.cloud-update-popins .modal-dialog {
  width: 520px;
}
.cloud-update-popins .modal-dialog .modal-section {
  display: block;
}
.cloud-update-popins .btn {
  font-size: 105%;
  line-height: 1.4em;
  width: 14em;
  white-space: normal;
}
.cloud-update-popins .btn-primary {
  text-transform: none;
}

.cloud-software-update {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  width: 100%;
}

.cloud-software-update-banner {
  align-items: center;
  background-color: var(--read-bar-bg-color);
  color: var(--read-bar-font-color);
  display: flex;
  flex-direction: column;
  font-family: var(--main-font);
  font-size: 1em;
  height: 14rem;
  justify-content: center;
  margin-bottom: 1em;
  overflow: hidden;
  padding: 1em 2em;
  position: relative;
  width: 100%;
}
.cloud-software-update-banner > p {
  font-size: 1.1em;
  margin: 0.6em 0;
  text-align: center;
}
.cloud-software-update-banner .endless-progress {
  height: 0.8em;
  max-width: 22em;
  margin: 1em 0;
}
.cloud-software-update-banner .icon-sad {
  font-size: 3em;
}

.cloud-software-update-content {
  align-items: center;
  color: var(--read-bar-bg-color);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  margin-bottom: 1em;
}
.cloud-software-update-content .introduction-screen {
  margin: 2em 0;
}
.cloud-software-update-content .introduction-screen > .synced_library .text {
  margin-bottom: 1em;
}
.cloud-software-update-content .introduction-screen > .synced_library .text h4 {
  font-size: 1.2em;
  margin-bottom: 0;
}
.cloud-software-update-content > p {
  font-size: 1.05em;
  text-align: center;
}
.cloud-software-update-content .btn-primary {
  font-size: 110%;
}

.cloud-usage-bar {
  align-items: center;
  background-color: #eee;
  border: 0;
  border-radius: calc(0.6em / 2);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-grow: 1;
  height: 0.6em;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.cloud-usage-bar-value {
  background: var(--primary-btn-color);
  height: 100%;
  z-index: 0;
}

.alert .cloud-usage-bar-value {
  background: red;
}

.connection-banner {
  align-items: center;
  background-color: var(--read-bar-bg-color);
  color: var(--read-bar-font-color);
  display: flex;
  font-family: var(--main-font);
  height: 14rem;
  justify-content: center;
  margin-bottom: 1em;
  overflow: hidden;
  padding: 1em 2em;
  position: relative;
  width: 100%;
}

.connection-banner.esmod-editions {
  background: url("esmod_editions_banner-981ce43e4074a583fb4e180970619396.jpg") no-repeat center;
  background-size: cover;
  height: 100vh;
  margin-bottom: 0;
  max-height: calc(100vh - 4rem);
}
.connection-banner.esmod-editions .connection-banner-actions {
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
  bottom: 4%;
  color: #060606;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 2rem;
  position: absolute;
  right: 3%;
}
.connection-banner.esmod-editions .connection-banner-actions button {
  margin: 2em 0 0;
}
.connection-banner.esmod-editions .connection-banner-close {
  display: none;
}

.connection-banner-punchline {
  font-size: 2em;
  font-weight: bold;
  line-height: 1em;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.connection-banner-close {
  position: absolute;
  right: 0.4em;
  top: 0.3em;
}

.connection-banner-actions {
  font-size: 1em;
  max-width: 36rem;
  margin-bottom: 0.3em;
  margin-left: 3em;
  padding: 0;
  text-align: right;
}
.connection-banner-actions p {
  margin: 0.5em 0 1.2em;
}
.connection-banner-actions .btn {
  background-color: var(--special-btn-color);
  font-size: 0.8em;
  margin: 0;
  padding-left: 2em;
  padding-right: 2em;
}

.connection-banner-register {
  font-size: 80%;
  font-style: italic;
}
.connection-banner-register a {
  color: white;
}

.connection-banner-logo {
  margin: 0 0 auto 2em;
}
.connection-banner-logo img {
  max-height: 105px;
}

@media screen and (max-width: 1280px) {
  .connection-banner {
    justify-content: flex-end;
  }
}
@media screen and (max-width: 700px) {
  .connection-banner {
    justify-content: center;
  }
  .connection-banner img {
    display: none;
  }

  .connection-banner-actions {
    margin-left: 0;
    text-align: center;
  }
}
@media screen and (max-width: 530px) {
  .connection-banner {
    font-size: 3.65vw;
    height: 12rem;
    padding: 1em;
  }
}
.dots-loader-dot {
  width: 0.6rem;
  height: 0.6rem;
  background: #E5E5E5;
  border-radius: 50%;
  position: absolute;
  left: calc(50% - 0.3rem);
  top: calc(50% - 0.3rem);
  box-shadow: 0 0 0.5rem rgba(255, 255, 255, 0.15);
}

.dots-loader-dot-2 {
  animation: animate-to-2 1.5s infinite;
}

.dots-loader-dot-3 {
  animation: animate-to-3 1.5s infinite;
}

.dots-loader-dot-1 {
  animation: animate-to-1 1.5s infinite;
}

.dots-loader-dot-4 {
  animation: animate-to-4 1.5s infinite;
}

.dots-loader-dot-0 {
  animation: animate-to-0 1.5s infinite;
}

.dots-loader-dot-5 {
  animation: animate-to-5 1.5s infinite;
}

@keyframes animate-to-2 {
  25%, 75% {
    transform: translateX(-0.4rem) scale(0.75);
  }
  95% {
    transform: translateX(0rem) scale(1);
  }
}
@keyframes animate-to-3 {
  25%, 75% {
    transform: translateX(0.4rem) scale(0.75);
  }
  95% {
    transform: translateX(0rem) scale(1);
  }
}
@keyframes animate-to-1 {
  25% {
    transform: translateX(-0.4rem) scale(0.75);
  }
  50%, 75% {
    transform: translateX(-1.2rem) scale(0.6);
  }
  95% {
    transform: translateX(0rem) scale(1);
  }
}
@keyframes animate-to-4 {
  25% {
    transform: translateX(0.4rem) scale(0.75);
  }
  50%, 75% {
    transform: translateX(1.2rem) scale(0.6);
  }
  95% {
    transform: translateX(0rem) scale(1);
  }
}
@keyframes animate-to-0 {
  25% {
    transform: translateX(-0.4rem) scale(0.75);
  }
  50% {
    transform: translateX(-1.2rem) scale(0.6);
  }
  75% {
    transform: translateX(-2rem) scale(0.5);
  }
  95% {
    transform: translateX(0rem) scale(1);
  }
}
@keyframes animate-to-5 {
  25% {
    transform: translateX(0.4rem) scale(0.75);
  }
  50% {
    transform: translateX(1.2rem) scale(0.6);
  }
  75% {
    transform: translateX(2rem) scale(0.5);
  }
  95% {
    transform: translateX(0rem) scale(1);
  }
}
.endless-progress {
  background-color: var(--secondary-btn-color);
  background-clip: padding-box;
  border-radius: 1em;
  display: block;
  height: 1.6em;
  margin-right: 1em;
  overflow: hidden;
  position: relative;
  width: 40em;
}
.endless-progress:before {
  animation: indeterminate 2.5s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
  background-color: #e6e6e6;
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  will-change: left, right;
}

.ebook-file-picker {
  position: relative;
  font-size: 0.8em;
}
.ebook-file-picker label {
  align-items: center;
  display: flex;
}
.ebook-file-picker input {
  height: 0;
  opacity: 0;
  position: fixed;
  top: 0;
}

.ereader-banner {
  align-items: center;
  background-color: var(--primary-btn-color);
  bottom: 0;
  color: #fff;
  display: flex;
  font-size: 1rem;
  height: 5.5rem;
  justify-content: center;
  left: 0;
  position: fixed;
  width: 100vw;
  z-index: 1;
}

.ereader-banner-hidden {
  display: none;
}

.ereader-banner-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ereader-sendto {
  font-size: 1.3em;
}

.ereader-title {
  font-weight: bold;
}

.ereader-hint {
  align-items: center;
  display: flex;
  font-style: italic;
}

.ereader-popup {
  font-size: 1em;
}

.ereader-popup-content {
  font-size: 1.4em;
  margin: 1em 4em 1.5em;
}

.ereader-popup-warning {
  color: #4a4a4a;
  font-size: 0.62em;
}

.ereader-popup .modal-footer {
  justify-content: center;
}
.ereader-popup .modal-footer .btn-close {
  font-size: 1em;
  text-transform: none;
}

.floating-button-action {
  align-items: center;
  background-color: var(--special-btn-color);
  border: 0;
  border-radius: 2rem;
  bottom: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  color: white;
  cursor: pointer;
  display: flex;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 3em;
  height: 3.5rem;
  justify-content: center;
  outline: 0;
  position: fixed;
  right: 2rem;
  transition: transform 200ms ease-in-out;
  width: 3.5rem;
  z-index: 10;
}
.floating-button-action.mini {
  border-radius: 1.25rem;
  height: 2.5rem;
  width: 2.5rem;
}
.floating-button-action:hover {
  transform: perspective(500px) translateZ(25px);
}

.sideload .floating-button-action {
  bottom: 7rem;
}

.input-autocomplete-field {
  background-color: white;
  border: 1px solid #8f8f8f;
  border-radius: 0.2rem;
  font-family: var(--main-font);
  outline: 0;
  min-width: 10rem;
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 0 0.2rem 0 0;
}
.input-autocomplete-field input {
  border: 0;
  font-size: inherit;
  outline: 0;
  padding: 0.6rem;
  width: 100%;
}
.input-autocomplete-field [class^=icon-search] {
  color: #646464;
}

.input-autocomplete-focus .input-autocomplete-field {
  outline-color: #68a99c;
  outline-offset: -2px;
  outline-style: auto;
  outline-width: 5px;
}
.input-autocomplete-focus .input-autocomplete-field [class^=icon-search] {
  color: #68a99c;
}

.input-autocomplete-results {
  position: relative;
  width: 20rem;
}

.input-autocomplete-list {
  background-color: white;
  border: 1px solid #68a99c;
  border-top-color: #e4e4e4;
  border-radius: 0 0 0.2rem 0.2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  left: 0;
  list-style: none;
  margin: 0;
  max-height: 50vh;
  overflow-y: auto;
  padding: 0 0 0.5rem;
  position: absolute;
  top: -0.2rem;
  width: 100%;
}

.input-autocomplete-result, .input-autocomplete-noresult {
  font-size: 90%;
  overflow-x: hidden;
  padding: 0 0.5rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.input-autocomplete-result:hover, .input-autocomplete-noresult:hover {
  background-color: rgba(184, 253, 236, 0.36);
}

.input-autocomplete-noresult {
  font-style: italic;
  text-align: center;
}

.result-selected {
  background-color: rgba(184, 253, 236, 0.36);
}

.input-password {
  background-color: white;
  border: 1px solid #8f8f8f;
  border-radius: 0.2rem;
  font-family: var(--main-font);
  outline: 0;
  min-width: 10rem;
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 0 0.2rem 0 0;
}
.input-password input {
  border: 0;
  font-size: inherit;
  outline: 0;
  padding: 0.6rem;
  width: 100%;
}
.input-password [class^=icon-eye] {
  color: #646464;
}

.input-password-focus {
  outline-color: #68a99c;
  outline-offset: -2px;
  outline-style: auto;
  outline-width: 5px;
}
.input-password-focus [class^=icon-eye] {
  color: #68a99c;
}

.legal-links {
  align-items: flex-end;
  color: #646464;
  display: flex;
  flex-grow: 1;
  font-size: 0.8rem;
  text-decoration: underline;
  justify-content: flex-start;
  margin: 6em 2em 0;
  padding-bottom: 1em;
  max-width: 90vw;
  width: 100%;
}
.legal-links [class^=icon-] {
  font-size: 4rem;
}

.legal-links-text {
  padding-left: 3rem;
  cursor: pointer;
  color: #797979;
}

.legal-links-text-link {
  color: #797979;
}
.legal-links-text-link:link, .legal-links-text-link:visited, .legal-links-text-link:hover, .legal-links-text-link:active {
  color: #797979;
}

.login-card {
  align-items: center;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  justify-content: center;
  padding: 1em;
}

.login-logo {
  max-width: 12rem;
  margin-right: 4rem;
}

.login-form-logo {
  margin-bottom: 1rem;
}

.login-form-footer {
  margin-top: 1.2rem;
}
.login-form-footer .btn-link, .login-form-footer a {
  color: #8f8f8f;
  font-size: 1rem;
  font-style: italic;
}

.login-form {
  align-items: center;
  display: flex;
  flex-direction: column;
  font-size: inherit;
  justify-content: center;
}
.login-form ::-webkit-input-placeholder {
  color: transparent;
}
.login-form :-moz-placeholder {
  color: transparent;
}
.login-form ::-moz-placeholder {
  color: transparent;
}
.login-form :-ms-input-placeholder {
  color: transparent;
}

.login-form-label {
  font-size: inherit;
  margin-bottom: 0.2rem;
  margin-top: 0.5rem;
}

.login-form-input {
  font-size: inherit;
  margin-bottom: 0.6rem;
  margin-top: 0.2rem;
  min-height: 2rem;
  width: 20rem;
}

input.login-form-input, .login-form-input input {
  padding: 0.6rem;
}

.login-form-button {
  font-size: inherit;
  width: 20rem;
}

.login-form-button:last-child {
  margin-top: 2rem;
}

.login-form-error {
  align-items: center;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  margin: 0.5rem;
  background-color: #ffd280;
  border-radius: 0.4rem;
  padding: 1rem;
  width: 20rem;
}
.login-form-error [class^=icon-]:before {
  font-size: 1.5rem;
  margin-bottom: 0.5em;
  padding-right: 1.5rem;
}

.cloud-login-error {
  align-items: center;
  display: flex;
  flex-direction: column;
  font-size: 1.4rem;
  justify-content: center;
  overflow: hidden;
  padding: 1em 1em 2em;
  text-align: center;
}
.cloud-login-error .main-icon {
  font-size: 3rem;
}
.cloud-login-error p.error-message {
  text-align: left;
}
.cloud-login-error p.error-notice {
  color: #646464;
  font-size: 1.2rem;
}

.cloud-login-redirect {
  align-items: center;
  background-color: white;
  color: #242323;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 15rem;
  margin-left: calc(50vw - 15rem);
  margin-top: calc(50vh - 7rem);
  padding: 3rem;
  text-align: center;
  width: 30rem;
  z-index: 107;
}
.cloud-login-redirect .main-icon {
  font-size: 2em;
}

@media screen and (min-aspect-ratio: 13/9) and (max-height: 620px) {
  .login {
    height: 100vh;
  }

  .login-logo {
    margin-right: 3rem;
    max-width: 11rem;
  }

  .login-form-label {
    display: none;
  }

  .login-form ::-webkit-input-placeholder {
    color: #8f8f8f;
  }
  .login-form :-moz-placeholder {
    color: #8f8f8f;
  }
  .login-form ::-moz-placeholder {
    color: #8f8f8f;
  }
  .login-form :-ms-input-placeholder {
    color: #8f8f8f;
  }
}
@media screen and (min-aspect-ratio: 13/9) and (max-height: 300px) {
  .login {
    height: auto;
  }
}
.my-account {
  background-color: #fff;
  border-bottom-left-radius: 0.3em;
  border-bottom-right-radius: 0.3em;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  color: #242323;
  font-size: 0.73em;
  margin: 0;
  min-width: 12rem;
  max-width: 15rem;
  padding: 0;
  position: absolute;
  right: 0;
  top: 4rem;
  z-index: 100;
}

.my-account-header {
  align-items: flex-start;
  background-color: var(--read-panel-bg-color);
  border-bottom: 1px solid var(--nav-bar-home-bg-color);
  color: var(--nav-bar-home-font-color);
  display: flex;
  flex-direction: column;
  padding: 0.8em 1em;
}
.my-account-header img {
  height: 2.5em;
  margin: 1em auto;
}
.my-account-header .my-account-email {
  font-weight: bold;
  width: 100%;
  word-break: break-all;
}
.my-account-header .btn-icon {
  color: inherit;
  font-size: inherit;
  margin-top: 0.2em;
}

.my-account-items {
  list-style: none;
  margin: 0;
  max-height: 50vh;
  overflow: auto;
  padding: 0.8em 1em;
}
.my-account-items > li {
  padding: 0.3em 0;
}

.my-account-cloud-usage {
  align-items: center;
  display: flex;
  width: 60%;
}
.my-account-cloud-usage i[class^=icon-] {
  color: white;
  margin-right: 0.05em;
}
.my-account-cloud-usage i[class^=icon-]:before {
  font-size: 2em;
}

.passphrase-dialog {
  display: grid;
  font-size: 0.95rem;
  grid-template-areas: "illustration form" "buttons buttons";
  padding: 2em 2em 1em;
  width: 100%;
}

.passphrase-dialog-title {
  font-size: 1.2em;
  font-weight: normal;
  margin: 0 0 1em;
}

.passphrase-dialog-illustration {
  grid-area: illustration;
  height: auto;
  margin-right: 2em;
  width: 8em;
}

.passphrase-dialog-no-illustration {
  font-size: 10em;
  margin-right: 2rem;
}
.passphrase-dialog-no-illustration:before {
  margin: 0;
}

.passphrase-dialog-content {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  grid-area: form;
  margin-bottom: 2em;
  max-width: 32em;
}
.passphrase-dialog-content .login-form-error {
  margin: 1em 0;
  width: 100%;
}

.passphrase-dialog-form-input {
  margin: 0.3em 0;
  width: 100%;
}

.passphrase-dialog-hint {
  font-size: 0.9em;
  font-style: italic;
}

.passphrase-dialog-buttons {
  align-items: center;
  display: flex;
  flex-direction: column;
  grid-area: buttons;
  width: 100%;
}
.passphrase-dialog-buttons .btn-secondary {
  margin-top: 0;
  min-width: inherit;
}

.no-user-select .pdf-container {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.pdf-container {
  align-items: center;
  justify-content: center;
  display: flex;
  height: calc(100vh - 3.3rem - 3.3rem);
  left: 2.5rem;
  overflow: auto;
  position: absolute;
  top: 3.3rem;
  touch-action: none;
  -webkit-user-select: auto;
     -moz-user-select: auto;
          user-select: auto;
  width: calc(100vw - 5rem);
  -webkit-touch-callout: none;
}
.pdf-container .pdfViewer {
  display: flex;
  width: 100%;
}
.pdf-container .pdf-spacer {
  position: absolute;
  visibility: hidden;
}
.pdf-container .page {
  border: none;
  border-image: none;
  display: none;
  flex-grow: 0;
  flex-shrink: 0;
  margin: auto;
  min-height: inherit;
  padding: 0;
}
.pdf-container .page.active {
  box-shadow: -2px 0px 2px 2px #aaaaaa2e;
  display: block;
  margin-right: 0;
}
.pdf-container .page.active ~ .active {
  box-shadow: 5px 0 5px -2px #aaaaaa2e;
  margin-left: 0;
  margin-right: auto;
}
.pdf-container.single-page .page.active {
  box-shadow: 0 0 4px 3px #aaaaaa2e;
  margin: auto;
}
.pdf-container.selection-disabled .page.active * {
  cursor: move !important;
}
.pdf-container.annotate-mode {
  border-color: var(--primary-btn-color) !important;
  cursor: auto !important;
}

.zoomed .pdf-container {
  touch-action: pan-x pan-y !important;
}

.zooming .pdf-container {
  overflow: hidden;
}

.disable-vertical-centering .pdf-container {
  align-items: normal;
}

.disable-horizontal-centering .pdf-container {
  justify-content: normal;
}

.reader-engine-disable-print .pdf-container {
  visibility: hidden;
}

.reader-engine-zoom .pdf-container {
  border: 2px solid #646464;
  cursor: move;
}

.reader-engine-zoom-x .pdf-container {
  justify-content: inherit;
}

.reader-engine-zoom-y .pdf-container {
  align-items: inherit;
}

.pdf-annotations-highlights {
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
}

.pdf-annotation-element {
  background-color: rgba(255, 235, 0, 0.22);
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.pdf-annotation-note {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAALCAYAAABGbhwYAAAASklEQVQYGWMUSd/dwMDAUA/E2EAjULDh9QwXBkagwv/YVCCJgRWzwARAupCBaMYeGBdsGzEmgjXgNBFmHMzkYWUiE9B3oAAlBBoBvxIeobfDoeQAAAAASUVORK5CYII=);
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  height: 11px;
  margin-left: 1px;
  opacity: 0.8;
  padding: 10px;
  position: absolute;
  width: 10px;
  z-index: 9;
}

.pdf-spacer {
  flex-grow: 0;
  flex-shrink: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  z-index: -1;
}
.pdf-spacer.visible {
  background-color: white;
  opacity: 0.5;
  z-index: 100;
}

@media screen and (max-width: 1200px) {
  .pdf-container {
    left: 0;
    right: 0;
    width: auto;
  }
}
@keyframes progressBarColorChange {
  0% {
    background-color: #68a99c;
  }
  50% {
    background-color: #7edbc0;
  }
  100% {
    background-color: #68a99c;
  }
}
.progress-bar {
  align-items: center;
  background-color: #fff;
  border: 0;
  display: flex;
  height: 0.4rem;
  position: relative;
  width: calc(100% - 40px);
}

.progress-bar-value {
  animation: progressBarColorChange 1.5s infinite ease-in-out;
  background: #68a99c;
  height: 100%;
}

.progress-bar-cancel {
  cursor: pointer;
  font-size: 90%;
  position: absolute;
  right: -30px;
}

.progress-bar-thick {
  height: 0.8rem;
}
.progress-bar-thick .progress-bar-cancel {
  font-size: 110%;
  right: -40px;
}

.reader-container {
  border: 0;
  min-height: 100%;
  opacity: 1;
  transition: opacity 50ms ease;
  width: 100%;
}

.reader-engine {
  display: flex;
  flex-direction: row;
  height: calc(100vh - 6.5em);
  margin: 0;
}

.reader-container-faded {
  opacity: 0.1;
}

.resellers-background {
  background-color: rgba(0, 0, 0, 0);
  bottom: 0;
  display: flex;
  height: 100vh;
  left: 0;
  position: fixed;
  opacity: 0;
  right: 0;
  top: 0;
  transition: all 250ms ease-in;
  visibility: hidden;
  width: 100vw;
}

.resellers-panel-visible {
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 1;
  visibility: visible;
  z-index: 300;
}

.resellers-panel {
  align-items: center;
  background: white;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  margin: auto;
  max-height: 80vh;
  max-width: 80vw;
  overflow-y: auto;
  position: relative;
  transition: all 250ms ease-in-out;
}

.resellers-panel-hidden {
  height: 0;
  width: 0;
}

.resellers-panel-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  height: 100%;
  justify-content: space-between;
  overflow-y: auto;
  padding: 1rem;
  width: 100%;
}

.resellers-panel-reseller {
  align-items: center;
  background-color: white;
  border: 1px dashed transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 1rem;
  min-height: 8rem;
  min-width: 8rem;
  padding: 1rem;
}

.resellers-panel-reseller:hover {
  border-color: gainsboro;
}

.resellers-panel-reseller > img {
  max-width: 15vw;
  width: 90%;
}

.resellers-panel-button {
  display: block;
  height: 100%;
  font-size: 1.2rem;
  min-height: 2.5rem;
  width: 20rem;
}

.resellers-panel-button-logo {
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  outline: none;
}
.resellers-panel-button-logo img {
  max-width: 16rem;
}
.resellers-panel-button-logo:hover {
  box-shadow: none;
  opacity: 1;
}

.resellers-panel-link {
  background-color: transparent;
  border: none;
  box-shadow: none;
  color: #68a99c;
  font-size: 80%;
  font-style: italic;
  padding: 0;
  outline: none;
  text-decoration: underline;
}

.resellers-panel-header {
  align-items: center;
  box-shadow: 0 1px 2px gray;
  display: flex;
  justify-content: center;
  width: 100%;
  z-index: 1;
}

.resellers-panel-close {
  cursor: pointer;
  margin-left: auto;
}

.resellers-panel-title {
  color: #232323;
  flex-grow: 1;
  padding: 0.8rem 0;
  text-align: center;
}

/************ MOBILE ************/
@media screen and (max-width: 460px) {
  .resellers-panel-content {
    justify-content: space-around;
    max-height: 90vh;
    max-width: 95vw;
  }

  .resellers-panel-reseller {
    border: none;
    min-height: 5rem;
    min-width: 5rem;
    padding: 0;
  }

  .resellers-panel-reseller > img {
    max-width: 30vw;
  }
}
@media screen and (min-aspect-ratio: 13/9) and (max-height: 460px) {
  .resellers-panel-content {
    justify-content: space-around;
    max-height: 90vh;
    max-width: 95vw;
  }

  .resellers-panel-reseller {
    border: none;
  }

  .resellers-panel-reseller > img {
    max-width: 20vw;
  }
}
.search-bar {
  width: 100%;
}
.search-bar > .wrapper {
  align-items: center;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  display: flex;
  height: 2.5rem;
}
.search-bar input {
  background-color: var(--card-color);
  border: 0;
  outline: 0;
  padding: 0.3rem 1rem;
  height: 100%;
  font-size: 1rem;
  width: 100%;
}
.search-bar input::-webkit-input-placeholder {
  color: #646464;
  opacity: 0.4;
}
.search-bar input:-moz-placeholder {
  color: #646464;
  opacity: 0.4;
}
.search-bar input::-moz-placeholder {
  color: #646464;
  opacity: 0.4;
}
.search-bar input:-ms-input-placeholder {
  color: #646464;
  opacity: 0.4;
}

.search-bar-icon {
  background-color: var(--accent-color);
  cursor: pointer;
  color: #fff;
  font-size: 1rem;
  height: 100%;
  line-height: 2.5rem;
  text-align: center;
  width: 2.5rem;
}

.search-bar-icon:hover {
  background-color: var(--primary-btn-hover-color);
  font-size: 1.05rem;
}

.book-staff-picks {
  background-color: var(--card-color);
  display: flex;
  flex-wrap: wrap;
  padding: 1rem 2rem;
  position: relative;
  width: 100%;
}

.book-staff-picks-disabled {
  display: none;
}

.book-staff-picks-content {
  display: flex;
  flex-wrap: wrap;
  height: 12.5rem;
  justify-content: space-between;
  overflow: hidden;
  width: 100%;
}

.book-staff-picks-title {
  font-size: 120%;
  font-weight: normal;
  margin: 0 auto 1rem 0;
}
.book-staff-picks-title .icon-heart:before {
  color: #de0200;
}

.book-staff-pick {
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  height: 12rem;
  margin: 0 0 0.5rem 1.5rem;
  position: relative;
}
.book-staff-pick img {
  height: 100%;
}
.book-staff-pick .book-staff-pick-info {
  align-items: center;
  display: flex;
  flex-direction: column;
  font-size: 85%;
  height: 100%;
  justify-content: flex-end;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: opacity 100ms ease-in-out;
  width: 100%;
}
.book-staff-pick .book-staff-pick-info .btn-buy {
  background-color: #ad1a1a;
  font-size: 100%;
  margin: auto 1rem;
  min-width: unset;
  width: 80%;
}
.book-staff-pick .book-staff-pick-info .book-staff-info {
  background-color: white;
  padding: 0.2rem;
  text-align: center;
  width: 100%;
}
.book-staff-pick .book-staff-pick-info .book-staff-pick-title {
  font-family: var(--main-font);
  font-size: 90%;
  font-weight: bold;
  letter-spacing: -0.05em;
  line-height: 1em;
  overflow: hidden;
}
.book-staff-pick .book-staff-pick-info .book-staff-pick-author {
  font-size: 0.8em;
  color: gray;
}
.book-staff-pick .book-staff-pick-info .book-staff-pick-price {
  font-style: italic;
  color: darkgray;
  font-size: 0.65em;
}
.book-staff-pick:hover img {
  opacity: 0.5;
}
.book-staff-pick:hover .book-staff-pick-info {
  opacity: 1;
}

.book-staff-pick:first-of-type {
  margin-left: 0;
}

.book-staff-picks-loading {
  align-self: center;
  font-size: 300%;
  margin: 0 auto;
}

.book-staff-picks-close {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
}

.book-staff-picks-warning {
  margin: 1em;
}

.tool-tip {
  align-items: flex-start;
  background-color: white;
  border-radius: 2px;
  box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.5);
  display: none;
  font-size: 70%;
  line-height: 1.2rem;
  max-width: 15rem;
  padding: 0.5rem 0.5rem 0.5rem 0;
  position: absolute;
  text-align: left;
  z-index: 1000;
}
.tool-tip [class^=icon] {
  color: #ff9b2c;
  font-size: 150%;
  margin: 0 0.2rem;
}

.tool-tip-visible {
  display: flex;
}

.tool-tip:before {
  content: "";
  display: block;
  position: absolute;
  left: 20px;
  bottom: 100%;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-bottom-color: #bdbdbd;
}

.tool-tip:after {
  content: "";
  display: block;
  position: absolute;
  left: 20px;
  bottom: 100%;
  width: 0;
  height: 0;
  border: 9px solid transparent;
  border-bottom-color: white;
}