/*Fonts
-------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Alata&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Darker+Grotesque:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;400;700&display=swap');

.topline{
    padding:5px 0;
    background: #f0f0f0;
}
.arm-connect a{
    color:#000066;
    padding-right:15px;
    text-decoration: none;
}

.soc-icons a{
    color:#000066;
    margin-left:10px;
}
/*Header*/
header{
    padding:15px 0;
}
header .logo{
    font-family: 'Alata', sans-serif;
    font-size: 34px;
    color:#272056;
    /*padding-left:140px;*/
    display: block;
    min-height: 128px;
    text-decoration: none;
    position: relative;
    /*background: url('../img/logo.png') left center no-repeat;*/
    display: flex;
    align-items: center;
}
header .logo img{
    position: absolute;
    left:0;
}
header .logo .site-title{
    font-size: 24px;
    color: #000066;
    padding-left: 147px;
    display: block;
    line-height: 29px;
    text-transform: uppercase;
}
/*Conters*/
.counters-block{
    margin-top:13px;
}
.counters-block .book,.counters-block .audio{
    height: 50px;
    line-height: 20px;
    padding-top: 5px;
}
.counters-block .book span,.counters-block .audio span{
    font-family: 'Darker Grotesque', sans-serif;
    display:block;
}

.counters-block .book{
    padding-left:52px;
    margin-right:40px;
    background: url("../img/icons/bookcount.png") left center no-repeat;
}
.counters-block .book .count,.counters-block .audio .count{
    font-weight: 700;
    font-size: 26px;
}
.counters-block .audio{
    padding-left:62px;
    background: url("../img/icons/audiocount.png") left center no-repeat;
}
/*TopNav*/
.topnav{
    background: #000066 !important;
}
.topnav .nav-link{
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    color:#fff !important;
    font-size: 20px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px black;
}
/*MainSlider
-------------------------------*/
.main-slider{
    overflow: hidden;
    max-height: 480px;
    position: relative;
}
.main-slider .container{
    z-index: 1;
    position: absolute;
    top: 60%;
    width: auto;
    left: 5%;
    right: 5%;
}
.main-slider .container h1{
    background: rgba(0,0,0,0.35);
    color: #fff;
    padding: 20px;
    text-transform: uppercase;
    font-size: 27px;
}


/*Another books*/
.another-books{
    padding:40px 0;
    background: #e4f6ff;
}
.another-book-cap{
    padding-left:75px;
    background: url("../img/icons/bookcap.png") left center no-repeat;
}
.another-book-cap h1{
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    font-size: 20px;
}
.another-book-cap span{
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    font-size: 17px;
}
.another-books-content{
    margin:40px 0;
}
.another-books-content .book-box{
    text-align: center;
    margin:15px 30px;
}
.another-books-content .book-cover{
    width: 163px;
    height: 200px;
    overflow: hidden;
    box-shadow: #d4d4d4 4px 0px 0;
    border-radius: 20px;
    background: #fff;
}
.another-books-content .book-cover img{
    width:100%;
}
.another-books-content .book-info{
    padding-top:5px;
    width: 163px;
}
.another-books-content .book-info a.name,.another-audio-content .book-info a.name{
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 15px;
    display: block;
    color: #000 !important;
    text-decoration: none;
    text-transform: uppercase;
}
.another-books-content .book-info a.author{
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 17px;
    color: #979797;
}
.author-page{
    margin:40px 0;
}
/*Another audio books*/
.another-audio-books{
    padding:40px 0;
    background: #daf0fb;
}
.another-audio-book-cap{
    padding-left:75px;
    background: url("../img/icons/audiocap.png") left center no-repeat;
}
.another-audio-book-cap h1{
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    font-size: 20px;
}
.another-audio-book-cap span{
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    font-size: 17px;
}
.another-audio-content{
    margin:40px 0;
}
.another-audio-content .book-box{
    text-align: center;
    margin:15px 30px;
    position: relative;
}
.another-audio-content .book-box .audio{
    top: 15px;
    right: -15px;
    width: 30px;
    height: 30px;
    color: #37aa2b;
    line-height: 30px;
    text-align: center;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #37aa2b;
    position: absolute;
}

.another-audio-content .book-cover{
    width: 163px;
    height: 200px;
    overflow: hidden;
    box-shadow: #d4d4d4 4px 0px 0;
    border-radius: 20px;
    background: #fff;
}
.another-audio-content .book-cover img{
    width:100%;
}
.another-audio-content .book-info{
    width: 163px;
}
.another-audio-content .book-info span{
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    display: block;
    color: #000;
    text-transform: uppercase;
}
.another-audio-content .book-info a{
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 17px;
    color: #979797;
}

/*Catalog page
----------------------------*/
/*Another books*/
.catalog-books{
    padding:40px 0;
    /*background: #fbfbfb;*/
}
.catalog-book-cap{
    padding-left:75px;
    background: url("../img/icons/bookcap.png") left top no-repeat;
}
.catalog-book-cap h1{
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    font-size: 20px;
}
.catalog-book-cap span{
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    font-size: 17px;
}
.catalog-books-content{
    margin:40px 0;
}
.catalog-books-content .book-box{
    text-align: center;
    margin:15px 15px;
}
.catalog-books-content .book-cover{
    width: 163px;
    height: 200px;
    overflow: hidden;
    box-shadow: #d4d4d4 4px 0px 0;
    border-radius: 20px;
    background: #fff;
    border:1px solid #ccc;
}
.catalog-books-content .book-cover img{
    width:100%;
}
.catalog-books-content .book-info{
    padding-top:5px;
    width: 163px;
}
.catalog-books-content .book-info a.name,.catalog-audio-content .book-info a.name{
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 15px;
    display: block;
    color: #000 !important;
    text-decoration: none;
    text-transform: uppercase;
}
.catalog-books-content .book-info a.author{
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 17px;
    color: #979797;
}
.author-page{
    margin:40px 0;
}
.catlist{
    margin:20px 0;
}
.catlist li a{
    color:#000066;
    text-decoration: none;
}

