﻿/*TPAPP*/
	/*gallery live*/
	.gallery-container {text-align:center;}
	.gallery-item {padding:10px; margin-bottom:15px;}
	.gallery-item:first-child {margin-left:-1px !important;}
	.gallery-item a {display:block; /*height:130px;*/ padding:0 !important; margin-bottom:0 !important;}
	
	/*storyboard*/
	.album-item {padding:10px !important; margin-bottom:15px;}
	.album-item a {display:block; border:1px solid #736e6a; padding:0 !important; margin-bottom:0 !important; color:#fff !important; text-align:center; background:#736e6a !important;}
	.album-item a:hover {background:#736e6a !important; border:1px solid #736e6a !important;}
	.album-item a h4 {color:#fff;}
	.album-item .post-testo {font-size:10pt;}
	
	.gallery-item .thumb-img,
	.album-item .thumb-img,
	.post-item .thumb-img {position:relative; float:none; height:130px; background-position:center center; background-repeat:no-repeat; background-size:cover;}
	.album-item .thumb-img {height:250px;}
	.post-item .thumb-img {height:auto; background-position:inherit; background-repeat:inherit;}
	.post-item img.thumb-img {width:100%; height:auto;}
	.post-item img.thumb-img.noresize {width:auto; height:auto;}
	
	.post-item.detail {text-align:left;}
	.post-item .post-testo h4 {font-size:25px; font-weight:bold; margin:0 0 10px 0; padding:10px 0 15px 0; border-top:0;}
	.post-item.detail h2 {border-bottom:3px dotted #736e6a; padding-bottom:15px; margin:0 0 20px 0;}
	
	.gallery-item .thumb-img {position:relative; z-index:1;}
	.gallery-item h5 {margin:10px 0 0 0; color:#736e6a; padding:0 0 5px 0; /*position:absolute; top:0; left:0;*/ width:100%; background:#fff; z-index:2;}
	
	.post-item a {display:block; color:#736e6a; text-align:center;}
	.post-item:first-child {margin-left:-1px;}
	.post-item .post-link a {text-align:left; padding-left:2%; padding-right:2%; font-size:10pt; display:inline-block;}
	
	.post-data {font-size:10pt; display:inline-block; margin:0 !important;}
	.post-item.detail .indietro {margin-top:20px !important;}
	
	/*paginazione*/
	.gallery-pagination {text-align:center;}
	ul.pagination {margin:20px auto 0 auto !important;}
	ul.pagination li {display:block; float:left; margin:0 1px 0 0 !important; padding:0 !important; border:0 !important;}
	ul.pagination li.last {margin:0;}
	ul.pagination li a {display:block; margin:0; padding:6px 12px !important; font-size:10pt; margin:0 !important; cursor:pointer;}
	ul.pagination li.active a {font-weight:800;}
	.pagination > li:first-child > a, .pagination > li:first-child > span {border-top-left-radius:0;  border-bottom-left-radius:0;}
	
	@media (max-width:767px) {
		.gallery-item a,
		.gallery-item .thumb-img,
		.album-item .thumb-img,
		.post-item .thumb-img,
		.album-item .thumb-img {height:250px;}
	}
	@media (max-width:1050px) {
		.album-item .thumb-img {height:120px;}
		.post-data {font-size:8pt;}
		.album-item h4 {font-size:17px;}
		.album-item p {line-height:normal; margin:5px 0 0 0 !important;}
	}
	.row-eq-height {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		flex:1 0 auto;
		flex-wrap:wrap;
	}
	
	/* mio stile tpapp */
	
	.album-item .thumb-img,
	.gallery-item .thumb-img,
	.post-item a {/*border:1px solid #edeaea;*/}
	
	.post-item {margin-bottom:20px;}
	.post-item .thumb-img {height:200px;}
	.post-item p {margin:0;}
	.post-item .post-testo {margin-top:10px; font-size: 12pt;}
	.post-item p.data {display:block; background:#e4dfd6; font-size:10pt; margin-top:-20px; width:auto;}
	.post-item a {position:relative; padding-left:0 !important; padding-right:0 !important; display:block; padding-bottom:30px; height:100%; background:#bbb5ad;}
	.post-item.detail a {padding-bottom:0;}
	.post-item .etichetta,
	.etichetta {position:absolute; top:0; right:0; padding:20px; background:#80393a; font-size:25px; color:#fff;}
	
	.post-data {background:#fff; color:#736e6a; padding:2px 6px;}
	.post-item.detail .post-data {background:#e4dfd6;}
	.album-item a,
	.post-item.detail a {background:#edeaea; /*border: 1px solid #E3E0E0;*/}
	.post-item.detail p.post-link a {display:inline-block !important; width:auto; background:#736e6a; padding:3px 10px !important; color:#fff; margin-top:10px; text-align:center; /*border: 1px solid #E3E0E0;*/}
	.album-item a:hover {background:#ee7d00; border: 1px solid #ee7d00; color:#fff;}
	
	ul.pagination li.active a {color:#fff !important; background:#80393a !important; border:1px solid #80393a !important;}
	ul.pagination li a:hover,
	.content ul.pagination li a:hover,
	ul.pagination li.active a:hover {background:#80393a !important; border:1px solid #80393a !important; color:#fff !important;}
	ul.pagination li a {color:#fff !important; background:#736e6a !important; border: 1px solid #736e6a !important;}
	
	.dida_tp {font-size:9pt;}
	.dida_tp a {display:inline-block !important; width:auto; padding:0 !important; margin:0 !important;}
	.dida_tp a:hover {}
	#content h4  {color:#736e6a;}
	.pagination > li:last-child > a, .pagination > li:last-child > span {border-top-right-radius:0; border-bottom-right-radius:0;}

	.btn {width:auto;}

/*Fine TPAPP*/