/* 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;
}
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;
}

/* Fonts */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url('../fonts/roboto-v20-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v20-latin-regular.woff') format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: local('Roboto Italic'), local('Roboto-Italic'), url('../fonts/roboto-v20-latin-italic.woff2') format('woff2'), url('../fonts/roboto-v20-latin-italic.woff') format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: local('Roboto Bold'), local('Roboto-Bold'), url('../fonts/roboto-v20-latin-700.woff2') format('woff2'), url('../fonts/roboto-v20-latin-700.woff') format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 700;
  src: local('Roboto Bold Italic'), local('Roboto-BoldItalic'), url('../fonts/roboto-v20-latin-700italic.woff2') format('woff2'), url('../fonts/roboto-v20-latin-700italic.woff') format('woff');
}

/* Global */
html {
  font-size: 17px;
}
body {
  color: #333;
  background: #fff;
  font-family: 'Roboto', Helvetica, sans-serif;
  font-size: 1.0rem;
  font-weight: 400;
  line-height: 1.6;
}
em {
  font-style: italic;
}
small {
  font-size: 0.8em;
}
strong {
  font-weight: 700;
}
.dark-faded {
  color: #08306b;
  opacity: 0.6;
}

/* Structure */
.global-wrapper {
  display: flex;
  flex-direction: column;
}
.sidebar-wrapper {
  background: #08306b;
  background-image: url("../images/equation.svg"), linear-gradient(45deg, #08306b, #08519c, #2171b5);
  background-position: 50% 95%, left top;
  background-repeat: no-repeat, repeat;
}
.main {
  padding: 2rem;
}
@media (min-width:56rem) {
  .global-wrapper {
    flex-direction: row;
  }
  .sidebar {
    max-width: 30rem;
    margin-left: auto;
    margin-top: 30vh;
    margin-bottom: 20vh;
  }
  .sidebar-wrapper {
    flex: 1 0 20rem;
    height: 100vh;
    position: sticky;
    overflow-y: auto;
    top: 0;
  }
  .main-wrapper {
    flex: 1 1 40rem;
  }
  .main {
    max-width: 40rem;
  }
}

/* Header */
.header {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: left;
}
.header a {
  color: #deebf7;
  text-decoration: none;
  display: block;
  padding: 1rem 2rem;
}
.header a:hover {
  color: #f7fbff;
  background-color: rgba(8,48,107,.2);
}
.header .subheader {
  font-size: 0.7em;
  display: block;
}
@media (min-width:56rem) {
  .header {
    font-size: 2.8rem;
  }
}

/* Navigation */
.navigation {

}
.navigation a {
  color: #deebf7;
}
.navigation a.active {
  font-weight: 700;
  background-color: rgba(8,48,107,.2);
}
.navigation ul {
  overflow: hidden;

}
.navigation ul a {
  display: block;
  padding: 1rem 2rem;
  text-decoration: none;
}
.navigation ul a:hover {
  background-color: rgba(8,48,107,.2);
  color: #f7fbff;
}
.navigation li li a {
  font-size: 0.8em;
  padding-left: 3rem;
}
.navigation .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}
.navigation .menu-icon {
  padding: 30px 20px;
  position: relative;
  float:right;
  cursor: pointer;
}
.navigation .menu-icon .nav-icon {
  background: #fff;
  display: block;
  height: 2px;
  width: 20px;
  position: relative;
  transition: background .2s ease-out;
}
.navigation .menu-icon .nav-icon:before {
  background: #fff;
  content:"";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  transition: all .2s ease-out;
  top: 5px;
}
.navigation .menu-icon .nav-icon:after {
  background: #fff;
  content:"";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  transition: all .2s ease-out;
  top: -5px;
}
.navigation .menu-btn {
  display: none;
}
.navigation .menu-btn:checked ~ .menu {
  max-height: 600px;
}
.navigation .menu-btn:checked ~ .menu-icon .nav-icon {
  background: transparent;
}
.navigation .menu-btn:checked ~ .menu-icon .nav-icon:before {
  transform: rotate(-45deg);
  top: 0;
}
.navigation .menu-btn:checked ~ .menu-icon .nav-icon:after {
  transform: rotate(45deg);
  top: 0;
}
@media (min-width:56em) {
  .navigation {
    font-size: 0;
  }
  .navigation li {
    font-size: 1rem;
    /* float:left; */
    
  }
  .navigation li a {
    /* padding: 1rem 1rem;*/
    /* text-align: center;*/
    /* display: block;*/
  }
  .navigation .menu {
    /* clear: none;*/
    /* float: none;*/
    max-height: none;
    /* display: inline-block;*/
  }
  .navigation .menu-icon {
    display: none;
  }
  .column {
    width: 50%;
  }
}

/* Content */
.content {
  text-align: justify;
  word-break: keep-all;
}
.content h1, .content h2, .content h3 {
  font-weight: 700;
  margin: 0 0 1rem 0;
}
.content h1 {
  font-size: 1.5rem;
}
.content h2 {
  font-size: 1.25rem;
  padding-top: 1rem;
}
.content h3 {
  font-size: 1.0rem;
}
.content p {
  margin: 1rem 0;
}
.content a {
  text-decoration: underline;
  color: #08306b;
}
.content a:hover {
  color: #000;
}
a.headerlink {
  color: #ccc;
  text-decoration: none;
}
a.headerlink:hover {
  color: #aaa;
}
.content ul {
  list-style: square outside none;
  margin: 1rem 0 1rem 1rem;
}
.content ol {
  list-style: decimal outside none;
  margin: 1rem 0 1rem 1.25rem;
}

/* Footer */
.footer {
  max-width: 50rem;
  margin: 0 auto;
  padding: 1rem 2rem 1rem 2rem;
}
.footer p {
  text-align: center;
  margin: 1rem 0;
  color: #aaa;
  cursor: default;
}
.footer a {
  text-decoration: none;
  color: #08306b;
  margin: 0 1rem;
}
.footer a:hover {
  color: #000;
}











