﻿/*.post-item,.album-item,.gallery-item {margin-bottom:20px;}
.post-container {margin-bottom:20px;}
.post-testo,.post-data,.post-link {text-align:left;}

.thumb-img {width:100%;margin-bottom:10px;}
pre {text-align:left;}*/

    pre {font-family: inherit;width:100%;background-color:transparent;color:inherit;font-size:inherit;
		overflow:auto;display:table-cell;table-layout: fixed;white-space: pre-line;word-wrap: break-word;word-break: keep-all;}

.clearfix {clear:both;}

.album-container,
    .post-container,
    .gallery-container {width:100%;margin:20px 0;padding:0;text-align: center;}
.post-container{text-align:left;}

.album-item,
.post-item,
    .gallery-item {width:30%;margin:10px 1%;display:inline-block;border:1px solid #ccc;}
.post-item {width:100%;margin:0 0 20px 0;background:#efefef;border:none;float:left;}
.post-item:nth-child(2n+1){clear:both;}
.post-item.detail {width:95%;background:none;}

.post-testo {padding:0 10px;}
.post-data{padding:0 10px;margin-top:5px;font-size:.9em;font-style:italic;}
.post-link {padding:0 10px;}

.album-item .thumb-img,
    .post-item .thumb-img,
    .gallery-item .thumb-img{width:100%;height:120px;background-size:cover;background-position:center center;}
.gallery-item .thumb-img{}
.post-item .thumb-img {width:40%;height:200px;float:left;margin:10px;}
.post-item.detail .thumb-img {height:auto;margin:0 30px 30px 10px;}

.album-item a,
    .post-item a,
    .gallery-item a {color:#333;text-decoration:none;}
.album-item h4,
    .post-item h4 {background-color: #ccc;padding: 10px;margin: 0;font-size:18px;}
.post-item h4 {font-weight:600;padding:10px;background:none;}
.post-item h2 {font-weight:600;padding:10px;font-size:32px;text-align:center;}

.album-item a:hover,
    .gallery-item a:hover {color:#fff;}
.album-item a:hover h4 {background-color:#999;}
.post-item a:hover h4 {background-color:#ddd;}


.album-pagination,
    .post-pagination,
    .gallery-pagination {width:100%;text-align:center;}
.album-pagination .album-pager,
    .post-pagination .post-pager,
    .gallery-pagination .gallery-pager {margin:10px 0;}
.album-pagination .album-pager li,
    .post-pagination .post-pager li,
    .gallery-pagination .gallery-pager li {display:inline-block;}
.album-pagination .album-pager li a,
    .post-pagination .post-pager li a,
    .gallery-pagination .gallery-pager li a {background-color: #ccc;color: #333;padding: 5px 12px;display: block;text-decoration:none;}
.album-pagination .album-pager li a:hover,
    .post-pagination .post-pager li a:hover,
    .gallery-pagination .gallery-pager li a:hover {background-color: #999;color: #fff;}


@media(max-width:900px) {
    .post-item {width:90%;margin:0 4% 20px 4%;float:none;}
}
@media(max-width:767px) {
    .post-item.detail .thumb-img {height:auto;margin:10px;width:90%;}
}
@media(max-width:480px) {
    .post-item .thumb-img {margin:10px;width:90%;}
}