
/* ### -- -- -- -- -- Community Gallery Styles -- -- -- -- -- ### */

/* 

File: gallery.css 
Copyright 2009-2011 by WoltLab GmbH. 

*/

/* ### -- -- -- -- -- Gallery Layout -- -- -- -- -- ### */

.gallery .layout-2 .first {
	width: auto !important;
}

.gallery .layout-2 .second {
	width: 310px !important;
}

/* ### -- -- -- -- -- Private Elements -- -- -- -- -- ### */

.isPrivate {
	padding: 0 !important;
	position: absolute;
	z-index: 100;
}

/* ### -- -- -- -- -- Overview Thumbnails -- -- -- -- -- ### */

.galleryIndex {
	font-size: 100%;
	list-style-type: none;
	line-height: 1.3;
	margin: 0 0 7px 0;	
	padding: 0;	
}

.galleryIndex .floatedElement {
	text-align: center;
	border: 1px solid transparent;
	margin-bottom: 7px;
	padding: 7px 7px 13px 7px;
	width: 170px;
	height: 200px;
	position: relative;
}

.galleryIndex .floatedElement a span {
	text-decoration: underline;	
}

.galleryIndex .floatedElement a:hover span {
	text-decoration: none;	
}

.galleryIndex .thumbnail {
	margin: 0 auto 13px auto;
	display: block;
	position: relative;
	width: 164px;
	height: 164px;
}

.galleryIndex .thumbnail img.container-4, .galleryIndex .thumbnail .lower { /* affects also for the sidebar and albums! */
	border-width: 1px;
	padding: 7px;
	bottom: 0;
	left: 0;
	position: absolute;
	display: block;
}

.galleryIndex .caption {
	white-space: nowrap;
	clear: both;
	display: block;
	width: 170px;
	overflow: hidden;
}

.galleryIndex .floatedElement p.caption {
	margin: 0;
}

/* ### -- -- -- -- -- Sidebar Album Thumbnails -- -- -- -- -- ### */

.sidebar .galleryIndex {
	margin-top: 3px;
}

.sidebar .galleryIndex .floatedElement {
	margin: 0 0 10px 0;
	padding: 7px 0 13px 0;
	width: 258px;
}

.sidebar .galleryIndex .thumbnail {
	margin: 0 auto 13px auto;
	width: 254px;
	height: 254px;
}

.sidebar .galleryIndex .caption {
	width: 258px !important;
}

.sidebar .galleryIndex a .caption {
	font-size: 1.1em;
}

.sidebar .galleryIndex .floatedElement .rating {
	margin: 0;
	float: none;
}

.sidebar .albumDescription {
	margin: 13px 0;
}

/* ### -- -- -- -- -- Thumbnail Buttons -- -- -- -- -- ### */

.galleryIndex .thumbnailButtons {
	padding: 1px 5px;
	position: absolute;
	right: 0;
	bottom: 56px;
	left: 0;
	height: 20px;
	visibility: hidden;
	opacity: .7;
}

.galleryIndex .thumbnailButtons div {
	padding: 1px 5px 2px 5px;
	display: inline-block;
}

.galleryIndex li:hover .thumbnailButtons {
	visibility: visible;
}

.galleryIndex .thumbnailButtons a {
	margin: 0 3px;
	display: inline;
	float: left;
}

.galleryIndex .thumbnailButtons a img {
	margin-top: 3px !important;
}

.galleryIndex .thumbnailButtons input {
	margin: 5px 7px 0 5px;
	float: left;
}

/* ### -- -- -- -- -- Large Image Display -- -- -- -- -- ### */

.gallery .galleryPhoto {
	text-align: center;
}

.gallery .galleryPhoto img {
	border-width: 1px;
	margin: 10px;
	padding: 10px;
	width: 90%;
}

.gallery .galleryPhotoCaption {
	padding-top: 10px;
	padding-bottom: 5px;
}

#userPhotoEmbed, #userPhotoLink {
	width: 97%;
}

/* ToDo: Widely identical with Blog CSS - make global in a later update */ 

.gallery .galleryImage .messageCount {
	float: right;
}

.gallery .galleryImage .messageNumber {
	text-decoration: none;
	display: block;
	margin-top: 7px;
	padding: 0 4px;
}

.gallery .buttons .messageNumber {
	text-decoration: none;
	padding: 1px 2px;
}

/* ### -- -- -- -- -- Image Edit -- -- -- -- -- ### */

.galleryPhotoEdit img {
	border-width: 1px;
	padding: 7px;
}

/* ### -- -- -- -- -- Album Edit -- -- -- -- -- ### */

.galleryAlbumEdit img {
	border-width: 1px;
	margin-top: 7px;
	margin-bottom: 7px;
	padding: 7px;
}

/* ### -- -- -- -- -- Sidebar -- -- -- -- -- ### */

.gallerySidebar .border > .itemList { /* ToDo: Find a way to globalize this in a later update */
	margin: 0 1px 0 0;
}

/* That one would be a bit tricky! Only works in the Blog. Disabled for now. 
.blogSidebar .contentBox {
	overflow: hidden;
}
*/

.gallerySidebar .buttonBar p {
	margin-top: 0;
}

/* Thumbnail Views */

.sidebar .thumbnailView {
	margin: 0 1px 1px 0;
}

.sidebar .thumbnailView .thumbnail {	
	width: 32px;
	height: 32px;
}

/* Galery Box Category */

.galleryBoxCategories .itemList {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.galleryBoxCategories .itemList li {
	margin-right: 0;
}

/* Gallery Box Image Navigation */

.photoNavigation .container-1 {
	margin-right: 1px;
	margin-bottom: 1px;
}

.photoNavigation li.photoFirst {
	width: 30% !important;
}

.photoNavigation li.photoFirst span.thumbnail {
	width: 48px;
}

.photoNavigation li.photoFirst span.thumbnail img {
	width: 48px;
}

.photoNavigation li.photoPrevious {
	background-image: url("../images/lineArrowLeft.png");
	background-position: center 7px;
	background-repeat: no-repeat;
	width: 30% !important;
}

.photoNavigation li.photoPrevious span.thumbnail {
	width: 48px;
}

.photoNavigation li.photoPrevious span.thumbnail img {
	width: 48px;
}

.photoNavigation li.photoThis {
	width: 40% !important;
}

.photoNavigation li.photoNext {
	background-image: url("../images/lineArrowRight.png");
	background-position: center 7px;
	background-repeat: no-repeat;
	width: 30% !important;
}

.photoNavigation li.photoNext span.thumbnail {
	width: 48px;
}

.photoNavigation li.photoNext span.thumbnail img {
	width: 48px;
}

.photoNavigation li.photoLast {
	width: 30% !important;
}

.photoNavigation li.photoLast span.thumbnail {
	width: 48px;
}

.photoNavigation li.photoLast span.thumbnail img {
	width: 48px;
}

/* ### -- -- -- -- -- Balloons -- -- -- -- -- ### */

/* ToDo: Put this in one of the global css files in a later update! */ 

.balloon {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 120;
}

.balloonContent {
	text-align: center;
	padding: 5px;
}

.balloonContent p {
	line-height: 1;
	margin-top: 3px;
}

/* The balloon-arrow works only with CSS 3 available! It is hidden in standard therefore */
.balloonArrow {
	border-top-width: 0 !important;
	border-left-width: 0 !important;
	margin: 0 auto;
	height: 10px;
	width: 10px;
	z-index: -1;
}

/* ### -- -- -- -- -- EOF -- -- -- -- -- ### */
