/* model 1 */
 

.sp-navigation {
    position: relative;
}

ul{border:0; margin:0; padding:0; }


/* WooCommerce fixes */



.post-type-archive-product .sp-navigation {
    clear: both;
    margin: 50px 0;
}
    .post-type-archive-product ul#pagination.model-1 {
        min-height: 58px;
        display: block;
    }

        .post-type-archive-product ul#pagination.model-1 li:nth-child(1) {
            right: initial;
        }



ul#pagination.model-1 {
    min-height: 58px;
    border-radius: 30px;
    margin-top:20px;
    display: block;
    position: relative;
    width: 100%;
    z-index: 999;
    background-image: -moz-linear-gradient( 0deg, rgb(94,69,216) 0%, rgb(2,186,193) 100%);
    background-image: -webkit-linear-gradient( 0deg, rgb(94,69,216) 0%, rgb(2,186,193) 100%);
    background-image: -ms-linear-gradient( 0deg, rgb(94,69,216) 0%, rgb(2,186,193) 100%);
    text-align: center;
    vertical-align: middle;
}

    .sp-pagination-overlay {
        border-radius: 30px;
        position: absolute;
        width: 95%;
        height: 129%;
        background: #e3ecf8;
        display: block;
        content: "";
        z-index: -1;
        opacity: 0.5;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

ul#pagination.model-1 li {
    list-style:none;  
    display:inline-block;
    font-size: 16px;
}

    ul#pagination.model-1 li a,
    ul#pagination.model-1 li.active {
        height: 52px;
        line-height: 52px;
        text-align: center;
        padding: 0 25px;
    }

    ul#pagination.model-1 li.active {
        margin: 3px 0;
        border-radius: 30px;
    }

    ul#pagination.model-1 li:nth-child(1),
    ul#pagination.model-1 li:nth-child(2),
    ul#pagination.model-1 li:nth-last-child(1),
    ul#pagination.model-1 li:nth-last-child(2) {
        position: absolute;
        width: 50px;
        top: 50%;
        transform: translateY(-50%);
    }
    ul#pagination.model-1 li:nth-child(1) {
        left: 0;
        width: auto;
    }

        ul#pagination.model-1 li:nth-child(1) a {
            padding: 0 29px 0 30px;
            line-height: 58px;
        }
        ul#pagination.model-1 li:nth-child(1).active {
            margin: 0;
        }

        ul#pagination.model-1 li:nth-last-child(1).active {
            margin: 0;
        }




    ul#pagination.model-1 li:nth-last-child(1) {
        right: 0;
        width: auto;
    }

        ul#pagination.model-1 li:nth-last-child(1) a {
            padding: 0 33px 0 30px;
            line-height: 58px;
        }

    ul#pagination.model-1 li:nth-child(2) {
        left: 93px;
    }
    ul#pagination.model-1 li:nth-last-child(2) {
        right: 113px;
    }

    ul#pagination.model-1 li:nth-last-child(3) {
        right: 108px;
    }

ul#pagination.model-1  .previous-off {
    border-right: 2px solid #fff;
    height: 58px;
}

    ul#pagination.model-1  .previous-off a
    {
        display:block; 
        
        color:#b1b1b1;
        font-family: 'IcoMoon-Ultimate' !important;
        font-size: 18px;
        font-weight: normal;
        
    }

        ul#pagination.model-1  .previous-off a:before {
            content: "\edc1";
        }


ul#pagination.model-1 .next {
    padding: 0;
    float: right;
    height: 58px;
    border-left: 2px solid #fff
}
    ul#pagination.model-1 .next a {
        display:block;
        color:#b1b1b1;
        font-family: 'IcoMoon-Ultimate' !important;
        font-size: 18px;
        font-weight: normal;
    }
    ul#pagination.model-1 .next a:before {
        content: "\edb9";
    }





ul#pagination.model-1 .next a,
ul#pagination.model-1 .previous a {
    font-weight:normal;

}
ul#pagination.model-1 .active{
    color:#fff;
    font-weight:normal;
    display:inline-block;
    background: rgba(255,255,255,.1);
}


ul#pagination.model-1 a:link,
ul#pagination a:visited {
    color:#166db7;
    display:block;
    text-decoration:none;
    white-space: nowrap;
}
ul#pagination.model-1 a:hover{
    color:#f1004a;
   
}

/* some responsiveness */
/* Custom Media Query (tablets, px(990) and down) */
@media screen and (max-width: 990px ) {
    ul#pagination.model-1 li:nth-child(1) a {
        padding: 0 10px 0 9px;
    }
    ul#pagination.model-1 li:nth-last-child(1) a {
        padding: 0 9px 0 10px;
    }

    ul#pagination.model-1 li:nth-last-child(4) {
        display: none;
    }
    ul#pagination.model-1 li:nth-child(4) {
        display: none;
    }

    .post-type-archive-product ul#pagination.model-1 li:nth-last-child(4) {
        display: inline-block;
    }
    .post-type-archive-product ul#pagination.model-1 li:nth-child(4) {
        display: inline-block;
    }

    ul#pagination.model-1 li a, 
    ul#pagination.model-1 li.active {
        padding: 0 10px;
    }

    ul#pagination.model-1 li:nth-child(2) {
        left: 33px;
    }
    ul#pagination.model-1 li:nth-last-child(2) {
        right: 33px;
    }



    
}


/* Small devices (mobiles, px(768) and down) */
@media (max-width: 768px ) {

    

    
}

/* Custom Media Query (mobiles, px(640) and down) */
@media (max-width: 640px ) {


}


/* Extra Small devices (mobiles, px(480) and down) */
@media (max-width: 480px) {
    .sp-pagination-overlay {
        width: 85%;
    }

    .post-type-archive-product ul#pagination.model-1 li:nth-last-child(4) {
        display: none;
    }
    .post-type-archive-product ul#pagination.model-1 li:nth-child(4) {
        display: none;
    }
    .post-type-archive-product ul#pagination.model-1 li.active {
        display: inline-block;
    }
}

/* Extra Small SMALLER devices (mobiles, px(320) and down) */
@media (max-width: 320px) {
    ul#pagination.model-1 li a, 
    ul#pagination.model-1 li.active {
        padding: 0 7px;
    }
}