* {
	margin: 0;
	padding: 0;
}

body {
	font-family: arial, courier, helvetica;
	font-size: 11px;
	line-height: 14px;
	background: #f9fae7;
}

body.index #footer {
	float: left;
	position: static !important;
	margin: 0 0 15px 0 !important;
}


/*object, embed {
	padding:0 10px 0 10px;
	border-right: 1px dashed black;
	border-left: 1px dashed black;
}*/


img {
	border:0;
}

a {
	color: #000;
	text-decoration: none;
}

#page {
	width: 930px;
	margin: 15px 0 0 100px;
}



#content {
	padding-top: 30px;
	float: left;
}

.blue {
	background: #f5f4f6;
	width: 300px;
	height: 183px;
	position: absolute;
	top: 0px;
	left: 0px;
}

#text h1 {
	color: #000;
	font-family: 'Courier New', monospaced;
	font-weight: normal;
	text-transform: uppercase;
	font-size: 22px;
	line-height: 32px;
}


#portfolio-index {
	margin-top: 20px;
	float: left;
	width: 970px;
	font-family: arial;
}

#portfolio-index img {
	border:0;
	float: left;
}

.portfolio {
	float: left;
	margin-bottom: 15px;
}

.portfolio p {
	width: 150px;
	float: right;
	padding-left: 15px;
}

p.caption {
	text-align: right;
	padding-right: 10px;
}

.portfolio img {
	width: 750px;
}

#text {
	width: 160px;
	padding: 0 15px 15px;
	position: fixed;
	left: 85px;
	background: #f9fae7;
	color: #000;
}

#text p {
	padding-top: 10px;
}

#text a {
	text-decoration: underline;
}

#text h2 {
	padding-top: 5px;
	font-family: times new roman, times, serif;
	font-style: italic;
	font-size: 10px;
	color: #fff;
	padding: 0;
	margin-bottom: 8px;
}

#gallery ul {
	list-style: none;	
	margin-left: 200px;
	overflow-x: auto;
}


#gallery ul li {
	float: left;
}

#gallery ul li p {
	margin: 0 0 0 10px;
}

#gallery ul li img {
	margin-right: 10px;
}

#gallery ul li object {
	margin: 0 10px 0 0;
}

#nav, #nav ul { /* all lists */
	margin: 0;
	list-style: none;
	position: fixed;
	top: 0;
	padding: 15px 0 3px 0;
	left: 100px;	
	width: 970px;
	background: #f9fae7;
}

#nav a {
	display: block;
	font-family: courier new;
	text-transform: uppercase;
	font-size: 12px;
}

#nav a.active, #nav a:hover {
	text-decoration: underline;
}

ul#nav li a.title {
	background: #000;
	color: #fff;
	padding: 3px;
	margin: -3px;
	font-weight: bold;
}

#nav a:hover {
	display: block;
	
}

#nav li { /* all list items */
	float: left;
	padding: 0 17px 0 3px; /* width needed or else Opera goes nuts */
}

#nav li ul { /* second-level lists */
	position: absolute;
	width: 10em;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	z-index: 10000; 
	top: 27px;
}

#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}

#nav li ul.projects {
	width: 150px;
	padding-top: 0;
}

#nav li ul.links {
	padding: 5px 3px;
	margin-left: -3px;
	background: #f5f4f6;
	width: 150px;
}

#nav li ul li {
	padding-bottom: 5px;
}

#nav li ul li a, #nav li ul li a:hover {
	color: #000;
	text-transform: capitalize;
}

@-moz-document url-prefix() { 
			#portfolio-index { margin-top: 5px; }
			#footer { top: 0 !important; top: 560px !important; } 
		} 
		
#footer {
	font-size: 10px;
	text-align: left;
	margin-top: 30px;
	position: fixed;
	left: 100px;
	top: 600px;
}

