/*
Theme Name: Simon Wacker
Theme URI: http://www.simonwacker.com
Description: Theme for 'simonwacker.com'.
Version: 1.0
Author: Simon Wacker
Author URI: http://www.simonwacker.com
*/

/***************************/
/********** RESET **********/
/***************************/

*, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, th, td {
  margin: 0;
  padding: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
fieldset, img {
  border: 0;
}
address, caption, cite, code, dfn, em, strong, th, var {
  font-style: normal;
  font-weight: normal;
}
ol, ul {
  list-style: none;
}
caption, th {
  text-align: left;
}
h1, h2, h3, h4, h5, h6, small {
  font-size: 1em;
}
q:before, q:after {
  content: '';
}
a, a:link, a:visited, a:hover, a:active {
  text-decoration: none;
}

/*************************/
/********** ??? **********/
/*************************/

body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 0.75em;
  min-width: 1000px;
}
p {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.center {
  width: 1000px;
  margin: 0 auto;
}
.margin {
  padding: 0.75em 1.25em;
}
.clear {
  clear: both;
}

/****************************/
/********** HEADER **********/
/****************************/

#header {
  position: relative;
  height: 75px;
  background: #ade;
}
#header .margin {
  padding: 0 1.25em;
}
#header h1 {
  padding: 28px 0;
}
#header h1 a, #header h1 a:link {
  font-size: 1.5em;
  color: #3d4550;
}
#header .description {
  display: none;
}
#header ul {
  position: absolute;
  bottom: 0;
  width: 970px;
  font-size: 1.25em;
  font-weight: bold;
  text-align: center;
  padding: 0.5em 0;
  list-style: none;
}
#header li {
  display: inline;
}
#header li a {
  position: relative;
  padding: 0.5em;
  color: #3d4550;
  background-color: #91bccb;
}
#header li a:hover, #header li a:active, #header li.checked a {
  color: #fff;
  background-color: #3d4550;
}
#header li.checked a {
}

/**********************************/
/********** INTRODUCTION **********/
/**********************************/

#introduction {
  color: #fff;
  background: #3d4550 url(img/introduction.gif) repeat-x top;
}
#introduction h2 {
  display: none;
}
#introduction p {
  font-size: 1.25em;
}
#introduction a {
  color: #fff;
  text-decoration: underline;
}
#introduction a:hover, #introduction a:active {
  color: #3d4550;
  background-color: #fff;
  text-decoration: none;
}

/*****************************/
/********** CONTENT **********/
/*****************************/

#content {
  color: #333;
  padding: 2em 0;
  /*border-top: 0.5em solid #4c545d;*/
  background: #fff url(img/content.gif) repeat-x top;
}
#content h2, #content #sidebar h3 {
  margin: 0 0 1em 0;
  color: #333;
  font-size: 2.5em;
  font-weight: bold;
  padding-bottom: 0.25em;
  border-bottom: 2px dotted #eee;
}
#content h2 a, #content h2 a:link {
  color: #333;
}
#content h2 a:visited {
  color: #333;
}
#content h2 a:hover, #content h2 a:active {
  color: #c00;
}
#content h3 {
  margin: 0 0 1em 0;
  color: #333;
  font-size: 1.5em;
  font-weight: bold;
}
#content h3 a, #content h3 a:link {
  color: #333;
}
#content h3 a:visited {
  color: #333;
}
#content h3 a:hover, #content h3 a:active {
  color: #c00;
}
#content a:link {
  color: #00e;
}
#content a:visited {
  color: #551A8B;
}
#content a:hover, #content a:active {
  color: #c00;
}
#content img.alignleft {
  float: left;
  margin: 0 1em 1em 0;
}
#content img.alignright {
  float: right;
  margin: 0 0 1em 1em;
}
#content img.aligncenter {
  display: block;
  margin: 0 auto;
}
#content abbr, #content acronym {
  cursor: help;
  border-bottom: 1px dotted #333;
}
#content em {
  background-color: #feffc0;
}
#content .odd {
  background-color: #fbfbfb;
}
#content small {
  font-size: 0.75em;
}
#content ul {
  margin: 0.5em 0;
  list-style: disc;
}
#content ol {
  margin: 0.5em 0;
  list-style: decimal;
}
#content li {
  margin-left: 1.75em;
}
#content .block {
  margin-bottom: 3em;
}
#content .block .block {
  margin-bottom: 2em;
}
#content pre, #content .ch_code_container {
  margin: 0.5em 0;
  font-size: 1.25em;
  background-color: #F7F9FA;
  border: 1px dashed #8CACBB;
}
#content .ch_code_container ol {
  margin: 0.5em;
  margin-left: 1.5em;
  list-style: decimal;
}
#content form div {
  margin-bottom: 0.5em;
}
#content label {
  display: block;
}
#content input, #content textarea {
  padding: 0.125em;
}
#content .text {
  background: #fbfbfb;
  border-top: 1px solid #777;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  border-left: 1px solid #777;
}
#content .text:focus {
  background: #fff;
}
#content .button {
  background: #ccc;
  border-top: 1px solid #ddd;
  border-right: 1px solid #777;
  border-bottom: 1px solid #777;
  border-left: 1px solid #ddd;
}
#content .button:hover {
  background: #dadada;
}
#content .button:active {
  border-top: 1px solid #777;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  border-left: 1px solid #777;
}

