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

// Search Highlight
.search span.highlight {
	background-color: darken($base-background, 10%);
}

// 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%);
	padding: $content-padding;

	a, a:hover, .alert-link, .alert-link:hover {
		right: 0 !important;
		color: darken($warning-color, 25%);
		font-weight: bold;
		text-decoration: none;
	}
}

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

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;
		}
	}
}

.alert-success h4,
.text-success {
	color: $success-color;
}

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;
		}
	}
}

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

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;
		}
	}
}

.alert-info h4,
.text-info {
	color: $info-color;
}

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

// Blog
.blog {
	dl.article-info {
		margin-left: 0;
		dt, dd {
			margin-left: 0;
		}
	}
	ol.nav {
		padding-left: 0;
		.dir-rtl & {
			padding-right: 0;
		}
	}
	.icons .pull-right {
		top: -1rem;
	}
}

// Pull Left & Pull Right
.pull-left, .pull-right {
	max-width: 100%;
}
.dir-rtl {
	.pull-left {
		float: right;
	}
	.pull-right {
		float: left;
	}
}

// Thumbnails
.thumbnails {
    margin-left: -20px;
    list-style: none;
}
.thumbnails:before,
.thumbnails:after {
    display: table;
    content: "";
    line-height: 0;
}
.thumbnails:after {
    clear: both;
}
.row-fluid .thumbnails {
    margin-left: 0;
}
.thumbnails > li {
    float: left;
    margin-bottom: 18px;
    margin-left: 20px;
}

.manager {
    > li {
        float: left !important;
        margin-bottom: 18px !important;
        margin-left: 20px !important;
    }
}

.thumbnail {
    display: block;
    padding: 4px;
    line-height: 18px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.055);
    @include transition(all .2s ease-in-out);
}
a.thumbnail:hover,
a.thumbnail:focus {
    border-color: #08c;
    box-shadow: 0 1px 4px rgba(0,105,214,0.25);
}
.thumbnail > img {
    display: block;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.thumbnail .caption {
    padding: 9px;
    color: #555;
}

// Contact
.contact {
	> h3 {
		display: none;
	}
	.contact-address {
		margin: 0;
	}
}

// Print Mode
.print-mode {
	#g-page-surround {
		padding: $content-padding;
	}
}

// Calendar
.calendar {
	.title {
		border: none;
	}
	thead {
		.name {
			padding: 2px;
		}
		.button {
			color: $black !important;
			font-weight: normal;
			border: 1px solid transparent;
		}
		.hilite {
			border-radius: 0;
			padding: 2px;
		}
	}
}

// Frontend Editing Pagination
.pagination-list {
	list-style: none;
	li {
		display: inline-block;
		margin: 0 0.5rem;
	}
}

// Frontend Image Editor
#imageForm, #uploadForm {
	button {
		padding: 0.25rem 1rem;
		margin: 1rem 0;
		&:hover {
			border: none;
		}
	}
}

// Publishing Tags
.chzn-container .chzn-drop, .chzn-container .chzn-results li.no-results {
	border: none;
	color: $base-text-color;
}
.chzn-container-multi .chzn-choices {
	color: $base-text-color;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 3px;
	width: 250px;
	background-image: none;
	li.search-field input[type="text"] {
		box-shadow: none;
		height: 35px;
		margin: 0;
		padding: 0 5px;
		color: $base-text-color !important;
	}
}
