.rg-image-wrapper{
	position:relative;
	padding:20px 30px;
	
	-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:#00000038 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;
	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;
}

.contactt{
	text-align: center;
	margin-bottom: 20px;

}


.contactt a {
    display: inline-block;
    padding: 5px 60px;
    background: rgb(91,168,148);
    background: linear-gradient(
90deg
, rgba(91,168,148,1) 0%, rgba(107,189,167,1) 100%, rgba(113,197,174,1) 100%);
    border-radius: 8px;
    color: white;
    font-size: 20px;
    font-weight: lighter;
    text-decoration: none;
    margin: 5px 5px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    display: block; 
    max-width: 100%;
    margin: 0 auto 10px;
}

.overlay{
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100vh;
	background: rgba(128, 128, 128, 0.5);
	display: none;
}

.popup{
	position: fixed;
	left: 50%;
	top:50%;
	transform: translate(-50% , -50%);
	z-index: 99;
}

.contentBox{
	position: relative;
	width: 544px;
	height: 630px;
	background-color: white;
	display: flex;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.imgBx{
	position: relative;
	width: 522px;
    height: 608px;
	background-color: #fff;
	border: solid 8px #D9D9D9;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	padding: 0px 25px 0px 25px;
}

.imgBx img{
	width: 50%;
	padding-top: 20px;
}

.imgBx h1{
	color: #747474;
	font-size: 28px;
	border-bottom: 5px solid #D9D9D9;
	line-height: 2;
}

.imgBx p{
	color: #747474;
	font-size: 16px;
    font-family: sans-serif;
	text-align: justify;
}

.imgBx span{
	color: #747474;
	font-size: 16px;
    font-family: sans-serif;
	line-height: 3;
	margin-bottom: 20px;
}



.close {
	position: absolute;
	top:40px;
	right: 20px;
	width: 40px;
	height: 40px;
    cursor: pointer; 
	z-index: 99;
	opacity: 1;
	
}

.imgBx a{
	display: block;
	position: relative;
	font-family: Georgia, 'Times New Roman', Times, serifs;
	

}

.imgBx #popone{
	background-color: #37B6FF;
	padding: 12px;
	border-radius: 50px;
	text-align: center;
	text-decoration: none;
	color: white;
	font-size: 20px;
	letter-spacing: 1px;
}

.imgBx #poptwo{
	background-color: #7ED956;
	padding: 12px;
	border-radius: 50px;
	text-align: center;
	text-decoration: none;
	color: white;
	font-size: 20px;
	letter-spacing: 1px;
	margin-top: 15px;
}

a#popone:before {
    content: "";
    position: absolute;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    border: 2px solid #fff;
    border-radius: 50px;
    left: 3px;
    top: 3px;
}

a#poptwo:before {
    content: "";
    position: absolute;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    border: 2px solid #fff;
    border-radius: 50px;
    left: 3px;
    top: 3px;
}

#ii{
	font-size: larger;
	
}



@media screen and (max-width: 600px) {
	
	.contentBox{
		position: relative;
		width: 320px;
		height: 630px;
		background-color: white;
		display: flex;
		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	}
	
	.imgBx{
		position: relative;
		width: 298px;
		height: 608px;
		background-color: #fff;
		border: solid 8px #D9D9D9;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		padding: 0px 25px 0px 25px;
	}

	.imgBx p{
		color: #747474;
		font-size: 16px;
		font-family: sans-serif;
		text-align: justify;
		line-height: 1.5;
	}
	

	.imgBx #popone{
		background-color: #37B6FF;
		padding: 12px;
		border-radius: 50px;
		text-align: center;
		text-decoration: none;
		color: white;
		font-size: 20px;
		letter-spacing: 1px;
		display: none;
	}
	
	.imgBx #poptwo{
		background-color: #7ED956;
		padding: 12px;
		border-radius: 50px;
		text-align: center;
		text-decoration: none;
		color: white;
		font-size: 20px;
		letter-spacing: 1px;
		margin-top: 15px;
		display: none;
	}
	
	a#popone:before {
		content: "";
		position: absolute;
		width: calc(100% - 6px);
		height: calc(100% - 6px);
		border: 2px solid #fff;
		border-radius: 50px;
		left: 3px;
		top: 3px;
		display: none;
	}
	
	a#poptwo:before {
		content: "";
		position: absolute;
		width: calc(100% - 6px);
		height: calc(100% - 6px);
		border: 2px solid #fff;
		border-radius: 50px;
		left: 3px;
		top: 3px;
		display: none;
	}

	.imgBx h1{
		line-height: 1.3;
	}

  }