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

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

body {
  font-size: 1em;
  line-height: 1.4;
}

::-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
   ========================================================================== */

section { margin: 10px; }
h1 { margin: 0; }
p { margin: .25em 0 .25em 0; }

#form label { display: block; color: #333; }
#form label.radio-label { display: inline; color: #000; }

#plotText { border: 1px solid #cccccc; resize: none; width: 100%; height: 150px; }
#plotText:focus { border: 1px solid #4499ff; box-shadow: 0px 0px 6px #77ddff; }
table { font-size: 0.8em; }
.label-display { color: #333; }
.number-display { font-weight: bold; text-align: right; padding-left: 10px; }
#price { font-weight: bold; }

.debugTime { color: #0c0; }


/* ===
   Loader
   === */
#fountainG{
  position:relative;
  width:150px;
  height:18px}

.fountainG{
  position:absolute;
  top:0;
  background-color:#000000;
  width:19px;
  height:19px;
  -moz-animation-name:bounce_fountainG;
  -moz-animation-duration:1.5s;
  -moz-animation-iteration-count:infinite;
  -moz-animation-direction:linear;
  -moz-transform:scale(.3);
  -moz-border-radius:12px;
  -webkit-animation-name:bounce_fountainG;
  -webkit-animation-duration:1.5s;
  -webkit-animation-iteration-count:infinite;
  -webkit-animation-direction:linear;
  -webkit-transform:scale(.3);
  -webkit-border-radius:12px;
  -ms-animation-name:bounce_fountainG;
  -ms-animation-duration:1.5s;
  -ms-animation-iteration-count:infinite;
  -ms-animation-direction:linear;
  -ms-transform:scale(.3);
  -ms-border-radius:12px;
  -o-animation-name:bounce_fountainG;
  -o-animation-duration:1.5s;
  -o-animation-iteration-count:infinite;
  -o-animation-direction:linear;
  -o-transform:scale(.3);
  -o-border-radius:12px;
  animation-name:bounce_fountainG;
  animation-duration:1.5s;
  animation-iteration-count:infinite;
  animation-direction:linear;
  transform:scale(.3);
  border-radius:12px;
}

#fountainG_1{
  left:0;
  -moz-animation-delay:0.6s;
  -webkit-animation-delay:0.6s;
  -ms-animation-delay:0.6s;
  -o-animation-delay:0.6s;
  animation-delay:0.6s;
}

#fountainG_2{
  left:19px;
  -moz-animation-delay:0.75s;
  -webkit-animation-delay:0.75s;
  -ms-animation-delay:0.75s;
  -o-animation-delay:0.75s;
  animation-delay:0.75s;
}

#fountainG_3{
  left:38px;
  -moz-animation-delay:0.9s;
  -webkit-animation-delay:0.9s;
  -ms-animation-delay:0.9s;
  -o-animation-delay:0.9s;
  animation-delay:0.9s;
}

#fountainG_4{
  left:56px;
  -moz-animation-delay:1.05s;
  -webkit-animation-delay:1.05s;
  -ms-animation-delay:1.05s;
  -o-animation-delay:1.05s;
  animation-delay:1.05s;
}

#fountainG_5{
  left:75px;
  -moz-animation-delay:1.2s;
  -webkit-animation-delay:1.2s;
  -ms-animation-delay:1.2s;
  -o-animation-delay:1.2s;
  animation-delay:1.2s;
}

#fountainG_6{
  left:94px;
  -moz-animation-delay:1.35s;
  -webkit-animation-delay:1.35s;
  -ms-animation-delay:1.35s;
  -o-animation-delay:1.35s;
  animation-delay:1.35s;
}

#fountainG_7{
  left:113px;
  -moz-animation-delay:1.5s;
  -webkit-animation-delay:1.5s;
  -ms-animation-delay:1.5s;
  -o-animation-delay:1.5s;
  animation-delay:1.5s;
}

#fountainG_8{
  left:131px;
  -moz-animation-delay:1.65s;
  -webkit-animation-delay:1.65s;
  -ms-animation-delay:1.65s;
  -o-animation-delay:1.65s;
  animation-delay:1.65s;
}

@-moz-keyframes bounce_fountainG{
  0%{
    -moz-transform:scale(1);
    background-color:#000000;
  }

  100%{
    -moz-transform:scale(.3);
    background-color:#C2C2C2;
  }

}

@-webkit-keyframes bounce_fountainG{
  0%{
    -webkit-transform:scale(1);
    background-color:#000000;
  }

  100%{
    -webkit-transform:scale(.3);
    background-color:#C2C2C2;
  }

}

@-ms-keyframes bounce_fountainG{
  0%{
    -ms-transform:scale(1);
    background-color:#000000;
  }

  100%{
    -ms-transform:scale(.3);
    background-color:#C2C2C2;
  }

}

@-o-keyframes bounce_fountainG{
  0%{
    -o-transform:scale(1);
    background-color:#000000;
  }

  100%{
    -o-transform:scale(.3);
    background-color:#C2C2C2;
  }

}

@keyframes bounce_fountainG{
  0%{
    transform:scale(1);
    background-color:#000000;
  }

  100%{
    transform:scale(.3);
    background-color:#C2C2C2;
  }

}




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

@media only screen and (min-width: 35em) {

}

@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;
  }
}