/************************************************************************************
RESET
*************************************************************************************/
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset {
    margin: 0;
    padding: 0;
}

img, fieldset {
    border: 0;
}

/* set image max width to 100% */
img {
    max-width: 100%;
    height: auto;
    width: auto\9; /* ie8 */
}

/* set html5 elements to block */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

/************************************************************************************
GENERAL STYLING
*************************************************************************************/
html {
    overflow-y: scroll;
}

body {
    background-color: #333333;
    font: .81em/150% Arial, Helvetica, sans-serif;
    color: #333;
}
a {
    color: #026acb;
    text-decoration: none;
    outline: none;
}
a:hover {
    text-decoration: underline;
}
p {
    margin: 0 0 1.2em;
    padding: 0;
}

/* list */
ul, ol {
    margin: 1em 0 1.4em 24px;
    padding: 0;
    line-height: 140%;
}
li {
    margin: 0 0 .5em 0;
    padding: 0;
}

/* headings */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2em;
    margin: 20px 0 0;
}
h1 {
    color: #000;
    margin: 0 0 5px;
    font-size: 1.5em;
}
h2 {
    font-size: 1.4em;
}
h3 {
    font-size: 1.3em;
}
h4 {
    font-size: 1.2em;
}
h5 {
    font-size: 1.1em;
}
h6 {
    font-size: 1em;
}

label {
    color: #000;
}

/* reset webkit search input styles */
input[type=search] {
    -webkit-appearance: none;
    outline: none;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
    display: none;
}

sup {
    color: #f00;
}

blockquote {
    color: #FFFFFF;
    background: #999;
    max-width: 500px;
    margin: 0;
    padding: 20px 70px;
    position: relative;
}

blockquote::before,
blockquote::after {
    font-size: 350%;
    font-family: arial;
    display:block;
    position: absolute;
}

blockquote::before {
    content: open-quote;
    line-height: 40px;
    left: 30px;
}

blockquote::after {
    content: close-quote;
    line-height: 30px;
    right: 30px;
}

.bold {
    font-weight: bold;
}

/************************************************************************************
STRUCTURE
*************************************************************************************/
#pagewrap {
    width: 980px;
    margin: 0 auto;
}

/************************************************************************************
HEADER
*************************************************************************************/
#header {
    position: relative;
    height: 125px;
}

/* site logo */
#site-logo {
    position: absolute;
    top: 46px;
}
#site-logo a {
    font: bold 30px/100% Arial, Helvetica, sans-serif;
    color: #fff;
    text-decoration: none;
}
/* site description */
#site-description {
    font: italic 100%/130% "Times New Roman", Times, serif;
    color: #fff;
    position: absolute;
    top: 65px;
}

/* searchform
*/
#searchform {
    position: absolute;
    right: 10px;
    bottom: 6px;
    z-index: 100;
    width: 160px;
}
#searchform #s {
    width: 140px;
    float: right;
    background: #fff;
    border: none;
    padding: 6px 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
    -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
    box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
    -webkit-transition: width .7s;
    -moz-transition: width .7s;
    transition: width .7s;
    behavior: url('/javascript/PIE.htc');
}

