@-webkit-keyfrsmes share-this-intro {
  0% {
    -webkit-transform: translateY(-3em);
    opacity: 0;
  }

  80% {
    -webkit-transform: translateY(0.5em);
    opacity: 1;
  }

  to {
    -webkit-transform: translateY(0);
  }
}

@keyframes share-this-intro {
  0% {
    transform: translateY(-3em);
    opacity: 0;
  }

  80% {
    transform: translateY(0.5em);
    opacity: 1;
  }

  to {
    transform: translateY(0);
  }
}

.share-this-popover {
  max-width: 8em;
  pointer-events: none;
  -webkit-filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
  -webkit-animation: share-this-intro 0.3s;
  animation: share-this-intro 0.3s;
}

.share-this-popover::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 0;
  height: 0;
  margin: 0.25em -0.5em;
  border-width: 0.5em 0.5em 0;
  border-style: solid;
  border-color: #333 transparent;
}

.share-this-popover > ul {
  pointer-events: auto;
  list-style: none;
  padding: 0;
  margin: -0.75em 0 0;
  white-space: nowrap;
  background: #333;
  color: #fff;
  border-radius: 0.25em;
  position: absolute;
  left: 50%;
  -webkit-transform: translate(-50%, -100%);
  -ms-transform: translate(-50%, -100%);
  transform: translate(-50%, -100%);
}

.share-this-popover > ul > li {
  display: inline-block;
  width: 2em;
  height: 2em;
  line-height: 2em;
  text-align: center;
}

.share-this-popover > ul > li > a {
  display: inline-block;
  width: 100%;
  height: 100%;
  color: inherit;
  box-sizing: border-box;
  padding: 0.35em;
}

.share-this-popover > ul > li > a:focus,
.share-this-popover > ul > li > a:hover {
  background: rgba(255, 255, 255, 0.25);
}

@media (pointer: coarse) {
  .share-this-popover {
    font-size: 150%;
  }

  .share-this-popover::before {
    bottom: auto;
    top: 100%;
    border-width: 0 0.5em 0.5em;
    margin-top: 0;
  }

  .share-this-popover > ul {
    top: 100%;
    transform: translateX(-50%);
    margin: 0.5em 0 0;
  }
}

@media (max-width: 575px) {
  .share-this-popover {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    max-width: none;
  }

  .share-this-popover::before {
    bottom: auto;
    top: 100%;
    border-width: 0 0.5em 0.5em;
    margin-top: 0;
  }

  .share-this-popover > ul {
    top: 100%;
    transform: translateX(-50%);
    margin: 0.5em 0 0;
    left: 0;
    width: 100%;
    transform: none;
    border-radius: 0;
    text-align: center;
  }
}

/*# sourceMappingURL=share-this.css.map */
:root {
  --color: #333;
  --bg: rgb(245, 245, 245);
  --font-family: Arial, sans-serif;
  --font-size: 18px;
  --font-padding: 6px;
  --font-style: normal;
  --text-align: left;
  --text-decoration: none;
  --book-cover: url(/512.png);
  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;

  color-scheme: light dark;
  color: var(--color);
  background-color: var(--bg);

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  --file-w: 150px;
  --file-h: 220px;
  --inactive-color: #6c757d;
  --main-color: rgb(82, 116, 228);
  --pink-color: #fff1e1;
  --trnasparent-white-color: rgba(255, 255, 255, 0.8);
  --trnasparent-red-color: rgba(255, 22, 22, 0.8);
  --trnasparent-black-color: rgba(25, 25, 25, 0.5);
  --bg-white: rgb(228, 228, 228);
  --main-bg: rgb(245, 245, 245);
  --bg-white-2: rgb(245, 245, 245);
  --bg-white-3: rgb(250, 250, 250);
  --bg-color-light: rgb(180, 180, 180);
  --gray-color: #f0f0f0;
  --color-red: #ff0000;
  --color-black: #333;
}

main {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.noselect {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Old versions of Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
									supported by Chrome, Edge, Opera and Firefox */
}

body {
  scrollbar-width: thin;
  /* "auto" or "thin" */
  scrollbar-color: var(--color);
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 6px;
}

*::-webkit-scrollbar-track {
  background: var(--bg);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--color);
  box-shadow: -1px 0 red;
  border-radius: 4px;
  border: none;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}

a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

.card {
  padding: 2em;
}

#app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}

button:hover {
  border-color: #646cff;
}

button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }

  a:hover {
    color: #747bff;
  }

  button {
    background-color: #f9f9f9;
  }
}

.drop-zone-overlay {
  background: rgba(51, 51, 51, 0.907);
  display: block;
  width: 100vw;
  height: 100vh;
  top: 55px;
  bottom: 0;
  left: 0;
  right: 0;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 998;
  text-align: center;
  color: white;
  font-size: 22px;
  font-weight: bold;
}

.app-files {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  /* margin-top: -12px; */
  /* padding-top: 20px; */
}

.drop-info svg,
.app-file-remove {
  width: 30px;
  height: 30px;
  border-bottom-left-radius: 6px;
}

.app-file-remove {
  transition: all 0.2s;
}

