.rg-image-wrapper{
	position:relative;
	padding:10px 48px 0px 48px;
	background:#181818;
	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;
	margin-top:-20%;
	height:100px;
	width:48px;
	text-indent:-9000px;
	cursor:pointer;
	opacity:0.3;
	outline:none;
} 

.rg-image-nav a.rg-image-nav-next{
	right:0px;
	left:auto;
	background-position:265% 50%;
}
.rg-image-nav a:hover{
	opacity:0.75;
}
.rg-caption {
	text-align: center;
	margin: 1px 0px 10px 0px;
	position: relative;
	font-size: 1.2em;
	background-color: #b3b3b3;
	padding: 10px;
	color: #000;
}
.rg-caption-wrapper{
	padding-bottom: 1px;
}
.rg-caption h2 {
	font-size: calc(0.878rem + ((1vw - 0.2px) * 0.4269)) !important;
	font-weight: 600;
	color: #000;
	margin-top:5px;
}
.rg-caption p{
	font-size: calc(0.7rem + ((1vw - 0.2px) * 0.4269)) !important;
	padding:0 15px;
	line-height: 1.2em;
}
.rg-caption button{
	font-size: calc(0.778rem + ((1vw - 7.2px) * 0.4269)) !important;
}
.rg-view{
	height:30px;
	padding-top: 10px;
}
.rg-view a{
	display:block;
	float:right;
	width:16px;
	height:16px;
	margin-right:3px;
	background:#464646 url(../imageGallery/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(../imageGallery/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:#fff;
}
.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: 1;
}
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;
}
