div#fancy_overlay {
	position:absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	background-color: #333;
}

div#fancy_loading {
	position: absolute;
	height: 40px;
	width: 40px;
	cursor: pointer;
	display: none;
	overflow: hidden;
	background: transparent;
	z-index: 100;
}

div#fancy_loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background: transparent url(/includes/js/jquery/gallery/fancy_progress.png) no-repeat;
}

div#fancy_close {
	position: absolute;
	top: -12px;
	right: -12px;
	height: 30px;
	width: 30px;
	background: transparent url(/includes/js/jquery/gallery/fancy_closebox.png) ;
	cursor: pointer;
	z-index: 100;
	display: none;
}

div#fancy_content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0; 
	margin: 0;
	z-index: 96;
}

#fancy_frame {
	position: relative;
	width: 100%;
	height: 100%;
	display: none;
}

img#fancy_img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border:0; 
	padding: 0; 
	margin: 0;
	z-index: 92;
}

div#fancy_title {
	position: absolute;
	/*
	bottom: -35px;
	*/
	left: 0;
	width: 100%;
	z-index: 100;
	display: none;
}

div#fancy_title table {
	margin: 0 auto;
}

div#fancy_title div {
	color: #FFF;
	font: bold 12px Arial;
	padding-bottom: 2px;
}

div#fancy_title div.caption {
	text-align: center;
	/* ie6 png bugfix */
	position: relative;
}

/* ie6 png bugfix */
div#fancy_title a, 
div#fancy_title input,
div#fancy_title textarea,
div#fancy_title select {
	position: relative;
} 

/*
td#fancy_title_left {
	height: 32px;
	width: 15px;
	background: transparent url(/includes/js/jquery/gallery/fancy_title_left.png) repeat-x;
}

td#fancy_title_main {
	height: 32px;
	background: transparent url(/includes/js/jquery/gallery/fancy_title_main.png) repeat-x;
}

td#fancy_title_right {
	height: 32px;
	width: 15px;
	background: transparent url(/includes/js/jquery/gallery/fancy_title_right.png) repeat-x;
}
*/

table.rounded .tl {
	width: 15px;
	height: 13px;
	background: url(/includes/js/jquery/gallery/fancy_title_tl.png) no-repeat;
}

table.rounded .ml {
	width: 15px;
	background: url(/includes/js/jquery/gallery/fancy_title_ml.png) repeat-y;
}

table.rounded .bl {
	width: 15px;
	height: 17px;
	background: url(/includes/js/jquery/gallery/fancy_title_bl.png) no-repeat;
}

table.rounded .mt {	
	height: 13px;
	background: url(/includes/js/jquery/gallery/fancy_title_mt.png) repeat-x;
}

table.rounded .tr {
	width: 15px;
	height: 13px;
	background: url(/includes/js/jquery/gallery/fancy_title_tr.png) no-repeat;
}

table.rounded .mr {
	width: 15px;
	background: url(/includes/js/jquery/gallery/fancy_title_mr.png) repeat-y;
}

table.rounded .br {
	width: 15px;
	height: 17px;
	background: url(/includes/js/jquery/gallery/fancy_title_br.png) no-repeat;
}

table.rounded .mb {	
	height: 17px;
	background: url(/includes/js/jquery/gallery/fancy_title_mb.png) repeat-x;
}

table.rounded .main {
	background: url(/includes/js/jquery/gallery/fancy_title_main.png) repeat;
}

div#fancy_outer {
	position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    padding: 18px 18px 58px 18px;
    margin: 0;
    /*
    overflow: hidden;
    */    
    overflow: visible;
    background: transparent;
    display: none;
}

div#fancy_inner {
	position: relative;
	width:100%;
	height:100%;
	border: 1px solid #444;
	background: #FFF;
}

a#fancy_left, a#fancy_right {
	position: absolute; 	
	height: 100%; 
	width: 40%; 
	cursor: pointer;	
	background-image: url(/images/blank.gif);	
	z-index: 100; 
	bottom: 10px;
}

a#fancy_left {
	left: 0; 
	outline: 0;
}

a#fancy_right {
	right: 0; 
	outline: 0;
}

a#fancy_left:hover {
	background: transparent url(/includes/js/jquery/gallery/fancy_left.gif) no-repeat 0% 50%;
}

