/* HTML elements */
body, input[type=submit] {
  font: normal normal 14px/18px Helvetica, Arial, sans-serif;
}
h1, h2 {
  margin-bottom: 20px;
  margin-top: -5px;
}
h3 {
  margin-bottom: 10px;
}
h1 {
  font-size: 28px;
  line-height: 28px;
}
h2 {
  font-size: 22px;
  line-height: 22px;
}
.content h2 {
  margin-top: 20px;
}
h1.section-title, h2.section-title {
  margin-bottom: 0;
}
h2.block-title {
  margin-top: 0;
}
a:link, a:visited, a:active {
  text-decoration: none;
  color: #3E5780;
}
a:hover {
  text-decoration: underline;
  color: #1F2C40;
}
h2 a:hover {
  text-decoration: none;
}
p {
  margin-bottom: 10px;
}
body {
  background: #fff;
  color: #000;
}
h1, h1 a:link, h1 a:visited, h1 a:hover, h1 a:active, h2, h3 {
  color: #333;
}
h1 a:hover {
  text-decoration: none;
}
abbr, acronym {
  border-bottom: 1px dotted;
}
blockquote {
  padding-left: 40px;
  background: url(../img/quote.png) left top no-repeat;
  font-style: italic;
  min-height: 32px;
  margin-bottom: 10px;
}
pre {
  margin: 10px 0 20px;
}
pre code {
  width: 740px;
  overflow: auto;
}
li pre code {
  width: 712px;
}
.content img {
  border: 5px solid #ccc;
  padding: 5px;
  display: block;
  margin-bottom: 10px;
}
.content {
  font-family: Georgia, Palatino, Times New Roman, serif;
  font-size: 16px;
  line-height: 22px;
}
.content ol, .content ul {
  margin-bottom: 20px;
}
.content li {
  margin-bottom: 5px;
}
.content ol li {
  margin-left: 28px;
}
.content ul li {
  margin-left: 16px;
}
.content dt {
  font-weight: bold;
  margin-bottom: 10px;
}
.content table {
  border-collapse: collapse;
  margin-bottom: 10px;
}
.content dd {
  margin: 0 0 10px 20px;
}
.content th, .content td {
  padding: 5px 10px;
  text-align: left;
  vertical-align: top;
}
.content th {
  border-bottom: 2px solid #ccc;
}
.content td {
  border-top: 1px solid #ccc;
}
label {
  display: block;
  margin-bottom: 5px;
}
.form-checkbox label {
  display: inline;
  margin-bottom: 0;
}
.form-checkbox input {
  position: relative;
  top: 2px;
}
textarea {
  font: 13px/15px normal normal Helvetica, Arial, sans-serif;
}
input[type=text], textarea {
  border: 1px solid #C6CBB1;
  padding: 6px;
  color: #666;
}
input[type=text]:focus, textarea:focus {
  border: 1px solid #636558;
}
input[type=submit] {
  border: 1px solid #AFBF83;
  background-color: #AFBF83;
  color: #60732C;
  padding: 5px;
  font-weight: bold;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
  input[type=submit] {
    padding: 8px;
  }
}
input[type=submit]:hover {
  border: 1px solid #A0BF49;
  background-color: #A0BF49;
  color: #354018;
}



/* Form elements */
.form-element {
  margin-bottom: 20px;
}



/* Page structure */
#head-wrapper, #wrapper {
  margin: 0 auto;
  width: 960px;
}
#header {
  margin-top: 20px;
  margin-bottom: 20px;
  background: transparent url(../img/banner.jpg) 0 0 no-repeat;
}
#wrapper {
  clear: both;
}
#footer .page-section-inner {
  width: 780px;
  clear: both;
  padding: 20px;
}
.page-section {
  background-color: #f3f6e9;
  margin: 0 0 20px 10px;
  padding: 0 20px 0 80px;
  width: 840px;
  position: relative;
}
.page-section-noborder {
  background-color: transparent;
}
.page-section-notfirst {
  background: #f3f6e9 url(../img/page-section-top.png) left top repeat-x;
}
.page-section-highlighted {
  background-color: #C5D7EB;
}
.page-section-nobg {
  background: transparent;
  margin-bottom: 0;
}
#footer {
  text-align: center;
  font-size: 12px;
  line-height: 14px;
  margin-bottom: 0;
}
.page-section-inner {
  width: 740px;
  padding: 5px 20px 5px;
  background-color: #fff;
}
#footer .page-section-inner {
  background-color: transparent;
}


