/*******************************************************************************
* Reset and Box Model
*******************************************************************************/

@import 'font_alte-haas-grotesk.css';


/*******************************************************************************
* Reset and Box Model
*******************************************************************************/

html,body,div,h1,h2,h3,h4,h5,h6,p,span,a,form,fieldset,legend,input,
textarea,select,img,object,table,tr,td,article,section,nav,video,aside {
    margin: 0;
    padding: 0;
    border: 0;
    text-align: left;
    background: transparent;
}

body {
    background: #FEFEFE;
    margin: 0;
    padding: 0;
}


/*******************************************************************************
* Header Rules
*******************************************************************************/

body>header,body>footer {
    position: relative;

    display: block;
    margin: 0;
    padding: 1px 20px 10px;

    background: #111;
}

header>h1 {
    font: normal 24px/30px 'alte haas grotesk', helvetica, arial, sans-serif;
    color: #FEFEFE;
}

.article-description,.credits {
    margin: 0 30px;
    padding: 0;

    color: #FEFEFE;
}

.logo-link {
    float: left;
}

.credits {
    float: right;
    text-align: right;
    margin-top: 33px;
}

.article-link {
    position: absolute;
    top: 1px;
    right: 20px;

    font: bold 18px/30px 'alte haas grotesk', helvetica, arial, sans-serif;
}

.article-link>a {
    text-decoration: none;
    color: #CDDC29;
}

.article-link>a:after {
    content: ' \0bb';
    font-size: 20px;
    line-height: 24px;
}


/*******************************************************************************
* General Demo Layout Rules
*******************************************************************************/

article {
    display: block;
    width: 960px;
    margin: 0 auto;
    padding: 40px;
}

h1,h2,h3,h4,p,li {
    color: #111;
    font-family: 'alte haas grotesk', helvetica, arial, sans-serif;
    line-height: 1.125em;
}

h2 {
    font-weight: bold;
    font-size: 72px;
    letter-spacing: -.05em;
}

h3 {
    font-weight: bold;
    font-size: 48px;
    letter-spacing: -.05em;
    margin-top: 40px;
}

h4 {
    margin-top: 30px;
    margin-bottom: 0;
    font-weight: bold;
    font-size: 24px;
    letter-spacing: -.02em;
}

p,li {
    font-size: 13px;
    letter-spacing: .04em;
}

article>p {
    margin: 10px 10px 20px;
}

pre {
    margin: 10px 20px 30px;
    padding: 15px !important;

    overflow-x: auto;
}


/*******************************************************************************
* Footer Rules
*******************************************************************************/

body>footer {
    overflow: hidden;
    padding-top: 10px;
}

body>footer a {
    color: #CDDC29;
}
