/*!
Pure v0.5.0
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
https://github.com/yui/pure/blob/master/LICENSE.md
*/
/*csslint regex-selectors:false, known-properties:false, duplicate-properties:false*/

.grid {
    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/yui/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.

    NOTE: Firefox (as of 25) does not currently support flex-wrap, so the
    `-moz-` prefix version is omitted.
    */

    display: -webkit-flex;
    -webkit-flex-flow: row wrap;

    /* IE10 uses display: flexbox */
    display: -ms-flexbox;
    -ms-flex-flow: row wrap;
}

/* 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,
.grid {
    word-spacing: -0.43em;
}

.unit {
    display: inline-block;
    *display: inline; /* IE < 8: fake inline-block */
    zoom: 1;
    letter-spacing: normal;
    word-spacing: normal;
    vertical-align: top;
    text-rendering: auto;
}

/*
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`.
*/
/*.grid [class *= "unit"] {
    font-family: sans-serif;
}
*/
.unit-1,
.unit-1-1,
.unit-1-2,
.unit-1-3,
.unit-2-3,
.unit-1-4,
.unit-3-4,
.unit-1-5,
.unit-2-5,
.unit-3-5,
.unit-4-5,
.unit-5-5,
.unit-1-6,
.unit-5-6,
.unit-1-8,
.unit-3-8,
.unit-5-8,
.unit-7-8,
.unit-1-12,
.unit-5-12,
.unit-7-12,
.unit-11-12,
.unit-1-24,
.unit-2-24,
.unit-3-24,
.unit-4-24,
.unit-5-24,
.unit-6-24,
.unit-7-24,
.unit-8-24,
.unit-9-24,
.unit-10-24,
.unit-11-24,
.unit-12-24,
.unit-13-24,
.unit-14-24,
.unit-15-24,
.unit-16-24,
.unit-17-24,
.unit-18-24,
.unit-19-24,
.unit-20-24,
.unit-21-24,
.unit-22-24,
.unit-23-24,
.unit-24-24 {
    display: inline-block;
    *display: inline;
    zoom: 1;
    letter-spacing: normal;
    word-spacing: normal;
    vertical-align: top;
    text-rendering: auto;
}

.unit-1-24 {
    width: 4.16%;
    *width: 4.13%;
}

.unit-1-12,
.unit-2-24 {
    width: 8.33%;
    *width: 8.30%;
}

.unit-1-8,
.unit-3-24 {
    width: 12.5%;
    *width: 12.46%;
}

.unit-1-6,
.unit-4-24 {
    width: 16.66%;
    *width: 16.63%;
}

.unit-1-5 {
    width: 20%;
    *width: 19.96%;
}

.unit-5-24 {
    width: 20.83%;
    *width: 20.80%;
}

.unit-1-4,
.unit-6-24 {
    width: 25%;
    *width: 24.96%;
}

.unit-7-24 {
    width: 29.16%;
    *width: 29.13%;
}

.unit-1-3,
.unit-8-24 {
    width: 33.33%;
    *width: 33.30%;
}

.unit-3-8,
.unit-9-24 {
    width: 37.50%;
    *width: 37.46%;
}

.unit-2-5 {
    width: 40%;
    *width: 39.96%;
}

.unit-5-12,
.unit-10-24 {
    width: 41.66%;
    *width: 41.63%;
}

.unit-11-24 {
    width: 45.83%;
    *width: 45.80%;
}

.unit-1-2,
.unit-12-24 {
    width: 50%;
    *width: 49.96%;
}

.unit-13-24 {
    width: 54.16%;
    *width: 54.13%;
}

.unit-7-12,
.unit-14-24 {
    width: 58.33%;
    *width: 58.30%;
}

.unit-3-5 {
    width: 60%;
    *width: 59.96%;
}

.unit-5-8,
.unit-15-24 {
    width: 62.50%;
    *width: 62.46%;
}

.unit-2-3,
.unit-16-24 {
    width: 66.66%;
    *width: 66.63%;
}

.unit-17-24 {
    width: 70.83%;
    *width: 70.80%;
}

.unit-3-4,
.unit-18-24 {
    width: 75%;
    *width: 74.96%;
}

.unit-19-24 {
    width: 79.16%;
    *width: 79.13%;
}

.unit-4-5 {
    width: 80%;
    *width: 79.96%;
}

.unit-5-6,
.unit-20-24 {
    width: 83.33%;
    *width: 83.30%;
}

.unit-7-8,
.unit-21-24 {
    width: 87.50%;
    *width: 87.46%;
}

.unit-11-12,
.unit-22-24 {
    width: 91.66%;
    *width: 91.63%;
}

.unit-23-24 {
    width: 95.83%;
    *width: 95.80%;
}

.unit-1,
.unit-1-1,
.unit-5-5,
.unit-24-24 {
    width: 100%;
}

/* add on grid-auto */

.grid-auto {
    letter-spacing: -0.31em;
    *letter-spacing: normal;
    *word-spacing: -0.43em;
		
    display: -webkit-flex;
    -webkit-flex-flow: row wrap;

    /* IE10 uses display: flexbox */
    display: -ms-flexbox;
    -ms-flex-flow: row wrap;
}

.grid-auto img {
    max-width: 100%;
}

@media (min-width: 980px) {
    .visible-phone {
        display: none;
    }
    .visible-tablet {
        display: none;
    }
    .hidden-desktop {
        display: none;
    }
}

@media (max-width: 480px) {
    .grid-auto > .unit,
    .grid-auto > [class *= "unit-"] {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .grid-auto > .unit,
    .grid-auto > [class *= "unit-"] {
        width: 100%;
    }
    .hidden-phone {
        display: none;
    }
    .visible-desktop {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    .hidden-tablet {
        display: none;
    }
    .visible-desktop {
        display: none;
    }
}

/* end of add on grid-auto */