.app-file-remove:hover {
  border-top-right-radius: 6px;
  transform: scale(1.1);
}
.drop-info {
  font-size: 22px;
}
.drop-label {
  pointer-events: none;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  animation-name: zoom;
  animation-duration: 0.5s;
  animation-iteration-count: 3;
  animation-direction: alternate;
  animation-fill-mode: forwards;
  /* font-weight: bold; */
}

@keyframes zoom {
  from {
    transform: scale(1.4);
  }

  to {
    transform: scale(1);
  }
}

.drop-label {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  animation-name: zoom;
  animation-duration: 0.4s;
  animation-iteration-count: 3;
  animation-direction: alternate;
  animation-fill-mode: forwards;
  pointer-events: none;
}

.drop-label div,
.drop-label svg {
  transition: all 0.2s;
}

.drop-info:hover {
  color: var(--main-color);
  fill: var(--main-color);
}

.drop-info-text {
  pointer-events: none;
}

.drop-info {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: calc(100vw - 164px);
  height: 100vh;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #333;
  visibility: hidden;
  background: var(--trnasparent-white-color);
  pointer-events: none;
}

.app-files > div {
  margin: 10px;
}

.dragged .drop-info {
  transform: scale(0.8);
}

.app-file {
  margin: 1px;
}

.fi-content {
  text-transform: uppercase;
  text-align: center;
  font-size: 1.1rem;
}

.app-file {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.app-file,
.app-file-img {
  cursor: pointer;
  position: relative;
  width: var(--file-w);
  height: var(--file-h);
  transition: all 0.2s;
  /* object-fit: cover; */
}

.app-file:hover {
  transform: scale(1.1);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 4px 10px -5px,
    rgba(0, 0, 0, 0.3) 0px 4px 8px -4px;
}

.app-file-label {
  padding: 0 2px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  background: var(--bg);
  color: var(--color);
  width: var(--file-w);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
}

.app-file-label:hover {
  color: var(--main-color);
}

.file-spinner {
  position: absolute;
  z-index: 76547645;
}

.app-file-label-top {
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  background: var(--trnasparent-white-color);
  color: #222;
  padding: 0 10px;
  border-bottom-right-radius: 5px;
  overflow-wrap: break-word;
}

.app-file-remove-size {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--bg);
  padding: 0 5px;
  border-bottom-right-radius: 6px;
}

.app-file-remove {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--bg);
  cursor: pointer;
  box-shadow: -1px 0 10px var(--trnasparent-black-color);
}

.app-file-remove:hover {
  background-color: red;
}

#files {
  background-color: var(--bg);
}

.files-main {
  margin: 0 auto;
  padding: 0;
  padding-top: 15px;
  /* display: flex;
  flex-direction: column;
  justify-content: center; */
  width: 100vw;
  height: calc(100vh - 220px);
  overflow-y: auto;
  z-index: 765467;
}

