html {
  box-sizing: border-box; }

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

embed,
img,
object,
video {
  max-width: 100%;
  height: auto; }

.lato {
  font-family: 'Lato', sans-serif; }

.ptserif {
  font-family: 'PT Serif', serif; }

.crimson {
  font-family: 'Crimson Text', serif; }

.opensans {
  font-family: 'Open Sans', sans-serif; }

.lobster {
  font-family: 'Lobster', cursive; }

html {
  height: 100%; }

body {
  height: 100%;
  background: #eeeeee;
  color: #232323;
  font-family: 'Open Sans', sans-serif; }

a {
  color: #007eb3; }

aside {
  max-width: 100%;
  padding: 0.5em; }
  @media (min-width: 780px) {
    aside {
      width: 375px;
      float: left; } }
  aside .wrap {
    border-top: 1px solid white;
    border-bottom: 1px solid #d5d5d5; }
  aside header h1, aside .controls h2, aside dt {
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 0; }
  aside header h1 {
    background-image: url("../gfx/logo.svg");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    max-width: 300px;
    min-height: 110px;
    margin: 10px auto;
    font-size: 0;
    text-indent: -1000px;
    overflow: hidden; }
  aside header h2 {
    margin: 10px auto;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875em;
    text-shadow: 1px 1px 0px white; }
  aside footer {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75em;
    font-weight: 600;
    text-shadow: 1px 1px 0px white; }
    aside footer img {
      display: block;
      margin: 0.5em auto; }
    aside footer a {
      text-decoration: none; }
  aside header, aside .controls, aside footer {
    color: #515151;
    padding: 0.5em 0;
    border-top: 1px solid #d5d5d5;
    border-bottom: 1px solid white; }
  aside section h2 {
    padding: 0.25em;
    margin: 0.5em 0 0 0;
    background: #f3f3f3;
    border: 1px solid #e1e1e1;
    border-bottom: 0;
    color: #26a4d9;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 0.875em;
    letter-spacing: 2px; }
    @media (min-width: 375px) {
      aside section h2 {
        font-size: 1.25em; } }
  aside section h2.solo {
    border-bottom: 1px solid #e1e1e1; }
  aside section h2:hover {
    background: #007eb3;
    border-color: #00a2e6 !important;
    color: #eeeeee; }
  aside section.buttons:after {
    content: "";
    display: table;
    clear: both; }
  aside section.buttons h2 {
    width: 49.5%;
    float: left;
    margin: 0; }
    aside section.buttons h2:first-child {
      margin-right: 1%; }
  aside .metrics {
    margin-top: 0.75em; }
    aside .metrics:after {
      content: "";
      display: table;
      clear: both; }
    aside .metrics dl {
      margin: 0; }
    aside .metrics .item {
      width: 49.5%;
      float: left;
      margin: 0;
      background: white;
      font-size: 0.875em; }
      aside .metrics .item:first-child {
        margin-right: 1%; }
    aside .metrics dt, aside .metrics dd {
      display: block;
      margin: 0;
      padding: 0.25em;
      border: 1px solid #e1e1e1;
      text-align: center; }
    aside .metrics dt {
      text-transform: uppercase;
      letter-spacing: 2px;
      padding-bottom: 2px;
      background: #f3f3f3;
      color: #26a4d9; }
    aside .metrics .item.active dt, aside .metrics .item dt:hover {
      background: #007eb3;
      color: #eeeeee;
      border-color: #00a2e6 !important; }
    aside .metrics dd {
      border-top: 0;
      font-weight: bold;
      background: white; }
      aside .metrics dd.normal {
        color: #009900;
        background: rgba(0, 153, 0, 0.2); }
      aside .metrics dd.warning-high, aside .metrics dd.warning-low {
        color: #CC8822;
        background: rgba(204, 136, 34, 0.2); }
      aside .metrics dd.bad {
        color: #CC3300;
        background: rgba(204, 51, 0, 0.2); }

main {
  padding: 0.5em; }
  main article {
    box-sizing: content-box;
    /* For accurate column width slider */
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
    background: #FFFFFF;
    /* Not pretty, but makes contrast easier to calculate */
    border-top: 0.5em solid #007eb3;
    border-bottom: 0.5em solid #007eb3;
    padding: 1em; }
    @media (min-width: 780px) {
      main article {
        margin-left: 375px; } }
    main article {
      transition: all .25s ease; }
    main article h1, main article h2, main article h3, main article h4, main article h5, main article h6 {
      color: black; }
    main article :first-child {
      margin-top: 0; }
    main article :last-child {
      margin-bottom: 0; }
    main article .citation {
      box-sizing: content-box;
      box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.08);
      position: relative;
      left: -1.25em;
      width: 100%;
      background: #fbfbfb;
      border-top: 1px solid #e6e6e6;
      border-bottom: 1px solid #e6e6e6;
      padding: 1.25em;
      text-align: right;
      font-style: italic; }
      main article .citation a {
        font-size: 0.75em; }

/**
 * Dragdealer JS v0.9.5
 * http://code.ovidiu.ch/dragdealer-js
 *
 * Copyright (c) 2010, Ovidiu Chereches
 * MIT License
 * http://legal.ovidiu.ch/licenses/MIT
 */
.dragdealer {
  position: relative;
  background: white;
  border: 1px solid gainsboro;
  height: 28px;
  padding: 0 2px; }

#adjust-color .handle {
  width: 150px; }

.dragdealer .handle {
  position: absolute;
  cursor: pointer;
  border-radius: 3px;
  width: 100px;
  height: 24px;
  margin-top: 1px;
  font-size: 0.825em;
  background: #666;
  color: #FFF;
  line-height: 24px;
  text-align: center;
  transition: left .25s ease; }
  .dragdealer .handle.normal {
    background: #009900; }
  .dragdealer .handle.warning-low, .dragdealer .handle.warning-high {
    background: #CC8822; }
  .dragdealer .handle.bad {
    background: #CC3300; }
  .dragdealer .handle:before, .dragdealer .handle:after {
    position: absolute;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.4); }
  .dragdealer .handle:before {
    left: 2px;
    content: "\2329"; }
  .dragdealer .handle:after {
    right: 2px;
    content: "\232A"; }

.dragdealer .disabled {
  background: #898989; }
