/******** HOME BUTTONS ********/
.home-buttons {
    display: table;
    width: 100%;
    margin-top: 40px;
}

    .home-buttons .home-buttons__item {
        display: table-cell;
        width: 34%;
        padding-right: 20px;
    }

        .home-buttons .home-buttons__item:last-child {
            padding-right: 0px;
        }

    .home-buttons .home-buttons__btn {
        display: block;
        border-radius: 10px;
        text-align: center;
        margin: 0 0;
        padding: 17px 0px 20px 0px;
        width: 100%;
        font-size: 18px;
        font-weight: bold;
    }

        .home-buttons .home-buttons__btn:active, .home-buttons .home-buttons__btn:hover {
            text-decoration: none;
        }

    .home-buttons .home-buttons__subtext {
        display: block;
        font-weight: normal;
        font-size: 12px;
        margin-top: 4px;
    }

@media (max-width: 1023.98px) {
    .home-buttons {
        display: block;
    }

        .home-buttons .home-buttons__item {
            display: block;
            width: unset;
            padding-right: 0;
        }

        .home-buttons .home-buttons__btn {
            margin: 20px auto;
            width: 75%;
        }

        .home-buttons .home-buttons__subtext {
            display: none;
        }
}

/******** HOME SECTION COMMON ********/
.home-section {
    background-color: #ffffff;
    /*line-height: 1.4;*/
    /*padding: 25px 30px 50px 30px;*/
    padding: 12px 14px 16px 14px;
    vertical-align: top;
}

    .home-section:last-child {
        margin-bottom: 95px;
    }

.home-section_border {
    margin-top: 70px;
    margin-bottom: 142px;
    border-top-style: solid;
    border-top-color: #004e9f;
    border-top-width: 14px;
    -webkit-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2);
}

    .home-section_border .home-section_border {
        margin-top: 155px;
    }

.home-section h1 {
    margin-bottom: 25px;
    color: #004e9f;
    font-size: 30px;
    text-align: center;
    /*text-transform: uppercase;*/
}

.home-section__details-link {
    display: block;
    text-align: right;
    margin-top: 30px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #004e9f;
}

/******** HOME SECTION NEWS ********/
.home-section_news {
    margin-top: 75px;
    margin-bottom: 100px;
    padding: 12px 0px 16px 0px;
}

    .home-section_news h1 {
        margin-top: -50px;
        margin-bottom: 25px;
    }

    .home-section_news .home-section__details-link {
        margin-top: -5px;
        margin-bottom: -82px;
    }

    .home-section_news .home-section_news__subscribe-link {
        float: left;
    }

    .home-section_news + .home-section_border {
        margin-top: 180px;
    }


/* HOME SECTION NEWS - MAIN BANNER */
.home-news__main {
    margin-bottom: 30px;
}

    .home-news__main img {
        width: 992px;
    }

    .home-news__main .owl-dots {
        text-align: center;
        margin-top: 10px;
    }

        .home-news__main .owl-dots .owl-dot {
            display: inline-block;
        }

            .home-news__main .owl-dots .owl-dot span {
                background-color: #a2a2a2;
                -webkit-border-radius: 30px;
                -moz-border-radius: 30px;
                border-radius: 30px;
                display: block;
                height: 12px;
                margin: 5px 7px;
                width: 12px;
            }

            .home-news__main .owl-dots .owl-dot.active span {
                background-color: #303030;
            }

            .home-news__main .owl-dots .owl-dot:hover span {
                background-color: #47ceff;
            }

@media (max-width: 1023.98px) {
    .home-news__main {
        margin-left: -2%;
        margin-right: -2%;
        text-align: center;
    }

        .home-news__main img {
            max-width: 100%;
        }
}

/* HOME SECTION NEWS GRID */
.home-news {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: minmax(338px,auto);
    grid-column-gap: 25px;
    grid-row-gap: 30px;
    margin-bottom: 25px;
}

