/*-- Global Styles --*/

* {
  margin: 0px;
  padding: 0px;
}

html {
  overflow: -moz-scrollbars-vertical;
  overflow-y: scroll;
}

.clear { clear: both; }
.left {  float: left; }
.right { float: right; }

a {
  text-decoration: none;
  color: #777;
  padding: 1px;
  border-bottom: 1px solid #DDD;
}

a:hover {
  color: #555;
  border-bottom-color: #CCC;
}

#info .block ul li a:hover {
  text-decoration: none !important;
  border: none !important;
}

#info .block.first a {
  color: #999;
  background: transparent !important;
  border-bottom: none !important;
}

#info .block.first a:hover {
  border-bottom: none;
  color: #EEE;
}

#footer p a {
  border-bottom: 0px;
}

#footer p.left a:hover {
  color: #EEE;
}

img, .outline {
  display: block;
  margin: 0 auto;
  padding: 2px;
  border: 1px solid #DDD;
}

/*
img.alignleft {  margin-left: 0px !important; }
img.alignright { margin-right: 0px !important; }
*/
img.alignright { float: right; margin: 0px 20px; }
img.alignleft { float: left; margin: 0px 20px; }

blockquote {
  border-left: 3px solid #CCCCCC;
  color: #999;
  margin-left: 2em !important;
  padding-left: 0.5em;
  padding-right: 1.5em;
}

/*-- Layout --*/

body {
  background: #444;/*#D8D8D8;*/
  color: #404040;
  font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Arial, sans-serif;
  font-size: 62.5%;
}

h2 {
  color: #333333;
  font-size: 1.8em;
  font-weight: normal;
  margin: 1.2em 0px;
  margin-bottom: 0px;
  font-family: Georgia, serif;
}

body.page h2 {
  text-align: center;
  margin-top: 0.75em !important;
}

body.page h3 {
  text-align: center;
}

body.post h3.hate {
  color: #CC0000 !important;
}
body.post h3.love {
  color: #006600 !important;
}

body.tag ol li a {
  border: none !important;
  font-size: 1.2em;
}

h3, h4, p, pre, blockquote, ul, ol, dl {
  margin: 1em 0px;
}

#wrapper #content p,
blockquote ul li {
  font-size: 1.1em;
}

blockquote ul li {
  margin: 0.5em 1em 0.5em 2em;
}

h3, h4 {
  color: #000000;
  font-size: 1.15em;
  font-weight: normal;
}

h4 {
  text-align: center;
}

#wrapper #content h3 {
  margin-top: 30px;
  font-size: 1.4em;
  color: #222;
  font-family: Georgia, serif;
}

#info .block h3 {
  color: #595959;
  font-size: 1.3em;
  text-align: center;
}

li, dd {
  margin-left: 5%;
}

p {
  margin-right: 1em;
  margin-left: 1em;
  line-height: 1.75em;
}

h4 {
  margin-left: 0.5em;
}

.rough {
  width: 500px;
  font-size: 1.4em;
  background: #FFFFEA;
  padding: 10px;
}

p code {
  background: #FFFFEA;
  padding: 2px;
  color: #666;
}

pre {
  margin: 1em 0 0 0;
  border: 1px solid #DDD !important;
  border-left: 7px solid #CCCCCC !important;
  background: #FDFDFD;
  overflow: auto;
  padding: 0.5em 0px;
  margin-left: 2em !important;
  padding-left: 1em !important;
  width: 715px;
  font-size: 1.1em;
  font-family: "Monaco", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace;
}

pre code {
  background: transparent !important;
}

h5 { /* table header */
  color: #6E6E6E;
  padding: 5px;
  font-weight: normal;
  font-size: 1.2em;
  text-align: center;
  margin: 0 auto;
}

table.data {
  border: 1px solid #DEDEDE;
  margin: 0 auto;
  margin-bottom: 10px;
}

table.data tr * {
  padding: 6px;
  text-align: center;
}

table.data tr td {
  width: 100px;
  background-color: #F5F5F5;
}

  table.data tr td.screenshot {
    background-image: url(/img/expand_image.gif);
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
  }

  table.data tr td.screenshot:hover {
    background-color: #EEE;
  }

table.data tr th {
  font-size: 0.8em;
  background-color: #DDD;
}

ul {
  margin: 1.25em 0;
}
  ul.plain {
    list-style: none outside;
  }
    ul.plain li {
      list-style: none;
    }

ul li {
  list-style-image: url(/img/liImg.png);
  list-style-type: square;
  margin: 0.5em 2em 0.5em 3em;
}

ol li {
  margin: 0.5em 2em 0.5em 3em;
}

