/*
    Created on : Apr 9, 2018, 7:58:52 PM
    Author     : Nikolay Dachin
*/
/**
 * The shadow that all block elements (header, post content, etc) are dropping
 */
/**
 * Column layout additions
 */
.ebook .title-download {
  float: right;
  font-size: 12pt;
  border-bottom: none;
}
.ebook .paging {
  width: 100%;
}
.ebook .paging .nav-next {
  float: right;
}
.ebook.content-area .page-header .page-title .ebook-download {
  float: right;
  margin-top: 5px;
}
.ebook.content-area .page-header .page-title .ebook-download .dashicons {
  font-size: 100%;
}
.ebook pre:empty {
  display: none;
}
.ebook.toc .section {
  list-style: none;
}
.ebook.toc ul {
  padding-left: 0;
}
.ebook.toc ul li {
  margin: 5px 0;
}
.ebook.toc a {
  border-bottom: none;
}
.ebook.toc h4 {
  margin: 7px 0;
  font-size: 1.1em;
}
.ebook.toc .active {
  font-weight: bold;
  list-style: none;
  position: relative;
}
.ebook.toc .active i {
  position: absolute;
  left: -25px;
  top: 6px;
  font-size: 1em;
}
.toc-widget {
  margin: 10%;
  font-size: 1.6rem;
}
.toc-widget .ebook.toc > li:first-child > *:first-child {
  display: none;
}
/**
 * Thumb List
 */
.thumb-list {
  list-style: none;
}
.thumb-list > li {
  display: inline-block;
  width: 70px;
  height: 70px;
  margin: 2px;
  border: 1px solid silver;
  padding: 4px;
  background: white;
}
.thumb-list > li:hover img {
  opacity: 0.7;
}
/**
 * Glossray Shortcode
 */
.glossary {
  -webkit-columns: 2 50%;
  -moz-columns: 2 50%;
  columns: 2 50%;
}
.glossary .letter {
  font-size: 28px;
  font-size: 2.8rem;
  position: relative;
  font-weight: bold;
}
.glossary > ul {
  list-style: none;
  padding-left: 0;
  -webkit-column-break-inside: avoid;
  column-break-inside: avoid;
}
.glossary > ul > li > ul {
  margin-left: 33px;
}
.dropdown {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.dropdown .dropdown-menu {
  display: none;
  float: left;
  margin-top: -2px;
  list-style: none;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  -webkit-box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.3);
}
.dropdown .dropdown-menu li {
  padding: 5px;
}
.dropdown .dropdown-menu li:hover {
  background: rgba(0, 0, 0, 0.4);
}
.dropdown .dropdown-menu a {
  border: none;
}
.dropdown .dropdown-menu:hover {
  display: block;
}
.dropdown:hover > .dropdown-menu {
  display: block;
}
pre {
  background: white;
}
.epub-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000000000;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.5);
}
.epub-loader .spinner {
  display: inline-block;
  animation: spin 4s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  display: flex;
  align-items: center;
  justify-content: center;
}
.epub-loader .spinner::before {
  font-size: 72pt;
  width: 72pt;
  height: 72pt;
  display: block;
  text-align: right;
  color: #e6e6e6;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
