/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}
audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
[hidden],
template {
  display: none;
}
a {
  background: transparent;
}
a:active,
a:hover {
  outline: 0;
}
abbr[title] {
  border-bottom: 1px dotted;
}
b,
strong {
  font-weight: bold;
}
dfn {
  font-style: italic;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
mark {
  background: #ff0;
  color: #000;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
img {
  border: 0;
}
svg:not(:root) {
  overflow: hidden;
}
figure {
  margin: 1em 40px;
}
hr {
  box-sizing: content-box;
  height: 0;
}
pre {
  overflow: auto;
}
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}
button {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html input[type="button"] {
  -webkit-appearance: button;
  cursor: pointer;
}
button[disabled],
html input[disabled] {
  cursor: default;
}
button input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input {
  line-height: normal;
}
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
input[type="search"] {
  -webkit-appearance: textfield;
  box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
legend {
  border: 0;
  padding: 0;
}
textarea {
  overflow: auto;
}
optgroup {
  font-weight: bold;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td,
th {
  padding: 0;
}
body {
  font-size: 18px;
  font-family: Georgia, Times, 'Times New Roman', serif;
  color: #1a1a1a;
}
.surprise {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -ms-flex-line-pack: stretch;
  -webkit-align-content: stretch;
  align-content: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  background: #f2f2f2;
  position: relative;
}
.chart {
  padding: 0;
  background: #f2f2f2;
  -webkit-flex: 0 1 50%;
  -ms-flex: 0 1 50%;
  flex: 0 1 50%;
}
@media (min-width: 768px) {
  .chart {
    margin-right: 30px;
  }
}
.chart__heading {
  padding: 0 5px;
}
@media (min-width: 768px) {
  .chart__heading {
    padding: 0 15px;
  }
}
.chart__footer {
  padding: 0 5px;
}
@media (min-width: 768px) {
  .chart__footer {
    padding: 0 15px;
  }
}
.chart__panel {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 3px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  margin: 0 40px;
  min-height: 240px;
  padding: 0 22px;
}
.chart__legend {
  width: 100%;
}
.chart__circle {
  fill: #b3b3b3;
}
.chart__circle--secondary {
  fill: #ff7a7f;
}
.chart__circle--primary {
  fill: #29ae9a;
}
.chart__button {
  border-radius: 3px;
  border: 0;
  color: white;
  background: #ff474e;
  padding: 5px 10px;
  margin: 10px 0;
  float: right;
}
.description {
  font-size: 12px;
  line-height: 1.4;
}
@media (min-width: 768px) {
  .description {
    font-size: 18px;
  }
}
.description__title {
  font-size: 16px;
  line-height: 1.4;
  font-style: italic;
  font-weight: normal;
  padding-top: 5px;
}
@media (min-width: 768px) {
  .description__title {
    font-size: 26px;
  }
}
.surprise__result-panel {
  position: absolute;
  width: 300px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #333;
  padding: 10px;
  margin: auto;
  left: 0;
  right: 0;
  z-index: 5;
  top: 50px;
}
@media (min-width: 768px) {
  .surprise__result-panel {
    width: 400px;
    top: 150px;
  }
}
.surprise__credits {
  display: block;
  clear: both;
  padding: 10px 20px 0 0;
  color: #b3b3b3;
}
.surprise__credits-item {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  font-size: 10px;
}
.surprise__credits-link {
  color: #b3b3b3;
}
.legend {
  border-top: 4px solid #1a1a1a;
  display: inline-block;
  margin: 0;
  padding: 5px 0;
  list-style: none;
}
@media (min-width: 768px) {
  .legend {
    padding: 15px 0;
  }
}
.legend__item {
  margin: 0;
  padding: 0;
}
.legend__item:before {
  top: 5px;
  position: relative;
  content: '•';
  font-size: 2em;
  line-height: .8;
  color: #b3b3b3;
  margin-right: 5px;
}
.legend__item.--primary:before {
  color: #29ae9a;
}
.legend__item.--secondary:before {
  color: #ff7a7f;
}
.vertical-slider {
  -webkit-flex: 0 1 25px;
  -ms-flex: 0 1 25px;
  flex: 0 1 25px;
}
.vertical-slider .handle {
  position: absolute;
  text-align: center;
  background-color: #ff7a7f;
  color: white;
  cursor: ns-resize;
  display: inline-block;
  height: 30px;
  width: 15px;
  margin-top: -3px;
  box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.5);
}
.vertical-slider .handle:before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-right: 10px solid #ff7a7f;
  border-bottom: 15px solid transparent;
  left: -10px;
  top: 0px;
  /* Antialias borders */
  -moz-transform: scale(0.9999);
}
.vertical-slider .handle.active {
  background-color: #ff474e;
}
.vertical-slider .handle.active:before {
  border-right: 10px solid #ff474e;
}
.vertical-slider .bar {
  left: 5px;
  width: 3px;
  border-radius: 2px;
  position: relative;
}
.vertical-slider .bar-0 {
  background: #ff7a7f;
  border: 1px solid #ff474e;
}
.vertical-slider .bar-1 {
  background: #b3b3b3;
  border: 1px solid #9a9a9a;
}
.vertical-slider.disabled .handle {
  cursor: not-allowed;
  background-color: #9a9a9a;
}
.vertical-slider.disabled .handle:before {
  border-right-color: #9a9a9a;
}
