#wc-module-gallery table tr td {
	text-align: center
}

#wc-module-gallery table tr td img {
	border: 1px solid #CFCFCF;
	padding: 4px
}

a#closeBut {
	background: url(/graphics/closelabel.gif) 0 0 no-repeat !important;
	top: 95% !important;
	right: 4px !important;
	width: 63px !important;
	height: 22px !important
}

div#nyroModalWrapper {
	padding-bottom: 30px
}

h1#nyroModalTitle {
	top: 96.5% !important;
	color: #4A4A4A !important;
	font-weight: normal !important
}

div.wrapperImg div#nyroModalContent div {
	display: none !important
}

div#nyroModalWrapper {
	border-color: #ffffff !important
}


/** Slideshow **/
#layer-ao-gallery-container {
	width: 600px;	
}

#layer-gallery-showcase {
	position: relative;
	height: 400px;
	margin: 10px auto 0 auto;
	background-color: #000;
	text-align: center;
}

.link-ao-gallery-switch-thumbnails {
	padding: 0 0 0 25px;
	background: transparent url(/graphics/gallery/ico-thumbnails.gif) no-repeat left;
}

#ao-gallery-image {
	display: none;
	vertical-align: middle;
}
	
#layer-ao-gallery-nav {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index: 998;	
}

#link-ao-gallery-nav-prev, #link-ao-gallery-nav-next {
	display: block;
	width: 49%;
	height: 100%;
	height: auto;
	cursor: default;
	background: url(/graphics/gallery/1x1.gif);
	z-index: 999;
}

#link-ao-gallery-nav-prev {
	float:left;
	left:0;
}

#link-ao-gallery-nav-next {
	float:right;
	right:0;
}

#layer-gallery-title {
	position: absolute; 
	bottom: 0; 
	left: 0; 
	width: 100%;	
	height: 50px;
	background: #000;	
}
#layer-gallery-title h3 {
	margin: 20px 20px;
	color: #fff;
	font-weight: normal;
	font-size: 1.4em;
	line-height: 15px;
	text-align: left;
}	
#layer-ao-gallery-slideshow-title {
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%;	
	height: 40px;
	background: #000;
	z-index: 99;
}
#layer-ao-gallery-slideshow-title h3 {
	margin: 10px 20px;
	color: #fff;
	font-weight: normal;
	font-size: 1.4em;
}	
#layer-gallery-overlay {
	background: #000;
	width: 100%;
}	
div.scrollable {  
	position:relative;
	overflow:hidden;
	width: 492px;	 
	height: 89px;	
	margin: 0 auto 10px auto;
	padding: 2px 10px 3px 10px;
	background-color: #0C0C0C;
}

#layer-gallery-filmstrip {
	padding: 10px 0;
	position: relative;
	background: #000;
}

#layer-gallery-filmstrip a {
	cursor: pointer;
}

#layer-gallery-filmstrip a.prev, #layer-gallery-filmstrip a.next {
	position: absolute;
	display: block;
	top: 10px;
	width: 38px;
	height: 94px;
}
#layer-gallery-filmstrip a.prev {
	left: 6px;
	background: #0C0C0C url(/graphics/gallery/ico-left.gif) no-repeat left;
}
#layer-gallery-filmstrip a.prev.disabled, #layer-gallery-filmstrip a:hover.prev.disabled {
	background: #0C0C0C url(/graphics/gallery/ico-left-disabled.gif) no-repeat left;
	cursor: default;
}
#layer-gallery-filmstrip a:hover.prev {
	background: #0C0C0C url(/graphics/gallery/ico-left-hover.gif) no-repeat left;
}
#layer-gallery-filmstrip a.next {
	right: 6px;
	background: #0C0C0C url(/graphics/gallery/ico-right.gif) no-repeat right;
}
#layer-gallery-filmstrip a.next.disabled, #layer-gallery-filmstrip a:hover.next.disabled {
	background: #0C0C0C url(/graphics/gallery/ico-right-disabled.gif) no-repeat right;
	cursor: default;	
}
#layer-gallery-filmstrip a:hover.next {
	background: #0C0C0C url(/graphics/gallery/ico-right-hover.gif) no-repeat right;
}
#layer-gallery-thumbnails {	
	position: absolute;
	width: 20000em;	
	clear: both;
}
#layer-gallery-thumbnails div {
	float:left;
	width: 118px;
	height: 80px;
	margin: 0;
	padding: 5px;
	cursor:pointer;
	text-align: center;
	line-height: 80px;
}

#layer-gallery-thumbnails div  a.thumb img {
	margin: 0 !important;
	vertical-align: middle;
}

#layer-gallery-thumbnails div.hover {
	background-color:#444;	
}
#layer-gallery-thumbnails div.active {
	background-color:#444;
	cursor:default;
}

a#link-caption-toggle, a#link-slideshow-toggle {
	display: block;
	float: right;
	margin: 0 10px 0 0;
	padding: 0 0 0 20px;
	color: #fff !important;
	text-decoration: none;	
}

#link-caption-toggle {
	background: url(/graphics/gallery/ico-caption-hide.gif) no-repeat left;
}

#link-slideshow-toggle {
	background: url(/graphics/gallery/ico-play.gif) no-repeat left;
}

a.link-gallery-pagination {
	float: left;
	width: 80px;
	padding: 0 0 0 15px;
	color: #fff !important;	
	text-decoration: none;
}

.layer-ao-gallery-controls {
	height: 15px;
}

#layer-ao-gallery-slideshow img.preload {
	display: none;
}