.exercise .progress-box {
  width: 100%;
  height: 0.15em;
}
.exercise .is-done-box .done {
  color: #008000;
}
.exercise .is-done-box .not-done {
  color: #f00;
}
.presented.yesno,
.presented.pickone .trigger,
.presented.numpad .trigger,
.presented.drag-and-sort .item,
.presented.drag-to-bucket .item,
.presented.combine-syllables .item {
  -webkit-animation: exercise-bounce-outwards 0.5s 1 ease-in-out;
          animation: exercise-bounce-outwards 0.5s 1 ease-in-out;
}
.presented.textline input,
.presented.textline textarea,
.presented.multiply-to-addition input,
.presented.multiply-to-addition textarea,
.presented.reflexive-multiply input,
.presented.reflexive-multiply textarea,
.presented.calcuwords input,
.presented.calcuwords textarea {
  -webkit-animation: textline-present 0.5s 1 ease-in-out;
          animation: textline-present 0.5s 1 ease-in-out;
}
.presented.crosswords .xwgrid-letter {
  -webkit-animation: exercise-bounce-inwards 0.5s 1 ease-in-out;
          animation: exercise-bounce-inwards 0.5s 1 ease-in-out;
}
.presented.connect-points .connector {
  -webkit-animation: connect-bounce-outwards 0.5s 1 ease-in-out;
          animation: connect-bounce-outwards 0.5s 1 ease-in-out;
}
.pickone {
  position: relative;
}
.pickone .choices-container {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
}
.pickone .choices {
  text-align: center;
}
.pickone .choices .btn-group {
  margin-top: 0.25em;
}
.pickone .choices .btn-group::first-child {
  margin-top: 0em;
}
.pickone .popover {
  max-width: none;
}
.drag-and-sort .item {
  cursor: all-scroll;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.numpad {
  -webkit-appearance: none;
  outline: none;
  font-family: 'Courier', monospace;
  width: 100%;
}
.numpad .display input {
  font-size: 1.6em;
  padding: 0;
  text-align: right;
  outine: none;
}
.numpad .display button.smpadding {
  padding: 0 5px;
}
.numpad .display button.smpadding i {
  font-size: 1.7em;
}
.numpad .numpad-keys .digit {
  -webkit-appearance: none;
  outline: none;
  font-family: 'Courier';
  border: 1px solid #888;
  border-radius: 50;
  font-size: 1.5em;
  margin: 5px;
  padding: 0;
  height: 45px;
  width: 45px;
  cursor: pointer;
  font-weight: bold;
  background: #eee;
}
.iphone .numpad-keys {
  width: 245px;
}
.iphone .numpad-keys .keys .digit {
  width: 70px;
  height: 70px;
}
.select-to-highlight .btn-group .good.selected {
  background: #188e43;
  color: #fff;
}
.select-to-highlight .btn-group .bad.selected {
  background: #e93743;
  color: #fff;
}
.drawingpad .editor {
  position: relative;
}
.drawingpad .editor .image + canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  cursor: crosshair;
}
.drawingpad .btn {
  border-radius: 0;
}
.drawingpad .row .col-xs-3 {
  padding-right: 0;
}
.drawingpad .row .col-xs-9 {
  padding-left: 0;
}
@media (min-width: 767px) {
  .drawingpad .row .col-sm-6:first-child {
    padding-right: 0;
  }
  .drawingpad .row .col-sm-6:last-child {
    padding-left: 0;
  }
}
.drawingpad .btn-straight-line > span {
  display: inline-block;
  -webkit-transform: rotate(-45deg) scale(1.5);
      -ms-transform: rotate(-45deg) scale(1.5);
          transform: rotate(-45deg) scale(1.5);
}
.drawingpad .colors .four {
  width: 12em;
  height: 3em;
}
.drawingpad .colors .four .color {
  display: inline-block;
  width: 3em;
  height: 3em;
  cursor: pointer;
}
.drawingpad .colors .four .red {
  background: #c0392b;
}
.drawingpad .colors .four .yellow {
  background: #f1c40f;
}
.drawingpad .colors .four .blue {
  background: #2980b9;
}
.drawingpad .colors .four .white {
  background: #ecf0f1;
}
.drawingpad .colors .four .green {
  background: #e67e22;
}
.drawingpad .colors .four .orange {
  background: #27ae60;
}
.drawingpad .colors .four .violet {
  background: #9b59b6;
}
.drawingpad .colors .four .black {
  background: #2c3e50;
}
.xwgrid .xwgrid-row {
  clear: both;
}
.xwgrid .xwgrid-letter {
  color: #fff;
  float: left;
  margin: 1px;
  padding: 0;
  width: 2em;
  height: 2em;
  display: block;
}
.xwgrid .xwgrid-letter-non-blank {
  background-color: #5f9edf;
  border: 0;
}
.xwgrid .xwgrid-letter-non-blank input {
  width: 100%;
  text-align: center;
  font-size: 1em;
  padding-top: 0.2em;
  background-color: transparent;
  border: 0;
  height: 100%;
}
.xwgrid .xwgrid-letter-number {
  color: #5f9edf;
  text-align: center;
  font-size: 1em;
  font-weight: bold;
  padding-top: 0.25em;
  border: 0;
}
.xwgrid .xw-word-ok input {
  background-color: #3b3;
}
.xwgrid input:focus {
  outline: none;
  box-shadow: none;
  background-color: #f93 !important;
}
.xwgrid span.xwnumber {
  position: absolute;
  color: #fff;
  font-size: 60%;
  margin: 0 0 0 5px;
  padding: 0;
}
.combine-syllables {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.combine-syllables .item {
  margin: 0.1em;
  background-color: #5f9edf;
  text-align: center;
  font-size: 1.5em;
  color: #fff;
  touch-action: none;
  -ms-touch-action: none;
  cursor: move;
}
.combine-syllables .item.animated {
  transition: all 0.3s ease;
}
.combine-syllables .item.used {
  visibility: hidden;
}
.combine-syllables .item.dragging-from {
  visibility: hidden;
}
.combine-syllables .item.placeholder {
  visibility: hidden;
}
.combine-syllables .item.recall {
  visibility: hidden;
}
.combine-syllables .item.dragging {
  z-index: 1000;
}
.combine-syllables .items .item {
  width: 100%;
}
.combine-syllables .dropspot .item {
  width: auto;
  display: inline-block;
}
.connect-points {
  position: relative;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.connect-points svg {
  position: absolute !important;
  overflow: visible !important;
  z-index: 200;
  pointer-events: none;
}
.connect-points .connector {
  border-radius: 50%;
  width: 1em;
  height: 1em;
  border: 0.2em solid #1e6bba;
  background-color: #fff;
  display: inline-block;
  z-index: 201;
  touch-action: none;
  -ms-touch-action: none;
  cursor: move;
}
.connect-points .pin-to {
  position: relative;
  touch-action: none;
  -ms-touch-action: none;
}
.connect-points .extension {
  touch-action: none;
  -ms-touch-action: none;
}
.connect-points .connector.pin-left {
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -0.5em;
  margin-left: -0.5em;
}
.connect-points .connector.pin-top {
  position: absolute;
  top: 0;
  left: 50%;
  margin-top: -0.5em;
  margin-left: -0.5em;
}
.connect-points .connector.pin-right {
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -0.5em;
  margin-right: -0.5em;
}
.connect-points .connector.pin-bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-bottom: -0.5em;
  margin-left: -0.5em;
}
.three-d canvas {
  width: 100%;
  height: 100%;
  margin: 0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  touch-action: none;
  -ms-touch-action: none;
}
.three-d {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  touch-action: none;
  -ms-touch-action: none;
  padding: 0;
  min-width: 100px;
  min-height: 100px;
}
.split-in-syllables-container {
  display: inline-block;
}
.split-in-syllables-container .split-in-syllables-letter {
  color: #fff;
  float: left;
  margin: 2.5em 10px 10px 10px;
  padding: 5px 10px;
  min-width: 10px;
  background-color: #5f9edf;
  text-align: center;
  display: block;
  padding: 15px 25px;
  font-size: 120%;
}
.split-in-syllables-container .split-in-syllables-separator {
  color: #fff;
  float: left;
  margin: 0 -20px;
  padding: 15px 25px;
  min-width: 10px;
  background-color: #9e80df;
  text-align: center;
  display: block;
  font-size: 120%;
  transition: all 0.2s ease;
}
.split-in-syllables-container .split-in-syllables-separator-selected {
  margin-top: 2.5em;
  background-color: #5f9edf;
}
.split-in-syllables-container .split-in-syllables-separator:hover {
  margin-top: 0.3em;
  border-radius: 0 0 50% 50%;
}
.split-in-syllables-container .split-in-syllables-separator-selected:hover {
  border-radius: 50% 50% 0 0;
  margin-top: 2.1em;
}
.small {
  font-size: 60% !important;
  margin-left: 2em;
}
.updownshake,
.updownshake:hover,
.updownshake:focus {
  -webkit-animation-name: updownshake-kf;
          animation-name: updownshake-kf;
  -webkit-animation-duration: 0.2s;
          animation-duration: 0.2s;
  -webkit-transform-origin: 0% 100%;
      -ms-transform-origin: 0% 100%;
          transform-origin: 0% 100%;
  -webkit-animation-iteration-count: 1;
          animation-iteration-count: 1;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
}
.shake:hover,
.shake:focus {
  -webkit-animation-name: spaceboots;
          animation-name: spaceboots;
  -webkit-animation-duration: 0.8s;
          animation-duration: 0.8s;
  -webkit-transform-origin: 50% 50%;
      -ms-transform-origin: 50% 50%;
          transform-origin: 50% 50%;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
}
.shake {
  display: inline-block;
}
.calcuwords-grid {
  display: inline-block;
}
.calcuwords-grid .calcuwords-row {
  clear: both;
}
.calcuwords-grid .calcuwords-block {
  min-width: 30px;
  height: 30px;
  float: left;
  font-size: 25px;
  text-align: center;
  margin: 2px 2px;
  padding: 0;
}
.calcuwords-grid .calcuwords-block-editable input {
  width: 30px;
  height: 30px;
  border: 1px solid #76b1c0;
  border-radius: 20%;
  color: #76b1c0;
  text-align: center;
  font-size: 22px;
  padding: 0;
}
.calcuwords-grid .calcuwords-block-operator input {
  border-radius: 50% !important;
  font-size: 20px;
}
.calcuwords-grid .calcuwords-block-ok input {
  border: 1px solid #008000 !important;
  color: #008000 !important;
}
.calcuwords-grid .calcuwords-block-not-ok input {
  border: 1px solid #f00 !important;
  color: #f00 !important;
}
.calcuwords-grid hr {
  clear: both;
  height: 2px;
  background-color: #000;
  padding: 0;
  margin: 0;
}
.modal-footer-audio {
  float: left;
}
.choices {
  font-size: 100%;
  font-family: Geneva, Verdana, sans-serif;
}
.choices .statement,
.choices .answers {
  margin: 1em;
}
.choices .comment {
  display: none;
}
.choices .answers {
  text-indent: -1.3em;
  margin: 0.5em 0 0.5em 4em;
}
.choices .answers >div {
  padding: 0.2em;
}
.choices .answers >div:hover {
  background: #dedede;
}
.choices .answers >div.answer-current {
  background: #bbb;
}
.choices .answers >div.answer-ok {
  background: #c2ff94;
}
.choices .answers >div.answer-not-ok {
  background: #ffa185;
}
.choices .validate-answer {
  max-width: 75%;
  display: block;
  background: #fff;
  color: #666;
  border: 1px solid #666;
  margin: 0.7em auto;
}
.choices .validate-answer:hover {
  background: #dedede;
}
.choices .validate-answer:disabled {
  color: #aaa;
  border: #aaa;
}
.choices .validate-answer:disabled:hover {
  background: #fff !important;
}
.choices.validated .answers >.correct {
  background: #c2ff94;
}
@-webkit-keyframes exercise-bounce-outwards {
  0% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
  }
  50% {
    -webkit-transform: scale(1.1, 1.1);
            transform: scale(1.1, 1.1);
  }
  100% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
  }
}
@keyframes exercise-bounce-outwards {
  0% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
  }
  50% {
    -webkit-transform: scale(1.1, 1.1);
            transform: scale(1.1, 1.1);
  }
  100% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
  }
}
@-webkit-keyframes exercise-bounce-inwards {
  0% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
  }
  50% {
    -webkit-transform: scale(0.9, 0.9);
            transform: scale(0.9, 0.9);
  }
  100% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
  }
}
@keyframes exercise-bounce-inwards {
  0% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
  }
  50% {
    -webkit-transform: scale(0.9, 0.9);
            transform: scale(0.9, 0.9);
  }
  100% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
  }
}
@-webkit-keyframes textline-present {
  0% {
    background-color: auto;
  }
  50% {
    background-color: #ff0;
  }
  100% {
    background-color: auto;
  }
}
@keyframes textline-present {
  0% {
    background-color: auto;
  }
  50% {
    background-color: #ff0;
  }
  100% {
    background-color: auto;
  }
}
@-webkit-keyframes connect-bounce-outwards {
  0% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
  }
  50% {
    -webkit-transform: scale(1.6, 1.6);
            transform: scale(1.6, 1.6);
  }
  100% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
  }
}
@keyframes connect-bounce-outwards {
  0% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
  }
  50% {
    -webkit-transform: scale(1.6, 1.6);
            transform: scale(1.6, 1.6);
  }
  100% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
  }
}
@-webkit-keyframes updownshake-kf {
  50% {
    -webkit-transform: translate(0, 1.1em);
            transform: translate(0, 1.1em);
  }
}
@keyframes updownshake-kf {
  50% {
    -webkit-transform: translate(0, 1.1em);
            transform: translate(0, 1.1em);
  }
}
@-webkit-keyframes spaceboots {
  0% {
    -webkit-transform: translate(2px, 1px) rotate(0deg);
            transform: translate(2px, 1px) rotate(0deg);
  }
  10% {
    -webkit-transform: translate(-1px, -2px) rotate(-3deg);
            transform: translate(-1px, -2px) rotate(-3deg);
  }
  20% {
    -webkit-transform: translate(-3px, 0px) rotate(1deg);
            transform: translate(-3px, 0px) rotate(1deg);
  }
  30% {
    -webkit-transform: translate(0px, 2px) rotate(0deg);
            transform: translate(0px, 2px) rotate(0deg);
  }
  40% {
    -webkit-transform: translate(1px, -1px) rotate(3deg);
            transform: translate(1px, -1px) rotate(3deg);
  }
  50% {
    -webkit-transform: translate(-1px, 2px) rotate(-3deg);
            transform: translate(-1px, 2px) rotate(-3deg);
  }
  60% {
    -webkit-transform: translate(-3px, 1px) rotate(0deg);
            transform: translate(-3px, 1px) rotate(0deg);
  }
  70% {
    -webkit-transform: translate(2px, 1px) rotate(-3deg);
            transform: translate(2px, 1px) rotate(-3deg);
  }
  80% {
    -webkit-transform: translate(-1px, -1px) rotate(3deg);
            transform: translate(-1px, -1px) rotate(3deg);
  }
  90% {
    -webkit-transform: translate(2px, 2px) rotate(0deg);
            transform: translate(2px, 2px) rotate(0deg);
  }
  100% {
    -webkit-transform: translate(1px, -2px) rotate(-3deg);
            transform: translate(1px, -2px) rotate(-3deg);
  }
}
@keyframes spaceboots {
  0% {
    -webkit-transform: translate(2px, 1px) rotate(0deg);
            transform: translate(2px, 1px) rotate(0deg);
  }
  10% {
    -webkit-transform: translate(-1px, -2px) rotate(-3deg);
            transform: translate(-1px, -2px) rotate(-3deg);
  }
  20% {
    -webkit-transform: translate(-3px, 0px) rotate(1deg);
            transform: translate(-3px, 0px) rotate(1deg);
  }
  30% {
    -webkit-transform: translate(0px, 2px) rotate(0deg);
            transform: translate(0px, 2px) rotate(0deg);
  }
  40% {
    -webkit-transform: translate(1px, -1px) rotate(3deg);
            transform: translate(1px, -1px) rotate(3deg);
  }
  50% {
    -webkit-transform: translate(-1px, 2px) rotate(-3deg);
            transform: translate(-1px, 2px) rotate(-3deg);
  }
  60% {
    -webkit-transform: translate(-3px, 1px) rotate(0deg);
            transform: translate(-3px, 1px) rotate(0deg);
  }
  70% {
    -webkit-transform: translate(2px, 1px) rotate(-3deg);
            transform: translate(2px, 1px) rotate(-3deg);
  }
  80% {
    -webkit-transform: translate(-1px, -1px) rotate(3deg);
            transform: translate(-1px, -1px) rotate(3deg);
  }
  90% {
    -webkit-transform: translate(2px, 2px) rotate(0deg);
            transform: translate(2px, 2px) rotate(0deg);
  }
  100% {
    -webkit-transform: translate(1px, -2px) rotate(-3deg);
            transform: translate(1px, -2px) rotate(-3deg);
  }
}