/**************************/
/********** MAIN **********/
/**************************/

#content #main {
  float: left;
  width: 750px;
  border-right: 2px dotted #eee;
}

/*****************************/
/********** SIDEBAR **********/
/*****************************/

#content #sidebar {
  width: 250px;
  margin-left: 750px;
}
#content #sidebar h2 {
  display: none;
}
#content #sidebar h3 {
  font-size: 1.5em;
}
#content #sidebar .block {
  margin-bottom: 2em;
}

/**************************/
/********** HOME **********/
/**************************/

#content.home h2 {
  font-size: 1.5em;
}
#content.home p {
  font-size: 1.25em;
}
#content.home img {
  display: block;
  margin: 0 auto;
}
#content.home ul {
  list-style: none;
  text-align: center;
}
#content.home li {
  float: left;
  width: 31%;
  margin: 0;
  margin-top: 1em;
  padding: 0;
}
#content.home .project {
  padding-right: 1em;
  /*background-color: #abe;*/
}
#content.home .website {
  padding: 0 1em 0 1em;
  border-left: 2px dotted #eee;
  border-right: 2px dotted #eee;
  /*background-color: #bea;*/
}
#content.home .book {
  padding-left: 1em;
  /*background-color: #eaa;*/
}

/****************************/
/********** WEBLOG **********/
/****************************/

#content .metadata {
  margin-top: 2em;
  text-align: center;
}
#content .time, #content .metadata {
  color: #777;
}
#content li.categories {
  margin: 0;
  list-style: none;
}
#content .navigation {
  margin-bottom: 2em;
  text-align: center;
  color: #777;
}
#content .navigation li {
  display: inline;
  margin-left: 0;
}
#content .comments ol {
  list-style: none;
}
#content .comments li {
  padding: 0.5em;
  margin: 0;
}
#content .comments cite {
  display: block;
  font-weight: bold;
}
#content .comments .admin {
  border: 0.25em solid #aecea3;
  background-color: #ccf2bf;
}

/*******************************/
/********** PORTFOLIO **********/
/*******************************/

#content.portfolio img {
  float: right;
  margin: 0 0 0.5em 0.5em;
  padding: 2px;
  border: 1px solid #ccc;
}
#content.portfolio a:hover img {
  padding: 0;
  border: 3px solid #c00;
}
#content.portfolio .block {
  clear: both;
}

/***************************/
/********** ABOUT **********/
/***************************/

#content.about #sidebar {
  text-align: center;
}

/*****************************/
/********** CONTACT **********/
/*****************************/

#content.contact p {
  font-size: 2em;
  margin: 0;
  padding: 0;
  padding-top: 0.25em;
}
#content.contact #map {
  float: right;
  padding: 0;
  width: 500px;
  height: 12em;
  border: 0.5em solid #333;
}

/****************************/
/********** FOOTER **********/
/****************************/

#footer {
  height: 10em;
}
#footer h2 {
  display: none;
}
#footer .center {
  width: 500px;
}
#footer #about {
  float: left;
  width: 50%;
  height: 100%;
  color: #eee;
  background: #666 url(img/about.gif) repeat-x top;
  /*border-top: 0.5em solid #979797;*/
}
#footer #about .center {
  margin: 0 0 0 auto;
}
#footer #about img {
  float: right;
  margin: 0.5em 0 0.5em 0.5em;
}
#footer #about a {
  color: #eee;
  text-decoration: underline;
}
#footer #about a:hover, #footer #about a:active {
  color: #222;
  background-color: #eee;
  text-decoration: none;
}
#footer #contact {
  float: left;
  width: 50%;
  height: 100%;
  color: #222;
  /*border-top: 0.5em solid #eaeaea;*/
  background: #ccc url(img/contact.gif) repeat-x top;
}
#footer #contact .center {
  margin: 0 0 auto 0;
}
#footer #contact a {
  color: #222;
  text-decoration: underline;
}
#footer #contact a:hover, #footer #contact a:active {
  color: #eee;
  background-color: #222;
  text-decoration: none;
}