/* -- photo gallery -- */

ul.photos {
	margin: 0;
	padding: 0;
	display: block;
}

ul.photos li {
	list-style-position: outside;
	list-style-type: none;
	display: inline;
	float: left;
	width: 95px;
	height: 95px;
	margin: 7px;
	overflow: hidden;
    border: 1px solid #aaaaaa;
    border-radius: 0 0 15px 0;
}

ul.photos li.hidden {
	display: none;
}
	
ul.photos li a {
	display: table-cell;
	vertical-align: middle;
	width: 100px;
	height: 100px;
	text-align: center;
    overflow: hidden;
}

ul.photos li img {
	display: block;
	margin: 0 auto;
	border-style: none;
	margin-top: expression( (50-(parseInt(this.offsetHeight)/2))<0 ? "0" : (50-(parseInt(this.offsetHeight)/2)+'px'));
}
