@charset "utf-8";
/* CSS Document */


.work_gallery > ul {
  margin-bottom: 0;
  
}
.work_gallery > ul > li {
	float: left;
	margin-bottom: 5px;
	margin-right: 10px;
	width: 18.5%;
	
}
.work_gallery > ul > li a {
  border: 3px solid #FFF;
  border-radius: 3px;
  display: block;
  overflow: hidden;
  position: relative;
  float: left;
}

.work_gallery > ul > li p {
	font-size: 0.75em;
	text-align: center;
	float: left;
	width: 100%;
	height: 25px;
	margin: 2px 0 25px 0;
}

.work_gallery > ul > li > p samp { 
	color: #f00;
}

.work_gallery > ul > li a > img {
  -webkit-transition: -webkit-transform 0.15s ease 0s;
  -moz-transition: -moz-transform 0.15s ease 0s;
  -o-transition: -o-transform 0.15s ease 0s;
  transition: transform 0.15s ease 0s;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  /*height: 100%;*/
  width: 100%;
 
}
.work_gallery > ul > li a:hover > img {
  -webkit-transform: scale3d(1.1, 1.1, 1.1);
  transform: scale3d(1.1, 1.1, 1.1);
}
.work_gallery > ul > li a:hover .work_gallery-poster > img {
  opacity: 1;
}
.work_gallery > ul > li a .work_gallery-poster {
  background-color: rgba(0, 0, 0, 0.1);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transition: background-color 0.15s ease 0s;
  -o-transition: background-color 0.15s ease 0s;
  transition: background-color 0.15s ease 0s;
}
.work_gallery > ul > li a .work_gallery-poster > img {
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  opacity: 0;
  position: absolute;
  top: 50%;
  -webkit-transition: opacity 0.3s ease 0s;
  -o-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
}
.work_gallery > ul > li a:hover .work_gallery-poster {
  background-color: rgba(0, 0, 0, 0.5);
}
.work_gallery .justified-gallery > a > img {
  -webkit-transition: -webkit-transform 0.15s ease 0s;
  -moz-transition: -moz-transform 0.15s ease 0s;
  -o-transition: -o-transform 0.15s ease 0s;
  transition: transform 0.15s ease 0s;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  height: 100%;
  width: 100%;
}


.work_gallery .justified-gallery > a:hover > img {
  -webkit-transform: scale3d(1.1, 1.1, 1.1);
  transform: scale3d(1.1, 1.1, 1.1);
}
.work_gallery .justified-gallery > a:hover .work_gallery-poster > img {
  opacity: 1;
}
.work_gallery .justified-gallery > a .work_gallery-poster {
  background-color: rgba(0, 0, 0, 0.1);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transition: background-color 0.15s ease 0s;
  -o-transition: background-color 0.15s ease 0s;
  transition: background-color 0.15s ease 0s;
}
.work_gallery .justified-gallery > a .work_gallery-poster > img {
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  opacity: 0;
  position: absolute;
  top: 50%;
  -webkit-transition: opacity 0.3s ease 0s;
  -o-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
}
.work_gallery .justified-gallery > a:hover .work_gallery-poster {
  background-color: rgba(0, 0, 0, 0.5);
}
.work_gallery .video .work_gallery-poster img {
  height: 48px;
  margin-left: -24px;
  margin-top: -24px;
  opacity: 0.8;
  width: 48px;
}
.work_gallery.dark > ul > li a {
  border: 3px solid #04070a;
}
.home .work_gallery {
  padding-bottom: 80px;
}

/*3D*/
.menu {
width: 400px;
height: 255px;
border: 6px solid #ccc;
margin: 30px auto 0;
overflow: hidden;
}
.menu ul {
width: 400px;
height: 255px;
}
.menu ul li img {
display: block;
width: 400px;
height: 255px;
}



@media screen and (max-width: 71em) { 
.work_gallery > ul > li {
  margin-bottom: 10px;
  margin-right: 10px;
  width: 18%;

}

}

@media screen and (max-width: 64em) { 
.work_gallery > ul > li {
  margin-bottom: 10px;
  margin-right: 10px;
  width: 23%;

}

}

@media screen and (max-width: 48em) { 
.work_gallery > ul > li {
  margin-bottom: 10px;
  margin-right: 10px;
  width: 31%;

}

}



@media screen and (max-width: 40em) { 
.work_gallery > ul > li {
  margin-bottom: 10px;
  margin-right: 10px;
  width: 47%;

}

}



@media screen and (max-width: 30em) { 
.work_gallery > ul > li {
  margin-bottom: 10px;
  margin-right: 10px;
  width: 46%;

}

}

@media screen and (max-width: 22.5em) { 
 .work_gallery > ul > li {
  margin-bottom: 10px;
  margin-right: 10px;
  width: 100%;

}
}


@media screen and (max-width: 20em) { 
 .work_gallery > ul > li {
  margin-bottom: 10px;
  margin-right: 10px;
  width: 100%;

}
}



