#sdgallery_category ul.gallery { 
	width: 95%;
	margin: 25px auto !important;
	padding: 0 !important;
	background: none !important;
	list-style: none !important;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: center;
}
#sdgallery_category ul.gallery li {
	margin: 5px !important;
	padding: 0 !important;
	background: none !important;
	text-align: center;
}
/*
#sdgallery_category ul.gallery::after {
	content: "";
	flex: auto;
}
*/

/* IMMAGINI BORDATE */

a.photo {
	margin: 10px;
	padding: 10px 10px 10px 10px !important;
	display: inline-block;
	border: 1px solid #cfcecb;
	position: relative;
	background-color: #eee;
	background-image: none !important;
	-webkit-box-shadow: 0 2px 15px #8a8787;
	-moz-box-shadow: 0 2px 15px #8a8787;
	box-shadow: 0 2px 15px #8a8787;
	z-index: 5;
}
a.category:before {
	content: "";
	position: absolute;
	bottom: 15px;
	right: 15px;
	width: 34px;
	height: 32px;
	background: url("folder.png") center center no-repeat !important;
	z-index: 7;
	-khtml-opacity: 0.8;
	-moz-opacity: 0.8;
	opacity: 0.8;
	filter: alpha(opacity=80);
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}
a.photo img {
	padding: 0 !important;
	border: 1px solid #cfcecb;
}
a.pic_2 {
	-ms-transform: rotate(-1deg);
	-webkit-transform: rotate(-1deg);
	-moz-transform: rotate(-1deg);
	transform: rotate(-1deg);
}
a.pic_6 {
	-ms-transform: rotate(2deg);
	-webkit-transform: rotate(2deg);
	-moz-transform: rotate(2deg);
	transform: rotate(2deg);
}
a.photo:hover {
	z-index: 10;
	-webkit-box-shadow: 3px 5px 15px #8a8787;
	-moz-box-shadow: 3px 5px 15px #8a8787;
	box-shadow: 3px 5px 15px #8a8787;
}

/* TESTO SOTTO ALLE IMMAGINI */

.cat_title_text {
	/* width dal codice */
	max-width: 70%;
	margin: 3px auto 0 auto;
	/*white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;*/
	text-align: center;
}

/* BADGE CATEGORIA E IMMAGINE NUOVA */

.new {
	position: absolute;
	top: 25px;
	right: 0;
	width: 34px;
	height: 32px;
}

/* NESSUN FILE NELLA CATEGORIA */

#sdgallery_category .no_files {
	text-align: center !important;
	font-weight: bold;	
	border: 0 !important;
	margin: 20px 0;
}

/* RITORNO CATEGORIA PADRE */

#sdgallery_category .gallery_back {
	text-align: right;	
}

/* PAGINAZIONE */

.pull-right {
	float: none !important;	
}
.pagination ul, .pagination li {
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
}

/* CATEGORIA VUOTA */


/* ZOOM */

#baguetteBox-overlay .full-image figcaption {
	padding: 0.3rem 1rem;
	box-sizing: border-box;
}