body	{
	font-size: 14px;
	font-family: "Trebuchet MS", trebuchet, helvetica, sans-serif;
	color: #666;
	background: url(graphics/bg.jpg) top center no-repeat white;
	}

#logo
	{
	position: absolute;
	top: -40px;
	margin: 0;
	padding: 0;
	}

#logo a
	{
	width: 267px;
	height: 29px;
	display: block;
	background: url(graphics/logo.gif) no-repeat;
	text-indent: -9000px;
	outline: none;
	}

nav #left
	{
	width: 94px;
	height: 57px;
	float: left;
	background: url(graphics/topleft.png) no-repeat bottom left;
	}

nav #right
	{
	width: 342px;
	height: 57px;
	float: left;
	background: url(graphics/topright.png) no-repeat bottom right;
	}

ul#nav
	{
	width: 402px;
	height: 57px;
	margin: 0;
	padding: 0;
	display: block;
	float: left;
	}

#nav li
	{
	width: 134px;
	height: 52px;
	margin: 0;
	padding: 17px 0 0;
	display: block;
	float: left;
	}

#nav li a
	{
	display: block;
	width: 134px;
	height: 35px;
	text-indent: -9000px;
	outline: none;
	}

#nav.home
	{
	background: url(graphics/home.png) no-repeat;
	}

#nav.portfolio
	{
	background: url(graphics/portfolio.png) no-repeat;
	}

#nav.contact
	{
	background: url(graphics/contact.png) no-repeat;
	}

/* ===================== CSS2 compatibility ================ */
/* media queries aren't part of the CSS2 spec, so I'm placing*/
/* these naked styles here to serve as the default. Browsers */
/* that support media queries will accept the later rules.   */

#main
	{
	position: relative;
	top: 0;
	left: 0;
	margin: 150px auto 0;
	width: 840px;
	}

#logo
	{
	right: 0;
	}

nav
	{
	width: 840px;
	height: 57px;
	display: block;
	}

#copy
	{
	width: 648px;
	height: auto;
	min-height: 460px;
	display: block;
	background: url(graphics/copyback.png) repeat-y;
	padding: 38px 95px 0;
	}

footer
	{
	width: 648px;
	height: 37px;
	display: block;
	background: url(graphics/copybottom.png) no-repeat;
	padding: 70px 95px 0;
	margin: 0;
	text-align: center;
	font-size: 11px;
	color: #999;
	}


p#heading
	{
	width: 651px;
	height: 137px;
	margin: 40px 0 -10px;
	background: url(graphics/mainheading1.gif) no-repeat;
	background-size: contain;
	text-indent: -9000px;
	}

#portfoliopreview img
	{
	width: 191px;
	}

/* =============== end CSS2 compatibility ================ */

@media screen and (max-width: 839px) {

#main
	{
	position: relative;
	top: 0;
	left: 0;
	margin: 100px auto 0;
	width: 480px;
	}

#logo
	{
	right: 107px;
	}

nav
	{
	width: 482px;
	height: 57px;
	display: block;
	}

#copy
	{
	width: 370px;
	height: auto;
	display: block;
	background: url(graphics/smallcopyback.png) top left repeat-y;
	padding: 18px 55px 0;
	}

footer
	{
	width: 290px;
	height: 37px;
	display: block;
	background: url(graphics/smallcopybottom.png) no-repeat;
	padding: 70px 95px 0;
	margin: 0;
	text-align: center;
	font-size: 11px;
	color: #999;
	}

nav #left
	{
	width: 35px;
	height: 57px;
	float: left;
	background: url(graphics/topleft.png) no-repeat bottom left;
	}

nav #right
	{
	width: 44px;
	height: 57px;
	float: left;
	background: url(graphics/topright.png) no-repeat bottom right;
	}

p#heading
	{
	width: 370px;
	height: 85px;
	margin: 40px 0 -10px;
	background: url(graphics/mainheading1.gif) no-repeat;
	-moz-background-size: contain;
	text-indent: -9000px;
	}

#portfoliopreview img
	{
	width: 340px;
	}
}

@media screen and (min-width: 840px) {

#main
	{
	position: relative;
	top: 0;
	left: 0;
	margin: 150px auto 0;
	width: 840px;
	}

#logo
	{
	right: 0;
	}

nav
	{
	width: 840px;
	height: 57px;
	display: block;
	}

#copy
	{
	width: 648px;
	height: auto;
	min-height: 460px;
	display: block;
	background: url(graphics/copyback.png) repeat-y;
	padding: 38px 95px 0;
	}

footer
	{
	width: 648px;
	height: 37px;
	display: block;
	background: url(graphics/copybottom.png) no-repeat;
	padding: 70px 95px 0;
	margin: 0;
	text-align: center;
	font-size: 11px;
	color: #999;
	}


p#heading
	{
	width: 651px;
	height: 137px;
	margin: 40px 0 -10px;
	background: url(graphics/mainheading1.gif) no-repeat;
	background-size: contain;
	text-indent: -9000px;
	}

#portfoliopreview img
	{
	width: 191px;
	}
}

p
	{
	letter-spacing: .03em;
	line-height: 1.7em;
	}

#portfoliopreview
	{
	display: block;
	margin-top: 30px;
	padding-bottom: 20px;
	}

#portfoliopreview ul
	{
	padding: 0;
	margin: 0;
	}

#portfoliopreview li
	{
	display: block;
	list-style: none;
	float: left;
	margin: 5px 20px 5px 0;
	}

#portfoliopreview li:last-child
	{
	margin-right: 0;
	}

#portfoliopreview img
	{
	border: 5px solid white;
	-moz-box-shadow: 0 0 3px rgba(0,0,0,.2);
	-webkit-box-shadow: 0 0 3px rgba(0,0,0,.2);
	box-shadow: 0 0 3px rgba(0,0,0,.2);
	}

#portfoliopreview h2
	{
	font-size: 16px;
	font-weight: bold;
	color: #444;
	padding-bottom: 10px;
	margin-bottom: 0;
	}

.portfolioblock
	{
	padding: 35px 0;
	}

.portfolioblock img
	{
	border: 7px solid white;
	-moz-box-shadow: 0 0 3px rgba(0,0,0,.2);
	-webkit-box-shadow: 0 0 3px rgba(0,0,0,.2);
	box-shadow: 0 0 3px rgba(0,0,0,.2);
	}

.portfolioblock .caption
	{
	width: 250px;
	float: right;
	margin: 0 0 50px 35px;
	}

.portfolioblock ul
	{
	margin: 0;
	padding-left: 10px;
	font-size: 12px;
	}

.portfolioblock li
	{
	list-style: none;
	}

.caption h3
	{
	margin-bottom: 5px;
	}

a
	{
	color: #ff9c24;
	text-decoration: none;
	}

h2
	{
	font-size: 18px;
	margin-bottom: 7px;
	}

.indent
	{
	padding-left: 20px;
	}

h1#portfolio
	{
	width: 361px;
	height: 34px;
	background: url(graphics/selectedworks.gif) no-repeat;
	text-indent: -9000px;
	}

h1#contact
	{
	width: 137px;
	height: 34px;
	background: url(graphics/hello.gif) no-repeat;
	text-indent: -9000px;
	}

.clearfix
	{
	clear: both;
	}
