svg:not(:root) {
  overflow: visible !important;
}

* {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
     -moz-user-select: moz-none;
      -ms-user-select: none;
       -o-user-select: none;
          user-select: none;
}

body, html {
    background: #fff;
    color: #333;
    font: 300 18px/140% "MyriadPro-Regular", "Myriad Pro Regular", MyriadPro, "Myriad Pro", Calibri, sans-serif;
    margin: 0;
    height: 100%;
    overflow: hidden !important;
    touch-action: none;
}

a:link {
  color: #06c;
}

a:visited {
  color: #06c;
}

a:hover {
  color: #f0f;
}

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

.clearfix:after{
  clear:both;
}

.flex {
  display: flex;
}

.flex-right {
  margin-left: auto;
}

.language {
  display: none;
  line-height: 36px;
}

#container {
  transition: transform 1.5s ease;
  margin: 0 auto;
  position: relative;
  height: 100%;
  display: none;
}

.blurred #container {
  transform: scale(0.9);
}

svg text {
  font: 300 14px/140% "MyriadPro-Regular", "Myriad Pro Regular", MyriadPro, "Myriad Pro", Calibri, sans-serif;
}

strong {
  font-family: "MyriadPro-Bold", "Myriad Pro Bold", MyriadPro, "Myriad Pro", Calibri, sans-serif;
  font-weight: bold;
}

#wheel, #shadow {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate3d(0,0,0);
}

.welcome #wheel, .welcome #shadow, .welcome #start {
  right: 0;
  left: auto;
}


aside {
  position: absolute;
  width: 300px;
  left: 0;
  top: 50%;
  margin-top: -200px;
}

aside h4 {
  color: #999;
  text-transform: uppercase;
  font-size: 13px;
  margin: 0 0 10px 0;
}

aside .button {
  border: solid #ddd 1px;
  border-radius: 5px;
  padding: 15px 15px 15px 80px;
  margin-bottom: 20px;
  cursor: pointer;
  position: relative;
}

aside .button .icon {
  position: absolute;
  left: 10px;
  height: 50px;
  width: 50px;
  top: 15px;
  transition: all 100ms ease;
}

.icon .center {
  width: 10px;
  height: 10px;
  border-radius: 10px;
  top: 50%;
  left: 50%;
  margin-top: -10px;
  margin-left: -10px;
  border: solid #ccc 5px;
  position: absolute;
}




.icon .tick {
  width: 4px;
  height: 13px;
  border-radius: 10px;
  top: 50%;
  left: 50%;
  margin-top: 0;
  background: #ccc;
  position: absolute;
  transform-origin: 0 0;
}

.icon .tick { transform: rotate(0deg)  translate(-2px,11px);}
.icon .tick:nth-of-type(2) { 
  transform: rotate(45deg)  translate(-1px,11px); \
}

.icon .tick:nth-of-type(3) {
  transform: rotate(90deg)  translate(-1px,11px);
}
.icon .tick:nth-of-type(4) {
  transform: rotate(135deg) translate(-1px,11px);
}

.icon .tick:nth-of-type(5) {
  transform: rotate(180deg) translate(-1px,11px);
}

.icon .tick:nth-of-type(6) {
  transform: rotate(225deg) translate(-3px,11px);
}

.icon .tick:nth-of-type(7) {
  transform: rotate(270deg) translate(-3px,11px);
}

.icon .tick:nth-of-type(8) {
  transform: rotate(315deg) translate(-3px,11px);
}


aside .button.course .icon .color {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 40px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  background-color: #ccc;
}

aside .button.course .icon .color.magenta {background-color: rgba(255,0,255,0.5); margin-top: -20px;}
aside .button.course .icon .color.cyan {background-color: rgba(0,255,255,0.5);margin-left: -15px;}
aside .button.course .icon .color.yellow {background-color: rgba(255,255,0,0.5);margin-left: 0px;}

aside .button.cb .icon .eyelid, aside .button.cb .icon .eyeball {
  width: 40px;
  position: absolute;
  margin-left: 5px;
  border-radius: 100px;
  background: #bbb;
  height: 40px;
  transform: scale(1, 0.7);
}

aside .button.cb .icon .eyeball {
  top: 7px;
  background-color:#FFF;
  transform: scale(1.1, 0.7);
}


aside .button.cb .icon .iris {
  top: 0;
  background-color:#bbb;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  position: absolute;
  margin: 10px 0 0 15px;
}
aside .button:hover {
  border: solid #aaa 1px;
}

