/* CSS Document */
.lavori-select{
	font-size:16px;
}
.lavori-header{
	margin-top:80px;
}
.lavori{
	max-width:300px;
	width:46%;
	margin-right:4%;
	float:left;
	margin-bottom:2%;
}
.lavori img{
	width:100%;
}

.lavori-categorie img{
	margin-right:20px;
	margin-top:10px;
	margin-bottom:10px;
}

.lavori-categorie{
	width:100%;
	clear:both;
}

.lavori-categorie div{
	float:left;
}

@media only screen and (max-height:320px) {
	.slider_content h2{
		font-size:1.0em;
	}
	.slider_content h4{
		font-size:0.9em;
	}	
	.slider_content{
		bottom:70px;
	}
}

@media only screen and (max-width:550px) {
	.lavori-categorie div{
		clear:both!important;
		width:100%!important;
	}
}

@media only screen and (min-width:500px) and (max-width:799px) {
	.lavori{
		width:31%;
		margin-right:2%;
	}
}

@media only screen and (max-width:800px) {
	.lavori-header{
		margin:0;
	}
	.slider_content h2{
		font-size:1.3em;
	}
	.slider_content h4{
		font-size:1.1em;
	}	
}

@media only screen and (min-width:801px) and (max-width:1400px) {
	.lavori{
		width:23%;
		margin-right:2%;
	}
	.slider_content h2{
		font-size:1.9em;
	}
	.slider_content h4{
		font-size:1.6em;
	}	
}

@media only screen and (min-width:1401px) {
	.lavori{
		width:18%;
		margin-right:2%;
	}
}

.slider_nav{
	position:absolute;
	top:26%;
	right:10px;
	z-index:100;
}

.slider_prev{
}

.slider_next{

}

.gallery-lavori ul{
	margin: 0!important;
	padding: 0!important;
}

.gallery-lavori > ul {
	margin-bottom: 0;
}
.gallery-lavori > ul > li {
	list-style:none;
}
.gallery-lavori > ul > li a {
	border: 3px solid #FFF;
	border-radius: 3px;
	display: block;
	overflow: hidden;
	position: relative;
	float: left;
}
.gallery-lavori > 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%;
}
.gallery-lavori > ul > li a:hover > img {
	-webkit-transform: scale3d(1.1, 1.1, 1.1);
	transform: scale3d(1.1, 1.1, 1.1);
}
.gallery-lavori > ul > li a:hover .gallery-lavori-poster > img {
	opacity: 1;
}
.gallery-lavori > ul > li a .gallery-lavori-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;
}
.gallery-lavori > ul > li a .gallery-lavori-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;
}
.gallery-lavori > ul > li a:hover .gallery-lavori-poster {
	background-color: rgba(0, 0, 0, 0.5);
}
.gallery-lavori .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%;
}
.gallery-lavori .justified-gallery > a:hover > img {
	-webkit-transform: scale3d(1.1, 1.1, 1.1);
	transform: scale3d(1.1, 1.1, 1.1);
}
.gallery-lavori .justified-gallery > a:hover .gallery-lavori-poster > img {
	opacity: 1;
}
.gallery-lavori .justified-gallery > a .gallery-lavori-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;
}
.gallery-lavori .justified-gallery > a .gallery-lavori-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;
}
.gallery-lavori .justified-gallery > a:hover .gallery-lavori-poster {
	background-color: rgba(0, 0, 0, 0.5);
}
.gallery-lavori .video .gallery-lavori-poster img {
	height: 48px;
	margin-left: -24px;
	margin-top: -24px;
	opacity: 0.8;
	width: 48px;
}
.gallery-lavori.dark > ul > li a {
	border: 3px solid #04070a;
}
.home .gallery-lavori {
	padding-bottom: 80px;
}

