@charset "utf-8";


.gallery{
	width: 798px;
	margin: 0 auto 2em;
	font-size: 90%;
}

.newunit{
	display: table-cell;
	width: 250px;
	height: 225px;
	margin: 5px;
	padding: 2px;
	float: left;
	border: solid 1px #CCC;
	text-align: center;
	border-radius: 2px;
	overflow: hidden;
}

.news p.newunit{
	margin: 5px;
}

.newunit img{
	max-width: 250px;
	max-height: 200px;
	border: none;
}

.newunit .unitLink img{
	height: 200px;
}

a.newunit:hover{
	border-color: #95F;
	text-decoration: none;
}

.gallery .caption{
	font-size: 80%;
}

.gallery.emotion .newunit{
	height: 220px;
}

@media screen and (max-width: 820px) {
	.newunit{
		box-sizing: border-box;
		width: 48%;
		margin: 1%;
		height: auto;
	}

	.newunit img{
		max-width: 100%;
		height: auto !important;
		max-height: 163px;
	}
	
	.gallery{
		width: 100%;
		margin: 0 0 2em;
	}
}