div.tree {
  cursor: default;
  padding: 5px;
  background: white;
}

  div.tree ol {
    margin: 0;
    padding-bottom: 8px;
    list-style: none;
  }

    div.tree ol li {
      clear: left;
      margin: 0;
      padding-left: 20px;
    }

      div.tree ol li span {
        padding-left: 20px;
        width: 510px;
      }

        div.tree ol li span.note {
          display: block;
          padding-left: 23px;
          font-size: 8pt;
          color: #888;
        }

        div.tree ol li span.dir,
        div.tree ol li span.root,
        div.tree ol li span.file {
          width: 200px;
          font-size: 14pt;
          font-family: monospace;
        }

        div.tree ol li span.root {
          margin-bottom: 8px;
          /*padding-left: 0;*/
        }

        div.tree ol li span.dir {
          padding-left: 22px;
          background: transparent url(../img/folder.png) no-repeat center left;
        }

        div.tree ol li span.file {
          padding-left: 22px;
          background: transparent url(../img/page_white_text.png) no-repeat center left;
        }

        div.tree ol li span.file.ruby {
          padding-left: 22px;
          background: transparent url(../img/page_white_ruby.png) no-repeat center left;
        }

#info .block ul li a .date {
  color: #7A7A7A;
  padding: 0px 1em 0px 0px;
}

#info .block ul li a {
  color: inherit;
  color: #B3B3B3;
  text-decoration: none;
  border: none;
}

#wrapper #content pre code {
  background: #FFFFEA;
  color: #3E3E3E;
  font-size: 1.2em;
  padding: 0px;
}

#info .block ul {
  border-top: 1px solid #525252;
  list-style-type: none;
  margin: 1.1em 0px;
}

#info .block ul li {
  border-bottom: 1px solid #525252;
  list-style-type: none;
  list-style-image: none;
  margin: 0px;
  padding: 0.5em 0px;
}

  #info .block ul li.archives_link {
    padding-top: 5px;
    border-bottom: none;
    text-align: center;
  }

    #info .block ul li.archives_link a {
      color: #666;
    }

    #info .block ul li.archives_link a em {
      font-style: normal;
      color: #888;
      font-size: 1.1em;
    }

    #info .block ul li.archives_link a:hover {
      color: #999;
    }

#info .block ul li a {
  font-size: 1.3em;
}

#info .block ul li a:hover {
  color: #FFF;
  border: none;
}

div#expand_bar {
  height: 2em;
  background: #F3F3F3;
  border-top: 1px solid #E3E3E3;
  border-bottom: 1px solid #E3E3E3;
  padding: 0px;
  text-align: center;
}

div#expand_bar a#fold {
  border: none;
  cursor: default;
  margin: 0 auto;
  line-height: 1em;
  font-size: 1.6em;
}

div#expand_bar a#fold:hover,
div#expand_bar a#fold.fake_hover {
  color: #444;
}

div#expand_bar a#fold:hover,
div#expand_bar a#fold:focus,
div#expand_bar a#fold:active {
  outline: none;
}

div#expand_bar a#fold strong {
  color: #333;
}

#details, .details, #comments {
  background: #F3F3F3;
  border-top: 1px solid #E3E3E3;
  border-bottom: 1px solid #E3E3E3;
  min-height: 2em;
  line-height: 2em;
  padding: 0px;
  outline: none;
  text-align: center;
  color: #666;
  cursor: default;
}

#wrapper #content h2 {
  margin-top: 1em;
}

#wrapper #content h3 {
  margin-top: 1.4em;
}

#info {
  width: 726px;
  margin: 0 auto;
  font-size: 0.9em;
}

#info .block {
  color: #EDEDED;
  float: left;
  margin: 10px 0px 0px 30px;
  width: 396px;
}

#info .block.first {
  width: 110px;
}

#info .block.last {
   width: 110px;
}

#info .block h3 {
  margin: 0 0 0.5em 0;
}

/*-- Footer --*/

#footer {
  width: 800px;
  margin: 0 auto;
  clear: both;
  color: #FCFCFC;
  padding: 0.5em 0px;
  font-size: 1.2em;
}

#footer p.center {
  text-align: center;
  margin-top: 0.5em;
  font-size: 1.5em;
  color: #AAA;
}

#footer p.center a:hover {
  color: white;
}

#footer p.right a {
  color: #B3B3B3;
  padding: 0px 0px 0px 1em;
  text-decoration: none;
}

#footer p.right a:hover {
  color: #FFF;
}

/*-- Header --*/

#header {
  height: 50px;
  padding: 5px 0px;
}

#header h1#logo {
  text-indent: -9999px;
  font-size: 3em;
  margin: 0px 0em 0px 0px;
  margin: 0 auto;
  padding: 0px 0em 0em 0px;
  background: transparent url(../img/rf.logo.gif) no-repeat top center;
  height: 50px;
}

#wrapper {
  background: #FFFFFF;
}

#wrapper #content {
  color: #3e3e3e;
  padding: 1px 0 0 0;
  padding-top: 0.65em;
  padding-bottom: 1.2em;
  margin: 0 auto;
  width: 800px;
  font-size: 1.35em;
  text-align: justify;
}

#wrapper #content h2 {
  color: #444;
}

/*-- Special Cases --*/
span.strike {
  text-decoration: line-through;
}

