
body {
  background: url(../img/background.gif) repeat-x center top;
  text-align: left;
  margin: 0px;
  padding: 0px;
  font: 11px Helvetica, Arial, Verdana;
  color: #333333;
  background-color: #666666;
}


/*========== LAYOUT ==========*/

#container {
  margin: 0px;
  width: 800px;
}

#header {
  height: 52px;
  width: 574px;
  float: left;
  background: url(../img/head.gif) no-repeat;
}

#navcontainer {
  width:610px;
}

#content {
  background: url(../img/content.gif) repeat-y;
  width: 518px;
  clear: left;
  margin: 0 0 0 52px;
}

#contentinner {
  width: 500px;
  margin: 0 auto;
  padding: 0;
}

#contentinner img {
  margin: 20px 0 10px 0;
}

#text {
  width: 480px;
  margin: 0 auto;
  border: 1px solid #fff;
}

#footer {
  width: 518px;
  background: url(../img/footer.gif) no-repeat;
  height: 10px;
  margin: 0;
}


/*========== TYPOGRAPHY ==========*/

#copy {
  margin-left:62px;
}

.ital {
  font-style: italic;
}

.b {
  font-weight: bold;
}

#text ul {
  list-style-type: square;
  margin-top:0em;
  margin-bottom:1.2em;
}

p {
  margin-top: 0em;
  margin-bottom: 1.4em;
}

/*========== NAVIGATION ==========*/

#nav {
  padding: 0;
  list-style: none;
  margin:0;
}

#nav li, #nav a {
    float:left;
}

#nav a {
    height:30px;
    display:block;
    margin-left:15px;
    margin-top:8px;
}

#nav a.home {
    width: 210px;
    display:block;
    margin-left:0;
}

#nav a.about {
    width: 76px;
    background: url(../img/about.gif) no-repeat;
    display:block;
}

#nav a.about:hover {
    background: url(../img/about_m.gif) no-repeat;    
}

#nav a.blog {
    width: 57px;
    background: url(../img/blog.gif) no-repeat;
    display:block;
}

#nav a.blog:hover {
    background: url(../img/blog_m.gif) no-repeat;    
}

#nav a.work {
    width: 61px;
    background: url(../img/work.gif) no-repeat;
    display:block;
}

#nav a.work:hover {
    background: url(../img/work_m.gif) no-repeat;    
}

#nav a.contact {
    width: 95px;
    background: url(../img/contact.gif) no-repeat;
    display:block;
}

#nav a.contact:hover {
    background: url(../img/contact_m.gif) no-repeat;    
}

/*========== FORM ==========*/

label, input, span.req {
  display: block;
  float: left;
  margin-bottom: 1em;
}

span.req {
  margin-top:1em;
  margin-left: 1em;
}

label {
  width: 5em;
  margin-left: 1em;
  text-align: right;
}

br {
  clear: left;
}

input, textarea {
  border: 1px solid #ccc;
  width: 15em;
  margin-left: 1em;
}

input:focus, textarea:focus {
  border: 1px solid #394cb0;
}

input.sub {
  width: 5em;
  margin-left: 6em;
  margin-top:0.5em;
  display:block;
  margin-bottom: 1em;
}