/* ashchan.com base styles */
body {
  text-align: center;
  background: #222 url(/images/bg.jpg) repeat-x;
  font-family: Palatino, 'Book Antiqua', 'URW Palladio L', serif;
  color: #000; }

a {
  color: green; }
  a img {
    border: none; }

hr {
  clear: both;
  border-top: solid 1px #ccc;
  border-bottom: solid 1px #fff;
  border-left: none;
  border-right: none;
  margin: 0; }

#wrapper {
  margin: 50px auto 50px auto;
  text-align: left;
  width: 600px;
  position: relative;
  border: solid 1px #ccc;
  border-top: solid 1px #fff;
  background: #e8e8e8;
  -webkit-border-bottom-right-radius: 6px;
  -webkit-border-bottom-left-radius: 6px;
  -moz-border-radius-bottomright: 6px;
  -moz-border-radius-bottomleft: 6px;
  -webkit-box-shadow: 0 6px 6px #333;
  -moz-box-shadow: #333 0px 6px 6px; }

/* header */
#header {
  position: absolute;
  top: 9px;
  left: 0px;
  width: 100%;
  height: 50px; }
  #header h1 {
    font: 120% "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0 20px;
    text-shadow: #fff 0 1px 0; }
  #header h2 {
    color: #999;
    font-size: 100%;
    margin-top: 0;
    padding: 0 20px;
    font-weight: normal;
    text-shadow: #fff 0 1px 0; }
  #header .twitter {
    position: absolute;
    right: 50px;
    top: 0;
    margin: 0; }
  #header .rss {
    position: absolute;
    right: 10px;
    top: 0;
    margin: 0; }

/* navigation */
/* http://www.awayback.com/css3-and-veer-navigation/ */
ul#navigation {
  z-index:1;
  overflow: hidden;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  height: 24px;
  padding: 0;
  margin: 0;
  border-bottom: solid 3px #fff; }
  ul#navigation li {
    text-align: center;
    list-style: none;
     }
    ul#navigation li a {
      padding: 4px 0 4px 5px;
      -moz-border-radius-topright: 7px;
      -webkit-border-top-right-radius: 7px;
      margin-left: -5px;
      position: relative;
      height: 20px;
      box-shadow:3px 1px 3px rgba(0, 0, 0, .25);
      -moz-box-shadow:3px 1px 3px rgba(0, 0, 0, .25);
      -webkit-box-shadow:3px 1px 3px rgba(0, 0, 0, .25);
      text-decoration: none;
      color: #eee;
      display: block;
      float: left; }
    ul#navigation li a:hover {
      background-color: #ddd;
      color: #fff; }
  ul#navigation li.index {
    margin-left: 15px; }
    ul#navigation li.index a {
      -moz-border-radius-topleft: 3px;
      -webkit-border-top-left-radius: 3px;
    }
    
    
  ul#navigation li.index a { width: 75px; background-color: #bbb; z-index: 6; }
  ul#navigation li.blog a { width: 75px; background-color: #aaa; z-index: 5; }
  ul#navigation li.projects a { width: 85px; background-color: #777; z-index: 4; }
  ul#navigation li.about a { width: 80px; background-color: #555; z-index: 3; }
  ul#navigation li.contact a { width: 85px; background-color: #444; z-index: 2; }

.welcome #navigation li.index a, .blog #navigation li.blog a, .projects #navigation li.projects a, 
  .about #navigation li.about a, .contact #navigation li.contact a {
  background-color: #fff;
  color: #222; }

/* main content */
#main {
  margin-top: 102px;
  padding: 20px;
  line-height: 165%;
  font-size: 13pt; }
  #main h1 {
    text-transform: capitalize;
    margin-top: 0;
    text-shadow: 1px 2px 2px #333; }
  #main h2 {
    text-shadow: 1px 2px 2px #333; }
  #main h3 {
    text-shadow: 1px 2px 2px #333; }

/* footer */
#footer {
  text-align: right;
  clear: both;
  font-size: 90%;
  color: #333;
  margin: 5px 0;
  text-shadow: #fff 1px 1px 0px; }
  #footer p {
    height: 31px;
    line-height: 31px;
    margin: 5px 20px 0 0; }

/* projects */
ul.projects {
  list-style: none;
  border: solid 1px #ccc;
  border-bottom: solid 1px #fff;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  margin: 10px;
  padding: 20px; }
  ul.projects li {
    width: 49%;
    float: left; }
    ul.projects li a {
      font-size: 90%;
      text-decoration: none;
      display: block;
      padding: 5px;
      text-shadow: #fff 0 1px 0px; }
      ul.projects li a img {
        -webkit-transition: margin-left 0.25s linear;
        float: left;
        margin: 0 10px 3px 10px;
        width: 40px;
        height: 40px;
        border: solid 3px #666;
        opacity: 0.5;
        -moz-opacity: 0.5; }
    ul.projects li a:hover img {
      margin-left: 0px;
      border: solid 3px green;
      opacity: 1;
      -moz-opacity: 1; }
    ul.projects li strong {
      display: block;
      padding-top: 5px; }
  ul.projects li:hover a img {
    margin-left: 0px;
    border: solid 3px green;
    opacity: 1;
    -moz-opacity: 1; }

.project {
  line-height: 165%; }
  .project .project_image {
    float: right;
    margin: 0 20px 20px 20px;
    border: solid 2px #ccc; }

.projects #main h1 {
  text-transform: none; }

/* misc */
.err {
  background: #ffc;
  color: #f00;
  border: solid 1px #f00;
  font-weight: bold;
  padding: 2px 10px;
  text-align: center;
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px; }

/* clearfix */
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden; }

.clearfix {
  display: inline-block; }

/* Hides from IE-mac \ */
* html .clearfix {
  height: 1%; }

.clearfix {
  display: block; }

/* End hide from IE-mac */