/* Header */
div#site-name, h1#site-name {
  font-weight: normal;
  font-size: 28px;
  line-height: 32px;
  letter-spacing: 4px;
  width: 200px;
  margin-bottom: 0;
  margin-top: -3px;
  float: left;
}
#site-name a {
  background-color: #fff;
  padding-right: 10px;
  padding-bottom: 10px;
}
#site-name a:link, #site-name a:visited, #site-name a:active, h2 a:link, h2 a:visited, h2 a:active, h3 a:link, h3 a:visited, h3 a:active {
  color: #60732c;
}
div#site-name a:hover, h1#site-name a:hover, h2 a:hover, h3 a:hover {
  color: #8ba640;
  text-decoration: underline;
}
h2.section-title a:link, h2.section-title a:visited, h2.section-title a:active {
  color: #1F2C40;
}
h2.section-title a:hover {
  color: #3E5780;
}
#search {
  width: 300px;
  float: right;
}
#search-page {
  width: 300px;
  float: left;
}
#search-page label {
  display: none;
}
#search input, #search-page input {
  font-size: 12px;
  line-height: 12px;
  display: block;
  float: left;
}
#search input[type=text], #search-page input[type=text] {
  width: 200px;
  float: left;
}
#search input[type=submit], #search-page input[type=submit] {
  width: 68px;
  float: right;
  padding: 5px 0;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
  #search input[type=submit], #search-page input[type=submit] {
    padding: 8px 0;
  }
}
.highlighted {
  background-color: #afbf83;
}
#search-suggestion {
  font-size: 18px;
}
#search-suggestion a {
  font-style: normal;
}
#search-suggestion a:link, #search-suggestion a:visited, #search-suggestion a:active {
  background-color: #afbf83;
  color: #60732c;
}
#search-suggestion a:hover {
  background-color: #a0bf49;
  color: #354018;
}



/* Nav */
#nav {
  clear: both;
  height: 36px;
  margin-bottom: 25px;
}
#nav li {
  list-style-type: none;
  display: block;
  float: left;
  width: 172px;
  margin: 0 10px;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 2px;
  font-weight: bold;
}
#nav a {
  display: block;
  width: 152px;
}
#nav a:link, #nav a:visited, #nav a:active, .side-nav a:link, .side-nav a:visited, .side-nav a:active {
  background-color: #C5D7EB;
}
#nav a:link, #nav a:visited, #nav a:active {
  border: 10px solid #C5D7EB;
}
#nav a:hover, .side-nav a:hover {
  background-color: #B5CDE0;
  text-decoration: none;
}
#nav a:hover {
  border: 10px solid #B5CDE0;
  -moz-box-shadow: 1px 1px 12px #333;
  -webkit-box-shadow: 1px 1px 12px #333;
  box-shadow: 1px 1px 12px #333;
}
#nav li.active a:link, #nav li.active a:visited, #nav li.active a:active, .side-nav a.active:link, .side-nav a.active:visited, .side-nav a.active:active, .tags a.active:link, .tags a.active:visited, .tags a.active:active {
  background-color: #a0bf49;
  color: #354018;
}
#nav li.active a:link, #nav li.active a:visited, #nav li.active a:active {
  border: 10px solid #a0bf49;
}



/* Side sections */
.section-side {
  position: absolute;
  top: 0;
}
.section-side-left {
  left: 0px;
}
.section-side-right {
  right: 0px;
}
.section-sideblock {
  width: 80px;
  margin-top: 30px;
  background-color: #fff;
  word-wrap: break-word;
}
.page-section-nobg .section-sideblock {
  margin-top: 0;
}
.active-before {
  margin-bottom: -6px;
}
.active-after {
  position: relative;
  top: -6px;
}



/* Front shyte */
.intro {
  width: 680px;
  padding: 0 30px 30px 10px;
  font-size: 24px;
  line-height: 28px;
  font-style: italic;
  float: left;
}
.intro {
  margin-top: 5px;
}
.intro-wide {
  width: 940px; padding-right: 10px
}
.intro em {
  font: 18px/24px normal normal Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  padding-top: 4px;
  padding-bottom: 8px;
  float: left;
  width: 170px;
  display: block;
}
#wtf {
  font-size: 24px;
  line-height: 28px;
}
.by-the-way, .message {
  font-size: 18px;
  line-height: 22px;
}
#wtf, .by-the-way {
  margin: 0 10px 30px;
  float: right;
  text-align: center;
}
#wtf a, .by-the-way a, .by-the-way-mock-link, .message {
  width: 180px;
  padding: 13px 18px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}
