
// Tooltips
.tip-wrap {
	color: #fff;
	background-color: #000;
}

// Search Highlight
.search span.highlight {
	background-color: lighten($off-white, 2%);
}

// Images
.img-polaroid {
	background-color: $white;
	border: 1px solid rgba(0, 0, 0, 0.2);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

// System Messages and Alerts
.muted {
	color: #999999;
}

a.muted:hover,
a.muted:focus {
	color: #808080;
}

.alert {
	background-color: lighten($warning-color, 41%);
	border-color: lighten($warning-color, 34%);

	a, a:hover, .alert-link, .alert-link:hover {
		color: darken($warning-color, 10%);
		font-weight: bold;

		&:hover {
			text-decoration: underline;
		}
	}
}

.alert,
.text-warning {
	color: $warning-color;
}

.alert h4 {
	color: $warning-color !important;
}

a.text-warning:hover,
a.text-warning:focus {
	color: darken($warning-color, 5%);
}

.alert-success {
	color: $success-color;
	background-color: lighten($success-color, 50%);
	border-color: lighten($success-color, 42%);

	a, a:hover, .alert-link, .alert-link:hover {
		color: darken($success-color, 10%);
		font-weight: bold;

		&:hover {
			text-decoration: underline;
		}
	}
}

.text-success {
	color: $success-color;
}

.alert-success h4 {
	color: $success-color !important;
}

a.text-success:hover,
a.text-success:focus {
	color: darken($success-color, 5%);
}

.alert-danger,
.alert-error {
	color: $error-color;
	background-color: lighten($error-color, 43%);
	border-color: lighten($error-color, 37%);

	a, a:hover, .alert-link, .alert-link:hover {
		color: darken($error-color, 10%);
		font-weight: bold;

		&:hover {
			text-decoration: underline;
		}
	}
}

.text-error {
	color: $error-color;
}

.alert-danger h4,
.alert-error h4 {
	color: $error-color !important;
}

a.text-error:hover,
a.text-error:focus {
	color: darken($error-color, 5%);
}

.alert-info {
	color: $info-color;
	background-color: lighten($info-color, 47%);
	border-color: lighten($info-color, 40%);

	a, a:hover, .alert-link, .alert-link:hover {
		color: darken($info-color, 10%);
		font-weight: bold;

		&:hover {
			text-decoration: underline;
		}
	}
}

.text-info {
	color: $info-color;
}

.alert-info h4 {
	color: $info-color !important;
}

a.text-info:hover,
a.text-info:focus {
	color: darken($info-color, 5%);
}

// Fix for input box-sizing
.platform-content input {
	box-sizing: inherit;
}

// Fix for form-action
.form-actions {
	background-color: transparent;
	border: none;
	margin: 0;
	padding: 0;
}

// Joomla class for the Search
.element-invisible {
    border: 0 none;
    height: 1px;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}