
/* Reset rules (with minor changes to YUI 3: CSS Reset) */

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,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;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}legend{color:#000;}

/* General theme rules */

body {
  color: #fff;
  margin: 1% 0;
  font-size: 0.9em;
  background-color: #ccc;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: #0000cc;
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  color: red;
  text-decoration: underline;
  background-color: transparent;
}

p {
  margin: 1em 0 1em 0;
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

h1,h2,h3,h4,h5,h6 {
  font-weight: bold;
}

h1 {
  font-size: 1.4em;
}

h2 {
  font-size: 1.3em;
}

h3 {
  font-size: 1.4em;
}

h4 {
  font-size: 1.3em;
}

h5 {
  font-size: 1.2em;
}

h6 {
  font-size: 1.1em;
}

dl {
  margin: 1em 0 0 0;
}

  dt {
    font-weight: bold;
  }

ul {
  margin: 1em 0 0 1.7em;
}

  ul li {
    list-style: disc;
  }

ol {
  margin: 1em 0 0 2em;
}

  ol li {
    list-style: decimal;
  }

dl {
  margin: 1em 0 0 0;
}

  dt {
    margin: 1em 0 0 0;
  }

  dd {
    margin: 0 0 0 1em;
  }

hr {
  margin: 1em 0 0 0;
  border: #ebebeb solid 1px;
}

pre {
  color: #000;
  padding: 0.2em;
  margin: 1em 0 0 0;
  background-color: #fbfbfb;
  border: #f7f7f7 solid 1px;
}

table {
  width: 100%;
  margin: 1em 0 0 0;
  border: #ebebeb solid 1px;
}

  th {
    color: #000;
    font-weight: bold;
    background-color: #f7f7f7;
  }

  th, td {
    padding: 0.3em;
  }

select,
textarea,
input[type=text],
input[type=password] {
  color: #000;
  padding: 0.3em;
  background-color: #fbfbfb;
  border: #ebebeb solid 1px;
}

  select:focus,
  textarea:focus,
  input[type=text]:focus,
  input[type=password]:focus  {
    color: #000;
    padding: 0.3em;
    background-color: #fff;
    border: #cbcbcb solid 1px;
  }

/* Wrapper */

div#wrapper {
  color: #333;
  width: 800px;
  padding: 0.3em;
  margin: 0 auto;
  background-color: #fff;
}

/* Header */

div#header {
  color: #fff;
  height: 200px;
  text-align: center;
  background-color: #333;
}

  div#header h1 {
    font-size: 2em;
    font-weight: bold;
    padding: 2.2em 0 0 0;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  }

   div#header h1 a {
     color: #fff;
     text-decoration: none;
     background-color: transparent;
   }

  div#header h2 {
    color: #aaa;
    font-size: 1em;
    font-weight: normal;
    margin: 0.9em 0 0 0.2em;
    background-color: transparent;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  }

/* Content */

div#content {
  width: 60%;
  float: left;
  padding: 0.8em 0.3em;
}

  /* Content classes */

  .fullsize {
    width: 98.8% !important;
  }

/* Generic form search */