.files-main {
  background-color: var(--bg);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.dragged {
  transition: all 0.3s ease;
}

.dragged {
  background: white !important;
}

.page {
  /* overflow: auto; */
  box-sizing: border-box;
  white-space: pre-line;
  position: relative;
  height: calc(100vh - 110px);
  overflow-y: auto;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;

  padding-top: 42px;
}
/* .book-text .page {
  padding-bottom: 52px;
} */
.page-number {
  position: absolute;
  top: 5px;
  left: 50%;

  transform: translate(-50%);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: bold;
}

.fontStyle-italic .page {
  font-style: italic;
}

.fontStyle-uppercase .page {
  text-decoration: uppercase;
}

.fontStyle-lowercase .page {
  text-decoration: lowercase;
}

.fontStyle-shadow .page {
  text-shadow: 1px 1px 0 #999;
}

.fontStyle-deep .page {
  text-shadow: 0 1px #8da1ff, -1px 0 #c0cbff, -1px 2px #8da1ff, -2px 1px #c0cbff,
    -2px 3px #8da1ff, -3px 2px #c0cbff, -3px 4px #8da1ff, -4px 3px #c0cbff,
    -4px 5px #8da1ff, -5px 4px #c0cbff, -5px 6px #8da1ff, -6px 5px #c0cbff,
    -6px 7px #8da1ff, -7px 6px #c0cbff, -7px 8px #8da1ff, -8px 7px #c0cbff;
}

.fontStyle-gradient .page {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(180deg, var(--color), blue);
}

.page.squere {
  background-image: repeating-conic-gradient(#e6f7ff 0% 25%, #ffffff 0% 50%);
  background-position: 0 0, 32px 32px;
  background-size: 64px 64px;
  background-color: transparent;
}

.page.circles {
  background-color: transparent;
  background-image: radial-gradient(circle at center center, #f6f7ff, #ececee),
    repeating-radial-gradient(
      circle at center center,
      hsla(237, 100%, 93%, 0.1),
      hsla(0, 0%, 92%, 0.238),
      6px,
      transparent 12px,
      transparent 6px
    );
  background-blend-mode: multiply;
}

.page.lines {
  background: linear-gradient(
      45deg,
      transparent 49%,
      #dad9fc 49% 51%,
      transparent 51%
    ),
    linear-gradient(-45deg, transparent 49%, #dedbff 49% 51%, transparent 51%);
  background-size: 3em 3em;
  background-color: transparent;
}

.noPointer {
  pointer-events: none;
}

.noVisible {
  visibility: hidden;
}

.page {
  color: var(--color);
  background: var(--bg);
  font-family: var(--font-family);
  font-size: var(--font-size);
  /* font-style: var(--font-style); */
  text-decoration: var(--text-decoration);
  text-align: var(--text-align);
  padding-left: var(--font-padding) !important;
  padding-right: var(--font-padding) !important;
  position: relative;
}

/* .fb2 .page {
	display: block;
  } */

.fb2 .page img {
  display: block;
  margin: 0 auto;
}

#book-main {
  background-color: var(--bg);
  /* padding-top: 35px; */
}

/* #book-main-menu title {
		max-width: 80vw;
	} */

#book-main-menu {
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: var(--bg);
  color: var(--color);
  width: 100%;
  z-index: 99999;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 7px 14px -3px,
    rgba(0, 0, 0, 0.3) 0px 4px 8px -4px;
}

#book-main-menu .app-button {
  cursor: pointer;
}

.textNoWrap {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.rangeRange label,
.rangeRange .leftLabel {
  font-family: consolas, "Courier New", monospace;
  /* width: 100%; */
  text-align: center;
  /* font-weight: bold; */
  font-size: 1rem;
}

.rangeRange {
  margin: 0 auto;
  margin-top: 10px;
  max-width: 160px;
}

.form-check-label,
.leftLabel {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.rangeTop .leftLabel,
.rangeTop .form-label {
  font-weight: normal;
}

.rangeRange label,
.rangeRange .leftLabel {
  font-family: consolas, "Courier New", monospace;
  /* width: 100%; */
  text-align: center;
  /* font-weight: bold; */
  font-size: 1rem;
}

/* .leftLabel {
	width: 100%;
} */

.btn i {
  font-size: 16px;
}

.flex {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.flex-column {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
}

.flex div {
  padding: 2px;
}

.boxP {
  position: fixed;
  top: 38px;
  right: 4px;
  left: 8px;
  min-width: 200px;
  z-index: 9999999;
  box-shadow: 0 1px 8px var(--main-color);
  color: var(--color);
  background: var(--bg);
}

.boxP-buttons {
  width: 100%;
  display: flex;
  justify-content: end;
}

.label {
  width: 100%;
  font-size: 20px;
  text-align: center;
  text-transform: capitalize;
  color: var(--color);
  text-shadow: 0 2px 1px var(--color);
}

.app-button {
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background: var(--bg);
  color: var(--color);
}

.app-button-round {
  border-bottom-left-radius: 6px;
}

.app-button:hover {
  color: var(--main-color);
  background: transparent;
}

.lds-facebook {
  display: inline-block;
  position: relative;
  width: 40px;
  height: 40px;
}

.lds-facebook div {
  display: inline-block;
  position: absolute;
  left: 4px;
  width: 8px;
  background: var(--color);
  animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.lds-facebook div:nth-child(1) {
  left: 4px;
  animation-delay: -0.24s;
}

.lds-facebook div:nth-child(2) {
  left: 16px;
  animation-delay: -0.12s;
}

.lds-facebook div:nth-child(3) {
  left: 28px;
  animation-delay: 0;
}

@keyframes lds-facebook {
  0% {
    top: 4px;
    height: 32px;
  }

  50%,
  100% {
    top: 12px;
    height: 16px;
  }
}

.form-check {
  margin-left: 50px !important;
}

.flex-row {
  display: flex;
  justify-content: center;
}

.app-file-progress {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--bg);
  color: var(--color);
  box-shadow: 1px 0 10px var(--trnasparent-black-color);
  width: 34px;
  height: 30px;
  border-bottom-right-radius: 6px;
  padding: 5px;
  font-size: 12px;
  text-align: center;
}

#submenu {
  background: var(--bg);
  color: var(--color);
  transition: 0.2s;
  z-index: 99999999;
  position: fixed;
  top: 38px;
  bottom: 55px;
  right: -320px;
  width: 300px;
  padding: 10px;
  box-shadow: -4px 0 10px var(--main-color);
}

.pageNumberInput {
  /* border-color: transparent; */
  margin: 0 auto;
  outline: 0 none;
  border: 1px solid var(--color);
  background: transparent;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

.flex-row {
  display: flex;
}

.caret {
  z-index: 9999999;
  border-style: solid;
  border-width: 10px 10px 0px 10px;
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-top-color: rgba(0, 0, 0, 0.8);
  border-right-color: transparent;
  width: 0px;
  height: 0px;
  display: block;
  position: absolute;
  top: 53px;
  left: 45%;
}

#highlight_menu {
  padding: 5px 10px;
  z-index: 999999;
  font-family: "Open Sans", Sans;
  font-weight: 100;
  font-size: 20px;
  color: #fff;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  /* padding:10px 10px 10px 10px; */
}

.highlight_menu_animate {
  transition: top 75ms ease-out, left 75ms ease-out;
}

.side-by-side {
  width: 100%;
  padding: 0;
  margin: 10px;
  margin-top: 14px;
}

.ml-3 {
  margin-left: 20px;
}

.fileUpload {
  position: fixed;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  cursor: pointer;
  width: 40px;
  height: 40px;
}
.fileUpload i {
  font-size: 30px;
}

html {
  background: var(--bg) !important;
}
#ads-text {
  font-size: 18px;
  text-align: center;
  font-weight: bold;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  right: 0;
  height: 50px;
  width: 322px;
  color: red !important;
  z-index: 9999999996002 !important;
  background-color: white;
  border: 1px solid red;
}

.file-spinner {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%);
}

#highlight_menu {
  z-index: 999999999999999 !important;
}

