.pagination{
    padding: 30px 0;
}

.pagination ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.pagination a{
    display: inline-block;
    padding: 10px 18px;
    color: #222;
}

/* ONE */

.p1 a{
    width: 40px;
    height: 40px;
    line-height: 40px;
    padding: 0;
    text-align: center;
}

.p1 a.is-active{
    background-color: #a78b6b;
    border-radius: 100%;
    color: #fff;
}

/* TWO */

.p2 .is-active li{
    font-weight: bold;
    border-bottom: 3px solid #a78b6b;
}

/* THREE */

.p3 .is-active{
    background-color: #a78b6b;
    color: #fff;
}

/* FOUR */

.p4 a{
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 100%;
    padding: 0;
    text-align: center;
    position: relative;
    border: 3px solid #a78b6b;
}

.p4 .is-active:before{
    content: "";
    width: 30px;
    height: 30px;
    border-radius: 100%;
    background-color: #a78b6b;
    position: absolute;
    top: 5px;
    left: 5px;
}

/* FIVE */

.p5 a{
    width: 30px;
    height: 5px;
    padding: 0;
    margin: auto 5px;
    background-color: rgba(46, 204, 113, 0.4);
}

.p5 .is-active{
    background-color: #a78b6b;
}

/* SIX */

.p6 a{
    width: 30px;
    height: 30px;
    border-radius: 100%;
    padding: 0;
    margin: auto 5px;
    text-align: center;
    position: relative;
    background-color: rgba(46, 204, 113, 0.4);
}

.p6 .is-active{
    background-color: #a78b6b;
}

/* SEVEN */

.p7 a{
    border: 3px solid #a78b6b;
    margin: auto 5px;
    color: #a78b6b;
    font-weight: bold;
}

.p7 .is-active{
    background-color: #a78b6b;
    color: #fff;
}

/* EIGHT */

.p8 a{
    background-color: #a78b6b;
    margin: auto 5px;
    color: #fff;
    font-weight: bold;
    border: 3px solid #a78b6b;
}

.p8 .is-active{
    background-color: #fff;
    color: #a78b6b;
}

/* NINE */

.p9 a{
    width: 30px;
    height: 30px;
    line-height: 30px;
    padding: 0;
    text-align: center;
    margin: auto 5px;
}

.p9 a.is-active{
    border: 3px solid #a78b6b;
    border-radius: 100%;
}

/* TEN */

.p10 a{
    width: 30px;
    height: 30px;
    line-height: 30px;
    padding: 0;
    text-align: center;
    margin: auto 5px;
}

.p10 a.is-active{
    border: 3px solid #a78b6b;
}

/* ELEVEN */

.p11 a{
    background-color: #a78b6b;
    margin: auto 5px;
    color: #fff;
    border: 3px solid #a78b6b;
    position: relative;
}

.p11 a:first-of-type:before{
    content: "";
    position: absolute;
    top: -3px;
    left: -25px;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    border-right: 22px solid #a78b6b;
}

.p11 a:last-of-type:after{
    content: "";
    position: absolute;
    top: -3px;
    right: -25px;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    border-left: 22px solid #a78b6b;
}

.p11 .is-active{
    font-weight: bold;
}

/* TWELVE */

.p12 a:first-of-type, .p12 a:last-of-type, .p12 .is-active{
    background-color: #a78b6b;
    color: #fff;
    font-weight: bold;
}