/*
    Title:      Coder on Fire Theme
    Version:    0.1
    Author:     Andrew Mason
    Contact:    andrew at coderonfire dot com
    URL:        http://coderonfire.com/
    
    Description:
        CSS theme for my personal website
        
    Note:
        This file is broken up into section and the equals character = is
        used as a prefix to allow quick & easy search navigation.

*/

/* Reset. Let's start with a blank slate. Credit to Eric Meyer
-----------------------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* =HTML
-----------------------------------------------------------------------------*/


/* =Layout
-----------------------------------------------------------------------------*/
#wrapper {
    background-color: #FFF;
    margin: 0 auto;
    width: 60em;
}

/* =Typography
-----------------------------------------------------------------------------*/
BODY {
    font-family: arial, helvetica, verdana, sans-serif;
    /*font-size: 0.875em;  14px */
}

/* =Colours
-----------------------------------------------------------------------------*/
BODY {
    background-color: #FFF;
}

A {
    color: #109fd8; /* light blue */
}

/* =Global
-----------------------------------------------------------------------------*/
#blog_header {
    padding: 1em 0 0 0;
}

#blog_header A {
    text-decoration: none;
    font-size: 2em;
    letter-spacing: -.08em;
    color: #d86d2f;
}

#blog_header A:hover {
    border-top: 2px solid #d86d2f;  
}

.big {
    font-weight: bold;
    font-size: 1.8em;
    margin: .1em 0 .3em 0;
}

/* =Navigation
-----------------------------------------------------------------------------*/
#navigation {
    background-color: #d86d2f;
    overflow: hidden;
    padding: .3em .5em;
    margin-bottom: 1px;
    clear: both;
}

#header_subtitle {
    color: #FFF;
    font-size: .85em;
    float: left;
    margin-top: .4em;
}

#navigation UL {
    float: right;
    overflow: hidden;
}

#navigation LI {
    display: block;
    float: left;
    padding: .3em 0;
}

#navigation A {
    display: block;
    color: #FFF;
    font-weight: bold;
    font-size: .9em;
    padding: 0 1em;
    border-left: 1px solid #FFF;
    /* text-decoration: none; */
}

#navigation LI:first-child A {
    border: none;
}


/* =Homepage
-----------------------------------------------------------------------------*/

/* =Homepage -Structure
-----------------------------------------------------------------------------*/

/* =Homepage -Tabs
-----------------------------------------------------------------------------*/
#homepage_tabs {
    float: left;
    width: 40em;
    -moz-border-radius-topleft: 15px;
    -webkit-border-top-left-radius: 15px;
}


/* =Homepage -Ident
-----------------------------------------------------------------------------*/
#ident {
    background-image: url(http://static.coderonfire.com/images/profile_duo.png);
    background-position: 71px 0;
    background-repeat: no-repeat;
    float: left;
    width: 20em;
    padding-top: 9em;
    padding-bottom: 2em;
    overflow: hidden;
    margin-bottom: 1em;
    -moz-border-radius-bottomright: 15px;
    -webkit-border-bottom-right-radius: 15px;
}

#name,
#job_title,
#location
{
    background-color: #151515;
    color: #FFF;
    float: left;
    clear: left;
    margin-top: 2px;
    text-transform: uppercase;
    padding: .2em;
}

#name {
    font-size: 1.23em;
    font-weight: bold;
}

#job_title,
#location
{
    font-size: .8em;
}

/* =Homepage -Personal Description
-----------------------------------------------------------------------------*/
#personal_description {
    padding: 0 3em;
    float: left;
    width: 34em;
    margin-top: 1.4em;
    
}
#personal_description P {
    font-family:arial, sans-serif;
    font-size: 1.2em;
    line-height: 1.6em;
    margin: 1em 0;
}

#personal_description STRONG {
    background-color: #FFC;
    padding: .1em;
}

#personal_description A {
	text-decoration: none;
	color: #000;
}

/* =Homepage -Sections
-----------------------------------------------------------------------------*/
#sections {
    overflow: hidden;
    clear: both;
}

#sections DIV {
}

#sections P,
#sections UL
{
    font-size: 0.8em;
    line-height: 1.4em;
    margin: .6em 0;
}

#sections #profile P {
    margin: 0 0 1em 0;
}

#sections H2 {
    font-size: 1em;
    border-bottom: 1px solid #CCC;
}

#sections H2 A {
    text-decoration: none;
    color: #555;
}

#sections H3 {
    font-size: 0.73em;
}

/* =Homepage -Profile
-----------------------------------------------------------------------------*/
#profile {
    clear: both;
    float: left;
    width: 20em;
}

#profile LI {
    float: left;
    display: block;
    width: 50%;
    margin-bottom: .5em;
}

#profile LI A {
    background-image: url(http://static.coderonfire.com/images/social_icons.png);
    background-repeat: no-repeat;
    padding-left: 22px;
    height: 16px;
    display: block;
    float: left;
    clear: left;
    margin-bottom: .3em;
}
#facebook_link {
    background-position: 0 0;
}

#flickr_link {
    background-position: 0 -16px;
}

#linkedin_link {
    background-position: 0 -48px;
}

#twitter_link {
    background-position: 0 -112px;
}

#delicious_link {
    background-position: 0 -96px;
}

#lastfm_link {
    background-position: 0 -32px;
}

#youtube_link {
    background-position: 0 -80px;
}

#reddit_link {
    background-position: 0 -64px;
}

#stackoverflow_link {
    background-position: 0 -128px;
}

#posterous_link {
    background-position: 0 -144px;
}