form.blogsearch {
  font-size: 1.1em;
  margin: 0.4em 0 1em 0.3em;
}

  form.blogsearch h5 {
    font-size: 1em;
    font-weight: bold;
    margin: 0 0 0.2em 0;
  }

  form.blogsearch input.query {
    width: 66%;
    color: #000;
    padding: 0.3em;
    background-color: #fff;
    margin: 0.6em 0 0 0.5em;
    border: #ebebeb solid 1px;
  }

  /* Archive types */

  div#datearchive ul,
  div#tagsarchive ul,
  div#categoryarchive ul {
    font-size: 1.2em;
    line-height: 1.6;
    margin: 0 2em 1em 0.3em;
  }

    div#datearchive ul li,
    div#tagsarchive ul li,
    div#categoryarchive ul li {
      list-style: none;
    }

  div#tagsarchive ul li {
    display: inline;
  }

  /* Archive type */

  div.archivetype {
    color: #333;
    font-size: 1.1em;
    text-align: left;
    font-weight: bold;
    text-align: center;
    padding: 1em 0 1em 0;
    margin: -0.3em 0 1em 0;
    background-color: #fbfbfb;
    border: #f7f7f7 solid 1px;
  }

    div.archivetype img {
      margin: 0 0.2em 0 0;
    }

    div.archivetype small {
      font-size: 0.9em;
      margin: 0 1em 0 0;
      vertical-align: top;
    }

  /* Post navigator */

  div.postsnavigator {
    color: #000;
    padding: 1em;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 0 1em 0;
    line-height: 1.6em;
    background-color: #fbfbfb;
    border: #f7f7f7 solid 1px;
  }

    span.nextpostlink {
      display: block;
      text-align: right;
    }

    span.previouspostlink {
      display: block;
    }

  /* Loop post */

  div.post {
    margin: 0 0 2em 0;
  }

    div.postheader {}

      span.posttitle {
        display: block;
        font-size: 1.7em;
        font-weight: bold;
        margin: 0 0 0.4em 0;
      }

        span.posttitle a {
          color: #333;
          text-decoration: none;
          background-color: transparent;
        }

        span.posttitle a:hover {
          color: red;
          text-decoration: underline;
          background-color: transparent;
        }

        span.posttitle small {
          font-size: 0.5em;
        }

    span.postdate {
      color: #000;
      cursor: help;
      font-size: 0.8em;
      font-style: italic;
      background-color: #fafafa;
      padding: 0.3em 0.3em 0.2em 0.3em;
    }

    div.postcontent {
      margin: 1em 0 0 0;
      line-height: 1.4em;
    }

      div.postcontent div {
        margin: 1em 0 0 0;
      }

      span.morepostcontent {
        display: block;
        margin: 1em 0 0 0;
      }

    div.posttags,
    div.postcategories {
      color: #333;
      font-size: 0.9em;
      font-weight: bold;
      margin: 1em 0 0 0;
      background-color: transparent;
    }

      div.posttags a,
      div.postcategories a {
        color: #0000cc;
        font-size: 0.9em;
        font-weight: normal;
        background-color: #f7f7f7;
        padding: 0.2em 0.3em 0.2em 0.3em;
      }

        div.posttags a:hover,
        div.postcategories a:hover {
          color: red;
          background-color: #f7f7f7;
        }

    span.postcommentlinks {
      color: #333;
      display: inline;
      font-size: 0.8em;
      margin: 0 0 0 0.3em;
      background-color: transparent;
    }

  form#posttrackback {
    margin: 0.8em 0 0 0;
  }

    form#posttrackback label {
      font-size: 0.9em;
      font-weight: bold;
    }

    form#posttrackback input {
      width: 25%;
      border: none;
      padding: 0.2em;
      margin: 0 0 0 0.8em;
    }

  div#relatedposts {
    font-size: 0.9em;
  	line-height: 1.6em;
    margin: 0.8em 0 0 0;
  }

    div#relatedpoststitle {
      color: #333;
      font-weight: bold;
      background-color: transparent;
    }

    div#relatedposts ul {
      margin: 0.4em 0 0 1em;
    }

      div#relatedposts ul li {
        list-style: none;
      }

  /* Post comments */

  div#comments {}

    ul#commentslist {
      margin: 2em 0 0 0;
    }

      li.comment {
        color: #000;
        padding: 1em;
        list-style: none;
        margin: 1em 0 1em 0;
        background-color: #fbfbfb;
      }

    div#commentstitle {
      color: #333;
      font-size: 1.3em;
      margin: 0 0 1em 0;
      text-align: center;
      padding: 1em 0 0 0;
      background-color: transparent;
    }

      div.commentheader {
        line-height: 1.2em;
      }

      span.commentnumber {
        color: #555;
        font-size: 1.1em;
        font-weight: bold;
        background-color: transparent;
      }

      span.commenttitle {
        font-weight: bold;
      }

      span.commentdate {
        color: #555;
        display: block;
        font-size: 0.8em;
        font-style: italic;
        background-color: transparent;
      }

        div.commentcontent {
          overflow: auto;
          margin: 1em 0 0 0;
          line-height: 1.4em;
        }

          div.commentcontent ul,
          div.commentcontent ol {
            margin: 1em 0 1em 1.5em;
          }

          div.commentcontent cite {
            display: block;
            font-size: 0.9em;
            font-style: italic;
            padding: 0 0 0 1em;
            border-left: #f7f7f7 solid 4px;
          }

        /* Comments navigation */

        div#commentsnavigation {
          color: #333;
          font-weight: bold;
          margin: 1em 0 0 0;
          text-align: center;
          padding: 2em 0 2em 0;
          border: #f7f7f7 solid 1px;
          background-color: #fbfbfb;
        }

        span#nextcomments {
          margin: 0 10em 0 0;
        }

        span#previouscomments {}

        div#commentsclosed {
          color: #333;
          font-size: 1.3em;
          text-align: center;
          margin: 1.5em 0 0 0;
          background-color: transparent;
        }

  form#newcomment {
    margin: 1em 0 0 0;
  }

    div#allowedtags {
      color: #333;
      font-size: 0.8em;
      margin: 1em 0 0 0;
      padding: 0 1em 0 1em;
      background-color: #f7f7f7;
    }

    div#moderationnote {
      color: #333;
      font-size: 0.8em;
      margin: 1em 0 0 0;
      padding: 0 1em 0 1em;
      background-color: #ddd;
    }

    form#newcomment em {
      font-size: 0.8em;
      font-weight: normal;
    }

      form#newcomment fieldset {
        color: gray;
        line-height: 3em;
        padding: 0 1em 1em 1em;
        border: #f7f7f7 solid 1px;
        background-color: transparent;
      }

    form#newcomment legend {
      font-size: 1.1em;
      font-weight: bold;
    }

      form#newcomment label {
        font-weight: bold;
      }

    form#newcomment textarea {
      width: 98%;
      color: #000;
      height: 220px;
      padding: 0.5em;
      background-color: #fbfbfb;
      border: #f7f7f7 solid 1px;
    }

      form#newcomment textarea:focus {
        color: #000;
        background-color: #fff;
        border: #ebebeb solid 1px;
      }

    form#newcomment div#buttons {
      margin: 0.5em 0 0 0;
    }

    form#newcomment input[type=button],
    form#newcomment input[type=submit] {
      padding: 0.5em 2em;
    }

      form#newcomment input[type=text] {
        width: 40%;
        color: #000;
        background-color: #fbfbfb;
        border: #f7f7f7 solid 1px;
        padding: 0.4em 0.2em 0.4em 0.2em;
      }

      form#newcomment input[type=text]:focus {
        color: #000;
        background-color: #fff;
        border: #ebebeb solid 1px;
      }

    /* Form CAPTCHA related */

    div#captchacode {
    }

      div#captchacode label {
      }

        div#captchacode label em {
        }

      div#captchacode input {
      }

    div#captchaimage {
      display: inline;
    }

      div#captchaimage img {
      }

    div#reloadcaptchalink {
      display: inline;
      font-size: 0.9em;
      margin: 0 0 0 1em;
    }

    div#listencaptchalink {
      display: inline;
      font-size: 0.9em;
      margin: 0 0 0 0.5em;
    }

      div#reloadcaptchalink a,
      div#listencaptchalink a {
        color: #0000cc;
        padding: 0.3em;
        background-color: #f7f7f7;
      }
      
      div#reloadcaptchalink a:hover,
      div#listencaptchalink a:hover {
        color: red;
        background-color: #f7f7f7;
      }

  /* Comment preview stuff */

	div#commentpreview {
	  padding: 1em 0 0 0;
	}

	  div#commentpreviewtitle {
		  font-weight: bold;
			background-color: transparent;
		}

		div#commentpreviewcontent {
		  padding: 1em;
			margin: 1em 0 0 0;
		  border: #f7f7f7 solid 1px;
		}

  /* No post found */

  div#nopostfound {
    width: 95%;
    color: #333;
    padding: 1em;
    line-height: 2em;
    border: #f7f7f7 solid 1px;
    background-color: #fbfbfb;
  }

    div#nopostfound h3 {
      color: #555;
      font-size: 1.5em;
      font-weight: bold;
      background-color: transparent;
    }

    div#nopostfound ul {
      padding: 0;
      margin: 1em;
    }

    div#nopostfound input.query {
      margin: 0;
      width: 40%;
      color: #000;
      padding: 0.4em;
      background-color: #fff;
      border: #ebebeb solid 1px;
    }
      
  /* Posts navigation */

  div#postsnavigation {
    color: #333;
    font-size: 1.2em;
    font-weight: bold;
    margin: 1em 0 0 0;
    text-align: center;
    padding: 2em 0 2em 0;
    border: #f7f7f7 solid 1px;
    background-color: #fbfbfb;
  }

    span#nextposts {
      margin: 0 0 0 9em;
    }

    span#previousposts {
    }

