/*
Theme Name: Carbon
Theme URI: http://richardpeng.com/
Description: Simple theme for Richard Peng
Author: Richard Peng
Version: 0.1
*/

/* Foundation v2.2.1 http://foundation.zurb.com */
/* Artfully masterminded by ZURB  */

/* -------------------------------------------------- 
   Table of Contents
-----------------------------------------------------
:: Shared Styles
:: Page Name 1
:: Page Name 2
*/


/* -----------------------------------------
   Shared Styles
----------------------------------------- */

/* Typography */

body {
    font-family: "ff-tisa-web-pro",serif;
    font-style: normal;
    font-weight: 400;
    color: #333;
}

h1, h2 {
    font-family: "chaparral-pro",sans-serif;
    font-style: normal;
    font-weight: 700;
    clear: both;
}

#sitename {
    font-family: "proxima-nova",sans-serif;
    font-style: normal;
    font-weight: 100;
    font-size: 55px;
    line-height: 70px;
    margin: 0;
}

.nav {
    font-family: "proxima-nova",sans-serif;
    font-style: normal;
    font-weight: 100;
}

.nav li {
    list-style: none;
}

h1 a, h2 a {
    color: #000;
}

h1 {
    font-size: 32px;
    line-height: 35px;
    margin: 37px 0 6px;
}

h2 {
    font-size: 21px;
    line-height: 31px;
    margin: 21px 0 13px;
}

h3 {
    font-size: 17px;
    line-height: 29px;
    margin: 4px 0 6px;
}

#content p, #content li {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 0;
    -moz-hyphens:auto;
    -ms-hyphens:auto;
    -webkit-hyphens:auto;
    hyphens:auto;
    word-wrap:break-word;
}

#content p {
    padding: 0.5em 0;
}

#content p a {
    color: #666;
    border-bottom: 1px dotted #333;
}

#content p a:hover {
    color: #11639D;
}

#content p img {
    margin: 0.5em 0;
}

#content li {
    padding: 0.25em 0;
}

blockquote {
    margin: 0.5em 0;
    padding: 0.5em 1.5em;
    border-left: 1px solid #444;
}

blockquote p {
    color: #444;
}

ul, ol {
    margin: 0.5em 1.5em;
}

ul li {
    list-style-type: disc;
}

ol li {
    list-style-type: decimal;
}

#logo a {
    color: #181818;
}

.nav.primary li a {
    font-size: 25px;
    line-height: 70px;
    color: #181818;
}

#logo a, .nav.primary li {
    cursor: pointer;
}

#logo:hover a, .nav.primary li:hover a {
    color: #2A85E8;
}

pre {
    font-family: "adaptive-mono",serif !important;
    font-style: normal;
    font-weight: 400;
    line-height: 19.5px;
    overflow-x: auto;
    overflow-y: hidden;
}

.post {
    padding-bottom: 50px;
    border-bottom: 2px solid #999;
}

.post:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.post-meta {
    font-size: 16px;
    color: #616161;
    margin-bottom: 26px;
    font-family: "proxima-nova",sans-serif;
    font-style: normal;
    font-weight: 300;
    line-height: 26px;
}

.post-meta span {
    margin-right: 26px;
}

.nav-previous, .nav-next {
    float: left;
    width: 50%;
    line-height: 26px;
    margin-bottom: 26px;
}

.nav-next {
    text-align: right;
}

/* Layout */

body {
    background: url("images/px_by_Gre3g.png") repeat fixed 0 0 #282828;
}

.container, .nav.primary {
    background: #FFF;
}

.container {
	border-color: #555555 #999999 #999999;
	border-style: solid;
	border-width: 4px 1px 0;
	margin: 0 auto;
	max-width: 800px;
	overflow: hidden;
    padding: 0 40px;
    -webkit-box-shadow:  0 0 6px 4px #040404;
    -moz-box-shadow:  0 0 6px 4px #040404;
    box-shadow:  0 0 6px 4px #040404;
}

#header {
    position: relative;
    width: 100%;
    margin-bottom: 21px;
    margin-top: 13px;
}

#content {
    margin-bottom: 26px;
}

.nav.primary {
    position: absolute;
    right: 0;
    top: 0;
    margin: 0;
}

.nav.primary li {
    margin: 0;
    float: left;
}

#logo {
    float: left;
}

#logo, #logo a, .nav.primary li, a {
    -webkit-transition: all 250ms ease;
    -moz-transition: all 250ms ease;
    -ms-transition: all 250ms ease;
    -o-transition: all 250ms ease;
    transition: all 250ms ease;
}

.nav.primary li {
    float: left;
}

.nav.primary li a {
    padding: 9px 13px 0;
    display: block;
}

.nav.primary li:hover a {
    padding-top: 7px;
    padding-bottom: 2px;
}

#content .alignleft {
    float: left;
    margin: 8px 13px 18px 0;
}

#content .alignright {
    float: right;
    margin: 8px 0 18px 13px;
}

.tagcloud {
    max-width: 500px;
    margin: 0 30px;
}

.archivelist li {
    list-style-type: none;
}

#footer {
    margin-bottom: 26px;
}

@media only screen and (max-width: 860px) {
    .container {
        border-width: 4px 0 0;
    }
}

@media only screen and (min-width: 746px) {
    .nav.primary {
        display: inline !important;
    }
}

@media only screen and (max-width: 746px) {
    .container {
        padding: 0 20px;
    }
    .nav.primary {
        display: none;
    }
    #sitename .dropdown {
        display: inline-block !important;
    }
    #sitename .dropdown {
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid #181818;
        content: "&darr";
        height: 0;
        margin-left: 26px;
        margin-top: 29px;
        vertical-align: top;
        width: 0;
    }
    .nav.primary {
        left: 0;
        right: auto;
        top: 78px;
        width: 100%;
        z-index: 10;
        padding-bottom: 26px;
        border-bottom: 3px solid #555;
    }
    .nav.primary li {
        float: none;
    }
    .nav.primary li a {
        padding-left: 0;
        line-height: 39px;
    }
    #sitename, .nav.primary li {
        border: none;
    }
    .nav.primary li:hover a {
        padding-top: 9px;
        padding-bottom: 0;
    }
    img {
        max-width: 47%;
        height: auto;
    }
}

@media only screen and (max-width: 641px) {
    .post-meta span {
        display: block;
    }
}

@media only screen and (max-width: 420px) {
    #sitename {
        font-size: 40px;
    }
}

/* -----------------------------------------
   Page Name 1
----------------------------------------- */




/* -----------------------------------------
   Page Name 2
----------------------------------------- */