.message {
  width: auto;
  display: inline-block;
  margin: 0 0 20px;
}
#wtf a, .by-the-way a, .tags a, .side-nav a {
  display: block;
  text-decoration: none;
}
#wtf a:link, #wtf a:visited, #wtf a:active, .by-the-way a:link, .by-the-way a:visited, .by-the-way a:active, .tags a:link, .tags a:visited, .tags a:active, .by-the-way-mock-link, .message {
  background-color: #C5A4D3;
  border: 1px solid #C5A4D3;
  color: #361F3F;
}
.tags a.active:hover {
  border: 1px solid #C5A4D3;
}
#wtf a:hover, .by-the-way a:hover, .tags a:hover {
  background-color: #ab61ca;
  border: 1px solid #ab61ca;
  color: #2C1933;
}
.by-the-way-mock-link {
  border: 0;
}
#availability {
  margin-left: 0;
  margin-right: 30px;
  width: 440px;
}
#availability-current {
  width: 160px;
}
#availability-intro {
  width: 420px;
  padding-right: 0;
}
#availability-updated {
  font: normal normal 14px/18px Helvetica, Arial, sans-serif;
  padding-top: 20px;
}
#recent-work {
  margin-right: 0;
  margin-left: 30px;
  width: 440px;
}
#recent-work-intro {
  width: 440px;
  text-align: right;
  padding-right: 0;
}
#recent-work-latest {
  width: 440px;
  padding-right: 0;
}
#recent-work-link {
  float: right;
}
#recent-work-more {
  float: left;
  width: 200px;
  font: normal normal 14px/18px Helvetica, Arial, sans-serif;
  padding-top: 90px;
}



/* Services */
.threecol-feature {
  background-position: 220px 0;
  background-repeat: no-repeat;
}
.threecol-feature li {
  font-size: 18px;
  line-height: 22px;
}
.services-fivecol-item {
  margin-top: 20px;
  margin-bottom: 20px;
}
.services-fivecol-item.first {
  border-left: 80px solid #f3f6e9;
}
.services-fivecol-item.last {
  border-right: 80px solid #f3f6e9;
}
.services-fivecol-item a {
  display: block;
  width: 50px;
  height: 50px;
  margin-left: 45px;
}



/* Thoughts */
.thought-with-comments {
  min-height: 200px;
}
.thought-sans-comments {
  min-height: 120px;
}
.tags, .comment-author, .side-nav {
  padding: 10px 0;
  font-size: 12px;
  line-height: 14px;
}
.list-label, .section-title span {
  font-style: italic;
  font-family: Georgia, Palatino, Times New Roman;
}
.list-label {
  font-size: 18px;
  line-height: 22px;
}
.tags li, .side-nav li {
  list-style-type: none;
}
.tags a, .side-nav a {
  padding: 3px;
  margin: 6px 0;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}
.list-label {
  margin: 0 0 10px;
}
ul.item-list li {
  margin-left: 16px;
}
.date-day, .date-month, .date-year {
  text-align: center;
}
.date-day {
  padding-top: 15px;
  font-size: 36px;
  line-height: 36px;
}
.date-month {
  text-transform: uppercase;
  font-size: 18px;
  line-height: 22px;
}
.date-month-portfolio {
  padding-top: 10px;
}
.date-year {
  padding-bottom: 10px;
  font-size: 18px;
  line-height: 18px;
}
.comment-count {
  padding: 15px 10px;
}
.comment-count a {
  display: block;
  padding-bottom: 16px;
  text-align: center;
  font-size: 34px;
  line-height: 34px;
  text-decoration: none;
}
.comment-count a:link, .comment-count a:visited, .comment-count a:active {
  background: transparent url(../img/comment-tail.png) 36px 56px no-repeat;
}
.comment-count a:hover {
  background: transparent url(../img/comment-tail-hover.png) 36px 56px no-repeat;
}
.comment-count a span {
  display: block;
  padding: 10px 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}
