/* GENERAL ******************************************************/
* {
   margin: 0;
   padding: 0;
}
body{	
   font-family: Arial,Helvetica,sans-serif;
   font-size: 0.85em;
   background-color: #FFFFFF;
}
img {
   border: 0;
   margin: 0;
}
p {
   margin: 0 0 5px 0;
}
ul {
   list-style: none;
}
/* HEADERS */
h1,h2,h3,h4,h5,h6 {
   font-weight: normal;
   font-family: "Century Gothic","Trebuchet MS",Helvetica,Arial,Geneva,sans-serif;
}
h1, h2, h3 {
   margin: 5px 0 5px 0;
}
#rail h2, #rail h3{
   clear: both;
   margin-right: 0;
   margin-left: 0;
   margin-top: 15px;
   border-bottom: 1px dashed #aaa;
   border-top: 1px dashed #000;
   background: #fff url(../img/grey_fade.gif) repeat-x top left;
   padding-left: 8px;
}
#rail h2 {
   font-size: 2em;
}
#rail h3 {
   font-size: 1.5em;
}
.content h2{	
}
/* LINKS */
a:link
{
   color: #8A803E;
}
a:visited {
   color: #666;
}
a:hover, a:active {
   color: #000;
}
}
/* HEADER ******************************************************/
#ie6 {
   border: 2px dashed #F00;
   margin: 10px;
   background-color: #000;
}
#ie6 #inner {
   background-color: #FFF;
   padding: 10px;
}
#ie6 #info {
   color: #48a11d;
   font-weight: bold;
   cursor: pointer;
}
#ie6 #close {
   position: absolute;
   top: 20px;
   right: 20px;
   color: #48a11d;
   font-weight: bold;
   cursor: pointer;
}
#header{
    position: relative;
    margin: 0;
    width: 100%;
    background-color: #000000;
    padding-top: 5px;
    height: 46px;
}
#header a {
    font-weight: bold;
}
#title {
   display: block;
   float: left;
   margin: 0;
   padding: 15px;
}
#title:hover {
   background-color: #1d1d1d;
   color: #999;
}
#tagline {
   color: #CCCCCC;
   display: block;
   float: left;
   margin: 15px;
}

/* NAVIGATION ******************************************************/
#nav{
   float: left;
   overflow: visible;
   margin-top: 10px;
   height: 36px;
}
#nav ul {
   padding-left:25px;
}
#nav li {
   float: left;
   display: block;
   padding: 11px 10px 10px 10px;
   padding: 11px 10px 8px 10px;
   overflow: hidden;
}
#nav a {
    position:relative; /* make IE display top & bottom borders */
    text-decoration: none;
    margin: 0 5px 0 0;
    padding: 11px 10px 10px 10px;
    color: #FF7E2E;
    line-height: 17px;
    text-transform: uppercase;
    border-radius: 8px 8px 0 0;
    -moz-border-radius: 8px 8px 0 0;
    -webkit-border-top-left-radius: 8px;
    -webkit-border-top-right-radius: 8px;
}
#nav a:hover {
   background-color: #333;
}
#nav .on a {
    background: #fff;
    color: #000;
}
#nav li:hover a {
    color: #FF7E2E;
    background-color: #333;
}
#nav li:hover li a {
    background-color: transparent;
}
/* SUB NAVIGATION **************************************************/
#nav li div {
    position: absolute;
    margin-top: 10px;
    margin-top: 8px;
    top: 1em;
    left: 0;
    display: none;
}
#nav li > div {
    top: auto;
    left: auto;
}
#nav li.on div, #nav li:hover div {
    display: block;
}
#nav li ul {
    padding: 0;
    width: auto;
    /*overflow: auto;*/ /* causes scrollbars in ie7 */
}
#nav li:hover ul {
    background: transparent url(/img/sub_nav_fade_right.png) no-repeat scroll right top;
    padding-right: 20px;
    margin-right: -20px;
    padding-bottom: 35px;
    margin-bottom: -35px;
    width: auto;
}
#nav li:hover div {
    background: transparent url(/img/sub_nav_fade_left.png) no-repeat scroll 0px top;
    padding-left: 20px;
    margin-left: -20px;
    padding-bottom: 35px;
    margin-bottom: -35px;
}
#nav li li {
    height: auto;
    padding: 0;
    background-color: #DDD;
    border-radius: 0 0 3px 3px;
    -moz-border-radius: 0 0 3px 3px;
    -webkit-border-bottom-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    color: #000;
    font-size: 80%;
}
#nav li li a, #nav li.on li a, #nav li.on li a:hover, #nav li li a:hover {
    background: none;
    padding: 0 15px;
    margin: 0;
    line-height: auto;
}
#nav li:hover ul, #nav li:hover div {
    z-index: 10000;
}
#nav li:hover li {
    z-index: 10000;
    position: relative;
}
#nav li:hover li a {
    color: #000;
}
#nav li li:hover, #nav li.on li:hover {
    background-color: #333;
}
#nav li li:hover a, #nav li.on li:hover a, #nav li.on li a:hover {
    color: #FFF;
}
#nav li li.on a {
    color: #FFF;
}
#nav li li.on {
    background-color: #333;
}

