  
/* body * {
	margin: 0;
	padding: 0;
  }
  
.content
{
width: 1000px
}
*/
.center
{ 
text-align: center;
}

ul#grid {
	list-style: none; /* was 20 */
	width: 378px;  /*was 465*/
	height: 381px; /* was 384 */
	margin-top: 2px;
	margin-left: 13px; /* was 10 */
  }

#grid li {
	float: left;  /* was 5 10 5 */
	margin-top: 9px;
	margin-bottom: 9px; /* was 9 */
	margin-left: 9px;
	margin-right: 9px;
	height: 115px;
	width: 102px;
	background-color: #333;
  } 
  
.portfolio {
	padding: 0px; /* was 50px */
	width: 376px; /*was 438*/
	height: 402px; /* WAS 450 */
	/* text-align: center; */
	margin: 0px;
	text-align: left;
	position: absolute;
	left: 491px;
	top: 8px;
  }
  
.mainimage {
	font-family: bbdfont, Verdana, Geneva, sans-serif;
	font-size:16px;
	color:#fff;
	padding: 0px; /* was 50px */
	/*background-color: #ffd7ce;*/
  width: 478px; /*was 475 then 500 */
	height: 381px; /* was 384 */
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom:0px;
	margin-left: 0px;
	/* text-align: center; */
	margin:auto;
	position: absolute;
	left: 18px;
	top: 18px;
  }
  
.portfolio p {
	font-size: 15px;
	color: #000;
	width: 300px;
  }

#grid li a:hover img {
	opacity:0.3;
	filter:alpha(opacity=30);
	height: 115px;
	width: 102px;
	background-color: #000;
  }

#grid li a:visited img {
	outline: none;
  }

#grid li img {
	background-color: #000; /* was white */
	/*  padding: 3px; margin: 4px;  was 3 & 4*/
  border: 0px solid #ccc; /* was 1 */
	width: 102px; /* was 129 or 102*/
	height: 115px; /* was 145 or 118*/
  }
  
 #vertalign {
	line-height:390px;
}
