/* @font-face {
    font-family: cursive;
    src: url(/frontend/web/fonts/Lobster-Regular.ttf);
} */
:root {
    --color-background: #fff; /* var(--color-background) */
    --wrapper-color: #F4F4F4; /* var(--wrapper-color) */
    --color-default: #000; /* var(--color-default) */
    --bg-sand: #e9ddd1; /* var(--bg-sand) */
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: rgba(255,255,255,0.95);
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 5%), inset 0 -1px 0 rgb(0 0 0 / 15%);
    z-index: 997;
}
body {
    padding-top: 70px;
    background-color: var(--wrapper-color);
    font-size: 14px;
    min-width: 374px;
}

.auth-icon {
    display: block;
    height: 48px;
    width: 48px;
    background-position: center;
    background-size: cover;
}
.google {
    background-image: url("/image/social/google-signin.svg");
}
.facebook {
    background-image: url("/image/social/icon-facebook.png");
}

body>main {
    min-height: calc(100vh - 360px);
}
h1 {
    font-size: 32px;
    color: var(--color-default);
}
h3 {
    font-size: 24px;
}
a {
    text-decoration: none;
    color: var(--color-default);
    cursor: pointer;
}
.active,
a:hover {
    color: #5e5eea;
}
ul {
    list-style: none;
    padding: 0;
}
input[type='radio'],
label {
  cursor: pointer;
}
.btn {
    background-color: green;
    padding: 5px 20px;
    border-radius: 5px;
    color: #fff;
}
.btn:hover {
    color: #fff !important;
    background-color: rgb(0, 172, 0);
}
.btn-blue {
    background-color: #5e5eea;
}
.btn-blue:hover {
    background-color: #8686f1;
}
.btn-red {
    background-color: rgba(255, 2, 2, 0.7);
}
.btn-red:hover {
    background-color: red;
}
.btns-row {
    display: flex;
    align-items: center;
}
.btns-row--btn {
    margin-right: 10px;
}
.margin-10 {
    margin: 20px 0;
}

input[type='radio'] {
  position: relative;
  height: 22px;
  width: 22px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
}

input[type='radio']::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border: 2px solid #dadada;
}

input[type='radio']:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #dadada;
  transform: translate(-50%, -50%);
  visibility: visible;
}
.btn {
    border: 1px #a1a1a1;
    padding: 5px 10px;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 5%), inset 0 -1px 0 rgb(0 0 0 / 15%);
}
.btn--grey {
    background-color: #dadadabf;
}
/* Header */
.headline {
    display: flex;
    justify-content: space-between;
}
.headline__btns {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 5px;
}
.headline__sign_in button,
.headline__sign_up a,
.btn-primary {
    text-align: center;
    border: 1px #a1a1a1;
    padding: 5px 10px;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 5%), inset 0 -1px 0 rgb(0 0 0 / 15%);
}
.headline__sign_in button,
.btn-primary {
    background-color: #0036c142;
}
.headline__sign_up a {
    background-color: #dadadabf;
}
.fc {
    display: flex;
    justify-content: center;
    align-items: center;
}
.header-logo {
    display: flex;
    align-items: center;
}
.header-logo__img {
    height: 40px;
}
.header-logo__title {
    padding-top: 10px;
    margin-left: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #5e5eea;
}
.title-main {
    background-color: var(--color-background);
    padding: 20px 10px;
}
.title-main .title-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.title-side img {
    height: 220px;
}
.category-side h3 {
    text-align: center;
}
.category-side__list {
    display: flex;
    justify-content: center;
    padding-top: 20px;
}
.category-side__list ul:first-child {
    margin-right: 20px;
}
.category-side__list li {
    font-weight: bold;
    color: #5e5eea;
    transition: all 300ms;
}
.category-side__list li:hover {
    color: var(--color-default);
}
.search-header {
    padding: 0;
}
.search-box {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--color-background);
    padding: 20px 10px;
    margin-bottom: 20px;
}
.searching-from {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    margin-bottom: 10px;
}
.searching-from input {
    margin: 0 5px;
}
.searching-text {
    display: flex;
}
.search-input {
    width: 100%;
    padding: 10px;
    border: 2px solid #dadada;
    border-radius:5px 0 0 5px ;
    border-right: none;
    outline: none;
    font-size: 16px;
    background: none;
}
.search-button {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    text-align: center;
    outline: none;
    cursor: pointer;
    border: 2px solid #dadada;
    border-radius: 0 10px 10px 0 ;
    border-left: none;
    background: #dadada;
    color: #4b4b4b;
    border-left: 2px solid #dadada;
}
.search-button:hover {
    background: #dadadabf;
}
.search-button svg {
    margin-right: 10px;
    opacity: .8;
}
.search-button span {
    font-size: 14px;
    font-weight: bold;
    padding-right: 5px;
}
#searchDropList {
    position: absolute;
    top: 115px;
    left: 0;
    width: 100%;
    background-color: var(--color-background);
    display: flex;
    flex-direction: column;
}
.search-page {
    background-color: var(--color-background);
    -webkit-box-shadow: -2px 14px 10px -4px rgb(0 0 0 / 55%);
    -moz-box-shadow: -2px 14px 10px -4px rgba(0,0,0,0.55);
    box-shadow: -2px 14px 10px -4px rgb(0 0 0 / 55%);
    z-index: 990;
}
.search-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
}
.search-seeall {
    padding: 50px;
    width: 100%;
    text-align: center;
}
.search-seeall a {
    color:#5e5eea;
    /*font-family: cursive;*/
    font-style: italic;
    font-size: 18px;
}
.desc-main {
    padding: 20px 0;
}
.desc-main p {
    text-align: justify;
}

.swiper,
.sbswiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
text-align: center;
font-size: 18px;
background: var(--color-background);

/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
}

.swiper-slide img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: calc(50% - 20px);
    width: 25px;
    height: 40px;
    background-size: cover;
    z-index: 99;
}
.swiper-button-prev {
    left: 10px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000b5'%2F%3E%3C%2Fsvg%3E") !important;
}

.swiper-button-next {
    right: 10px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000b5'%2F%3E%3C%2Fsvg%3E") !important;
}
.swiper-button-disabled {
    opacity: .1 !important;
    cursor: unset;
}

.exc-main {
    margin-top: 50px;
    padding: 20px 0;
    background: var(--color-background);
}
.excSwiper {
    padding: 0 20px;
}
.exc-main__title {
    padding: 20px 48px;
}
.exc-main__title img {
    width: 100px;
}
.exc-main__title span {
    padding-left: 10px;
}

