.instructions ol {
  margin-left: 3em;
}

.instructions ol li {
  font-weight: bold;
  padding-left: 1em;
  list-style: none;
  font-size: 0.9em;
  text-indent: -2.4em;
  line-height: 1.4em;
  margin-bottom: 0.3em;
}

.instructions ol li span.number-item {
  position: relative;
  left: -0.2em;
  font-size: 2.4em;
  color: #9BD;
  top: 0.5em;
  font-weight: normal;
}

.instructions-bonus {
  position: relative;
  top: 2em;
}

.skill-level-box {
  position: absolute;
  border: 1px solid #ccc;
  background-color: #f9fff0;
  bottom: 1.6em;
  right: 0;
  margin-right: 4em;
  height: 8.5em;
  width: 30em;
}

@media(min-width:1200px) {
  .skill-level-box-content {
    padding-top: 1em;
  }

  .skill-level-box-content p {
    text-align: center;
    max-width: 25em;
  }
}

.bonuslink2-wrap img {
  display: none;
}

@media(min-width:768px) {
  .bonuslink2-wrap {
    left: 12em;
    position: absolute;
    top: -52em;
  }

  .bonuslink2-wrap img {
    display: inline;
  }
}

@media(min-width:992px) {
  .bonuslink2-wrap {
    left: 18em;
  }
}

@media(min-width:1200px) {
  .bonuslink2-wrap {
    top: -50em;
  }
}

@media(max-width:991px) {

  .imp-shape-spot,
  .imp-shape-rect {
    opacity: 1 !important;
  }

  .imp-shape-rect {
    background-color: red !important;
  }
}

@media(min-width:768px) {
  .instructions ol {
    margin-left: 0.7em;
  }

  .instructions ol li {
    padding-left: 2em;
    font-size: 1em;
    line-height: 2em;
    white-space: nowrap;
  }

  .instructions ol li span.number-item {
    top: 0.25em;
  }
}

@media(min-width:1200px) {
  .instructions {
    margin-bottom: 0 !important;
  }
}

.ergo-error-wrap {
  position: relative;
  margin-top: 3em;
}

#answered,
#gamewon {
  display: none;
}

#answered::before {
  content: "Answered: ";
}

.squares-element {
  width: 100%;
}

#happiness-level {
  position: relative;
  top: 0;
  text-align: center;
  width: 100%;
  padding: 20px 10px;
}

#happiness-level-frame {
  position: absolute;
  bottom: 250px;
  width: 100%;
  text-align: center;
}

#happiness-level-frame img {
  width: 245px;
}

#happymsg {
  padding-top: 5px;
  font-weight: bold;
}

#endmsg {
  display: inline-block;
  padding-top: 0px;
}

@media(min-width:768px) {
  #endmsg {
    padding-top: 8px;
  }
}

#image-map-pro-container {
  width: 98%;
}

.correct-item,
.incorrect-item {
  opacity: 1 !important;
  background-size: 100% !important;
}

.correct-item {
  background-image: url('/portals/0/images/ergo-illus-detail/checkmark.svg') !important;
  cursor: default !important;
}

.correct-item-line {
  background-color: rgb(0, 191, 0) !important;
  cursor: default !important;
}

.incorrect-item {
  background-image: url('/portals/0/images/ergo-illus-detail/incorrect.svg') !important;
}

.incorrect-item-line {
  background-color: rgb(191, 0, 0) !important;
}

.correct-item svg,
.incorrect-item svg {
  opacity: 0 !important;
}

.default-cursor {
  cursor: default !important;
}

@media(min-width:768px) {
  #image-map-pro-container {
    width: 100%;
  }

  /* p.intro { max-width:30em; } */
  #happiness-level {
    position: absolute;
    width: auto;
    padding: 0px;
    top: -4.7em;
    right: 10px;
  }

  #happiness-level img {
    width: 160px;
  }

  #happiness-level-frame {
    bottom: auto;
    width: 198px;
    right: -7px;
    top: -5.7em;
  }

  #happiness-level-frame img {
    width: auto;
  }
}

@media(min-width:992px) {
  #image-map-pro-container {
    width: 90%;
  }

  p.intro {
    max-width: none;
  }

  #happiness-level {
    top: 1em;
    right: -9em;
  }

  #happiness-level img {
    width: 185px;
  }

  #happiness-level-frame {
    width: auto;
    right: -10.5em;
    top: -5px;
  }
}