.text-full-preview {
  overflow-x: hidden;
  position: relative;
  z-index: 99999999999;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding-top: 15px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 7px 14px -3px,
    rgba(50, 50, 93, 0.25) 0px 7px 14px -3px,
    rgba(0, 0, 0, 0.3) 0px 4px 8px -4px;
  background-color: var(--trnasparent-white-color);
  overflow-y: auto;
}

.text-full-preview-close {
  z-index: 99999999999999999999999999999999999999999999999;
  cursor: pointer;
  position: fixed;
  top: 15px;
  right: 170px;
  font-size: 50px;
}

.text-full-preview-text {
  padding: 0;
  padding-top: 25px;
  color: var(--color);
  background: var(--bg);
  font-family: var(--font-family);
  font-size: var(--font-size);
  /* font-style: var(--font-style); */
  text-decoration: var(--text-decoration);
  text-align: var(--text-align);
}

.text-full-preview-text-text {
  padding: 20px;
}

.settings-main {
  background-color: var(--bg);
  height: calc(100vh - 30px);
  position: fixed;
  z-index: 9999999999999999999999999999999999999999999999999999999;
  top: 80px;
  bottom: 0;
  width: calc(100vw - 164px);

  overflow-y: auto;
  padding-top: 30px;
}
.settings-main .tab-content {
  background: rgb(255, 251, 244) !important;
  color: black !important;
  font: 18px Arial, sans-serif !important;
  overflow-y: auto;
  justify-content: center;
}
.form-switch {
  padding-left: 0 !important;
}
.form-switch label {
  margin-top: 3px;
}
.tab-content .nav-tabs {
  display: flex !important;
  justify-content: center !important;
  width: calc(100vw - 164px) !important;
}
.app-switch .form-switch {
  margin: 0;
  padding: 0;
  margin: 30px 0;
}
.settings-close-btn {
  margin-top: 10px;
  position: fixed;
  z-index: 99999999999999999999999999999999999999999999999999999999999;
  right: 170px;
  top: 15px;
  width: 40px;
  height: 40px;
  font-size: 50px !important;
}
.tab-content .tab-pane {
  width: 400px;
  margin: 0 auto;
}
.settings-box {
  max-height: 85%;
  overflow: auto;
}

/* .settings-box label {
	text-decoration: underline;
} */

.settings-label {
  text-transform: uppercase;
  margin-top: 10px;
  margin-bottom: 10px;
  text-shadow: none;
  color: var(--main-color);
  background-color: rgba(200, 200, 200, 0.315);
}

.book-main-menu-buttons div {
  margin: 0 5px;
}

.accordion-button {
  text-decoration: uppercase !important;
}

.bi-x {
  color: var(--color);
}

#isDeleteText {
  min-width: 90%;
}

.pageNumberInput {
  background-color: var(--bg);
  color: var(--color);
}

.form-control {
  margin-top: 20px;
}

.page .image-wrapper img {
  display: inline-block;
  max-width: 90%;
  margin: 10px;
  transition: all 0.3s;
  box-shadow: 0px 10px 13px -7px #000000, 5px 1px 15px 5px rgba(0, 0, 0, 0);
}

.page .image-wrapper img:hover {
  transform: scale(1.1);
  box-shadow: 0px 5px 7px -3px #000000, 3px 1px 7px 3px rgba(0, 0, 0, 0);
}