/* genre title page  */
.genre-block {
    padding: 20px;
}
.genre-item {
    padding: 1px;
}
.genre-item-top {
    position: relative;
}
.genre-item-top img {
    width: 100%;
    z-index: 1;
}
.genre-item-top .genre-item-title {
    position: absolute;
    bottom: 10px;
    left: 20px;
    z-index: 2;
}
.genre-item-bottom ul {
    display: flex;
    flex-direction: column;
    list-style: disc;
    padding: 20px;
}
.genre-item-bottom li {
    padding: 2px 0;
    margin: 3px 0;
    border-bottom: 1px #dadada dotted;
}
.genre-item-title {
    font-size: 24px;
    color: #fff;
    text-shadow: 2px 2px 2px #000;
}
/* Bookcard */
.bookcard {
    display: flex;
}
.bookcard-main {
    margin: 0 auto;
}
.blog-list {
    display: flex;
    flex-direction: column;
    padding: 20px 15px;
}
.blog-fullcard {
    border-bottom: 1px dotted #dadada;
    padding: 20px 0;
}
.blog-fullcard-title {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: .5rem;
}
.blog-fullcard-control {
    display: flex;
    justify-content: space-between;
}
.blog-fullcard-date {
    margin-right: 20px;
}
.chat-icon {
    height: 20px;
    width: auto;
}
.my-blog-list {
    padding: 10px;
}
.blog-fullcard-edit-btns a {
    margin-right: 10px;
}
.field-blog-status label {
    display: flex;
}
.field-blog-status input {
    margin-right: 5px;
    margin-bottom: 5px;
}
.blog-post {
    padding: 15px;
}
.post-swiper-item {
    display: flex;
    flex-direction: column;
    min-height: 200px;
    justify-content: space-between;
    padding: 0 10px;
}
.post-swiper-item--desc {
    font-size: 14px;
    opacity: .7;
    padding: 20px 0;
}
.post-swiper-item--author img {
    width: 100px;
    height: auto;
    border-radius: 50px;
}
.blog-fullcard--author {
    width: 100px;
}
.blog-fullcard--author a {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.blog-fullcard--author img {
    width: 100px;
    height: auto;
    border-radius: 50px;
}
.blog-fullcard--top {
    display: flex;
    align-items: flex-end;
    width: 100%;
}
.blog-fullcard--top p {
    margin-left: 20px;
}
.blog-fullcard-desc {
    margin: 20px 0;
}
.author-blog {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
    padding: 10px;
}
.blog-my-post {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px dotted #dadada;
    padding: 10px;
}
.blog-post-content img,
.ql-editor img {
    max-width: 100%;
    margin: 10px auto;
}
.blog-post-content p:has(img),
.ql-editor p:has(img) {
    text-align: center;
}
@media (min-width: 768px) {
    .bookcard-main {
        width: 220px; 
    }
}
.bookcard-bottom {
    display: flex;
    flex-direction: column;
}
.bookcard-bottom a {
    text-align: center;
}
.bookcard_title {
    font-size: 14px;
}
.bookcard_author {
    font-size: 14px;
    opacity: .8;
}
.bookcard-top {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 280px;
    overflow: hidden;
}
.bookcard-top,
.bookcard-bottom,
.bookcard-top img {
    width: 150px;
}
.booklist {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    padding: 20px 10px;
}
.bookcard {
    width: 50%;
    margin-bottom: 40px;
}
.bookcard-desc {
    padding: 0 10px;
}
.bookcard-desc__more {
    display: flex;
    font-weight: bold;
    padding: 20px 0;
}
.bookcard-desc ul {
    padding: 0;
}
.bookcard-desc ul li span:first-child {
    font-weight: bold;
    padding-right: 10px;
}
.bookcard-desc ul {
    padding-bottom: 10px;
}
.mylib-booktools {
    display: flex;
    justify-content: center;
    padding: 5px 0;
}
.mylib-booktools--item {
    padding: 0;
    margin: 1px;
    background-color: #dadada;
    border: none;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 5%), inset 0 -1px 0 rgb(0 0 0 / 15%);
}
.mylib-booktools--item img {
    padding: 5px;
}
.mylib-booktools--remove:hover {
    background-color: rgba(255, 0, 0, 0.699);
}
.mylib-booktools--done:hover {
    background-color: rgba(60, 255, 0, 0.699);
}
.mylib-booktools--later:hover {
    background-color: rgba(255, 238, 0, 0.699);
}
.mylib-booktools--read:hover {
    background-color: rgba(0, 204, 255, 0.699);
}
.mylib_title {
    margin-bottom: 20px;
    /*font-family: cursive;*/
    font-style: italic;
    font-size: 18px;
}
.full_list {
    display: flex;
    flex-flow: row wrap;
}
.fullcard {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 10px;
}
@media (min-width: 1200px) {
    .fullcard {
        width: 50%;
    }
}
@media (max-width: 1199px) {
    .fullcard {
        border-bottom: 3px #dadada dotted;
        margin-bottom: 20px;
        max-width: 100vw;
    }
}
.fullcard-top {
    display: flex;
    flex-direction: row;
}
.fullcard-hidebook {
    display: flex;
    position: relative;
    z-index: 1;
}
.fullcard-hidebook::after {
    content: 'Книга видалена автором';
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    color: red;
    text-shadow: #fff 1px 0 10px;
    width: 200px;
    height: 300px;
    background-color: var(--color-background);
    opacity: .85;
    z-index: 2;
}
.fullcard-img {
    display: flex;
    flex-direction: column;
}
.fullcard-img .fullcard-picture {
    width: 200px;
    /*height: 300px;*/
    overflow: hidden;
}
.fullcard-img .fullcard-picture a,
.fullcard-img .fullcard-picture img {
    width: 100%;
    height: auto;
}
.fullcard-options {
    padding: 10px;
    width: 100%;
    overflow: hidden;
}
.fullcard-options ul {
    margin-bottom: 0;
}
.fullcard-bottom {
    margin: 10px 0;
}
.dark-mode .fullcard-options b {
    color: #a2a2a2;
}
.bookcard-free {
    color: green;
}
.catalog-aside {
    width: 220px;
    background-color: var(--color-background);
    height: fit-content; 
}
#catalog-aside-btn {
    display: none;
    opacity: 0;
}
@media (max-width: 767px) {
    .blog-fullcard--author {
        width: 50px;
    }
    .blog-fullcard--author img {
        width: 50px;
        border-radius: 25px;
    }
    .blog-fullcard-title {
        font-size: 24px;
        margin-left: 10px;
    }
    .author-blog {
        grid-template-columns: 1fr;
        grid-gap: 0;
        padding: 10px;
    }
    .blog-my-post {
        border: none;
        border-bottom: 1px dotted #dadada;
    }
    .catalog-aside {
        position: fixed;
        top: 50px;
        left: -220px;
        height: calc(100vh - 50px);
        overflow-y: auto;
        transition: all 500ms;
        box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 35%), inset 0 -1px 0 rgb(0 0 0 / 15%);
    }
    #catalog-aside-btn {
        position: fixed;
        display: block;
        top: 115px;
        left: -24px;
        transform: rotate(90deg);
        background-color: #5e5eea;
        color: #fff;
        opacity: .7;
        transition: all 500ms;
    }
    .catalog-aside--active {
        left: 0px;
    }
    .catalog-aside--active #catalog-aside-btn {
        left: 195px;
        opacity: 1;
        background-color: #e8ea5e;
        color: rgb(0, 0, 0);
    }
}
.accordion {
    max-width: 90%;
    height: auto;
    margin: 0 auto;
    padding: 5px;
  }
  .accordion-item {
    padding: 0.5rem 0;
    margin: 0;
    overflow: hidden;
    border: none;
    outline: none;
    border-bottom: 1.3px solid #d4d4d4;
  }
  .accordion-item .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: inherit;
    cursor: pointer;
    color: #454545;
  }
  .accordion-item .title img {
    height: 14px;
    color: #454545;
    margin-left: 5px;
    opacity: .7;
    transition: all 300ms;
  }
  .accordion-item.active .title img {
    opacity: .3;
  }
  .accordion-item .active span,
  .accordion-item .paragraph .active {
    color: #5e5eea;
  }
  .accordion-item .paragraph {
    font-family: inherit;
    font-size: 1rem;
    font-weight: normal;
    line-height: inherit;
    color: #454545;
    display: none;
    padding: 1rem 0;
  }
  .accordion-item.active .paragraph {
    display: block;
  }