a#fancy_right:hover {
	background: transparent url(/includes/js/jquery/gallery/fancy_right.gif) no-repeat 100% 50%;
}

#fancy_bigIframe, #fancy_freeIframe {
	position:absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
}

div#fancy_bg {
	display: none;
}
	
div.fancy_bg {
	position: absolute;
	display: block;
	z-index: 70;
}

div.fancy_bg_n {
	top: -18px;
	width: 100%;
	height: 18px;
	background: transparent url(/includes/js/jquery/gallery/fancy_shadow_n.png) repeat-x;
}

div.fancy_bg_ne {
	top: -18px;
	right: -13px;
	width: 13px;
	height: 18px;
	background: transparent url(/includes/js/jquery/gallery/fancy_shadow_ne.png) no-repeat;
}

div.fancy_bg_e {
	right: -13px;
	height: 100%;
	width: 13px;
	background: transparent url(/includes/js/jquery/gallery/fancy_shadow_e.png) repeat-y;
}

div.fancy_bg_se {
	bottom: -18px;
	right: -13px;
	width: 13px;
	height: 18px;
	background: transparent url(/includes/js/jquery/gallery/fancy_shadow_se.png) no-repeat;
}

div.fancy_bg_s {
	bottom: -18px;
	width: 100%;
	height: 18px;
	background: transparent url(/includes/js/jquery/gallery/fancy_shadow_s.png) repeat-x;
	_background: #fff; /* im ie6 weißer bg wegen den buttons */
}

/* Slideshow */
div.fancy_bg_s a.slide,
div.fancy_bg_s a.showtags {
	cursor: pointer;
	display: block; 
	float: left;
	width: 37%;
	height: 20px;
	z-index: 103;
	text-decoration: none;
	text-align: left;
}

div.fancy_bg_s a.showtags {
	float: right;
	text-align: right;
}

div.fancy_bg_s a.slide.stop {
	background: url(/images/layout/content/gallery/playstop.png) no-repeat 0 100%;
	/* ie6 */
	_background: #fff url(/images/layout/content/gallery/playstop.gif) no-repeat 0 100%;
}

div.fancy_bg_s a.slide.play {
	background: url(/images/layout/content/gallery/playstop.png) no-repeat 0 0;
	/* ie6 */
	_background: #fff url(/images/layout/content/gallery/playstop.gif) no-repeat 0 0;
}

div.fancy_bg_s a.showtags.on {
	background: url(/images/layout/content/gallery/toggletaggingmode.png) no-repeat 100% 100%;
	/* ie6 */
	_background: #fff url(/images/layout/content/gallery/toggletaggingmode.gif) no-repeat 100% 100%;
}

div.fancy_bg_s a.showtags.off {
	background: url(/images/layout/content/gallery/toggletaggingmode.png) no-repeat 100% 0;
	/* ie6 */
	_background: #fff url(/images/layout/content/gallery/toggletaggingmode.gif) no-repeat 100% 0;
}

div.fancy_bg_sw {
	bottom: -18px;
	left: -13px;
	width: 13px;
	height: 18px;
	background: transparent url(/includes/js/jquery/gallery/fancy_shadow_sw.png) no-repeat;
}

div.fancy_bg_w {
	left: -13px;
	height: 100%;
	width: 13px;
	background: transparent url(/includes/js/jquery/gallery/fancy_shadow_w.png) repeat-y;
}

div.fancy_bg_nw {
	top: -18px;
	left: -13px;
	width: 13px;
	height: 18px;
	background: transparent url(/includes/js/jquery/gallery/fancy_shadow_nw.png) no-repeat;
}

div#fancy_wrap div#gallery_advert_top,
div#fancy_wrap div#gallery_advert_side {
	position: absolute;
	display: none;
	z-index: 10000;	
}

div#fancy_wrap div#gallery_advert_top {
	width: 468px;
	height: 60px;
	background: transparent;
}

div#fancy_wrap div#gallery_advert_side {
	width: 160px;
	height: 600px;
	background: transparent;	
	text-align: left;
}

div#fancy_wrap div#gallery_toolbar {	
	display: none;
	width: 100%;
	text-align: center;
	
	border-top: solid 1px #555;
	margin-top: 5px;
	padding-top: 5px;
}

div#fancy_wrap div#gallery_toolbar a {	
	text-decoration: none;
	outline: 0;
}

