/*!
Pure v1.0.0
Copyright 2013 Yahoo!
Licensed under the BSD License.
https://github.com/yahoo/pure/blob/master/LICENSE.md
*/
/*csslint regex-selectors:false, known-properties:false, duplicate-properties:false*/

.row {
    letter-spacing: -0.31em; /* Webkit: collapse white-space between units */
    *letter-spacing: normal; /* reset IE < 8 */
    *word-spacing: -0.43em; /* IE < 8: collapse white-space between units */
    text-rendering: optimizespeed; /* Webkit: fixes text-rendering: optimizeLegibility */

    /*
    Sets the font stack to fonts known to work properly with the above letter
    and word spacings. See: https://github.com/yahoo/pure/issues/41/

    The following font stack makes Pure Grids work on all known environments.

    * FreeSans: Ships with many Linux distros, including Ubuntu

    * Arimo: Ships with Chrome OS. Arimo has to be defined before Helvetica and
      Arial to get picked up by the browser, even though neither is available
      in Chrome OS.

    * Droid Sans: Ships with all versions of Android.

    * Helvetica, Arial, sans-serif: Common font stack on OS X and Windows.
    */
    font-family: FreeSans, Arimo, "Droid Sans", Helvetica, Arial, sans-serif;

    /* Use flexbox when possible to avoid `letter-spacing` side-effects. */
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;

    /* Prevents distributing space between rows */
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
}

/* IE10 display: -ms-flexbox (and display: flex in IE 11) does not work inside a table; fall back to block and rely on font hack */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    table .row {
        display: block;
    }
}

/* Opera as of 12 on Windows needs word-spacing.
   The ".opera-only" selector is used to prevent actual prefocus styling
   and is not required in markup.
*/
.opera-only :-o-prefocus,
.row {
    word-spacing: -0.43em;
}

/*
Resets the font family back to the OS/browser's default sans-serif font,
this the same font stack that Normalize.css sets for the `body`.
*/
.row {
    font-family: sans-serif;
}

/*
Responsive
*/

.row {
    max-width: 90em;
    margin-left: auto;
    margin-right: auto;
}

