/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
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; }

/* HTML5 display-role reset for older browsers */
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; }

article pre {
  /* Comment */
  /* Error */
  /* Keyword */
  /* Operator */
  /* Comment.Multiline */
  /* Comment.Preproc */
  /* Comment.Single */
  /* Comment.Special */
  /* Generic.Deleted */
  /* Generic.Emph */
  /* Generic.Error */
  /* Generic.Heading */
  /* Generic.Inserted */
  /* Generic.Output */
  /* Generic.Prompt */
  /* Generic.Strong */
  /* Generic.Subheading */
  /* Generic.Traceback */
  /* Keyword.Constant */
  /* Keyword.Declaration */
  /* Keyword.Namespace */
  /* Keyword.Pseudo */
  /* Keyword.Reserved */
  /* Keyword.Type */
  /* Literal.Number */
  /* Literal.String */
  /* Name.Attribute */
  /* Name.Builtin */
  /* Name.Class */
  /* Name.Constant */
  /* Name.Decorator */
  /* Name.Entity */
  /* Name.Exception */
  /* Name.Function */
  /* Name.Label */
  /* Name.Namespace */
  /* Name.Tag */
  /* Name.Variable */
  /* Operator.Word */
  /* Text.Whitespace */
  /* Literal.Number.Float */
  /* Literal.Number.Hex */
  /* Literal.Number.Integer */
  /* Literal.Number.Oct */
  /* Literal.String.Backtick */
  /* Literal.String.Char */
  /* Literal.String.Doc */
  /* Literal.String.Double */
  /* Literal.String.Escape */
  /* Literal.String.Heredoc */
  /* Literal.String.Interpol */
  /* Literal.String.Other */
  /* Literal.String.Regex */
  /* Literal.String.Single */
  /* Literal.String.Symbol */
  /* Name.Builtin.Pseudo */
  /* Name.Variable.Class */
  /* Name.Variable.Global */
  /* Name.Variable.Instance */
  /* Literal.Number.Integer.Long */ }
  article pre .hll {
    background-color: #ffffcc; }
  article pre .c {
    color: #0099FF;
    font-style: italic; }
  article pre .err {
    color: #AA0000;
    background-color: #FFAAAA; }
  article pre .k {
    color: #006699;
    font-weight: bold; }
  article pre .o {
    color: #555555; }
  article pre .cm {
    color: #0099FF;
    font-style: italic; }
  article pre .cp {
    color: #009999; }
  article pre .c1 {
    color: #0099FF;
    font-style: italic; }
  article pre .cs {
    color: #0099FF;
    font-weight: bold;
    font-style: italic; }
  article pre .gd {
    background-color: #FFCCCC;
    border: 1px solid #CC0000; }
  article pre .ge {
    font-style: italic; }
  article pre .gr {
    color: #FF0000; }
  article pre .gh {
    color: #003300;
    font-weight: bold; }
  article pre .gi {
    background-color: #CCFFCC;
    border: 1px solid #00CC00; }
  article pre .go {
    color: #AAAAAA; }
  article pre .gp {
    color: #000099;
    font-weight: bold; }
  article pre .gs {
    font-weight: bold; }
  article pre .gu {
    color: #003300;
    font-weight: bold; }
  article pre .gt {
    color: #99CC66; }
  article pre .kc {
    color: #006699;
    font-weight: bold; }
  article pre .kd {
    color: #006699;
    font-weight: bold; }
  article pre .kn {
    color: #006699;
    font-weight: bold; }
  article pre .kp {
    color: #006699; }
  article pre .kr {
    color: #006699;
    font-weight: bold; }
  article pre .kt {
    color: #007788;
    font-weight: bold; }
  article pre .m {
    color: #FF6600; }
  article pre .s {
    color: #CC3300; }
  article pre .na {
    color: #330099; }
  article pre .nb {
    color: #336666; }
  article pre .nc {
    color: #00AA88;
    font-weight: bold; }
  article pre .no {
    color: #336600; }
  article pre .nd {
    color: #9999FF; }
  article pre .ni {
    color: #999999;
    font-weight: bold; }
  article pre .ne {
    color: #CC0000;
    font-weight: bold; }
  article pre .nf {
    color: #CC00FF; }
  article pre .nl {
    color: #9999FF; }
  article pre .nn {
    color: #00CCFF;
    font-weight: bold; }
  article pre .nt {
    color: #330099;
    font-weight: bold; }
  article pre .nv {
    color: #003333; }
  article pre .ow {
    color: #000000;
    font-weight: bold; }
  article pre .w {
    color: #bbbbbb; }
  article pre .mf {
    color: #FF6600; }
  article pre .mh {
    color: #FF6600; }
  article pre .mi {
    color: #FF6600; }
  article pre .mo {
    color: #FF6600; }
  article pre .sb {
    color: #CC3300; }
  article pre .sc {
    color: #CC3300; }
  article pre .sd {
    color: #CC3300;
    font-style: italic; }
  article pre .s2 {
    color: #CC3300; }
  article pre .se {
    color: #CC3300;
    font-weight: bold; }
  article pre .sh {
    color: #CC3300; }
  article pre .si {
    color: #AA0000; }
  article pre .sx {
    color: #CC3300; }
  article pre .sr {
    color: #33AAAA; }
  article pre .s1 {
    color: #CC3300; }
  article pre .ss {
    color: #FFCC33; }
  article pre .bp {
    color: #336666; }
  article pre .vc {
    color: #003333; }
  article pre .vg {
    color: #003333; }
  article pre .vi {
    color: #003333; }
  article pre .il {
    color: #FF6600; }

#hero {
  display: block;
  height: 112px; }

#hero-a {
  display: block;
  height: 112px;
  width: 112px;
  margin: 0 auto; }

#hero-a:hover, #hero-a:focus {
  background: none; }

#dllu-hero {
  display: block;
  position: relative;
  cursor: pointer;
  margin: 0;
  height: 112px;
  width: 112px;
  border-radius: 50%;
  /* so that the hover target is a perfect circle */
  transition: 0.8s;
  animation-name: dllu-hero-keyframes;
  animation-duration: 0.8s;
  animation-iteration-count: 1; }
  #dllu-hero #D, #dllu-hero #L0, #dllu-hero #L1, #dllu-hero #U {
    position: absolute;
    width: 16px;
    height: 16px;
    transition: 0.8s; }
  #dllu-hero #D {
    padding-left: 8px;
    border-top: 8px solid #404e62;
    border-right: 8px solid #404e62;
    border-bottom: 8px solid #404e62;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    top: 16px;
    left: 16px;
    animation-name: D-keyframes;
    animation-duration: 0.8s;
    animation-iteration-count: 1; }
  #dllu-hero #L0, #dllu-hero #L1 {
    padding-top: 8px;
    padding-right: 8px;
    border-left: 8px solid #404e62;
    border-bottom: 8px solid #404e62;
    animation-name: L-keyframes;
    animation-duration: 0.8s;
    animation-iteration-count: 1; }
  #dllu-hero #L0 {
    top: 64px;
    left: 16px; }
  #dllu-hero #L1 {
    top: 16px;
    left: 64px; }
  #dllu-hero #U {
    padding-top: 8px;
    border-right: 8px solid #404e62;
    border-left: 8px solid #404e62;
    border-bottom: 8px solid #404e62;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
    top: 64px;
    left: 64px;
    animation-name: U-keyframes;
    animation-duration: 0.8s;
    animation-iteration-count: 1; }

#hero-a:hover #dllu-hero {
  transform: rotate(180deg); }
  #hero-a:hover #dllu-hero #D, #hero-a:hover #dllu-hero #L0, #hero-a:hover #dllu-hero #L1, #hero-a:hover #dllu-hero #U {
    border-color: #305fa9; }
  #hero-a:hover #dllu-hero #D {
    transform: rotate(-90deg); }
  #hero-a:hover #dllu-hero #L0, #hero-a:hover #dllu-hero #L1 {
    transform: rotate(-180deg); }
  #hero-a:hover #dllu-hero #U {
    transform: rotate(-270deg); }

@keyframes dllu-hero-keyframes {
  from {
    transform: rotate(0deg); }
  to {
    transform: rotate(180deg); } }
@keyframes D-keyframes {
  from {
    transform: rotate(0deg); }
  to {
    transform: rotate(-90deg); } }
@keyframes L-keyframes {
  from {
    transform: rotate(0deg); }
  to {
    transform: rotate(-180deg); } }
@keyframes U-keyframes {
  from {
    transform: rotate(0deg); }
  to {
    transform: rotate(-270deg); } }
html {
  overflow-y: scroll; }

body {
  font-family: "Source Sans Pro", sans-serif;
  color: #060709;
  background: #ffffff;
  font-size: 18px; }

a, a:visited {
  text-decoration: none;
  color: #305fa9;
  outline: none;
  font-weight: 600; }

a:hover, a:focus {
  background-color: #305fa9;
  color: #ffffff;
  outline: none; }

nav {
  width: 80%;
  max-width: 600px;
  margin: 20px auto; }

article nav {
  width: 100%; }

nav#breadcrumbs {
  display: block;
  font-weight: 600;
  font-size: 25px;
  line-height: 30px;
  height: 36px;
  color: #404e62; }
  nav#breadcrumbs a, nav#breadcrumbs a:visited {
    color: #404e62; }
  nav#breadcrumbs a:hover, nav#breadcrumbs a:focus {
    background: none;
    color: #305fa9; }
    nav#breadcrumbs a:hover img, nav#breadcrumbs a:focus img {
      margin-top: -30px; }
  nav#breadcrumbs a, nav#breadcrumbs span {
    display: inline-block;
    font-weight: 600;
    font-size: 25px;
    height: 30px;
    margin-right: 0.3em;
    vertical-align: top; }
    nav#breadcrumbs a img, nav#breadcrumbs span img {
      height: 60px; }
  nav#breadcrumbs span {
    overflow: hidden; }
  nav#breadcrumbs #dllu {
    position: relative;
    cursor: pointer;
    margin: -6px;
    height: 42px;
    width: 42px;
    border-radius: 50%;
    /* so that the hover target is a perfect circle */
    transition: 0.6s; }
    nav#breadcrumbs #dllu #D, nav#breadcrumbs #dllu #L0, nav#breadcrumbs #dllu #L1, nav#breadcrumbs #dllu #U {
      position: absolute;
      width: 6px;
      height: 6px;
      transition: 0.6s; }
    nav#breadcrumbs #dllu #D {
      padding-left: 3px;
      border-top: 3px solid #404e62;
      border-right: 3px solid #404e62;
      border-bottom: 3px solid #404e62;
      border-top-right-radius: 50%;
      border-bottom-right-radius: 50%;
      top: 6px;
      left: 6px; }
    nav#breadcrumbs #dllu #L0, nav#breadcrumbs #dllu #L1 {
      padding-top: 3px;
      padding-right: 3px;
      border-left: 3px solid #404e62;
      border-bottom: 3px solid #404e62; }
    nav#breadcrumbs #dllu #L0 {
      top: 24px;
      left: 6px; }
    nav#breadcrumbs #dllu #L1 {
      top: 6px;
      left: 24px; }
    nav#breadcrumbs #dllu #U {
      padding-top: 3px;
      border-right: 3px solid #404e62;
      border-left: 3px solid #404e62;
      border-bottom: 3px solid #404e62;
      border-bottom-right-radius: 50%;
      border-bottom-left-radius: 50%;
      top: 24px;
      left: 24px; }
  nav#breadcrumbs #dllu:hover {
    transform: rotate(180deg); }
    nav#breadcrumbs #dllu:hover #D, nav#breadcrumbs #dllu:hover #L0, nav#breadcrumbs #dllu:hover #L1, nav#breadcrumbs #dllu:hover #U {
      border-color: #305fa9; }
    nav#breadcrumbs #dllu:hover #D {
      transform: rotate(-90deg); }
    nav#breadcrumbs #dllu:hover #L0, nav#breadcrumbs #dllu:hover #L1 {
      transform: rotate(-180deg); }
    nav#breadcrumbs #dllu:hover #U {
      transform: rotate(-270deg); }

nav#rootnav {
  display: flex;
  flex-flow: row wrap;
  background: #f6f7f9; }
  nav#rootnav a, nav#rootnav a:visited {
    color: #404e62; }
  nav#rootnav a:hover, nav#rootnav a:focus {
    background: #404e62;
    color: #ffffff; }
  nav#rootnav a {
    text-align: center;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5em 0em;
    flex: 1 0 auto; }

nav#portfolio {
  display: block; }
  nav#portfolio a {
    display: inline-block;
    width: 45%;
    margin-bottom: 10%; }
    nav#portfolio a figure {
      width: 100%;
      position: relative;
      margin: 0; }
      nav#portfolio a figure img {
        width: 100%;
        display: block; }
      nav#portfolio a figure figcaption {
        font-weight: 600;
        font-size: 0.8em;
        letter-spacing: 0.1em;
        display: block;
        color: #404e62;
        text-align: center;
        line-height: 1.5em;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 0.4em 0;
        text-transform: uppercase; }
  nav#portfolio a:nth-child(odd) {
    margin-right: 5%; }
  nav#portfolio a:nth-child(even) {
    margin-left: 5%; }
  nav#portfolio a:hover {
    background: none; }
    nav#portfolio a:hover figure figcaption {
      color: #305fa9;
      background: none; }

