/* ==========================================================================
   1. STANDARD GALLERY & PAGINATION
   ========================================================================== */

.gallery .img {
	height: 120px;
	width: 700px;
	float: left;
	margin: 10px;
	text-align: center;
}

.gallery .img a {
	display: inline-block;
	border: 2px solid #ddd;
	padding: 1px;
}

.gallery .img a:hover {
	border-color: #999;
}

.gallery img {
	border: none;
}

.gallery .pagenavigation {
	height: 50px;
}

.gallery .prevpage a, 
.gallery .prevpage em {
	display: block;
	width: 50px;
	height: 39px;
	float: left;
	margin: 0;
	text-indent: -1000px;
	background: url(../../images/previous.png) transparent no-repeat 0 0;
}

.gallery .nextpage a, 
.gallery .nextpage em {
	display: block;
	width: 50px;
	height: 39px;
	float: left;
	margin: 0 6px 0 0;
	text-indent: -1000px;
	background: url(../../images/next.png) transparent no-repeat 0 0;
}

.gallery .parentlink a {
	display: block;
	width: 50px;
	height: 39px;
	float: left;
	text-indent: -1000px;
	background: url(../../images/uppage.png) transparent no-repeat 0 0;
}

.gallery .pagenavigation a:hover {
	background-position: 0 -40px;
}

.gallery .prevpage em, 
.gallery .nextpage em {
	background-position: 0 -80px;
}

.gallery .pagelinks {
	float: right;
	border-right: 2px solid #666;
}

.gallery .pagelinks a, 
.gallery .pagelinks em {
	margin-top: 6px;
	padding: 0 6px;
	border-left: 2px solid #666;
	text-align: center;
	font: bold 11px verdana; 
	color: #666;
}

.gallery .pagelinks em {
	color: #000;
}

.galleryclear {
	clear: both;
}


/* ==========================================================================
   2. AE-GALLERY (Zentrierter Hauptcontainer & Komponenten)
   ========================================================================== */

/* Hauptcontainer - Durch margin: 0 auto 30px auto mittig ausgerichtet */
.ae-gallery {
	width: 533px;  /* Breite der Galerie / Thumbrow */
	margin: 0 auto 30px auto; /* Oben 0, Links/Rechts Automatisch (Zentrierung), Unten 30px */
}

.ae-gallery, 
.ae-gallery * {
	padding: 0;
}

/* Großer Bildbereich */
.ae-gallery .ae-image-wrapper {
	width: 100%;
	height: 400px;
	margin-bottom: 10px;
	position: relative;
	overflow: hidden;
	border: 2px solid #ddd;
}

.ae-gallery .ae-image-wrapper .ae-loader {
	position: absolute;
	z-index: 10;
	top: 48%;
	left: 48%;
	border: 1px solid #CCC;
}

/* Navigations-Hotspots (Next / Prev) über dem Hauptbild */
.ae-gallery .ae-image-wrapper .ae-next,
.ae-gallery .ae-image-wrapper .ae-prev {
	position: absolute;
	top: 0;
	width: 25%;
	height: 100%;
	cursor: pointer;
	display: block;
	z-index: 200;
	background: url(../ae-gallery/trans.gif); /* Fix für ältere Browser */
}

.ae-gallery .ae-image-wrapper .ae-prev {
	left: 0;
}

.ae-gallery .ae-image-wrapper .ae-next {
	right: 0;
}

/* Pfeil-Icons beim Drüberfahren */
.ae-gallery .ae-image-wrapper .ae-prev .ae-prev-image, 
.ae-gallery .ae-image-wrapper .ae-next .ae-next-image {
	background: url(../ae-gallery/ae_prev.png);
	width: 30px;
	height: 30px;
	display: none;
	position: absolute;
	top: 47%;
	left: 0;
	z-index: 101;
}

.ae-gallery .ae-image-wrapper .ae-next .ae-next-image {
	background: url(../ae-gallery/ae_next.png);
	right: 0;
	left: auto;
}

/* Bild-Anzeige & Beschreibungen */
.ae-gallery .ae-image-wrapper .ae-image {
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0;
	z-index: 9;
}

.ae-gallery .ae-image-wrapper .ae-image a img {
	border: 0;
}

.ae-gallery .ae-image-wrapper .ae-image .ae-image-description {
	position: absolute;
	bottom: 0px;
	left: 0px;
	padding: 7px;
	text-align: left;
	width: 100%;
	z-index: 2;
	background: url(../ae-gallery/opa75.png);
	color: #000;
}

* html .ae-gallery .ae-image-wrapper .ae-image .ae-image-description {
	background: none;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='modules/Gallery/templates/ae-gallery/opa75.png');
}

.ae-gallery .ae-image-wrapper .ae-image .ae-image-description .ae-description-title {
	display: block;
}

/* Galerie-Steuerung (Info & Slideshow) */
.ae-gallery .ae-controls {
	height: 20px;
}

.ae-gallery .ae-info {
	float: left;
}

.ae-gallery .ae-slideshow-controls {
	float: right;
}

.ae-gallery .ae-slideshow-controls .ae-slideshow-start, 
.ae-gallery .ae-slideshow-controls .ae-slideshow-stop {
	padding-left: 5px;
	cursor: pointer;
	display: inline-block;
	text-indent: -500px;
	overflow: hidden;
	width: 14px;
	background: url(../ae-gallery/ae_scroll_forward.png) 0px -3px no-repeat;
}

.ae-gallery .ae-slideshow-controls .ae-slideshow-stop {
	background: url(../ae-gallery/ae_stop.png) 0px -3px no-repeat;
}

.ae-gallery .ae-slideshow-controls .ae-slideshow-countdown {
	padding-left: 5px;
	font-size: 0.9em;
}

.ae-gallery .ae-slideshow-running .ae-slideshow-start {
	cursor: default;
	font-style: italic;
}

/* Vorschaubilder-Navigation (Thumbnails) */
.ae-gallery .ae-nav {
	width: 100%;
	position: relative;
}

.ae-gallery .ae-forward, 
.ae-gallery .ae-back {
	position: absolute;
	top: 0;
	height: 100%;
	z-index: 10;
}

* html .ae-gallery .ae-forward, 
* html .ae-gallery .ae-back {
	height: 100px;
}

.ae-gallery .ae-back {
	cursor: pointer;
	left: -20px;
	width: 13px;
	display: block;
	background: url(../ae-gallery/ae_scroll_back.png) 0px 22px no-repeat;
}

.ae-gallery .ae-forward {
	cursor: pointer;
	display: block;
	right: -20px;
	width: 13px;
	background: url(../ae-gallery/ae_scroll_forward.png) 0px 22px no-repeat;
}

.ae-gallery .ae-nav .ae-thumbs {
	overflow: hidden;
	width: 100%;
}

.ae-gallery .ae-thumbs .ae-thumb-list {
	float: left;
	width: 9000px;
	list-style: none;
}

.ae-gallery .ae-thumbs li {
	float: left;
	padding: 0 5px 0 0 !important;
	margin: 0 !important;
	list-style: none;
}

.ae-gallery .ae-thumbs li a {
	display: block;
}

.ae-gallery .ae-thumbs li a img {
	border: 3px solid #CCC;
	display: block;
}

.ae-gallery .ae-thumbs li a.ae-active img {
	border: 3px solid #616161;
}

/* Hidden Preloader */
.ae-preloads {
	position: absolute;
	left: -9000px;
	top: -9000px;
}