/*

Cool blue color pallete: http://colorschemedesigner.com/#3L11Tw0w0w0w0
   1240AB
   2A4480
   06266F
   4671D5
   6C8CD5

*/

@font-face {
	font-family: "League Gothic";
	src: url("/fonts/LeagueGothic-Regular.otf");
	font-style: normal;
}

@font-face {
	font-family: "Typewriter Condensed";
	src: url("/fonts/typewcond_regular.otf");
	font-style: normal;
}

html {
    height: 100%;
    overflow-y: scroll;
}

body {
    background: #FFF;
    margin: 1em;
    padding: 0;
    font-family: "Typewriter Condensed";
    height: 100%;
}

header, nav, article, aside, footer, hgroup, section {
    display: block;
}

div#main {
    font-size: 15px;
    min-height: 700px;
}

a {
    color: #000;
    text-decoration: underline;
}

a:hover {
	background: #000;
	color: #fff;
}

li, ol {
    margin: 10px 0 10px 0;
}

hr {
	border: 0px;
	padding: 0px;
	height: 8px;
	background-image: url("/img/dotdotdot.png");
	background-repeat: no-repeat;
	background-position: center;
}

/****************************/
/* Header */
/****************************/

div#right {
    width: 400px;
    display: inline;
    float: right;
    position: relative;
}

div#header {
    height: 100px;
    padding-left: 30px;
    text-indent: -30px;
    clear: both;
}

div#header h1, div#header h2 {
    font-size: 40px;
    font-family: "League Gothic";
    /*font-variant: small-caps;*/
    margin: 0px 0px -8px 10px;
    font-weight: normal;
}

div#header h1 .big {
	font-size: 90px;
}

div#header a {
    color: #000;
    text-decoration: none;
}

div#header a:hover {
    color: #000;
    background-color: #fff;
}


/****************************/
/* Navigation */
/****************************/
div#navigation {
    border-top: 1px solid #fff;
    background: #2A4480;
    width: 100%;
    margin: 0;
}
div#navigation * {
    margin: 0;
    padding: 0;
}
div#navigation ul {
    list-style-type: none;
}
div#navigation li {
    float: left;
}
div#navigation a {
    padding-right: 32px;
    padding-left: 32px;
    display: block;
    text-decoration: none;
    font-weight: normal;
    color: #ffffff;
    font-size: 21px;
}
div#navigation a:hover,
div#navigation a.selected {
    background: #3A5490;
}


/****************************/
/* Footer */
/****************************/
div#footer {
    border-top: 1px solid #fff;
    width: 100%;
    margin: 0;
    margin-top: 1em;
    font-size: 0.8em;
    float: right;
}

div#credits p {
    margin: 2px;
    width: 100%;
    text-align: right;
}


/****************************/
/* Content Block */
/****************************/
#prose_block {
    margin-top: 10px;
    width: 40em;
    display: inline;
    float: left;
    position: relative;
}

#prose_block article {
}

.post_prose a:hover {
    color:#fff;
    background-color: #000;
}
.post_prose a {
    color:#4671D5;
    text-decoration:none;
}

/****************************/
/* Blog Posts */
/****************************/
.blog_post * {
}
.blog_post {
    margin-bottom: 10px;
}

.blog_post article {
    margin: 0 0 30px 0;
    padding-bottom: 5px;
    border-radius: 15px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
}
.blog_post article header {
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: #eee;
    height: 40px;
}
.blog_post article footer {
    -webkit-border-bottom-left-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -moz-border-radius-bottomleft: 10px;
    -moz-border-radius-bottomright: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    color: #444;
    height: 20px;
    border-left: 1px solid #aaa;
    border-right: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
}
.blog_post article footer a {
    color: #444;
}
.blog_post .left{
    margin-left: 10px;
    float: left;
}
.blog_post .right{
    margin-right: 10px;
    float: right;
}

.blog_post article header a {
    text-decoration: none;
}

.blog_post header .date {
    float: left;
    text-align: right;
    width: 50px;
    height: 40px;
    font-size: 24px;
    margin-right: 12px;
    padding-right: 10px;
    background-color: #06266F;
    background-color: rgba(0, 0, 126, 0.2);
    border-right: 1px solid #600;
    border-right-color: #06266F;
    border-right-color: rgba(0, 32, 96, 0.9);
    border-top-left-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -webkit-border-top-left-radius: 10px;
    box-shadow: inset 1px 0 15px rgba(0, 72, 96, 0.9);
    -moz-box-shadow: inset 1px 0 15px rgba(0, 72, 96, 0.9);
}