/* =Homepage -Experiments
-----------------------------------------------------------------------------*/
#experiments {
   float: right;
   width: 640px;
   overflow: hidden;
}

#experiments H2 {
    background-image: url(http://static.coderonfire.com/images/experiments_icon.png);
    background-repeat: no-repeat;
    background-position: left middle;
    padding-left: 38px;
    padding-top: 10px;
    padding-bottom: 6px;
}

.experiment {
    overflow: hidden;
    width: 20em;
    float: left;

}

.experiment A {
    background-color: #F4F4F4;
    background-position: right bottom;
    background-repeat: no-repeat;
    padding: 1em;
    display: block;
    text-decoration: none;
    font-size: 0.83em;
    color: #222;
    line-height: 1.4em;
    min-height: 6em;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border: 1px solid #FFF;
}

.experiment STRONG {
    color: #109FD8;
    text-decoration: underline;
}

.experiment A:hover {
    background-color: #D86D2F;
    color: #FFF;
}

.experiment A:hover STRONG {
    color: #FFF;
}


#repair_home_exp A {
    background-image: url(http://static.coderonfire.com/images/twitter_protect_background.png);
}

#doodle_home_exp A {
    background-image: url(http://static.coderonfire.com/images/tiny_doodle_background.png);
}

#armyid_home_exp A {
    background-image: url(http://static.coderonfire.com/images/facebook_background.png);
}

#trends_home_exp A {
    background-image: url(http://static.coderonfire.com/images/trends_background.png);
}


/* =Homepage -Blog
-----------------------------------------------------------------------------*/
#blog {
    clear: both;
    margin-top: 1em;
}

#breadcrumb {
    font-size: 0.873em;
    margin: 1em 0 2em 0;
}

#breadcrumb A {
    color: #D86D2F;
}


/* =Portfolio -Content
-----------------------------------------------------------------------------*/
#portfolio_content {
    width: 600px;
    margin: 30px auto;
}

#portfolio_content H2 {
    font-size: 4em;
    color: #222;
}


#portfolio_content H4 {
    clear: both;
    margin-top: 1em;
    margin-bottom: 0;
    border-bottom: 1px solid #CCC;
    padding-top: 10px;
    font-size: 2em;
}

#portfolio_content P {
    line-height: 1.4em;
    margin: 1em 0;
    font-size: 0.83em;    
}

.site_shot {
    float: right;
    border: 1px solid #CCC;
    clear: right;
    margin-left: 10px;
    margin-bottom: 10px;
    margin-top: -20px;
}


/* =Blog -Posts Column
-----------------------------------------------------------------------------*/
#posts_column {
    /* width: 40em; */
    overflow: hidden;
}

.post {
    margin-bottom: 3em;
    overflow: hidden;
}

.post_body {
    width: 40em;
    float: left;
    clear: left;
}

.post_meta {
    float: right;
    width: 18em;
    border-left: 1px solid #EEE;
    min-height: 8em;
    padding-left: 1em;
}

.post_title {
    font-family: arial, sans-serif;
    font-size: 2em;
    font-weight: bold;
    letter-spacing: -.04em;
    margin-bottom: .2em;
    overflow: hidden;
}

.post_title A {
    color: #222;
}

.post_title A:hover {
   
}

.post_date {
    font-size: 0.7em;
}

.post_content {
    margin-top: 1em;
    color: #222;
}

.post_content P,
.post_content LI
{
    font-size: 0.875em; 
    line-height: 1.4em;
}

.post_content P {
    margin: 1em 0;
}

.post_content UL {
    list-style-type: disc;
    margin-left: 2em;
}

.post_content OL {
    margin-left: 2em;
}


/* =Experiments -Detail
-----------------------------------------------------------------------------*/
#experiments_column {
    width: 39em;
    float: left;
    border-right: 1px solid #EEE;
    padding-right: 1em;
}

.experiment_content P,
.experiment_content UL,
.experiment_content OL
{
    font-size: 0.873em;
    line-height: 1.4em;
    margin: 1em 0;
}

.experiment_content UL {
    list-style-type: disc;
}

.experiment_content LI {
    margin-left: 1em;
}

#experiment_demo {
    float: right;
    text-align: right;
}

#experiment_demo A {
    display: block;
    position: relative;
    width: 250px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
}

#experiment_demo A:hover {
    border-bottom: 1em solid #FF0;
}

#experiment_demo A SPAN {
    background-color: #FFF;
    padding: .2em .3em;
    right: 0;
    bottom: 0;
    font-size: 1.4em;
}
#experiment_demo A:hover SPAN {
    background-color: #FF0;
}

#experiment_demo A IMG {
    border: none;
}

/* =404
-----------------------------------------------------------------------------*/
#404error {
    border: 5px solid #F00;
    background-color: #000;
    font-family: mono-space;
    text-align: center;
    margin: 0 auto;
    padding: 1em;
    font-size: 2em;
}


/* =Footer
-----------------------------------------------------------------------------*/
#footer {
    clear: both;
    padding-top: 1em;
    font-size: .7em;
    color: #999;
    text-align: center;
    line-height: 1.4em;
    border-top: 1px solid #EEE;
    margin: 2em 0;
}

#footer A {
    color: #666;
    text-decoration: none;
}

#footer A:hover {
    text-decoration: underline;
}


/* =Misc Style
-----------------------------------------------------------------------------*/
HR {
    display: none;
}

.image_right {
    float: right;
    margin: 0 0 1em 1em;
}

.image_left {
    float: left;
    margin: 0 1em 1em 0;
}
