/*

TypePad Developer Resources
Six Apart
http://www.sixapart.com/

*/


/* Core */

body {
    font-size: 81.25%;
    line-height: 1.4;
    font-family: Helvetica, Arial, sans-serif;
}

.pkg:after {
    content: " ";
    display: block;
    visibility: hidden;
    clear: both;
    height: 0.1px;
    font-size: 0.1em;
    line-height: 0;
}
.pkg { display: inline-block; }
/* no ie mac \*/
* html .pkg { height: 1%; }
.pkg { display: block; }
/* */


/* General */

body {
    background-color: #55799b;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

a {
    color: #287098;
    text-decoration: none;
}

a:hover,
a:active {
    text-decoration: underline;
}


/* Chrome */

#header {
    font-size: 1.1em;
    line-height: 1.3;
}

#header,
#header a,
#footer,
#footer a {
    color: #fff;
}

#header .header-site {
    height: 36px;
    background-color: #7a9c5d;
    background-image: url(../images/green.png);
    background-repeat: repeat-x;
    overflow: hidden;
}

#header .header-page {
    height: 51px;
    background-color: #578ec1;
    background-image: url(../images/blue.png);
    background-repeat: repeat-x;
    overflow: hidden;
}

#content {
    background-color: #f0f5f8;
}

#header .header-site-inner,
#header .header-page-inner,
#content .content-inner,
#footer .footer-inner {
    width: 980px;
    margin: 0 auto;
}

#header .site-title,
#header .page-title,
#main,
#sidebar,
#footer .copyright {
    margin: 0 10px;
}

#header .site-title,
#header .page-title,
#footer .copyright {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
}

#header .site-title,
#header .page-title {
    padding: 5px 0;
}

#header .site-title {
    line-height: 26px;
}

#header .site-title .typepad-logo {
    vertical-align: -4px;
}

#header .page-title {
    font-weight: bold;
    font-size: 1.5em;
    line-height: 41px;
}

#footer .copyright {
    padding: 30px 0;
}

#content .content-inner {
    padding: 30px 0;
}

#main,
#sidebar {
    display: inline;
    float: left;
}

#main {
    width: 760px;
}

#sidebar {
    width: 160px;
    overflow: hidden;
}


/* Main */

#main .main-inner {
    border-width: 1px;
    border-style: solid;
    border-color: #eee #ccc #ccc #eee;
    padding: 19px;
    background-color: #fff;
    -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

#main h1,
#main h2,
#main h3,
#main h4,
#main h5,
#main h6,
#main p,
#main ul,
#main pre {
    margin: 10px;
}

#main h1,
#main h2,
#main h3 {
    font-size: 1.5em;
}

#main h2,
#main h3 {
    position: relative;
}

#main h1 {
    font-weight: bold;
}

#main h2 {
    margin: 50px 0 15px;
    padding: 5px 10px;
    background-color: #f0f5f8;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f0f5f8), color-stop(0.5, #f0f5f8), color-stop(0.5, #deebf0), to(#f0f5f8));
    -webkit-border-radius: 5px;
}

#main h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    border-top: 1px solid #f2f2f2;
    padding-top: 29px;
    color: #d33402;
    font-weight: bold;
}

#main h4 {
    margin-top: 20px;
    font-weight: bold;
}

#main ul {
    list-style-type: disc;
    padding-left: 40px;
}

#main pre {
    overflow: auto;
    max-height: 218px;
    margin-top: 15px;
    margin-bottom: 15px;
    border: 1px dotted #ccc;
    padding: 9px;
}

#main code {
    padding: 2px 5px;
    font-family: Monaco, Courier, "Courier New", monospace;
    background-color: #ffd;
}

#main h4 code {
    padding: 0;
    font-family: Helvetica, Arial, sans-serif;
    background-color: transparent;
}

#main pre code {
    padding: 0;
    background-color: transparent;
}

#main a.anchor {
    position: absolute;
    right: 0;
}

#main h2 a.anchor {
    right: 10px;
}

#main .new {
    padding: 0 3px;
    color: #fff;
    font-weight: bold;
    font-size: 0.9em;
    background-color: #f60;
    -webkit-border-radius: 3px;
}


/* Sidebar */

#sidebar h2 {
    margin: 5px 0;
    font-weight: bold;
}

#sidebar ul {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #fff;
}

#sidebar a {
    display: block;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #ddd;
    padding: 5px 10px;
}

#sidebar a:hover {
    text-decoration: none;
    background-color: #fff;
}


/* Definition Lists */

dl {
    margin: 10px;
    border-left: 1px solid #ccc;
    padding-left: 10px;
}

dt {
    margin-top: 10px;
    font-weight: bold;
}

dd {
    margin-bottom: 10px;
    color: #333;
    font-style: italic;
}
