html {
    position: relative;
    min-height: 100%;
}
body {
    background: #f5f5f5;
    font-family: Tahoma;
    margin-bottom: 77px;
}
.container {
    background: #f5f5f5;
}
a {
    text-decoration: none;
    color: #2a6171;
}
.reader-body {
    background: #f1f1f1;
}
.app-dark-theme body {
    background: #212529;
}
.app-dark-theme .content {
    background: #212529;
}


header {
    background-color: #4582af;
    position: relative;
    height: 56px;
}

header .navbar {
    background-color: #4582af !important;
    padding: 0;
    z-index: 10;
}
header .container {
    background-color: #4582af !important;
}
header .navbar .navbar-brand {
    font-size: 25px;
    color: #fff;
    font-weight: 600; /* Еще более жирный шрифт */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3); 
}
header .navbar .nav-link {
    height: 56px;
    line-height: 56px;
    padding: 0 15px !important;
    color: #fff !important;
}
header .nav-link:hover,
header .nav-link.active {
    background-color: #0e558a !important;
}
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #222222;
    height: 56px;
}
footer .container {
    background-color: #222222 !important;
}
.footer-main {
    color: #fff;
    height: 56px;
    line-height: 56px;
    text-align: center;
}
.footer-info {
    position: relative;
    line-height: 1.1;
    padding-top: 10px;
}
.footer-info__book-id {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 60%;
}
footer a {
    color: #f1f1f1; /* Обычный цвет ссылок */
    transition: color 0.3s ease; /* Плавное изменение цвета */
}

footer a:hover {
    color: #e3e3e3; /* Цвет при наведении */
    text-decoration: underline; /* Добавляем подчеркивание при наведении */
}

.header {
    margin: 0 0 10px;
    text-align: left;
}
.header h1,
.header h2 {
    color: #222222;
    font-size: 18px;
    font-weight: 700;
    display: inline;
}
.header-text {
    margin: 10px 0 25px;
}
.badge {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
    text-align: center;
    background-color: #777;
    border-radius: 3px;
}
.header .badge {
    vertical-align: text-bottom;
    margin-left: 10px;
    line-height: normal;
    background-color: #9d1919;
    color: #fff;
    padding: 2px 7px 3px;
}
.header .badge:hover {
    opacity: .8;
}
.card {
    margin-bottom: 20px;
}
.page {
    padding-top: 20px;
}



.genre-page {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 40px;
}
.genre-page__col:first-child {

}
.genre-page__col {

}
.genre-page a {
    color: #000;
}
.genre-page a:hover {
    color: #4582af;
}
.genre-page li {
    font-size: 14px;
    margin-bottom: 5px;
}
.genre-page h2 {
    font-size: 24px;
    line-height: 1.2;
}
.genre-page ul {
    list-style: none;
    margin: 0 0 25px 0;
    padding: 0;
}



.news-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 74px;
    padding-bottom: 0;
    justify-content: center;
}
.news-item {
    width: 260px;
    max-height: 300px;
    margin-bottom: 16px;
}

@media (min-width: 576px) {
    .news-list {
        justify-content: center;
    }
}
@media (min-width: 768px) {

}
@media (min-width: 992px) {
    .news-list {
        justify-content: normal;
    }
}

.news-item__cover img {
    width: 100%;
    max-height: 180px;
    border: 1px solid #959595;
    border-radius: 3px;
}
.news-item__header a {
    display: inline-block;
    padding-top: 8px;
    line-height: 1.1;
    color: #000;
    font-size: 16px;
    font-weight: 700;
}
.news-item__header a:hover {
    color: #4582af;
}
.selections-page .more-selections {
    text-align: center;
    padding-top: 40px;
}
.selections-page .btn {
    background-color: #4582af;
    color: #fff;
}
.selections-page .btn:hover {
    opacity: .8;
}


.genres-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: normal;
    column-gap: 8%;
}
@media (min-width: 768px) {
    .genres-list {
        flex-wrap: nowrap;
        justify-content: center;
    }
}
.genre-item {
    margin-bottom: 5px;
}
.genre-item a {
    font-size: 15px;
    font-weight: 700;
    color: #000;
    transition: all .2s ease 0s;
    text-decoration: none;
}
.genre-item a:hover {
    color: #2a6171;
}



.detail-info {
    #display: flex;
    #column-gap: 40px;
    #flex-wrap: wrap;
    padding-bottom: 30px;
    overflow: hidden;
}
.detail-info__cover {
    float: left;
    margin-bottom: 20px;
    margin-right: 40px;
}
.detail-info__cover img {
    max-width: 500px;
    max-height: 400px;
}
.detail-info__description {

}



