/* Global Stles */
* {
	margin:0;
	padding:0;
}
body {
	font: 100% Arial, Helvetica, sans-serif;
}

#compname {
	position:relative;
	left:30px;
	top:100px;
}
a img { border: 0;}

/* Layout */
#mainpage {
	width:500px;
	margin:auto;
	margin-top:1em;
}
#leftshadow, #rightshadow {
	float:left;
	height:473px;
}
#leftshadow {
	background-image:url('images/layout/leftshadow.png');
	width:2px;
}
#rightshadow {
	background-image:url('images/layout/rightshadow.png');
	width:4px;
}
#pagelayout {
	width:500px;
	clear:both;
}
#pagecontent {
	float:left;
	width:494px;
}
#content {
	/*background-image:url('images/layout/bodybg.png');*/
	background-color:#fff;
	height:400px;
	width:484px;
	clear:both;
	padding:5px;
}

/* Navigation */
#toc {
	/*background-image:url('images/layout/tocbg.png');*/
	float:left;
	width:482px;
	padding:2px;
	border-bottom:1px solid #000;
	border-top:1px solid #000;
	font-size: .85em;
	text-align:right;
	padding-right:10px;
}
#toc a {
	text-decoration: none;
	color: #000;
	font-weight: bold;
	font-size: .9em;
}
#toc a:hover {
	color: #555;
}
#toc ul {
	margin:auto;
}
#toc ul li {
	display:inline;
	margin-left:1em;
}

/* Content Structure */
#pagebody {
	padding: .5em;
	height: 380px;
	width: 465px;
	overflow: auto;
}
p {
	padding-top: .5em;
	padding-bottom: .5em;
}
#pagebody ul {
	margin-left: 2em;
	padding-bottom: .5em;
}

/* Headings */
h1, h2 {
	font-weight: normal;
	border-bottom: 1px solid;
	margin-bottom: .25em;
	color: #000;
}
h1 {
	font-size: 1.7em;
	text-align: right;
}
h2 {
	font-size: 1.1em;
	padding-top: .3em;
	border-bottom-style: dashed;
	clear: both;
}
h3 {
	font-size: .95em;
	padding-top: .3em;
	font-style: italic;
}

/* Tables */
table {
	border-collapse: collapse;
	margin-top: .5em;
	margin-bottom: .5em;
}
td, th {
	border: 1px solid #000;
	padding: .3em;
	font-size: .85em;
	vertical-align: top;
}
th {
	text-align: left;
}
#pagebody td ul { 
	margin: 0; 
	padding: 0;
	list-style: none;
	}

/* Portfolio */
.portfolio_thumb { 
	float: left;
	margin: .5em;
	text-align: center;
	font-size: .8em;
}
.portfolio_thumb a img { 
	border: 1px solid #000;
	}
.portfolio_desc {
	margin-left: 220px;
	font-size: .9em;
}
.portfolio_comments {
	clear: both;
	margin: .5em 2em;
	border: 1px dashed #ccc;
	background: #eee;
	font-size: .8em;
}
.portfolio_comments p.quote {
	text-align: justify;
	padding: .5em;
	font-style: italic;
	padding-bottom: 0;
}
.portfolio_comments p.client {
	text-align: right;
	padding-top: 0;
	padding-right: .5em;
	font-weight: bold;
	}

/* Forms */
input, textarea { border: 1px solid; }
#contact_form dt {
	float: left;
}
#contact_form dd {
	margin-left: 7em;
	margin-bottom: .5em;
}
#contact_form dd input {
	width: 20em;
}
#contact_form #message {
	width: 25em;
	height: 10em;
}
#contact_form #submit {
	margin-left: 8.4em;
}

/* Footer */
#footer {
	background:url('images/layout/bodybottom.png') no-repeat bottom;
	clear:both;
	width:500px;
	height:50px;
}
#foot_text {
	font-size: .7em;
	text-align: center;
	padding-top: 1em;
}
#foot_buttons {
	text-align: center;
	padding-top: .1em;
}
#foot_buttons li {
	display: inline;	
}
#foot_buttons li img {
	width: 80px;
	height: 15px;
}	