/************************************************************************************
MAIN NAVIGATION
*************************************************************************************/
#main-nav {
    width: 100%;
    background: #ccc;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 100;
    /* gradient */
    background: #6a6a6a url('/images/nav-bar-bg.png') repeat-x;
    background: -webkit-gradient(linear, left top, left bottom, from(#b9b9b9), to(#6a6a6a));
    background: -moz-linear-gradient(top,  #b9b9b9,  #6a6a6a);
    background: linear-gradient(-90deg, #b9b9b9, #6a6a6a);
    /* rounded corner */
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    /* box shadow */
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
    behavior: url('/javascript/PIE.htc');
}
#main-nav li {
    margin: 0;
    padding: 0;
    list-style: none;
    float: left;
    position: relative;
}
#main-nav li:first-child {
    margin-left: 10px;
}
#main-nav a {
    line-height: 100%;
    font-weight: bold;
    color: #fff;
    display: block;
    padding: 14px 15px;
    text-decoration: none;
    text-shadow: 0 -1px 0 rgba(0,0,0,.5);
    behavior: url('/javascript/PIE.htc');
}
#main-nav a:hover {
    color: #fff;
    background: #474747;
    /* gradient */
    background: -webkit-gradient(linear, right top, right bottom, from(#282828), to(#4f4f4f));
    background: -moz-linear-gradient(top,  #282828,  #4f4f4f);
    background: linear-gradient(-180deg, #282828, #4f4f4f);
    behavior: url('/javascript/PIE.htc');
}

/************************************************************************************
CONTENT
*************************************************************************************/
#main {
    background: #fff;
    margin: 30px 0 30px;
    min-height: 350px;
    padding: 20px 35px;
    width: 600px;
    float: left;
    /* rounded corner */
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    /* box shadow */
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
    box-shadow: 0 1px 3px rgba(0,0,0,.4);
    behavior: url('/javascript/PIE.htc');
}

/* post */
.post {
    margin-bottom: 40px;
}
.post-title {
    padding: 0;
}
.post-title a {
    text-decoration: none;
    color: #000;
}
.post-meta {
    margin: 0 0 10px;
    font-size: 90%;
}

/* post image */
.post-image {
    margin: 0 0 15px;
}

/************************************************************************************
SIDEBAR
*************************************************************************************/
#sidebar {
    width: 280px;
    float: right;
    margin: 30px 0 30px;
}
.widget {
    background: #fff;
    margin: 0 0 30px;
    padding: 10px 20px;
    /* rounded corner */
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    /* box shadow */
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
    box-shadow: 0 1px 3px rgba(0,0,0,.4);
    behavior: url('/javascript/PIE.htc');
}
.widgettitle {
    margin: 0 0 5px;
    padding: 0;
}
.widget ul {
    margin: 0;
    padding: 0;
}
.widget li {
    margin: 0;
    padding: 6px 0;
    list-style: none;
    clear: both;
    border-top: solid 1px #eee;
}

#social li
{
    display: inline;
}

/************************************************************************************
FOOTER
*************************************************************************************/
#footer {
    clear: both;
    color: #ccc;
    font-size: 85%;
}
#footer a {
    color: #fff;
}

/************************************************************************************
CLEARFIX
*************************************************************************************/
.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clearfix { display: inline-block; }
.clearfix { display: block; zoom: 1; }

/************************************************************************************
DEBUG
*************************************************************************************/
#debug
{
    font-family: verdana, arial;
    font-size: 10pt;
    margin: auto;
    width: 980px;
}

#debug h2
{
    text-align: center;
}

#debug table
{
    margin: 10px auto;
    min-width: 300px;
}

#debug table th
{
    background-color: #000000;
    color: #000000;
    padding: 6px 0;
}

#debug table td
{
    padding: 3px 10px;
}

#debug tbody td:first-child
{
    border-right: 1px solid #000000;
    font-weight: bold;
}

#debug table tr:nth-child(odd)
{
    background-color: #eeeeee;
}

#debug table tr:nth-child(even)
{
    background-color: #ffffff;
}

/************************************************************************************
FORMS
*************************************************************************************/
input[type="submit"], input[type="reset"], a.submit
{
    background: url('/images/white-grad.png') repeat-x scroll left top #F2F2F2;
    border-color: #BBBBBB;
    color: #464646;
    -moz-border-radius: 11px;
    -webkit-border-radius: 11px;
    border-radius: 11px;
    border-style: solid;
    border-width: 1px;
    cursor: pointer;
    font-size: 12pt !important;
    text-decoration: none;
    line-height: 15px;
    margin: 10px 0;
    padding: 5px 12px;
    white-space: nowrap;
    text-shadow: 0 1px 0 #FFFFFF;
    -moz-box-shadow: 5px 5px 5px #999;
    -webkit-box-shadow: 5px 5px 5px #999;
    box-shadow: 5px 5px 2px #999;
    behavior: url('/javascript/PIE.htc');
}

input[type="submit"].normal
{
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    line-height: 1em;
    margin: 0;
    padding: 0 6px 2px 6px;
    behavior: url('/javascript/PIE.htc');
}

input[type='text'], input[type='password'], select, textarea
{
    border: 1px solid #999;
    padding: 4px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 5px 5px 5px #999;
    -webkit-box-shadow: 5px 5px 5px #999;
    box-shadow: 5px 5px 2px #999;
    behavior: url('/javascript/PIE.htc');
}

input[type='text']:focus, input[type='password']:focus, select:focus, textarea:focus
{
    background-color: #FFFFCC;
    border: 1px solid #ffcc33;
}
input[type='checkbox']
{
    vertical-align: middle;
}

label
{
    display: block;
    font-weight: bold;
    padding-bottom: 2px;
}

/************************************************************************************
CHARACTER COUNTER
*************************************************************************************/
.cc_red
{
    color: #ff0000 !important;
}

.cc_grey
{
    color: #666666 !important
}

