body{
  background-image: url(img/bg.png);
}

#x,#check,.x,.check{
  display: none;
}

#nav-bar{
  top: 120px;
  text-align: center;
  background-color: white;
  border-bottom: 1px solid black;
  border-top: 1px solid black;
  display: none;
  padding-top: 10px;
  padding-bottom: 10px;
  font-family: 'HaasDisplayBold', 'Helvetica', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
}
.stuck #nav-bar{
  display: block;
}

.container.bannerad{
  height: 90px;
  display: block !important;
}
#score-marks div{
  font-size: 20px;
  padding-right: 20px;
  width: 30px;
  display: inline-block;
}
#nav-bar span{
  padding-right: 15px;
}

#questions{
  width: 830px;
  margin: 0px auto;
  font-family: 'HaasDisplayBold', 'Helvetica', sans-serif;
}

.question{
  clear: both;
  margin-bottom: 100px;
}
.divider {
/*  border-top: 1px solid #ccc;
  padding-top: 10px;*/
}
.title{
  font-size: 18px;
  line-height: 24px;
  margin: 0px auto 25px auto;
  text-align: center;
}
.question svg{
  margin-bottom: 0x;
  position: relative;
  z-index: -1;
}

.question svg text{
  font-size: 27px;
  fill: white;
}

.question svg rect{
  fill: #00b9e7;
/*  fill-opacity: .7;*/
}

.question svg line{
  stroke: #00b9e7;
/*  fill-opacity: .7;*/
  stroke-width: 1;
  opacity: 1;
  /*stroke-dasharray: 10 1 5 1;*/
}

.num{
  width: 2em;
  height: 2em;
/*  border: 1px solid black;*/
  border-radius: 100px;
  display: inline-block;
  text-align: center;
  font-weight: bold;
  margin-right: 20px;
  margin-top: -15px;
}
.num .text{
  position: relative;
  top: 7px;
  text-align: center;
}

.title span{
  position: relative;
  top: 5px;
}

.card-container{
  height: 380px;
}

.card{
  width: 250px;
  height: 350px;
  background-color: white;
  box-shadow: 0 0 0 1px #ccc;
  text-align: center;
  margin-bottom: 25px;
  padding: 10px;
  float: left;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.outerCard{
  position: relative;
  margin-left: 10px;
  width: 260;
  float: left;
}
.outerCard:first-child{
  margin-left: -10px;
}
.card.is-correct{
  box-shadow: 0 0 0 3px #00b9e7;
}
.card.is-wrong{
  box-shadow: 0 0 0 1px #ccc;
}
.card.got-wrong{
  box-shadow: 0 0 0 3px #ff433d;
}


.cardFront,
.cardBack {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cardFront,
.cardBack {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-transition: -webkit-transform .6s;
          transition: transform .6s;
}

.cardFront {
}

.cardBack {
  -webkit-transform: rotateY(-180deg);
          transform: rotateY(-180deg);
}

.card.clicked .cardFront {
  -webkit-transform: rotateY(-180deg);
          transform: rotateY(-180deg);
}

.card.clicked .cardBack {
  -webkit-transform: rotateY(0);
          transform: rotateY(0);
}

.complete{
  cursor: pointer;
}

.cost{
  position: absolute;
  top: 170px;
  font-size: 50px;
  text-align: middle;
  width: 100%;
}

.response{
  position: relative;
}

.congrats, .more-info{
  opacity: 0;
  transition: opacity .5s;
}

.isAnswered .congrats, .isAnswered .more-info{
  opacity: 1;
}

.response .title{
  position: absolute;
  top: 20px;
  width: 100%;
  text-align: center;
}

.dek{
  text-align: left;
  max-width: 815px;
}

.face{
  position: absolute;
  width: 90px;
  top: -69px;
  left: 90px;
  transition: top .5s;
}
.active .face{
  top: -100px;
}
.face .quoteSrc{
  font-size: 18px;
  width: 135px;
  text-align: center;
  margin-left: -20px;
  /*background-color: #fff;*/
  color: #00b9e7;
  opacity: 0;
  transition: opacity .5s;
/*  position: relative;
  top: 50px;
  right:;
*/  /*color: #00b9e7;*/
  /*text-shadow: 0 2px 0 #fff, 2px 0 0 #fff, 0 -2px 0 #fff, -2px 0 0 #fff;*/
}
.active .face .quoteSrc{
  opacity: 1;
}
.faceBacking{
  background-color: #eee;
  border-radius: 100px;
  transition: background-color .5s;
  transition: border .5s;
}
.active .faceBacking{
  background-color: #00b9e7;
}


.card .bg-card{
  height: 230px;
  width: 230px;
  margin: 10px;
}
.card .cardBack .bg-card{
  height: auto;
  width: auto;
  padding-top: 10px;
  padding-bottom: 65px;
}
.card .department{
  color: #ccc;
  font-size: 11px;
  letter-spacing: .15em;
  margin-bottom: 15px;
}
.card .name{
  font-size: 16px;
  line-height: 18px;
  font-family: 'TiemposHeadlineWeb-Bold';
  margin: 20px  10px 10px;
}

.question .congrats{
  font-size: 32px;
  color: #ff433d;
  text-align: center;
}
.question .congrats.isCorrect{
  color: #00b9e7;
}
.more-info{
  font-size: 21px;
}

.complete{
  font-size: 50px;
  text-align: center;
}

#bot{
  width: 100%;
  top: 141px;
  display: none;
  background-color: white;
  z-index: 10;
  text-align: center;
  /*border-top: 1px solid black;*/
  border-bottom: 1px solid black;
  padding-top: 10px;
  padding-bottom: 36px;
  font-family: 'HaasDisplayBold', 'Helvetica', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  height: 36px;
}

.stuck #bot{
  /*display: block;*/
}


