#widget {
  position: relative;
  height: 100%;
  min-height: 25em;
  padding-left: 0.1em;
}
  #widget * {
    box-sizing: border-box;}
  #widget .hidden {
    overflow: hidden;
    max-height: 0;
    transition: all .4s;
    margin: 0; }
  #widget .visible {
    max-height: 1000px; }
  #widget .button-restart {
    position: absolute;
    top: 53px;
    left: 10%;
    transform: translate(-50%); }
    #widget .button-restart:hover {
      transform: scale(1.04) translateX(-50%) !important;
        transform: none;}
  #widget .question {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all .5s;
    opacity: 0;
    transform: scale(1.4);
    transform: none;
    z-index: 10000;
    margin: 7.36px 0 !important;
    padding: 12.48px 20px 22.4px 22.4px;
}
    #widget .question.question--visible {
      transform: scale(1);
      opacity: 1;
      background: rgba(255, 255, 255, 0.8); }
    #widget .question .question__wrapper {
      position: relative;
      width: 100%;
      max-width: 980px;
      margin-top: 2em;
      border: 0; }
      #widget .question .question__wrapper .curtain {
        fill: white !important; }
      #widget .question .question__wrapper .question__chart {
        text-align: center;
        height: 0;
        overflow: hidden; }
      #widget .question .question__wrapper .question__buttons {
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin: 0 auto;
        background: #efefef;
        padding: 30px; }
        #widget .question .question__wrapper .question__buttons:before {
          content: "";
          transform: scale(1.5);
          transform: none;
          transition: all .3s .4s;
          opacity: 0;
          visibility: hidden;
          position: absolute; }
        #widget .question .question__wrapper .question__buttons .question__close {
          margin-left: 40px; }
      #widget .question .question__wrapper .question__text {
        position: relative;
        transition: background 1.2s;
        background: #efefef;
        color: #4d3c2f;
        margin: 0;
        font: 300 1.875em/1.42857 Frutiger,Arial,Helvetica,sans-serif;
        color: #646464;
        padding: 1em 0.5em 0.5em 0.5em;
        text-align: left;}
        #widget .question .question__wrapper .question__text img {
        position: absolute;
        top: -5px;
        transition: all .4s;
        transform: translate(-50%, -50%);
        left: 50%;
        border-radius: 50%;
        border: 3px solid white;
        width: 5%;}
        #widget .question .question__wrapper svg {
        max-height: 0;
        transition: max-height 1.2s; }
    #widget .question.question--answered.question--incorrect .question__text:before {
      content: "";
      background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMzIgMzIiIHZlcnNpb249IjEuMSI+PGcgaWQ9InN1cmZhY2UxIj48cGF0aCBzdHlsZT0iICIgZD0iTSA4LjcxODc1IDcuMjgxMjUgTCA3LjI4MTI1IDguNzE4NzUgTCAxNC41NjI1IDE2IEwgNy4yODEyNSAyMy4yODEyNSBMIDguNzE4NzUgMjQuNzE4NzUgTCAxNiAxNy40Mzc1IEwgMjMuMjgxMjUgMjQuNzE4NzUgTCAyNC43MTg3NSAyMy4yODEyNSBMIDE3LjQzNzUgMTYgTCAyNC43MTg3NSA4LjcxODc1IEwgMjMuMjgxMjUgNy4yODEyNSBMIDE2IDE0LjU2MjUgWiAiPjwvcGF0aD48L2c+PC9zdmc+);
      width: 1em;
      height: 1em;
      display: inline-block;
      top: 4px;
      position: relative;
      margin-right: 10px; }
    #widget .question.question--answered.question--correct .question__text:before {
      content: "";
      background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMzIgMzIiIHZlcnNpb249IjEuMSI+PGcgaWQ9InN1cmZhY2UxIj48cGF0aCBzdHlsZT0iICIgZD0iTSAyOC4yODEyNSA2LjI4MTI1IEwgMTEgMjMuNTYyNSBMIDMuNzE4NzUgMTYuMjgxMjUgTCAyLjI4MTI1IDE3LjcxODc1IEwgMTAuMjgxMjUgMjUuNzE4NzUgTCAxMSAyNi40MDYyNSBMIDExLjcxODc1IDI1LjcxODc1IEwgMjkuNzE4NzUgNy43MTg3NSBaICI+PC9wYXRoPjwvZz48L3N2Zz4=);
      width: 1em;
      height: 1em;
      display: inline-block;
      top: 3px;
      position: relative;
      margin-right: 10px; }
    #widget .question.question--answered .question__wrapper {
      border: 0px solid #bebebe; }
      #widget .question.question--answered .question__wrapper svg {
        max-height: 1000px;
        font: 300 1em/1.375 Frutiger,Arial,Helvetica,sans-serif;
        padding: 1em;}
      #widget .question.question--answered .question__wrapper .question__text {
        text-align: center;
        font-weight: bold;
        background: #efefef;
        font: 300 1.875em/1.375 Frutiger,Arial,Helvetica,sans-serif;
        padding: 0.5em;
        margin-top: .625em;
        margin-bottom: 1em;}
      #widget .question.question--answered .question__wrapper .question__chart {
        height: auto;
        background: white; }
      #widget .question.question--answered .question__wrapper .question__buttons {
        text-align: center; margin-top: 1em; }
        #widget .question.question--answered .question__wrapper .question__buttons button {
        margin: 0;
        width: 50%;
        max-width: 150px;
        font: 300 1.1em/1.08333 Frutiger,Arial,Helvetica,sans-serif;}
