/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-family: 'Futura', 'Helvetica', 'Arial', sans-serif;
    font-size: 1em;
    line-height: 1.4;
    background-color: #fff;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  background-image: url('../img/cycle_bg.png');
  background-position: 50% 30px;
}

body {
  height: 100%;
  background-image: url('../img/cycle_graph.svg');
  background-size: contain;
  background-position: 50% -200px;
  font-size: 22px;
  font-family: 'Inconsolata', monospace;
  background-color: transparent;
  /*font-family: 'Roboto Mono', monospace;*/
  /*font-family: 'Source Code Pro', monospace;*/
}

a {
  color: black;
  display: inline;
  text-decoration: none;
  border-bottom: 2px dotted rgba(0,0,0,0.5);
  margin-bottom: -2px;
  cursor: pointer;
  transition: border 0.2s ease-out, color 0.2s ease-out;
}

a:hover {
  /*border-bottom: 2px solid rgba(0,0,0,0.5);*/
  border-bottom: 2px solid #cd8e33;
  color: #cd8e33;
}
a:active {
  border-bottom: 2px solid transparent;
  color: #333;
}

main {
  width: 80%;
  margin: 0 auto;
  max-width: 1156px;
}

.headline {
  height: 129px;
  max-width: 514px;
  background: rgba(255,255,255,0.8);
  margin-top: 30px;
  margin-left: 2px;
  padding: 0px 20px 0 20px;
  border: 2px dotted rgba(0,0,0,0.5);
  margin-bottom: 64px;
  padding-top: 13px;
}

h1, h2, p {
  margin: 0;
  display: inline-block;
}

h1 {
  font-size: 70px;
  margin-right: 15px;
}

h2 {
  font-size: 20px;
  margin-top: -12px;
  font-weight: normal;
}

.slideshow {
  margin-bottom: 55px;
  margin-left: 2px;
  /*border: 2px dotted rgba(0,0,0,0.5);*/
}

.caption {
  padding: 10px 20px 10px 20px;
  background: rgba(255,255,255,0.8);
  margin-left: 2px;
  margin-bottom: 59px;
  border: 2px dotted rgba(0,0,0,0.5);
}

p {
  margin-top: 15px;
  margin-bottom: 18px;
}

p.last {
  margin-bottom: 30px;
}

.button {
    height: 13%;
    /*display: table-cell;*/
    /*width: 60%;*/
    padding: 5px 10px 5px 20px;
    font-size: 50px;
    background-color: #fff;
    margin: 0 20px 20px 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    letter-spacing: 0px;
    outline: 0px solid #fff;
    transition-property: font-size, letter-spacing, background, outline, color;
    transition-duration: 0.5s, 0.5s, 0.5s, 0.5s, 0.5s;
    /*transition-timing-function: steps(4, end), steps(2, end), steps(12, end), steps(4, end), steps(4, end);*/
}

.button:first-child {
    margin-top: 30px;
}
/*a {
    text-decoration: none;
    color: #fff;
}
a:hover {
    text-decoration: none;
    color: #fff;
}*/

.skidder-clickelement {
  display: none !important;
}

.videowrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
  margin-top: 50px;
  margin-bottom: 33px;
  margin-left: 2px;
}
.videowrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}







/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 640px) {
  body {
    font-size: 14px;
  }
  h1 {
    font-size: 50px;
  }

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}