nav#blogposts {
  display: table; }
  nav#blogposts a, nav#blogposts a:visited {
    color: #060709; }
    nav#blogposts a .blogdate, nav#blogposts a:visited .blogdate {
      color: #404e62; }
  nav#blogposts a:hover, nav#blogposts a:focus {
    background: #f6f7f9;
    color: #404e62; }
    nav#blogposts a:hover .blogdate, nav#blogposts a:focus .blogdate {
      color: #ffffff;
      background: #404e62; }
  nav#blogposts a {
    display: table-row;
    font-weight: 400;
    line-height: 1.5em; }
    nav#blogposts a .blogdate {
      display: table-cell;
      color: #404e62;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      font-size: 0.8em;
      font-weight: 600;
      line-height: 1.5em / 0.8em;
      padding: 5px 10px;
      text-align: center; }
    nav#blogposts a .blogtitle {
      display: table-cell;
      padding: 5px 10px; }

article {
  width: 80%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
  font-kerning: normal; }
  article h1, article h2, article h3, article h4, article h5, article h6 {
    display: flex;
    display: -webkit-flex; }
  article h1 {
    font-weight: 600;
    font-size: 1.5em;
    line-height: 1em;
    margin: 1em 0 0.5em 0; }
  article h2 {
    font-weight: 600;
    font-size: 1.3em;
    line-height: 1em;
    margin-top: 1em; }
  article h3 {
    font-weight: 900;
    font-size: 1em;
    line-height: 1em;
    margin-top: 1em;
    text-transform: uppercase;
    letter-spacing: 0.1em; }
  article header {
    border-bottom: 1px solid #404e62; }
    article header h1 {
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.1em; }
  article footer {
    color: #404e62;
    font-size: 0.7em;
    margin: 2em 0 20px 0; }
  article .refname {
    font-size: 0.8em;
    padding: 0.1em;
    color: #404e62; }
  article .refname:before {
    content: "[";
    padding-right: 0.1em; }
  article .refname:after {
    content: "]";
    padding-left: 0.1em; }
  article a.refname {
    font-size: 0.7em;
    vertical-align: super;
    color: #305fa9; }
  article a.refname:hover, article a.refname:focus {
    background-color: #305fa9;
    color: #ffffff; }
  article a.hnum {
    flex-grow: 0;
    -webkit-flex-grow: 0;
    flex-shrink: 0;
    -webkit-flex-shrink: 0;
    display: inline-block;
    color: #404e62;
    font-size: 0.8em;
    margin-right: 1em;
    height: 1.25em;
    line-height: 1.25em; }
  article a.fignum {
    color: #404e62;
    font-weight: 700; }
  article a.eqnum {
    display: block;
    position: absolute;
    color: #404e62;
    top: 0;
    left: 100%;
    text-align: center;
    font-size: 0.7em;
    height: 2em;
    width: 2em;
    line-height: 2em;
    border: 1px solid #404e62;
    border-radius: 50%; }
  article a.hnum:hover, article a.hnum:focus, article a.fignum:hover, article a.fignum:focus, article a.eqnum:hover, article a.eqnum:focus {
    color: #ffffff;
    background-color: #404e62; }
  article a.bigbutton {
    display: block;
    margin: auto;
    width: 30%;
    min-width: 160px;
    text-align: center;
    padding: 1em;
    background: #ffffff;
    border: 2px solid #404e62;
    color: #404e62;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600; }
  article a.bigbutton:hover {
    background: #404e62;
    color: #ffffff; }
  article p, article ul, article ol, article blockquote, article figure {
    font-size: 1em;
    line-height: 1.35em;
    margin: 1em 0;
    hyphens: auto; }
  article ol li, article ul li {
    display: list-item;
    margin: 0.5em 0 0.5em 1em; }
  article ol {
    list-style: outside decimal none; }
  article ul {
    list-style: outside disc none; }
    article ul ul {
      margin: 0; }
  article pre, article blockquote {
    border-top: 1px solid #404e62;
    border-bottom: 1px solid #404e62;
    padding: 1em;
    color: #404e62; }
  article pre, article code {
    font-family: "Source Code Pro", monospace;
    font-size: 0.8em;
    font-weight: 500;
    background-color: #f6f7f9; }
  article pre {
    white-space: pre-wrap; }
  article code {
    color: #404e62;
    font-weight: 600; }
  article div.math {
    position: relative;
    text-align: center; }
  article em {
    font-style: italic; }
  article strong {
    font-weight: 700; }
  article figure {
    position: relative;
    width: 100%; }
    article figure img {
      display: block;
      margin: 0 auto;
      max-height: 600px;
      max-width: 100%; }
    article figure table img {
      display: inline-block;
      max-width: none; }
    article figure figcaption img {
      display: inline-block;
      max-width: none; }
  article figure > a {
    cursor: zoom-in; }
  article figcaption {
    font-size: 0.7em;
    line-height: 1.25em;
    letter-spacing: 0.05em;
    color: #404e62;
    hyphens: auto; }
  article table {
    width: 100%;
    text-align: center;
    color: #404e62; }
  article th {
    border-bottom: 1px solid #404e62;
    font-weight: 700;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.1em; }
  article th, article td {
    padding: 0.3em; }
  article tr:nth-child(even) {
    background-color: #f6f7f9; }
  article .toc {
    font-size: 0.7em;
    line-height: 1.25em;
    letter-spacing: 0.05em;
    color: #404e62; }
    article .toc a {
      color: #404e62;
      font-weight: 600; }
    article .toc a:hover, article .toc a:focus {
      color: #ffffff;
      background-color: #404e62; }
    article .toc ol ol {
      margin: 0.5em 0 0.5em 1em; }
    article .toc ol li {
      margin: 0;
      padding: 0;
      list-style: none;
      position: relative; }
      article .toc ol li .tocnum {
        display: block;
        float: left;
        height: 100%;
        margin-right: 1em;
        font-weight: 400; }
      article .toc ol li a {
        display: flex;
        display: -webkit-flex; }
        article .toc ol li a .tocnum {
          flex-grow: 0;
          -webkit-flex-grow: 0;
          flex-shrink: 0;
          -webkit-flex-shrink: 0; }

@media all and (min-width: 1200px) {
  article figcaption {
    position: absolute;
    top: 0px;
    left: 100%;
    padding-left: 20px;
    width: 280px; }
  article .fignum {
    display: block;
    margin-bottom: 0.5em; }
  article .toc {
    position: fixed;
    top: 0;
    right: 50%;
    margin-right: 320px;
    width: 280px;
    max-height: 100vh;
    overflow-y: auto; }
  article .toc > ol {
    margin: 3em 1em 3em 0; } }
@media all and (max-width: 1199px) {
  article figcaption {
    position: relative;
    padding: 1em 2em; }
  article .fignum {
    display: inline-block;
    margin-right: 1em; } }
@media all and (max-width: 750px) {
  body {
    font-size: 2.4vw; } }
@media all and (max-width: 543px) {
  body {
    font-size: 13px; }

  nav#portfolio a {
    width: 100%;
    margin: 0 0 3em 0 !important; } }
