/**
 * Tables
 */
table {
  margin-bottom: 30px;
  width: 100%;
  text-align: left;
  color: #3f3f3f;
  border-collapse: collapse;
  border: 1px solid #e8e8e8; }

table tr:nth-child(even) > td {
  background-color: #f7f7f7; }

table th, table td {
  padding: 10px 15px; }

table th {
  background-color: #f0f0f0;
  border: 1px solid #dedede;
  border-bottom-color: #c9c9c9; }

table td {
  border: 1px solid #e8e8e8; }

table p {
  margin-bottom: 0; }

strong {
  font-weight: 600; }

header.site-header h1 {
  font-style: normal;
  margin-bottom: -.5rem;
  margin-left: -.15rem; }

header.site-header {
  font-family: 'Lora', serif;
  font-style: italic; }

header nav {
  font: 400 16px/1.5 "Roboto", Helvetica, Arial, sans-serif;
  font-size: 14px;
  border-left: 1px solid #c7c7c7;
  margin-left: 1rem; }

header .site-nav .page-link {
  color: #111;
  line-height: 1.5;
  padding: .25rem 1rem;
  display: block;
  margin-right: 0;
  font-weight: 600;
  white-space: nowrap;
  margin: 0 1rem 0 0; }

header .site-nav .page-link:hover {
  background-color: #e8e8e8;
  text-decoration: none; }

header > div {
  display: flex;
  align-items: center;
  padding: 2rem 1rem;
  position: relative; }

header > div > *:first-child {
  flex-grow: 1; }

header > div .modification-time {
  position: absolute;
  right: 2rem;
  bottom: -.7em;
  background-color: #fdfdfd;
  font-size: 80%;
  font-style: normal;
  font-family: Roboto;
  color: #9e9d9d;
  padding: 0 0.3rem; }

footer {
  background-color: #eaeaea;
  width: 100%;
  min-height: 140px;
  color: #888888;
  font-size: 14px; }

footer > .wrapper, footer .subfooter {
  display: flex;
  justify-content: space-around; }

@media screen and (max-width: 600px) {
  footer > .wrapper {
    flex-direction: column;
    align-items: center; }

  .table-wrapper {
    overflow-x: scroll; }

  header.site-header h1 {
    margin-left: 0;
    margin-bottom: 0;
    font-size: 1.5em; }

  header.site-header {
    font-size: .7em; }

  header .site-nav .page-link {
    padding: .25rem 1rem .25rem 1rem;
    margin: 0; } }
footer > .wrapper > .footer-column.copyright {
  display: flex;
  flex-direction: column;
  max-width: 150px;
  align-items: center;
  margin: 0 1rem; }

footer > .wrapper > .footer-column {
  flex-grow: 0;
  margin-bottom: 1rem; }

footer > .wrapper > .footer-column.grow {
  flex-grow: 1; }

footer .copyright img {
  max-width: 150px;
  height: 80px;
  margin: 0 2rem 1rem 2rem;
  filter: opacity(0.5) grayscale(0.7);
  transition: filter .3s; }

footer .copyright:hover img {
  filter: opacity(1) grayscale(0); }

footer .copyright > a {
  display: block;
  text-align: center;
  height: 100%; }

footer .centered {
  align-self: center; }

footer .footer-column.nav > ul {
  list-style: none;
  margin-left: 0; }

footer .footer-column.nav > ul > li {
  margin-bottom: .2rem; }

footer .footer-column.nav {
  margin: 0 .8rem;
  max-width: 180px; }

footer .footer-column.vertical {
  display: flex;
  flex-direction: column; }

footer .coltitle {
  margin-bottom: .5rem;
  display: block;
  font-weight: 500; }

footer a, footer a:visited {
  color: inherit;
  text-decoration: none;
  transition: color .3s; }

footer a:hover {
  text-decoration: none;
  color: black; }

blockquote.formula {
  letter-spacing: 0;
  font-size: 125%;
  color: inherit;
  border-left: none;
  margin: 1.2rem;
  font-style: normal; }

blockquote.formula p {
  white-space: pre-wrap; }

dl > dt {
  font-style: italic;
  font-family: 'Lora'; }

dl > dd {
  margin-bottom: .5rem; }

.nav-container {
  position: relative;
  width: 100%;
  padding-top: 43.75%;
  background: url("/assets/img/logo-opt.svg") no-repeat;
  background-size: contain; }

.nav-container > div {
  position: absolute;
  display: flex;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding-right: 50%;
  align-items: center; }

.nav-container nav {
  display: block; }

.bottom-link {
  margin-bottom: 60px;
  margin-top: 60px;
  font-family: 'Lora';
  font-style: italic;
  font-size: 135%; }

.bottom-link a {
  font-style: normal; }

table.timetable > tbody > tr > td:first-child {
  width: 10em;
  max-width: 30%; }

/**
 * Reset some basic elements
 */
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
  margin: 0;
  padding: 0; }

/**
 * Basic styling
 */
body {
  font: 400 16px/1.5 "Roboto", Helvetica, Arial, sans-serif;
  color: #111;
  background-color: #fdfdfd;
  -webkit-text-size-adjust: 100%;
  -webkit-font-feature-settings: "kern" 1;
  -moz-font-feature-settings: "kern" 1;
  -o-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  font-kerning: normal; }

/**
 * Set `margin-bottom` to maintain vertical rhythm
 */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure {
  margin-bottom: 15px; }

/**
 * Images
 */
img {
  max-width: 100%;
  vertical-align: middle; }

/**
 * Figures
 */
figure > img {
  display: block; }

figcaption {
  font-size: 14px; }

/**
 * Lists
 */
ul, ol {
  margin-left: 30px; }

li > ul,
li > ol {
  margin-bottom: 0; }

/**
 * Headings
 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500; }

/**
 * Links
 */
a {
  color: #2a7ae2;
  text-decoration: none; }
  a:visited {
    color: #1756a9; }
  a:hover {
    color: #111;
    text-decoration: underline; }

/**
 * Blockquotes
 */
blockquote {
  color: #828282;
  border-left: 4px solid #e8e8e8;
  padding-left: 15px;
  font-size: 18px;
  letter-spacing: -1px;
  font-style: italic; }
  blockquote > :last-child {
    margin-bottom: 0; }

/**
 * Code formatting
 */
pre,
code {
  font-size: 15px;
  border-radius: 3px; }

code {
  padding: 1px 5px; }

pre {
  padding: 8px 12px;
  overflow-x: auto; }
  pre > code {
    border: 0;
    padding-right: 0;
    padding-left: 0; }

/**
 * Wrapper
 */
.wrapper {
  max-width: -webkit-calc(1000px - (30px * 2));
  max-width: calc(1000px - (30px * 2));
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px; }
  @media screen and (max-width: 800px) {
    .wrapper {
      max-width: -webkit-calc(1000px - (30px));
      max-width: calc(1000px - (30px));
      padding-right: 15px;
      padding-left: 15px; } }

/**
 * Clearfix
 */
.wrapper:after, .footer-col-wrapper:after {
  content: "";
  display: table;
  clear: both; }

/**
 * Icons
 */
.icon > svg {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle; }
  .icon > svg path {
    fill: #828282; }

/**
 * Site header
 */
.site-header {
  border-top: 5px solid #424242;
  border-bottom: 1px solid #e8e8e8;
  min-height: 56px;
  position: relative; }

.site-title {
  font-size: 26px;
  font-weight: 300;
  line-height: 56px;
  letter-spacing: -1px;
  margin-bottom: 0;
  float: left; }
  .site-title, .site-title:visited {
    color: #424242; }

.site-nav {
  float: right;
  line-height: 56px; }
  .site-nav .menu-icon {
    display: none; }
  .site-nav .page-link {
    color: #111;
    line-height: 1.5;
    /*&:not(:last-child) {
        margin-right: 20px;
    }*/ }
  @media screen and (max-width: 600px) {
    .site-nav {
      /*position: absolute;
      top: 9px;
      right: $spacing-unit / 2;
      background-color: $background-color;
      border: 1px solid $grey-color-light;
      border-radius: 5px;
      text-align: right;*/ }
      .site-nav .menu-icon {
        display: block;
        float: right;
        width: 36px;
        height: 26px;
        line-height: 0;
        padding-top: 10px;
        text-align: center; }
        .site-nav .menu-icon > svg {
          width: 18px;
          height: 15px; }
          .site-nav .menu-icon > svg path {
            fill: #424242; }
      .site-nav .trigger {
        clear: both;
        display: none; }
      .site-nav:hover .trigger {
        display: block;
        padding-bottom: 5px; }
      .site-nav .page-link {
        display: block;
        padding: 5px 10px;
        /*&:not(:last-child) {
            margin-right: 0;
        }*/
        margin-left: 20px; } }

/**
 * Site footer
 */
.site-footer {
  border-top: 1px solid #e8e8e8;
  padding: 30px 0; }

.footer-heading {
  font-size: 18px;
  margin-bottom: 15px; }

.contact-list,
.social-media-list {
  list-style: none;
  margin-left: 0; }

.footer-col-wrapper {
  font-size: 15px;
  color: #828282;
  margin-left: -15px; }

.footer-col {
  float: left;
  margin-bottom: 15px;
  padding-left: 15px; }

.footer-col-1 {
  width: -webkit-calc(35% - (30px / 2));
  width: calc(35% - (30px / 2)); }

.footer-col-2 {
  width: -webkit-calc(20% - (30px / 2));
  width: calc(20% - (30px / 2)); }

.footer-col-3 {
  width: -webkit-calc(45% - (30px / 2));
  width: calc(45% - (30px / 2)); }

@media screen and (max-width: 800px) {
  .footer-col-1,
  .footer-col-2 {
    width: -webkit-calc(50% - (30px / 2));
    width: calc(50% - (30px / 2)); }

  .footer-col-3 {
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - (30px / 2)); } }
@media screen and (max-width: 600px) {
  .footer-col {
    float: none;
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - (30px / 2)); } }
/**
 * Page content
 */
.page-content {
  padding: 30px 0; }

.page-heading {
  font-size: 20px; }

.post-list {
  margin-left: 0;
  list-style: none; }
  .post-list > li {
    margin-bottom: 30px; }

.post-meta {
  font-size: 14px;
  color: #828282; }

.post-link {
  display: block;
  font-size: 24px; }

/**
 * Posts
 */
.post-header {
  margin-bottom: 30px; }

.post-title {
  font-size: 42px;
  letter-spacing: -1px;
  line-height: 1;
  font-weight: 300; }
  @media screen and (max-width: 800px) {
    .post-title {
      font-size: 36px; } }

.post-content {
  margin-bottom: 30px; }
  .post-content h2 {
    font-size: 32px; }
    @media screen and (max-width: 800px) {
      .post-content h2 {
        font-size: 28px; } }
  .post-content h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 5px; }
    @media screen and (max-width: 800px) {
      .post-content h3 {
        font-size: 18px; } }
  .post-content h4 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 5px; }
    @media screen and (max-width: 800px) {
      .post-content h4 {
        font-size: 17px; } }