.books-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-right: 0;
    justify-content: center;
}
.book-item {
    position: relative;
    width: 154px;
    height: 420px;
    margin-right: 12px;
}
.book-item.swiper-slide {
    height: auto !important;
    width: auto;
    max-width: 154px;
    margin-right: 12px;
}
@media (min-width: 576px) {
    .books-list {
        justify-content: center;
    }
}
@media (min-width: 768px) {
    .book-item.swiper-slide {
        max-width: 156px;
    }
    .book-item {
        width: 156px;
    }
}
@media (min-width: 992px) {
    .books-list {
        justify-content: normal;
    }
    .book-item.swiper-slide {
        max-width: 170px;
    }
    .book-item {
        width: 170px;
    }
}

.book-item:hover {
    opacity: .9;
}
.book-item__cover {
    position: relative;
    width: 100%;
    margin: 0 auto 10px;
    text-align: center;
    max-height: 280px;
}
.book-item img {
    display: inline;
    max-width: 100%;
    width: auto;
    max-height: 280px;
    border-radius: 8px;
    box-shadow: 0 4px 6px 0 rgba(37, 38, 40, .2);
}
.book-item__author {
    font-size: 13px;
    color: #555;
    transition: all .2s ease 0s;
    text-decoration: none;
}
.book-item__name {
    display: block;
    margin: 5px 0 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    color: #000;
    transition: all .2s ease 0s;
    text-decoration: none;
}
.book-item__author:hover,
.book-item__name:hover {
    color: #4582af;
    text-decoration: none;
}
.book-item.swiper-slide:last-child{
    margin-right: 0;
}
.book-item .badge {
    position: absolute;
    top: -7px;
    right: -9px;
    z-index: 11;
    border-radius: 5px;
}



.swiper-button-next, .swiper-button-prev {
    background-color: #fff;
    height: 60px;
    width: 30px;
    background-size: auto;
    border: 9px solid #fff;
    margin-top: -50px;
}
.swiper-button-next {
    border-radius: 40px 0 0 40px;
    right: -3px;
}
.swiper-button-prev {
    border-radius: 0 40px 40px 0;
    left: -3px;
}
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    position: absolute;
}
.swiper-button-next:after {
    right: -5px;
    content: 'next';
}
.swiper-button-prev:after {
    left: -5px;
    content: 'prev';
}




.pager-container {
    padding-bottom: 20px;
}
.pager {
    margin: auto;
    text-align: center;
}
.pager-btn {
    display: inline-block;
    width: 130px;
    height: 30px;
    line-height: 27px;
    text-decoration: none;
    border-radius: 3px;
    color: #4582af;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px;
}
.pager-btn:last-child {
    margin-left: 10px;
}
.pager-btn.active:hover {
    opacity: .8;
}
.pager-btn.disabled {
    color: #aaa;
    cursor: not-allowed;
    opacity: .8;
}



.book-detail h2,
.book-detail h3 {
    font-size: 22px;
}
.book__info-container {
    position: relative;
    padding-bottom: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 20px;
    column-gap: 40px;
}
.book__description {
    padding-top: 20px;
}
.book__info h1 {
    top: -9px;
    position: relative;
}
.book__cover img {
    max-width: 300px;
}
.book__info {
    max-width: 700px;
    flex-grow: 2;
}
.book__info-item span {
    color: #333;
}
.book__links {
    padding-top: 10px;
    padding-bottom: 30px;
    font-size: 20px;
}
.book__reactions {
    text-align: center;
    padding-top: 12px;
}
.book__reaction:last-child {
    margin-left: 10px;
}
.book__reaction i {
    font-size: 24px;
    cursor: pointer;
}
.book__reaction .disabled {
    cursor: not-allowed;

}
.book__reaction-like i {
    color: #fe2020;
}
.book__reaction-fire i {
    color: #f5740a;
}
.book__reaction span {
    font-size: 12px;
    vertical-align: text-top;
}
.book__reaction:hover i {
    opacity: .8;
}
.book-review__container {
    background-color: #eee;
}



.reader {
    padding-bottom: 30px;
}
.reader h1 {
    padding: 15px 0 30px;
}
.reader-page {
    padding-bottom: 20px;
}
.reader-settings {
    display: flex;
    flex-direction: row;
    column-gap: 20px;
    padding: 10px 0;
}
.size-switcher button{
    width: 26px;
    height: 26px;
    line-height: 1em;
}
.full-link {
    margin-bottom: 25px;
}

.need-confirm {
    overflow: hidden;
}
.need-confirm .adult-confirm {
    display: block;
}
.adult-confirm {
    display: none;
    position: fixed;
    z-index: 1000;
    background: #fff;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.message-box {
    width: 400px;
    position: relative;
    margin: auto;
    top: 50%;
    margin-top: -150px;
    font-size: 22px;
    text-align: center;
}
.message-box .buttons {
    padding-top: 30px;
    text-align: center;
}
.ad-str {
    font-size: 70%;
}





































