/*
	BOOTSTRAP OVERRIDE RULES
	Please do not add the .fuelux namespace wrapper class.
 */

//Container
//
.progress {
	#gradient > .gradient-bg(@gray96, @gray87);
	height: @progress-bar-height;
	border-radius: @progress-bar-height;
	border: 1px solid @gray87;
	border-bottom-color: @gray74;
	.box-shadow(0 1px 1px fade(@true-black, 15%));
	position: relative;
	margin-bottom: 0;

	&.progress-sm {
		height: @progress-bar-height-sm;
		border-radius: @progress-bar-height-sm;
	}
}

.progress-highlight {
	background-color: transparent;
	background: -webkit-linear-gradient(fade(@true-white, 80%), fade(@true-white, 0%));
	background:    -moz-linear-gradient(fade(@true-white, 80%), fade(@true-white, 0%));
	background:      -o-linear-gradient(fade(@true-white, 80%), fade(@true-white, 0%));
	background:         linear-gradient(fade(@true-white, 80%), fade(@true-white, 0%));
	border-radius: 5px;
	left: 0;
	top: 0;
	width: 100%;
	height: 70%;
	position: absolute;
}

//Progress bar
//
.progress-bar {
	#gradient > .gradient-bg(@blue-sky, @brand-primary-medium);
	.box-shadow(0 0 0 fade(@true-black, 15%));
	//texts on progress bar
	font-size: 9px;
	line-height: 11px;
}

// Striped bars
//
// `.progress-striped .progress-bar` is deprecated as of v3.2.0 in favor of the
// `.progress-bar-striped` class, which you just add to an existing
// `.progress-bar`.
.progress-striped .progress-bar,
.progress-bar-striped {
	#gradient > .striped();
}


// Variations
//

.progress-bar-info {
	.progress-bar-variant(@progress-bar-info-bg-dark, @progress-bar-info-bg-light);
	&.progress-bar-striped {
		#gradient > .striped(@progress-bar-info-bg-dark);
	}
}

.progress-bar-success {
	.progress-bar-variant(@progress-bar-success-bg-dark, @progress-bar-success-bg-light);
	&.progress-bar-striped {
		#gradient > .striped(@progress-bar-success-bg-dark);
	}
}

.progress-bar-warning {
	.progress-bar-variant(@progress-bar-warning-bg-dark, @progress-bar-warning-bg-light);
	&.progress-bar-striped {
		#gradient > .striped(@progress-bar-warning-bg-dark);
	}
}

.progress-bar-danger {
	.progress-bar-variant(@progress-bar-danger-bg-dark, @progress-bar-danger-bg-light);
	&.progress-bar-striped {
		#gradient > .striped(@progress-bar-danger-bg-dark);
	}
}


.progress.active .progress-bar,
.progress-bar.active {
	-webkit-animation: progress-bar-stripes 2s linear infinite;
	-o-animation: progress-bar-stripes 2s linear infinite;
	animation: progress-bar-stripes 2s linear infinite;
}