.rg-image-wrapper{
	margin: 0px;
	padding: 0px;
}
@media (min-width: 768px) {
.rg-image{
	height: 90%;
	width: 100%;
	left: 0;
	top: 0;
	position: fixed;
	margin-bottom: 120px;
	margin-top: 0px;
	text-align: center;
}
.rg-image img{
    width: auto;
  height: 100%;
}
#g-description{
	position:absolute;
	bottom:200px;
	left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
	z-index:100;
	color: #FFFFFF;
	padding: 5px 10px;
		    width: fit-content;
				width: 250px;
    text-align: center;
}
}
@media (max-width: 767px) {
.rg-image{
	width: 100%;
	height: 50%;
  overflow: auto;
  margin: auto;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
}
.rg-image img{
   display: block;
	max-width: 100%;
	height: auto;
}
#g-description{
	position:absolute;
		width: 50%;
	bottom:150px;
	left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
	z-index:100;
	border: 2px solid #fff;
	color: #FFFFFF;
		    text-align: center;
		display: none;
	padding: 5px 10px
}
}
.rg-image-nav a{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 50%;
	height: 100%;
	text-indent: -9000px;
	cursor: pointer;
	outline: none;
	z-index: 98;
	background-image: url(../images/ico-back.png);
	background-repeat: no-repeat;
	background-position: left 50%;
}
.rg-image-nav a.rg-image-nav-next{
	right: 0px;
	left: auto;
	background-image: url(../images/ico-next.png);
	background-repeat: no-repeat;
	background-position: right 50%;
}
.rg-image-nav a:hover{
	background-image: url(../images/ico-back-hover.png);
	background-repeat: no-repeat;
	background-position: left 50%;
}
.rg-image-nav a:hover.rg-image-nav-next{
	right: 0px;
	left: auto;
	background-image: url(../images/ico-next-hover.png);
	background-repeat: no-repeat;
	background-position: right 50%;
}
.rg-caption {
	text-align:center;
	margin-top:15px;
	position:relative;
}
.rg-caption p{
	font-size:11px;
	letter-spacing:2px;
	line-height:16px;
	padding:0 15px;
	text-transform:uppercase;
}
.rg-view{
	height: 30px;
	display: none;
}
.rg-view a{
	display:block;
	float:right;
	width:16px;
	height:16px;
	margin-right:3px;
	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:64px;
	height:64px;
	position:absolute;
	top:50%;
	left:50%;
	background:#fff url(../images/ajax-loader.gif) no-repeat center center;
	margin:-23px 0px 0px -23px;
	z-index:100;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
@media (max-width: 767px) {
.gallery-title {
	font-size: 12px;
	font-weight: normal;
	line-height: 1.4;
	-webkit-border-radius: 60px;
	-moz-border-radius: 60px;
	border-radius: 60px;
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 10px;
	text-transform: uppercase;
	background-color: #ffffff;
	position: absolute;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	bottom: 150px;
	z-index: 999;
	display: inline-block;
	width: 70%;
	text-align: center;
}
	.close{
	width:30px;
	height:30px;
	position:absolute;
	top:50px;
	left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
	background:#fff url(../images/close.png) no-repeat center center;
	z-index:100;
}
	.title{
	position:absolute;
		width: 50%;
	bottom:150px;
	left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
	z-index:100;
	/*border: 2px solid #fff;*/
	background-color: #ffffff;
	color: #8D0D4A;
		    text-align: center;
		display: none;
	/*padding: 5px 10px*/
}
}
@media (min-width: 768px) {
.gallery-title {
	font-size: 12px;
	font-weight: normal;
	line-height: 1.4;
	-webkit-border-radius: 60px;
	-moz-border-radius: 60px;
	border-radius: 60px;
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 10px;
	text-transform: uppercase;
	background-color: #ffffff;
	position: absolute;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	bottom: 150px;
	z-index: 999;
	display: inline-block;
	width: 10%;
	text-align: center;
}
	.close{
	width:30px;
	height:30px;
	position:absolute;
	top:50px;
	left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
	background:#fff url(../images/close.png) no-repeat center center;
	z-index:100;
}
	.title{
	position:absolute;
	bottom:150px;
	left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
	z-index:100;
	/*border: 2px solid #fff;*/
	background-color: #ffffff;
	color: #8D0D4A;
	/*padding: 5px 10px;*/
		    width: fit-content;
}
}