.cc_yellow
{
    color: #EEAD0E !important;
}



/************************************************************************************
MISC
*************************************************************************************/
#contactform input[type="text"]
{
    width: 40%;
}

#errormessage
{
    background-color: #FFE7E7;
    border: 3px solid #CC0033;
    color: #000000;
    margin: 0 auto 20px;
    padding: 10px;
    width: 95%;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -moz-box-shadow: 3px 3px 3px #ccc;
    -webkit-box-shadow: 3px 3px 3px #ccc;
    box-shadow: 3px 3px 3px #ccc;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#FFEAEA), to(#FFB3B3));
    background: -moz-linear-gradient(#FFEAEA, #FFB3B3);
    background: linear-gradient(#FFEAEA, #FFB3B3);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFEAEA', endColorstr='#FFB3B3',GradientType=0 );
}

#errormessage img
{
    float: left;
    margin: 10px 20px 10px 10px;
}

#errormessage h2
{
    font-size: 13pt;
    margin: 3px;
}

#errormessage ul
{
    list-style-position: inside;
    list-style-type: none;
    margin-left: 62px;
}

#errormessage li
{
    margin: 5px 0;
}

#successmessage
{
    background-color: #FFFFCC;
    border: 3px solid #71AF27;
    color: #71AF27;
    font-weight: bold;
    margin: 0 auto 20px;
    padding: 10px;
    width: 90%;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -moz-box-shadow: 3px 3px 3px #ccc;
    -webkit-box-shadow: 3px 3px 3px #ccc;
    box-shadow: 3px 3px 3px #ccc;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#FEFFA9), to(#FFFFCC));
    background: -moz-linear-gradient(#FEFFA9, #FFFFCC);
    background: linear-gradient(#FEFFA9, #FFFFCC);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FEFFA9', endColorstr='#FFFFCC',GradientType=0 );
}

#successmessage img
{
    float: left;
    margin-right: 10px;
}

#successmessage p
{
    margin: 0;
    padding: 8px 0 5px 0;
}

#social .socialbutton
{
    float: left;
    margin-right: 10px;
}

/************************************************************************************
Blog
*************************************************************************************/

/* Comments link */
.entry-header .comments-link a {
    background: #eee url('/blog/wp-content/themes/version_x/images/comment-bubble.png') no-repeat;
    color: #666;
    float: right;
    font-size: 13px;
    font-weight: normal;
    line-height: 35px;
    margin: 0 0 15px 20px;
    overflow: hidden;
    padding: 0 0 0;
    text-align: center;
    text-decoration: none;
    width: 43px;
    height: 36px;
}
.entry-header .comments-link a:hover,
.entry-header .comments-link a:focus,
.entry-header .comments-link a:active {
    background-color: #1982d1;
    color: #fff;
    color: rgba(255,255,255,0.8);
}
.entry-header .comments-link .leave-reply {
    visibility: hidden;
}

.entry-meta
{
    color: #222;
    margin-bottom: 20px;
}

.entry-title a
{
    color: #222;
}

.entry-title a:hover
{
    text-decoration: none;
}

.entry-title a:active
{
    color: #666;
}

ol.commentlist, ol.commentlist ul
{
    list-style-type: none;
    margin-left: 0;
}

ol.commentlist li, p.note, div.note
{
    background-color: #efefef;
    border: 1px solid #cccccc;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 20px;
}

div.yellownote
{
    background-color: #FFFFCC;
    border: 3px solid #cccccc;
}

ol.commentlist img
{
    float: left;
    margin: 0 20px 20px 0;
}

#nav-single
{
    margin-bottom: 15px;
}

.nav-previous
{
    float: left;
}

.nav-next
{
    float: right;
}

.post.pingback
{
    margin-bottom: 0.5em;
}

.comment-subscription-form label
{
    display: inline;
    padding-bottom: 0;
}

li.comment
{
    min-height: 70px;
}

#commentform #comment
{
    width: 98%;
}

div p
{
    margin-top: 10px;
}

.githubicon
{
    float: left;
    margin-right: 20px;
}
#github-icons
{
    margin: 0 auto;
    padding-left: 0;
    list-style: none;
}

#github-icons li
{
    display: inline-block;
}

table.stripe tr:nth-child(even) {
    background-color: #ccc;
}

table.fullsize {
    border: 1px solid #666;
    width: 100%;
}

table.fullsize th {
    background-color: #333;
    color: #fff;
    padding: 3px;
}

table.fullsize td {
    padding: 3px;
}

.indent {
    margin-left: 30px;
}