/*BreadCrumb*/
.bread-wrap{
    padding: 15px 0;
}
.bread-wrap a{
    color:#000066;
}

/*Book Inner Page*/
.book-inner-page{
    padding:20px 0;
    position: relative;
}
.book-cover-bg{
    width: 100%;
    position: absolute;
}

/*BookInnerPage*/
.book-inner-wrap{
    position: relative;
}
.book-inner-wrap .hrline{
    width:100%;
    height:150px;
    position: absolute;
    background: #fff;
    z-index: 1;
    overflow: hidden;
}

.book-inner-wrap .hrline img{
    width:100%;
    height: 100%;
    object-fit:cover;
    filter: blur(20px) brightness(80%);
    -webkit-filter: blur(20px) brightness(80%);
}
.book-inner-wrap .book-inner-content{
    min-height: 500px;
    position: relative;
    z-index: 2;
}
.book-inner-wrap .book-inner-content h4{
    color:#fff;
}
.book-inner-wrap .cover{
    width: 100%;
    height: 230px;
    margin-top:15px;
    overflow: hidden;
    box-shadow: #d4d4d4 4px 0px 0;
    border-radius: 20px;
    background: #fff;
}
.book-inner-wrap .cover img{
    width: 100%;
    height: 100%;
}
.book-inner-wrap .book-info{
    margin-top:15px;
    margin-bottom:20px;
}

.book-inner-wrap .book-info .book-title{
    font-size:24px;
    color:#fff;
}
.book-inner-wrap .book-info a{
    font-size:1.125rem;
    color:#fff;
}

.book-inner-wrap .book-info .pages span{
    display:block;
    color:#fff;
}
.book-inner-wrap .book-info .book-qr-code{
    width: 122px;
    height: 122px;
    background: #fff;
    border: 1px solid #fff;
}
.book-inner-wrap .book-info .book-qr-code img{
    width:100% !important;
}

.book-inner-wrap .book-info .read-online{
    color: #fff;
    padding: 7px 10px 7px 10px;
    border-radius: 5px;
    display: inline-block;
    background: #37aa2b;
    text-decoration: none;
}
.book-inner-wrap .book-info .book-author{
    font-size: 1.125rem;
    border-radius: 5px;
    color: #fff;
    background: orange;
    text-decoration: none;
    padding: 1px 13px;
    margin: 5px 0;
    display: inline-block;
}
.book-inner-wrap .book-info .book-janr{
    font-size: 1.125rem;
    border-radius: 5px;
    color: #fff;
    background: #1fafd8;
    text-decoration: none;
    padding: 1px 13px;
    margin: 7px 0;
    display: inline-block;
}
.download-wrap{
    position: relative;
}
.download-wrap .download-btn{
    position: absolute;
    right: 15px;
}
.pdfbook{
    border:4px solid #ccc;
    background:#ccc;
}

/*Telegram channel
---------------------------*/
.tgchannel{
    text-align: center;
    padding:15px 0;
    margin:40px 0;
    background:#5dcfe9;
}
.tgchannel h4{
    color:#fff;
    margin-bottom:15px;
}


/*Pages content*/
.pages-content{
    padding:15px 0;
    min-height: 500px;
}

/*News*/
.news-items{
    flex: 1 1 18rem;
    max-width: 30rem;
}
.main-news .news-items > a {
    height: 250px;
}
.main-news .news-items > a img {
    height: 100%;
    object-fit: cover;
}

/*NewsDetail
-------------------*/
.news-detail{
    padding:15px 0;
}
.news-title{
    margin:15px 0;
}

.news-title + img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    object-position: center;
}

/*Footer*/
footer{
    padding:30px 0;
    margin-top:40px;
    background: #2a225d;
}
footer .logo {
    font-family: 'Alata', sans-serif;
    font-size: 14px;
    line-height: 23px;
    text-transform: uppercase;
    color: #ffffff;
    display: flex;
    /*height: 79px;*/
    text-decoration: none;
    position: relative;
    /*background: url(../img/logo-wht.png) left center no-repeat;*/
}
footer .logo img{
    width: 120px;
    height: 120px;
}
footer .bottom-menu .nav-link{
    color:#fff;
}
footer .copy{
    font-size:12px;
    color:#fff;
    text-align: center;
    margin-top:15px;
}

@media screen and (max-width: 500px) {
    header .logo {
        flex-direction: column;
    }
    header .logo img {
        position: static;
    }
    header .logo .site-title {
        padding: 10px 0 0 0;
        font-size: 18px;
        text-align: center;
    }
    .main-slider .container h1 {
        font-size: 18px;
    }
    footer .logo {
        flex-direction: column;
    }
    footer .logo img {
        margin: 0 0 12px 0;
    }
    .another-books-content {
        justify-content: center;
    }
}

@media screen and (max-width: 767.98px) {
    .main-slider .container {
        display: flex;
        min-width: 100%;
        top: 0;
        left: 0;
        right: 0;
        min-height: 100%;
        margin: 0;
        padding: 0;
    }
    .main-slider .container h1 {
        padding: 20px;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100%;
        text-align: center;
        min-width: 100%;
    }
}