.blog_post header .year {
    font-size: 15px;
    text-align: center;
    width: 40px;
    line-height: 16px;
    margin: 12px 0 0 -7px;
    display: block;
    color: #6677AA;
    transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
}

.blog_post header .day {
    font-size: 18px;
    height: 24px;
    text-align: center;
    float: right;
    margin: -25px 0 0 -10px;
}

.blog_post header .month {
    display:block;
    font-size:12px;
    height:16px;
    font-family: monospace;
    margin-top: -8px;
    margin-right: -1px;
}

.blog_post_title {
    font-size: 1.4em;
    height: 1.4em;
    font-weight: normal;
    overflow: hidden;
}
.blog_post_title a {
    color: #000;
    float: left;
    margin-top: 4px;
}

.blog_post_title a:hover {
    color: #fff;
    background-color: #000;
}

.post_body {
    padding-top: 10px;
    padding-bottom: 15px;
    min-height: 60px;
    border-left: 1px solid #aaa;
    border-right: 1px solid #aaa;
    background: #e3e3e3;
}
.post_prose {
    margin-left: 10px;
}

.syntax_highlight {
    background: #e3e3e3;
    margin: 15px 10px 15px 20px;
}

/****************************/
/* Sidebar */
/****************************/

aside {
    width: 260px;
    padding: 0 20px 20px 0;
    margin-top: 80%;
    float: right;
}

aside h1, footer h1 {
    font-size: 18px;
    font-weight: normal;
    line-height: 28px;
    height: 28px;
    margin-bottom: 10px;
    padding: 0 10px;
}

aside nav, aside section {
    margin: 0 0 25px 0;
    padding: 0;
    background: none;
}
aside ul, aside ol {
    list-style: none outside none;
}
aside li {
    margin-left: -25px;
    text-decoration: none;
    border-bottom: 1px dashed #ddd;
}
.tweet_list {
    font-size: 0.8em;
}
.tweet_list li {
    margin-bottom: 10px;
}
.tweet_list img {
    float: left;
    margin-right: 10px;
    }

/****************************/
/* Non-blog pages */
/****************************/
.page_box {

    margin: 20px;
    padding: 20px;
    background: #e3e3e3;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
/****************************/
/* Fonts */
/****************************/
.theme_font, .theme_font * {
    font-family: 'Architects Daughter', arial, serif;    
}
.theme_font2, .theme_font2 * {
    font-family: 'Droid Sans', arial, serif;    
}
/****************************/
/* Gradients */
/****************************/
.header_gradient {
    background: #2a4480; /* Old browsers */
    background: -moz-linear-gradient(top, #2a4480 0%, #4671d5 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2a4480), color-stop(100%,#4671d5)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #2a4480 0%,#4671d5 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #2a4480 0%,#4671d5 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #2a4480 0%,#4671d5 100%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2a4480', endColorstr='#4671d5',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, #2a4480 0%,#4671d5 100%); /* W3C */
}

.post_header_gradient {
    box-shadow: inset 0 -35px 35px -18px #005b79;
    background-color:  #2A4480;
    background: #2A4480; /* Old browsers */
    background: -moz-linear-gradient(top, #2A4480 1%, #6C8CD5 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#2A4480), color-stop(100%,#6C8CD5)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #2A4480 1%,#6C8CD5 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #2A4480 1%,#6C8CD5 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #2A4480 1%,#6C8CD5 100%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2A4480', endColorstr='#6C8CD5',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, #2A4480 1%,#6C8CD5 100%); /* W3C */
}
.post_footer_gradient {
    background: #DDD; /* Old browsers */
    background: -moz-linear-gradient(top, #DDD 8%, #6C8CD5 92%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(8%,#DDD), color-stop(92%,#6C8CD5)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #DDD 8%,#6C8CD5 92%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #DDD 8%,#6C8CD5 92%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #DDD 8%,#6C8CD5 92%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#DDD', endColorstr='#6C8CD5',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, #DDD 8%,#6C8CD5 92%); /* W3C */
}