.info {
    position: fixed;
    right: -150%;
    top: 100px;
    display: flex;
    width: fit-content;
    padding: 20px 100px 20px 20px;
    background-color: rgba(255,255,255,0.95);
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 35%), inset 0 -1px 0 rgb(0 0 0 / 15%);
    transition: all 1s;
    z-index: 999;
}
.info.info--active {
    right: 0;
}
#info-icon {
    padding-right: 20px;
}
#infoCloseBtn {
    position: absolute;
    right: 0px;
    top: 0px;
    padding: 10px;
    font-weight: 600;
    cursor: pointer;
}


/* model */
.modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(43,46,56,.9);
    -webkit-animation: fade-in .2s both;
    animation: fade-in .2s both;
    z-index: 997;
    transition: background-color 100ms;
}
.ovrlay-hide {
    background-color: rgba(43,46,56,.1);
    z-index: -1;
}
.modal__wrap {
    display: none;
    position: fixed;
    top: 100px;
    left: calc(50% - 200px);
    width: 400px;
    height: fit-content;
    background-color: #dadada;
    padding: 10px 20px;
    border-radius: 20px;
    z-index: 999;
}
#modalAgeLimit {
    z-index: 998;
}
.modal__title {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
}
.modalClose {
    cursor: pointer;
}
span.modalClose:hover {
    font-weight: bold;
}
.modal-login {
    display: flex;
    flex-direction: column;
}
.modal-login input {
    margin-top: 10px;
}
.modal-login input:not(.show-input) {
    display: none;
}
.modal-login nav {
    display: flex;
    width: 100%;
}
.modal-login nav button {
    width: 50%;
    border: 1px #a1a1a1;
    padding: 5px 0;
}
.modal-login--active-btn {
    background-color: #0036c142;
}
.modal-login--active-inp {
    display: block !important;
}
.modal-login form input {
    width: 100%;
    margin-top: 10px;
}
.modal-enterBtn {
    margin-top: 5px;
    margin-bottom: 20px;
    text-align: center;
}
.modal-enterBtn button {
    border: 1px #a1a1a1;
    background-color: #0036c142;
    font-weight: bold;
    padding: 5px 30px;
}
.modal-social,
.modal-register {
    text-align: center;
}
.modal-social {
    margin-bottom: 20px;
} 
.modal-social__list {
    margin-top: 5px;
    display: flex;
    justify-content: center;
}
.modal-social__item {
    margin: 0 20px;
}
.modal-social__item img {
    width: 100%;
}
.modal-agelimit {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: calc(100% - 102px);
}
.modal-agelimit-text {
    text-align: center;
}
.modal-agelimit-text img {
    margin: 20px 0;
}
.modal-agelimit-text span {
    color: #5e5eea;
    cursor: pointer;
}
.noHoverColor:hover {
    color: var(--color-default) !important;
}
.modal-agelimit-btn {
    margin-top: 20px;
}
.modal-agelimit-btn button {
    border: 1px #a1a1a1;
    padding: 5px 10px;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 5%), inset 0 -1px 0 rgb(0 0 0 / 15%);
}
.modal-agelimit-btn button:hover {
    background-color: #0036c142;
}
.modal-cart {
    display: flex;
}
.modal-cart-side {
    width: 50%;
}
.modal-cart-content {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.modal-cart-price {
    color: #5e5eea;
    font-size: 28px;
}
.addToCart {
    cursor: pointer;
}
.addToCart:hover {
    color: #5e5eea;
}

/* breadcrumbs */
.breadcrumbs {
    background-color: var(--color-background);
    color: var(--color-default);
    padding: 20px 10px;
    margin-bottom: 20px;
}
.breadcrumbs ul {
    display: flex;
}
.breadcrumbs li {
    padding: 0 5px;
}
.breadcrumbs h1 {
    font-size: 14px !important;
    margin: 0;
    font-weight: bolder;
    line-height: 1.5;
}

/* cabinet */
.cabinet {
    display: flex;
    padding: 0;
}
.cabinet-aside {
    width: 220px;
    background-color: var(--color-background);
    color: var(--color-default);
    height: fit-content;
}
.cabinet-nav ul {
    padding: 20px 0;
}
.cabinet-nav li {
    padding: 7px 15px;
    border-top: 1px dotted #dadada;
}
.cabinet-userinfo {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}
.user-avater,
.cabinet-userinfo span {
    margin: 5px auto;
}
.cabinet .content>nav img {
    margin-right: 10px;
}
.user-avater img {
    width: 150px;
}
.content {
    width: calc(100% - 240px);
    background-color: var(--color-background);
    padding: 0;
}
@media (max-width: 767px) {
    .content {
        width: 100%;
    }
}
.content.full-page {
    width: 100%;
}
.aside-left {
    margin-left: 20px;
}
.aside-none {
    margin: 0;
    width: 100% !important;
}
.content nav ul {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 20px;
}
.content nav li,
.content nav li a {
    width: 100%;
}
@media (max-width: 991px) {
    .content nav ul {
        flex-wrap: wrap;
    }
    .content nav li {
        width: 50%;
        border: 1px white solid;
    }
    .pay-book-form {
        width: 90%;
        margin: 0;
        padding: 0;
    }
    .discount td input {
        width: 50px;
    }
}

.content nav li a {
    display: inline-flex;
    justify-content: center;
    padding: 10px 0;
}
.content nav li a:not(.active),
.content nav li button {
    background-color: #a2a2a2;
}
.content nav li a:hover,
.content nav li button:hover {
    background-color: #fff !important;
}
.dark-mode .content nav li a.active,
.dark-mode .content nav li a:hover,
.dark-mode .content nav li button:hover {
    background-color: #cfcfcf !important;
}
.series {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 20px 10px;
}
.series-item-top {
    padding: 5px;
    border-top: 3px #dadada solid;
    font-size: 20px;
}
.series-item-list {
    display: flex;
    flex-wrap: wrap;
}
.series-item-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px;
    max-width: 200px;
    margin-right: 10px;
}
.series-item-list li a {
    text-align: center;
}
@media (max-width: 767px) {
    .cabinet {
        flex-direction: column;
    }
    .cabinet>.content {
        width: 100%;
        margin: 0;
    }
    .cabinet .cabinet-aside {
        display: flex;
        justify-content: space-around;
        width: 100%;
        margin-bottom: 2px;
    }
}

