.rg-image-wrapper{
	position:relative;
	padding: 3px;
    margin-bottom: 15px;
    height: 230px;
    border: 1px solid #e4e4e4;
    border-radius: 5px;
}
.rg-image{
	position:relative;
	line-height:0px;
}
.rg-image a{
    display: block;
    position: absolute;
    width: 100%;
    height: 222px;
    top: 0;
    left: 0;
    color: #fff;
    vertical-align: middle;
    line-height: 222px;
    font-size: 7rem;
    opacity: 0;
    transition: ease 0.6s all;
}
.rg-image a:hover{
    opacity: 0.7;
    color: #fff;
}
.rg-image img{
    max-height: 222px;
    max-width: 100%;
    padding: 3px;
}
.rg-image-nav a:focus,
.rg-image-nav a{
	position:absolute;
	top:0px;
	left:0px;
    color: #418bc9;
    font-size: 32px;
	width:28px;
	height:70px;
	cursor:pointer;
	opacity:0.9;
	outline:none;
    text-decoration: none;
}
.rg-image-nav a span{
    width: 28px;
    height: 70px;
    display: block;
    line-height: 70px;
}
.rg-image-nav a.rg-image-nav-next{
	right:-5px;
	left:auto;
}
.rg-image-nav a:hover{
	opacity:1;
    text-decoration: none;
}
.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;
}