/* RESET. */
*, html {
  margin: 0;
  padding: 0;
}

/* FONTS
 * Folk @font-face declaration*/
@font-face {
  font-family: 'HelsinkiRegular';
  src: url('helsinki/helsinki-webfont.eot');
  src: local('☺'), url('helsinki/helsinki-webfont.woff') format('woff'), url('helsinki/helsinki-webfont.ttf') format('truetype'), url('helsinki/helsinki-webfont.svg#webfont') format('svg');
}

/* TYPOGRAPHY. 
 *    The font-size percentage is of 16px. (0.875 * 16px = 14px) */
body { 
  font-size: 87.5%;
  color: #222;
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
 }

h1,h2,h3,h4,h5,h6 { font-weight: normal; }
h6 { font-size: 1em; font-weight: bold; }

p, li {
  margin-bottom: 1em;
  line-height: 1.5em;
}

pre,code {
  font-family: Monaco, FreeMono, 'Lucida Console', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
  background-color: #EEE;
}

pre {
  margin-bottom: 1.5em;
  line-height: 1.5em;
  padding: 1em;
}

ul, ol {
  padding-left: 2em;
}

a {
  text-decoration: none;
  color: #cf6600;
}

blockquote {
  margin-bottom: 1em;
  padding: 1em;
}

blockquote p {
  border-left: 1px solid #cf6600;
  padding-left: 0.5em;
}

img {
  border: none;
}

.rss {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}

.small {
  color: #777;
  text-transform: uppercase;
  font-size: 0.9em;
}

.error {
  color: #EE2222;
}

/* GENERAL. */

.right {
  float: right;
}


/* LAYOUT. */

html, body {
  width: 100%;
}

hr { display: none; }

.hr {
  clear: both;
  background-image: url("img/hr.png");
  height: 1px;
  margin-bottom: 2em;
  background-repeat: no-repeat;
  background-position: center;
}

body {
  background-color: #FFF;
}

#wrapper {
  width: 70em;
  overflow: hidden;
}

#content {
  width: 37em;
  float: right;
}

#header h1 {
  display: none;
}

#header img {
  margin-bottom: 0.5em;
}

h1, h2, h3 {
  font-size: 2.5em; line-height: 1; margin-bottom: 0.5em; 
  color:#555;
  letter-spacing: -1px;
  font-family: 'HelsinkiRegular', Arial, 'Helvetica Neue', Helvetica, sans-serif;
}

#content div h2, #lionsmane {
  float: right;
}

.preamble {
  border-left: 1px #222 solid;
  padding-left: 1em;
  margin-bottom:5em;
}

/* SIDEBAR. */

#sidebar {
  float: left;
  width: 30em;
  margin-top: 1em;
}

#sidebar div {
  margin-bottom: 2em;
}

.leftside {
  float: left;
  width: 29em;
  margin-left: 1em;
  margin-bottom: 2em;
  clear: both;
}

label {
  color: #777;
  text-transform: uppercase;
  font-weight: bold;
}

/* HEADER. */

#header {
  margin-top: 1em;
  width: 37em;
  float: right;
  overflow: auto;
  text-align: center;
}

#header {
  margin-bottom: 0;
  overflow: hidden;
}

/* ABOUT. */

#about {
  float: left;
  width: 30em;
  height: 37em;
  background-image: url("img/halflion.png");
  background-position: -10px 5px;
  background-repeat: no-repeat;
}

#about p {
  font-family: 'HelsinkiRegular', "Arial Narrow", Georgia, sans-serif;
  font-size: 1.5em;
  line-height: 2em;
  color: #BBB; 
  margin-bottom: 0;
  text-align: right;
  padding: 3px;
}

#about .title {
  color: #333;
  padding: 2px;
}

/* BLOG. */

.post {
  clear: both;
  margin-bottom: 5em;
}

h4 {
  font-size: 1.2em;
  line-height: 1.25;
  font-weight: bold;
  margin-bottom: 0.5em;
}

h3 a {
  color: #555;
}

#content img, #photography img {
  padding: 5px;
  background-color: #F0F0F0;
  border: 1px solid #D0D0D0;
}

.image {
  padding: 5px;
  width: auto;
  background-color: #F0F0F0;
  border: 1px solid #D0D0D0;
  font-size: 0.8em;
  margin-bottom: 1em;
}

.image img {
  padding: 0 !important;
  border: none !important;
}

/* FORMS. */

#comment_form
{
  clear: both;
  margin-top: 5em;
  background-color: #F0F0F0;
  border-top: 1px solid #D0D0D0;
  padding: 3em;
  margin-bottom: 1em;
}

#comment_form label {
  display: inline-block;
  width: 7em;
  text-align: right;
  vertical-align: top;
  margin-right: 1em;
}

#comment_form textarea {
  width: 25em;
}

#comment_form p.submit {
  padding-left: 8em;
}

#comment_form p.submit input {
  margin: 0.3em;
}

#search input {
  background-color: #FFF;
  font-family: Corbel, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", Verdana, "Verdana Ref", sans serif;
  font-size: 1.2em;
  border-radius: 0.5em;
  -moz-border-radius: 0.5em;
  -webkit-border-radius: 0.5em;
  padding: 0.2em 0.2em 0.2em 1.5em;
  margin: 0.3em 0;
  background-image: url('img/search.png');
  background-repeat: no-repeat;
  background-position: 0.1em 0.1em;
  border: 1px solid #D0D0D0;
  width: 15em;
}
