


.badge{
    line-height: 1.5;
    border-radius: $radius;
    // font-size: 12px;
    // font-weight: normal;
    padding: 4px 10px;
	border:1px solid transparent;
    
}

.badge-rounded{
    border-radius: 20px;
    padding:3px 13px ;
}
.badge-circle{
    border-radius: 100px;
}

.badge-secondary {
    color: #fff;
    background-color: #5C3799;
    &:hover{
        color: #fff;
        background-color: #452a73; 
    }
}



.badge-outline-primary{
    border: 1px solid var(--primary);
    color: var(--primary);
}
.badge-outline-secondary{
    border: 1px solid $secondary;
    color: $secondary;
	@at-root [data-theme-version="dark"] & {
		color:$body-color;
	}
}
.badge-outline-success{
    border: 1px solid $success;
    color: $success;
}
.badge-outline-info{
    border: 1px solid $info;
    color: $info;
}
.badge-outline-warning{
    border: 1px solid $warning;
    color: $warning;
}
.badge-outline-danger{
    border: 1px solid $danger;
    color: $danger;
}
.badge-outline-light{
    border: 1px solid $border;
    color: $dark;
	@at-root [data-theme-version="dark"] & {
		color:$body-color;
	}
}
.badge-outline-dark{
    border: 1px solid $dark;
    color: $dark;
	@at-root [data-theme-version="dark"] & {
		color:$body-color;
	}
}



.badge-xs {
    font-size: 10px;
    padding: 0px 5px;
    line-height: 18px;
}
.badge-sm {
	font-size: 11px;
    padding: 5px 8px;
    line-height: 11px;
}
//.badge-md {
//    font-size: 13px;
//    padding: 0px 9px;
//    line-height: 25px;
//}
.badge-lg {
    font-size: 14px;
    padding: 0px 10px;
    line-height: 30px;
}


.badge-xl {
    font-size: 15px;
    padding: 0px 15px;
    line-height: 35px;
}
.badge-default{
    background: #ADB6C7;
}
.badge-success {
    background-color: $success;
    &:hover{
        color: #fff;
        background-color: #229743;
    }
}
.badge-info {
    background-color: $info;
  &:hover{
        color: #fff;
        background-color: #009ff9;
    }
}
.badge-primary {
    background-color: var(--primary);
    &:hover{
        color: #fff;
        background-color: #163dc8;
    }
}
.badge-warning {
    background-color: $warning;
	color:#212529;
    &:hover{
        color: #212529;
        background-color: #f99500;
    }
}
.badge-danger {
    background-color: $danger;
    &:hover{
        color: #fff;
        background-color: #ff1c0e;
    }
}
.badge-dark {
    background-color: $dark;
    &:hover{
        color: #212529;
        background-color: #989898;
    }
}
.badge-light {
    background-color: $light;
	color:#212529;
    &:hover{
        color: #212529;
        background-color: #d3d7e7;
    }
}



.light.badge-default{
    background: #ADB6C7;
}
.light.badge-success {
    background-color: $success-light;
	color:$success;
	@at-root [data-theme-version="dark"] & {
		background-color: $success-opacity;
	}
}
.light.badge-info {
    background-color: $info-light;
	color:$info;
	@at-root [data-theme-version="dark"] & {
		background-color: $info-opacity;
	}
}
.light.badge-primary {
    background-color: var(--rgba-primary-1);
	color:var(--primary);
	@at-root [data-theme-version="dark"] & {
		background-color: var(--rgba-primary-1);
	}
}
.light.badge-secondary {
    background-color: $secondary-light;
	color:$secondary;
	@at-root [data-theme-version="dark"] & {
		background-color: $secondary-opacity;
		color:$body-color;
	}
}
.light.badge-warning {
    background-color: $warning-light;
	color:$warning;
	@at-root [data-theme-version="dark"] & {
		background-color: $warning-opacity;
	}
}
.light.badge-danger {
    background-color: $danger-light;
	color:$danger;
	@at-root [data-theme-version="dark"] & {
		background-color: $danger-opacity;
	}
}
.light.badge-dark {
    background-color: $dark-light;
	color:$dark;
	@at-root [data-theme-version="dark"] & {
		background-color: $dark-opacity;
		color:$body-color;
	}
}





//

.bootstrap-label{
    .label{
        display: inline-block;
        margin-right: 1rem;

        &:last-child{
            margin-right: 0;
        }
    }
}

.badge-demo{

    .badge{
        margin-right: 5px;
        margin-bottom: 5px;

        &:last-child{
            margin-right: 0;
        }
    }
}

.bootstrap-badge-buttons{

    button{
        margin-right: .2rem;
        margin-bottom: 1rem;

        &:last-child{
            margin-right: 0;
        }
    }
}