.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

#flashMessage {
	color: #900;
	margin-bottom: 20px;
}

#revisionNotice {
	color: #660;
	background-color: #FF9;
	text-align: center;
	border-bottom: 1px solid #CC6;
	padding: 5px;
	cursor: default;
	top: 0;
	left: 0;
	width: 100%;
	opacity: 0.85;
	position: fixed;
	z-index: 999;
}

/* Form modules */

#dAForm .dAFormLegend {
	font-size: 0.8em;
	margin: 10px 0;
}

#dAForm div.input {
	margin-bottom: 10px;
}

#dAForm div.input label {
	font-weight: bold;
	display: block;
	padding: 5px 0 2px 0;
}

#dAForm div.input div.checkbox label {
	font-weight: normal;
	display: inline;
}

#dAForm div.error label {
	color: #900;
}

#dAForm div.error input, #dAForm div.error select, #dAForm div.error textarea {
	border: 1px solid #900;
}

#dAForm div.input input, #dAForm div.input select, #dAForm div.input textarea {
	width: 75%;
}

#dAForm div.input div.checkbox input {
	width: auto;
}

/* Gallery modules */

#dAGalleryControls {
	margin-top: 5px;
	height: 23px;
}

#dAGalleryControls a {
	padding: 5px;
}

#dAGallery div.ss-controls {
	float: left;
}

#dAGallery div.nav-controls {
	float: right;
}

#dAGalleryLoading {
	background-image: url('../img/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 100%;
	height: 200px;
}

#dAGallerySlideshow span.image-wrapper {
	float: left;
	padding-bottom: 12px;
}

#dAGallerySlideshow a.advance-link {
	padding: 2px;
	display: block;
	border: 1px solid #ccc;
}

#dAGallerySlideshow img {
	border: none;
	display: block;
}

#dAGallery div.download {
	float: right;
}

#dAGallery div.embox {
	clear: both;
	border: 1px solid #ccc;
	background-color: #eee;
	padding: 12px;
}

#dAGallery div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}

#dAGallery div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}

#dAGalleryThumbs ul {
	clear: both;
	margin: 0;
	padding: 0;
}

#dAGalleryThumbs ul li {
	float: left;
	padding: 0;
	margin: 5px 10px 5px 0;
	list-style: none;
}

#dAGallery a.thumb {
	padding: 2px;
	display: block;
	border: 1px solid #ccc;
}

#dAGalleryThumbs ul li.selected a.thumb {
	background: #000;
}

#dAGallery a.thumb:focus {
	outline: none;
}

#dAGalleryThumbs ul img {
	opacity: 0.8;
	border: none;
	display: block;
}

#dAGallery div.pagination {
	clear: both;
}

/*#dAGallery div.top {
	margin-bottom: 12px;
	height: 11px;
}*/

#dAGallery div.bottom {
	margin-top: 12px;
}

#dAGallery div.pagination a, #dAGallery div.pagination span.current {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #ccc;
}

#dAGallery div.pagination a:hover {
	background-color: #eee;
	text-decoration: none;
}

#dAGallery div.pagination span.current {
	font-weight: bold;
	background-color: #000;
	border-color: #000;
	color: #fff;
}

/* Search */

form.dA-search div {
	display: inline;
}

form.dA-search div.input input {
	font-size: 1em;
	width: 150px;
	margin-right: 10px;
}

div.revisions-search p span.highlight {
	font-weight: bold;
}

div.revisions-search form.dA-search {
	margin-bottom: 20px;
}

#dASearch {
	list-style-type: none;
}

#dASearch li {
	margin: 0 0 10px 0;
	padding: 0;
}

#dASearch li span.highlight {
	background-color: #FFFF66;
}

#dASearch li div.result-title {
	font-size: 1.1em;
}

#dASearch li div.result-url {
	color: #999;
	font-size: 0.9em;
}