/*======================================================================================
								Gallery Page Style										
======================================================================================*/
.tg-gallerymasnory{
	width: 100%;
	float: left;
	padding: 15px 0 0;
}
.tg-optionset{
	width: 100%;
	float: left;
	list-style: none;
	padding: 0 0 30px;
	text-align: left;
	text-transform: none;
	font: 400 14px/17px 'Work Sans', Arial, Helvetica, sans-serif;
}
.tg-optionset li{
	padding: 0 20px;
	position: relative;
	line-height: inherit;
	display: inline-block;
	vertical-align: top;
	list-style-type: none;
}
.tg-optionset li + li:before{
	top: 6px;
	left: -4px;
	width: 4px;
	height: 4px;
	content: '';
	background: #666;
	border-radius: 50%;
	position: absolute;
}
.tg-optionset li a{
	color: #666;
	display: block;
	position: relative;
	padding: 0 4px 10px;
}
.tg-optionset li a:hover,
.tg-optionset li a.tg-active{color: #333;}
.tg-optionset li a:before{
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	content: '';
	position: absolute;
}
.tg-optionset li a:hover:before,
.tg-optionset li a.tg-active:before{width: 100%;}
.tg-galleryfilterable{
	clear: both;
	margin: -5px;
	overflow: hidden;
}

.tg-masonrygrid{
	width: 20%;
	float: left;
	padding: 5px;
}
.tg-masonrygrid figure{
	margin: 0;
	width: 100%;
	float: left;
	background: #333;
	position: relative;
}
.tg-masonrygrid figure img{
	z-index: 1;
	width: 100%;
	height: auto;
	display: block;
	position: relative;
}
.tg-masonrygrid figure:hover img{opacity: 0.50;}
.tg-btnviewimg{
	top: 80%;
	left: 50%;
	z-index: 2;
	color: #fff;
	width: 50px;
	height: 50px;
	display: block;
	background: #333;
	overflow: hidden;
	font-size: 16px;
	font-weight: 700;
	line-height: 48px;
	border-radius: 50%;
	position: absolute;
	text-align: center;
	margin: -25px 0 0 -25px;
	border: 2px solid #c7c7c7;
}
.tg-btnviewimg:hover{color: #fff;}
.tg-masonrygrid figure .tg-btnviewimg{
	opacity: 0;
	visibility: hidden;
}
.tg-masonrygrid figure:hover .tg-btnviewimg{
	top: 50%;
	opacity: 1;
	visibility: visible;
}