.comment-count a:link span, .comment-count a:visited span, .comment-count a:active span {
  background-color: #afbf83;
  border: 1px solid #afbf83;
  color: #60732C;
}
.comment-count a:hover span {
  background-color: #a0bf49;
  border: 1px solid #a0bf49;
  color: #354018;
}
.page-section-highlighted .comment-author {
  font-weight: bold;
}
.tag-cloud {
  font-size: 22px;
  line-height: 30px;
  float: left;
  width: 600px;
}
.tag-cloud li {
  display: inline;
  list-style-type: none;
}
.thought-years {
  float: right;
  width: 100px;
  padding-left: 40px;
}
.thought-years li {
  list-style-type: none;
  font-size: 28px;
  line-height: 40px;
  width: 80px;
  padding-right: 20px;
  float: left;
}
.previous-link, .next-link {
  display: block;
  width: 350px;
}
.previous-link {
  float: left;
}
.previous-link em, .previous-link a {
  float: left;
  display: block;
}
.previous-link em, .next-link em {
  width: 50px;
}
.previous-link a, .next-link a {
  width: 280px;
}
.previous-link a {
  padding-left: 20px;
}
.next-link a {
  padding-right: 20px;
}
.next-link {
  float: right;
}
.next-link em, .next-link a {
  float: right;
  display: block;
  text-align: right;
}
.cell-expand, .expand-toggle {
  font-size: 14px;
  line-height: 18px;
}
.cell-expand {
  margin-top: 10px;
}
.cell-figure {
  text-align: right;
}



/* Portfolio */
.portfolio-detail {
  float: left;
  width: 550px;
  min-height: 750px;
}
.portfolio-detail-search {
  min-height: 0;
}
.portfolio-detail h2, .portfolio-detail .url {
  width: 275px;
  word-wrap: break-word;
}
.portfolio-detail .url {
  font-family: "Courier New", Courier, monospace;
  font-weight: bold;
}
.portfolio-detail h2 {
  float: left;
}
.portfolio-detail .url {
  float: right;
  text-align: right;
}
#portfolio-thumbnail-list {
  float: right;
  width: 170px;
}
#portfolio-thumbnail-list a {
  display: block;
  padding: 5px;
  margin: 0 10px 10px 0;
  width: 60px;
  float: left;
}
#portfolio-thumbnail-list a.last-col {
  margin-right: 0;
}
#portfolio-thumbnail-list a:link, #portfolio-thumbnail-list a:visited, #portfolio-thumbnail-list a:active {
  border: 5px solid #fff;
}
#portfolio-thumbnail-list a.last {
  margin-bottom: 0;
}
#portfolio-thumbnail-list a.active:link, #portfolio-thumbnail-list a.active:visited, #portfolio-thumbnail-list a.active:active {
  border: 5px solid #AFBF83;
}
#portfolio-thumbnail-list a:hover {
  border: 5px solid #1F2C40;
}
#portfolio-thumbnail-list a.active:hover {
  border: 5px solid #a0bf49;
}
#portfolio-thumbnail-list-empty {
  font-style: italic;
}
p#toggle-fulldesc {
  text-align: right;
}



/* Comments */
.message-form .message-detail-elements {
  float: left;
  width: 240px;
}
.message-form #form-element-comment, .message-form #form-element-message {
  float: left;
  width: 400px;
}
.message-form .message-detail-elements input[type=text] {
  width: 179px;
}
#id_comment, #id_message {
  width: 319px;
  height: 167px;
}
.message-form .submit-post {
  margin-left: 10px;
}
.comment-header {
  padding: 30px 0;
}
.comment-content {
  min-height: 140px;
}
.comment-date .date-day {
  font-size: 28px;
  line-height: 28px;
}
.comment-date .date-month {
  font-size: 14px;
  line-height: 18px;
}
.comment-date .date-year {
  font-size: 14px;
  line-height: 14px;
}



/* Paginator */
.pager {
  margin: 20px auto;
  text-align: center;
}
.pager .page a, .pager .current {
  margin: 0 4px;
  padding: 5px 8px;
  font-weight: bold;
}
.pager .page a {
  text-decoration: none;
}
.pager .page a:link, .pager .page a:visited, .pager .page a:active {
  background-color: #c5d7eb;
  color: #3e5780;
}
.pager .page a:hover {
  background-color: #b5cde0;
  color: #1f2c40;
}
.pager .current {
  background-color: #a0bf49;
  color: #354018;
}



/* Forms */
.form-element {
  position: relative;
}
ul.errorlist li {
  list-style-type: none;
}
ul.errorlist, .error-required {
  color: #f00;
}
.error-required {
  position: absolute;
  top: 0;
  right: 46px;
}
#form-element-message .error-required, #form-element-comment .error-required {
  right: 66px;
}




/* Utility */
.showgrid {
  background: url(../img/12_col.gif) left top repeat-y;
}

