.rg-image-wrapper {
	position: relative;
}
.rg-image {
	position: relative;
}
.rg-image img {
	max-height: 100%;
	max-width: 100%;
}
.rg-loading {
	width: 46px;
	height: 46px;
	position:absolute;
	top: 50%;
	left: 50%;
	margin: -23px 0 0 -23px;
	background: #000 url(../images/ajax-loader.gif) no-repeat center center;
	z-index: 100;
	opacity: 0.7;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
}

/* Elastislide Style */
.es-carousel-wrapper {
	background: #e5e5e5 url('../images/tail-gallery.jpg') repeat-x;
	padding: 13px 0;
	position: relative;
	border: 1px solid #c2c2c2;
	border-top: none;
	-webkit-box-shadow: 0px 0px 2px #ddd;
	-moz-box-shadow: 0px 0px 2px #ddd;
	box-shadow: 0px 0px 2px #ddd;
}
.es-carousel {
	overflow: hidden;
	padding: 1px 0;
	width: 461px;
	margin: 0 auto;
}
.es-carousel ul {
	display: none;
}
.es-carousel ul li {
	height: 100%;
	float: left;
	display: block;
}
.es-carousel ul li a {
	display: block;
	border: 2px solid #fff;
	opacity:0.8;
	-webkit-touch-callout:none;
	-webkit-box-shadow: 0px 0px 1px #000;
	-moz-box-shadow: 0px 0px 1px #000;
	box-shadow: 0px 0px 1px #000;
}
.es-carousel ul li a:hover, .es-carousel ul li.selected a {
	border-color:#666;opacity:1.0;
}
.es-carousel ul li a img {
	display: block;
	max-height: 100%;
	max-width: 100%;
}
.es-nav span {
	position:absolute;
	top: 50%;
	left: 178px;
	background: transparent url(../images/nav_thumbs.jpg) no-repeat top left;
	width: 20px;
	height: 40px;
	margin-top: -20px;
	text-indent: -999em;
	cursor: pointer;
	opacity: 0.8;
}
.es-nav span.es-nav-next {
	right: 178px;
	left: auto;
	background-position: top right;
}
.es-nav span:hover{
	opacity: 1.0;
}

.rg-caption-wrapper {display:none;}
.rg-view {display:none;}

/* MEDIA */
/*==========================================*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
	.es-nav span {left:100px;}
	.es-nav span.es-nav-next {right:100px;}
}
@media only screen and (max-width: 767px) {
	.rg-image-wrapper {margin-top:20px;}
	.es-carousel {width:221px;}
	
	.es-nav span {left:8px;}
	.es-nav span.es-nav-next {right:8px;}
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
	.es-carousel {width:304px;}
	.es-nav span {left:20px;}
	.es-nav span.es-nav-next {right:20px;}
}