/*new and improved*/
.close-button-div{
	width:100%; 
	height:10%; 
	display:block; 
	text-align:right; 
	font-size:40px; 
	font-weight:bold;
	/*background: rgb(255,192,203); 
    background: rgba(255,192,203, .7);*/
	background:#222222;
}
.close-button{
	cursor:pointer;
	color:#4e4e4e;
	/*background-color:black;*/
	padding:15px;
	margin:10px;
	display:block;
	float:right;
	position:relative;
	text-decoration: none;
}
.close-button:hover{
	/*background-color:red;*/
	color:#FFF;
}
.random-images-table{/*random images table*/
max-height:100%;
max-width:90%;
border:none;
border-collapse:collapse;
float:right;
/*background:#CCC;*/
vertical-align:middle;
}
.random-images-table img{
	cursor:pointer;
	border: 3px solid rgba(255, 255, 255, 0.5);
}
.random-images-table img:hover{
	cursor:pointer;
	border: 3px solid rgba(255, 255, 255, 0.9);
}
.random-images-table td{
	vertical-align:middle;
	text-align:center;
}
.middle-images-div{
	width:100%; 
	height:710px; 
	background-color:#222222;/*F9C;  */
	border-bottom:60px solid #FFF; 
	position:relative;
	margin-top:auto;
	margin-bottom:auto;
	line-height: 1.25em;
	font-family: 'Open Sans', sans-serif;
/*	top:50%;
	margin:auto auto auto auto;*/
}

.random-imgs-table-div{
	float:right;
	/*background-color:green;*/
	width:35%;/*5% for the border left, check the next code*/
	border-left:2px solid #333;
	height:87%; /*10% goes to the close button div/ 3% for the lovely design seperator*/
	display:inline-block;
}
.clicked-img-div{
	float:left;
	/*background-color:red;*/ 
	width:60%; 
	height:90%;/*10% goes to the close button div*/ 
	display:inline-block; 
	text-align:center; 
	vertical-align:middle;
	position:relative;
}
.clicked-img-div img{/*deal with the clicked img*/
	max-width:80%;
	max-height:100%;/*width or height first to reach get the value*/
	position:absolute;
	top:0;
	bottom:0;
	margin:auto;
	right:0;
	left:0;
	border: 15px solid rgba(255, 255, 255, 0.5);
	
}

.random-images{
	max-width:150px;
	max-height:150px;
}

/*new and improved end*/

/* Demo Page Css 
––––––––––––––––––––––––––––––––––––––––––––––––*/
* {
  margin: 0;
  padding: 0;
}

.pluginHeading {
  margin-bottom: 2em;
  border-left: 3px solid #8B8970;
  padding-left: 1.2em;
}

/* Grid 
––––––––––––––––––––––––––––––––––––––––––––––––*/
#demo1 ul li {
  width: 32.33%;
}
#demo2 ul li {
  width: 24%;
}
#demo3 ul li {
  width: 32.33%;
}
#demo4 ul li {
  width: 24%;
}
#demo5 ul li {
  width: 19%;
}
/* Wapper */
.gPopDemoWapper {
  margin: 0 auto;
  max-width: 100%;
  overflow: hidden;
}

/* Plugin Css
––––––––––––––––––––––––––––––––––––––––––––––––*/
.gPop-gallery {
  display: block;
  margin-left: 1%;
}
.gPop-gallery ul {
  width: 100%;
  list-style-type: none;
  display: inline-block;
}
.gPop-gallery ul li {
  float: left;
  margin-right: 1%;
  margin-bottom: 1em;
  overflow: hidden;
  background-color: white;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.gPop-gallery ul li a{/*to center the triangle*/
	text-align:center;
}
.gPop-gallery ul li img {
  width: 100%;
}
.gPop-gallery ul li div {
  display: none;
}
.gpop-clonedImage {
box-shadow: 1px 1px 10px 5px rgba(115,115,115,0.06);
-webkit-box-shadow: 1px 1px 10px 5px rgba(115,115,115,0.06);
-moz-box-shadow: 1px 1px 10px 5px rgba(115,115,115,0.06);
}
.gpop-clonedImage {/*this image come top of the actual image*/
  float: left;
  position: absolute;
  z-index: 1;
  background-color: white;
  border: 1px solid #ccc;
  padding: 0.3%;
  cursor: pointer;
}
.gpop-clonedImageInvisible {
  display: none;
}
.gpop-clonedImageVisible {
  display: block;
}

/* Media Queries Css
––––––––––––––––––––––––––––––––––––––––––––––––*/
@media screen and (max-width:1000px){
	.clicked-img-div img{
			border: 5px solid rgba(255, 255, 255, 0.5);
	}
	.middle-images-div{
		height:500px;		
	}
	/*img{
		width:auto;
	}*/
	.random-imgs-table-div{
		height:83%;
	}
	.random-images{
		max-width:90px;
		max-height:90px;
	}
	.close-button{
		padding:10px;
	}
}

/* phone */
@media (max-width: 480px) {
.close-button{
	padding:5px;
}
.random-imgs-table-div{
	border-left:none;/*remove the seperator*/
}
.middle-images-div{
	height:400px;
}
.random-images{
	max-width:70px;
	max-height:70px;
}
.clicked-img-div img{
	border: 3px solid rgba(255, 255, 255, 0.5);
}
.gPopDemoWapper {
  margin: 0 20px;
  max-width: 480px;
  float: none;
}

#demo1 ul li {
  width: 100%;
}
#demo2 ul li{
  width: 100%;
}
#demo3 ul li {
  width: 100%;
}
#demo4 ul li {
  width: 100%;
}
#demo5 ul li {
  width: 100%;
}
#demo6 ul li {
  width: 100%;
}
}


