/*********************************************************\
* http://hugogiraudel.com/2013/03/18/ultimate-rem-mixin/  *
\*********************************************************/
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
  font-family: sans-serif;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/**
 * Remove default margin.
 */
body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */
audio,
canvas,
progress,
video {
  display: inline-block;
  /* 1 */
  vertical-align: baseline;
  /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
 */
[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */
/**
 * Remove the gray background color from active links in IE 10.
 */
a {
  background: transparent;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */
a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */
/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */
abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */
b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */
dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */
mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove border when inside `a` element in IE 8/9/10.
 */
img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */
svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */
/**
 * Address margin not present in IE 8/9 and Safari.
 */
figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */
hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */
pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */
/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */
/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  /* 1 */
  font: inherit;
  /* 2 */
  margin: 0;
  /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */
button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */
button,
html input[type=button],
input[type=reset],
input[type=submit] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */
input[type=checkbox],
input[type=radio] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
 *    (include `-moz` to future-proof).
 */
input[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  -webkit-box-sizing: content-box;
  /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */
legend {
  border: 0;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */
textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */
optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */
/**
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/**
 * use border-box as default
 */
html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

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

ul {
  -webkit-margin-before: 0;
  -webkit-margin-after: 0;
  -webkit-padding-start: 0;
}

/* http://prismjs.com/download.html?themes=prism-okaidia&languages=markup+css+scss */
/**
 * okaidia theme for JavaScript, CSS and HTML
 * Loosely based on Monokai textmate theme by http://www.monokai.nl/
 * @author ocodia
 */
code[class*=language-],
pre[class*=language-] {
  color: #f8f8f2;
  text-shadow: 0 1px rgba(0, 0, 0, 0.3);
  font-family: Consolas, Monaco, "Andale Mono", monospace;
  direction: ltr;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  line-height: 1.5;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

/* Code blocks */
pre[class*=language-] {
  padding: 1em;
  margin: 0.5em 0;
  overflow: auto;
  border-radius: 0.3em;
}

:not(pre) > code[class*=language-],
pre[class*=language-] {
  background: #272822;
}

/* Inline code */
:not(pre) > code[class*=language-] {
  padding: 0.1em;
  border-radius: 0.3em;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: slategray;
}

.token.punctuation {
  color: #f8f8f2;
}

.namespace {
  opacity: 0.7;
}

.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
  color: #f92672;
}

.token.boolean,
.token.number {
  color: #ae81ff;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: #a6e22e;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string,
.token.variable {
  color: #f8f8f2;
}

.token.atrule,
.token.attr-value {
  color: #e6db74;
}

.token.keyword {
  color: #66d9ef;
}

.token.regex,
.token.important {
  color: #fd971f;
}

.token.important {
  font-weight: bold;
}

.token.entity {
  cursor: help;
}

@media screen {
  header {
    position: relative;
    overflow: initial;
    /* to make sure that header wraps around content(nav) http://stackoverflow.com/questions/6319500/how-to-make-the-wrapping-div-element-with-relative-position-match-child-elements */
    width: 100%;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
  }
}
@media screen and (max-width: 40.063em) {
  header {
    float: left;
    width: 100%;
    z-index: 1;
  }
  .js header {
    position: fixed;
  }
}
@media screen and (max-width: 40.063em) and (orientation: landscape) {
  .js header.expanded nav {
    top: 28px;
    top: 1.75rem;
    top: 7vw;
  }
}
@media screen and (max-width: 40.063em) and (orientation: portrait) {
  .js header.expanded nav {
    top: 56px;
    top: 3.5rem;
    top: 14vw;
  }
}
@media screen and (max-width: 40.063em) {
  header:before {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #329865;
    content: "";
    z-index: -1;
    -webkit-box-shadow: 0 0 8px gray;
            box-shadow: 0 0 8px gray;
    -webkit-box-shadow: 0 0 0.5rem gray;
            box-shadow: 0 0 0.5rem gray;
  }
}
@media screen and (max-width: 40.063em) and (orientation: landscape) {
  header:before {
    height: 28px;
    height: 1.75rem;
    height: 7vw;
  }
}
@media screen and (max-width: 40.063em) and (orientation: portrait) {
  header:before {
    height: 56px;
    height: 3.5rem;
    height: 14vw;
  }
}
@media screen and (min-width: 40.063em) {
  header {
    position: fixed;
    top: 0;
    z-index: 1;
  }
}
@media screen and (max-width: 40.063em) {
  header .show-menu {
    position: fixed;
    right: 0%;
    top: 0;
    background-image: url(../images/menu.svg);
    background-size: 80% 80%;
    background-repeat: no-repeat;
    background-position: center;
  }
}
@media screen and (max-width: 40.063em) and (orientation: landscape) {
  header .show-menu {
    height: 28px;
    height: 1.75rem;
    height: 7vw;
    width: 28px;
    width: 1.75rem;
    width: 7vw;
  }
}
@media screen and (max-width: 40.063em) and (orientation: portrait) {
  header .show-menu {
    height: 56px;
    height: 3.5rem;
    height: 14vw;
    width: 56px;
    width: 3.5rem;
    width: 14vw;
  }
}
@media screen and (max-width: 40.063em) {
  .no-js header .show-menu {
    display: none;
  }
}
@media screen and (min-width: 40.063em) {
  header .show-menu {
    display: none;
  }
}
@media screen {
  header .show-menu:hover {
    cursor: pointer;
  }
}
@media screen {
  header input[type=checkbox] {
    display: none;
  }
}
@media screen {
  .logo-link:hover + nav ul .home {
    background-position-y: 100%;
    color: #329865;
  }
  .no-cssgradients .logo-link:hover + nav ul .home, .logo-link:hover + nav ul .no-cssgradients .home, .no-bgpositionxy .logo-link:hover + nav ul .home, .logo-link:hover + nav ul .no-bgpositionxy .home, .no-js .logo-link:hover + nav ul .home, .logo-link:hover + nav ul .no-js .home {
    background: none;
    background-color: white;
  }
}
@media screen {
  .logo {
    z-index: 1;
  }
}
@media screen and (max-width: 40.063em) {
  .logo {
    position: fixed;
    display: block;
    float: left;
  }
}
@media screen and (max-width: 40.063em) and (orientation: landscape) {
  .logo {
    width: 10%;
  }
}
@media screen and (max-width: 40.063em) and (orientation: portrait) {
  .logo {
    width: 20%;
  }
}
@media screen and (min-width: 40.063em) {
  .logo {
    position: fixed;
    top: 24px;
    top: 1.5rem;
    width: 96px;
    width: 6rem;
    width: 9vw;
  }
}
@media screen and (min-width: 40.063em) and (max-width: 67em) {
  .logo {
    left: 10%;
  }
}
@media screen and (min-width: 67.063em) and (max-width: 100em) {
  .logo {
    left: 12%;
  }
}
@media screen and (min-width: 100.063em) {
  .logo {
    left: 15%;
    width: 128px;
    width: 8rem;
    width: 7vw;
  }
}
@media screen {
  nav {
    background-color: #329865;
    position: relative;
    -webkit-box-shadow: 0 0 8px gray;
            box-shadow: 0 0 8px gray;
    -webkit-box-shadow: 0 0 0.5rem gray;
            box-shadow: 0 0 0.5rem gray;
  }
}
@media screen and (max-width: 40.063em) {
  nav {
    z-index: -2;
    padding: 0;
    -webkit-transition: top 0.5s ease-out;
    transition: top 0.5s ease-out;
  }
  .js nav {
    position: fixed;
    top: -100%;
  }
}
@media screen and (max-width: 40.063em) and (orientation: landscape) {
  .js nav {
    width: 22.5%;
    left: 77.5%;
  }
}
@media screen and (max-width: 40.063em) and (orientation: portrait) {
  .js nav {
    width: 45%;
    left: 55%;
  }
}
@media screen and (max-width: 40.063em) {
  .no-js nav {
    width: 100%;
    position: relative;
    margin-top: 126.4px;
    margin-top: 7.9rem;
    margin-top: 25vw;
  }
}
@media screen and (max-width: 40.063em) and (orientation: landscape) {
  nav {
    font-size: 31%;
    font-size: 1.5vw;
  }
}
@media screen and (max-width: 40.063em) and (orientation: portrait) {
  nav {
    font-size: 62%;
    font-size: 3vw;
  }
}
@media screen and (min-width: 40.063em) {
  nav {
    float: right;
    width: 100%;
  }
}
@media screen and (min-width: 40.063em) and (max-width: 67em) {
  nav {
    padding: 0 10%;
    padding-top: 24px;
    padding-top: 1.5rem;
    font-size: 62%;
    font-size: 1.5vw;
  }
}
@media screen and (min-width: 67.063em) and (max-width: 100em) {
  nav {
    padding: 0 12%;
    padding-top: 24px;
    padding-top: 1.5rem;
  }
}
@media screen and (min-width: 67.063em) {
  nav {
    font-size: 100%;
    font-size: 1.2vw;
  }
}
@media screen and (min-width: 100.063em) {
  nav {
    padding: 0 15%;
    padding-top: 24px;
    padding-top: 1.5rem;
    font-size: 110%;
    font-size: 1vw;
  }
}
@media screen {
  nav ul {
    padding: 0;
    float: right;
    margin-bottom: 0em;
  }
}
@media screen and (min-width: 0) and (max-width: 40em) {
  nav ul {
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0.45rem 0.4rem rgba(0, 0, 0, 0.5);
            box-shadow: 0 0.45rem 0.4rem rgba(0, 0, 0, 0.5);
    width: 100%;
  }
}
@media screen {
  nav ul li {
    -webkit-transition: background 0.5s, color 0.5s;
    transition: background 0.5s, color 0.5s;
    color: white;
    background: -webkit-gradient(linear, left bottom, left top, color-stop(50%, white), color-stop(50%, #329865));
    background: linear-gradient(to top, white 50%, #329865 50%);
    background-size: 200% 200%;
    background-position-y: 0%;
    float: left;
    list-style-type: none;
    font-size: 1.5em;
  }
}
@media screen and (min-width: 0) and (max-width: 40em) {
  nav ul li {
    width: 100%;
    padding: 16px;
    padding: 1rem;
    padding-bottom: 12px;
    padding-bottom: 0.75rem;
  }
}
@media screen and (min-width: 40.063em) {
  nav ul li {
    padding: 8px;
    padding: 0.5rem;
    border-right-width: 1.6px;
    border-right-width: 0.1rem;
    border-right-style: solid;
    border-right-color: white;
  }
}
@media screen and (min-width: 100.063em) {
  nav ul li {
    padding: 16px 19.2px;
    padding: 1rem 1.2rem;
    padding-bottom: 8px;
    padding-bottom: 0.5rem;
  }
}
@media screen {
  nav ul li.selected {
    background-position-y: 85%;
    color: #329865;
  }
}
@media screen and (min-width: 40.063em) {
  nav ul li:hover, nav ul li.selected:hover {
    background-position-y: 100%;
    color: #329865;
  }
  .no-cssgradients nav ul li:hover, .no-bgpositionxy nav ul li:hover, .no-js nav ul li:hover, .no-cssgradients nav ul li.selected:hover, .no-bgpositionxy nav ul li.selected:hover, .no-js nav ul li.selected:hover {
    background: none;
    background-color: white;
  }
  .no-cssgradients nav ul li:hover, .no-bgpositionxy nav ul li:hover, .no-js nav ul li:hover, .no-cssgradients nav ul li.selected:hover, .no-bgpositionxy nav ul li.selected:hover, .no-js nav ul li.selected:hover {
    color: #329865;
  }
}
@media screen {
  .no-cssgradients nav ul li, .no-bgpositionxy nav ul li, .no-js nav ul li {
    background: none;
    background-color: #329865;
  }
  .no-cssgradients nav ul li.selected, .no-bgpositionxy nav ul li.selected, .no-js nav ul li.selected {
    background-color: white;
    color: #329865;
  }
}
@media screen {
  nav ul a {
    text-decoration: none;
  }
  nav ul a:last-of-type > li {
    border: none;
  }
}
@media screen {
  .subtitle {
    font-weight: normal;
    font-style: italic;
    color: gray;
    position: absolute;
  }
}
@media screen and (max-width: 67.063em) {
  .subtitle {
    font-size: 100%;
    font-size: 3vw;
  }
}
@media screen and (min-width: 67.063em) {
  .subtitle {
    font-size: 1.4em;
    font-size: 1.5vw;
  }
}
@media screen and (max-width: 40.063em) {
  .subtitle {
    color: white;
    position: fixed;
  }
}
@media screen and (max-width: 40.063em) and (orientation: landscape) {
  .subtitle {
    top: 4.8px;
    top: 0.3rem;
    top: 1.15vw;
    font-size: 0.7em;
    font-size: 3vw;
  }
}
@media screen and (max-width: 40.063em) and (orientation: portrait) {
  .subtitle {
    top: 9.6px;
    top: 0.6rem;
    top: 2.3vw;
    font-size: 1.4em;
    font-size: 6vw;
  }
}
@media screen and (min-width: 40.063em) {
  .subtitle {
    bottom: -2em;
  }
}
@media screen and (min-width: 67.063em) and (max-width: 100em) {
  .subtitle {
    bottom: -2em;
  }
}
@media screen and (min-width: 100.063em) {
  .subtitle {
    bottom: -2em;
  }
}
@media screen and (max-width: 40.063em) and (orientation: landscape) {
  .left {
    left: 10.5%;
  }
}
@media screen and (max-width: 40.063em) and (orientation: portrait) {
  .left {
    left: 21%;
  }
}
@media screen and (min-width: 40.063em) and (max-width: 67em) {
  .left {
    left: 24.2%;
  }
}
@media screen and (min-width: 67.063em) and (max-width: 100em) {
  .left {
    left: 21%;
  }
}
@media screen and (min-width: 100.063em) {
  .left {
    left: 23.5%;
  }
}
@media screen and (max-width: 40.063em) {
  .right {
    right: 15%;
    display: none;
  }
}
@media screen and (min-width: 40.063em) {
  .right {
    right: 5%;
  }
}
@media screen and (min-width: 67.063em) and (max-width: 100em) {
  .right {
    right: 2%;
  }
}
.italic {
  font-style: italic;
}

@media (max-width: 40.063em) {
  .gradient {
    visibility: hidden;
  }
}
@media (min-width: 40.063em) {
  .gradient {
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
    -webkit-transition: width 1s;
    transition: width 1s;
    position: absolute;
    width: 100%;
    height: 112px;
    height: 7rem;
    bottom: -112px;
    bottom: -7rem;
    z-index: -3;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(10%, rgba(255, 255, 255, 0.9)), color-stop(30%, rgba(255, 255, 255, 0.8)), to(rgba(255, 255, 255, 0)));
    background: linear-gradient(rgba(255, 255, 255, 0.9) 10%, rgba(255, 255, 255, 0.8) 30%, rgba(255, 255, 255, 0));
  }
  .has-sidebar .gradient {
    width: 85%;
  }
}

body {
  z-index: -1;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  color: gray;
}
@media (max-width: 40.063em) {
  body {
    background-image: url("../images/wood_pattern.png");
  }
}
@media (max-width: 40.063em) and (min-device-pixel-ratio: 2) {
  body {
    background-image: url("../images/wood_pattern_@2x.png");
  }
}
@media (min-width: 40.063em) {
  body {
    background-image: url("../images/wood_pattern_light.png");
  }
}
@media (min-width: 40.063em) and (min-device-pixel-ratio: 2) {
  body {
    background-image: url("../images/wood_pattern_light@2x.png");
  }
}

a, a:visited {
  text-decoration: inherit;
  color: inherit;
}

.main-section {
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  float: left;
  width: 100%;
}
@media screen and (max-width: 40.063em) and (orientation: portrait) {
  .main-section {
    margin-top: 96px;
    margin-top: 6rem;
    margin-top: 20vw;
  }
}
@media screen and (max-width: 40.063em) and (orientation: landscape) {
  .main-section {
    margin-top: 56px;
    margin-top: 3.5rem;
    margin-top: 15vw;
  }
}
@media (max-width: 40.063em) {
  .main-section article > *:not(img) {
    background-color: white;
    background-color: rgba(255, 255, 255, 0.7);
    margin-top: -8px;
    margin-top: -0.5rem;
    padding: 8px;
    padding: 0.5rem;
    margin: 0 2%;
  }
}
@media (max-width: 40.063em) {
  .main-section h1 {
    color: #329865;
    text-align: center;
  }
}
@media (max-width: 40.063em) {
  .main-section img:not(.icon):not(.profile-image) {
    width: 100%;
    -webkit-box-shadow: 0 0 8px gray;
            box-shadow: 0 0 8px gray;
    -webkit-box-shadow: 0 0 0.5rem gray;
            box-shadow: 0 0 0.5rem gray;
  }
  .contact .main-section img:not(.icon):not(.profile-image) {
    display: none;
  }
}
@media (min-width: 40.063em) {
  .main-section {
    -webkit-box-shadow: 0 0 8px gray;
            box-shadow: 0 0 8px gray;
    -webkit-box-shadow: 0 0 0.5rem gray;
            box-shadow: 0 0 0.5rem gray;
    padding: 32px;
    padding: 2rem;
    background-color: white;
    background-color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 0;
  }
  body:not(.use-wrapper) .main-section {
    margin-bottom: 128px;
    margin-bottom: 8rem;
  }
  body:not(.use-wrapper) .main-section:first-of-type {
    margin-top: 240px;
    margin-top: 15rem;
  }
  .main-section h1 {
    color: #329865;
  }
  .main-section h1, .main-section p, .main-section .profile {
    position: relative;
    left: 55%;
    width: 45%;
  }
  .main-section a {
    text-decoration: underline;
  }
  .main-section img:not(.icon):not(.profile-image) {
    width: 960px;
    width: 60rem;
    width: auto;
    position: absolute;
    right: 50%;
    background-color: transparent;
  }
  body:not(.contact) .main-section img:not(.icon):not(.profile-image) {
    height: 100%;
    top: 0;
  }
  .contact .main-section img:not(.icon):not(.profile-image) {
    height: 100%;
    top: 0;
  }
}
.no-boxshadow .main-section {
  margin-top: 160px;
  margin-top: 10rem;
}
.main-section .profile {
  padding-bottom: 144px;
  padding-bottom: 9rem;
  position: relative;
}
@media (max-width: 40.063em) {
  .main-section .profile {
    padding-left: 10%;
  }
}
.main-section .profile div {
  display: inline;
}
.main-section .profile .profile-image {
  width: 128px;
  width: 8rem;
  height: 128px;
  height: 8rem;
  border: 1px white solid;
  border-radius: 32px;
  -webkit-transition: border-color 0.5s;
  transition: border-color 0.5s;
  border-width: 11.2px;
  border-width: 0.7rem;
}
.main-section .profile .profile-image:hover {
  border-color: #329865;
}
.no-js .main-section .profile:hover ~ {
  display: inline;
  opacity: 1;
}
.main-section .profile .selected .profile-info {
  display: inline;
  opacity: 1;
}
.main-section .profile .profile-info {
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
  opacity: 0;
  display: none;
  position: absolute;
  left: 11.2px;
  left: 0.7rem;
  bottom: 0;
  width: 90%;
}
@media (max-width: 40.063em) {
  .main-section .profile .profile-info {
    left: 10%;
    width: 80%;
  }
}
.main-section .profile .profile-info p {
  left: 0;
}

@media (min-width: 40.063em) {
  .wrapper {
    width: 100%;
    float: left;
    padding-top: 80px;
    padding-top: 5rem;
    padding-bottom: 80px;
    padding-bottom: 5rem;
  }
  .wrapper:first-of-type {
    padding-top: 256px;
    padding-top: 16rem;
  }
  .wrapper:last-of-type {
    padding-bottom: 240px;
    padding-bottom: 15rem;
  }
}

.button {
  -webkit-box-shadow: 0 2px 4px gray;
          box-shadow: 0 2px 4px gray;
  -webkit-box-shadow: 0 0.1rem 0.25rem gray;
          box-shadow: 0 0.1rem 0.25rem gray;
  padding: 16px;
  padding: 1rem;
  border: 0 solid white;
  border-width: 3.2px;
  border-width: 0.2rem;
  border-radius: 1584px;
  border-radius: 99rem;
  cursor: pointer;
  -webkit-transition: background-color 1s, color 1s, border-color 1s;
  transition: background-color 1s, color 1s, border-color 1s;
  color: #329865;
  font-size: 25px;
  font-weight: bold;
  font-color: #329865;
}
.button.btn-selected {
  background-color: #329865;
  color: white;
}
.button:hover {
  background-color: #329865;
  border-color: #329865;
  color: white;
}
@media (min-width: 40.063em) {
  .button {
    position: fixed;
    right: 16px;
    right: 1rem;
  }
  .button.upper {
    top: 128px;
    top: 8rem;
  }
  .button.lower {
    bottom: 80px;
    bottom: 5rem;
  }
}
@media (max-width: 40.063em) {
  .button.upper {
    display: none;
  }
  .button.lower {
    display: none;
  }
}

footer {
  background-color: #329865;
  color: white;
  text-align: center;
  float: left;
  -webkit-box-shadow: 0 0 8px gray;
          box-shadow: 0 0 8px gray;
  -webkit-box-shadow: 0 0 0.5rem gray;
          box-shadow: 0 0 0.5rem gray;
  padding: 8px;
  padding: 0.5rem;
}
@media screen and (orientation: portrait) {
  footer {
    margin-top: 80px;
    margin-top: 5rem;
    margin-top: 22vw;
  }
}
@media screen and (orientation: landscape) {
  footer {
    margin-top: 40px;
    margin-top: 2.5rem;
    margin-top: 11vw;
  }
}
@media (max-width: 40.063em) {
  footer {
    width: 100%;
  }
}
@media (min-width: 40.063em) {
  footer {
    position: fixed;
    bottom: 0;
    left: 0;
    border-top-right-radius: 32px;
    border-top-right-radius: 2rem;
  }
}
@media (max-width: 67.063em) {
  footer .footer-break {
    margin: 3.2px;
    margin: 0.2rem;
  }
}
@media (min-width: 67.063em) {
  footer .footer-break {
    display: none;
  }
}
footer > * {
  margin: 8px;
  margin: 0.5rem;
}
@media (min-width: 0) and (max-width: 23em) {
  footer > * {
    white-space: normal;
  }
}
@media (min-width: 23em) {
  footer > * {
    white-space: nowrap;
  }
}

aside {
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-box-shadow: inset 0 4px 8px gray;
          box-shadow: inset 0 4px 8px gray;
  -webkit-box-shadow: inset 0 0.25rem 0.5rem gray;
          box-shadow: inset 0 0.25rem 0.5rem gray;
  position: fixed;
  background-color: white;
  right: 0;
  top: 0;
  z-index: 0;
  height: 100%;
  width: 15%;
  text-align: center;
  -webkit-transition: right 1s;
  transition: right 1s;
}
@media (min-width: 0) and (max-width: 40em) {
  aside {
    display: none;
  }
}
aside.sided {
  right: -15%;
}

.container {
  overflow: auto;
  height: 100%;
  top: 48px;
  top: 3rem;
  padding-top: 2%;
  padding-bottom: 4%;
  position: inherit;
}
.container div {
  position: relative;
}
.container img {
  width: 80%;
  text-align: center;
  -webkit-filter: grayscale(100%);
          filter: grayscale(100%);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-box-shadow: 0 2px 4px gray;
          box-shadow: 0 2px 4px gray;
  -webkit-box-shadow: 0 0.1rem 0.25rem gray;
          box-shadow: 0 0.1rem 0.25rem gray;
  border-radius: 24px;
  border-radius: 1.5rem;
  margin-top: 24px;
  margin-top: 1.5rem;
  -webkit-transition: all 0.5s, left 1s;
  transition: all 0.5s, left 1s;
  position: relative;
  left: 0;
}
.sided .container img {
  left: 1vw;
}
.container a {
  position: relative;
}
.container a.color img {
  -webkit-filter: grayscale(0%);
          filter: grayscale(0%);
}
.container p {
  font-size: 120%;
  font-size: 1.5vw;
  color: #329865;
  font-weight: bold;
  opacity: 0;
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}
.no-cssfilters .container p, .no-js .container p {
  width: 90%;
  font-size: 1.2vw;
  background-color: white;
  text-align: center;
  margin: 0 5%;
}
.container div {
  cursor: pointer;
}
.container div:hover p {
  opacity: 1;
}
.container div:hover img {
  -webkit-filter: grayscale(100%) opacity(25%);
          filter: grayscale(100%) opacity(25%);
}

@media (min-width: 40.063em) {
  .wrapper {
    width: 100%;
    -webkit-transition: width 1s;
    transition: width 1s;
  }
  .has-sidebar .wrapper.small {
    width: 85%;
  }

  .subtitle.right {
    right: 16%;
  }

  .button {
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
    position: fixed;
    top: 50%;
    right: 13%;
    right: 13vw;
    width: 4vw;
    height: 4vw;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, white), color-stop(50%, #329865));
    background: linear-gradient(to bottom, white 50%, #329865 50%);
    background-size: 200% 200%;
    background-position-y: 0%;
    z-index: 1;
    -webkit-box-shadow: 0 2px 4px gray;
            box-shadow: 0 2px 4px gray;
    -webkit-box-shadow: 0 0.1rem 0.25rem gray;
            box-shadow: 0 0.1rem 0.25rem gray;
    padding: 8px;
    padding: 0.5rem;
    border: 0 solid white;
    border-width: 3.2px;
    border-width: 0.2rem;
    border-radius: 1584px;
    border-radius: 99rem;
    cursor: pointer;
    -webkit-transition: right 1s, background-position-y 0.5s, background-color 0.5s;
    transition: right 1s, background-position-y 0.5s, background-color 0.5s;
    color: #329865;
  }
  .button::after {
    background: url(../images/arrow-in.png);
  }
  .button::before {
    background: url(../images/arrow-out.png);
  }
  .button::after, .button::before {
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    border-radius: 1584px;
    border-radius: 99rem;
  }
  .no-cssgradients .button, .no-bgpositionxy .button, .no-js .button {
    background: white;
  }
  .button.btn-selected {
    background-color: #329865;
    color: white;
  }
  .button:hover {
    background-position-y: 100%;
    border-color: white;
  }
  .button:hover::after {
    opacity: 0;
  }
  .no-cssgradients .button:hover, .no-bgpositionxy .button:hover, .no-js .button:hover {
    background-color: #329865;
  }
  .button.btnsided {
    background-position-y: 100%;
    border-color: #329865;
    right: 14vw;
  }
  .button.btnsided::before {
    opacity: 1;
  }
  .button.btnsided::after {
    opacity: 0;
  }
  .no-cssgradients .button.btnsided, .no-bgpositionxy .button.btnsided, .no-js .button.btnsided {
    background-color: #329865;
  }
  .button.btnsided:hover {
    background-position-y: 0%;
    border-color: #329865;
    right: 15vw;
  }
  .button.btnsided:hover::before {
    opacity: 0;
  }
  .button.btnsided:hover::after {
    opacity: 1;
  }
  .no-cssgradients .button.btnsided:hover, .no-bgpositionxy .button.btnsided:hover, .no-js .button.btnsided:hover {
    background-color: white;
  }
}
@media (max-width: 40.063em) {
  .main-section .impressum > p:last-of-type {
    padding-bottom: 48px;
    padding-bottom: 3rem;
  }
}
@media (min-width: 40.063em) {
  .main-section .impressum h1, .main-section .impressum p {
    position: relative;
    left: 15%;
    width: 75%;
  }
}
.main-section .impressum .icon {
  vertical-align: middle;
  margin-right: 19.2px;
  margin-right: 1.2rem;
}
@media (max-width: 40.063em) {
  .main-section .impressum .icon {
    width: 80px;
    width: 5rem;
    height: 80px;
    height: 5rem;
  }
}
@media (min-width: 40.063em) {
  .main-section .impressum .icon {
    width: 2em;
    height: 2em;
  }
}
.main-section .impressum p {
  font-size: 1em;
}

.styleguide .main-section {
  width: 100%;
  float: left;
  position: relative;
}
.styleguide .main-section .example {
  width: 96%;
  float: left;
}
.styleguide .main-section .example .not-fixed {
  position: relative;
  width: 100%;
}
.styleguide .main-section pre {
  margin: 0;
  height: 100%;
}
.styleguide .main-section .logo {
  -webkit-box-shadow: none;
          box-shadow: none;
}
.styleguide .main-section .logo-link:hover + nav ul .home {
  background-position-y: 100%;
  color: #329865;
}
.no-cssgradients .styleguide .main-section .logo-link:hover + nav ul .home {
  background-color: white;
}
@media (max-width: 40.063em) {
  .styleguide .main-section {
    margin-bottom: 48px;
    margin-bottom: 3rem;
  }
  .styleguide .main-section .logo {
    float: left;
    width: 20%;
    position: relative;
    left: -30%;
    margin: 0 0 2rem 0;
  }
  .styleguide .main-section .subtitle {
    float: left;
    position: relative;
    left: 35%;
    width: 40%;
    text-align: left;
    bottom: 30%;
  }
  .styleguide .main-section pre {
    max-height: 320px;
    max-height: 20rem;
    -webkit-box-shadow: 0 0 8px gray;
            box-shadow: 0 0 8px gray;
    -webkit-box-shadow: 0 0 0.5rem gray;
            box-shadow: 0 0 0.5rem gray;
    width: 100%;
  }
  .styleguide .main-section .example {
    float: left;
    background-color: white;
  }
  .styleguide .main-section .example nav {
    z-index: 0;
    margin-top: 48px;
    margin-top: 3rem;
  }
  .styleguide .main-section .button {
    position: absolute;
    top: 6.4px;
    top: 0.4rem;
  }
  .styleguide .main-section .button.top {
    left: 24px;
    left: 1.5rem;
  }
  .styleguide .main-section .button.bottom {
    right: 24px;
    right: 1.5rem;
  }
  .styleguide .main-section .padding .button {
    float: left;
    position: relative;
    margin-bottom: 1rem;
  }
}
@media (min-width: 40.063em) {
  .styleguide .main-section {
    position: relative;
    z-index: -1;
  }
  .styleguide .main-section .navlogo {
    position: absolute;
    right: 25%;
  }
  .styleguide .main-section .subtitle {
    width: 100%;
  }
  .styleguide .styleguide .main-section {
    padding: 48px;
    padding: 3rem;
  }
  .styleguide .main-section .code {
    -webkit-box-shadow: 0 0 8px gray;
            box-shadow: 0 0 8px gray;
    -webkit-box-shadow: 0 0 0.5rem gray;
            box-shadow: 0 0 0.5rem gray;
    position: absolute;
    top: -5%;
    right: 50%;
    height: 110%;
    width: 40%;
    background-color: transparent;
  }
  .styleguide .main-section pre {
    border-radius: 0;
  }
  .styleguide .main-section .example {
    background-color: transparent;
    position: relative;
    left: 55%;
    width: 40%;
  }
  .styleguide .main-section .example:not(.padding) > * {
    padding: 0;
    float: left;
  }
  .styleguide .main-section .example.padding {
    margin-bottom: 32px;
    margin-bottom: 2rem;
  }
  .styleguide .main-section .button {
    position: absolute;
    left: 16px;
    left: 1rem;
  }
  .styleguide .main-section .button.top {
    top: 48px;
    top: 3rem;
  }
  .styleguide .main-section .button.bottom {
    bottom: 48px;
    bottom: 3rem;
  }
}
.styleguide .main-section .hide {
  display: none;
}

@media (min-width: 40.063em) {
  .scrolling {
    height: 100%;
    overflow: hidden;
  }
  .scrolling .main-section {
    width: 50%;
    left: 50%;
    position: fixed;
    -webkit-transition: left 1s;
    transition: left 1s;
  }
  .scrolling.has-sidebar .main-section {
    left: 35%;
  }
  .scrolling .main-section p, .scrolling .main-section h1 {
    left: 0;
    width: 100%;
  }
  .scrolling .main-section img:not(.icon):not(.profile-image) {
    -webkit-box-shadow: 0 0 8px gray;
            box-shadow: 0 0 8px gray;
    -webkit-box-shadow: 0 0 0.5rem gray;
            box-shadow: 0 0 0.5rem gray;
    position: absolute;
    right: 50vw;
    -webkit-transition: right 1s;
    transition: right 1s;
  }
  .scrolling .wrapper {
    position: fixed;
  }
  .scrolling.has-sidebar .main-section img:not(.icon):not(.profile-image) {
    right: 50vw;
  }
}