/* ELENCO */
section.elenco {
	margin:0rem 0;
	padding:0;
	display:flex;
	align-items:flex-start;
	justify-content:space-between;

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

	display:-ms-flexbox;
	-ms-align-items:flex-start;
	-ms-flex-pack: space-between;
	-ms-flex-flow:row wrap;

	transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1) 0s;
}
section.elenco article {
	margin:0;
	padding:0;
	position:relative;
}
section.elenco article a.vai {
	display:none;
}
#contenuto section.elenco article h3 {
	margin:0 0 0 0;
	padding:0 0 0 0;
	font-size:1rem;
	line-height:130%;
	text-align:left;
	font-weight:400;
	color:#544852;
}
#contenuto section.elenco article h3 a {
	color:#544852;
	text-decoration:none;
}
#contenuto section.elenco article h3 a:hover {
	color:#E03C00;
}
#contenuto section.elenco article p {
	color:#444;
	padding:0.3125rem 0;
	overflow:hidden;
	text-overflow:ellipsis;
	font-size:0.8rem;
	margin:0;
}
#contenuto section.elenco span.prezzo {
	color:#000000;
	padding:0.3125rem 0;
	overflow:hidden;
	text-overflow:ellipsis;
	font-size:1.2rem;
	margin:0;
}
#contenuto section.elenco span.prezzo_barrato {
	color:#000000;
	padding:0.3125rem 0;
	overflow:hidden;
	text-overflow:ellipsis;
	font-size:0.8rem;
	margin:0;
	text-decoration:line-through;
}
/* --- PAGINAZIONE --- */
#contenuto #paginazione {
	width:100%;
	clear:both;
	margin:5px 0px;
	padding:0px;
	text-align:center;
}
#contenuto #paginazione a {
	display:inline-block;
	height:20px;
	background:#C5AB80;
	color:#FFF;
	line-height:20px;
	font-size:14px;
	padding:0px 5px;
	margin:0px 1px;
	border-radius:5px;
}
#contenuto #paginazione a:hover {
	background:#B4996E;
}
#contenuto #paginazione a.selected {
	background:none;
	color:#545454;
}

/* Smartphones ----------- */
@media only screen and (max-width : 960px) {
section.elenco h2 {
	
}
section.elenco {
	margin:0 0 0 0;	
	overflow:visible;
	padding:1rem 0;
	flex-flow:column nowrap;
	-webkit-flex-flow:column nowrap;
	-ms-flex-flow:column nowrap;
	width: 100% !important;
	content: "ridotto";
	margin-left: 0!important;
	height:auto!important;
}
section.elenco article {
	width:100%;
	padding:0.3125rem 0 0.3125rem 0;
	margin:0 0 0.625rem 0;
	opacity:1 !important;
}
section.elenco article a.img {
	float:left;
	width:8rem;
	height:3.467rem;
	margin:0 0.625rem 0.625rem 0;
}
#contenuto section.elenco article h3 {
	text-align:left;
}
#contenuto section.elenco article h3 a {
}
#contenuto section.elenco article p {
	text-align:left;
}
div#controlli_elenco {
	display:none;
}
section.elenco .controlli {
	width:100%;
}
#contenuto section.elenco article.item_nullo {
	display: none;
}
#contenuto article a.aggiungi {
	float:right;
	margin:0 0 0 0;
	padding:0 0 0 1.875rem;
	background:url(../../images/add.png) no-repeat center left;
	font-size:1rem;
	line-height:2rem;
	font-weight:400;
	color:#E1269B;
	text-transform:uppercase;
	cursor:pointer;
}
}
/* ipad desktop ----------- */
@media only screen and (min-width : 961px) {
section.elenco {
	width:100%;
	float:left;
	padding:0 0 0 0;
	margin:1rem auto 2rem auto;
	position:relative;
	flex-flow:row wrap;
	-webkit-flex-flow:row wrap;
	-ms-flex-flow:row wrap;
}
section.elenco article {
	width:14rem;
	height:12rem;
	padding:0 0 0 0;
	margin:0 0 1.5rem 0;
}
section.elenco article a.img {
	width:14rem;
	height:7rem;
	display:block;
	margin:0rem auto 0.625rem auto;
	overflow:hidden;
}
#contenuto section.elenco article h3 {
	text-align:left;
}
#contenuto section.elenco article p {
	text-align:left;
}
section.elenco .controlli {
	width:100%;
}
#contenuto section.elenco article.item_nullo {
	border-bottom: none;
}
#contenuto article a.aggiungi {
	float:right;
	margin:0 0 0 0;
	padding:0 0 0 1.875rem;
	background:url(../../images/add.png) no-repeat center left;
	font-size:1rem;
	line-height:2rem;
	font-weight:400;
	color:#E1269B;
	text-transform:uppercase;
	cursor:pointer;
}
}

/* LISTA */

