.button1 {height:43px; color:#FFFFFF; width:100%; border: 1px solid #444444;text-shadow: 0 1px 1px white;box-shadow: 0 1px 1px #fff;
font-size:18px;padding: 6px 10px;white-space: nowrap;vertical-align: middle;
background: #BBBBBB;cursor: pointer;-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;-ms-transition: all 0.2s ease-in-out;-o-transition: all 0.2s ease-in-out;transition: all 0.2s ease-in-out;
position: absolute; right:0px; bottom:0px; z-index: 9999999;
}
.button1:hover {border-color: #999;background: -moz-linear-gradient(top,white 0,#BBBBBB 100%);background: linear-gradient(top,white 0,#BBBBBB 100%);
box-shadow: 0 1px 2px rgba(0,0,0,0.25), inset 0 0 3px #BBBBBB;}
.button1:active, .button1:focus {border: 1px solid #AAA;border-bottom-color: #CCC;border-top-color: #999;box-shadow: inset 0 1px 2px #aaa;
background: linear-gradient(top,#E6E6E6 0,gainsboro 100%);background: -moz-linear-gradient(top,#E6E6E6 0,gainsboro 100%);}

.button2 {height:43px; color:#FFFFFF; border: 1px solid #444444;
font-size:18px;padding: 6px 80px;white-space: nowrap;vertical-align: middle;
background: #000000;cursor: pointer;-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;-ms-transition: all 0.2s ease-in-out;-o-transition: all 0.2s ease-in-out;transition: all 0.2s ease-in-out;
right:0; width: 100%; max-width: 100%;
}

a {
  color: #4183C4;
  font-weight: 300;
  text-decoration: none;
}

a:hover {
  color: #3d85c6;
  text-decoration: underline;
}

a.twitter-follow-button {
  display: block;
  height: 32px;
}

a#viewSource {
  display: block;
  margin: 1.3em 0 0 0;
  border-top: 1px solid #999;
  padding: 1em 0 0 0;
}

div#links a {
  display: block;
  line-height: 1.3em;
  margin: 0 0 1.5em 0;
}

@media screen and (min-width: 1000px) {
  /* hack! to detect non-touch devices */
  div#links a {
    line-height: 0.8em;
  }
}

h1 a {
  font-weight: 300;
  white-space: nowrap;
}

audio {
  max-width: 100%;
}
/*
body {
  font-family: sans-serif;
  margin: 0;
  padding: 1em;
  word-break: break-word;
}

button {
  background-color: #d84a38;
  border: none;
  border-radius: 2px;
  color: white;
  font-family: sans-serif;
  font-size: 0.8em;
  //margin: 0 0 1em 0;
  padding: 0.6em;
}

button:active {
  background-color: #cf402f;
}

button:hover {
  background-color: #cf402f;
}

button[disabled] {
  color: #ccc;
}

button[disabled]:hover {
  background-color: #d84a38;
}
*/
canvas {
  background-color: #ccc;
  max-width: 100%;
  width: 100%;
}

code {
  font-family: sans-serif;
  font-weight: 400;
}

div#container {
  margin: 0 auto 0 auto;
  width: 100% !important;
  max-width: 750px !important;
}

div#highlight {
  background-color: #eee;
  font-size: 1.2em;
  margin: 0 0 50px 0;
  padding: 0.5em 2em;
}

div#links {
  padding: 0.5em 0 0 0;
}

img {
  border: none;
  max-width: 100%;
}

input {
  font-family: sans-serif;
}

input[type=radio] {
  position: relative;
  top: -1px;
}

input[type=radio] {
  position: relative;
  top: -1px;
}

label {
  font-family: sans-serif;
}

ol {
  padding: 0 0 0 20px;
}

p {
  color: #444;
  font-weight: 300;
  line-height: 1.6em;
}

p#data {
  border-top: 1px dotted #666;
  font-family: Courier New, monospace;
  line-height: 1.3em;
  max-height: 1000px;
  overflow-y: auto;
  padding: 1em 0 0 0;
}

p.borderBelow {
  border-bottom: 1px solid #eee;
  padding: 0 0 20px 0;
}

section p:last-of-type {
  margin: 0;
}

section {
  border-bottom: 1px solid #eee;
  margin: 0 0 30px 0;
  padding: 0 0 20px 0;
}

section:last-of-type {
  border-bottom: none;
  padding: 0 0 1em 0;
}

select {
  margin: 0 1em 1em 0;
  position: relative;
  top: -1px;
}

h1 span {
  white-space: nowrap;
}

strong {
  font-weight: 500;
}

ul {
  padding: 0 0 0 20px;
}

section p:last-of-type {
  margin: 0;
}

section {
  border-bottom: 1px solid #eee;
  margin: 0 0 30px 0;
  padding: 0 0 20px 0;
}

section:last-of-type {
  border-bottom: none;
  padding: 0 0 1em 0;
}

select {
  margin: 0 1em 1em 0;
  position: relative;
  top: -1px;
}

h1 span {
  white-space: nowrap;
}

strong {
  font-weight: 500;
}

video {
  background: #222;
  height:100%; /*margin: 0 0 20px 0;*/
  width: 100%;
}

@media screen and (max-width: 650px) {
  h1 {
    font-size: 24px;
  }
}

@media screen and (max-width: 550px) {
  button:active {
    background-color: darkRed;
  }
  h1 {
    font-size: 22px;
  }
}

@media screen and (max-width: 450px) {
  h1 {
    font-size: 20px;
  }
}


/* Twitter button from http://codepen.io/alistairtweedie/pen/JlFnq */

.custom-follow-button a {
  position: relative;
  display: inline-block;
  padding: 4px 6px 6px 4px;
  border: 1px solid #ccc;
  font-family: 'Helvetica Neue';
  font-size: 13px;
  color: #333;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
  font-weight: bold;
  background-color: #F8F8F8;
  background-image:
  -moz-gradient(linear, left top, left bottom,from(#FFF),to(#DEDEDE));
  background-image: -moz-linear-gradient(top,#FFF,#DEDEDE);
  background-image: -o-linear-gradient(top,#FFF,#DEDEDE);
  background-image: -ms-linear-gradient(top,#FFF,#DEDEDE);
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
}
.custom-follow-button a:hover  {
  border-color: #BBB;
  background-color: #F8F8F8;
  background-image: -webkit-gradient(linear,left top,left bottom,from(#F8F8F8),to(#D9D9D9));
  background-image: -moz-linear-gradient(top,#F8F8F8,#D9D9D9);
  background-image: -o-linear-gradient(top,#F8F8F8,#D9D9D9);
  background-image: -ms-linear-gradient(top,#F8F8F8,#D9D9D9);
  background-image: linear-gradient(top,#F8F8F8,#D9D9D9);
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.custom-follow-button a .btn-icon{
  position: absolute;
  width: 22px;
  height: 18px;
  top: 50%;
  left: 7px;
  margin-top: -9px;
  background: url('../images/twitter.ico') 1px center no-repeat;
  background-size: 18px;
}
.custom-follow-button a .btn-text{
  display: inline-block;
  padding: 2px 3px 0 28px;
}

/* Twitter button ends */