body {
  text-align: center;
  background-color: #fffff1;
  color: black; }

body, input, textarea {
  font-family: "gill sans", "helvetica neue", "book antiqua", helvetica, arial, sans-serif;
  font-weight: 200;
  font-size: 16px; }

a {
  color: #79a269;
  text-decoration: none;
  outline: none; }
  a:hover {
    text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 200;
  margin-top: 0px; }

p {
  line-height: 160%; }

label {
  cursor: pointer; }

input[type=text], textarea {
  padding: 6px;
  font-size: 19px;
  border: solid 1px rgba(0, 0, 0, 0.5); }

input[type=submit] {
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border: solid 1px rgba(0, 0, 0, 0.5);
  border-top-color: rgba(0, 0, 0, 0.2);
  border-left-color: rgba(0, 0, 0, 0.2);
  background-color: #79a269;
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.6)), to(rgba(255, 255, 255, 0.2)));
  background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2));
  color: #fffff1;
  text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
  font-size: 19px; }
  input[type=submit]:active {
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(255, 255, 255, 0.6)), to(rgba(255, 255, 255, 0.2)));
    background-image: -moz-linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2)); }

.fieldWithErrors label {
  text-shadow: 0px 1px 2px red;
  color: rgba(255, 255, 255, 0.85); }
.fieldWithErrors input, .fieldWithErrors textarea {
  -webkit-box-shadow: 0px 0px 5px red;
  -moz-box-shadow: 0px 0px 5px red; }

#content {
  width: 900px;
  margin: 0px auto;
  text-align: left; }

ul#nav {
  list-style-type: none;
  padding: 0px;
  margin: 0px;
  position: relative; }
  ul#nav a {
    color: #fffff1;
    padding: 80px 20px 0px 10px; }
  ul#nav h1, ul#nav li {
    line-height: 32px; }
  ul#nav h1 {
    position: absolute;
    right: 0px;
    bottom: 6px;
    width: 240px;
    word-spacing: -0.4ex;
    margin: 0px;
    white-space: nowrap;
    font-size: 2.2em; }
    ul#nav h1 a {
      display: inline-block;
      color: black; }
    ul#nav h1 strong {
      font-weight: 400; }
  ul#nav li {
    font-size: 24px;
    display: inline; }
    ul#nav li a {
      -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
      -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
      float: left;
      text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.8);
      color: #eeeeee;
      text-decoration: none !important;
      border-bottom: solid 2px rgba(0, 0, 0, 0.4);
      background-repeat: no-repeat; }
      ul#nav li a.selected, ul#nav li a:hover {
        border-bottom-color: #79a269;
        color: #fffff1; }
      ul#nav li a:hover {
        -webkit-transition-property: border-bottom-color, color;
        -webkit-transition-duration: 200ms; }
      ul#nav li a.about {
        background-image: url("/images/about.png");
        background-image: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(70%, transparent), color-stop(70%, rgba(0, 0, 0, 0.2)), to(rgba(0, 0, 0, 0.2))), url("/images/about.png");
        background-image: -moz-linear-gradient(transparent, transparent 70%, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0.2)), url("/images/about.png"); }
      ul#nav li a.blog {
        background-image: url("/images/blog.png");
        background-image: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(70%, transparent), color-stop(70%, rgba(0, 0, 0, 0.2)), to(rgba(0, 0, 0, 0.2))), url("/images/blog.png");
        background-image: -moz-linear-gradient(transparent, transparent 70%, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0.2)), url("/images/blog.png"); }
      ul#nav li a.contact {
        background-image: url("/images/contact.png");
        background-image: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(70%, transparent), color-stop(70%, rgba(0, 0, 0, 0.2)), to(rgba(0, 0, 0, 0.2))), url("/images/contact.png");
        background-image: -moz-linear-gradient(transparent, transparent 70%, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0.2)), url("/images/contact.png"); }
      ul#nav li a.home {
        background-image: url("/images/home.png");
        background-image: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(70%, transparent), color-stop(70%, rgba(0, 0, 0, 0.2)), to(rgba(0, 0, 0, 0.2))), url("/images/home.png");
        background-image: -moz-linear-gradient(transparent, transparent 70%, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0.2)), url("/images/home.png"); }
      ul#nav li a.portfolio {
        background-image: url("/images/portfolio.png");
        background-image: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(70%, transparent), color-stop(70%, rgba(0, 0, 0, 0.2)), to(rgba(0, 0, 0, 0.2))), url("/images/portfolio.png");
        background-image: -moz-linear-gradient(transparent, transparent 70%, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0.2)), url("/images/portfolio.png"); }
      ul#nav li a.services {
        background-image: url("/images/services.png");
        background-image: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(70%, transparent), color-stop(70%, rgba(0, 0, 0, 0.2)), to(rgba(0, 0, 0, 0.2))), url("/images/services.png");
        background-image: -moz-linear-gradient(transparent, transparent 70%, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0.2)), url("/images/services.png"); }

