/*********** [GALERIE|...| ****************************************************************/

.galerie{ clear:both; }
.galerie .img{
		float:left; border-right:1px solid #fff;border-bottom:1px solid #fff;
		overflow:hidden;
		position:relative;
		background-color:#fff;
  line-height: 0;
}


.galerie .img>DIV:nth-last-child(1),
.galerie .img>DIV:nth-last-child(2),
.galerie .img>DIV:nth-last-child(3),
.galerie .img>DIV:nth-last-child(4){
		border-right:1px solid #fff;
		border-top:1px solid #fff;
		position:absolute;
		transition: all 0.3s;
		opacity:0;
}

.galerie .img>DIV:nth-last-child(1){width:0;left:-1px;top:-1px;bottom:-1px;}
.galerie .img>DIV:nth-last-child(2){width:0;right:-1px;top:-1px;bottom:-1px;}
.galerie .img>DIV:nth-last-child(3){height:0;top:-1px;left:-1px;right:-1px;}
.galerie .img>DIV:nth-last-child(4){height:0;bottom:-1px;left:-1px;right:-1px;}

.galerie .img>DIV:nth-last-child(5){position:absolute; background-color:rgba(255,255,255,0.7); left:17px;bottom:17px;right:17px;padding:10px;padding-bottom:5px;padding-top:5px;opacity:0;transition: all 0.3s; line-height:1.2; font-size:90%; color:#000}
.galerie .img>DIV:nth-last-child(5):empty{display:none;}
.galerie .img IMG{transition: all 0.3s;max-width: 100%;height: auto;}

.galerie .img:hover IMG{
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1)/* rotate(-2deg)*/;
  filter: contrast(1.5);
		/*filter: saturate(1.4);*/	
  opacity:0.9;
}
.galerie .img:hover > DIV:nth-last-child(1){	left:15px;  top:15px;bottom:15px; opacity:1;}
.galerie .img:hover > DIV:nth-last-child(2){	right:15px; top:15px;bottom:15px; opacity:1;}
.galerie .img:hover > DIV:nth-last-child(3){	top:15px;   left:15px;right:15px; opacity:1;}
.galerie .img:hover > DIV:nth-last-child(4){	bottom:15px;left:15px;right:15px; opacity:1;}
.galerie .img:hover > DIV:nth-last-child(5){opacity:1;transition: all 0.85s;}