.pagination .page-item{
	.page-link{	
		&:hover{
			background: var(--primary);
			border-color: var(--primary);
			color:$white;
		}
	}
	&.active .page-link{
		background: var(--primary);
		border-color: var(--primary);
		color:$white;
	}
}
.pagination {
    margin-bottom: 1.25rem;

    .page-item {
		&:first-child{
			.page-link{
				border-radius: 0;
				border-top-#{$ic-pos-left}-radius : $radius;
				border-bottom-#{$ic-pos-left}-radius : $radius;
			}
		}
		&:last-child{
			.page-link{
				border-radius: 0;
				border-top-#{$ic-pos-right}-radius : $radius;
				border-bottom-#{$ic-pos-right}-radius : $radius;
			}
		}

        &.page-indicator .page-link {
            padding: .65rem .8rem;
            font-size: 0.875rem;
        }

        &.page-indicator:hover{
            .page-link{
                color: $dark;
            }
        }

        .page-link {
            text-align: center;
			z-index:1;
            padding: 0.55rem 1rem;
            font-size: 1rem;
			background-color:var(--card);
            color: var(--text-gray);
            border: 0.0625rem solid var(--border);
            &:hover i,span{
                color: $white;
            }

            &:focus{
                outline: 0;
                box-shadow: none;
            }

            &:hover{
                background: var(--primary);
                color: $white;
                border-color: var(--primary);
            }
        }

        &.active .page-link {
            background-color: var(--primary);
            border-color: var(--primary);
            color: $white;
			box-shadow:0 0.625rem 1.25rem 0rem var(--rgba-primary-2);
			@at-root [data-theme-version="dark"] & {
				color:$white;
			}
        }

        .page-link {
            color: var(--text-dark);
			@include transitionMedium;
        }

        &:last-child .page-link{
            margin-#{$ic-pos-right}: 0;
        }
    }
	&.no-bg{
		li:not(.page-indicator):not(.active) .page-link{
		 	background:transparent;
		 	border-color:transparent;
			
		}
		&.pagination-primary{
			li:not(.page-indicator):not(.active):hover .page-link{
				background:var(--primary);
				border-color:var(--primary);
				@at-root [data-theme-version="dark"] & {
					background:var(--primary);
					border-color:var(--primary);
				}
			}
		}
		&.pagination-danger{
			li:not(.page-indicator):not(.active):hover .page-link{
				background:$danger;
				border-color:$danger;
				@at-root [data-theme-version="dark"] & {
					background:$danger;
					border-color:$danger;
				}
			}
		}
		&.pagination-info{
			li:not(.page-indicator):not(.active):hover .page-link{
				background:$info;
				border-color:$info;
				@at-root [data-theme-version="dark"] & {
					background:$info;
					border-color:$info;
				}
			}
		}
		&.pagination-warning{
			li:not(.page-indicator):not(.active):hover .page-link{
				background:$warning;
				border-color:$warning;
				@at-root [data-theme-version="dark"] & {
					background:$warning;
					border-color:$warning;
				}
			}
		}
	}
	&-primary{
		.page-item{
			.page-link{
				background:var(--rgba-primary-1);
				border-color:var(--rgba-primary-1);
				color:var(--primary);
			}
			&:hover,
			&.active{
				.page-link{
					background:var(--primary);
					border-color:var(--primary);
					box-shadow:0 0.625rem 1.25rem 0rem var(--rgba-primary-2);
					
				}
			}
		}
	}
	&-danger{
		.page-item{
			.page-link{
				background:$danger-opacity;
				border-color:$danger-opacity;
				color:$danger;
			}
			&:hover,
			&.active{
				.page-link{
					background:$danger;
					border-color:$danger;
					color: $white;
					box-shadow:0 0.625rem 1.25rem 0rem rgba($danger, 0.2);
					
				}
			}
		}
	}
	&-info{
		.page-item{
			.page-link{
				background:$info-opacity;
				border-color:$info-opacity;
				color:$info;
			}
			&:hover,
			&.active{
				.page-link{
					background:$info;
					border-color:$info;
					color: $white;
					box-shadow:0 0.625rem 1.25rem 0rem rgba($info, 0.2);
				}
			}
		}
	}
	&-warning{
		.page-item{
			.page-link{
				background:$warning-opacity;
				border-color:$warning-opacity;
				color:$warning;
			}
			&:hover,
			&.active{
				.page-link{
					background:$warning;
					border-color:$warning;
					color: $white;
					box-shadow:0 0.625rem 1.25rem 0rem rgba($warning, 0.2);
				}
			}
		}
	}
	
    &-gutter{

        .page-item{
            margin-#{$ic-pos-right}: 0.4375rem;
            
            .page-link{
                border-radius: $radius !important;
            }
        }
    }

    &-circle{
        .page-item{
            margin-#{$ic-pos-right}: 0.4375rem;
            
            .page-link,  .page-link{
                width: 2.5rem;
                height: 2.5rem;
                padding: 0;
                line-height: 2.5rem;
                border-radius: 50% !important;
                padding: 0;
            }
			&.page-indicator{
				.page-link{
					width: 2.5rem;
					border: 1px solid var(--rgba-primary-1);
					border-radius: 22px!important;
					line-height: 1.2rem;
					height: 2.5rem;	
					background:var(--rgba-primary-1);
					color:var(--primary);
					&:hover{
						color:$white;
						background:var(--primary);
					}
				}	
			}
        }
    }

    &.pagination-md{

        .page-item{

            .page-link{
                width: 1.875rem;
                height: 1.875rem;
                line-height: 1.875rem;
                font-size: 0.875rem;
            }
        }
    }

    &.pagination-sm{

        .page-item{

            &.page-indicator .page-link {
                font-size: 0.75rem;
            }

            .page-link{
                padding: 0;
                width: 1.875rem;
                height: 1.875rem;
                line-height: 1.775rem;
                font-size: 0.875rem;
            }
        }
    }

    &.pagination-xs{

        .page-item{

            &.page-indicator .page-link {
                font-size: 0.625rem;
            }

            .page-link{
                padding: 0;
                width: 1.5625rem;
                height: 1.5625rem;
                line-height: 1.4625rem;
                font-size: 0.75rem;
            }
        }
    }

    
}










