body {
    -webkit-font-smoothing: antialiased;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    margin: 0;
    color: #333;
    font: 16px/1.7 "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-style: normal;
    font-variant-ligatures: normal;
    font-variant-caps: normal;
    font-variant-numeric: normal;
    font-variant-east-asian: normal;
    font-weight: normal;
    font-stretch: normal;
    font-size: 16px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: .2px;
    line-height: 1.7;
    display: grid;
	  grid-template-rows: wrap 1fr;
    grid-template-columns: 320px 1fr;
    align-items: start;
    box-sizing: border-box;
}

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

ul>ul>ul {
    display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-rendering: optimizeLegibility;
    line-height: 1;
    margin-top: 0;
    color: #222;
}

blockquote+figcaption cite {
    display: block;
    font-size: inherit;
    text-align: right;
}

h1 {
    font-size: 2em;
    margin: 2.42424rem 0 1.454544rem;
}

h2 {
    font-size: 1.5em;
    margin: 2.0202rem 0 1.21212rem;
}

h3 {
    font-size: 1.17em;
    margin: 1.61616rem 0 1rem;
}

h4 {
    font-size: 1em;
    margin: 1.21212rem 0 1;
}

h5 {
    font-size: 0.83em;
    margin: 0.80808rem 0;
}

h6 {
    font-size: 0.75em;
    margin: 0.70707rem 0;
}

p {
    margin: auto auto 1.5rem;
}

small {
    font-size: 65%;
}

input,
abbr,
acronym,
blockquote,
code,
kbd,
q,
samp,
var {
    -webkit-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}

code,
pre {
    background-color: #f5f5f5;
    color: #444;
    border-radius: 2px;
    text-shadow: 0px 1px 0px white;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

pre code {
    border: none;
    box-shadow: none;
}

pre {
    white-space: pre;
    padding: 0.5em;
}

code {
    white-space: pre;
    font-family: SF Mono, Consolas, Dejavu Sans Mono, Menlo, monospace;
    display: inline-block;
    padding: 0 0.2em;
    line-height: 1.4;
    font-size: 0.9em;
}

abbr {
    -webkit-font-variant: small-caps;
    -moz-font-variant: small-caps;
    -ms-font-variant: small-caps;
    font-variant: small-caps;
    font-weight: 600;
    text-transform: lowercase;
    color: gray;
}

abbr[title]:hover {
    cursor: help;
}


/* FROM http://purecss.io/layouts/side-menu/  adapted to remove pure classes*/

img {
    max-width: 100%;
    height: auto;
    display: block;
    /*margin: auto;*/
}

table {
    border-spacing: 0;
    margin-bottom: 1.5rem;
}

table th,
table td {
    padding: 0.3em 0.7em;
}

table th {
    background-color: #f4f4f4;
    border-bottom: 2px solid #444;
}

table td {
    border: 1px solid #f5f5f5;
    min-width: 200px;
    max-width: 600px;
    overflow-wrap: break-word;
}


/* Add transition to containers so they can push in and out. */

body,
nav,
.menu-link {
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

nav {
    grid-column: 1;
    grid-row: 2;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    /* so the menu or its navicon stays above all content */
    background: #fbfbfb;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 0.9em;
}


/* The content `<div>` is where all your content goes. */

main {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin-right: auto;
    padding: 0em 2em;
    line-height: 1.6em;
}

a,
a:visited,
a * {
    text-decoration: none;
    color: #08949a;
}

header {
    grid-column: 1 / 3;
    grid-row: 1;
    display: flex;
    padding: 15px;
    font-size: 0.875em;
    background: #444;
    color: #999;
}

header a, header a:visited {
  color: #FFF;
}

header a.header-link:before {
    content: url(../img/logo/nimbus-logo.svg);
    padding-right: 20px;
}

.header-col {
    margin: 0;
    padding: 0 8px;
}

.header-col--primary {
    flex: 1;
}

/* All anchors inside the menu should be styled like this. */

nav a {
    display: block;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 1em 1em;
}

nav ul ul {
    margin-top: 0.5em;
    padding-left: 0.5em;
    border-left: 1px solid #efefef;
}

nav ul ul a {
    text-transform: capitalize;
}

/* Change color of the anchor links on hover/focus. */

nav li a:visited,
nav li a:link,
nav li a:focus {
    color: #808080;
    padding-left: .5em;
    background: rgba(255, 255, 255, 0.4);
}


/* This styles the selected menu item `<li>`. */

nav li a.active {
    color: #000;
    background: rgba(0, 0, 0, 0.05);
}


/* This styles a link within a selected menu item `<li>`. */

nav li a.active {
    color: #222;
}


/* This styles the menu heading. */
nav h3 {
    margin: 1em 0.5em
}

nav h3 a {
    color: #000;
}