/* single */
.single {
    display: flex;
    padding: 0;
}
.single-wrap {
    padding: 0 10px;
}
.single>aside {
    width: 220px;
    background-color: var(--color-background);
}
.aside-right {
    margin-right: 20px;
    padding-right: 0;
}
.single-prew__img {
    max-width: 300px;
}
.single-prew__img img {
    width: 300px;
}
.single-header__title {
    margin-bottom: 20px;
}
.single-prew {
    display: flex;
}
.single-prew__desc {
    color: var(--color-default);
    padding-left: 20px;
    overflow: hidden;
}
.single-prew__img button,
.single-prew__img .btn-read,
.btn-like {
    width: 100%;border: 1px #a1a1a1;
    padding: 5px 10px;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 5%), inset 0 -1px 0 rgb(0 0 0 / 15%);
}
.single-prew__img button:hover {
    color: #5e5eea;
    cursor: pointer;
}
.single-prew__img .btn-read {
    background-color: #0036c142;
}
.single-prew__img .btn-read a {
    display: inline-flex;
    justify-content: center;
    width: 100%;
}
.single-prew__img button {
    background-color: #dadadabf;
}
.single-aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: fit-content;
}
.single-aside ul {
    display: flex;
    flex-wrap: wrap;
}
.single-aside b {
    padding: 10px 0;
}
.single-aside .bookcard {
    width: 100%;
}
.single-aside .bookcard-top,
.single-aside .bookcard-bottom {
    margin: 0 auto;
}
.single-comments {
    margin-top: 50px;
    border-top: 1px #dadada dotted;
    padding: 50px 0 50px 10px;
}
.single-prew__desc--mobile {
    display: none;
}
#newcomment {
    padding-right: 10px;
    padding-bottom: 50px;
}
#newcommentText {
    width: 100%;
    padding: 10px;
}
.comment-top {
    display: flex;
    justify-content: space-between;
}
.comment-time,
.comment-answer-btn,
.comment-delete-btn {
    margin-left: 10px;
    font-size: 12px;
    opacity: .5;
    background-color: var(--color-background);
    border: none;
}
.comment-answer-btn:hover {
    color: #5e5eea;
    opacity: 1 !important;
}
.comment-delete-btn:hover {
    color: red;
    opacity: 1 !important;
}
.comment-answer {
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px #dadada dotted;
}
.comment-answer-box form {
    display: none;
    padding-bottom: 10px;
}
.comm-form-show {
    display: flex !important;
}
.send-answer {
    width: 500px;
    margin-right: 10px;
    padding: 10px;
}
.btn-grey {
    background-color: #c6c4c4;
}
@media (max-width: 767px) {
    .single {
        flex-direction: column;
    }
    .single>aside {
        width: 100%;
        margin-top: 10px;
    }
    .single>aside>ul {
        display: flex;
        width: 100%;
        justify-content: space-around;
    }
}
@media (max-width: 991px) {
    .single-prew__img img,
    .fullcard-picture {
        width: 150px !important;
    }
    .single-prew__desc_anot {
        display: none;
    }
    .single-prew__desc--mobile {
        display: block;
    } 
}

/* footer */
footer {
    margin-top: 50px;
    background-color: var(--color-background);
}
footer p {
    margin-bottom: 5px;
}
.footer-wrap {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
}
.footer-title {
    margin-bottom: 10px;
}
.footer-col {
    width: 300px;
    padding: 0 10px;
}
@media (max-width: 991px) {
    .footer-wrap {
        flex-direction: column;
    }
    .footer-col {
        width: 100%;
        padding-top: 20px;
    }
} 
.footer__copyright {
    border-top: 2px solid #dadada;
    padding: 5px 0;
    text-align: center;
}
.footer-col--alert {
    width: 25px;
    margin-right: 10px;
}
.social_row {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}
.social_row .social_item {
    display: block;
    margin-left: 10px;
    height: 48px;
    width: 48px;
    margin-bottom: 10px;
}