.sector{
  border-right: 1px solid black;
  height: 20px;
  float: left;
  height: 46px;
  position: relative;
  top: -10px;
}
.sector:last-child{
  border-right: 0px solid black;
}


.tooltip{
  z-index: 9100;
}

.qContainer, .mobile{
  display: none;
}


.name{
  height: 4em;
  padding: 5px;
}


.question-text-outer{
  float: left;
  text-align: left;
  margin-left: 10px;
}
span.question-text{
  color: black;
  padding: 4px;
  font-size: 27px;
  display: inline;
  line-height: 34px;
}


@media (max-width: 885px) {
  .mhide{
    display: none;
  }

  . {
    height:340px;
  }

  #inner-content{
    margin: 0px;
  }

  #questions{
    width: 90%;
  }

  .question svg, .bg-card, .face, #bot{
    display: none;
  }

  svg.x,svg.check{
    position: absolute;
    top:20px;
    right:10px;
    -webkit-transform: scale(.8);
    -o-transform: scale(.8);
    transform: scale(.8);
    display: none;
  }

  svg.show{
    display: block;
  }

  .qInner{
    background-color: #00b9e7;
    color: white;
    line-height: 40px;
    display: inline;
    padding: 5px 0px 5px 10px;
    font-size: 24px;

  }
  .qContainer, .mobile{
    display: block;
    font-family: 'HaasDisplayBold', 'Helvetica', sans-serif;
  }

  .quoteSrc{
    display: block;
    color: #00b9e7;
    padding: 10px 5px;
    margin-bottom: 20px;
    margin-left: 20px;
    font-size: 18px;
/*    -webkit-font-smoothing:antialiased;*/
  }


  .circle{
    border: 1px solid #ccc;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 60px;
    height: 60px;
    width: 60px;
    position: absolute;
    right: 40px;
    top: 20px;
  }

  .title{
    display: none;
  }

  .title.mobile{
    display: block;
    text-align: left;
    margin-left: 10px
  }

  .outerCard{
    width: calc(100% - 0px);
    padding: 10px 0px;
    margin: 0px !important;
    text-align: left;
    height: 100px;
  }
  .card{
    width: calc(100% - 0px);
    padding: 10px;
    margin: 0px !important;
    text-align: left;
    height: 100px;
  }
  .card.is-correct{
    border: 1px solid #000;
    background: #00b9e7;
  }
  .card.is-wrong{
    border: 1px solid #ccc;
  }
  .card.got-wrong{
    border: 1px solid #ff433d;
    background: #ff433d;
  }

  .incorrect .card.is-correct{
    background: #fff;
    color: #00b9e7;
  }

  .is-correct .circle,.is-wrong .circle,.got-wrong .circle{
    display: none;
  }

  .name{
    width: 60%;
    margin: 20px 0 20px 20px;
    float: left;
    padding: 0px;
    height: auto;
  }

  .cost{
    position: initial;
    font-size: 30px;
    width: 10%;
    float: right;
    margin-top: 20px;
    margin-right: 115px;
  }
  .num{
    display: none;
  }
  .text{
    padding-left: 10px;
  }

  #questions{
    width: 90%;
  }

  .card{
    box-shadow: 0 0 0 0px #fff !important;
  }

}



@media (max-width: 575px) {
  .card .name{
    font-size: 18px
  }

  .cost{
    font-size: 22px;
    margin-right:100px;
  }

  svg.x,svg.check{
    top:15px;
    -webkit-transform: scale(.6);
    -o-transform: scale(.6);
    transform: scale(.6);
  }

  #questions{
    width: 100%;
  }
}

@media (max-width: 425px) {
  .card .name{
    font-size: 16px;
    width: 55%;
  }

  .cost{
    font-size: 18px;
    margin-right:80px;
  }

  svg.x,svg.check{
    top:10px;
    right:5px;
    -webkit-transform: scale(.5);
    -o-transform: scale(.5);
    transform: scale(.5);
  }

}