/* MAIN ******************************************************/
/* next 23 lines adapted from www.alistapart.com/articles/multicolumnlayouts */
#middle{
    overflow:hidden;
    clear:both;
    background-color:#fff;
    margin: 0 40px;
    padding-right:300px; /* The width of the rail */
}
#home.min #middle {
    margin 0;
}
#main{
    width:100%;
    border-right:300px solid #eaeaea;
    margin-right:-300px;
    float:left;
    min-height: 850px;
}
#home .content {	
    width: 50%;
    float: left;
}
#home .content {
    width: 100%;
}
/* SUB ******************************************************/
#sub_middle1 {
   overflow:hidden;
   background-color:#ccc;
   clear:both;
   padding-right: 300px; /* The width of the rail */
   background: #fff url(../img/rail_bg.gif) repeat-y top left;
}
#sub_middle {
    overflow:hidden;
    background-color:#ccc;
    background: #fff url(../img/rail_bg.gif) repeat-y top left;
    padding-right: 250px;
    clear: left;
    padding: 0;
    padding-right: 250px;
}
#sub1 {
   width:100%;
   margin-right:-250px;
   float:left;
   background: #fff url(../img/rail_bg.gif) repeat-y top left;
   border-right: 250px solid #CCC;
}
#sub2{
   background: #eaeaea;
   width: 250px;
   float: left;
   margin-right:-250px;
   padding-bottom:5px;
   background:#fff url(../img/rail_bg.gif) repeat-y top left;
}
#sub_middle .content {
    width: auto;
    float: none;
    padding: 10px;
}
/* SUB BOTTOM  ***********************************************/
#sub_botom {
    width: 100%;
    padding: 10px;
}
/* RAIL ******************************************************/
#rail {
   background: #eaeaea url(../img/rail_bg.gif) repeat-y top right;
   background: #eaeaea;
   width: 300px;
   float: left; margin-right: -300px;
   padding-bottom: 5px;
   padding-left: 0px;
}
#rail #flickr, #rail #delicious, #rail #twitter {
   margin-left: 8px;
   clear: both;
   font-size: 0.9em;
}
#lastfm {
  margin: 8px 8px 0 0;
  padding-bottom: 5px;
  text-align: left;
  font-size: 80%;
  margin-left: 8px;
}
#lastfm .nav {
  display: none;
}
#lastfm .nav, #lastfm  .nav ul {
   padding: 0;
   margin: 0;
   list-style: none;
   background-color: #FFF;
}
#lastfm .nav a {
   padding: 5px;
   display: block;
}
#lastfm .nav li {
   float: left;
   width: 10em;
   border: 1px solid #CCC;
   margin-bottom:-1px;
}
#lastfm .nav li li {
   border: 1px solid #CCC;
   border-top:none;
   margin-left:-1px;
}
#lastfm .nav li ul {
   position: absolute;
   width: 10em;
   left: -999em;
}
#lastfm .nav li:hover ul {
   left: auto;
}
#lastfm a.selected {
   background-color: #CCC;
}
#lastfm_chart {
   clear: both;
}
#lastfm_chart table {
   clear: both;
   border-collapse: collapse;
   border-spacing: 0;
   border-top: 1px solid #ccc;
}
#lastfm_chart td {
   padding: 3px;
   border-bottom: 1px solid #ccc;
   border-left: 1px solid #ccc;
}
#lastfm_chart td.lastfm_rank {
   width: 20px;
   text-align: right;
   border-right: 1px solid #ccc;
}
#lastfm_chart td.lastfm_time {
   text-align: right;
   border-right: 1px solid #ccc;
   min-width: 75px;
}
#lastfm_chart td.lastfm_play_count {
   width: 50px;
   text-align: right;
   border-right: 1px solid #ccc;
}
#lastfm p {
   margin: 5px 0 0 0;
}
#twitter {
   margin-right: 8px;
   font-size: 90%;
}
#twitter ul li {
   margin-top: 4px;
   padding-bottom: 4px;
   border-bottom: 1px dashed #CCC;
}
#twitter ul li a {
   font-weight: normal;
}
#twitter ul li a.postTime {
   font-style: oblique;
}
#twitter ul li a.postTime:link, #twitter ul li a.postTime:visited,
#twitter ul li a.postTime:active {
   color: #999;
}
#twitter ul li a.postTime:hover {
   color: #000;
}
#twitter ul li a.username {
   font-weight: bold;
}
.flickrBadge {
   float: left;
   margin: 0 0 4px 4px;
   background: #eaeaea url(../img/rail_flickr_bg.gif) no-repeat top left;
   padding: 4px;
   width: 62px;
   height: 62px;
}
#flickr p {
   margin: 0 8px 0 0;	
   padding-bottom: 5px;
}
#delicious {
   margin: 0 8px 0 0;
   padding-bottom: 5px;
   border-bottom: 1px dashed #000;
}
/* MAIN CONTENT ************************************************/
.content p {
   padding-bottom: 5px;
   line-height: 170%;
}
.float_left, .float_right {
   clear: both;
   float: left;
   margin: 0 10px 5px 0;
}
.float_right {
   float: right;
   margin: 0 0 5px 10px;
}
/* FOOTER ******************************************************/
.footer {
   background-color: #000;
   clear: both;
   font-size: .85em;
   margin: 0 0 40px 0;
   text-align: center;
   width: 100%;
   padding: 7px 0;
   color: #FFFFFF;
}
.footer img {
   vertical-align: bottom;
   margin-bottom: -2px;
}
.footer a, .footer span {
    margin: 0 5px;
}
.footer a:hover {
   color: #FFFFFF;
}
/* Wordpress ******************************************************/
.post {
   margin-top: 3px;
   border-bottom: 1px dashed #000;
   padding-bottom: 10px;
   margin-bottom: 25px;
   padding: 10px 15px 10px 15px;
}
h1.storytitle {
   padding-top: -5px;
   padding-bottom: 5px;
}
h1.storytitle a:link,
h1.storytitle a:visited,
h1.storytitle a:hover,
h1.storytitle a:active {
   font-weight: normal;
   text-decoration: none;
}
.storycontent {
   padding: 10px 5px 10px 5px;
}
.storycontent ul, .storycontent ol {
   margin-left: 10px;
   padding-left: 10px;
   padding-bottom: 5px;
   margin-bottom: 5px;
}

