%page {
    border: 1px solid #ccc;
    border-radius: 3px;
    color: $colorMainDarken;
    cursor: pointer;
    height: 3rem;
    line-height: 3rem;
    text-align: center;
    width: 3rem;
    padding-bottom: 2.9rem;
    i {
        font-size: 0.8rem;
    }
    &:hover {
        border-color: #397999;
    }
    &.disabled {
        cursor: default;
        opacity: 0.3;
        &:hover {
            border-color: #ccc;
        }
    }
}

.pagination {
    position: relative;
    display: block;
    min-height: 6rem;
    .select {
        margin-left: 4rem;
        position: absolute;
        width: 7rem;
        margin-top: 1rem;
        .sel-val {
            background: #fff;
            border: 1px solid #ccc;
            border-radius: 3px;
            cursor: pointer;
            display: block;
            font-size: 12px;
            height: 30px;
            padding: 6px 10px;
            text-transform: uppercase;
            width: 100%;

        }
        .txt-val {
            width: auto !important;
        }
        .sel-list {
            background: #fff;
            border: 1px solid #ccc;
            border-radius: 0.3rem;
            line-height: 1.4rem;
            margin-top: 0.2rem;
            overflow: hidden;
            padding-left: 0;
            li {
                cursor: pointer;
                height: 3.2rem;
                font-size: 1.2rem;
                overflow: hidden;
                padding: 1rem;
                text-overflow: ellipsis;
                text-transform: uppercase;
                white-space: nowrap;
            }
        }
        i {
            font-size: 0.9rem;
            float: right;
            padding-top: 0.3rem;
            color: $colorMainDarken;
        }
    }
    .label-pagination {
        font-size: 12px;
        font-weight: bold;
        display: inline-block;
        float: left;
        line-height: 3rem;
    }
    .pagination-list {
        float: right;
        height: 3rem;
        line-height: 3rem;
        li {
            cursor: default;
            float: left;
            font-size: 12px;
        }

        .page-to-left {
            @extend %page;
            margin-right: 5px;
            .icon-arrow {
                transform: rotate(-5deg);
            }
        }
        .page-to-right {
            @extend %page;
            margin-left: 5px;
        }

    }
}
