/*  ==========================================================================
    @section                : Eric Meyer reset;
    @source                 : http://meyerweb.com/eric/tools/css/reset/;
    ========================================================================== */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*  ==========================================================================
    @section                : Box model reset;
    @source                 : http://www.paulirish.com/2012/box-sizing-border-box-ftw/;
    ========================================================================== */

*,
*:before,
*:after {
    box-sizing          : border-box;
}

/*  ==========================================================================
    @section                : Remove gray highlight when tapping links in Mobile Safari;
    @source                 : https://css-tricks.com/snippets/css/remove-gray-highlight-when-tapping-links-in-mobile-safari/
    ========================================================================== */
* {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/*  ==========================================================================
    @section                : Prevent mobile safari from resizing text
    @source                 : http://blog.55minutes.com/2012/04/iphone-text-resizing/
    ========================================================================== */
* {
    ‑webkit‑text‑size‑adjust: 100%;
}

/*  ==========================================================================
    @section                : Remove default styles from input on iOS
    @source                 : http://stackoverflow.com/questions/7599533/ios-forces-rounded-corners-and-glare-on-inputs
    ========================================================================== */

input {
    -webkit-appearance: none;
    border-radius: 0;
}

/*  ==========================================================================
    @section                : Remove default styles from input on iOS
    @source                 : https://maximilianhoffmann.com/posts/better-font-rendering-on-osx
    ========================================================================== */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ==========================================================================
    @creator                : Print styles
    @contact                : https://github.com/h5bp/html5-boilerplate/blob/master/dist/css/main.css
    ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
