@charset "utf-8";
/* CSS Document */

a img {
    border:0;
}

.photogallery .category, .photogallery .photo {
    		float: none;
			display: inline-block;
            margin-right: 5px;
            margin-bottom: 5px;
            text-align: center;
            font-size:11px;
            color:#333;
            width:112px;
			margin-right: 26px;
			margin-top: 5px;
			vertical-align: top;
}

.photogallery .category, .photogallery .photo {
	zoom: 1;
	*display: inline;
}

.photogallery .category label, .photogallery .photo label {
    padding:2px 5px;
    display:block;
	clear: both;
	line-height: 16px;
}

.photogallery .category a, .photogallery .photo a {
            color:#B21F17;
			display: block;
			text-align: center;
			width: 112px;
}

.photogallery img {
            border: 13px solid #e5e5e5;
}

.photogallery .categoryTitle {
    font-weight:bold;
    font-size:16px;
    color:#333;
     margin: -20px 0 20px;
	clear: both;
}

@media only screen and (max-width: 481px) {
	.photogallery .categoryTitle {
		margin-top: 20px;
	}
}

.pager { position: absolute; right: 6.4em; top: 0.85em; }

@media screen and (min-width: 0px) and (max-width: 767px) {
	.photogallery .category, .photogallery .photo {
		float: none;
		display: inline-block;
		vertical-align: top;
		margin-right: 20px;
	}
	
	.mobile-gallery { padding-right: 0%; }
	
	.photogallery .categoryTitle { font-size: 12px; }

}
