.chapters {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.chapters.chapters--loader {
    flex-wrap: wrap;
}

.chapters.chapters--loader .chapter {
    background: #eeeeee;
    margin-bottom: 15px;
    -webkit-animation: chapLoader 5s infinite;
    animation: chapLoader 5s infinite;
}

@keyframes chapLoader {
    0% {
        background-color: #eeeeee;
    }
    50% {
        background-color: #d9d9d9;
    }
    100% {
        background-color: #eeeeee;
    }
}

.chapter {
    width: calc(33.3% - 10px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #ffffff !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: 17px;
    text-align: center;
    border-radius: 2px;
    height: 300px;
    position: relative;
    text-transform: uppercase;
}

.chapter img {
    position: absolute;
    right: 0;
    top: 0;
    border-radius: inherit;
    width: 100%;
    height: 100%;
}

.chapter .chapter__link {
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 3;
}

.chapter .chapter__old:hover {
    color: #cccccc;
}

.chapter .chapter__line {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 20px 10px;
    background: rgba(0, 0, 0, 0.4);
}

.chapter .chapter__old {
    font-size: 17px;
    position: absolute;
    left: 15px;
    bottom: 15px;
    color: #ffffff;
    z-index: 10;
}

.categories {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.categories .category:hover {
    background-color: #efd7c5;
}

.categories .category span {
    float: right;
    font-size: 13px;
}

.categories .category b {
    margin-right: 10px;
}

.categories .category > * {
    display: inline-block;
    vertical-align: middle;
}

.categories .category {
    background-color: #f8e4d5;
    font-size: 15px;
    padding: 0 15px 3px 20px;
    text-transform: uppercase;
    margin: 0 10px 10px 0;
    color: #475669;
    border-radius: 5px;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    position: relative;
    line-height: 45px;
    min-width: 195px;
}

@media screen and (max-width: 1300px) {
    .page .categories .category {
        font-size: 14px;
        padding: 0 15px;
        min-width: auto;
    }
}

@media screen and (max-width: 767px) {
    .page .categories .category {
        font-size: 13px;
        line-height: 35px;
        margin: 0 7px 7px 0;
    }

    .categories .category span {
        font-size: 10px;
    }

    .chapter .fz30 {
        font-size: 20px !important;
    }

    .chapter {
        width: 100%;
        height: 250px;
        font-size: 14px;
        margin: 0 0 5px 0;
    }

    .chapters {
        display: block;
    }
}



