.overlay {position:fixed; z-index:100; top:0; left:0; width:100%; height:100%; background:url(/img/overlay.png)}

.scrollgeneric {line-height:1px; font-size:1px; position:absolute; top:0; left:0}

	.show-gallery .btn-left {position:absolute; top:225px; left:-110px; cursor:pointer; cursor:hand; background:url(/img/gallery-left.png); width:50px; height:50px}
	.show-gallery .btn-right {position:absolute; top:225px; right:-110px;  cursor:pointer; cursor:hand; background:url(/img/gallery-right.png); width:50px; height:50px}
	.g-close {position:fixed; z-index:999; right:5%; top:0; cursor:pointer; cursor:hand; width:50px; height:50px; background:url(/img/gallery-close.png)}
	.show-gallery .count {position:fixed; z-index:999; left:5%; top:0; white-space:nowrap;background-color:#444;color:#999;padding:0 10px;height:45px;}
		.show-gallery .count p	{	margin-top:10px;	}
		.show-gallery  .count .current-count {color:#fff;font-size:20px}

#gallery-photo	{position:fixed; z-index:10000; left:50%; width:660px !important; margin-left:-330px !important; top:40%;margin-top:-250px;}
#gallery-photo img {padding:10px; background-color:#fff;}
	#gallery-photo .big-ph {position:relative; margin:0 auto; width:640px; height:480px; text-align:center}
		#gallery-photo .big-ph .va {height:480px; width:640px}

#showhide	{float:right;width:50px;height: 50px;background:#000 url(/img/gallery-show-hide.gif) bottom left;cursor:pointer; cursor:hand;}
	#gallery-data .hide	{background-position-y:bottom}		
	#gallery-data .show	{background-position-y:top}	
	
#thumbspane	{	z-index:10100;position:fixed;bottom:0;left:0;height:190px;width:100%;	}
	#thumbspane .thumbs-pane	{	background:#000;height:135px;padding-top:5px;	}
	#thumbspane .info {float:left;color:#666;background-color:#000;padding:0 10px;height:50px; }
	#thumbspane .spcr	{	float:left;height:45px;width:2px;	}
		#thumbspane .info h2	{	margin-top:10px;font-size:1.1em;color:#ccc;	}
		#thumbspane .info p	{	font-size:90%;	}
	
		
	#thumbspane .hscrollerbase {background:#3b3b3b url(/img/gallery-scroll-bar.gif) repeat-x 0 0; height:9px}
	#thumbspane .hscrollerbar {height:9px; background:#bebebe url(/img/gallery-scroll-bar.gif) repeat-x 0 -9px; padding:0 9px; cursor:pointer; cursor:hand}
	#thumbspane .hscrollerbarbeg {background:url(/img/gallery-scroll-beg.gif) no-repeat 0 0; height:9px}
	#thumbspane .hscrollerbarend {background:url(/img/gallery-scroll-end.gif) no-repeat 100% 0; height:9px; width:4px}
	#thumbspane .hscrollerbaseend, #thumbspane .hscrollerbasebeg {cursor:pointer; cursor:hand; width:11px !important; height:9px; background:url(/img/gallery-scroll-ar.gif) no-repeat 0 0}
	#thumbspane .hscrollerbaseend {background-position:100% 0}

	#thumbspane .pane	{	position:relative;overflow:auto; overflow-y:hidden;margin:10px 15px 30px;height:120px	}
		
	#thumbspane td {text-align:center; padding:0 1px}
		#thumbspane td a {display:block; padding:7px 0; width:128px; background:url(/img/gallery-here.gif) no-repeat 50% -4px}
		#thumbspane td img {border:1px solid #8f8f8f;background:#000;}
		#thumbspane td a:hover	{	padding:4px 0;	}
		#thumbspane td a:hover img	{	border:4px solid #d22333;	}
			#thumbspane td.selected a:hover img	{	border-color:#fff;	}
		#thumbspane td.selected img {border:4px solid #fff}
			#thumbspane td.selected a {padding:4px 0; background-position:50% 0}
			
			
	.show-gallery .desc-photo {position:relative; padding:11px 120px 0 7px; height:auto !important; height:24px; min-height:24px}
		.show-gallery .desc-photo h2 {font-size:16px}
		.show-gallery .desc-photo p {padding-bottom:0}
		.show-gallery .rakurs {position:relative; float:right; color:#666; font-size:14px; font-weight:bold; right:-105px; margin-left:-105px}



.show-line-gallery {position:relative; margin:0 -17px 0 0px; padding:0px 0 10px 15px}
	.show-line-gallery h2 {color: #8a7577;font-size:2em; font-weight:normal;padding-bottom:0px; padding-left:0}
	.show-line-gallery li {float:left; padding-right:11px}
	.show-line-gallery .hid-o {position:relative; margin-bottom:10px; height:90px}
	.show-line-gallery p {padding:5px 0 0 0; font-weight:bold}
	.show-line-gallery img	{cursor:pointer; cursor:hand}
		.show-line-gallery p a {color:#000 !important;cursor:pointer; cursor:hand}
	.show-line-gallery .f11 {font-weight:normal; clear:both}
		.show-line-gallery .f11 a {display:block; color:#247fe6!important;float:left; clear:both; background-color:#cce0f8; padding:2px 6px 4px; text-decoration:none}
			.show-line-gallery .f11 a span {border-bottom:1px dotted #247fe6}