.page .image-wrapper {
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.text-full-preview-img {
  max-width: 100%;
  margin: 0 auto;
  display: block;
  /* object-fit: scale-down; */
}

.circle-spin-1 {
  --size: 30px;
  --stroke-width: calc(var(--size) / 6);
  --color: currentColor;
  --animation-timing-function: linear;
  --animation-duration: 1s;
  width: var(--size);
  height: var(--size);
  border-width: var(--stroke-width);
  border-style: solid;
  border-color: var(--color) var(--color) var(--color) transparent;
  border-radius: 50%;
  transform: rotate(0deg);
  animation: var(--animation-timing-function) var(--animation-duration) infinite
    circle-spin-1-animation;
}

@keyframes circle-spin-1-animation {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.circle-spin-2 {
  cursor: pointer;
  --size: 30px;
  --stroke-width: calc(var(--size) / 6);
  --color: currentColor;
  --animation-timing-function: linear;
  --animation-duration: 1s;
  width: var(--size);
  height: var(--size);
  border-width: var(--stroke-width);
  border-style: solid;
  border-color: var(--color) var(--color) var(--color) transparent;
  border-radius: 50%;
  transform: rotate(0deg);
}

.line-2-horizontal {
  --size: 24px;
  --stroke-width: calc(var(--size) / 6);
  --color: currentColor;
  --animation-timing-function: linear;
  --animation-duration: 1s;
  position: relative;
  width: var(--size);
  height: var(--size);
}

.line-2-horizontal::before,
.line-2-horizontal::after {
  content: "";
  position: absolute;
  transform: scaleY(1);
  animation: var(--animation-timing-function) var(--animation-duration) infinite
    line-2-horizontal-animation;
}

.line-2-horizontal::before {
  inset: 0;
  border-top: var(--stroke-width) solid var(--color);
  border-bottom: var(--stroke-width) solid var(--color);
}

.line-2-horizontal::after {
  top: calc(50% - var(--stroke-width) / 2);
  right: 0;
  left: 0;
  border-top: var(--stroke-width) solid var(--color);
  animation-delay: calc(var(--animation-duration) / 2);
}

@keyframes line-2-horizontal-animation {
  0% {
    transform: scaleX(1);
  }

  50% {
    transform: scaleX(0.5);
  }

  100% {
    transform: scaleX(1);
  }
}

#aleft a,
#aright a {
  margin: 0 5px;
}

#aleft {
  display: flex;
  position: fixed;
  bottom: 0;
  height: 50px;
  z-index: 0;
  left: 0;
  z-index: 0;
  cursor: pointer;
}

#aright {
  display: flex;
  position: fixed;
  bottom: 0;
  height: 50px;
  z-index: 0;
  right: 0;
  cursor: pointer;
}

@media screen and (max-width: 700px) {
  #aleft,
  #aright {
    display: none;
  }
  .settings-main .form-switch {
    max-width: 90vw;
  }
  .settings-main .tab-content {
    overflow-x: hidden;
  }

  .settings-main .tab-content .tab-pane {
    width: 100%;
  }
  /* .settings-main .tab-pane .flex {
    flex-direction: column;
  } */
  .settings-main .tab-pane {
  }
  .settings-main .rangeRange div {
  }
  .settings-main .flex-lang-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.accordion-header {
  /* margin-top: 20px; */
  display: flex;
  justify-content: center;
}

.accordion-header button {
  text-transform: uppercase;
}

/* html,
main,
body {
  height: 100%;
} */

.page_progress {
  pointer-events: none;
  top: 0;
  position: fixed;
  height: 2px;
  width: 100%;
  z-index: 999999999999999999999999999999999999999;
  background-color: rgb(84, 95, 255);
}

progress::-webkit-progress-value {
  background-color: rgb(84, 95, 255);
}
progress::-webkit-progress-bar {
  background-color: rgb(223, 223, 223);
}