.home-news__item {
    box-sizing: border-box;
    min-width: 314px;
    min-height: 338px;
    overflow-y: hidden;
    position: relative;
    padding: 14px 15px 47px 15px;
    border-top-style: solid;
    border-top-color: #004e9f;
    border-top-width: 9px;
    vertical-align: top;
    -webkit-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

@media (max-width: 1023.98px) {
    .home-news {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767.98px) {
    .home-news {
        grid-template-columns: 1fr;
    }
}

.home-news__item h2 {
    color: #004e9f;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: -1px;
    /*text-transform: uppercase;*/
    margin: 0 0 10px 0;
}

    .home-news__item h2 .home-news__subtitle {
        display: block;
        color: #004e9f;
        text-align: center;
        font-size: 16px;
        font-weight: normal;
        letter-spacing: -1px;
        text-transform: none;
    }

.home-news__item .home-news__img.home-news__img_big {
    display: block;
    text-align: center;
    margin-top: 4px;
    margin-bottom: 5px;
    max-width: 100%;
}

.home-news__item .home-news__img.home-news__img_small {
    /*float: right;
        display: block;
        margin: 0 0 3px 15px;*/
    float: left;
    display: block;
    margin: 4px 15px 0px 0px;
}

.home-news__item .home-news__img img {
    border-top: 1px solid #a2a2a2;
    border-left: 1px solid #a2a2a2;
    border-right: 1px solid #a2a2a2;
    border-bottom: 5px solid #47ceff;
}

.home-news__item .home-news__text {
    font-size: 16px;
    text-align: justify;
}

.home-news__item strong {
    color: #004e9f;
}

.home-news__item .home-news__notes {
    margin-top: 18px;
    font-size: 14px;
    font-style: italic;
    text-align: center;
}

.home-news__item .home-news__props {
    position: absolute;
    bottom: 55px;
}

.home-news__item .home-news__prop {
    margin-top: 18px;
    font-size: 16px;
}

    .home-news__item .home-news__prop ~ .home-news__prop {
        margin-top: 0px;
    }

.home-news__item .home-news__date {
    position: absolute;
    left: 0px;
    bottom: 27px;
    display: block;
    padding: 0px 15px;
    color: #004e9f;
    font-size: 14px;
}

    .home-news__item .home-news__date img {
        position: relative;
        top: 2px;
        margin-right: 8px;
        width: 16px;
        height: 16px;
    }

.home-news__item .home-news__btn-details {
    position: absolute;
    right: 0px;
    bottom: 27px;
    display: block;
    border-radius: 0;
    margin: 0px;
    padding: 2px 12px;
    /*background-color: #004e9f;
        color: #ffffff;*/
    font-weight: normal;
    font-size: 12px;
    /*text-transform: uppercase;*/
}

@media (max-width: 1023.98px) {
    .home-news__item .home-news__props {
        position: relative;
        bottom: unset;
    }
}

.home-section_news .testaccess-carousel {
    position: relative;
    margin-bottom: 20px;
}


    .home-section_news .testaccess-carousel .owl-stage-outer {
        margin: 0px -5px -5px -5px;
        padding: 0px 5px 5px 5px;
    }

    .home-section_news .testaccess-carousel .home-news__item {
        display: block;
        height: 338px;
        margin: 0px;
    }

.home-section_news .testaccess-carousel__prev-link {
    position: absolute;
    top: 147px;
    left: -40px;
    width: 21px;
    display: block;
}

.home-section_news .testaccess-carousel__next-link {
    position: absolute;
    top: 147px;
    right: -40px;
    width: 21px;
    display: block;
}

    .home-section_news .testaccess-carousel__prev-link img,
    .home-section_news .testaccess-carousel__next-link img {
        width: 21px;
        height: 44px;
    }


@media (max-width: 1023.98px) {
    .home-section_news .testaccess-carousel__prev-link {
        display: none;
    }

    .home-section_news .testaccess-carousel__next-link {
        display: none;
    }
}


/******** HOME SECTION NEWBOOKS ********/

.home-section_newbooks {
    /*margin-top: 180px;*/
    margin-bottom: 80px; /*92px;*/

    height: 427px; /*368px;*/
    padding: 20px 0px 25px 0px;
}

    .home-section_newbooks .home-section_newbooks-background {
        /*.home-section_newbooks::before*/
        z-index: -1;
        position: absolute;
        left: 0;
        right: 0;
        height: 243px;
        margin-top: -50px;
        background-color: #47ceff;
        content: '';
    }

    .home-section_newbooks h1 {
        margin-top: -92px;
        margin-bottom: 62px;
    }

    .home-section_newbooks .home-section__details-link {
        margin-right: 0px;
        margin-top: 48px;
        margin-bottom: 0px;
    }

    .home-section_newbooks .home-section__book-carousel {
        position: relative;
        margin-bottom: 20px;
    }

    .home-section_newbooks .home-section__book-carousel-item {
        padding-left: 80px;
        padding-right: 80px;
        /*width: 832px;
        height: 368px;*/
    }

    .home-section_newbooks .home-section__book-photo {
        float: left;
        margin-right: 25px;
        max-width: 275px;
        max-height: 368px;
        border: 1px solid #a2a2a2;
        /*margin-top: 5px;
        margin-bottom: 5px;
        margin-left: 5px;*/
        /*-webkit-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2);
        box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2);*/
    }

    .home-section_newbooks .home-section__book-card {
        max-height: 360px;
        overflow-y: hidden;
    }

    .home-section_newbooks .home-section__book-title {
        font-size: 24px;
        color: #004e9f;
        /*text-transform: uppercase;*/
    }

    .home-section_newbooks .home-section__book-author {
        font-size: 16px;
        color: #004e9f;
        margin-top: 4px;
    }

    .home-section_newbooks .home-section__book-prop {
        margin-top: 23px;
        font-size: 16px;
    }

        .home-section_newbooks .home-section__book-prop ~ .home-section__book-prop {
            margin-top: 3px;
        }

    .home-section_newbooks .home-section__book-note {
        margin-top: 23px;
        font-size: 18px;
        line-height: 21px;
        text-align: justify;
    }

    .home-section_newbooks .home-section__book-prev-link {
        position: absolute;
        z-index: 2;
        top: 0px;
        left: 0px;
        bottom: 0px;
        width: 80px;
        display: block;
        background-color: #ffffff;
        text-align: center;
    }

    .home-section_newbooks .home-section__book-next-link {
        position: absolute;
        z-index: 2;
        top: 0px;
        right: 0px;
        bottom: 40px;
        width: 80px;
        display: block;
        background-color: #ffffff;
        text-align: center;
    }

        .home-section_newbooks .home-section__book-prev-link img,
        .home-section_newbooks .home-section__book-next-link img {
            margin-top: 170px;
            width: 21px;
            height: 44px;
        }

    .home-section_newbooks .home-section-newbooks__btn_details {
        position: absolute;
        right: 0px;
        bottom: 0px;
        display: block;
        border-left: 10px solid #ffffff;
        border-top: 5px solid #ffffff;
        border-radius: 0;
        padding: 2px 10px;
        margin: 0px;
        font-size: 14px;
    }

/*.home-section_newbooks .home-section__book-carousel_transition .home-section__book_next-link {
        bottom: 0px;
    }*/

/*.home-section_newbooks .home-section__book-carousel_transition .home-section-newbooks__btn_details {
        display: none
    }*/

@media (max-width: 767.98px) {
    .home-section_newbooks .home-section__book-carousel-item {
        text-align: center;
    }

    .home-section_newbooks .home-section__book-photo {
        float: none;
        margin-right: 0;
    }

    .home-section_newbooks .home-section__book-next-link {
        bottom: 0px;
    }

    .home-section_newbooks .home-section__book-card,
    .home-section_newbooks .home-section-newbooks__btn_details {
        display: none;
    }
}

@media (max-width: 500px) {
    .home-section_newbooks .home-section__book-carousel-item {
        padding-left: 0px;
        padding-right: 0px;
    }

    .home-section_newbooks .home-section__book-prev-link,
    .home-section_newbooks .home-section__book-next-link {
        display: none;
    }
}



/******** HOME SECTION FAMOUS AUTHORS ********/

.home-authors__item {
    box-sizing: border-box;
    min-width: 170px;
    min-height: 300px;
    overflow-y: hidden;
    position: relative;
    padding: 14px 15px 47px 15px;
    border-top-style: solid;
    border-top-color: #004e9f;
    border-top-width: 9px;
    vertical-align: top;
    -webkit-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

    .home-authors__item .home-authors__img {
        display: block;
        text-align: center;
        margin-top: 4px;
        margin-bottom: 5px;
        max-width: 100%;
        overflow-x: hidden;
    }

        .home-authors__item .home-authors__img img {
            border-top: 1px solid #a2a2a2;
            border-left: 1px solid #a2a2a2;
            border-right: 1px solid #a2a2a2;
            border-bottom: 5px solid #47ceff;
            height: 194px;
        }

    .home-authors__item .home-authors__name {
        font-size: 16px;
        text-align: center;
    }

    .home-authors__item strong {
        color: #004e9f;
    }

.home-section_authors .authors-carousel {
    position: relative;
    margin-bottom: 20px;
}


    .home-section_authors .authors-carousel .owl-stage-outer {
        margin: 0px -5px -5px -5px;
        padding: 0px 5px 5px 5px;
    }

    .home-section_authors .authors-carousel .home-authors__item {
        display: block;
        height: 308px;
        margin: 0px;
    }

.home-section_authors .authors-carousel__prev-link {
    position: absolute;
    top: 132px;
    left: -40px;
    width: 21px;
    display: block;
}

.home-section_authors .authors-carousel__next-link {
    position: absolute;
    top: 132px;
    right: -40px;
    width: 21px;
    display: block;
}

    .home-section_authors .authors-carousel__prev-link img,
    .home-section_authors .authors-carousel__next-link img {
        width: 21px;
        height: 44px;
    }


@media (max-width: 1023.98px) {
    .home-section_authors .authors-carousel__prev-link {
        display: none;
    }

    .home-section_authors .authors-carousel__next-link {
        display: none;
    }
}




/******** HOME SECTION EXHIBITION ********/
.home-section_newbooks + .home-section_exhibition {
    margin-top: 145px;
}

.home-section_exhibition {
    margin-bottom: 95px;
}

    .home-section_exhibition img {
        width: 100%;
        height: 100%;
    }

    .home-section_exhibition .home-section_exhibition-background {
        /*.home-section_exhibition::before*/
        z-index: -1;
        position: absolute;
        left: 0;
        right: 0;
        height: 266px;
        margin-top: 228px;
        background-color: #47ceff;
        content: '';
    }

    .home-section_exhibition h1 {
        margin-top: -80px;
        margin-bottom: 54px;
    }

    .home-section_exhibition .home-section__details-link {
        margin-right: -14px;
        margin-top: 55px;
        margin-bottom: -71px;
    }

@media (max-width:1023.98px) {
    .home-section_exhibition .home-section_exhibition-background {
        display: none;
    }

    .home-section_exhibition {
        margin-bottom: 75px;
    }

        .home-section_exhibition .home-section__details-link {
            margin-top: 38px;
            margin-bottom: -54px;
        }
}
