.pagination {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.pagination,
.pagination li {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.pagination li {
    width: 40px;
    height: 40px;
    background: #F0F1F3;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin: 0 3px 6px
}

.pagination li a,
.pagination li span {
    color: #666;
    font-size: 16px;
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 40px;
}

.pagination .active {
    background: #D4211C;
    color: #fff
}

.pagination .active a,
.pagination .active span {
    color: #fff
}

.active1{color:#D4211C !important;position: relative;}
.active1::after{
    content: '';
    position: absolute;
    bottom: -8px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: #D4211C;
    border-radius: 4px;
}

.active2{position: relative;}
.active2::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #D4211C;
}

.text-gradient {
    background: linear-gradient(to right, #E8716D, #D4211C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

