body {
	margin:5px 0px 0px 0px; 
	text-align:center;
}

#mainlayer {
	position:relative; 
	width:770px;  
	z-index:1;  
	border-width:thin;
	overflow:visible;
	text-align:justify;
}

#head {
	position:relative; 
	width:770px;
	height:130px; 
	left:0px;
	top:0px;
	z-index:1;
	background-image:url(images/head2.jpg);
	background-repeat:no-repeat;
	text-align:right;
	vertical-align:top;
}

#topmenu {
	text-align:right;
	color:#6699cc;
	vertical-align:baseline;
}

#columnleft {
	position:relative; 
	width:150px;
	z-index:1;
	border:0px;
	text-align:left;
	float:left;
	margin:0px 10px 0px 0px;
}

#columnright {
	position:relative; 
	width:150px;
	z-index:1;
	border:0px;
	text-align:left;
	float:right;
}

#menuleft1 {
	position:relative; 
	width:148px;
	z-index:2;
	border-left:1px solid #6699CC;
	border-right:1px solid #6699CC;
	text-align:left;
	
}

#menuleft1head {
	position:relative; 
	width:150px; 
	z-index:2;
	margin-top:30px;
	padding-top:5px;
	padding-bottom:2px;
	border:0px;
	text-align:left;
	vertical-align:bottom;
	background-image:url(images/menuhead2.gif);
	background-repeat:no-repeat;
}

#menuleft1foot {
	position:relative; 
	width:150px;
	height:30px; 
	z-index:2;
	border:0px;
	text-align:left;
	background-image:url(images/menufoot2.gif);
	background-repeat:no-repeat;
	padding:0px 0px 0px 0px;
}

#menuleft2 {
	position:relative; 
	width:148px;
	z-index:2;
	text-align:left;
}

.menuright1 {
	position:relative; 
	width:150px;
	z-index:2;
	border:0px;
	margin-top:50px;
	text-align:left;
}

#menuright2 {
	position:relative; 
	width:150px;
	height:200px; 
	z-index:2;
	border:0px;
	margin-top:30px;
	text-align:left;
}

#main {
	position:relative; 
	width:430px; 
	z-index:1;
	border:0px solid #999999;
	margin:10px 10px 0px 15px;
	text-align:left;
	float:left;
}

.portfoliosite {
	width:245px;
	float:left;
	margin-bottom:50px;
}

.portfolioimage {
	float:left;
}

.portfolioimage:hover img {
	border: 1px solid #FFCC33;
}

.portfolioimage img {
	border: 1px solid #ffffff;
}

.portfolioimage:hover{
color: red; /* irrelevant definition to overcome IE bug */
}


#misclink {
	position:absolute;
	width:140px;
	height:115px;
	top:900px;
	right:0px;
	z-index:1;
}


/* fonts */

p,h1,h2,h3,h4,h6,li,td, .quoteby {
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica;	
	color:#666666;
}

h3 {
	color:#FF9900;
	margin-top:-10px;
}

h2, h3 {
	font-size:medium;
}

p {
	line-height:145%;
}

p, li {
	font-size:small;
}

a:link, a:active, a:visited, a:link, a:active, a:visited {
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica;	
	text-align:left;
	text-decoration:none;
}

.quote {
	font-family:Georgia, "Times New Roman", Times, serif;
	color:#9966FF;
	font-style:italic;
	line-height:100%;
	text-align:right;
	margin:0px 20px 0px 20px;
}

.quoteby {
	font-size:smaller;
	text-align:right;
	line-height:100%;
}

.reg {
	color:#6699cc;
}

.menuhead {
	color:#ffffff;
	margin-left:10px;
}

.menuitem {
	color:#6699cc;
	line-height:150%;
	margin-left:10px;
}

.rightitem {
	color:#6699cc;
}

a:link, a:visited {
	color:#6699cc;
}

a:link.menuhead, a:visited.menuhead {
	color:#ffffff;
}

a:active, a:hover, a:hover.menuhead {
	color:#FFCC33;
}
