
.page:not(:first-child) + div:before {
  color: rgba(255, 255, 255, 0.75);
  left: 20px;
  top: 10px;
  position: absolute;
  text-shadow: 0 0 6px black;
}
.page {
  border: solid 3px white;
  background: no-repeat center top;
  background-size: cover;
  width: 554px;
  height: 600px;
  overflow: hidden;
  background-color: white;
}

.no1 {
  background-image: url("../../../img/bk/TMW1.jpg");
}
.no2 {
  background-image: url("../../../img/bk/TMW2.jpg");
}

/*table on gallery list pg*/

.clearboth { clear: both; }

#gal {  float: left; 
	overflow:auto;
	display: table;
	width: 65%;
	margin-left:220px;}
#gal-bk { float: left; margin-left:140px;}

#gal a {
	display: block;
	text-align: center;
	text-decoration: none;
	font-size: 14px;
	color: #105d39; /*dark green*/
}
#gal a:hover {background-color:#fee5ac; /*light yellow*/}
#gal a.active {color: #c3a61d; /*dark gold*/}


#gal-bk a {
	display: block;
	text-align: center;
	text-decoration: none;
	font-size: 14px;
	color: #105d39; /*dark green*/
}
#gal-bk a:hover {background-color:#fee5ac; /*light yellow*/}
#gal-bk a.active {color: #c3a61d; /*dark gold*/}

.gl {
	float: left;
	padding:15px;
	display:inline;
}

.gr {
	float: right;
	padding:15px;
	display:inline;
}

.g-link {
	padding-top:10px;
	display:block;
	/*width:115px;*/
}
	
.g-img {
	display:inline-block;
	/*padding-left:15px;*/
}


.gl2 {
	float: left;
	padding:15px;
}

.gr2 {
	float: right;
	padding:15px;
}
	
.g-link2 {
	padding-top:10px;
	display:block;
	width:115px;
}
	
.g-img2 {
	display:inline-block;
	padding-left:15px;
}


/*********/


.row
{
      display:flex;
      flex-wrap: wrap;
}

.column
{
      width: 20%;
}





/****** gallery test **********/

@media screen and (max-width: 767px) {
	#gal {width: 90%; margin-left:20px;display:inline-block;}
	#gal-bk {margin-left:20px; text-align:center;display:inline-block; }
	
	
	/*For tablet*/
@media(max-width: 1024px)
{
.column { width: 25%; }
}
 
/*For Mobiles*/
@media(max-width: 767px) {
	.column { width: 38%; flex-direction: column; }
	.row { width: 100% }
}
	
	
	
}