/* read */
.read-area {
    padding: 50px 20px;
    border-top: 1px dotted #dadada;
    border-bottom: 1px dotted #dadada;
    font-size: 1rem;
}
.read-controls {
    display: flex;
}
.read-controls div {
    margin-right: 5px;
}
.read-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 170px;
    margin-top: 10px;
}
.read-header-wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.read-header-center {
    justify-content: center;
    margin: 20px 0;
}
.bookmarker {
    padding-left: 0;
}
.bookmarker p {
    position: relative;
    padding-left: 30px;
}
.bookmarker p:before {
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    display: block;
    background-image: url("/image/icons/bookmark.svg");
    background-size: cover;
    opacity: .1;
    width: 20px;
    height: 20px;
}
@media (min-width: 768px) {
    .bookmarker p:before {
        opacity: 0;
        cursor: pointer;
    }
    .bookmarker p:hover:before{
        opacity: .1;
    }
}
.bookmarker p.bookmarker-flag:before {
    background-image: url("/image/icons/bookmark-active.svg");
    opacity: 1;
}
.chapter-pagination {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.chapter-pagination p {
    cursor: pointer;
    padding: 2px 10px;
    margin: 10px 0;
    border: 1px #b8b8b8 solid;
}
.chapter-pagination p:not(.active) {
    background-color: #a2a2a2;
}
.chapter-pagination p:hover {
    background-color: var(--color-background);
}
@media (max-width: 767px) {
    .chapter-pagination p {
        padding: 5px 25px;
    }
}
.read-header span {
    color: #b8b8b8;
    font-size: .8rem;
}
.read-chapters-item--paid {
    color: #b8b8b8;
}
.read-chapters-item--active {
    color: #5e5eea;
}
.read-chapters-item--active::before {
    content: ' > ';
}
.read-forward {
    display: flex;
    justify-content: center;
}
.forward-btn {
    padding: 20px 0;
    margin: 10px;
    text-align: center;
    width: 50%;
    border: 3px #b8b8b8 solid;
}
@media (max-width: 767px) {
    .read-forward {
        flex-direction: column-reverse;
    }
    .forward-btn {
        width: 100%;
        margin: 10px 0 10px;
    }
}

/* --- */
#create-account {
    padding: 50px 20px;
}
.create-account-error {
    padding: 5px 15px;
    border: 1px #000 solid;
    border-radius: 30px;
    width: fit-content;
}
.create-account-error span {
    color: red;
}
#create-account .form-group,
#profile-user .form-group,
#support-form .form-group,
#profile-author .form-group,
#doc-author .form-group{
    display: flex;
    flex-direction: column;
    max-width: 500px;
}
#create-account .form-group input,
#profile-user .form-group input,
#support-form .form-group input,
#profile-author .form-group input,
#doc-author .form-group input {
    padding: 2px 5px;
}
.docblock--new {
    box-sizing: border-box;
    text-align: center;
    border: 1px #0a58ca solid;
    border-radius: 20px;
}
.docblock--done {
    box-sizing: border-box;
    text-align: center;
    border: 1px green solid;
    border-radius: 20px;
}
.space-around {
    justify-content: space-around;
}
#doc-author .form-group {
    margin-bottom: 10px;
}
#doc-author .custom-field__submit {
    margin-top: 20px;
}
#create-account .date .glyphicon {
    display: block;
    width: 20px;
    height: 20px;
}
.cabinet-usertype {
    text-align: center;
}
.cabinet-usertype a {
    background-color: #dadada; 
}
.cabinet-usertype a:hover {
    background-color: green;
}
.booklist-empty {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 500px;
    width: 100%;
    align-items: center;
}
.booklist-empty span {
    padding-bottom: 20px;
}
.dev-disabled {
    cursor: not-allowed;
}
.chapter-edit .form-group  {
    max-width: 100% !important;
}
.chapters {
    padding: 50px 20px;
}
.ck-content {
    min-height: 500px;
}
.add_to_read {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: none;
    background: none;
    color: var(--color-default);
}

/* author page */
.author-page {
    width: 100%;
}
.author-comments {
    width: 100%;
    padding-left: 10px;
    padding-bottom: 50px;
}
.author-header,
.author-header picture>img {
    width: 100%;
    z-index: 1;
}
.author-header {
    position: relative;
    border-bottom: 1px white solid;
    display: block;
    min-height: 300px;
}
.header-avatar {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    -webkit-box-shadow: -2px 14px 10px -4px rgba(0,0,0,0.55);
    -moz-box-shadow: -2px 14px 10px -4px rgba(0,0,0,0.55);
    box-shadow: -2px 14px 10px -4px rgba(0,0,0,0.55);
}
.header-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #dadadac7;
    z-index: 2;
}
.author-about {
    padding: 50px 20px;
}
.profile-edit {
    padding: 50px 20px;
}
.kv-fileinput-caption {
    border: none;
    margin-bottom: 10px;
}
.btn-file {
    background-color: #dadadabf;
    color: #000;
    cursor: pointer;
}
.author-subscrBtn {
    padding: 10px;
    margin: 10px 0;
    text-align: center;
}
.author-subscrBtn .btn {
    display: flex;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
    cursor: pointer;
}
.author-subscrBtn img {
    width: 24px;
    margin-left: 5px;
}
.checked-icon,
#subscr {
    display: none;
}
.subscribed .checked-icon {
    display: block;
}
.subscribed .uncheck-icon {
    display: none;
}
.subscrcard {
    display: flex;
    flex-direction: row;
}
.subscr-avater {
    width: fit-content;
}
.subscr-avater img {
    width: 150px;
}
.subscr-content {
    width: 100%;
    padding: 5px 10px;
}
.subscr-history-item {
    padding: 5px 10px;
    border: 1px dotted #dadada;
    border-bottom: none;
}
.subscr-history-item:last-child {
    border-bottom: 1px dotted #dadada;
}
.error-page {
    display: flex;
    justify-content: center;
    align-items: center;
}
.error-page h1 {
    text-align: center;
}
.error-inner {
    width: fit-content;
}
.error-link {
    margin-top: 50px;
}
.simple-page {
    padding: 10px;
}
.simple-content {
    margin: 0 10px;
}
.simple-content p > span:has(> img) {
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
}
.simple-content *,
.simple-content p,
.simple-content span {
    color: var(--color-default) !important;
}
.simple-content p > span:has(> img) > img {
    display: block;
    max-width: none;
}
.tag {
    position: relative;
}
.used-tags {
    padding: 10px 0;
    z-index: 9;
}
.used-tags li {
    padding: 2px;
    margin-bottom: 2px;
    background-color: #5e5eea;
    color: #fff;
    cursor: pointer;
}
.used-tags li:hover {
    background-color: orange;
}
#tagDropList,
#coauthorDropList {
    position: absolute;
    background-color: var(--color-background);
    z-index: 99;
    -webkit-box-shadow: -2px 14px 10px -4px rgba(0,0,0,0.55);
    -moz-box-shadow: -2px 14px 10px -4px rgba(0,0,0,0.55);
    box-shadow: -2px 14px 10px -4px rgba(0,0,0,0.55);
}
#tagDropList span:hover,
#coauthorDropList span:hover {
    border: 1px rgb(210, 210, 210) solid;
}
#tagDropList span,
#coauthorDropList span:hover {
    padding: 3px 10px;
    cursor: pointer;
}
.answerform {
    transition: all 300ms;
}
.answerform--used {
    opacity: .5;
}
.answerform--used button {
    display: none;
}
#commentsCount {
    border: none;
    background: none;
    width: 60px;
}
.delete-comments-list {
    padding: 40px 0 20px 10px;
}

