#contentWrap #content .es-carousel ul { margin: 0px 0px; padding-left: 0px; }
#contentWrap #content .es-carousel ul li { margin: 0px 10px 0px 0px !important; box-shadow:0px 1px 5px #000; }

#rg-gallery { width:100%; margin:0 auto; }


/* Categories Start
#gallery-categories { margin:0px; padding:0px; list-style:none; margin-top:20px; }
#gallery-categories li { float:left; display:inline; width:18%; margin-left:2.5%; border-radius:10px; text-align:center; margin-bottom:30px; padding:10px 0px 10px 0px; font-family: 'Mate SC', Georgia, serif; background:url('../images/trans-brown-40.png'); }
#gallery-categories li:first-child { margin:0px; }
#gallery-categories li:nth-child(6n) { margin:0px; }
#gallery-categories li a { width:100%; overflow:hidden; text-decoration:none; }
#gallery-categories li img { width:90%; height:auto; overflow:hidden; margin:0px 5% 5px 5%; }*/

#gallery-categories { margin:0px; padding:0px; list-style:none; margin-top:20px; }
#gallery-categories li { float:left; display:inline; width:18%; margin-left:2.5%; border-radius:10px; text-align:center; margin-bottom:20px; padding:10px 0px 10px 0px; font-family: 'Mate SC', Georgia, serif; background:url('../images/trans-brown-40.png'); }
#gallery-categories li:first-child { margin:0px; }
#gallery-categories li:nth-child(5n) { margin-left:2.5%; }
#gallery-categories li:nth-child(6n) { margin-left:0px; }
#gallery-categories li a { width:100%; overflow:hidden; text-decoration:none; }
#gallery-categories li img { width:90%; height:auto; overflow:hidden; margin:0px 5% 5px 5%; }

@media only screen and (min-width: 480px) {
	#gallery-categories li { float:left; display:inline; width:49%; margin-left:2%; }
	#gallery-categories li:first-child { margin:0px; }
	#gallery-categories li:nth-child(odd) { margin-left:0px; }
}

@media only screen and (min-width: 768px) {
	#gallery-categories li { float:left; display:inline; width:23.5%; margin-left:2%; }
	#gallery-categories li:nth-child(odd) { margin-left:2%; }
	#gallery-categories li:first-child { margin:0px; }
	#gallery-categories li:nth-child(5n) { margin-left:0px; }
}

@media only screen and (min-width: 1024px) {
	#gallery-categories li { float:left; display:inline; width:18%; margin-left:2.5%; }
	#gallery-categories li:first-child { margin:0px; }
	#gallery-categories li:nth-child(5n) { margin-left:2.5%; }
	#gallery-categories li:nth-child(6n) { margin-left:0px; }
}

/* Elastislide Start */
.es-carousel-wrapper{
	background:#04215e;
	padding:10px 27px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	position:relative;
	position:relative;
	margin-bottom:20px;
}
.es-carousel{
	overflow:hidden;
}
.es-carousel ul{
	display:none;
	margin:0px;
	padding:0px;
}
.es-carousel ul li{
	height:100%;
	float:left;
	display:block;
}
.es-carousel ul li a{
	display:block;
	border-style:solid;
	border-color:#3881ba;
	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;
}
/* Elastislide Done */


/* Responsive Gallery Start */
.rg-image-wrapper{
	position:relative;
	padding:20px 30px;
	background:#ddeaf4;
	-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;
	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;
}
/* Responsive Gallery Done */
