
.grid {
	position: relative;
	list-style: none;
	text-align: center;
}

/* Common style */
.grid figure {
    position: relative;
    overflow: hidden;
    background:#fff;
    text-align: center;
    cursor: pointer;
    /* margin: 0 0 2em; */
	margin:0;
}
.grid figure img {
	position: relative;
	display: block;
	
	max-width: 100%;
	/*opacity: 0.5; min-height: 100%;*/
	width:100%;
}

.grid figure figcaption {
	padding: 2em 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	/*z-index: 1000;*/
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h6 {
	word-spacing: -0.15em;
	font-weight: 300;
}
.grid figure h6 span {
    font-weight: 600;
    font-size: 17px;
    color: #fff172;
}
.grid figure h6,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}
/***** Goliath *****/
/*-----------------*/

figure.effect-goliath {
	background:#585858;
}

figure.effect-goliath img,
figure.effect-goliath h6 {
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

figure.effect-goliath img {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

figure.effect-goliath h6, figure.effect-goliath p {
    position: absolute;
    bottom: 0;
    font-size: 25px;
    left: 0;
    font-weight:300;
    padding: 30px;
    color: #ce0000;
}

figure.effect-goliath p {
    text-transform: none;
    font-size: 14px;
    color: #fff;
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(0,50px,0);
    transform: translate3d(0,50px,0);
}
figure.effect-goliath:hover img {
	-webkit-transform: translate3d(0,-80px,0);
	transform: translate3d(0,-80px,0);
}

figure.effect-goliath:hover h6 {
	-webkit-transform: translate3d(0,-100px,0);
	transform: translate3d(0,-100px,0);
}

figure.effect-goliath:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

/*-----------------*/
@media screen and (max-width: 50em) {
	.content {
		padding: 0 10px;
		text-align: center;
	}
}

/*--responsive--*/
@media(max-width:1920px){
	
}
@media(max-width:1680px){
	
}
@media(max-width:1600px){
	
}
@media(max-width:1440px){

}
@media(max-width:1366px){

}
@media(max-width:1280px){
	
}
@media(max-width:1080px){
		figure.effect-goliath p {
    padding: 30px 15px;
}
}
@media(max-width:1050px){
	
}
@media(max-width:1024px){
	figure.effect-goliath h6 {
    font-size: 23px;
	   
	}

}
@media(max-width:991px){
.grid figure {
    /* margin: 0 0 1.5em; */
}
}
@media(max-width:900px){
	
}
@media(max-width:800px){
	
}
@media(max-width:768px){
	
}
@media(max-width:767px){
	figure.effect-goliath p {
    padding: 18px 15px;
}
}
@media(max-width:736px){

}
@media(max-width:667px){
	
}
@media(max-width:640px){
figure.effect-goliath h6{
    padding: 18px 20px;
}	
}
@media(max-width:600px){

}
@media(max-width:568px){
.gallery-grids {
    width: 72%;
    margin: 0px auto;
}
figure.effect-goliath p {
    padding: 29px 15px;
}
}
@media(max-width:480px){
.gallery-grids {
    width: 85%;
}
}
@media(max-width:440px){
	.gallery-grids {
    width: 94%;
	}
}
@media(max-width:414px){
	.gallery-grids {
    width: 100%;
	}
}
@media(max-width:384px){

}
@media(max-width:375px){	
}
@media(max-width:320px){
figure.effect-goliath p {
    padding: 17px 15px;
}
}
/*--//responsive--*/

.gallery-info { }
.gallery-info .col-lg-4, .gallery-info .col-md-6, .gallery-info .col-sm-6 { padding:0; }