/* checkout */
.fullpage {
    display: flex;
    justify-content: space-around;
    width: 100%;
    background-color: var(--color-background);
    padding: 60px 10px 30px;
}
.fullpage input {
    width: 100%;
    padding: 5px 15px;
    margin-bottom: 20px;
}
.fullbtn {
    display: flex;
    justify-content: center;
    border-radius: 5px;
    color: #fff;
    background-color: #5e5eea;
    padding: 10px 20px;
    margin: 0 auto;
    width: 100%;
    max-width: 206px;
    border: none;
    box-shadow: 0 0.4rem 0.6rem rgb(0 0 0 / 35%), inset 0 -1px 0 rgb(0 0 0 / 15%);
    transition: all 200ms;
}
.fullbtn:hover {
    color: #fff;
    opacity: .7;
}
#forgot-password {
    border: 3px #dadada solid;
    padding: 20px;
    width: 300px;
    height: min-content;
}
.checkout {
    display: flex;
    justify-content: space-between;
    background-color: var(--color-background);
    padding: 50px 20px;
}
.checkout-paymethod {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border: 4px solid #F4F4F4;
}
.checkout-paymethod b {
    padding-right: 10px;
}
.checkout-side {
    width: 40%;
}
.radio_container {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
}
.radio_container label {
    padding: 0 10px;
}
.checkout-payside {
    display: flex;
    flex-direction: column;
}
.checkout-subtotal {
    width: 200px;
    margin: 50px 0;
}
.checkout-subtotal p {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px #d4d4d4 dotted;
}
@media (max-width: 991px) {
    .checkout {
        flex-direction: column-reverse;
    }
    .checkout-side {
        width: 100%;
    }
    .share-book-link {
        justify-content: space-around;
    }
    .share-book-link img {
        width: 24px !important;
    }
}
.personcard {
    text-align: center;
    width: 250px;
    margin: 15px 5px;
} 
.personcard-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.personcard img {
    width: 250px;
}
.home-search {
    margin: 50px auto;
}
.read-area img {
    max-width: 80vw;
}
@media (min-width: 475px) {
    .read-area img {
        max-width: 416px;
    }
}
@media (min-width: 992px) {
    .read-area img {
        max-width: 656px;
    }
}
@media (min-width: 1200px) {
    .read-area img {
        max-width: 836px;
    }
}
@media (min-width: 1400px) {
    .read-area img {
        max-width: 1016px;
    }
}

.business-new {
    display: flex;
    flex-direction: column;
    padding: 10px;
}
.business-todo {
    max-width: 700px;
    margin: 50px auto;
}
.business-todo li {
    padding-bottom: 10px;
}
.business-title {
    padding: 20px 0;
    width: 100%;
    text-align: center;
}
.underline {
    text-decoration: underline;
}
.business-status {
    margin: 20px auto;
}
.business-status span {
    color: #dadada;
}
.business-status span.business-status--process {
    color: #000;
}
.business-status span.business-status--active {
    color: green;
}
.std-btn {
    background-color: #0036c142;
    text-align: center;
    border: 1px #a1a1a1;
    padding: 5px 10px;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 5%), inset 0 -1px 0 rgb(0 0 0 / 15%);
}
.flex-row {
    display: flex;
}
.full-width-center {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
}
.pay-book-form {
    margin: 10px 0 30px 30px;
    padding: 10px;
    border: 1px solid #dadada;
}
.pay-book-form>form {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.chapters-list th {
    padding-right: 10px;
}
.unselectable {
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/* Sales */
.sales_table {
    margin: 50px auto;
    overflow-x: scroll;
}
.sales_table tbody td {
    padding: 2px 5px;
    border: 1px dotted #000;
    max-width: 300px;
}
.datepicker {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--color-background);
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 5%), inset 0 -1px 0 rgba(238, 7, 7, 0.15);
    z-index: 10;
}
.sales_table thead th a[data-sort="tax"],
.sales_table thead th a[data-sort="percent"],
.sales_table thead th a[data-sort="total_fee"] {
    display: block;
    text-align: center;
    width: 70px;
}
.sales_table #salessearch-date_from-kvdate>input {
    width: 120px;
}
.sales_table input[name="SalesSearch[book_name]"] {
    width: 100%;
}
.info-mess {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 10px 20px;
    border: 4px solid #F4F4F4;
}
.info-mess p {
    margin-left: 15px;
}
.cabinet-bought-status li span {
    color: #fff;
    padding: 0 10px;
    text-shadow: #0a0a0a 1px 1px;
}
.cabinet-mess {
    flex-direction: column;
    margin: 0 10px !important;
}
.last_view__title {
    margin-top: 50px;
    padding-left: 10px;
    border-bottom: 4px solid #F4F4F4;
}
.last_view__list {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
}
.last_view__list .bookcard-main {
    width: fit-content;
}
.mini-genre-link {
    max-width: 150px;
    font-size: 14px;
    background: #5e5eea;
    border-radius: 15px;
    margin-top: 10px;
}
.mini-genre-link a {
    color: #fff;
    padding: 3px 0;
}
.buyBookBtn {
    width: 100%;
    text-align: center;
    margin: 20px 0;
}
.buyBookBtn button,
.read-chapters-payBtn {
    background-color: #5e5eea;
    color: #fff !important;
    font-weight: bold;
    padding: 20px;
    border: 3px #b8b8b8 solid;
}
.read-chapters-payBtn {
    padding: 10px 20px;
    border: none;
}
.read-chapters-payBtn span {
    color: #fff !important;
}
.pay-btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px dotted #dadada;
    border-bottom: 1px dotted #dadada;
    margin-top: 20px;
}
.pay-btn img {
    width: 180px;
}
.mono-submit {
    border: 1px solid #dadada;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.75;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    padding: 5px 24px;
    text-transform: uppercase;
}
.single-prew__desc_anot,
.single-prew__desc_other {
    padding-top: 20px;
}
.single-prew__desc_other {
    position: relative;
}
.single-prew__desc_other img {
    width: 100px;
}
.sbswiper {
    padding-top: 10px;
    overflow-x: hidden;
}
.single-prew__desc_other .swiper-button-prev,
.single-prew__desc_other .swiper-button-next {
    top: 50%;
}
.search-tags {
    padding: 30px 0;
}
.search-tags a {
    padding: 2px 10px;
    background-color: #dadada;
    margin-left: 10px;
    margin-top: 10px;
    border-radius: 10px;
}
.read-options {
    display: flex;
}
.btn-like svg {
    width: 25px;
    height: 20px;
    margin-right: 5px;
}
.btn-like {
    display: flex;
    justify-content: center;
    width: fit-content;
    min-width: 100px;
    cursor: pointer;
    transition: all 300ms;
    background: #e8f9e5;
}
.btn-like:hover {
    background: #bfffb3;
}
.btnLike-likethis {
    background: #dadada;
    border: unset;
}
.btnLike-likethis:hover {
    background: #dadada;
}
@media (max-width: 767px) {
    .read-options {
        flex-wrap: wrap-reverse;
    }
    .btn-like {
        width: 150px;
    }
}
.banner-homepage img {
    width: 100%;
    max-width: 400px;
}
.book-banner {
    padding: 0;
    margin-bottom: 20px;
}
.book-banner img {
    width: 220px;
}
.title-widget-create {
    display: flex;
}
.title-widget-create label {
    margin-right: 5px;
    padding-top: 4px;
}
.title-widget-create button {
    margin-left: 10px;
}
.widget-edite {
    display: flex;
}
.widget-moveBtns {
    margin-right: 10px;
}
.widget-moveBtns button {
    padding: 0;
}
.widget-moveBtns a {
    padding: 5px;
}
#sortable-widget-1,
#sortable-widget-2,
#sortable-widget-3 {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 60%;
}
#sortable-widget-1 li,
#sortable-widget-2 li,
#sortable-widget-3 li {
    margin: 0 3px 3px 3px;
    padding: 0.4em;
    padding-left: 1.5em;
    font-size: 1em;
    height: 39px;
}
#sortable-widget-1 li span,
#sortable-widget-2 li span,
#sortable-widget-3 li span {
    position: absolute;
    margin-left: -1.3em;
    margin-top: 5px;
}
.widget-type,
.widget-addbook,
.title-widget-list {
    font-size: 14px;
    padding-top: 20px;
}
.title-widget-list li {
    border-bottom: 1px dotted #dadada;
}
.widget-edite .delete-btn {
    margin-left: 10px;
    color: red;
}
.title-widget-item a {
    color: red;
}
#bookstitle-genre_1 {
    max-width: 200px;
}
table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