/* Sidebar */

div.sidebar {
  width: 37%;
  color: #333;
  float: left;
  font-size: 0.9em;
  line-height: 1.2em;
  padding: 0 0 0 0.2em;
  margin: 0.6em 0 1em 0.5em;
  background-color: #fbfbfb;
  border: #f7f7f7 solid 1px;
}

  div.firstsidebar {
    width: 50%;
    float: left;
  }

  div.secondsidebar {
    width: 50%;
    float: left;
    padding: 0.2em 0 0 0;
  }

  div.sidebar ul li {
    list-style: none;
  }

  div.sidebar .objectscount {
    color: #999;
    font-size: 0.7em;
    background-color: #fbfbfb;
  }

    div.sidebar .objectscount:after {
      content: ')';
    }

    div.sidebar .objectscount:before {
      content: '(';
    }

  div.widget {
    color: #333;
    line-height: 1.6em;
    padding: 0.3em 0.4em;
    margin: 0.2em 0 0.6em 0;
  }

    div.widget ul {
      padding: 0.2em 0.5em;
      margin: 0.2em 0 0.1em 0;
    }

      div.widget ul li {
        list-style: none;
      }

    div.widget form {
      margin: 0.6em 0 0 0.5em;
    }

    div.widget h5 {
      color: #333;
      font-size: 1.1em;
      font-weight: bold;
      background-color: transparent;
    }

  div.tagcloud {
    line-height: 1.6em;
  }

    div.tagcloud ul li {
      display: inline;
      font-size: 0.8em;
    }

/* Footer */

div#footer {
  clear: both;
  color: #fff;
  line-height: 1.8em;
  padding: 3em 0 3em 3em;
  background-color: #333;
}

  div#footer a {
    color: #fff;
    background-color: transparent;
  }

  div#copyright {
    display: inline;
  }

    div#copyright small {
      color: #aaa;
      font-size: 0.9em;
      font-style: italic;
      background-color: transparent;
    }

  div#feedlinks {
    color: #aaa;
    font-size: 0.9em;
    text-align: right;
    margin: -1.9em 3em 0 0;
    background-color: transparent;
  }

/* Icons */

.icon {
  padding: 0 0 0 18px;
  background-repeat: no-repeat;
  background-position: left center;
}

.feed {
  background-image: url('../images/feed.png');
}

/* Round */

a, span, div, ul, li, fieldset,
textarea, input[type=text]
{
  -moz-border-radius: 5px;
  -khtml-border-radius: 5px;
  -webkit-border-radius: 5px;
}