.storycontent ul ul {
   padding-bottom: 0;
   margin-bottom: 0;
}
.storycontent code {
   font-size: 1.1em;
}
.post_footer {
   clear: both;
   font-size: .9em;
   margin-top: 8px;
}
.post_footer .tags {
   margin-top: 8px;
}
ul.cat li {
   padding: 3px 3px 3px 20px;
   background: transparent url(../img/icons/cat.gif) no-repeat top left;
}
ul.recent li {
   padding: 3px 3px 3px 20px;
   background: transparent url(../img/icons/recent_post.gif) no-repeat top left;
}
.post_info {
   padding: 3px 3px 3px 20px;
   background: transparent url(../img/icons/date.gif) no-repeat bottom left;
}
.post_comment_link {
   display: inline;
   padding: 0 0 0 20px;
   background: transparent url(../img/icons/comment.gif) no-repeat top left;
   float: right;
}
ol#commentlist {
}
#commentlist li {
   padding: 15px 20px 15px 5px;
   list-style-type: decimal;
   list-style-position: inside;
}
.commentlist li cite{
	/* name and date/time of comment */
}
.navigation {
    margin-bottom: 25px;
}
/* Wordpress sidebar */
li#search {
   border-top: 1px dashed #000;
   padding-top: 5px;
   padding-left: 8px;
   margin-right: 0;
   margin-top: 8px;
}
#rail ul {
   margin-bottom: 8px;
}
#archives ul {
   font-weight: normal;
}
#rail ul li ul {
   font-size: 100%;	
   margin-left: 8px;
}
#rail ul ul li {
   font-weight: normal;
}
.recent_posts li a {
   text-transform: uppercase;
   font-size: 90%;
}
.recent_comments li {
    margin-bottom: 5px;
    font-size: 90%;
}
.recent_comments li .author, .recent_comments li .title {
    text-transform: uppercase;
}
#meta li#rss a {
    padding-left: 19px;
    background: transparent url(/img/icons/feed.png) no-repeat top left;
    display: inline-block;
    height: 16px;
}
.section {
    margin: 0 0 15px 0;
    height: auto;
    padding: 10px 15px 10px 15px;
}
/* Portfolio */
.portfolio .nav {
    float: left;
    margin: 20px;
}
.portfolio .nav span {
    clear: both;
    display: block;
    text-align: center;
}
.portfolio .nav img {
    margin: 0 20px 10px;
}
.portfolio img {
   float: left;
   margin: 0 10px 40px 0;
   border: 1px solid #b3b3b3;
}
.portfolio a:hover img {
   border: 1px solid #333;
    float: left;
}
.portfolio .item {
    clear: both;
}
.portfolio .item p {
    margin-left: 260px;
}
.portfolio h1, .portfolio h2, .portfolio h3 {
   margin-bottom: 20px;
}
.portfolio img.portfolio_add {
   float: right;
   margin: 0 10px 5px 0;
   border: 1px solid #b3b3b3;
}
/* About */
#1 {
   font-weight: normal;
}
img.license {
   border-width:0; 
}
