div.galleria {
	width:100%;
	padding:10px 0px;
}
div.contenitoreGalleria {
	margin:5px auto 5px auto;
	padding:0px 0px 12px 0px;
	position:relative;
	overflow:hidden;
}

div.galleria div.contenitore_immagini_grandi {
	display:flex;
	align-items: center;
	justify-content: space-between;

	display:-webkit-flex;
	-webkit-align-items: center;
	-webkit-justify-content: space-between;

	display:-ms-flexbox;
	-ms-align-items: center;
	-ms-flex-pack: space-between;
	-ms-flex-flow:row nowrap;

	transition: all 1200ms cubic-bezier(0.77, 0, 0.175, 1) 0s;
}

div.galleria figure.immagineGrande {
	margin: 0px auto 10px auto;
	cursor:pointer;
	text-align: center;
	float:left;
	width: 100%;
	position: relative;
	background:url('../../../images/loader.gif') no-repeat center center;
}
#contenuto div.galleria figure.immagineGrande img {
	width: auto;
	height: auto;
	max-height: 24rem;
	float: none;
	display: inline-block;
	box-sizing:border-box;
  	-moz-box-sizing:border-box;
  	-webkit-box-sizing:border-box;
}
div.galleria div.contenitoreGalleria figcaption.didascalia {
	position:absolute;
	right:0px;
	bottom:-20px;
	padding:0px 0px;
	color:#555;
	line-height:24px;
	font-size:12px;
	text-align:center;
	width:100%;
}
div.galleria div.contenitoreGalleria a.frecciaSx {
}
div.galleria div.contenitoreGalleria a.frecciaSx:hover {
	background: url('../../../images/sxHover.png') no-repeat center center;
}
div.galleria div.contenitoreGalleria a.frecciaDx {
	height:100%;
	width:30px;
	position:absolute;
	right:-30px;
	background: url('../../../images/dx.png') no-repeat center center;
}
div.galleria div.contenitoreGalleria a.frecciaDx:hover {
	background: url('../../../images/dxHover.png') no-repeat center center;
}

div.galleria div.miniature {
	width: 100%;
	text-align:center;
	margin-bottom: 10px;
}
div.galleria div.miniature a.miniatura {
	display:inline-block;
	border:1px solid #FFF;
	padding:2px;
}
div.galleria div.miniature a.selected {
	border:1px solid #FF0000;
}

/* Smartphones ----------- */
@media only screen and (max-width : 600px) {
#contenuto div.galleria figure.immagineGrande {
	height: auto;
}
#contenuto div.galleria figure.immagineGrande img {
	width: auto;
	height: auto;
	max-height: 12rem;
	float: none;
	display: inline-block;
}
}