aside .button h5 {
  font-size: 18px;
  font-weight: normal;
  margin: 0;
}

aside p {
  margin: 0;
  color: #999;
  font-size: 15px;
  line-height: 140%;
}

aside .credits p {
  font-size: 14px;
  color: #999;
  line-height: 150%;
}

aside .credits p a {
  color: #888;
  white-space: nowrap;
}

.welcome #stage {
  display: none;
}

#shadow {
  z-index: 0;
}

#shadow div {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1000px;
  background-color: #BBB;
}

#start {
  position: absolute;
  top: 50%;
  text-align: center;
  left: 50%;
  z-index: 2;
  background: #fff;
  border-radius: 1000px;
  cursor: pointer;
}

#start h1 {
  letter-spacing: -2px;
  margin: 0;
  width: 100%;
  z-index: 2;
}

#start h1.hidden {
  display: none;
}


#start h1 span.c  {
  letter-spacing: 0;
}


#start h4.countdown {
  display: none;
}

#start.starting h4.countdown {
  display: block;
}

#start.starting h4.instructions {
  display: none;
}

#start h4 {
  margin: 0;
  font-weight: 300;
}

footer, header {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

header {
  bottom: auto;
  top: 0;
  background-color: #eee;
  text-transform: lowercase;
  padding: 0 20px 0 20px;
  border-bottom: solid #ccc 1px;
}

header h1,
header h4 {
  font-size: 16px;
  margin: 0;
  line-height: 36px;
  font-weight: bold;
}

header h4 {
  font-weight: normal;
  margin-left: 0.5em;
}


footer {
  background-color: #eee;
  z-index: 10;
}

footer > div {
  background-color: #eee;
  border-top: solid #aaa 5px;
  float: left;
  text-indent: 15px;
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  transition: transform 300ms ease;
  font-weight:bold;
  position: relative;
  height: 25px;
  cursor: pointer;
  width: 16.6667%;
}

.textscore {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  text-align: center;
  margin-top: -1em;
  z-index: 20;
}

.textscore .fade-out {
   transition: opacity 300ms ease;
}
footer > div:hover {
  color: #333;
  border-top: solid #333 5px;
}

footer div.disabled {
  cursor: default;
}

footer div.disabled:hover {
  color: #888;
  border-top: solid #aaa 5px;
}

footer .grade {
  width: 10px;
  height: 10px;
  float: left;
  margin-right: 1px;
  position: relative;
}

footer .grades {
  margin-left: 15px;
}

footer div.current {
  border-top: solid #333 5px;
  color: #333;
  transform:  translateY(-30px);
}

#stage {
  position: absolute;
  left: 50%;
  right: 0;
  top: 50%;
  display: none;
  z-index: 1;
  height: 100%;
}

#wheel svg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.score {
  text-align: center;
  font-size: 142px;
  line-height: 152px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: -10px;
}

.colorblind {
  position: absolute;
  top: 40px;
  z-index: 10;
  left: 0; 
  top: 50%;
  margin-top: -150px;
  pointer-events: none;
  height: 300px;
  width: 100px;
  display: none;
}

.colorblind .title {
  position: absolute;
  top: 0;
  right: 0;
}

#popup {
  background: rgba(230,230,230,0.4);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: none;
  opacity: 0;
}

#popup .container {
  background: #fff;
  border-radius: 5px;
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 20%;
  right: 20%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  padding: 40px;
}

.blurred #popup {
  display: block;
  opacity: 1;
}  

.section {
  display: none;
}

.section .content {
  position: absolute;
  top: 100px;
  bottom: 40px;
  left: 0;
  right: 0;
  overflow-y: scroll;
  overflow-x: hidden;F
}

