/*In gallery*/
.album-sort{
	border: 1px solid #ddd;
	padding: 20px;
	margin-bottom: 30px;
	border-radius: 5px;
}

.album-list-item img{
	width: 100%;
	padding: 15px 15px;
}

.album-list-item{
	border: 1px solid #ddd;
	margin-bottom: 20px;
	border-radius: 5px;
}

.album-list-item h4{
	font-weight: bold;
	padding: 10px 0px 0px 10px;
}

.album-date,
.album-descr,
.read-more-album{
	padding: 5px 0px 5px 10px;
}

.album-tags{
	margin-top: 30px;
}

/*Module*/
@media (min-width: 1200px) {
	#content .col-lg-2:nth-child(6n+1),
	#content .col-lg-2:nth-child(6n+1),
	#content .col-lg-3:nth-child(4n+1),
	#content .col-lg-4:nth-child(3n+1),
	#content .col-lg-6:nth-child(2n+1) {
		clear:left;
	}
}
@media (min-width: 992px) and (max-width: 1199px) {
	#content .col-md-2:nth-child(6n+1),
	#content .col-md-2:nth-child(6n+1),
	#content .col-md-3:nth-child(4n+1),
	#content .col-md-4:nth-child(3n+1),
	#content .col-md-6:nth-child(2n+1) {
		clear:left;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	#content .col-sm-2:nth-child(6n+1),
	#content .col-sm-2:nth-child(6n+1),
	#content .col-sm-3:nth-child(4n+1),
	#content .col-sm-4:nth-child(3n+1),
	#content .col-sm-6:nth-child(2n+1) {
		clear:left;
	}
}

/* fixed colum left + content + right*/
@media (min-width: 768px) {
    #column-left  .gallery-layout .col-md-3 {
       width: 100%;
    }

	#column-left + #content .product-layout .col-md-3 {
       width: 50%;
    }

	#column-left + #content + #column-right .product-layout .col-md-3 {
       width: 100%;
    }

    #content + #column-right .product-layout .col-md-3 {
       width: 100%;
    }
}

/* fixed product layouts used in left and right columns */
#column-left .gallery-layout, #column-right .gallery-layout {
	width: 100%;
}

.gallery-thumb{
	border: 1px solid #ddd;
	margin-bottom: 20px;
	overflow: auto;
	border-radius: 5px;
}

.gallery-thumb .image {
    text-align: center;
}

.gallery-thumb .image img {
    margin-left: auto;
    margin-right: auto;
	margin-top: 10px;
}

.gallery-thumb .image a {
    display: block;
}

.gallery-thumb .caption {
    padding: 0 20px;
    min-height: 120px;
}

.gallery-thumb .caption h4{
	font-weight: bold;
}

.gallery-thumb .caption p{
    margin: 0 0 10px;
}