section.lista {
	margin:0;
	padding:0;
	display:flex;
	align-items:flex-start;
	justify-content:space-between;

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

	display:-ms-flexbox;
	-ms-align-items:flex-start;
	-ms-flex-pack: space-between;
	-ms-flex-flow:row wrap;

	transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1) 0s;
}
section.lista article {
	margin:0;
	padding:0;
	position:relative;
	border-bottom:1px solid #DDD;
}

section.lista article a.vai {
	display:none;
}
#contenuto section.lista article h3 {
	margin:0 0 0 0;
	padding:0 0 0 0;
	font-size:1.1rem;
	line-height:130%;
	text-align:left;
	font-weight:400;
	color:#DB0D05;
	text-transform:uppercase;
}
#contenuto section.lista article h3 a {
	color:#DB0D05;
	text-decoration:none;
	font-weight:400;
}
#contenuto section.lista article h3 a:hover {
	color:#DB0D05;
}
#contenuto section.lista article p {
	color:#444;
	padding:0.3125rem 0;
	overflow:hidden;
	text-overflow:ellipsis;
	font-size:0.8rem;
	margin:0;
}
/* Smartphones ----------- */
@media only screen and (max-width : 960px) {
section.lista h2 {
	
}
section.lista {
	margin:0 0 0 0;	
	overflow:visible;
	padding:1rem 0;
	flex-flow:column nowrap;
	-webkit-flex-flow:column nowrap;
	-ms-flex-flow:column nowrap;
	width: 100% !important;
	content: "ridotto";
	margin-left: 0!important;
	height:auto!important;
}
section.lista article {
	width:100%;
	padding:0.3125rem 0 0.3125rem 0;
	margin:0 0 0.625rem 0;
	opacity:1 !important;
}
section.lista article a.img {
	float:left;
	width:8rem;
	height:5rem;
	margin:0 0.625rem 0.625rem 0;
}
#contenuto section.lista article h3 {
	text-align:left;
}
#contenuto section.lista article h3 a {
}
#contenuto section.lista article p {
	text-align:left;
}
div#controlli_elenco {
	display:none;
}

section.lista .controlli {
	width:100%;
}
}
/* ipad desktop ----------- */
@media only screen and (min-width : 961px) {
section.lista h2 {
	
}
section.lista {
	margin:0 0 0 0;	
	overflow:visible;
	padding:1rem 0;
	flex-flow:column nowrap;
	-webkit-flex-flow:column nowrap;
	-ms-flex-flow:column nowrap;
	width: 100% !important;
	content: "ridotto";
	margin-left: 0!important;
	height:auto!important;
}
section.lista article {
	width:100%;
	padding:0.3125rem 0 0.3125rem 0;
	margin:0 0 0.625rem 0;
	opacity:1 !important;
}
section.lista article a.img {
	float:left;
	width:8rem;
	height:5rem;
	margin:0 0.625rem 0.625rem 0;
}
#contenuto section.lista article h3 {
	text-align:left;
}
#contenuto section.lista article h3 a {
}
#contenuto section.lista article p {
	text-align:left;
}
div#controlli_elenco {
	display:none;
}

section.lista .controlli {
	width:100%;
}
}


/* --- ALLEGATI --- */
section.lista article.file {
	padding-bottom:3rem;
	position:relative;
}
#contenuto section.lista article.file a.download{
	position:absolute;
	right:0;
	bottom:0.3125rem;
	line-height:2rem;
	height:2rem;
	font-size:0.75rem;
	background-size:contain;
	padding-left:2.3125rem;
	color:#777;
	font-weight:400;
	width:35%;
	text-overflow:ellipsis;
	white-space:nowrap;
	overflow:hidden;
}
section.lista article.file a.download:hover {
	color:#FF0000;
}

/* Elenco con file */

section a.general {
	background: url('../../images/icone/metro/general.png') no-repeat top left;
}
section a.archivio {
	background: url('../../images/icone/metro/archivio.png') no-repeat top left;
}
section a.cad {
	background: url('../../images/icone/metro/cad.png') no-repeat top left;
}
section a.db {
	background: url('../../images/icone/metro/db.html') no-repeat top left;
}
section a.font {
	background: url('../../images/icone/metro/general.png') no-repeat top left;
}
section a.immagine {
	background: url('../../images/icone/metro/immagine.png') no-repeat top left;
}
section a.musica {
	background: url('../../images/icone/metro/musica.png') no-repeat top left;
}
section a.pdf {
	background: url('../../images/icone/metro/pdf.png') no-repeat top left;
}
section a.ppt {
	background: url('../../images/icone/metro/ppt.png') no-repeat top left;
}
section a.txt {
	background: url('../../images/icone/metro/txt.png') no-repeat top left;
}
section a.vector {
	background: url('../../images/icone/metro/vector.png') no-repeat top left;
}
section a.video {
	background: url('../../images/icone/metro/video.png') no-repeat top left;
}
section a.word {
	background: url('../../images/icone/metro/word.png') no-repeat top left;
}
section a.xls {
	background: url('../../images/icone/metro/xls.png') no-repeat top left;
}