.section h1 {
  line-height: 130%;
  margin: 0 0 20px 0;
  font-weight: normal;
  font-size: 30px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.section p {
  max-width: 700px;
  margin: 20px 40px;
}

.section.brightness .color {
  width: 33.33%;
  float: left;
  margin: 0;
  height: 150px;
  position: relative;
  outline: solid #fff 1px;
}

.section.brightness .color div {
  position: absolute;
  top: 25px;
  left: 25px;
  right: 25px;
  bottom: 25px;
}

.section.brightness .color.black {
  background-color: #000;
}
.section.brightness .color.black div {
  background-color: #161616;
}

.section.brightness .color.orange {
  background-color: #f90;
}
.section.brightness .color.orange div {
  background-color: #ffa000;
}

.section.brightness .color.white {
  background-color: #fafafa;
}
.section.brightness .color.white div {
  background-color: #f5f5f5;
}

.section.brightness .color.green {
  background-color: #090;
}
.section.brightness .color.green div {
  background-color: #009E00;
}

.section.brightness .color.blue {
  background-color: #06f;
}
.section.brightness .color.blue div {
  background-color: #0560fe;
}

.section.brightness .color.magenta {
  background-color: #f0f;
}
.section.brightness .color.magenta div {
  background-color: #f100fe;
}

.close {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 30px;
  cursor: pointer;
}

.close .icon {
  position: absolute;
  right: 20px;
  top: 10px;
  width: 4px;
  height: 20px;
  background: #ccc;
  transform: rotate(45deg);
}

.close:hover .icon, .close:hover .icon:after  {
  background: rgba(255,0,255, 1);
}


.close .icon:after {
  content: '';
  position: absolute;
  width: 4px;
  height: 20px;
  background: #ccc;
  transform: rotate(-90deg);
}

#demo {
  background-color: #f9f9f9;
  padding: 20px 0;
  box-shadow: inset 0 5px 20px rgba(0,0,0,0.1);
  overflow: hidden;
}

#cbwheel {
  margin: 0 auto;
  width: 300px;
  height: 300px;
  overflow: hidden;
}

.cbmatch {
  position: absolute;
  width: 200px;
  height: 300px;
  top: 0;
  left: 50%;
  margin: 0 0 0 -100px;
}

.cbbutton {
  cursor: pointer;
  display: inline-block;
  background: #eee;
  border: solid #ddd 1px;
  cursor: pointer;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 15px;
}

.cbbutton:hover {
  color: #fff;
  background-color: #f0f;
  border: solid #b0b 1px;
}

.cbfooter {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  padding-top: 10px;
  background: white;
  box-shadow: 0 -3px 3px #eee;
  z-index: 2;
}

.closed {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  height: 0;
  background: #eee;
  z-index: 30;
  overflow: hidden;
  display: block;
}

/*moa iframe*/
.closed .side {display: block;}
.moa .closed .side {display: none;}
.closed .side.method_fail {display: none;}

.touch_none {
  display: block;
  font-size: 13px;
  line-height: 130%;
}

.no-touch .touch_none {
  display: none;
}

.closed .wrapper {
  position: absolute;
  width: 900px;
  height: 300px;
  top: 50%;
  left: 50%;
  margin: -150px 0 0 -450px;
}

.closed h1 {
  font-size: 400px;
  line-height: 300px;
  margin: 0;
  letter-spacing: -20px;
  text-shadow: 0 2px 2px #fff, inset 0 2px 5px #000;
}

.closed .side {
    width: 360px;
    position: absolute;
    top: 0;
    right: 0;
}

.closed .actions {
  color: #666;
  text-align: center;
}

.closed .tweet, .closed .button {
  display: inline-block;
  border: solid #ccc 1px;
  box-shadow: 0 1px 1px #fff;
  border-radius: 5px;
  padding: 15px 15px 15px;
  margin-left: 10px;
  cursor: pointer;
  color: #333;
  text-decoration: none;
}

.closed .actions a {
  padding-right: 10px;
}

.closed .tweet:hover {
  border: solid #aaa 1px;
}
.closed .plug {
  border-top: solid #e0e0e0 1px;
  padding-top: 10px;
  font-size: 15px;
  margin-top: 20px;
}

.closed p a {
  text-decoration: none;
}

.pev {
  pointer-events: auto;
}

.npev {
  pointer-events: none;
}


.twitter-share-button {
  font-size: 13px;
}

.credits .follow .fb_edge_widget_with_comment span.fb_edge_comment_widget iframe.fb_ltr {
  position: absolute;
  left: -200px; }


#timer {
  pointer-events: none;
}

#content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#touch-instructions {
  position: absolute;
  z-index: 2;
  text-align: center;
  pointer-events: none;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  line-height: 145%;
  display: none;
}

  @media screen and (max-width: 600px) {
    aside {
      display: none;
    }
    #container {
      width: 70% !important;
    }
    .social {
      position: absolute;
      top: 0;
      right: 5px;
    }
    header h1 span {
      display :none;
    }
    #touch-instructions {
      font-size: 3vw;
    }
  }