@media(min-width:1200px) {
  #image-map-pro-container {
    width: 100%;
  }

  #happiness-level {
    right: -16em;
    top: 36px;
  }

  #happiness-level-frame {
    top: 15px;
    right: -17.5em;
  }
}

#learn-more-frame {
  margin-top: 6em;
  width: 235px;
}

#learn-more-frame>p {
  text-align: center;
  font-weight: bold;
  color: #777;
  font-size: 0.9em;
  background-color: #eee;
  padding: 5px;
}

#learn-more-frame .media-body {
  font-size: 0.84em;
}

@media(min-width:768px) {
  #learn-more-frame {
    width: 375px;
  }
}

@media(min-width:992px) {
  #learn-more-frame {
    width: 235px;
    position: absolute;
    right: -10.4em;
    top: 20em;
  }

  #learn-more-frame .media-body {
    font-size: 0.69em;
  }

  #workspace-tools-frame {
    position: absolute;
    top: 65px;
    left: 12em;
  }

  #workspace-tools-frame .planworkspace-col {
    position: relative;
    left: -2.7em;
  }
}

@media(min-width:1200px) {
  #learn-more-frame {
    right: -17.5em;
  }

  #workspace-tools-frame {
    left: 7em;
    min-width: 39em;
  }
}

@media(min-width:768px) {
  .ergo-error-wrap {
    margin-top: 0;
  }
}

/* #score::before { content: "Score: "; } */
#score-wrap {
  position: absolute;
  top: -2.5em;
  right: 1em;
  max-width: 170px;
  font-weight: bold;
}

#score {
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 12pt;
  font-weight: bold;
  padding: 1px 10px;
  /* left:0; */
  /* top: -2.5em; */
}

#remaining-wrap {
  position: absolute;
  top: -2.5em;
  left: 0px;
  max-width: 170px;
  font-weight: bold;
}

#remaining-wrap span#remaining {
  background-color: rgb(238, 238, 238);
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 12pt;
  font-weight: bold;
  display: inline-block;
  text-align: center;
  padding: 1px 10px;
  margin: 0px 6px;
  min-width: 85px;
}

/* @media(min-width:480px) { #score {top: 0;left: 1.2em;}} */
@media(min-width:768px) {
  #score-wrap {
    top: 21px;
    right: auto;
    left: 23.4em;
  }

  #score {
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 11pt;
    padding: 7px 15px;
    top: 10px;
    left: 0;
  }

  #remaining-wrap {
    top: 0.9em;
    max-width: none;
    font-size: 1em;
    left: 0;
  }

  #remaining-wrap span#remaining {
    font-size: 11pt;
    margin: 0px 2px;
    min-width: 40px;
    padding: 7px 10px;
  }
}

@media(min-width:992px) {
  #score-wrap {
    font-size: 14pt;
    left: 25.9em;
    top: 18px;
  }

  #score {
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14pt;
    top: 0.5em;
    left: 0;
  }

  #remaining-wrap {
    top: 0.5em;
    font-size: 1.2em;
  }

  #remaining-wrap span#remaining {
    font-size: 14pt;
    border-radius: 8px;
    border: 2px solid #ddd;
  }
}

@media(min-width:1200px) {
  #score-wrap {
    left: 26em;
  }

  #remaining-wrap {
    left: -98px;
  }
}

.new-main-img {
  padding-top: 7em;
}

@media(min-width:768px) {
  .new-main-img {
    padding-top: 9em;
  }
}

.modal-body {
  padding: 20px !important;
}

#bonus-modal .squares-container {
  width: 220px;
  margin: 0 auto;
  text-align: center;
}

#bonus-modal #bonus-desc {
  display: none;
}

#bonus-modal .bonus-question-text {
  padding-left: 2em;
  padding-right: 2em;
  font-weight: bold;
}

#bonus-modal .btn-tf {
  padding: 10px;
}

#bonus-modal #bonus-true>a {
  outline: none;
}

#bonus-modal #bonus-false>.squares-button,
#bonus-modal #bonus-false>.ui-effects-wrapper {
  display: block;
  height: 30px;
  line-height: 30px;
  background-color: rgb(159, 108, 96);
  color: rgb(255, 255, 255);
  border-radius: 10px;
  padding-left: 20px;
  padding-right: 20px;
}

#bonuslink {
  z-index: 1000;
}