.sm-1,
.sm-2,
.sm-3,
.sm-4,
.sm-5,
.sm-6,
.sm-7,
.sm-8,
.sm-9,
.sm-10,
.sm-11,
.sm-12 {
    display: inline-block;
    *display: inline;
    zoom: 1;
    letter-spacing: normal;
    word-spacing: normal;
    vertical-align: top;
    text-rendering: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

.sm-1 {
    width: 8.3333%;
    *width: 8.3023%;
}

.sm-2 {
    width: 16.6667%;
    *width: 16.6357%;
}

.sm-3 {
    width: 25%;
    *width: 24.969%;
}

.sm-4 {
    width: 33.3333%;
    *width: 33.3023%;
}

.sm-5 {
    width: 41.6667%;
    *width: 41.6357%;
}

.sm-6 {
    width: 50%;
    *width: 49.969%;
}

.sm-7 {
    width: 58.3333%;
    *width: 58.3023%;
}

.sm-8 {
    width: 66.6667%;
    *width: 66.6357%;
}

.sm-9 {
    width: 75%;
    *width: 74.969%;
}

.sm-10 {
    width: 83.3333%;
    *width: 83.3023%;
}

.sm-11 {
    width: 91.6667%;
    *width: 91.6357%;
}

.sm-12 {
    width: 100%;
}

@media screen and (min-width: 40em) {
    .md-1,
    .md-2,
    .md-3,
    .md-4,
    .md-5,
    .md-6,
    .md-7,
    .md-8,
    .md-9,
    .md-10,
    .md-11,
    .md-12 {
        display: inline-block;
        *display: inline;
        zoom: 1;
        letter-spacing: normal;
        word-spacing: normal;
        vertical-align: top;
        text-rendering: auto;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .md-1 {
        width: 8.3333%;
        *width: 8.3023%;
    }

    .md-2 {
        width: 16.6667%;
        *width: 16.6357%;
    }

    .md-3 {
        width: 25%;
        *width: 24.969%;
    }

    .md-4 {
        width: 33.3333%;
        *width: 33.3023%;
    }

    .md-5 {
        width: 41.6667%;
        *width: 41.6357%;
    }

    .md-6 {
        width: 50%;
        *width: 49.969%;
    }

    .md-7 {
        width: 58.3333%;
        *width: 58.3023%;
    }

    .md-8 {
        width: 66.6667%;
        *width: 66.6357%;
    }

    .md-9 {
        width: 75%;
        *width: 74.969%;
    }

    .md-10 {
        width: 83.3333%;
        *width: 83.3023%;
    }

    .md-11 {
        width: 91.6667%;
        *width: 91.6357%;
    }

    .md-12 {
        width: 100%;
    }
}

@media screen and (min-width: 70em) {
    .lg-1,
    .lg-2,
    .lg-3,
    .lg-4,
    .lg-5,
    .lg-6,
    .lg-7,
    .lg-8,
    .lg-9,
    .lg-10,
    .lg-11,
    .lg-12 {
        display: inline-block;
        *display: inline;
        zoom: 1;
        letter-spacing: normal;
        word-spacing: normal;
        vertical-align: top;
        text-rendering: auto;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .lg-1 {
        width: 8.3333%;
        *width: 8.3023%;
    }

    .lg-2 {
        width: 16.6667%;
        *width: 16.6357%;
    }

    .lg-3 {
        width: 25%;
        *width: 24.969%;
    }

    .lg-4 {
        width: 33.3333%;
        *width: 33.3023%;
    }

    .lg-5 {
        width: 41.6667%;
        *width: 41.6357%;
    }

    .lg-6 {
        width: 50%;
        *width: 49.969%;
    }

    .lg-7 {
        width: 58.3333%;
        *width: 58.3023%;
    }

    .lg-8 {
        width: 66.6667%;
        *width: 66.6357%;
    }

    .lg-9 {
        width: 75%;
        *width: 74.969%;
    }

    .lg-10 {
        width: 83.3333%;
        *width: 83.3023%;
    }

    .lg-11 {
        width: 91.6667%;
        *width: 91.6357%;
    }

    .lg-12 {
        width: 100%;
    }
}

@media screen and (min-width: 100em) {
    .xl-1,
    .xl-2,
    .xl-3,
    .xl-4,
    .xl-5,
    .xl-6,
    .xl-7,
    .xl-8,
    .xl-9,
    .xl-10,
    .xl-11,
    .xl-12 {
        display: inline-block;
        *display: inline;
        zoom: 1;
        letter-spacing: normal;
        word-spacing: normal;
        vertical-align: top;
        text-rendering: auto;
    }

    .xl-1 {
        width: 8.3333%;
        *width: 8.3023%;
    }

    .xl-2 {
        width: 16.6667%;
        *width: 16.6357%;
    }

    .xl-3 {
        width: 25%;
        *width: 24.969%;
    }

    .xl-4 {
        width: 33.3333%;
        *width: 33.3023%;
    }

    .xl-5 {
        width: 41.6667%;
        *width: 41.6357%;
    }

    .xl-6 {
        width: 50%;
        *width: 49.969%;
    }

    .xl-7 {
        width: 58.3333%;
        *width: 58.3023%;
    }

    .xl-8 {
        width: 66.6667%;
        *width: 66.6357%;
    }

    .xl-9 {
        width: 75%;
        *width: 74.969%;
    }

    .xl-10 {
        width: 83.3333%;
        *width: 83.3023%;
    }

    .xl-11 {
        width: 91.6667%;
        *width: 91.6357%;
    }

    .xl-12 {
        width: 100%;
    }
}