.question__chart text, #widget svg g g g text {font-size: 13px;}
  #widget .alert {
    position: absolute;
    transform: scale(1.4);
    transform: none;
    opacity: 0;
    top: 0;
    visibility: hidden;
    transition: all .4s;
    width: 100%;
    min-height: 100%; }
    #widget .alert.alert--visible {
      background: rgba(255, 255, 255, 0.8);
      /*transform: scale(1);*/
      transform: none;
      opacity: 1;
      visibility: visible;
      z-index: 10000; }
    #widget .alert .alert__wrapper {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 100%;
      max-width: 980px;
      transform: translate(-50%, -50%);
      transition: background 1.2s;
      background: #efefef;
      color: #1c1c1c;
      padding: 20px;
      margin: 1em 0 0 0;
      text-align: center;
      border: 0;
      border-radius: 0; }
      #widget .alert .alert__wrapper .alert__title {
        font: 300 1.875em/1.1 Frutiger,Arial,Helvetica,sans-serif;
        padding-top: .061em;
        padding-bottom: .039em;
        margin-top: 0.5em;
        text-align: left;}
      #widget .alert .alert__wrapper .alert__text {
        margin-bottom: 30px;
        font: 300 1em/1.375 Frutiger,Arial,Helvetica,sans-serif;
        padding-top: .145em;
        padding-bottom: .1175em;
        margin-top: .625em;
        text-align: left;}
      #widget .alert .alert__wrapper button {
        background: #9c9c9c;
        color: white;
        border: none;
        border-radius: 2px;
        padding: 10px 20px;
        font-size: 14px;
        cursor: pointer;
        position: relative;
        outline: none;
        font: 300 1.1em/1.08333 Frutiger,Arial,Helvetica,sans-serif; }
        #widget .alert .alert__wrapper button:hover {
          background: #919191; }
        #widget .alert .alert__wrapper button:active {
          background: #919191; }
      #widget .alert .alert__wrapper img {
        position: absolute;
        top: -5px;
        /*transition: all .4s;
        transform: translate(-50%, -50%);*/
        left: 50%; 
        border-radius: 50%;
        border: 3px solid white;
        width: 5%;}
  #widget .answers .answer {
    position: absolute;
    width: 25px;
    height: 25px;
    transform: translateX(18px) translateY(18px);
    opacity: 1;
    border-radius: 18px;
    cursor: pointer;
    background: white;
    transition: .3s all;
    z-index: 10000;
    border: 2px solid #4d3c2f;
    color: #4d3c2f; }
    #widget .answers .answer:hover {
      background: #4d3c2f;
      color: white; }
    #widget .answers .answer.answer--shown {
      opacity: 1;
      transform: translateX(5px) translateY(5px) scale(1); }
    #widget .answers .answer.answer--correct:before {
      background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMzIgMzIiIHZlcnNpb249IjEuMSI+PGcgaWQ9InN1cmZhY2UxIiBmaWxsPSJ3aGl0ZSI+PHBhdGggc3R5bGU9IiAiIGQ9Ik0gMjguMjgxMjUgNi4yODEyNSBMIDExIDIzLjU2MjUgTCAzLjcxODc1IDE2LjI4MTI1IEwgMi4yODEyNSAxNy43MTg3NSBMIDEwLjI4MTI1IDI1LjcxODc1IEwgMTEgMjYuNDA2MjUgTCAxMS43MTg3NSAyNS43MTg3NSBMIDI5LjcxODc1IDcuNzE4NzUgWiAiPjwvcGF0aD48L2c+PC9zdmc+);
      background-repeat: no-repeat;
      background-size: 15px;
      background-position: 7px; }
    #widget .answers .answer.answer--incorrect:before {
      background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMzIgMzIiIHZlcnNpb249IjEuMSI+PGcgaWQ9InN1cmZhY2UxIiBmaWxsPSJ3aGl0ZSI+PHBhdGggc3R5bGU9IiAiIGQ9Ik0gOC43MTg3NSA3LjI4MTI1IEwgNy4yODEyNSA4LjcxODc1IEwgMTQuNTYyNSAxNiBMIDcuMjgxMjUgMjMuMjgxMjUgTCA4LjcxODc1IDI0LjcxODc1IEwgMTYgMTcuNDM3NSBMIDIzLjI4MTI1IDI0LjcxODc1IEwgMjQuNzE4NzUgMjMuMjgxMjUgTCAxNy40Mzc1IDE2IEwgMjQuNzE4NzUgOC43MTg3NSBMIDIzLjI4MTI1IDcuMjgxMjUgTCAxNiAxNC41NjI1IFogIj48L3BhdGg+PC9nPjwvc3ZnPg==);
      background-repeat: no-repeat;
      background-size: 15px;
      background-position: 7px; }
    #widget .answers .answer:before {
      content: attr(data-title);
      position: absolute;
      left: 0;
      top: -15px;
      border-radius: 5px 5px 5px 0;
      background: #4d3c2f;
      text-align: center;
      padding: 5px 30px;
      border: 2px solid #4d3c2f;
      color: white;
      opacity: 0;
      transition: .3s all;
      pointer-events: none;
      white-space: nowrap;
      font: 300 1.1em/1.08333 Frutiger,Arial,Helvetica,sans-serif;}
    #widget .answers .answer:after {
      content: attr(data-index);
      opacity: 1;
      font-size: 14px;
      font-weight: bold;
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 0;
      text-align: center;
      line-height: 23px; }
    #widget .answers .answer:hover:before {
      opacity: 1;
      top: -30px; }
  #widget .events {
    position: absolute;
    top: 50px;
    left: 50px;
    right: 50px;
    bottom: 50px;
    pointer-events: none; }
    #widget .events .event {
      visibility: hidden;
      position: absolute;
      opacity: 0;
      width: 200px;
      text-align: left;
      border-radius: 2px;
      border: 1px solid #efefef;
      padding: 10px;
      color: #1c1c1c;
      background: white;
      line-height: 1.2em; }
      #widget .events .event:hover {
        z-index: 1000; }
      #widget .events .event:before {
        content: attr(data-date);
        font-size: 12px;
        display: block;
        font-weight: bold;
        color: #1c1c1c;
        top: -3px;
        position: relative; }
      #widget .events .event.event--shown {
        animation: showAndFade 7s;
        visibility: visible; }
      #widget .events .event.event--paused {
        animation-play-state: paused; }
  #widget .legends {
    fill: #ef0000;
    font: 300 1.1em/1.08333 Frutiger,Arial,Helvetica,sans-serif;}
  #widget .conclusion {
    background: #897F72;
    color: white;
    padding: 20px;
    position: relative;
    box-sizing: border-box;
    margin-top: 15px; }
    #widget .conclusion img {
      position: absolute;
      top: -5px;
      transform: translate(-50%, -50%);
      left: 50%; }
  #widget .grid .tick line {
    stroke: rgb(239, 239, 239);}
  #widget .grid path.domain {
    stroke: none; }
  #widget .grid text {
    fill: #000; }
  #widget .axis_x line, #widget .axis_x path {
    stroke-width: 1.5px;
    stroke: #dedede; }
  #widget .axis_x text {
    fill: #000;
    transform: translateY(6px); }
  #widget [class^='line'] {
    fill: none;
    stroke-width: 1.5px; }
  #widget path[class$='cta'] {
    stroke: #BC7962; }
  #widget path[class$='spx'] {
    stroke: #DFC57F; }
  #widget circle[class$='cta'], #widget g[class$='cta'] {
    fill: #BC7962; }
  #widget circle[class$='spx'], #widget g[class$='spx'] {
    fill: #DFC57F; }
  #widget > svg [class$='cta'] {
    transition: opacity .4s;
    opacity: 0; }
  #widget > svg.finished [class$='cta'] {
    opacity: 1; }
  #widget .chart > svg {
    transition: all .4s; }
  #widget .blurred {
    filter: blur(10px);
    transform: scale(0.9); }
  #widget button:not(:disabled) {
    transition: all .3s;
    will-change: transform; }
    /*#widget button:not(:disabled):hover {
      transform: scale(1.04); }*/
    #widget button:not(:disabled):active {
      transform: scale(0.98); }
  #widget .source {
    display: block;
    text-align: right;
    color: #999;
    margin: 1em 1em 0 0;
    position: relative;
    font: 300 0.7em/1.08333 Frutiger,Arial,Helvetica,sans-serif;}
  #widget button {
    background: #9c9c9c;
    color: white;
    border: none;
    border-radius: 2px;
    padding: 10px 15px;
    font: 300 1.1em/1.08333 Frutiger,Arial,Helvetica,sans-serif;
    cursor: pointer;
    position: relative;
    outline: none; }
    #widget button:disabled {
      cursor: not-allowed; }
    #widget button:hover {
      background: #919191; }
    #widget button:active {
      background: #6cb8bd; }
  #widget .mouse-over-effects text {
    font-size: 12px; }

@keyframes showAndFade {
  0% {
    opacity: 0;
    transform: scale(0.2);
    /*box-shadow: 0 0 0 rgba(0, 0, 0, 0.2);*/
    color: #fff; }
  3% {
    opacity: 1;
    transform: scale(1);
    /*box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);*/
    color: #888; }
  100% {
    opacity: 0;
    visibility: hidden; } }

g.tick {left: 10px;}

/* MOBILE */

@media only screen and (max-width: 768px) {

#widget .alert .alert__wrapper {top: 40%;}
#widget .alert .alert__wrapper img, #widget .question .question__wrapper .question__text img {width: 18%;}
#widget .question {padding: 0;}    
#widget .question .question__wrapper {margin-top: 3em;}
}