td, th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}
tr:nth-child(even) {
    background-color: #dddddd;
}
.transparent-inputs input {
    border: unset;
}
#publicationTimer-datetime input {
    width: 100%;
    text-align: center;
    color:#5e5eea;
    font-weight: bold;
}
.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    max-width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}
.active-accordion,
.messages-accordion.accordion:hover {
    background-color: #ccc;
}
.panel {
    padding: 0 18px;
    background-color: white;
    border: 1px solid #e3e3e3;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}
.messages_list {
    padding: 20px 5px;
}
.messages_list .btn-primary {
    margin-top: 10px;
}
.messages_list .message {
    width: 100%;
}
.messages_list button {
    display: flex;
    justify-content: space-between;
}
.new-messege {
    font-weight: 600;
}
.panel-inner {
    padding: 20px 0;
}
.product-pagination__list {
    display: flex;
    width: fit-content !important;
    margin: 0 auto;
}
.product-pagination__list li:not(.active) a {
    background-color: #eee !important;
}
.product-pagination__item,
.product-pagination__item a {
    width: 50px !important;
}
.content nav li a.product-pagination__link:hover {
    background-color: #a2a2a2 !important;
}
.product-pagination__item span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 100%;
    opacity: 0;
}
.cabinet .content .disabled img {
    display: none !important;
}
.full-height {
    display: flex;
    align-items: center;
}
.answerform--hide {
    display: none;
}
.answerform--used .answerform--hide {
    display: flex;
}
.messages_navi {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 10px;
}
.messages_navi li,
.mini-mark {
    width: max-content;
    padding: 3px 7px;
    margin-right: 10px;
    margin-top: 10px;
    border-radius: 5px;
    opacity: .7;
}
.book-type-switcher {
    display: flex;
    border: 1px solid #dadada;
    width: min-content;
}
.book-type-switcher .book-type-switcher--item {
    padding: 10px 20px;
}
.book-type-switcher--item:first-child {
    border-right: 1px #dadada dotted;
}
.book-type-switcher--item:not(.active) {
    background-color: #a2a2a2;
}
.book-type-switcher--item:hover {
    background-color: var(--color-background) !important;
}
.booklist-add-new {
    padding: 20px 0;
}
.btn--gray {
    padding: 6px 10px;
    color: var(--color-default);
    margin-right: 3px;
    border: 1px #a1a1a1;
    background-color: #dadadabf;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 5%), inset 0 -1px 0 rgb(0 0 0 / 15%);
}
.btn--gray:hover {
    background-color: #dadadabf !important;
    color: #5e5eea !important;
}
.audio-list {
    display: flex;
    flex-direction: column;
}
.audio-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}
.audio-row:not(:first-child) {
    border-top: 1px dotted #dadada;
}
.audio-row--title {
    max-width: 50%;
}
.audio-row audio {
    width: 300px;
}
@media (max-width: 1200px) {
    .audio-row--title {
        max-width: 100%;
    }
    .audio-row--date {
        padding-top: 15px;
        width: 100%;
    }
    .audio-row {
        flex-wrap: wrap;
    }
}
.btn-audio {
    text-align: center;
    padding: 5px 0;
    border: 1px #a1a1a1;
    background-color: #d7d7d7;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 5%), inset 0 -1px 0 rgb(0 0 0 / 15%);
}
.btn-audio a {
    display: block;
    width: 100%;
}
.btn-audio img {
    margin-right: 5px;
}
.partSell-price .form-group {
    text-align: center;
}
label[for=partSell] {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
}
#partSell {
    margin-right: 5px;
}
.partSell-price p {
    text-align: center;
}
.help-block-error {
    color: red;
    font-weight: bold;
}
@media (max-width: 767px) {
    .hide-small {
        display: none;
    }
}
@media (max-width: 575px) {
    .hide-xsmall {
        display: none;
    }
    .swiper-slide .bookcard-top {
        height: 180px;
    }
    .swiper-slide .bookcard-top, .bookcard-bottom, .bookcard-top img {
        width: 100px;
    }
    .pay-btn {
        flex-direction: column;
    }
    .pay-btn img {
        margin-bottom: 10px;
    }
}
.margin-v-10 {
    margin: 10px 0;
}
.underline {
    text-decoration: underline;
    color: #5e5eea;
}
body .ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable, .ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners {
    color: #000;
}
.dark-mode textarea,
.dark-mode input,
.dark-mode tr:nth-child(even),
.dark-mode input[type='radio']:checked::after,
.dark-mode .messages_list .messages-accordion,
.dark-mode .messages_list .panel,
.dark-mode .modal__wrap,
.dark-mode select,
.dark-mode .ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable, .ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners {
    background-color: var(--wrapper-color);
    color: #fff;
}
.dark-mode .catalog-aside .accordion {
    background: #000;
}
.dark-mode header {
    background: #000;
    opacity: .9;
}
.dark-mode .content,
.dark-mode .footer-wrap,
.dark-mode .footer__copyright,
.dark-mode .single-aside,
.dark-mode .container span,
.dark-mode .searching-from label,
.dark-mode .headSignIn,
.dark-mode .modal-login--active-btn,
.dark-mode .modal-enterBtn button,
.dark-mode .std-btn,
.dark-mode b,
.dark-mode ul li,
.dark-mode .info-mess p,
.dark-mode .agelimit-agree:hover,
.dark-mode .comment-answer-btn,
.dark-mode .comment-delete-btn,
.dark-mode .simple-content,
.dark-mode .single-comments {
    color: #fff;
}
.dark-mode .search-button span,
.dark-mode .noHoverColor,
.dark-mode .btn-audio a,
.dark-mode .container span.like-counter,
.dark-mode .day:hover,
.dark-mode .hour:hover,
.dark-mode .minute:hover,
.dark-mode .cabinet-usertype a {
    color: #000;
}
.dark-mode header {
    box-shadow: 0 0.5rem 1rem rgb(255 255 255 / 28%), inset 0 -1px 0 rgb(253 253 253 / 14%);
}
.dark-mode .bookmarker p:before {
    background-image: url("/image/icons/bookmark-white.svg");
}
.dark-mode .bookmarker p.bookmarker-flag:before {
    background-image: url("/image/icons/bookmark-active.svg");
}
.dark-mode {
    --color-background: #000;
    --wrapper-color: #1a1a1a;
    --color-default: #fff;
}

