.rg-image-wrapper{
	position:relative;
	padding:10px 20px 0px 20px;
	background:#efefef;
	min-height:20px;
}
.rg-image{
	position:relative;
	text-align:center;
	line-height:0px;
}
.rg-image img{
	max-height:450px;
	max-width:92%;
}
.rg-image-nav a{
	position:absolute;
	top:0px;
	left:0px;
	background:#ccc url(../images/nav.png) no-repeat -20% 50%;
	width:28px;
	height:100%;
	text-indent:-9000px;
	cursor:pointer;
	opacity:0.3;
	outline:none;
}
.rg-image-nav a.rg-image-nav-next{
	right:0px;
	left:auto;
	background-position:115% 50%;
}
.rg-image-nav a:hover{
	opacity:1;
}
.rg-caption {
	text-align:center;
	margin:15px;
	position:relative;
	font-size: 1.2em;
	background-color: #fff;
	padding: 10px;
	color: #000;
}
.rg-caption-wrapper{
	padding-bottom: 1px;
}
.rg-caption h2 {
	font-size: 1.7em;
	color: #000;
	margin-top:5px;
}
.rg-caption p{
	padding:0 15px;
	line-height: 1.2em;
}
.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;
	opacity:0.7;
}

.rg-gallery {
	margin: 15px 0;
}

.rg-gallery ol, .rg-gallery ul {
	list-style:none;
	margin:0;
	padding:0;
}

.rg-img-credits{
	font-size:small;
	text-align:right;
	color:#999;
}
.rg-img-caption {
	font-size: 0.9em;
}
.rg-img-summary{
	display:none;
	font-size: 0.7em;
	text-align: left;
}
.rg-gallery button{
	border:1px solid #fff;
	color:#333;
	font-size:smaller;
}

.rg-image-nav a {
	opacity: 0.5;
}
main #content #middlecolumn section[role="main"] .rg-gallery ul li{
	margin-left:0px;
	margin-top:-15px;
}
main #content #middlecolumn section[role="main"] .rg-gallery ul li:before{
	content:"";
}

main #content #middlecolumn section[role="main"] .rg-gallery ul li a{
	background-image:none;
	padding-right:0px;
}

@media(max-width: 3000px) and (min-width: 1199px) {
  .rg-caption h2 {
    font-size: 1.6em;
  }
  .rg-img-caption {
    font-size: 1.2em;
  }
  .rg-img-summary {
    font-size: 0.9em;
  }
  .rg-img-credits {
    font-size: 0.8em;
  }
}
@media(max-width: 1198px) and (min-width: 992px){
  .rg-caption h2 {
    font-size: 1.4em;
  }
  .rg-img-caption {
    font-size: 1em;
  }
  .rg-img-summary {
    font-size: 0.8em;
  }
  .rg-img-credits {
    font-size: 0.7em;
  }
}
@media(max-width: 991px) {
  .rg-caption h2 {
    font-size: 1.2em;
  }
  .rg-img-caption {
    font-size: 1em;
  }
  .rg-img-summary {
    font-size: 0.8em;
  }
  .rg-img-credits {
    font-size: 0.7em;
  }
}
@media(max-width: 3000px) and (min-width: 1199px) {
  .rg-image img {
    height: 650px;
  }
}
@media(max-width: 1198px) and (min-width: 992px){
  .rg-image img {
    height: 380px;
  }
}
@media(max-width: 991px) and (min-width: 768px){
  .rg-image img {
    height: 400px;
  }
}
@media(max-width: 787px) and (min-width: 576px){
  .rg-image img {
    height: 300px;
  }
}
@media(max-width: 575px) and (min-width: 450px){
  .rg-image img {
    height: 250px;
  }
}
@media(max-width: 449px) and (min-width: 0px){
  .rg-image img {
    height: 150px;
  }
  .es-carousel-wrapper, .rg-view {
    display: none;
  }
}

.es-carousel li a:after {
	content: "" !important;
}
