html,
body {
    height: 100%;
}

#search-bar {
    width: 30em;
    height: 30px;
    color: #000000;
    background-repeat: no-repeat;
    background-position: 95%;
    border-radius: 15px;
    padding: 7px;
    outline: none;
    margin-top: 10px;
    opacity: 0.5;
    font-family: Roboto, sans-serif;
    margin-left: 100px;
    font-size: 16px;
    cursor: pointer;
}

.navbar {
    min-height: 55px;
    max-width: 1920px;
    background-color: white;
    border-bottom: none;
    -webkit-box-shadow: 0 8px 6px -6px #999;
    -moz-box-shadow: 0 8px 6px -6px #999;
    box-shadow: 0 8px 6px -6px #999;
}

/*==================Footer===============================*/
.footer {
    height: 80px;
    border-top: 1px solid #ddd;
    background-color: #4a90e2;
}

footer .container {
    height: 100%;
}

footer .col-lg-4 {
    margin-top: 5px;
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-text {
    font-family: Roboto, sans-serif;
    font-size: 18px;
    text-align: center;
    font-weight: 300;
    color: #ffffff;
}

.footer img {
    max-width: 1920px;
    width: 130px;
    height: 45px;
}

.footer .col-xs-6 img {
    margin-left: 10px;
}

.footer-logo {
    width: 160px;
    height: 35px;
    object-fit: contain;
}

/*==================End_footer===============================*/

.wrap {
    min-height: 100%;
    height: auto;
}

.header-logo {
    margin-top: -5px;
    width: 160px;
    height: 35px;
    object-fit: contain;
}

.books-block {
    width: 100%;
}

.main-search-title {
    margin-bottom: 30px;
    width: 50%;
    height: 26px;
    font-family: Roboto, sans-serif;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #000000;
}

.main-title {
    margin-top:100px;
    margin-bottom: 30px;
    font-family: Roboto, sans-serif;
    font-weight: bold;
}

.books-row {
    /*max-width: 1920px;*/
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 30px;
}

.book-block {
    width: 350px;
    height: 180px;
    border-radius: 4px;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    padding: 15px;
}

.reader-block {
    margin: 0.5%;
    min-width: 100px;
    min-height: 50px;
    width: 24%;
    border-radius: 4px;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.book-block img {
    width: 95px;
    height: 150px;
    transform: rotate(1deg);
}

.book-info {
    padding-right: 0;
}

.book-info .description,
.book-info .author,
.book-info .total-time,
.book-info .genres,
.book-info .reader {
    padding: 0;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    font-family: Roboto, sans-serif;
    opacity: 0.65;
}

.book-info .total-time,
.book-info .genres {
    margin-top: 5px;
}

.book-info .title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
    width: 210px;
    height: 19px;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #000000;
    margin: 0;
}

.book-info .author,
.book-info .genres,
.book-info .total-time,
.book-info .reader {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    width: 105px;
    height: 18px;
    font-size: 12px;
    color: #000000;
    max-width: 100%;
}

.book-info .description {
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    width: 210px;
    height: 80px;
    font-size: 12px;
    color: #000000;
    max-width: 100%;
    margin-top: 5px;
    text-align: justify;
}

.col-sm-4,
.col-sm-8 {
    padding-left: 0;
}

.error {
    margin-top: 20%;
    background-color: #ffffff;
    height: 100%;
    text-align: center
}

.error img {
    display: block;
    margin: auto;
}

.error p {
    margin-top: 30px;
    font-family: Roboto, sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.genres-tags a {
    display: inline-block;
    margin-right: 35px;
    margin-top: 25px;
    color: black;
    font-weight: bold;
    font-size: 16px;
    font-family: Roboto, sans-serif;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-decoration: none; /* Убирает подчеркивание для ссылок */
}

.genres-tags a:hover,
.second-menu h4:hover {
    color: #4a90e2;
    cursor: pointer;
}

.second-menu {
    max-width: 1920px;
    background-color: white;
    -webkit-box-shadow: 0 8px 6px -6px #999;
    -moz-box-shadow: 0 8px 6px -6px #999;
    box-shadow: 0 8px 6px -6px #999;
}

.second-menu h3,
.second-menu h4 {
    font-family: Roboto, sans-serif;
    display: inline-block;
    letter-spacing: normal;
    color: #000000;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
}

.second-menu h3 {
    margin-left: 0;
    font-size: 30px;
    font-weight: bold;
    margin-right: 30%;
}

.second-menu h4 {
    margin-right: 30px;
    font-size: 20px;
    font-weight: normal;
}

audio:hover, audio:focus, audio:active
{
    /* -webkit-box-shadow: 15px 15px 20px rgba(0,0, 0, 0.4);
    -moz-box-shadow: 15px 15px 20px rgba(0,0, 0, 0.4);
    box-shadow: 15px 15px 20px rgba(0,0, 0, 0.4);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    transform: scale(1.05); */
}

/*audio*/
/*{*/
    /*-webkit-transition:all 0.5s linear;*/
    /*-moz-transition:all 0.5s linear;*/
    /*-o-transition:all 0.5s linear;*/
    /*transition:all 0.5s linear;*/
    /*-moz-box-shadow: 2px 2px 4px 0px #006773;*/
    /*-webkit-box-shadow:  2px 2px 4px 0px #006773;*/
    /*box-shadow: 2px 2px 4px 0px #006773;*/
    /*-moz-border-radius:7px 7px 7px 7px ;*/
    /*-webkit-border-radius:7px 7px 7px 7px ;*/
    /*border-radius:7px 7px 7px 7px ;*/
    /*background-color: whitesmoke;*/
/*}*/

.active-item-in-menu {
    border-bottom:2px solid #4a90e2;
}
/*==================Modal-first-visit-dialog===============================*/
.modal.in {
    display: flex !important;
}
.modal .modal-dialog {
    margin: auto;
}

.modal.fade .modal-dialog {
    transform: translate(0, 0);
}

.modal-content-baner {
    background-color: #4a90e2;
    width: 640px;
    height: 315px;
}

.modal-header-baner {
    padding: 0 0 20px;
    border-bottom: 0 none;
}

.modal-header-baner .close-baner {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 26px;
    font-weight: 300;
    width: 24px;
    height: 24px;
    color: #ffffff;
    opacity: 0.8;
}

.modal-header-baner .close-baner:hover {
    opacity: 0.4;
}

p.modal-title-baner {
    font-family: SFProText, sans-serif;
    font-size: 24px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #ffffff;
    padding: 10px 0 0 0;
    margin-left:auto;
    margin-right: auto;
    width: 100%;
}

.modal-body-baner {
    padding: 0;
}

.modal-body-baner .row {
    margin: 0;
    display: flex;
}

.modal-body-baner img {
    padding-left: 60px;
    padding-bottom: 30px;
}

.modal-body-baner .row .row {
    display: inline-block;
    padding-top: 50px;
    margin-left: 46px;
    margin-right: initial;
}

.logo-container {
    padding: 0;
}

img.banner-logo-site {
    padding: 0;
    width: 306px;
    margin-left: auto;
    margin-right: auto;
}

.app-store a img, .google a img {
    padding: 0;
}

.app-store {
    padding: 72px 0 0 0;
    text-align: left;
}

.google {
    padding: 72px 46px 0 0;
}

.modal-footer-baner {
    border-top: 0 none;
    padding: 0;
}

/*==================Other resolutions===============================*/
@media (max-width: 1200px) {
    .second-menu h3 {
        margin-right: 20%;
    }
}

@media (max-width: 992px) {
    .second-menu h3 {
        margin-right: 10%;
    }
}

@media screen and (min-width: 768px) {
    .modal:before {
        display: inline-block;
        vertical-align: middle;
        content: " ";
        height: 100%;
    }
}

/* class helper */

.d-n {
    display: none;
}

.p-p-10 {
    padding: 10px;
}
/*block login account*/
.select-account-block{
    display: inline-block;
    float: right;
    margin: 15px 0;

}
#my-signin2{
    position:relative;
    /*top: 8px;*/
    /*left: 130px;*/
}
#auth-user {
    display: inline-block;
    cursor: pointer;
}

.d-i-b {
    display: inline-block;
}
footer{
    position: fixed;
    bottom: 0;
    min-width: 100vw;
}

footer .justify-content-right{
    justify-content: flex-end!important;
}

footer .justify-content-left{
    justify-content: flex-start!important;
}

.tabs-container [data-pjax-container]{
    width: 100vw;
}

/* .pagination > li > a, .pagination > li > span{ */
    /* border: none;
    color: black;
    padding: 6px 6px; */
/* } */

/* .pagination > li > a:hover, .pagination > li > span:hover{
    background-color: white;
} */

/* .pagination .active-page a{
    color: #4a90e2;
}
.pagination .next a, .pagination .prev a{
    padding-left: 30px;
    padding-right: 30px;
} */

.m-b-6 {
    margin-bottom: 6px;
}
.m-6 {
    margin: 6px;
}

.m-r-6 {
    margin-right: 6px;
}

.text-td {
    display: block;
    width: 700px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}