/*-- gallery --*/
.w3l_gallery_grid li{
	display: inline-block;
    float: left;
    width: 32.33%;
    padding: 1%;
}
.box {    position: relative;    overflow: hidden;}

.box img {
  position: absolute;
  left: 0;
  -webkit-transition: all 300ms ease-out;
  -moz-transition: all 300ms ease-out;
  -o-transition: all 300ms ease-out;
  -ms-transition: all 300ms ease-out;
  transition: all 300ms ease-out;
}

.box .overbox {
	background-color: hsla(0, 0%, 11%, 0.6);
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    z-index: 100;
    -webkit-transition: all 300ms ease-out;
    -moz-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    -ms-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
    opacity: 0;
    width: 100%;
    padding:8em 2em 2em;
}
.box,.box .overbox { height: 230px;}
.box:hover .overbox { opacity: 1; }

.box .overtext {
  -webkit-transition: all 300ms ease-out;
  -moz-transition: all 300ms ease-out;
  -o-transition: all 300ms ease-out;
  -ms-transition: all 300ms ease-out;
  transition: all 300ms ease-out;
  transform: translateY(40px);
  -webkit-transform: translateY(40px);
}

.box .title {
  font-size:1.5em;
  text-transform: uppercase;
  opacity: 0;
  transition-delay: 0.1s;
  transition-duration: 0.2s;
}

.box:hover .title,
.box:focus .title {
  opacity: 1;
  transform: translateY(0px);
  -webkit-transform: translateY(0px);
}

.box .tagline {
	font-size: 13px;
    line-height:1.8em;
	opacity: 0;
	transition-delay: 0.2s;
	transition-duration: 0.2s;
	margin:10px 0 0 0;
}

.box:hover .tagline,
.box:focus .tagline {
  opacity: 1;
  transform: translateX(0px);
  -webkit-transform: translateX(0px);
}


@media (max-width:667px) {
    .box .overbox { padding: 5em 2em 2em; }
}


@media (max-width:600px) {

    .w3l_gallery_grid li {
		width: 100%;
		float: none;
	}

}

@media (max-width:480px) {
	
	.box, .box .overbox { height: 283px;	}
}
@media (max-width:440px) {
	
	.box, .box .overbox { height: 257px;	}
	
}
@media (max-width:414px) {
	
	.box, .box .overbox { height: 240px; }
}

@media (max-width:384px) {
	
	.box, .box .overbox { height: 221px; }
	
}
@media (max-width:375px) {

	.box, .box .overbox { height: 216px; }
    
}
@media (max-width:320px) {
	
	.box, .box .overbox { height: 180px;	}
	
	.box .overbox { padding: 4em 2em 2em; }
}




/*-- //gallery --*/