/* ALBUM */
	
#immagine{
	display:inline-block;
	border:solid 1px #CC0000;
	padding:2px;
	margin:5px;
}

#anteprime{
}

.titoloalbum{
	margin:30px 0 10px;	
	text-align: center;
}

.thumb {
	display: inline-block;
	cursor: pointer;
	position: relative;
	vertical-align: bottom;
}

.thumb > img{
	vertical-align: top;
	width: 100%;
	overflow: hidden;
	-webkit-transform: scale(1) ;
	transform: scale(1) ; 
	-webkit-transition: -webkit-transform 1s ease;
	transition: transform 1s ease; 
}

.thumb:hover > img{
	-webkit-transform: scale(0.8) ;
	transform: scale(0.8) ;	
}

.scorriFoto{
	white-space: nowrap;
	overflow: hidden;
}

.scorriFoto .thumb{
	overflow:hidden;
}

.scorriFoto .thumb:hover > img{
	-webkit-transform: scale(1.1) ;
	transform: scale(1.1) ;	
}

.anteprime .thumb{
	width:100px;
	height:100px;
	margin: 23px 10px;
	
}

.fotoAlbum{
	display: none;
	overflow: hidden;
	width: 100%;
	position: fixed;
	top: 0px;
	left: 0;
	bottom: 0px;
	z-index: 9999;
	text-align: center;
	background-size: cover;
	background-color: rgba(0, 0, 0, 0.86);
	background-blend-mode: multiply;
}

.fotoAlbum div.foto {
    width: 100%;
	height:100%;
    position: absolute;
    z-index: 1;
    vertical-align: bottom;
    top: 0px;
    left: 0px;
	cursor: all-scroll;
}


.fotoAlbum div.visibile {
    position: relative;
    z-index: 3;
    top: 0px;
    left: 0px;
	vertical-align: bottom;
	display:block;
}

.foto img{	
	max-width: 90%;
	max-height: 80%;
	vertical-align: bottom;
	position: relative;
	top: 50%;
	overflow: hidden;
	box-shadow: 2px 2px 5px #000;
	-ms-transform: translate(0, -50%);
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
}

.fotoAlbum #avantiAlbum {
    display: block;
    width: 50px;
    height: 100%;
    margin-right: 30px;
    position: absolute;
    top: 0px;
    right: 0px;
    cursor: pointer;
    background-image: url('../images/avanti.png');
    background-position: right center;
    background-repeat: no-repeat;
    z-index: 3;
}

.fotoAlbum #indietroAlbum {
    display: block;
    width: 50px;
    height: 100%;
    margin-left: 30px;
    position: absolute;
    top: 0px;
    left: 0px;
    cursor: pointer;
    background-image: url('../images/indietro.png');
    background-position: left center;
    background-repeat: no-repeat;
    z-index: 3;
}	

.chiudiAlbum{
	position: fixed;
	top: 10px;
	right: 10px;
	z-index: 9999;
	color: #ddd;
	cursor: pointer;
}
	  


#load{
	top:0;
	left:0;
	width:100%;
	height:100%;
	position:fixed;
	display:none;
	z-index:9999;
}

#load img{
	top:50%;
	margin-top:-21px;
	left:50%;
	margin-left:-21px;	
	position:absolute;	
}

.coverThumb{
	position:absolute;
	display:none;
	width:100%;
	height:100%;
	top:0;
	left:0;	
	cursor:zoom-in;
	background-image: url(../images/lente.png);
    background-repeat: no-repeat;
    background-position: center;
}

.coverThumb img{
	position:relative;
	top:50%;
	margin-top:-15px;		
}

.anteprime .coverThumb img{
	position: relative;
    left: 0;
    top: 50%;
    margin: 0 auto;
    margin-top: -15px;
}

.anteprime{
	display:none;
	position: fixed;
    bottom: 0px;
    z-index: 9999;
    left: 40px;
	right:40px;
	padding:0;
    height: 150px;
    margin: 0;
    text-align: center;
	background: #e1dccb;
}

.anteprime >div{
	white-space: nowrap;
	overflow: hidden;
}

.anteprime #indietroAlbum {
    display: block;
    width: 40px;
    height: 100%;
    position: absolute;
    top: 0px;
    left: -40px;
    cursor: pointer;
    background-image: url(../images/indietro.png);
    background-position: center;
    background-repeat: no-repeat;
    z-index: 11;
	background-color: #dcd38a;
    box-shadow: 5px 0 10px rgba(0, 0, 0, 0.29);
}

.anteprime #avantiAlbum {
    display: block;
    width: 40px;
    height: 100%;
    position: absolute;
    top: 0px;
    right: -40px;
    cursor: pointer;
    background-image: url('../images/avanti.png');
    background-position: center;
    background-repeat: no-repeat;
    z-index: 11;
	background-color: #dcd38a;
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.29);
}

.anteprime #indietroAlbum:hover, .anteprime #avantiAlbum:hover{
	background-color:#dcd38a;
}