table.comparison {
  margin: 0 auto;
  border: 2px solid #DDD;
}
  table.comparison tr th {
    background: #EEE;
    padding: 2px 16px 2px 8px;
  }
  table.comparison tr:first-child th {
    border-bottom: 2px solid #DDD;
  }
  table.comparison td {
    padding: 5px 5px;
  }
  table.comparison tr:first-child td {
    border-bottom: 2px solid #DDD;
  }
    table.comparison td img {
      border: none;
      padding: none;
    }

/*-- PLUGINS --*/
.attention_grabber {
  font-size: 1.1em;
  color: #888;
  font-weight: bold;
}

div.rater {
  position: relative;
}

  div.rater ul {
    padding: 8px 0px; margin: 0px;
  }

    div.rater ul li {
      cursor: pointer;
      padding: 0px;
      margin: 0px;
      list-style: none;
      list-style-image: none;
      float: left;
      width: 13px;
      height: 13px;
      background: transparent url(../img/rating.gif) no-repeat -13px 0px;
    }

      div.rater ul li.on {
        background-position: 0px 0px;
      }

/*-- Page specific --*/
/*--     ABOUT     --*/

table#contact {
  width: 280px;
  margin: 15px auto;
}

table#contact tr td {
  font-family: monospace;
  font-size: 1.1em;
  text-align: right;
  padding: 3px;
  background: #FDFDFD;
}

table#contact tr td p#phone {
  border-bottom: 2px solid #EEE;
  border-top: 2px solid #EEE;
}

#flickr_photostream {
  width: 610px;
  margin: 0 auto;
}

  #flickr_photostream img {
    float: left;
    height: 75px;
    padding: 2px;
    margin-right: 3px;
    cursor: pointer;
  }

  #flickr_photostream img:hover {
    border-color: #888;
  }

.status em {
  padding: 0px 5px 0px 3px;
  color: #666;
}


/*--   BOOKSHELF   --*/
table#books {
  width: 660px;
  margin-left: 70px;
  margin-right: 70px;
}


table#books a.amazon_link {
  font-size: 0.8em;
  border: 0px;
  padding-right: 15px;
  background: url(../img/external.gif) no-repeat center right;
}

table#books td.cover {
  text-align: center;
  padding: 20px;
  padding-bottom: 15px;
  background: #F3F3F3;
}

table#books td {
  padding: 20px;
  text-align: justify;
  vertical-align: top;
}

  table#books td h3 {
    margin-top: 0px !important;
    text-align: left;
  }

/*-- FREELANCING --*/
div.project {
  width: 660px;
  min-height: 200px;
  margin-left: 70px;
  margin-right: 70px;
  border-top: 3px solid #F4F4F4;
}

  div.project h4 {
    margin-left: 34px;
    margin-bottom: 0px;
    width: 300px;
    text-align: right;
    font-weight: bold;
  }

  div.project p {
    margin-top: 0px;
    margin-bottom: 4px;
    padding: 10px;
    width: 310px;
  }

  div.project div.screen {
    height: 200px;
    width: 300px;
    float: right;
  }

  div.project#pcw div.screen {  background: url(../img/projects/pcw.jpg) no-repeat top center; }
  div.project#wdpc div.screen { background: url(../img/projects/wdpc.jpg) no-repeat top center; }

  div.project span.details_bottom {
    margin: 0px;
    margin-left: 24px;
    width: 300px;
  }

    div.project span.details_bottom a {
      border: 0px;
      padding-right: 18px;
      background: url(../img/external.gif) no-repeat center right;
    }

/*-- MAINTENANCE --*/
#maintenance {
  padding: 50px;
  width: 500px;
  text-align: center;
  margin: 0 auto;
}

/*-- ARCHIVES --*/
div#archives ul.posts {
  width: 450px;
  margin: 0 auto;
  margin-top: 15px;
}

    div#archives .archiver-menu {
      margin: 0 auto;
      margin-top: 15px;
      text-align: center;
    }

    div#archives .archiver-menu a {
      font-size: 0.9em;
      display: block;
      float: left;
      padding: 5px 10px;
      border: 1px solid #DDD;
      border-right-width: 0px;
      background: #EEE;
      text-decoration:none;
    }

    div#archives .archiver-menu a.last {
      border-right-width: 1px;
    }

      div#archives .archiver-menu a.selected {
        background: #F8F8F8;
      }

  div#archives a {
    border: none;
  }

  div#archives ul.posts li {
    margin: 0;
    list-style-type: none;
    list-style-image: none;
    padding: 10px;
    border: 2px solid #EEE;
    border-bottom: none;
    background: #FFF url(../img/archive_item.png) repeat-x bottom left;
    cursor: pointer;
  }

    div#archives ul.posts li span.tags {
      padding: 0.3em;
      font-size: 0.7em;
      color: #AAA;
      float: right;
    }

  div#archives ul.posts li.unpublished {
    background: #EEE;
  }

  div#archives ul.posts li.last {
    border-bottom: 2px solid #EEE;
  }

    div#archives ul.posts li:hover {
      background: #FEFEFE;
    }
