* {
  box-sizing: border-box;
}

.hoverbox img { max-width:100%;height:auto;}
.hoverbox p{ margin-bottom:10px;}
.hoverbox h3 { font-size:17px;font-weight:bold;margin:19px 0px 10px 0px;line-height:1.3em;}
.hoverbox3 h3 { font-size:17px;margin:5px 0 10px;}
.hoverbox { background:#fff;border:1px solid #dbdbdb;padding:3%;margin-bottom:10%;}
.hoverbox2 { background:#fff;border-right:1px solid #e0e0e1;padding:3%;}
.hoverbox3 { padding:0 2%;}
.hoverbox4 { padding:7%;margin-bottom:10%;}
.opticbox img { border:1px solid #dbdbdb;padding:15%;}
.hoverbox2:last-child { border-right:0px solid #e0e0e1;}
.hoverbox2 p,.hoverbox2 h3 { text-align:center;}
.hoverbox2 .show { margin-bottom:15px;}
.hoverbox .zoompic { opacity:0;}
.banner1,.banner2 { max-height:100%;overflow:hidden;width:auto;}
.banner1 a,.banner2 a { display:inline;}
.head2 { height:auto;background:#ddd;margin:0;padding:0; }

.show{
  width: 100%;
  height: 100%;
  float: left;
  border: 0px solid rgba(0,0,0,0.04);
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: pointer;
  background: #fff;
  display: block;
  border-radius: 0px;
}

.aspect{
  position: relative;
  padding-bottom: 120%;
  height: 0;
  overflow: hidden;
}

.show .mask{
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
}

.show-first a.more {
  display: inline-block;
  text-decoration: none;
  padding: 7px 14px; 
  background: #FFF;
  color: #222;
  text-transform: uppercase;
  box-shadow: 0 0 1px #000;
  position: relative;
  border: 1px solid #999;

}

.show-first a.more:hover {
  box-shadow: 0 0 5px #000;
}

.show-first p{
  letter-spacing: 0.15em;
  color: #ffffff;
}

.show-first img {
  transition: all 0.2s linear;
}

.show-first .mask {
  opacity: 0;
  background-color: rgba(0,0,0, 0);
  transition: all 0.4s ease-in-out;
}
.show-first h3 {
  color: #ffffff;
  margin-top: 10%;
  opacity: 0;
  transition: all 0.2s ease-in-out;
  background: rgba(0,0,0,0.7);
  padding:3px;
}
.show-first p {
  opacity: 0;
  transition: all 0.2s linear;
}
.show-first a.info{
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

.show-first:hover img {
  transform: scale(1.2);
}
.show-first:hover .mask {
  opacity: 1;
}
.show-first:hover h3,
.show-first:hover p,
.show-first:hover a.info {
  opacity: 1;
}
.show-first:hover p {
  transition-delay: 0.1s;
}
.show-first:hover a.info {
  transition-delay: 0.2s;
}

/* SECOND */

.show-second img {
  transition: all 0.3s ease-in-out;
}
.show-second .mask {
  background-image: url(http://subtlepatterns.com/patterns/gplaypattern.png);
  background-color: rgba(0,0,0,0.3);
  transform: translateX(-110%);
  opacity: 1;
  transition: all 0.4s ease-in-out;
  box-shadow: 0 0 7px #ccc;
}
.show-second h3{
  background: rgba(255, 255, 255, 0.7);
  color: #000;
  box-shadow: 0px 1px 1px rgba(0,0,0,0.1);
}
.show-second p{
  opacity: 0;
  color: #333;
  transition: all 0.2s linear;
}

.show-second a.more {
  display: inline-block;
  text-decoration: none;
  padding: 7px 14px; 
  background: #000;
  color: #fff;
  text-transform: uppercase;
  box-shadow: 0 0 1px #000;
  position: relative;
  border-radius: 7px;

}

.show-second a.more:hover {
  background-color: #444;
}

.show-second:hover .mask {
  transform: translateX(0px);
} 

.show-second:hover img {
  transform: translateX(80%);
  transition-delay: 0.1s;
}

.show-second:hover p{
  opacity: 1;
  transition-delay: 0.4s;
}

/* THIRD */

.show-third a.more {
  display: inline-block;
  text-decoration: none;
  padding: 7px 14px; 
  background: #000;
  color: #fff;
  text-transform: uppercase;
  box-shadow: 0 0 1px #000;
  position: relative;
}

.show-third a.more:hover {
  box-shadow: 0 0 5px #fff;
  background-color: #222;
}

.show-third .mask {
  opacity: 0;
  background-color: rgba(255,255,255, 0.5);
  transition: all 0.4s ease-in-out;
}

.show-third h3 {
  margin-top: 20%;
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

.show-third p {
  opacity: 0;
  transition: all 0.2s linear;
  padding-bottom: 15px;
}

.show-third a.info{
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

.show-third img{
  transition: all 0.2s ease-in-out;
}

.show-third:hover img {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    filter: gray;
    -webkit-filter: grayscale(100%);}

.show-third:hover .mask {
  opacity: 1;
}
.show-third:hover h3,
.show-third:hover p,
.show-third:hover a.info {
  opacity: 1;
}
.show-third:hover p {
  transition-delay: 0.1s;
}
.show-third:hover a.info {
  transition-delay: 0.2s;
}

/* FOURTH */

.show-fourth a.more {
  display: inline-block;
  text-decoration: none;
  padding: 7px 14px; 
  background: #000;
  color: #fff;
  text-transform: uppercase;
  border-radius: 5px;
  box-shadow: 0 0 1px #000;
  position: relative;
}

.show-fourth a.more:hover {
  box-shadow: 0 0 5px #fff;
  background-color: #222;
}

.show-fourth .mask {
  opacity: 0;
    background-image: url(http://subtlepatterns.com/patterns/concrete_seamless.png);
  background-color: rgba(255,255,255, 0.5);
  transition: all 0.4s ease-in-out;
}

.show-fourth h3 {
  color: #000;
  margin-top: 10%;
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

.show-fourth p {
  opacity: 0;
  transition: all 0.2s linear;
}

.show-fourth a.info{
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

.show-fourth img{
  transition: all 0.2s ease-in-out;
}

.show-fourth:hover img {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    filter: gray;
    -webkit-filter: grayscale(100%);
  transform: scale(1.5);
}

.show-fourth:hover .mask {
  opacity: 1;
  
}
.show-fourth:hover h3,
.show-fourth:hover p,
.show-fourth:hover a.info {
  opacity: 1;
}
.show-fourth:hover p {
  transition-delay: 0.1s;
}
.show-fourth:hover a.info {
  transition-delay: 0.2s;
}

@media only screen and (max-width: 768px) {  
  .mask h3 { display:none;  }
  .show .mask { padding-top:25%;  }
  .hoverbox3 { width:33.33333% !important;}
}

@media only screen and (max-width: 600px) { 
  .hoverbox p {margin-bottom:20px;}
  .mask h3 { display:block;  }
  .show .mask { padding-top:0%;  }
  /*.hoverbox img { width:80%;height:auto;}*/
  .itemtxt .show { width:45%;margin-right:5%; }
  .hoverbox3 { width:50% !important;float:left !important;}
}

@media only screen and (max-width: 320px) { 
  /*.hoverbox img { width:80%;height:auto;}*/
  .itemtxt .show { width:100%; }
  .hoverbox3 { width:100% !important;float:left !important;}
}