.th-pagination {
    margin-bottom: 40px;
    padding-top: 20px;
    ul {
        margin: 0;
        padding: 0;
    }

    li {
        display: inline-block;
        margin: 0 3px;
        list-style-type: none;

        &:last-child {
            margin-right: 0;
        }

        &:first-child {
            margin-left: 0;
        }
    }

    span,
    a {
        display: inline-block;
        text-align: center;
        position: relative;
        border: 1px solid $theme-color;
        color: $theme-color;
        background-color: transparent;
        width: 60px;
        height: 60px;
        line-height: 60px;
        z-index: 1;
        font-size: 18px;
        font-weight: 700;
        border-radius: 50%;

        &.active,
        &:hover {
            color: $white-color;
            background-color: $theme-color;
        }
    }
}
@include md {
    .th-pagination {
        padding-top: 0;
    }
}
@include sm {
    .th-pagination {
        span,
        a {
            width: 40px;
            height: 40px;
            line-height: 40px;
            font-size: 14px;
        }
    }
}
