/*
 * reset.css
 * Basic resets
 *
 * @author Fredrik Frodlund
 */

@media all {
    
    /* RESET
     * Resets, basic typography and colors
    ============================================================================ */
    blockquote,body,caption,div,dl,dt,dd,form,fieldset,
    h1,h2,h3,h4,h5,h6,html,li,ul,ol,p,pre,textarea,table,td,th {
        margin: 0;
        padding: 0;
    }
    
    address,dl,fieldset,p,pre,ul,ol,table {
        margin: 0 0 20px;
    }
    
    ul,ol,dd {
        margin-left: 40px;
    }
    
    td ul,td ol {
        margin-left: 15px;
    }
    
    ol ul,ul ol,ul ul,ol ol,td ul,td ol {
        margin-bottom: 0;
    }
    
    blockquote {
        margin: 1em 40px;
        font-style: italic;
    }
    
    dt {
        font-weight: bold;
    }
    
    /* Reset box sizing
    ---------------------------------------------------- */
    * {
        -webkit-box-sizing: border-box;
           -moz-box-sizing: border-box;
             -o-box-sizing: border-box;
                box-sizing: border-box;
    }
    
    /* Tables
    -------------------------------------------------------- */
    table {
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
    }
    
    table,
    th,
    td {
        border: 0;
    }
    
    th,
    td {
        vertical-align: middle;
        padding: 0;
    }
    
    caption,
    th {
        font-weight: normal;
        text-align: center;
    }
    
    tbody th {
        background: transparent;
    }
    
    
    /* Images
    -------------------------------------------------------- */
    img {
        border: none;
    }
    
    
    /* Body styling
    -------------------------------------------------------- */
    html,
    body {
        color: #333;
        background: #fff;
    }
    
    
    /* Fonts & sizes
    -------------------------------------------------------- */
    html {
        background: #f7f7f7;
        font: 87.5%/1.5 "Myriad Pro", Helvetica, Arial, sans-serif; /* Base font size of 14px */
        -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape */
    }
    
    code,
    kbd,
    pre {
        font-family: "Myriad Pro", Helvetica, Arial, sans-serif;
    }
    
    
    /* Headings
    -------------------------------------------------------- */
    h1,h2,h3,h4,h5,h6 {
        margin: 0.2em 0 0.2em;
        color: #ff439c;
        font-family: Foundry, Helvetica, Arial, sans-serif;
        font-weight: normal;
    }
    
    h1:first-child,
    h2:first-child,
    h3:first-child,
    h4:first-child {
        margin-top: 0;
    }
    
    h1 {
        font-size: 2.3077em;
        line-height: 1.2em;
        margin-bottom: 0.5em;
    }
    
    h2 {
        font-size: 2em;
        line-height: 1.2em;
        margin-bottom: 0.6em;
    }
    
    h3 {
        font-size: 1.4615em;
        line-height: 1.2em;
        margin-bottom: 0.6em;
    }
    
    h4 {
        font-size: 1.2308em;
        line-height: 1.2em;
        margin-bottom: 0.6em;
    }
    
    h5,
    h6 {
        font-weight: bold;
        font-size: 1em;
        line-height: 1.2em;
        margin-bottom: 0.6em;
    }
    
    
    /* Links
    -------------------------------------------------------- */
    a,
    a:visited {
        color: inherit;
        text-decoration: underline;
    }
    a:hover,
    a:focus,
    a:active {
        color: inherit;
    }
    
    
    /* Emphasis
    -------------------------------------------------------- */
    b,
    strong {
        font-weight: bold;
    }
    
    i,
    em {
        font-style: italic;
    }
    
    
    /* Forms
    -------------------------------------------------------- */
    legend {
        color: #333;
        white-space: normal;
    }
    
    input,
    button,
    textarea,
    select {
        font: 100%/1.5 "Myriad Pro", Helvetica, Arial, sans-serif;
        font-size: 1em;
        -webkit-appearance: none;
        border-radius: 0;
    }

    /* Reset search input in webkit to make it possible to style it as a normal text input */
    input[type=search] {
        -webkit-appearance: textfield;
        -webkit-box-sizing: content-box;
    }
    input::-webkit-search-decoration,
    input::-webkit-search-cancel-button {
        display: none;
    }


    /* GLOBAL CLASSES
    ============================================================================ */
    /* Easy clearing of floats
    -------------------------------------------------------- */
    .cf:after {
        display: block;
        clear: both;
        height: 0;
        visibility: hidden;
        content: " ";
        font-size: 0;
    }


    /* Structural elements
     * Visible for screen readers but invisible when CSS is enabled
    -------------------------------------------------------- */
    .struct,
    .struct * {
        position: absolute;
        left: -9999px;
    }


    /* Hidden elements
     * Hide from screen readers as well
    -------------------------------------------------------- */
    .hidden {
        display: none;
        speak: none;
        visibility: hidden;
    }
    .hide {
    display: none;
    }
    

    /* Images
    -------------------------------------------------------- */
    .left,
    .right {
        float: left;
        width: auto;
        margin: 3px 18px 10px 0;
    }
    
    .right {
        float: right;
        margin: 3px 0 10px 18px;
    }
    
    img.fullwidth,
    span.fullwidth img {
        display: block;
        margin: 3px 0 10px;
    }
    
    .caption,
    .caption em {
        display: block;
    }
    
    .caption em {
        font-style: normal;
        font-size: 0.916em;
    }
    
    .caption p,
    .caption em {
        margin-bottom: 0;
    }
    
    .caption sup {
        bottom: 3px;
    }
    
/* END @media all */
}
