﻿.gallery-title{
	float:left;
	display:block;
	width:100%;
	font-size:28px;
	color:#333;
	text-align:center;
	display:block;
	margin-top:15px;
}

.gallery-title:after {
	margin:0 auto;
    height: 5px;
    display: block;
    width: 100px;
    content: '';
}

/* ---- button ---- */
.gallery-button-group .filter-button{
	display: inline-block;
	padding: 0 15px;
	background: none;
	border: none;
	text-transform:capitalize;
	color: #949494;
	font-size: 25px;
	cursor: pointer;
	/*margin-bottom:2px;*/
    text-transform:uppercase;
}

.gallery-button-group .filter-button:hover{
	text-decoration:none;
	color:#000;
}
.gallery-button-group span{
	/*color:#949494;*/
    width:2px;
    height:20px;
    display:inline-block;
    background-color:#949494;
}
.gallery-button-group .filter-button:active,
.gallery-button-group .filter-button.is-checked{
	color:#442c37;
	/*background:#cfa371;*/
    /*border:1px solid #cfa371;*/
    border:none;
}

/* ---- button-group ---- */

.gallery-button-group {
	margin: 20px auto;
	width: 100%; 
	text-align: center;
}

.gallery-button-group:after {
	content: '';
	display: block;
	clear: both;
}

/* ---- isotope ---- */


/* ---- .grid-item ---- */

/* clear fix */
.grid_gallery:after{
	content: '';
	display: block;
	clear: both;
}

.grid-gallery{
	margin:0 auto;
	width:100%;
	height:auto;
	max-width:1600px;
	overflow:hidden;
    background-color:#f5f5f5;
}

/* ---- .gallery-grid-item ---- */

.gallery-grid-sizer,
.gallery-grid-item{
	width: 33.333%;
}

.gallery-grid-item{
	float: left;
}

.gallery-image-area{
	margin:0 auto;
	display:block;
	margin:10px 10px;
	position:relative;
}

.fullwidth .gallery-image-area{
	margin:0px;
}

.gallery-image-area .gallery-overly{
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	width:100%;
	height:100%;
	background:rgba(0,0,0, 0.3);
	opacity:0;
}

.gallery-image-area:hover .gallery-overly{
	opacity:1;
}

/*.gallery-image-area:before,
.gallery-image-area:after {
	position: absolute;
	top: 20px;
	right: 20px;
	bottom: 20px;
	left: 20px;
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
	transition: opacity 0.6s, -webkit-transform 0.6s, -moz-transform 0.6s, -o-transform 0.6s, transform 0.6s;
}

.gallery-image-area:before {
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	-webkit-transform: scale(0, 1);
	transform: scale(0, 1);
}

.gallery-image-area:after {
	border-right: 1px solid #fff;
	border-left: 1px solid #fff;
	-webkit-transform: scale(1, 0);
	transform: scale(1, 0);
}

.gallery-image-area:hover:before,
.gallery-image-area.hover:before,
.gallery-image-area:hover:after,
.gallery-image-area.hover:after {
	opacity: 1.0;
	-webkit-transform: scale(1);
	transform: scale(1);
}*/

/*.gallery-image-area .gallery-zoom-icon {
	border-radius: 5px;
	display: block;
	content: '';
	position: absolute;
	background:url('../images/zoom.png') no-repeat center center;
	top: 50%;
	left: 50%;
	height: 50px;
	width: 50px;
	border:4px double #fff;
	opacity: 0;
	-webkit-transform: translate(-50%, -50%) rotate(0deg);
	transform: translate(-50%, -50%) rotate(0deg);
	-webkit-transition: all 0.6s;
	transition: all 0.6s;
	z-index:5;
}*/
.gallery-image-area .gallery-zoom-icon {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index:5;
}
gallery-zoom-icon .fal {
    font-size: 2rem;
    color: #FFF;
    text-align: center;
    display: block;
    width: 3.75rem;
    height: 3.75rem;
    line-height: 3.5rem;
    opacity: 0;
}
gallery-zoom-icon:hover .fal {
    opacity: 1;
}
.gallery-image-area:hover .gallery-zoom-icon {
	opacity: 1;
	/*-webkit-transform: translate(-50%, -50%) rotate(45deg);
	transform: translate(-50%, -50%) rotate(45deg);*/
}

.gallery-image-area .gallery-video-icon{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index:5;
}
.gallery-video-icon .play, .fancybox-thumbs .play {
    font-size: 2.125rem;
    color: #FFF;
    border: 0.1875rem solid #FFF;
    border-radius: 50%;
    text-align: center;
    display: block;
    width: 3.75rem;
    height: 3.75rem;
    line-height: 3.5rem;
    /*padding-left: 0.25rem;
    margin-top: -1.875rem;
    margin-left: -1.875rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transition: all 0.3s ease 0s;*/
}
.gallery-image-area .gallery-video-icon .play:hover{
	opacity: .5;
}
.gallery-image-area .image-details {
	position: absolute;
	left:50%;
	top:50%;
	display:block;
	width:100%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	-webkit-transition: all 0.6s;
	transition: all 0.6s;
}

.gallery-image-area:hover .image-details {
	opacity: 1;
	margin-top:-50px;
}

.gallery-image-area .image-title{
	width:100%;
	display:block;
	font-weight:500;
	color:#fff;
	padding: 2px 5px;
	text-align:center;
	text-transform: uppercase;
}

.gallery-grid-item .social-icon-area{
	position:absolute;
	bottom:5px;
	left:auto;
	right:auto;
	width:100%;
	display:block;
	z-index:5;
}

.gallery-grid-item .social-icon-area .social-icons{
	margin:0 auto;
	width:120px;
	height:30px;
}

.gallery-grid-item .social-icon-area ul{
	float:left;
	list-style-type:none;
	margin-left:-40px;
}

.gallery-grid-item .social-icon-area ul li{
	float:left;
	width:30px;
	height:30px;
}

.gallery-grid-item .social-icon-area ul li a{
	color:#fff;
	font-size:20px;
	line-height:20px;
	text-align:center;
	display:block;
}

.gallery-grid-item .social-icon-area ul li a:hover{
	color:#ddd;
}

.gallery-grid-item .grid-thumbnail-image {
	display: block;
	width: 100%;
	height:auto;
	overflow:hidden;
}

@media only screen and (min-width: 2000px){
	.gallery-grid-sizer,
	.gallery-grid-item{
		/*width: 16.66%;*/
        width: 25%;
	}
}

@media only screen and (min-width: 1600px){
	.gallery-grid-sizer,
	.gallery-grid-item{
		/*width: 20%;*/
        width: 25%;
	}
}

@media only screen and (min-width: 1200px){
	.gallery-grid-sizer,
	.gallery-grid-item{
		width:33.333%;
	}
}

@media only screen and (max-width: 800px){
	.gallery-grid-sizer,
	.gallery-grid-item{
		width:50%;
	}
}

@media only screen and (max-width: 500px){
	.gallery-grid-sizer,
	.gallery-grid-item{
		width:100%;
	}
}