.text-color-scheme-2 header,
.text-color-scheme-3 header {
    background: var(--bg-sand);
    opacity: .9;
}
.text-color-scheme-2 footer,
.text-color-scheme-2 .footer__copyright,
.text-color-scheme-2 .single-aside,
.text-color-scheme-2 .content,
.text-color-scheme-2 .breadcrumbs,
.text-color-scheme-3 footer,
.text-color-scheme-3 .footer__copyright,
.text-color-scheme-3 .single-aside,
.text-color-scheme-3 .content,
.text-color-scheme-3 .breadcrumbs {
    background: var(--bg-sand);
}
.text-color-scheme-2 .read-area {
    color: #000;
}
.text-color-scheme-1 .read-area,
.text-color-scheme-3 .read-area {
    color: #7a7a7a;
}
.cabinet-settings-bar {
    padding: 10px;
}
.cabinet-settings-bar a {
    background-color: #a2a2a2;
}
.cabinet-settings-bar img {
    margin-bottom: 5px;
    margin-right: 5px;
}
#sortableAuthorBooks {
    padding: 10px;
}
#sortableAuthorBooks li {
    cursor: grab;
    padding: 10px 0;
    border-bottom: 1px #000 dotted;
}
#sortableAuthorBooks li img {
    margin-right: 5px;
}
.books-sort-status {
    margin-left: 20px;
}
.discount-range input.form-control,
.discount .discount-row {
    width: 100%;
}
.discount-row {
    display: flex;
}
.discount .custom-field__submit {
    margin-top: 10px;
}
.discount input[name="discount[datetime_range]"] {
    margin: 0;
    width: 100%;
}
.discount input[name="discount[datetime_range]"],
span.drp-selected {
    color: #5e5eea;
}
.discount table {
    margin: 20px 0;
}
.bookcard-top {
    position: relative;
}
.discount-card .bookcard-top img {
    border: 1px yellow solid;
}
.discount-line {
    position: absolute;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: yellow;
    padding: 0 5px;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 20px;
    font-size: 12px;
}
.discount-line:before {
    content: '% ЗНИЖКА';
    font-weight: bold;
}
.discount-single .discount-line {
    position: unset;
    width: fit-content;
}
.discount-single .discount-line {
    position: unset;
    width: fit-content;
    margin-top: 10px;
    margin-bottom: 0;
}
.discount-full .discount-line {
    position: unset;
}
.discount-card .discount-line,
.discount-single .discount-line,
.discount-full .discount-line {
    display: flex;
}
.daterangepicker .cancelBtn {
    background-color: grey;
}
.daterangepicker .applyBtn {
    background-color: green;
}
.daterangepicker .calendar-time option,
.daterangepicker .hourselect,
.daterangepicker .minuteselect,
.daterangepicker .ampmselect {
    color: #000 !important;
}
#cookieAgreeBlock {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
#cookieAgreeBlock .container {
    position: relative;
}
#cookieAgreeClose {
    display: block;
    position: absolute;
    padding: 10px;
    cursor: pointer;
    right: 20px;
    top: 0;
    z-index: 1001;
}
#cookieAgreeClose:hover {
    color: #5e5eea;
}
#agreeBtn {
    margin-right: 20px;
}
.openCatalog {
    width: 100%;
    text-align: center;
}
.openCatalog a {
    background: #fff;
}
.one-line {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}
.set-email .one-line {
    max-width: 500px;
}
.set-email .one-line .field-emailverification-email {
    width: 100%;
}
.set-email .one-line .btn {
    width: 200px;
    height: 31px;
    margin-top: 5px;
    margin-left: 1px;
}
.vertify-email .info-mess {
    margin-bottom: 20px !important;
}
.share-book-link {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.share-book-link a {
    padding: 5px;
}
.grecaptcha-badge {
    visibility: visible !important;
    opacity: 1 !important;
}
.custom-error {
    font-weight: 600;
    color: red;
}
span.headSignIn:hover {
    cursor: pointer;
    color: #5e5eea !important;
}
.full-list {
    display: flex;
    margin: 20px;
    padding: 10px;
    background-color: var(--wrapper-color);
    border: 1px #fff dotted;
}
.app-list {
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
}
.app-item {
    padding: 10px 5px;
    margin: 10px 0;
    border-bottom: 1px #000 dotted;
}
.app-item:last-child {
    border-bottom: none;
}
@media (min-width: 768px) {
    .app-item {
        display: flex;
        justify-content: space-between;
    }
    .app-list-platform {
        width: 100px;
    }
    .app-list-desc {
        flex: 1;
    }
}
.app-list-desc {
    min-width: 300px;
    max-width: calc(100% - 500px);
}
@media (max-width: 767px) {
    .app-list-desc {
        padding: 10px 0;
        margin: 0 auto;
    }
    .app-list-load {
        display: inline-flex;
        justify-content: center;
        padding: 10px 0;
        width: 100%;
    }
    .app-list-platform,
    .app-list-title {
        display: inline-flex;
        justify-content: center;
        width: 50%;
    }
}
.flex-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
}
.support-form {
    max-width: 800px;
    margin: 20px auto;
}
.support-form h1 {
    text-align: center;
}
.support-form .form-group {
    margin: 20px auto;
}
.support-non-registered {
    max-width: 500px;
    margin: 20px auto;
}
.support-form #support-text {
    padding: 5px;
}
.support-form #success-message p {
    text-align: center;
    padding: 20px 0;
}
