/* Elastislide Style */
.es-carousel-wrapper {
	background: #9C100F;
	padding:10px 27px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	position:relative;
	-moz-box-shadow:0px 1px 3px rgba(0, 0, 0, 0.9);
	-webkit-box-shadow:0px 1px 3px rgba(0, 0, 0, 0.9);
	box-shadow:0px 1px 3px rgba(0, 0, 0, 0.9);
	position:relative;
	margin-bottom:20px;
}
.es-carousel {
	overflow:hidden;
	background:#000;
}
.es-carousel ul {
	display:none;
	margin:0;
	padding:0;
}
.es-carousel ul li {
	height:100%;
	float:left;
	display:block;
}
.es-carousel ul li a {
	display:block;
	border-style:solid;
	border-color:#222;
	opacity:0.8;
	-webkit-touch-callout:none;
	/* option */
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.es-carousel ul li.selected a {
	border-color:#fff;
	opacity:1.0;
}
.es-carousel ul li a img {
	display:block;
	border:none;
	max-height:100%;
	max-width:100%;
}
.es-nav span {
	position:absolute;
	top:50%;
	left:8px;
	background:transparent url(../images/nav_thumbs.png) no-repeat top left;
	width:14px;
	height:26px;
	margin-top:-13px;
	text-indent:-9000px;
	cursor:pointer;
	opacity:0.8;
}
.es-nav span.es-nav-next {
	right:8px;
	left:auto;
	background-position:top right;
}
.es-nav span:hover {
	opacity:1.0;
}
.rg-image-wrapper {
	position:relative;
	padding:20px 30px;
	background:transparent url(../images/black.png) repeat top left;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	min-height:20px;
}
.rg-image {
	position:relative;
	text-align:center;
	line-height:0px;
}
.rg-image img {
	max-height:100%;
	max-width:100%;
}
.rg-image-nav a {
	position:absolute;
	top:0px;
	left:0px;
	background:#000 url(../images/nav.png) no-repeat -20% 50%;
	width:28px;
	height:100%;
	text-indent:-9000px;
	cursor:pointer;
	opacity:0.3;
	outline:none;
	-moz-border-radius: 10px 0px 0px 10px;
	-webkit-border-radius: 10px 0px 0px 10px;
	border-radius: 10px 0px 0px 10px;
}
.rg-image-nav a.rg-image-nav-next {
	right:0px;
	left:auto;
	background-position:115% 50%;
	-moz-border-radius: 0px 10px 10px 0px;
	-webkit-border-radius: 0px 10px 10px 0px;
	border-radius: 0px 10px 10px 0px;
}
.rg-image-nav a:hover {
	opacity:0.8;
}
.rg-caption {
	text-align:center;
	margin-top:15px;
	position:relative;
}
.rg-caption p {
	font-size:11px;
	letter-spacing:2px;
	font-family: 'Trebuchet MS', 'Myriad Pro', Arial, sans-serif;
	line-height:16px;
	padding:0 15px;
	text-transform:uppercase;
}
.rg-view {
	height:30px;
}
.rg-view a {
	display:block;
	float:right;
	width:16px;
	height:16px;
	margin-right:3px;
	background:#464646 url(../images/views.png) no-repeat top left;
	border:3px solid #464646;
	opacity:0.8;
}
.rg-view a:hover {
	opacity:1.0;
}
.rg-view a.rg-view-full {
	background-position:0px 0px;
}
.rg-view a.rg-view-selected {
	background-color:#6f6f6f;
	border-color:#6f6f6f;
}
.rg-view a.rg-view-thumbs {
	background-position:0px -16px;
}
.rg-loading {
	width:46px;
	height:46px;
	position:absolute;
	top:50%;
	left:50%;
	background:#000 url(../images/ajax-loader.gif) no-repeat center center;
	margin:-23px 0px 0px -23px;
	z-index:100;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	opacity:0.7;
}
/*==============================================================
			CUSTOM GALLERY VIEW
==============================================================*/
.custom_gallery {
	margin:0;
	padding:0;
	list-style-type:none;
	text-align:center;
}
.custom_gallery li {
	float:left;
	display:block;
	text-align:center;
	font-size:11px;
	height:20px;
	margin:0 0 10px 0;
}
.custom_gallery li a {
	color:#7a003f;
	font-family: Verdana, Geneva, sans-serif;
	text-transform:uppercase;
	background:#ffffff;
	padding:5px;
	margin:5px 5px 5px 0;
}
.custom_gallery li a:hover {
	color:#ffffff;
	background:#7a003f;
	text-decoration:none;
}
.custom_gallery_selected a {
	border-bottom:3px solid #7a003f;
	border-top:3px solid #7a003f;
}
#custom_gallery_thumbnails_overflow {
	position:relative;
	width:476px;
	height:81px;
	overflow:hidden;
	margin:auto;
}
#custom_gallery_full_image {
	text-align:center;
	width:100%;
	height:500px;
	margin:0 auto 10px auto;
}
#custom_gallery_full_image img {
	max-width:100%;
	max-height:100%;
}
#custom_gallery_thumbnails {
	position:relative;
	width:600px;
	margin:0 auto;
}
#custom_gallery_thumbnails_ul {
	position:absolute;
	list-style-type:none;
	margin:0;
	padding:0;
}
#custom_gallery_thumbnails_ul li {
	float:left;
	border:1px solid #AD8605;
	width:100px;
	height:75px;
	padding:2px;
	margin:0 13px 0 0;
}
#custom_gallery_thumbnails_ul li.thumbnail_selected {
	border:1px solid #7C0041;
}
#custom_gallery_thumbnails_ul li img {
	max-width:100%;
}
#custom_gallery_prev, #custom_gallery_next {
	position:absolute;
	top:13px;
	background:url(images/gallery-arrows.png);
	width:34px;
	height:46px;
	display:block;
}
#custom_gallery_next {
	right:0;
}
#custom_gallery_prev {
	background-position:-52px 0;
	left:0;
}
/*shine*/
#container {
	width:793px;
	height:498px;
	margin:0 auto;
	background-image:url('/app/themes/d3corp/nggallery/images/back_noise.png');
	background-color:#111;
	margin-top:40px;
}
#container .mainframe {
	width: 500px;
	height:498px;
	float:left
}
#container .thumbnails {
	float:left;
	width:293px;
	height:498px;
	background-repeat:no-repeat;
	background-image:url('/app/themes/d3corp/nggallery/images/total_grid.png');
	background-position:9px 70px;
}
.thumbnailimage {
	float:left;
	padding:7px;
}
.large_thumb {
	float:left;
	position: relative;
	width:64px;
	height:64px;
	padding:0px 10px 0px 0;
}
img.large_thumb_image {
	position:absolute;
	left:5px;
	top:4px;
}
.large_thumb_border {
	width:64px;
	height:64px;
	background:url('/app/themes/d3corp/nggallery/images/thumb_border.png');
	position:absolute;
}
.large_thumb_shine {
	width:54px;
	height:54px;
	background:url('/app/themes/d3corp/nggallery/images/shine.png');
	position:absolute;
	background-position:-150px 0;
	left:5px;
	top:4px;
	background-repeat:no-repeat;
}
.thumb_container {
	width:64px;
	height:64px;
	background-image:url('/app/themes/d3corp/nggallery/images/thumb_holder.png');
}
#largephoto {
	width: 444px;
	height:370px;
	background-color:#333333;
	margin-top:68px;
	margin-left:40px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
}
#largetrans {
	width: 444px;
	height:370px;
	background-image:url('/app/themes/d3corp/nggallery/images/main_bg_trans.png');
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}
.large_image {
	display:none
}
#containertitle {
	position:absolute;
	margin-top:35px;
	margin-left:40px;
	font-family:Arial, Helvetica, sans-serif;
	font-weight:bold;
	text-shadow: 0px 1px 2px #fff;
}
#largecaption {
	text-align:center;
	height:100px;
	width:100%;
	background-color:#111;
	position:absolute;
	width: 444px;
	margin-top:270px;
	-moz-border-radius-bottomleft: 10px;
	-moz-border-radius-bottomright: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
	display:none;
	color:#fff;
	font-size:30px;
	font-family:Arial;
	letter-spacing:-1px;
	font-weight:bold
}
#largecaption .captionContent {
	padding:5px;
}
#largecaption .captionShine {
	background:url('/app/themes/d3corp/nggallery/images/bigshine.png');
	position:absolute;
	width: 444px;
	height: 100px;
	background-position:-150px 0;
	background-repeat:no-repeat;
}
#loader {
	width:150px;
	height:150px;
	background-image:url('/app/themes/d3corp/nggallery/images/loader.gif');
	background-repeat:no-repeat;
	position:absolute;
}
/*ad gallery*/
.ad-gallery {
	width: 600px;
}
.ad-gallery, .ad-gallery * {
	margin: 0;
	padding: 0;
}
.ad-gallery .ad-image-wrapper {
	width: 100%;
	height: 400px;
	margin-bottom: 10px;
	position: relative;
	overflow: hidden;
}
.ad-gallery .ad-image-wrapper .ad-loader {
	position: absolute;
	z-index: 10;
	top: 48%;
	left: 48%;
	border: 1px solid #CCC;
}
.ad-gallery .ad-image-wrapper .ad-next {
	position: absolute;
	right: 0;
	top: 0;
	width: 25%;
	height: 100%;
	cursor: pointer;
	display: block;
	z-index: 200;
}
.ad-gallery .ad-image-wrapper .ad-prev {
	position: absolute;
	left: 0;
	top: 0;
	width: 25%;
	height: 100%;
	cursor: pointer;
	display: block;
	z-index: 200;
}
.ad-gallery .ad-image-wrapper .ad-prev, .ad-gallery .ad-image-wrapper .ad-next {
	/* Or else IE will hide it */
      background: url(/app/themes/d3corp/nggallery/images/trans.gif);
}
.ad-gallery .ad-image-wrapper .ad-prev .ad-prev-image, .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
	background: url(/app/themes/d3corp/nggallery/images/ad_prev.png);
	width: 30px;
	height: 30px;
	display: none;
	position: absolute;
	top: 47%;
	left: 0;
	z-index: 101;
}
.ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
	background: url(/app/themes/d3corp/nggallery/images/ad_next.png);
	width: 30px;
	height: 30px;
	right: 0;
	left: auto;
}
.ad-gallery .ad-image-wrapper .ad-image {
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0;
	z-index: 9;
}
.ad-gallery .ad-image-wrapper .ad-image a img {
	border: 0;
}
.ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
	position: absolute;
	bottom: 0px;
	left: 0px;
	padding: 7px;
	text-align: left;
	width: 100%;
	z-index: 2;
	background: url(/app/themes/d3corp/nggallery/images/opa75.png);
	color: #000;
}
* html .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
	background: none;
 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (enabled=true, sizingMethod=scale, src='opa75.png');
}
.ad-gallery .ad-image-wrapper .ad-image .ad-image-description .ad-description-title {
	display: block;
}
.ad-gallery .ad-controls {
	height: 20px;
}
.ad-gallery .ad-info {
	float: left;
}
.ad-gallery .ad-slideshow-controls {
	float: right;
}
.ad-gallery .ad-slideshow-controls .ad-slideshow-start, .ad-gallery .ad-slideshow-controls .ad-slideshow-stop {
	padding-left: 5px;
	cursor: pointer;
}
.ad-gallery .ad-slideshow-controls .ad-slideshow-countdown {
	padding-left: 5px;
	font-size: 0.9em;
}
.ad-gallery .ad-slideshow-running .ad-slideshow-start {
	cursor: default;
	font-style: italic;
}
.ad-gallery .ad-nav {
	width: 100%;
	position: relative;
}
.ad-gallery .ad-forward, .ad-gallery .ad-back {
	position: absolute;
	top: 0;
	height: 100%;
	z-index: 10;
}
/* IE 6 doesn't like height: 100% */
    * html .ad-gallery .ad-forward, .ad-gallery .ad-back {
	height: 100px;
}
.ad-gallery .ad-back {
	cursor: pointer;
	left: -20px;
	width: 13px;
	display: block;
	background: url(/app/themes/d3corp/nggallery/images/ad_scroll_back.png) 0px 22px no-repeat;
}
.ad-gallery .ad-forward {
	cursor: pointer;
	display: block;
	right: -20px;
	width: 13px;
	background: url(/app/themes/d3corp/nggallery/images/ad_scroll_forward.png) 0px 22px no-repeat;
}
.ad-gallery .ad-nav .ad-thumbs {
	overflow: hidden;
	width: 100%;
}
.ad-gallery .ad-thumbs .ad-thumb-list {
	float: left;
	width: 9000px;
	list-style: none;
}
.ad-gallery .ad-thumbs li {
	float: left;
	padding-right: 5px;
}
.ad-gallery .ad-thumbs li a {
	display: block;
}
.ad-gallery .ad-thumbs li a img {
	border: 3px solid #CCC;
	display: block;
}
.ad-gallery .ad-thumbs li a.ad-active img {
	border: 3px solid #616161;
}
/* Can't do display none, since Opera won't load the images then */
.ad-preloads {
	position: absolute;
	left: -9000px;
	top: -9000px;
}
