#page-fireplaces-gallery{
	min-height:700px;
}
.gallery{
	color:#333;
}
.gallery .page-label{
	padding-bottom:10px;
}
.gallery-content h3{
	border-bottom: 2px solid #cc0000;
	font-size:18px;
	font-weight:bold;
	padding:8px;
}
.gallery-content .caption{
  letter-spacing:0.5px;
}

.gallery-content .caption p{
  text-align:center;
  width:100%;
  white-space:nowrap;
  overflow:hidden !important;
  text-overflow:ellipsis;
  margin:0; 
}
.gallery-content .thumbnail{
	width:360px;
	height:280px;
  padding:0;
  border:none;
  border-radius:0;	
  box-shadow: 13px 13px 15px 0 #999;
	overflow:hidden;
}   
.gallery-content .thumbnail:hover{
  box-shadow: 3px 3px 5px 0 #999;
}
.gallery-content .thumbnail a{
  text-decoration:none;
}
.gallery-content .thumbnail a img{
   /*width:100%;  100% width will make picture outstretched */
   height:240px;
   	 
}
@media (max-width: 1230px){
	.gallery-content .thumbnail{
		width:293px;
		height:213px;
	}
	.gallery-content .thumbnail a img{
		height:173px;
	}
}	
@media (max-width: 970px){
	.gallery-content .row{
		display: table;
	  margin-left:auto !important;
		margin-right:auto !important;
	}
	.gallery-content .thumbnail{
		width:560px;
		height:480px;
	}
	.gallery-content .thumbnail a img{
		height:442px;
	}
}	

@media (max-width: 640px){
	.gallery-content .row{
		display: table;
	  margin-left:auto !important;
		margin-right:auto !important;
	}
	.gallery-content .thumbnail{
		width:360px;
		height:280px;
	}
	.gallery-content .thumbnail a img{
		height:242px;
	}
}	

@media (max-width: 427px){
	.gallery-content .row{
		display: table;
	  margin-left:auto !important;
		margin-right:auto !important;
	}
	.gallery-content .thumbnail{
		width:260px;
		height:180px;
	}
	.gallery-content .thumbnail a img{
		height:142px;
	}
}	
