/*       Layout
======================= */
body {
        margin: 0px;
        padding: 0px;
        text-align: center;
        background:#7f7861 url("../images/body-bg.gif") no-repeat 50% 0;
}
div {
        position: relative;
}
img {
        border:0;
}
#pagewidth{
        width:870px;
        text-align:left;
        margin-left:auto;
        margin-right:auto;
}
#header{
        width:100%;
        height:200px;
        z-index: 100;
}
#wrapper{
        clear:both;
        z-index: 1;
}
#leftcol{
        width:200px;
        float:left;
}
#maincol{
        float: left;
        display:inline;
        width: 870px;
        padding-top:45px;
 }
#footer{
        clear: both;        
        padding:60px 10px 20px;
}
.left {
        float:left;
}
.right {
        float:right;
}
.txtl{
   text-align:left;
}
.txtc{
   text-align:center;
}
.txtr{
   text-align:right;
}
.clear {
        clear:both;
}
.red {
        color:#F00;
}

 /*       Text
======================= */
body, td, div, select, textarea, input {
        font: 12px  "Trebuchet MS", Arial, Verdana, Helvetica, sans-serif;
        color: #fff;
}
p, h1, h2, h3, table, form {
        margin-left: 30px;
        margin-right: 30px;
}
ul,ol{
        margin:0em 30px 1em 60px; /* Right = same as other elements. Left = Left of other elements +30 */
        padding: 0px;
}
ul li, ol li{
        line-height:1.3em;
        margin: .25em 0;
        padding: 0;
}
li ol, li ul{
        margin-left: 30px;
        margin-top:0;
        margin-bottom:0;
}
table{
        margin-right:0;
}
p {
        margin-top:0;
        margin-bottom:1em;
        line-height:1.3em;
}
h1 {
        font-size: 2.5em;
        margin-top: 0;
        margin-bottom: .3em;
        color: #d4cdb7;
        text-transform: lowercase;
        font-weight: normal;
}
h2 {
        font-size: 1.2em;
        margin-top: 1.5em;
        margin-bottom: .3em;        
}
h3 {
        font-size: 1em;
        margin-top: 1em;
        margin-bottom: .3em;
}
h2, h3, legend {
        color:#dbba4e;
        text-transform: uppercase;
        font-weight: normal;
}


/*      Vertical Nav
========================= */

.menu-home {    
       background: url("../images/menu-bg.gif") no-repeat -785px 0;
}
.menu-portfolio {
       background: url("../images/menu-bg.gif") no-repeat -715px 0;
}
.menu-resume {
       background: url("../images/menu-bg.gif") no-repeat -615px 0;
}
.menu-bio {
       background: url("../images/menu-bg.gif") no-repeat -525px 0;
}
.menu-contact {
       background: url("../images/menu-bg.gif") no-repeat -380px 0;
}

/*
.menu-news {
       background: url("../images/menu-bg.gif") no-repeat -380px 0;
}
.menu-work {
       background: url("../images/menu-bg.gif") no-repeat -310px 0;
}
.menu-reviews {
       background: url("../images/menu-bg.gif") no-repeat -220px 0;
}
.menu-contact {
       background: url("../images/menu-bg.gif") no-repeat -130px 0;
}
*/


#nav {
        list-style:none;
        width:800px;
        margin:0 0 0 30px;
        padding:0;
        line-height:1em;
        position: absolute;
        height: 30px;
        top: 155px;
        /*background: url("../images/menu-bg.gif") no-repeat -785px 0;*/
}
#nav li{
        position:relative;
        float:left;
        margin:0;
        padding:0;
}
#nav li a {
        display:block;
        padding:16px 30px 5px 0px;
        font-size: 1.1em;
        text-decoration:none;
        color:#fff;
        text-transform: uppercase;
        white-space:nowrap;
        text-align: left;
}

#nav li a:hover,
#nav li a.current  {
        color:#dbba4e;
}

#nav li a.current  {
	   background: url("../images/menu-item-bg.gif") no-repeat 0 top;
}

#nav ul {
    float: left;
    list-style: none;
    line-height: 1em;
    padding: 3px 0;
    margin: 0 0 0 -12px;
    width: 131px;
    background: url("../images/submenu-bg.gif") no-repeat 0 bottom;
    position: absolute;
    left: -999em;
    height: auto; 
    z-index: 100;
}

#nav li li a{
   padding:2px 5px 2px 13px;
   margin: 0;
   width: 131px; /*  total width of submenu */
   w\idth: 116px; /* sbmh fix ie5.5 (width - padding - border = total) */
   white-space:normal;
   color: #474337;
   text-transform: lowercase;
   font-size: 0.9em;
   background: none;
}

#nav li ul a:hover { /* submenu hover */
	color: #fff;
	text-decoration: underline;
}
#nav li:hover ul,
#nav li.sfhover ul /*suckerfish*/{
    left: auto;
}
#nav li:hover {background-position: 0 0;} /* IE7 Sticky Fix */


/*       Links
======================= */
a {
        color:#dbba4e;
        text-decoration:underline;
}
a:hover {
        color:#dbba4e;
        text-decoration:none;
}

/*       Header
========================= */
#header h1 {
        margin: 0;
        position: absolute;
        height: 65px;
        width: 250px;
        top: 79px;
        left: 30px;
        overflow: hidden;
}
#header h1 a{
        display:block;
        height:100%;
        width: 100%;
}
#header h1 a span{
        display:block;
        height:100%;
        width: 100%;
        position:absolute;
        top:0;
        left:0;
        background: url("../images/logo.gif") no-repeat; /* logo image */
        cursor:pointer; /* ie */
}


/*       Maincol
========================= */
.home {
	text-align: center;
	padding: 25px 0;
}

.home img {
	border: 5px solid #fff;
	margin: 0 48px;
}

.home img.small {
	margin: 0 0 50px 0;
}

.gallery {
	margin: 0 0 0 30px;
	width: 810px;	
}

.gallery .small{
    float: left;
    border: 2px solid #fff;
    margin: 0 5px 5px 0;
    cursor: pointer;
}

.gallery .text {
   background: url("../images/portfolio-text.gif") no-repeat;
   border: none; 
   width: 65px;
   height: 65px;
}

.gallery #main{
	float: right;
}

/*       Footer
========================= */
#footer a, #footer a:hover{
        color:#484435;
        text-decoration: underline;
}

#footer p{
        margin:0;
        color:#dec575;
        font-size: 0.85em;
        text-align: center;
}

#footer p span{
        color:#484435;
        padding-left: 5px;
}

/*     Float containers fix - Thanks to: http://www.csscreator.com/attributes/containedfloat.php
=============================== */
.clearfix:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
     }
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */


/*     printer styles
========================= */
 @media print{
/* Hide unwanted elements */
#nav, #header h1 a span{display:none;}
/* Kill floats and backgrounds */
body #pagewidth, #maincol, #wrapper, body, #footer, #header, #header h1, #header h1 a,#footer p{width:100%; float:none; background:none;}
/* Set margins to 0 */
p, h1, h2, h3, table {margin-left:0;margin-right:0;}
ul, ol {margin-left:30px; margin-right:0;}
#maincol {padding-top:0;}
/* Make texts black */
p, li, #footer p, #footer p a{color:#000;}
/* Print Logo as text */
#header,#header h1, #header h1 a{ width: auto; height:auto; text-indent:0; position:static;top:0;left:0;}
#header h1{ margin-bottom:1em;}
.home {padding: 0; text-align: left}
.home img, .home img.small {padding: 0; margin: 0;}
}