div#fancy_wrap div#gallery_comments {	
	width: 100%;
	text-align: left;
	font-weight: normal;
}

div#fancy_inner div#gallery_rating {
	width: 150px;
	height: 40px;
	text-align: left;
	font-weight: normal;	
	position: absolute;
	left: 0;
	top: 0;
	padding: 5px 0 0 0;
	background: transparent;	
	background: url(/images/layout/content/gallery/votes.png) no-repeat top left;
	z-index: 101; 
	color: #fff;
}

* html div#fancy_inner div#gallery_rating {
	background: url(/images/icons/rating/ie6bg.gif) no-repeat top left;
}

div#fancy_inner div#gallery_rating div.votes {
	position: absolute;
	left: 0;
	top: 0; 
	width: 40px;
	height: 25px;
	padding-top: 5px;
	text-transform: uppercase;
	text-align: center;
	line-height: 1em;
}

div#fancy_inner div#gallery_rating div.votes span {
	color: #ccc;
}

* html div#fancy_inner div#gallery_rating div.votes,
* html div#fancy_inner div#gallery_rating div.votes span {
	color: #888;
}

div#fancy_inner div#gallery_rating div.rating {
	position: absolute;
	left: 45px;
	width: 110px;
	height: 40px;
}

/**
 * Tagging gaudi
 */
 
div#fancy_inner div#tagOverlay {
	position: absolute; 	
	z-index: 10001; 	
}

div#fancy_inner div#tagOverlay div.content {
	position: absolute; 
	top: 20px; 
	left: 20px;
	background: transparent url(/images/layout/content/gallery/tag_bg2.png) repeat; 	
	padding: 10px 10px 20px 10px; 
	width: 200px; 
	height: 200px; 
	color: #fff;
	overflow-y: auto;
	/*
	border: solid 1px #fff;
	border-right: 0;
	border-bottom: 0;
	*/
}

div#fancy_inner div#tagInfo {
	position: absolute; 
	z-index: 10000; 	
	bottom: 0; 
	left: 0; 
	width: 100%;	
	padding: 0;
	background-color: #fff; 
	color: #000;	
}

div#fancy_inner div#tagInfo div {
	padding: 0 10px 0 10px;
}

div#fancy_inner div.label {
	position: absolute; 		
	width: auto;
	height: 40px; 
	/*padding: 25px;*/
	padding-right: 19px;
	background: transparent url(/images/layout/content/gallery/tagRight.png) no-repeat top right; 	
	z-index: 10000;
	text-align: center;
}

* html div#fancy_inner div.label {
	padding-right: 10px;
	background: #ee0072;
	opacity: 0.65;
	filter: alpha(opacity=65);
	height: 25px;
}

div#fancy_inner div.label div {	
	background: transparent url(/images/layout/content/gallery/tagLeft.png) no-repeat top left; 	
	/*padding: 0 8px 0 8px; */
	padding: 8px 0 0 30px;
	width: auto;
	height: 32px; /* 40 px - 8px padding top */
	line-height: 20px;	
	text-align: center;
}

* html div#fancy_inner div.label div {
	background: none;
	padding: 2px 0 0 10px;
	height: 18px;
}

div#fancy_inner div#tagOverlay div.label {
	background: transparent url(/images/layout/content/gallery/tag_bg2.png) repeat; 	
	width: 50px;
	left: 0; 
	top: 0;	
}

div#fancy_inner div#tagOverlay div.line {
	border-top: solid 1px #ccc; 
	height: 5px; 
	margin-top: 5px;
}

div#fancy_inner div#tagOverlay label {
	cursor: hand; 
	cursor: pointer;
}

div#fancy_inner div#tagOverlay label.disabled {
	cursor: default; 
	color: #666;
	border: 0;
}

div#fancy_inner div#tagOverlay input.no-user {
	width: 120px; 
	margin-right: 4px;
}

div#fancy_inner div#tagOverlay input.ok {
	width: 20px; 
}

div#fancy_inner div.label a {
	color: #fff;
}

* html div#fancy_inner div.label a {
	color: #fff;
}

div#fancy_inner div.movable {
	cursor: move;
}

div#fancy_inner div.movable a {
	text-decoration: none;
}

div#fancy_inner div.label a.delete {
	margin-left: 5px;
}