﻿.pagination {
    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-direction: normal;
    -moz-box-direction: normal;
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
}

    .pagination .pages {
        background-color: #24272a;
        -webkit-border-radius: 5px;
        -webkit-background-clip: padding-box;
        -moz-border-radius: 5px;
        -moz-background-clip: padding;
        border-radius: 5px;
        background-clip: padding-box;
        color: #ffffff;
        -webkit-box-flex: 0;
        -moz-box-flex: 0;
        -webkit-flex: 0 1 49px;
        -ms-flex: 0 1 49px;
        flex: 0 1 49px;
        line-height: 49px;
        margin: 5px;
        -webkit-transition: all 0.15s ease;
        -moz-transition: all 0.15s ease;
        -o-transition: all 0.15s ease;
        transition: all 0.15s ease;
    }

        .pagination .pages:hover:not(.inactive) {
            background-color: #e5e5e5;
            color: #24272a;
        }

        .pagination .pages.back,
        .pagination .pages.next {
            display: inline-block;
            -webkit-box-flex: 0;
            -moz-box-flex: 0;
            -webkit-flex: 0 1 113px;
            -ms-flex: 0 1 113px;
            flex: 0 1 113px;
            text-transform: uppercase;
        }

@media (max-width: 880px) {
    .pagination .pages.back,
    .pagination .pages.next {
        -webkit-box-flex: 1;
        -moz-box-flex: 1;
        -webkit-flex: 1 1 46%;
        -ms-flex: 1 1 46%;
        flex: 1 1 46%;
        max-width: 50%;
    }
}

@media (min-width: 880px) {
    .pagination .pages:first-child {
        margin: 0 13px 0 0;
    }

    .pagination .pages:last-child {
        margin: 0 0 0 13px;
    }
}

@media (max-width: 880px) {
    .pagination .pages {
        display: none;
    }
}

.pagination .active {
    background-color: #e5e5e5;
    color: #24272a;
}


.highp {
    opacity: .4;
}
