/*------------------------------------*\
    #PAGINATION
\*------------------------------------*/

.pagination {
    display: block;
    margin: 0;
    border-radius:0;
}

.pagination>li {
    margin-right: 20px;
    display: inline-block;
}
.pagination > li:last-child{
    margin-right: 0;
}
.pagination>li>a,
.pagination>li>span {
    background-color: transparent;
    border-radius: 50%;
    color: $color-body;
    font-family: $font-heading;
    font-size: 16px;
    font-weight: 600;
    border: none;
    text-transform: uppercase;
    padding: 0;
    width: 39px;
    height: 39px;
    line-height: 39px;
    text-align: center;
    display: inline-block;
}

.pagination>.active>a,
.pagination>li:hover>a {
    background-color: $color-secondary;
    color: $color-white;
}

.pagination>li:first-child>a,
.pagination>li:first-child>span,
.pagination>li:last-child>a,
.pagination>li:last-child>span {
    border-radius: 50%;
}


.pagination>li:first-child>a i {
    margin-right: 4px;
}

.pagination>li:last-child>a i {
    margin-left: 4px;
    color: $color-secondary;
}

.pagination>li:last-child>a:hover i {
    color: $color-white;
}

/* Custom, iPhone Retina */

@media only screen and (min-width: 320px) and (max-width: 767px) {
    .pagination>li {
        margin-right: 0;
    }

    .pagination>li>a,
    .pagination>li>span {
        width: 35px;
        height: 35px;
        line-height: 33px;
    }
}