#page {
  clear: both;
  background-color: #e0e0d4;
  background-color: rgba(0, 0, 0, 0.1);
  padding: 2em 10px;
  text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.5); }
  #page .pullout {
    float: right;
    width: 220px; }

#footer {
  font-size: 12px;
  padding: 1em 10px;
  text-align: center; }

.clear {
  clear: both; }

a.thumb img {
  width: 75px;
  height: 75px;
  border: solid 2px #fffff1; }
a.thumb.selected img {
  border-color: #79a269;
  -webkit-transition: border-color 200ms linear; }

#portrait {
  position: relative; }
  #portrait img {
    position: absolute;
    border: solid 5px #fffff1;
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4); }

body.index-index a.thumb img {
  vertical-align: -30%; }
body.index-index #portrait {
  float: right;
  width: 480px; }
body.index-index #about {
  margin-right: 500px; }
body.index-index #footer {
  text-align: left; }

body.index-portfolio {
  overflow-y: scroll; }
  body.index-portfolio #page {
    min-height: 420px; }
  body.index-portfolio #portrait {
    margin-right: 240px; }
  body.index-portfolio .pullout {
    text-align: center; }
  body.index-portfolio ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px; }
  body.index-portfolio .sets {
    margin: 0px auto; }
    body.index-portfolio .sets h3 {
      font-size: 19px;
      position: relative; }
    body.index-portfolio .sets a.back {
      display: none;
      position: absolute;
      left: 0px;
      font-size: 14px;
      margin-top: 4px; }
  body.index-portfolio .set.closed, body.index-portfolio li.spacer {
    position: relative;
    display: inline-block;
    width: 79px;
    height: 130px;
    margin: 5px;
    overflow: show;
    vertical-align: top; }
    body.index-portfolio .set.closed li, body.index-portfolio li.spacer li {
      position: absolute;
      top: 0px;
      left: 0px; }
    body.index-portfolio .set.closed h4, body.index-portfolio li.spacer h4 {
      margin-top: 85px;
      width: 79px;
      overflow: hidden;
      text-overflow: ellipsis; }
  body.index-portfolio .set.open li {
    position: static;
    display: inline-block;
    margin: 5px; }
  body.index-portfolio .set.open h4 {
    display: none; }

body.contacts-new #address p, body.contacts-create #address p {
  font-size: 19px;
  line-height: 125%; }
  body.contacts-new #address p.address, body.contacts-create #address p.address {
    font-size: 16px; }
body.contacts-new input[type=text], body.contacts-new textarea, body.contacts-create input[type=text], body.contacts-create textarea {
  width: 500px;
  opacity: 0.9;
  filter: alpha(opacity=90); }
body.contacts-new textarea, body.contacts-create textarea {
  height: 12em; }

body.index-about img {
  float: left;
  border: solid 5px #fffff1;
  -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4); }
body.index-about h1, body.index-about p {
  margin-left: 330px; }
body.index-about p {
  text-align: justify;
  margin-right: 35px; }

body.posts-index .body {
  margin-bottom: 2em; }

body.posts-new #page, body.posts-edit #page, body.posts-create #page, body.posts-update #page {
  margin-right: 240px; }
body.posts-new input[type=text], body.posts-new textarea, body.posts-edit input[type=text], body.posts-edit textarea, body.posts-create input[type=text], body.posts-create textarea, body.posts-update input[type=text], body.posts-update textarea {
  width: 100%; }

body.index-error #page {
  text-align: center; }
  body.index-error #page h1 {
    font-size: 32px; }
