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

//alerts
//
//basic styles are described in bootstrap-css/helper-classes.less

// Dismissible alerts
//
// Adjust close button's positioning.

.alert-icon-size() {
	width: 21px;
	height: 21px;
	margin-bottom: -1px;
}
.alert-before() {


	&:before {
		.fuelux-icon;
		.fuelux-icon-warning;
		content: '';
		position: absolute;
		left: 4px;
		top: 4px;
		.alert-icon-size;
	}
}



.alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0.//interesting!
.alert-dismissible {

	// Adjust close link position
	.close {
		top: -4px;
		right: -13px;

		&:hover, &:focus {
			color: @brand-primary-dark;
		}
	}
}

.alert {
	font-size: 12px;
	color: @gray13; // overrides BS with black
	border: 1px solid @gray60;
	padding: 6px 21px 6px 34px;
	position: relative;

	.alert-before;

	strong {
		font-weight: bold;
	}

	a {
		font-weight: normal;
		color: @brand-primary-dark;
		cursor: pointer;
	}

	small {
		color: @gray27;
		font-size: 11px;
		font-weight: normal;
	}

	//remove icon
	span.form-control-feedback {
		color: @gray74;
		top: 3px;
		right: 2px;
		cursor: pointer;

		&:hover, &.hover{
			color: @brand-primary-dark;
		}
	}

	.alert-link {
		font-weight: normal;
		color: @brand-primary-dark;
		cursor: pointer;
	}

	&-block {
		&:before {
			top: 13px;
		}
	}
	&-success {
		background-color: @brand-success-light;
		border-color: @brand-success-medium;
		&:before {
			.fuelux-icon-success;
			.alert-icon-size;
		}

	}
	&-warning {
		background-color:  @brand-warning-light;
		border-color: @brand-warning-medium;
		&:before {
			.fuelux-icon-warning;
			.alert-icon-size;
		}

	}
	&-danger {
		background-color: @brand-danger-light;
		border-color: @brand-danger-medium;
		&:before {
			.fuelux-icon-danger;
			.alert-icon-size;
		}

	}
	&-info {
		background-color: @brand-info-light;
		border-color: @brand-info-medium;
		&:before {
			.fuelux-icon-info;
			.alert-icon-size;
		}

	}
}