.animated-gradient-dark {
  background: linear-gradient(-45deg, #3f1c1c, #1c135e, #4b0b35, #0b4d27);
  background-size: 400% 400%;
  animation: animated-gradient 15s ease infinite;
  color: white;
}

.animated-gradient-light {
  background: linear-gradient(-45deg, #ffb0b0, #9cbfff, #fd8bd7, #9cffc7);
  background-size: 400% 400%;
  animation: animated-gradient 15s ease infinite;
  color: #333;
}

@keyframes animated-gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.book-cover {
  background: var(--book-cover);
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #333;
  color: #fff;
  background-blend-mode: multiply;
  /* filter: url(/filter.svg#displacementFilter); */
}

.accordion {
  margin-top: 20px;
}

._adsWrapper {
  filter: none !important;
  background: transparent !important;
}

.modal-window {
  cursor: pointer;
  position: fixed;
  background-color: rgba(255, 255, 255, 0.25);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999999999999999999999999999999999999999;
  display: none;
  color: red;
  font-weight: bold;
  transition: all 0.3s;
  text-align: center;
}

.modal-window > div {
  max-width: 96%;
  min-width: 200px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 2em;
  background: white;
}

.modal-close {
  color: red;
  line-height: 50px;
  font-size: 20px;
  position: absolute;
  right: 10px;
  font-weight: bold;
  text-align: center;
  top: 0;
  text-decoration: none;
  cursor: pointer;
}

.modal-close:hover {
  color: black;
}

.app-direkt-link {
  color: "#ccc";
  font-size: 20px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-direkt-link img {
  object-fit: cover;
}

/* @import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Amaranth&family=Gravitas+One&family=Josefin+Slab&family=Jura&family=Lato&family=Lora&family=M+PLUS+1p&family=Merriweather&family=Montserrat&family=PT+Sans&display=swap'); */

.settings-main {
  font-family: var(--font-family), Arial !important;
}

.color-linear {
  background: linear-gradient(
    180deg,
    rgba(110, 105, 192, 1) 0%,
    rgba(136, 49, 124, 1) 3%,
    rgba(84, 119, 167, 1) 5%,
    rgba(213, 67, 41, 1) 9%,
    rgba(24, 168, 13, 1) 13%,
    rgba(177, 44, 160, 1) 17%,
    rgba(156, 112, 110, 1) 21%,
    rgba(18, 146, 100, 1) 24%,
    rgba(206, 39, 115, 1) 27%,
    rgba(135, 30, 122, 1) 31%,
    rgba(9, 9, 121, 1) 35%,
    rgba(107, 66, 61, 1) 38%,
    rgba(149, 88, 61, 1) 42%,
    rgba(25, 132, 62, 1) 46%,
    rgba(24, 146, 146, 1) 49%,
    rgba(187, 43, 129, 1) 53%,
    rgba(11, 134, 46, 1) 55%,
    rgba(242, 53, 209, 1) 57%,
    rgba(108, 133, 212, 1) 60%,
    rgba(42, 127, 178, 1) 63%,
    rgba(155, 119, 136, 1) 66%,
    rgba(223, 61, 75, 1) 69%,
    rgba(180, 51, 142, 1) 72%,
    rgba(115, 122, 14, 1) 75%,
    rgba(150, 24, 111, 1) 78%,
    rgba(12, 137, 20, 1) 81%,
    rgba(146, 56, 31, 1) 84%,
    rgba(195, 84, 20, 1) 87%,
    rgba(98, 146, 19, 1) 89%,
    rgba(73, 145, 18, 1) 92%,
    rgba(73, 117, 217, 1) 95%,
    rgba(230, 44, 232, 1) 97%,
    rgba(12, 170, 202, 1) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.color-radial {
  background: radial-gradient(
    circle,
    rgba(110, 105, 192, 1) 0%,
    rgba(136, 49, 124, 1) 3%,
    rgba(84, 119, 167, 1) 5%,
    rgba(213, 67, 41, 1) 9%,
    rgba(24, 168, 13, 1) 13%,
    rgba(177, 44, 160, 1) 17%,
    rgba(156, 112, 110, 1) 21%,
    rgba(18, 146, 100, 1) 24%,
    rgba(206, 39, 115, 1) 27%,
    rgba(135, 30, 122, 1) 31%,
    rgba(9, 9, 121, 1) 35%,
    rgba(107, 66, 61, 1) 38%,
    rgba(149, 88, 61, 1) 42%,
    rgba(25, 132, 62, 1) 46%,
    rgba(24, 146, 146, 1) 49%,
    rgba(187, 43, 129, 1) 53%,
    rgba(11, 134, 46, 1) 55%,
    rgba(242, 53, 209, 1) 57%,
    rgba(108, 133, 212, 1) 60%,
    rgba(42, 127, 178, 1) 63%,
    rgba(155, 119, 136, 1) 66%,
    rgba(223, 61, 75, 1) 69%,
    rgba(180, 51, 142, 1) 72%,
    rgba(115, 122, 14, 1) 75%,
    rgba(150, 24, 111, 1) 78%,
    rgba(12, 137, 20, 1) 81%,
    rgba(146, 56, 31, 1) 84%,
    rgba(195, 84, 20, 1) 87%,
    rgba(98, 146, 19, 1) 89%,
    rgba(73, 145, 18, 1) 92%,
    rgba(73, 117, 217, 1) 95%,
    rgba(230, 44, 232, 1) 97%,
    rgba(12, 170, 202, 1) 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.text-wave {
  filter: url(/filter.svg#filter_wave);
}

.last-open-item {
  box-shadow: 0 0 5px var(--color);
}

.page.bubbles {
  --bubbles-colors: #b103a2, #2baee2;
  --bubbles-min-radius: 2;

  --bubbles-max-radius: 15;

  --bubbles-total-num: 20;

  --bubbles-is-dark: no;
  background: paint(bubbles);
}

/* .page.lines {
  --lines-colors: gold, plum, skyblue;
  --lines-widths: 15, 2, 5, 8;
  --lines-gaps: 20, 4, 3, 7;
  --lines-rotate: 119;

  background: paint(lines);
} */

.page.deepwall {
  --bytemare-tile-size: 35;

  --bytemare-color: var(--bg);

  --bytemare-gap: 2;

  --bytemare-probability: 0.4;

  background-image: paint(bytemare);
}

.page.connections {
  --connections-particleColor: var(--bg-color-light);

  --connections-lineColor: var(--bg-color-light);

  --connections-particleAmount: 120;

  --connections-defaultRadius: 1;

  --connections-variantRadius: 3;

  --connections-linkRadius: 100;

  background: paint(connections);
}

#book-main {
  margin-bottom: 60px;
}

/* .files-main {
  width: 100%;
  display: flex;
  justify-content: center;
} */

.test-pdf-empty {
  border: 2px solid rgb(12, 197, 12);
  width: 15px;
  height: 15px;
  display: inline-block;
}

.test-pdf-line {
  border-right: 2px solid rgb(231, 216, 6);
}

.test-pdf-number {
  border: 2px solid red;
  width: 6px;
  height: 15px;
  display: inline-block;
}

.test-removed {
  border: 2px solid red;
}

.test-pdf-last {
  margin-top: 15px;
  border: 2px solid blue;
}

.pdf-test-wrapper {
  white-space: pre-line;
  border: 1px solid gray;
  padding: 10px;
  max-height: 50vh;
  overflow-y: auto;
  margin-bottom: 20px;
}

.pdf-test-wrapper:empty {
  display: none;
}

.pdf-test-btn {
  margin: 20px;
}

label[for="isAddSpace"] {
  color: rgb(12, 197, 12);
}

label[for="isNextLine"] {
  color: blue;
}

label[for="isRemoveNumbers"] {
  color: red;
}

.isRemoveDuplicates-wrapper {
  margin-top: 20px;
}

.page {
  word-break: break-word;
}

.btn-close-book {
  font-weight: bold;
  font-size: 30px;
}
.top_header {
  padding: 10px;
}
.top_header h1 {
  font-size: 26px;
  color: blueviolet;
}
.top_header h2 {
  font-size: 20px;
  color: palevioletred;
}
.st-toast-description {
  text-shadow: 1px 1px rgba(255, 255, 255, 0.7) !important;
}
.toast-container {
  z-index: 99999999999999999999999999999999999999999999999999999999999999999 !important;
}
/* .page-range {
  position: fixed;
  z-index: 9999999999999999999999999999999999999999999;
  top: 40px;
  height: 30px;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
}
.page-range input {
  width: calc(100vw - 30px);
  background: rgba(69, 58, 218, 0.541);
} */
.canvas-wrapper {
  width: 100%;
  height: 100%;
}
.page-ocr {
  padding-bottom: 60px;
  padding-top: 20px;
  display: flex;
  justify-content: center;
  background: white;
  overflow-y: hidden !important;
  overflow-x: hidden;
}
.page-ocr canvas {
  background: var(--bg);

  max-width: 100%;
  max-height: 100%;
  object-fit: scale-down;
}

.app-button-nav-ocr {
  height: 50px;
  box-shadow: rgba(50, 50, 93, 0.1) 0px 3px 14px 3px,
    rgba(0, 0, 0, 0.1) 0px 1px 8px 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin: 0 20px;
  min-width: calc(50% - 56px);
  z-index: 9999999999999999999999999999;
}
.app-button-nav-ocr:first-child {
  border-top-right-radius: 6px;
}
.app-button-nav-ocr:last-child {
  border-top-left-radius: 6px;
}
.pageNumberInput-ocr {
  /* border-color: transparent; */
  width: 60px;
  height: 50px;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  margin: 0 auto;
  outline: 0 none;
  background: var(--bg);
  border-radius: 5px;
  border: 1px solid rgb(201, 201, 201);
  box-shadow: rgba(95, 95, 95, 0.1) 0px 3px 4px 2px inset,
    rgba(94, 94, 94, 0.1) 0px 1px 4px 2px inset;
}
.mt-30 {
  margin-top: 30px;
}

.canvas_fit {
  object-fit: scale-down;
  width: 100vw;
  margin-top: 40px;
}
.title-lang-from-to,
.span-from-to {
  font-weight: bold;
  margin: 0 10px;
  color: black;
}
.flex-bg-main {
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
.flex-lang-main {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
  padding: 10px 0;
}
.from-to-lang-arrow {
  font-size: 28px;
  font-weight: bold;
  color: black;
}
.settings-select-languages {
  color: black;
  font-size: 16px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.color-bg-input-style {
  margin-top: 0;
}
.app-button .bi-gear,
.app-button .btn-close-book,
.bi-x,
.close-ocr-btn,
.app-button .bi-text-center,
.bi-upload,
.bi-arrow-right,
.bi-arrow-left,
main .title {
  color: black;
  text-shadow: 0 1px rgba(255, 255, 255, 0.568), -1px 0 #c0cbff8e,
    -1px 2px rgba(255, 255, 255, 0.5), -2px 1px #c0cbff7e;
}
.app-button .bi-gear,
.app-button .btn-close-book,
.bi-x,
.app-button .bi-text-center {
  cursor: pointer;
}
.app-button .bi-gear,
.app-button .bi-text-center {
  font-size: 20px;
}

.page-slider-main {
  padding: 0 20px;
  width: calc(100vw - 164px);
  position: fixed;
  bottom: -100px;
  transition: all 0.2s;
  height: 50px;
  background: white;
  z-index: 99999999999999999999;
}
.error-retry-block {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 24px;
  background-color: red;
  cursor: pointer;
  text-transform: capitalize;
  border-radius: 6px;
  position: fixed;
  padding: 0 10px;
  top: 80px;
  cursor: pointer;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999999999999999999999999999999999999999999999999999999999 !important;
}
.text-full-preview {
  z-index: 99999999999999999999999999999999999999999999999999999999999 !important;
}
.text-full-preview,
#book-ocr,
.app-wrapper {
  background: var(--bg) !important;
  z-index: 999999999;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 330px;
  width: calc(100vw - 164px);
  height: 100vh;
  overflow-x: hidden;
}

#book-main-menu-ocr {
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  height: 30px;
  background: var(--bg);
  color: var(--color);
  width: calc(100vw - 164px);
  position: fixed;
  z-index: 99999999999999999999999999999999999;
  top: 0;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 7px 14px -3px,
    rgba(0, 0, 0, 0.3) 0px 4px 8px -4px;
}
.book-nav-buttons-ocr {
  background: var(--bg);
  position: fixed;
  bottom: 0;
  width: calc(100vw - 164px);

  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999999999999999999999999;
}

#ads .adsInner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.ocr-spinner {
  position: fixed;
  top: 35px;
  left: 5px;
  z-index: 99999999999999999999999999999999999999999999999999999999;
}
.close-ocr-btn {
  width: 30px !important;
  height: 30px !important;
  font-size: 30px !important;
}
.ads-viewer {
  top: 0;
  position: fixed;
  width: 100vw;
  z-index: 99999999999999999999999999999999999999999999999999999999999999999999 !important;
}
/* .page-ocr {
  padding-top: 40px;
  display: flex;
  justify-content: center;
  background: white;
  overflow-y: hidden !important;
  overflow-x: hidden;
} */
.text-full-preview,
#book-ocr,
.app-wrapper {
  background: var(--bg) !important;
  z-index: 999999999;
  position: fixed;
  top: 52px;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100wv;
  height: calc(100vh - 68px);
  overflow-x: hidden;
}
.book-text {
  overflow-y: hidden !important;
}
.page {
  padding-bottom: 140px;
}

.files-main,
#book-ocr,
.page-ocr,
.settings-main,
.text-full-preview,
.app-wrapper {
  width: 100vw !important;
}

.text-full-preview-close {
  right: 0;
  top: 52px;
}
.drop-info {
  width: 100vw;
}
.text-full-preview {
  top: 52px;
}
.page_progress {
  top: 52px;
  width: 100%;
}
.error-retry-block {
  top: 52px;
  left: 50%;
}
.text-full-preview,
#book-ocr,
.app-wrapper {
  top: 52px;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100wv;
  height: calc(100vh - 100px);
}

#book-main-menu-ocr {
  top: 52px;
  width: 100%;
}
.page-slider-main {
  width: 100vw;
}
.book-nav-buttons-ocr {
  width: 100%;
}
.app-button-nav-ocr {
  height: 50px;
  min-width: calc(50vw - 40px);
}
.tab-content .nav-tabs {
  width: 100vw !important;
}
.settings-close-btn {
  margin-top: 20px;
  position: fixed;
  z-index: 99999999999999999999999999999999999999999999999999999999999;
  right: 0;
  top: 30px;
  width: 40px;
  height: 40px;
  font-size: 50px !important;
}
.ocr-spinner {
  position: fixed;
  top: 85px;
  left: 5px;
  z-index: 99999999999999999999999999999999999999999999999999999999;
}
.page {
  height: calc(100vh - 100px);
}
.page-ocr {
  padding-top: 60px;
}
@media (max-width: 900px) {
  #book-ocr {
    overflow-y: hidden;
  }
  .page-ocr {
    padding-top: 4px;
  }
  .page-ocr canvas {
    height: calc(100vh - 160px);
  }
}
.container-57499166fd4e3e00783732ef9dc5292b__bn-container,
.container-1ff29c5d85214931b6d53e4396657c47__bn-container {
  padding: 1px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  max-width: 150px !important;
}
#ads_inner {
  margin-top: 10px;
}
#ads_inner_apps {
  padding-left: 15px;
  position: fixed;
  right: 0;
  bottom: 0;
  width: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

#ads {
  display: flex;
  justify-content: center;
  position: fixed;
  display: flex;
  align-items: center;
  gap: 20px;
  top: 0;
  right: 0;
  height: 51px;
  width: 100vw;
  z-index: 9999999999999999999999999999999999999999999999999999999999999999;
  box-shadow: -1px 0 2px 2px rgba(105, 105, 105, 0.329);
}
.ads_inner_apps img {
  width: 50px;
  height: 50px;
  object-fit: scale-down;
  border-radius: 100%;
}
.originalText {
  color: #414aff;
}
.loadinLibrary {
  display: flex;
  justify-content: center;
  color: white;
  font-size: 22px;
  position: fixed;
  width: 100vw;
  top: 50px;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(100vh - 50px);
  background-color: #213547;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 99999999999999999999999999999999999999999999999999999999;
}
.text-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-top: 5spx;
}
.red-color {
  color: red;
}
.settings-lang {
  width: 100vw;
}
.ttText,
.originalText {
  padding: 10px 0;
  text-indent: 10px;
}
.twoColumn {
  columns: 2;
  gap: 50px;
}

.pageAfter {
  color: rgba(0, 0, 15, 0.507);
  display: flex;
  justify-content: center;
  width: 100%;
  height: 1px;
  border: 1px solid rgba(119, 119, 119, 0.432);
}
.main_apps {
  font-size: 24px;
  color: blue;
  position: fixed;
  bottom: 0;
  width: 100vw;
  z-index: 999999999999999999999999999999999999999999999999999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.main_apps a {
  font-weight: bold;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
@media (max-width: 775px) {
  .main_apps {
    font-size: 20px;
  }
  .main_apps img {
    width: 30px;
  }
}
