html, body, img { margin: 0; padding: 0; }
a img { border-width: 0; }

body {
	text-align: center;
	font-size: small;
	font-family: "Lucida Grande", Arial, Geneva, Helvetica, sans-serif;
	}

h1 { font-size: 150%; }
h2 { font-size: 140%; }
h3 { font-size: 130%; }
h4 { font-size: 120%; }
h5 { font-size: 110%; }

h1, h2, h3, h4, h5 {
	margin: 0.5em 0 0.3em 0;
	color: #eee;
	line-height: 1.2;
	font-family: "Lucida Grande", Arial, Geneva, Helvetica, sans-serif;
	}

p {
	margin: 0.5em 0 0.3em 0;
	font-size: 100%;
	line-height: 1.2;
	}

p.note {
	font-size: 85%;
	font-style: italic;
	}	

p.note span { color: #eee; }
	
ul li, ol li { font-size: 95%; }

a:link { color: #FF9900; text-decoration: none; }
a:visited { color: #ccc; text-decoration: none; }
a:hover { text-decoration: underline; }

table { font-family: inherit; }

cite {
	color: #eee;
	font-style: italic;
	}

#wrap {
	width: 800px;
	margin: 40px auto 8px auto;
	text-align: left;
	border: 2px solid #66ADE3;
	background: #333333 url(../images/bk-wrap.jpg) 0 0 no-repeat;
	}

#header {
	height: 73px;
	/*color: #662C91;*/
	background: transparent url(../images/spacer.gif) 0 0 no-repeat;
	}

#header p {
	margin: 0 0 0 30px;
	padding-top: 11px;
	font-size: 150%;
	font-weight: bold;
	}

#header p span { color: #FFF; }

#main {
	float: right;
	display: inline;
	width: 504px;
	margin-right: 112px;
	}
	
#main p {
	color: #fff;
	}
	
#homeBody #main img { height: 228px; margin-top: 50px; }

#main p.tag {
	margin-bottom: 40px;
	color: #fff;
	text-align: center;
	font-size: 140%;
	}

#nav {
	float: left;
	display: inline;
	width: 118px;
	margin: 164px 0 0 35px;
	padding: 0;
	list-style: none;
	}

#nav li {
	width: 122px;
	}

#nav li a {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
	}

#nav li#smartcars a { height: 28px; margin-bottom: 4px; background: transparent url(../images/bt-nav-smartcars.gif) left bottom no-repeat; }
#nav li#projects a { height: 28px; margin-bottom: 4px; background: transparent url(../images/bt-nav-projects.gif) left bottom no-repeat; }
#nav li#services a { height: 28px; margin-bottom: 3px; background: transparent url(../images/bt-nav-services.gif) left bottom no-repeat; }
#nav li#home a {  height: 28px; background: transparent url(../images/bt-nav-home.gif) left bottom no-repeat; }

#nav li a#current,
#nav li#smartcars a:hover,
#nav li#projects a:hover,
#nav li#services a:hover,
#nav li#home a:hover { background-position: left top; }

#galleryBody #main {
	float: right;
	width: 582px;
	margin: 12px 35px 20px 0;
	}

#main .thumb {
	float: right;
	width: 184px;
	height: 94px;
	margin: 6px 0 0 6px;
	/*background: transparent url(../images/border-thumbs.gif) 0 0 no-repeat;*/
	}

/* For IE Win
----------------------------------------------- */
/* Hide from IE5-mac. Only IE-win sees this. \*/
* html #main .thumb { margin-top: 3px; }
/* End hide from IE5/mac */

.thumb img {
	border: 2px solid #66ADE3;
	}

#servicesBody #main {
	width: 500px;
	margin-right: 80px;
	margin-bottom: 30px;
	}

#footer {
	width: 800px;
	margin: 8px auto;
	color: #666;
	text-align: right;
	font-size: 80%;
	}

.hide,
#nav li a span {
	position: absolute;
	display: block;
	top: -10000px;
	left: -10000px;
	font-size: 1px;
	}


.clearB { clear: both; }
.left	{ float: left; }
.right	{ float: right;
	padding-left: 20px; }