/* --------------------------------------------------------------

   reset.css
   * Resets default browser CSS.

-------------------------------------------------------------- */

html {
    margin: 0;
    padding: 0;
    border: 0;
}

body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, article, aside, dialog, figure, footer, header, hgroup, nav, section {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* This helps to make newer HTML5 elements behave like DIVs in older browers */
article, aside, details, figcaption, figure, dialog, footer, header, hgroup, menu, nav, section {
    display: block;
}

/* Line-height should always be unitless! */
body {
    line-height: 1.2;
    background: white;
}

/* Tables still need 'cellspacing="0"' in the markup. */
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* float:none prevents the span-x classes from breaking table-cell display */
caption, th, td {
    font-weight: normal;
    float: none !important;
}

table, th, td {
    vertical-align: middle;
}

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after {
    content: '';
}

blockquote, q {
    quotes: "" "";
}

/* Remove annoying border on linked images. */
a img {
    border: none;
}

/* Remember to define your own focus styles! */
:focus {
    outline: 0;
}

/* Headings
-------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

h1 {
    font-size: 1.5em;
    line-height: 1;
    margin-bottom: 0.25em;
}

h2 {
    font-size: 1.25em;
    margin-bottom: 0.5em;
}

h3 {
    font-size: 1em;
    line-height: 1;
    margin-bottom: 0.75em;
}

h4 {
    font-size: 1em;
    line-height: 1.25;
    margin-bottom: 1em;
}

h5 {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 1.25em;
}

h6 {
    font-size: 1em;
    font-weight: bold;
}

/*Vertical text*/
.vertical-text {
    display: inline-block;
    overflow: hidden;
}

.vertical-text-inner {
    display: inline-block;
    white-space: nowrap;
    line-height: 1.5;
    transform: translate(0,100%) rotate(-90deg);
    -moz-transform: translate(0,100%) rotate(-90deg);
    -o-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform-origin: 0 0;
}

    /* This element stretches the parent to be square
   by using the mechanics of vertical margins  */
    .vertical-text-inner:after {
        content: "";
        display: block;
        margin: -1.5em 0 100%;
    }
