/* debugging */

.mod_minilesson_debug .mod_minilesson_grading_passageword::after,
.mod_minilesson_debug_transcriptword::after {
  content: attr(data-wordnumber);
  border: 1px solid blue;
  font-size: 10px;
  border-radius: 5px;
  padding: 1px;
}

/* debugging */

span.mod_minilesson_debugsequence {
  border: 1px solid black;
  margin: 1px;
  display: inline-block;
}

.mod_minilesson_center {
  text-align: center;
}

.mod_minilesson_center>div,
.mod_minilesson_center>table
/* insert any other block-level elements here */

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

.mod_minilesson_listbuttons input[type='submit'] {
  width: 400px;
}

.mod_minilesson_actionbuttons {
  display: flex;
  float: right;
}

.mod_minilesson_quiz_finished {
  display: none;
  text-align: center;
}

.mod_minilesson_recording_cont {
  display: block;
  margin: auto;
  text-align: center;
  width: 100%;
  background-image: url([[pix:mod_minilesson|loader]]);
  background-repeat: no-repeat;
  background-position: center center;
}

.mod_minilesson_recorder_instr_right,
.mod_minilesson_recorder_instr_left {
  float: left;
  width: 240px;
  height: 100px;
}

.mod_minilesson_dummyrecorder {
  float: left;
}

.mod_minilesson_dummy_recorder_hidden {
  display: none;
}

.mod_minilesson_dummy_recorder_recording {
  display: block;
  float: left;
  width: 239px;
  height: 100px;
  background-size: 90px 90px;
  background-repeat: no-repeat;
  background-position: center;
  background-color: red;
}

.mod_minilesson_dummy_recorder_stopped {
  display: block;
  width: 239px;
  height: 100px;
  float: left;
  background-size: 90px 90px;
  background-repeat: no-repeat;
  background-position: center;
  background-color: grey;
}

.mod_minilesson_getpermissionmode {
  background-color: red;
  height: 170px;
}

.mod_minilesson_start_button_cont,
.mod_minilesson_record_button_cont,
.mod_minilesson_stop_button_cont {
  clear: both;
  padding: 5px;
  text-align: center;
  width: 100%;
}

.mod_minilesson_stop_button,
.mod_minilesson_start_button,
.mod_minilesson_record_button {
  margin: auto;
  width: 200px;
}

.mod_minilesson_voicecanvas {
  width: 239px;
  height: 100px;
  z-index: 8;
}

.mod_minilesson_passage_cont {
  display: none;
  line-height: 2em;
  font-size: 1.5em;
  border-style: double;
  padding: 3px;
  border-color: gold;
  margin-top: 15px;
}

.mod_minilesson_grading_passagecont {
  line-height: 2em;
  font-size: 1.5em;
  border-style: double;
  padding: 3px;
  border-color: gold;
  margin-top: 15px;
}

div.mod_minilesson_passage_cont.mod_minilesson_postattempt {
  display: block;
  /* background-color: #cccccc; */
  position: relative;
  font-size: 20px;
  line-height: 1.8em;
  border-style: none;
}

.mod_minilesson_postattempt .mod_minilesson-passage-pic {
  max-width: 200px;
  margin: 9px 1em 1em 0;
  float: left;
}

.mod_minilesson_postattempt .mod_minilesson-passage-pic img {
  width: 200px;
}

.mod_minilesson_mrseed-standing img {
  width: 100px;
  height: auto;
}

.mod_minilesson_mrseed-standing {
  max-width: 100px;
}

.mod_minilesson_printtwocol_cont {
  padding: 15px;
  border: 2px solid #CCCCCC;
  border-radius: 5px;
  width: 1024px;
}

.mod_minilesson_twocol_cont {
  padding: 15px;
  border: 2px solid #CCCCCC;
  border-radius: 5px;
  width: 1024px;
}

.mod_minilesson_twocol_wpm_cont {
  border: solid 1px;
  padding-top: 15px;
  padding-left: 10px;
  border-radius: 5px;
  background-color: aliceblue;
}

.mod_minilesson_twocol_quiz_cont {
  border: solid 1px;
  padding-top: 15px;
  padding-left: 10px;
  border-radius: 5px;
  background-color: aliceblue;
  margin-top: 10px;
}

.mod_minilesson_twocol_player_cont {
  color: blue;
}

.mod_minilesson_twocol_player {
  width: 100%;
}

.mod_minilesson_rightcol .btn {
  width: 100%;
  margin-top: 20px;
}

.mod_minilesson_grading_action_cont {
  border-style: double;
  padding: 3px;
  border-color: gold;
  margin-top: 15px;
  align-items: center;
}

.mod_minilesson_passage_cont.mod_minilesson_postattempt .mod_minilesson_grading_badword {
  color: black;
  background-color: lightgrey;
  border-color: blue;
}

.mod_minilesson_grading_badword {
  color: red;
  background-color: #ffcaca;
  padding: 5px;
  border-radius: 5px 5px 5px;
  border: 1px solid red;
  position: relative;
}

.mod_minilesson_grading_endspace {
  color: blue;
  background-color: #cacaff;
  padding: 5px;
  border-radius: 5px 5px 5px;
  border: 1px solid blue;
  position: relative;
}

.mod_minilesson_grading_passagespace {
  padding: 2px;
}

div.mod_minilesson_postattempt .mod_minilesson_grading_unreadword {
  text-decoration: none;
  background-color: lightgrey;
  padding-right: 2px;
}

div.mod_minilesson_postattempt .mod_minilesson_grading_unreadspace {
  background-color: lightgrey;
  padding: 0px 2px;
}

.mod_minilesson_grading_unreadword {
  font-style: italic;
  text-decoration: line-through;
}

.mod_minilesson_passage_finished {
  background-color: #cccccc;
  padding: 2px;
}

.mod_minilesson_feedback_cont {
  display: none;
}

.mod_minilesson_wheretonext_cont {
  display: none;
}

.mod_minilesson_quiz_cont {
  display: none;
  margin: auto;
}

.mod_minilesson_quiz_cont.mod_minilesson_compact {
  max-width: 750px;
}

.mod_minilesson_quiz_cont.mod_minilesson_wide {
  max-width: 1200px;
}

div.mod_minilesson_feedback_cont.mod_minilesson_postattempt {
  display: block;
}

.mod_minilesson_evaluated_message {
  text-align: center;
  display: block;
  margin-bottom: 15px;
}

.mod_minilesson_error_cont {
  display: none;
}

.mod_minilesson_error_cont h3 {
  color: red;
}

.mod_minilesson_grading_player_cont {
  color: blue;
}

.mod_minilesson_hidden_player {
  display: none;
}

.mod_minilesson_hidden_player_button {
  color: white;
  border-color: cadetblue;
  background-color: cadetblue;
  border-style: solid;
  border: 1px;
  padding: 3px;
  text-align: center;
}

.mod_minilesson_hidden_player_button_active {
  color: white;
  border-color: tomato;
  background-color: tomato;
}

.mod_minilesson_hidden_player_button_paused {
  color: white;
}

.mod_minilesson_hidden_player_button_playing {
  color: white;
}

.mod_minilesson_backtotop_cont {
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
  margin-top: 20px;
}

.mod_minilesson_grading_accuracy_cont,
.mod_minilesson_grading_wpm_cont,
.mod_minilesson_grading_quiz_cont,
.mod_minilesson_grading_error_cont,
.mod_minilesson_grading_sessionscore_cont,
.mod_minilesson_grading_errorrate_cont,
.mod_minilesson_grading_scrate_cont {
  color: blue;
  /* display: flex; */
  margin-left: 15px;
}

.mod_minilesson_grading_wpm_img {
  color: blue;
}

.mod_minilesson_grading_score {
  color: blue;
  line-height: 18px;
  margin-left: 5px;
  text-align: center;
  font-size: 2em;
  height: 35px;
  width: 80px;
}

.mod_minilesson_grading_error_img {
  color: blue;
}

.mod_minilesson_grading_action_cont {
  color: blue;
  display: flex;
}

.mod_minilesson_afterattempt_cont,
.mod_minilesson_wheretonext_cont,
.mod_minilesson_ungraded_cont {
  margin-left: auto;
  margin-right: auto;
  width: 40%;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 15px;
}

#mod_minilesson_hider {
  display: none;
  position: absolute;
  top: 0%;
  left: 0%;
  width: 1600px;
  height: 2000px;
  margin-top: -1000px;
  /*set to a negative number 1/2 of your height*/
  margin-left: 0px;
  /*set to a negative number 1/2 of your width*/
  /*
        z- index must be lower than pop up box
       */
  z-index: 99;
  background-color: Black;
  opacity: 0.6;
}

#mod_minilesson_progress_cont {
  display: none;
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 120px;
  margin-top: -60px;
  /*set to a negative number 1/2 of your height*/
  margin-left: -150px;
  /*set to a negative number 1/2 of your width*/
  border: 1px solid #ccc;
  border: 2px solid black;
  z-index: 100;
  background-color: white;
}

/* spotcheckmode */

.mod_minilesson_spotcheckmode .mod_minilesson_grading_passageword.mod_minilesson_grading_badword {
  border-color: green;
  background-color: #d7f9ca;
}

.mod_minilesson_spotcheckmode .mod_minilesson_grading_passagespace.mod_minilesson_aiunmatched {
  background-color: lightgrey;
}

/* msvmode */

.mod_minilesson_msvmode .mod_minilesson_grading_passageword.mod_minilesson_grading_badword {
  border-color: red;
  background-color: #ffcaca;
  -webkit-print-color-adjust: exact;
  /* Print background colour */
}

.mod_minilesson_msvmode .mod_minilesson_grading_passageword.mod_minilesson_grading_selfcorrectedword {
  color: green;
  background-color: #d7f9ca;
  padding: 5px;
  border-radius: 5px 5px 5px;
  border: 1px solid green;
  position: relative;
}

.mod_minilesson_msvmode .mod_minilesson_grading_passageword.mod_minilesson_grading_maybeselfcorrectedword {
  text-decoration: underline;
}

.mod_minilesson_spotcheckmode .mod_minilesson_grading_passagespace.mod_minilesson_aiunmatched {
  background-color: lightgrey;
  -webkit-print-color-adjust: exact;
  /* Print background colour */
}

.mod_minilesson_grading_passageword.mod_minilesson_aiunmatched {
  background-color: lightgrey;
  -webkit-print-color-adjust: exact;
  /* Print background colour */
}

.mod_minilesson_grading_passagespace.mod_minilesson_aiunmatched {
  background-color: lightgrey;
}

.mod_minilesson_grading_passageactions {
  margin-top: 10px;
}

.mod_minilesson_grading_passageactions>button {
  margin: 5px;
}

.btn.mod_minilesson_quickgrade_ok {
  background-color: DodgerBlue;
  /* Blue background */
  border: none;
  /* Remove borders */
  color: white;
  /* White text */
  padding: 10px 14px;
  /* Some padding */
  font-size: 14px;
  /* Set a font size */
  cursor: pointer;
  /* Mouse pointer on hover */
  margin: 2px;
  background-image: none;
}

/* Darker background on mouse-over */

.btn.mod_minilesson_quickgrade_ok:hover {
  background-color: RoyalBlue;
}

.btn.mod_minilesson_quickgrade_ng {
  background-color: darkgrey;
  /* Blue background */
  border: none;
  /* Remove borders */
  color: white;
  /* White text */
  padding: 10px 14px;
  /* Some padding */
  font-size: 14px;
  /* Set a font size */
  cursor: pointer;
  /* Mouse pointer on hover */
  margin: 2px;
  background-image: none;
}

/* Darker background on mouse-over */

.btn.mod_minilesson_quickgrade_ng:hover {
  background-color: grey;
}

/**
 * App
 */

.mod_minilesson-app-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
}

.mod_minilesson-app {
  box-sizing: border-box;
  min-width: 1024px;
  max-width: 1024px;
  min-height: 768px;
  max-height: 768px;
  background: white;
  padding: 1em;
  border: #efefef 3px solid;
  border-radius: 10px;
  font-size: 18px;
  display: flex;
  position: relative;
}

.mod_minilesson-flex {
  display: flex;
}

.mod_minilesson-flex-1 {
  flex: 1;
}

.mod_minilesson-flex-col {
  display: flex;
  flex-direction: column;
}

.mod_minilesson-flex-equal>* {
  flex: 1;
}

.mod_minilesson-flex-center {
  justify-content: center;
}

.mod_minilesson-flex-items-center {
  align-items: center;
}

.mod_minilesson-app .mod_minilesson-passage {
  line-height: 1.8em;
  font-size: 20px;
}

.mod_minilesson-app .mod_minilesson-passage.blurred {
  color: transparent;
  text-shadow: 0 0 7px rgba(0, 0, 0, 0.5);
}

.mod_minilesson-app .mod_minilesson-passage-pic {
  max-width: 200px;
  margin: 9px 1em 1em 0;
  float: left;
}

.mod_minilesson-app .mod_minilesson-passage-pic img {
  max-width: 100%;
}

.mod_minilesson-app .mod_minilesson-passage.blurred img {
  filter: blur(5px);
}

.mod_minilesson-texttospeech {
  position: relative;
  display: flex;
}

.mod_minilesson-texttospeech>div {
  display: inline-block;
}

.mod_minilesson-texttospeech a {
  margin: 0 0 0 0.5em;
  align-self: flex-start;
}

.mod_minilesson-texttospeech a:focus,
.mod_minilesson-texttospeech a:hover {
  text-decoration: none;
}

.mod_minilesson-scrollview-wrapper,
.mod_minilesson-scrollview {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.mod_minilesson-scrollview {
  overflow: hidden;
  padding-top: 50px;
}

.mod_minilesson-scrollview-before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  min-height: 50px;
  background: linear-gradient(white, transparent 80%);
  margin-top: -1px;
}

.mod_minilesson-scrollview-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 50px;
  display: flex;
  justify-content: center;
  background: linear-gradient(transparent, white 80%);
  margin-bottom: -1px;
}

.mod_minilesson-question-feedback {
  text-align: center;
}

.mod_minilesson-quiz-tracker {
  margin-bottom: 1em;
}

.mod_minilesson-quiz-tracker-el {
  font-size: 14px;
  padding: 0 4px;
  margin-right: 3px;
  display: inline-block;
  border: 3px solid #ccc;
}

.mod_minilesson-quiz-tracker-el.is-current {
  border-color: #000;
}

.mod_minilesson-quiz-tracker-el.is-answered {
  border-color: hsl(348, 100%, 61%);
}

.mod_minilesson-quiz-tracker-el.is-answered.is-correct {
  border-color: hsl(141, 71%, 48%);
}

.mod_minilesson-question-title {
  line-height: 1.8em;
  border-left: 3px solid #ccc;
  padding-left: 20px;
}

.mod_minilesson-answers {
  margin: 1em;
}

.mod_minilesson-answer {
  color: #333;
  display: flex;
  margin: 5px;
  border-radius: 5px;
  background-color: #eee;
  padding: 13px 23px;
  width: 100%;
  position: relative;
  box-sizing: border-box;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.mod_minilesson-answer:hover,
.mod_minilesson-answer:focus {
  color: inherit;
  text-decoration: none;
}

.mod_minilesson-answer.is-selected.is-incorrect {
  color: white;
  background: hsl(348, 100%, 61%);
  border-color: hsl(348, 100%, 61%);
  padding-right: 42px;
}

.mod_minilesson-answer.is-correct {
  color: white;
  background: hsl(141, 71%, 48%);
  border-color: hsl(141, 71%, 48%);
  padding-right: 42px;
}

.mod_minilesson-answer::after {
  content: ' ';
  position: absolute;
  right: 10px;
  width: 30px;
  height: 30px;
  display: inline-block;
  background-repeat: no-repeat;
}

.mod_minilesson-answer.is-correct::after {
  background-image: url([[pix:mod_minilesson|correct]]);
}

.mod_minilesson-answer.is-selected.is-incorrect::after {
  background-image: url([[pix:mod_minilesson|incorrect]]);
}

.mod_minilesson-btn,
.mod_minilesson-btn:hover,
.mod_minilesson-btn:focus,
.mod_minilesson-btn:visited,
.mod_minilesson-btn:active {
  border-radius: 5px;
  background: hsl(204, 86%, 53%);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  text-decoration: none;
}

.mod_minilesson-btn.inactive,
.mod_minilesson-btn:hover.inactive,
.mod_minilesson-btn:focus.inactive,
.mod_minilesson-btn:visited.inactive,
.mod_minilesson-btn:active.inactive {
  background: hsl(0, 0%, 96%);
  color: hsl(0, 0%, 21%);
}

.mod_minilesson-btn-recorder-like {
  border: 2px solid #000;
  border-radius: 5px;
  background: #cbf2dc;
  color: #444;
  font-size: xx-large;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 210px;
  height: 80px;
}

/**
 * Source: https://leaverou.github.io/bubbly/
 */

.mod_minilesson-speech-bubble {
  position: relative;
  background: #f7f7f7;
  border-radius: 0.4em;
}

.mod_minilesson-speech-bubble:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: #f7f7f7;
  border-bottom: 0;
  border-left: 0;
  margin-left: -5px;
  margin-bottom: -10px;
}

.mod_minilesson-speech-bubble-content {
  text-align: center;
  font-size: 25px;
  padding: 25px;
  min-height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 35px;
}

.mod_minilesson-speech-bubble.size-medium .mod_minilesson-speech-bubble-content {
  font-size: 20px;
  padding: 10px;
  min-height: auto;
  line-height: 25px;
}

.mod_minilesson-speech-bubble.size-large .mod_minilesson-speech-bubble-content {
  font-size: 32px;
  font-weight: bold;
  padding: 10px;
  min-height: auto;
  line-height: 25px;
}

.mod_minilesson-bloom {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mod_minilesson-bloom img {
  position: absolute;
  /* The delay is set according to the blooming animation */
  animation: minilesson-bloom;
  animation-duration: 1200ms;
}

.mod_minilesson-mr-seed-wrapper {
  position: relative;
}

.mod_minilesson-mr-seed-wrapper .mod_minilesson-speech-bubble {
  position: absolute;
  right: 0;
  width: 50%;
}

@keyframes minilesson-bloom {
  0% {
    opacity: 0;
  }

  70% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/*! * * * * * * * * * * * * * * * * * * * *\
  CSShake :: shake-rotate
  v1.5.0
  CSS classes to move your DOM
  (c) 2015 @elrumordelaluz
  http://elrumordelaluz.github.io/csshake/
  Licensed under MIT
\* * * * * * * * * * * * * * * * * * * * */

@keyframes shake-rotate {
  2% {
    transform: translate(0, 0) rotate(-4.5deg);
  }

  4% {
    transform: translate(0, 0) rotate(-1.5deg);
  }

  6% {
    transform: translate(0, 0) rotate(-6.5deg);
  }

  8% {
    transform: translate(0, 0) rotate(2.5deg);
  }

  10% {
    transform: translate(0, 0) rotate(6.5deg);
  }

  12% {
    transform: translate(0, 0) rotate(-3.5deg);
  }

  14% {
    transform: translate(0, 0) rotate(7.5deg);
  }

  16% {
    transform: translate(0, 0) rotate(2.5deg);
  }

  18% {
    transform: translate(0, 0) rotate(7.5deg);
  }

  20% {
    transform: translate(0, 0) rotate(3.5deg);
  }

  22% {
    transform: translate(0, 0) rotate(1.5deg);
  }

  24% {
    transform: translate(0, 0) rotate(1.5deg);
  }

  26% {
    transform: translate(0, 0) rotate(0.5deg);
  }

  28% {
    transform: translate(0, 0) rotate(6.5deg);
  }

  30% {
    transform: translate(0, 0) rotate(-1.5deg);
  }

  32% {
    transform: translate(0, 0) rotate(-1.5deg);
  }

  34% {
    transform: translate(0, 0) rotate(2.5deg);
  }

  36% {
    transform: translate(0, 0) rotate(-2.5deg);
  }

  38% {
    transform: translate(0, 0) rotate(1.5deg);
  }

  40% {
    transform: translate(0, 0) rotate(7.5deg);
  }

  42% {
    transform: translate(0, 0) rotate(-2.5deg);
  }

  44% {
    transform: translate(0, 0) rotate(-0.5deg);
  }

  46% {
    transform: translate(0, 0) rotate(-6.5deg);
  }

  48% {
    transform: translate(0, 0) rotate(0.5deg);
  }

  50% {
    transform: translate(0, 0) rotate(1.5deg);
  }

  52% {
    transform: translate(0, 0) rotate(1.5deg);
  }

  54% {
    transform: translate(0, 0) rotate(4.5deg);
  }

  56% {
    transform: translate(0, 0) rotate(-4.5deg);
  }

  58% {
    transform: translate(0, 0) rotate(5.5deg);
  }

  60% {
    transform: translate(0, 0) rotate(-3.5deg);
  }

  62% {
    transform: translate(0, 0) rotate(-0.5deg);
  }

  64% {
    transform: translate(0, 0) rotate(7.5deg);
  }

  66% {
    transform: translate(0, 0) rotate(6.5deg);
  }

  68% {
    transform: translate(0, 0) rotate(-6.5deg);
  }

  70% {
    transform: translate(0, 0) rotate(-4.5deg);
  }

  72% {
    transform: translate(0, 0) rotate(3.5deg);
  }

  74% {
    transform: translate(0, 0) rotate(-2.5deg);
  }

  76% {
    transform: translate(0, 0) rotate(-4.5deg);
  }

  78% {
    transform: translate(0, 0) rotate(1.5deg);
  }

  80% {
    transform: translate(0, 0) rotate(1.5deg);
  }

  82% {
    transform: translate(0, 0) rotate(-2.5deg);
  }

  84% {
    transform: translate(0, 0) rotate(-3.5deg);
  }

  86% {
    transform: translate(0, 0) rotate(-6.5deg);
  }

  88% {
    transform: translate(0, 0) rotate(-0.5deg);
  }

  90% {
    transform: translate(0, 0) rotate(5.5deg);
  }

  92% {
    transform: translate(0, 0) rotate(4.5deg);
  }

  94% {
    transform: translate(0, 0) rotate(-1.5deg);
  }

  96% {
    transform: translate(0, 0) rotate(1.5deg);
  }

  98% {
    transform: translate(0, 0) rotate(-3.5deg);
  }

  0%,
  100% {
    transform: translate(0, 0) rotate(0);
  }
}

.mod_minilesson-shake {
  animation-name: shake-rotate;
  animation-duration: 100ms;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 2;
}

.mod_minilesson_grading_passageactions {
  margin-top: 10px;
  display: flex;
}

.minilesson_speechcards_container {
  border: 1px solid darkgray;
  margin-bottom: 5px;
  padding: 10px;
}

.minilesson-poodllspeechcards_box {
  text-align: center;
  width: 60%;
  /*225px;*/
  font-size: 25px;
  margin: auto;
  border: 1px solid darkgray;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  background-color: #f5f5f5;
  box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.75);
}

.minilesson-speechcards_toprow {
  margin: 15px auto;
  display: flex;
  justify-content: center;
}

.minilesson-speechcards_whatheard {
  width: 400px;
  border: dotted 1px;
  border-color: green;
  text-align: center;
  margin: 1px;
}

.minilesson-speechcards_gotit {
  color: white;
  background-color: green;
}

.minilesson-speechcards_button.minilesson-speechcards_nextbutton,
.minilesson-speechcards_button.minilesson-speechcards_nextbutton:hover,
.minilesson-speechcards_button.minilesson-speechcards_nextbutton:active,
.minilesson-speechcards_button.minilesson-speechcards_nextbutton:focus {
  background: #fff;
  border-color: #5067ff;
  border-radius: 10px;
  color: #5067ff;
  margin-left: 10px;
}


/* PROGRESS DOTS */

.minilesson_progress_dots {
  font-size: 40px;
  text-align: center;
  letter-spacing: 10px;
  /* border: 1px solid darkgray; */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 0;
}

.minilesson_star_rating {
  letter-spacing: 20px;
  text-align: center;
  font-size: 30px;
}

.minilesson_nextbutton {
  /* float: right; */
}

.minilesson_questionheader {
  padding: 10px;
  text-align: center;
  margin-bottom: 5px;
  background-color: #f5f5f5;
  border-radius: 5px;
}

.mcplaytrigger,
.dictationtrigger {
  cursor: pointer;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 40px;
  height: 40px;
}

.minilesson_mc_resultbox {
  float: right;
  padding-left: 8px;
}

.mcplayrow {
  margin: 5px 5px 10px 5px;
  padding: 0;
  padding-top: 5px;
  padding-bottom: 5px;
  display: flex;
}

.dictationrow {
  margin: 5px;
  padding: 0;
  border: 2px solid darkgray;
  padding-top: 5px;
  padding-bottom: 5px;
  display: flex;
  align-items: center;
}

.dictate-feedback {
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 30px;
  height: 30px;
  font-size: 30px !important;
}

/* DICTATION CHAT */

.minilesson_dictate_player_box {
  position: relative;
  margin: auto;
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, .12);
  border-radius: 8px;
  background-color: #fff;
}

.minilesson_dictate_player_box .dictate_image {
  padding: 20px;
  border-radius: 100%;
  background: #f3ecfc;
  width: 70px;
  height: 70px;
}

.minilesson_dictate_player_box .dictate_prompt {
  position: relative;
  margin-top: 10px;
}

.minilesson_dictate_player_box .dictate_reply {
  margin-top: 10px;
  position: relative;
}

.dictate_error {}

.minilesson_dictate_player_box .dictate_game {
  min-height: 250px;
  padding: 10px;
  border-top: 1px solid darkgray;
  border-bottom: 1px solid darkgray;
  background-color: rgba(98, 135, 182, 1);
  width: 80%;
  margin: auto;
}

.minilesson_dictate_player_box .dictate_speech {
  position: relative;
  font-family: arial;
  font-size: 16px;
  background: #a53d38;
  color: black;
  border-radius: 10px;
  padding: 20px;
}

.minilesson_dictate_player_box .dictate_right {
  background-color: white;
}

.minilesson_dictate_player_box .dictate_teacher_left {
  background-color: rgba(122, 221, 76, 1);
}

.minilesson_dictate_player_box .dictate_teacher_left:after {
  content: '';
  border: 20px solid transparent;
  border-right-color: rgba(122, 221, 76, 1);
  border-left: 0;
  position: absolute;
  left: -20px;
  top: 50%;
  margin-top: -20px;
}

.minilesson_dictate_player_box .dictate_right:after {
  content: '';
  border: 20px solid transparent;
  border-left-color: white;
  border-right: 0;
  position: absolute;
  right: -20px;
  top: 50%;
  margin-top: -20px;
}

.minilesson_dictate_player_box .dictate_speech-icon-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 50px !important;
  height: 50px;
}

.minilesson_dictate_player_box .dictate_speech-icon-right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 50px !important;
  height: 50px;
}

.minilesson_dictate_player_box .dictate_mainmenu {
  font-size: 20px;
  padding: 10px;
}

.minilesson_dictate_player_box .dictate_title {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 0;
  font-size: 24px;
  font-weight: bold;
  color: #414c81;
}

.minilesson_dictate_player_box .dictate_start_btn {
  background-color: #506dff;
  margin-top: 0;
  width: 96px;
  height: 36px;
  border-radius: 8px;
  color: #fff;
  border-color: #506dff;
}

.minilesson_dictate_player_box .dictate_start_btn:hover,
.minilesson_dictate_player_box .dictate_start_btn:focus,
.minilesson_dictate_player_box .dictate_start_btn:active {
  background-color: #2642cd;
  border-color: #2642cd;
  outline: 0;
  -webkit-box-shadow: unset;
  box-shadow: unset;
  color: #fff;
}

.minilesson_dictate_player_box .dictate_skip_btn,
.minilesson_dictate_player_box .dictate_skip_btn:hover,
.minilesson_dictate_player_box .dictate_skip_btn:active,
.minilesson_dictate_player_box .dictate_skip_btn:focus {
  background: #ffffff;
  border-color: #5067FF;
  border-radius: 10px;
  color: #5067FF;
  margin-left: 10px;
}

.minilesson_dictate_player_box .dictate_controls {
  /*
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  */
  background-color: white;
}

.minilesson_dictate_player_box .dictate_results {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 75px;
  background-color: rgba(98, 135, 182, 1);
  font-weight: bold;
  color: white;
  text-align: center;
  z-index: 999;
}

.minilesson_dictate_player_box .dictate_correct {
  background-color: lightgreen;
}

.minilesson_dictate_player_box .dictate_incorrect {
  background-color: lightpink;
}

.minilesson_dictate_player_box .dictate_targetWord {
  padding: 3px;
  border-radius: 5px;
  margin: 5px;
}

.minilesson_dictate_player_box .dictate_ctrl-btn.dictate_check_btn {
  width: 96px;
  height: 36px;
  background-color: #506dff;
  border-radius: 8px;
  color: #FFFFFF;
  border-color: #506dff;
}

.minilesson_dictate_player_box .dictate_ctrl-btn.dictate_listen_btn {
  background-color: #506dff;
  color: #FFFFFF;
  border-radius: 8px;
  color: #FFFFFF;
  border-color: #506dff;
  width: auto;
  height: auto;
}

.minilesson_dictate_player_box .dictate_ctrl-btn.dictate_listen_btn {
  box-shadow: unset;
  outline: 0;
}


/* LISTEN AND REPEAT */

.minilesson_landr_player_box {
  position: relative;
  margin: auto;
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, .12);
  border-radius: 8px;
  background-color: #FFFFFF;
}

.minilesson_landr_player_box .landr_start_btn {
  background-color: #506dff;
  margin-top: 0;
  width: 96px;
  height: 36px;
  border-radius: 8px;
  color: #fff;
  border-color: #506dff;
}

.minilesson_landr_player_box .landr_start_btn:hover,
.minilesson_landr_player_box .landr_start_btn:active,
.minilesson_landr_player_box .landr_start_btn:focus {
  outline: 0;
  box-shadow: 0;
  background-color: #2642cd;
  border-color: #2642cd;
  color: #FFFFFF;
}

.minilesson_landr_player_box .landr_image {
  padding: 20px;
  border-radius: 100%;
  background: #f3ecfc;
}

.minilesson_landr_player_box .landr_ctrl-btn,
.minilesson_landr_player_box .landr_ctrl-btn:hover,
.minilesson_landr_player_box .landr_ctrl-btn:focus,
.minilesson_landr_player_box .landr_ctrl-btn:active {
  background-color: #5067ff;
  border-color: #5067ff;
  border-radius: 8px;
  outline: 0;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .22);
  color: #FFFFFF;
}

.minilesson_landr_player_box .landr_prompt_container {
  margin: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background-color: #f9f9f9;
  /* subtle background */
  max-width: 600px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.minilesson_landr_player_box .landr_reply_container {
  margin: auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0.75rem;
  max-width: 600px;
  background-color: #f9f9f9;
}

.landr_icon {
  font-size: 1.5rem;
  color: #4a90e2;
}

.landr_speech_text {
  font-size: 1.3rem;
  color: #333;
}


.landr_speech_inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background-color: #f0f0f0;
  padding: 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  flex-grow: 1;
  font-size: 1rem;
  color: #333;
  align-items: self-end;
}

.landr_word_input {
  padding: 0.3rem 0.5rem;
  font-size: 1rem;
  width: auto;
  min-width: 40px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
}

.landr_word_input:disabled {
  background-color: #f9f9f9;
  color: #555;
}

.landr_feedback_icon {
  font-size: 0.9rem;
  color: #999;
}

.minilesson_landr_player_box .minilesson_sentence_image {
  margin-bottom: 8px;
}

.minilesson_landr_player_box .landr_reply {
  margin-top: 10px;
  position: relative;
}

.minilesson_landr_player_box .landr_error {}

.minilesson_landr_player_box .landr_game {
  min-height: 250px;
  padding: 10px;
}

.minilesson_landr_player_box .landr_speech {
  position: relative;
  font-family: arial;
  font-size: 16px;
  background: #a53d38;
  color: black;
  border-radius: 10px;
  padding: 20px;
}

.minilesson_landr_player_box .landr_right {
  background-color: white;
}

.minilesson_landr_player_box .landr_teacher_left {
  background-color: rgba(122, 221, 76, 1);
}

.minilesson_landr_player_box .landr_teacher_left:after {
  content: '';
  border: 20px solid transparent;
  border-right-color: rgba(122, 221, 76, 1);
  border-left: 0;
  position: absolute;
  left: -20px;
  top: 50%;
  margin-top: -20px;
}

.minilesson_landr_player_box .landr_right:after {
  content: '';
  border: 20px solid transparent;
  border-left-color: white;
  border-right: 0;
  position: absolute;
  right: -20px;
  top: 50%;
  margin-top: -20px;
}

.minilesson_landr_player_box .landr_speech-icon-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 50px !important;
  height: 50px;
}

.minilesson_landr_player_box .landr_speech-icon-right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 50px !important;
  height: 50px;
}

.minilesson_landr_player_box .landr_mainmenu {
  font-size: 20px;
  padding: 10px;
}

.minilesson_landr_player_box .landr_title {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 0;
  font-size: 24px;
  font-weight: bold;
  color: #414c81;
}

.minilesson_landr_player_box .landr_controls {
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.minilesson_landr_player_box .landr_skip_btn,
.minilesson_landr_player_box .landr_skip_btn:hover,
.minilesson_landr_player_box .landr_skip_btn:active,
.minilesson_landr_player_box .landr_skip_btn:focus {
  border: 1px;
  border-style: solid;
  border-color: #506dff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  margin: auto;
  background-color: #fff;
  color: #506dff;
}

.minilesson_landr_player_box .landr_speakbtncontainer {
  height: 75px;
  text-align: center;
  display: none;
}

.minilesson_landr_player_box .landr_results {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 75px;
  font-weight: bold;
  color: white;
  text-align: center;
  z-index: 999;
}

.minilesson_landr_player_box .landr_correct {
  background-color: lightgreen;
}

.minilesson_landr_player_box .landr_incorrect {
  background-color: lightpink;
}

.minilesson_landr_player_box .landr_targetWord {
  padding: 3px;
  border-radius: 5px;
  margin: 5px;
}

.landr_listen_cont {
  text-align: center;
}


.mod_minilesson_result_div {
  display: inline-block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: top;
  position: relative;
  padding-top: 13px;
}

/* RESULTS */
.mod_minilesson_result_index {
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 17px;
  width: 36px;
  background-color: #ccc;
  text-align: center;
  border-bottom: 0;
  border-right: 0;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  padding: 6px;
}

.mod_minilesson_result_title {
  position: inherit;
  top: 0;
  right: 9px;
  left: 29px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: left;
  font-weight: bold;
  justify-content: space-between;
  box-shadow: 0 0 8px rgb(0 0 0 / 32%);
  padding-left: 11px;
  font-size: 18px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 16px;
}

.mod_minilesson_result_score {}

.mod_minilesson_result_grade {}

.minilesson_speechcards_target_phrase {
  text-align: center;
  padding: 10px;
  border: 1px solid black;
  font-size: 32px;
  width: 75%;
  margin: auto;
  border-radius: 10px;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.75);
  margin-top: 10px;
  margin-bottom: 10px;
}

.minilesson_quiz_progress {
  height: 50px;
  display: flex;
  align-items: center;
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.minilesson_quiz_progress_item {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: flex;
  background-color: #F3F5FD;
  align-items: center;
  justify-content: center;
  color: #6b84eb;
  font-size: 14px;
  font-weight: 700;
  z-index: 1;
  border: 1px solid #C7D2FF;
}

.minilesson_quiz_progress_item_current {
  background-color: #506DFF;
  color: #FFFFFF;
}

.minilesson_quiz_progress_finalitem {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B84EB;
  font-size: 14px;
  font-weight: 700;
  background: #F3F5FD;
  z-index: 1;
  border: 1px solid #C7D2FF;
}

.minilesson_quiz_progress_item_completed {
  background-color: #506DFF;
  color: #FFFFFF;
}

.minilesson_quiz_progress_line {
  background-color: #506DFF;
  height: 5px;
  position: absolute;
  margin-top: auto;
  margin-bottom: auto;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

.minilesson_landr_player_box .landr_feedback,
.minilesson_dictate_player_box .dictate_feedback {
  font-size: 14px !important;
  padding: 10px;
}

.mod_minilesson_link_box {
  border: 1px solid black;
  display: inline-block;
  width: 150px;
  height: 120px;
  vertical-align: top;
  margin: 10px;
  position: relative;
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center 10px;
  cursor: pointer;
}

.mod_minilesson_link_box:hover {
  background-color: #f5f5f5;
}

.mod_minilesson_link_box_title {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  text-align: center;
  margin: 5px;
}

.mod_minilesson_link_box_container {
  text-align: center;
}

.itemscoresbutton {
  text-align: center;
}

/*TT Recorder Styles */
.mod_minilesson_ttrec_waveButtonContainer {
  position: relative;
  margin: auto;
  border-radius: 10px;
  width: 200px;
}

.mod_minilesson_ttrec_waveForm {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: #F5F5FE;
  border-radius: 10px;
}

.mod_minilesson_ttrec_waveButton {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: inset 0px 1px 3px #ffccbd, inset 0px -1px 3px #9c282e;
  color: #000;
  font-size: 26px;
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.3);
  -webkit-appearance: none;
  -moz-appearance: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  margin: auto;
  color: white;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mod_minilesson_ttrec_waveButtonContainer .ttrec_ready {
  background: #5067FF;
  box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.22);
}

.mod_minilesson_ttrec_waveButtonContainer .mod_minilesson_ttrec_waveButton.ttrec_waiting {
  background: grey;
  box-shadow: none;
}

.mod_minilesson_ttrec_waveButtonContainer .mod_minilesson_ttrec_waveForm.ttrec_waiting {
  display: none;
}

.mod_minilesson_ttrec_waveButtonContainer .ttrec_engaged {
  background: #FF8A47;
}

.mod_minilesson_quiz_reattempt {
  margin: 10px;
}

.mod_minilesson_iteminstructions {
  width: 100%;
  max-width: 600px;
  margin: auto;
  text-align: center;
  font-size: 1.1em;
  font-style: italic;
  padding-top: 5px;
}

.mod_minilesson_itemtext {
  width: 100%;
  max-width: 600px;
  margin: auto;
  text-align: center;
  font-size: 1.3em;
  padding-top: 5px;
}

.mod_minilesson_itemtextarea {
  width: 100%;
  max-width: 600px;
  margin: auto;
}


.mod_minilesson_itemaudio {
  width: 100%;
  max-width: 400px;
  margin: auto;
}

.mod_minilesson_itemvideo {
  width: 100%;
  max-width: 400px;
  margin: auto;
}

.mod_minilesson_itemimage {
  width: 100%;
  max-width: 400px;
  margin: auto;
}

.minilesson_questionheader_contents {
  margin-bottom: 10px;
  margin-top: 10px;
}

.mod_minilesson_itemimage_cont,
.mod_minilesson_itemvideo_cont,
.mod_minilesson_itemaudio_cont,
.mod_minilesson_itemiframe_cont,
.mod_minilesson_itemttsaudio_cont,
.mod_minilesson_itemttsdialog_cont,
.mod_minilesson_itemytclip_cont {
  width: 100%;
  margin-top: 10px;
  text-align: center;
}

.mod_minilesson_itemimage_cont.mod_minilesson_magazine {
  max-width: 250px;
  float: left;
  padding: 5px;
}

.mod_minilesson_itemtextarea_cont {
  width: 100%;
  margin-top: 10px;
  padding: 5px;
}

.mod_minilesson_itemttspassage_cont {
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  font-size: large;
  border: 1px solid grey;
  border-radius: 0.5em;
}



.mod_minilesson_iframe_responsive {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
  margin: auto;
}

.mod_minilesson_itemiframe_cont,
.mod_minilesson_itemytclip_cont {
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  width: 100%;
  height: 100%;
  max-width: 560px;
  max-height: 315px;
}

.mod_minilesson_iframe_responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  max-width: 560px;
  max-height: 315px;
}

.minilesson_actionbutton {
  margin: 5px;
  padding: 5px;
  text-align: center;
}

.minilesson_dictate_player_box .dictate_loaded,
.minilesson_landr_player_box .landr_loaded {
  text-align: center;
}

.minilesson_landr_player_box .landr_start_btn,
.minilesson_dictate_player_box .dictate_start_btn,
.minilesson_fluency_box .fluency_start_btn,
.minilesson_tgapfill_player_box .tgapfill_start_btn,
.minilesson_lgapfill_player_box .lgapfill_start_btn,
.minilesson_sgapfill_player_box .sgapfill_start_btn,
.minilesson_wordshuffle_player_box .wordshuffle_start_btn {
  /* position: absolute; */
  /* bottom: 0; */
  margin-left: auto;
  margin-right: auto;
  /* margin-top: 80px; */
}

.minilesson_mc_response {
  padding: 10px;
  border: 1px solid black;
  border-radius: 5px;
  background-color: white;
  cursor: pointer;
  font-size: 1.33em;
  overflow: auto;
  margin-bottom: 5px;
}

.minilesson_mc_confirmchoice {
  text-align: center;
  background-color: blue;
  color: white;
  padding: 10px;
  border: 1px solid black;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.33em;
  overflow: auto;
}

.mc_playbutton_container {
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.33em;
}

.minilesson_mc_selected {
  background-color: lightblue;
}

.minilesson_mc_disabled {
  pointer-events: none;
}

.minilesson_mc_disabled {
  pointer-events: none;
}

.minilesson_mc_right {
  color: green;
}

.minilesson_mc_wrong {
  color: red;
}

.minilesson_mc_unanswered {
  color: black;
}

.minilesson_mc_playstate {
  float: right;
}

.minilesson_reportsmenu_box {
  text-align: center;
  display: flex;
}

.minilesson_reportsmenu_item {
  height: 80px;
  width: 150px;
  margin: 10px;
}

.minilesson_reportsmenu_itembutton button {
  height: 80px;
  width: 150px;
}

.mod_minilesson_spokenandcorrect {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5px;
  margin-bottom: 8px;
  max-width: 400px;
  padding: 5px;
  border: 1px solid grey;
}

/* minilesson accordion css*/

ul.minilesson_result {
  list-style: none;
  display: flex;
  /* margin: 10px 20px; */
  margin-left: 0;
  padding-left: 0;
  justify-content: space-between;
}

ul.minilesson_result li:nth-child(1) {
  margin-left: 0;
}

ul.minilesson_result li {
  margin: 0 20px;
}

#itemscores .panel.panel-default {
  box-shadow: 0 0 8px rgb(0 0 0 / 32%);
  margin-left: 46px;
}

#itemscores #accordion .panel-body {
  box-shadow: 0 0 8px rgb(0 0 0 / 32%);
  padding: 11px;
  margin-top: 12px;
  text-align: left;

}

a.accordion-toggle.mod_minilesson_result_title {
  text-decoration: none;
}

.minilessonname {
  background: #ccc;
  padding: 10px;
  font-size: 19px;
}

.mod_minilesson_quiz_finished {
  border: solid 1px #ccc;

}

.mod_minilesson_quiz_finished h1 {
  margin-top: 43px;
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 10px;
}

div#itemscores {
  margin: 0 20px;
}

.quizrating {
  margin-bottom: 31px;
}

.mod_minilesson_result_div .panel-group .panel-heading a:after {
  content: '-';
  float: right;
  font-size: 25px;
}

.mod_minilesson_result_div .panel-group .panel-heading a.collapsed:after {
  content: '+' !important;
}

@media screen and (max-width:922px) {
  .mod_minilesson_result_rating img {
    max-width: 16px;
  }

  ul.minilesson_result li {
    margin: 0px 8px;
    width: 20%;
    font-size: 12px;
  }

}

@media screen and (max-width:480px) {
  ul.minilesson_result {
    display: block;
  }

  ul.minilesson_result li {
    margin: 0 0 14px;
  }

  ul.minilesson_result li {
    margin: 11px 0;
    width: 100%;
    font-size: 16px;
  }

  .mod_minilesson_result_rating img {
    max-width: 100%;
  }
}

span.mod_minilesson_finishedanswer {
  display: block;
}

.mod_minilesson_placeholder {
  width: 100%;
  max-width: 400px;
  height: 300px;
  margin: auto;
}

.mod_minilesson_skeleton_box {
  background-color: #DDDBDD;
  color: grey;
  -webkit-mask: linear-gradient(-60deg, #000 30%, #0005, #000 70%) right/300% 100%;
  background-repeat: no-repeat;
  animation: minilessonshimmer 2.5s infinite;

}

@keyframes minilessonshimmer {
  100% {
    -webkit-mask-position: left
  }
}

.mod_minilesson_spokenandcorrect.minilesson_success {
  background-color: lightgreen;
}

.ttsdialog_actorplusline {
  border: 1px solid darkgray;
  background-color: white;
}

.ttsdialog_text {
  background-color: white;
  min-height: 30px;
  display: flex;
  align-items: center;
}

.ttsdialog_actor {
  margin: auto;
  text-align: center;
}

.ttsdialog_actor.rolea {
  color: blue;
}

.ttsdialog_actor.roleb {
  color: green;
}

.ttsdialog_actor.rolec {
  color: orange;
}

.ttsdialog_actor.rolenone {
  opacity: 0;
}

.mod_minilesson_itemttspassage_cont button.passage-audio-player {
  border: none;
  color: #fff;
  width: 50%;
  height: 30px;
  background-color: green;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 7px;
}


.mod_minilesson_itemttspassage_cont .passageplayer_activesentence {
  background: #c5efcf;
  /* font-weight: bold; */
}
.mod_minilesson_itemttspassage_cont .passageplayer_linebreak {
    height: 1em;
    display: block;
}

.mform [data-root="elementwrapper"] [data-fieldtype="ttsaudio"] button.roundmini-audio-player,
.ttsaudio.container button.roundmini-audio-player {
  background: #5067ff;
  border-radius: 8px;
  border: 1.5px solid #fff;
  color: #fff;
  border-color: #5067ff;
  box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.22);
  outline: 0;

  width: 50px;
  height: 50px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3px;
  margin-top: 3px;
}

.mform [data-root="elementwrapper"] .felement[data-fieldtype="ttsaudio"] .col-form-label {
  padding-left: 0;
}

.mform [data-root="elementwrapper"] [data-fieldtype="ttsaudio"] .samplettsaudio {
  margin-left: 10px;
  margin-top: auto;
}

.mform [data-root="elementwrapper"] [data-fieldtype="ttsaudio"] button.roundmini-audio-player {
  height: auto;
  width: auto;
  padding: 0.375rem 0.675rem;
}

.mform [data-root="elementwrapper"] [data-fieldtype="ttsaudio"] .form-group {
  flex-direction: column;
  align-items: start;
}

.gapfill-container input.single-character,
.gapfill-container input.single-character-mtext {
  width: 26px;
  margin-left: 2px;
  text-align: center;
  background: #F3F4FD9C;
  border: 1px solid #B0B8DC;
  border-radius: 5px;
  padding: 5px 5px;
  font-size: 15px;
  font-weight: 500;
  line-height: 21px;
  letter-spacing: 0;
}

.gapfill-container .form-container input:first-child {
  margin-left: 10px;
}

.gapfill-container .form-container input:last-child {
  margin-right: 10px;
}

.gapfill-container .single-character-mtext {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

.gapfill-container .definition-container {
  display: flex;
  min-height: 100px;
  height: auto;
  margin-bottom: 50px;
  margin-top: 10px;
}

.gapfill-container .form-container {
  margin: 20px auto 22px;
}

.gapfill-container .definition {
  align-self: center;
  width: 50%;
  height: auto;
  min-height: 50px;
  margin: auto;
  background-color: #F2F2FD;
  border-radius: 10px;
  padding: 6px;
  position: relative;
  border-radius: 8px;
}

.gapfill-container .definition .hinticon-container {
  /* position: absolute; */
  float: left;
  background-color: #5067FF;
  color: #FFF;
  width: 30px;
  height: 30px;
  top: 0;
  left: 10px;
  border-radius: 0px 0px 5px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 1px 2px 2px 0px rgba(0, 0, 0, 0.07);
}

/* Listening Gapfill */
.minilesson_lgapfill_player_box {
  box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.12);
  position: relative;
  margin: auto;
  background-color: #FFFFFF;
  border-radius: 8px;
}

.minilesson_lgapfill_player_box .lgapfill_title {
  color: #414C81;
}

.minilesson_lgapfill_player_box .lgapfill_start_btn {
  background-color: #506dff;
  margin-top: 0;
  width: 96px;
  height: 36px;
  border-radius: 8px;
  border-color: #506dff;
  color: #FFFFFF;
}

.minilesson_lgapfill_player_box .lgapfill_start_btn:hover,
.minilesson_lgapfill_player_box .lgapfill_start_btn:focus,
.minilesson_lgapfill_player_box .lgapfill_start_btn:active {
  background-color: #2642CD;
  border-color: #2642CD;
  outline: 0;
  box-shadow: none;
  color: #FFFFFF;
}

.minilesson_lgapfill_player_box .lgapfill_image {
  padding: 20px;
  border-radius: 100%;
  background: #f3ecfc;
}

.minilesson_lgapfill_player_box .lgapfill_prompt {
  position: relative;
  margin-top: 10px;
}

.minilesson_lgapfill_player_box .lgapfill_reply {
  margin-top: 10px;
  position: relative;
}

.lgapfill_error {}

.minilesson_lgapfill_player_box .lgapfill_game {
  min-height: 250px;
  padding: 10px;
  border-top: 1px solid darkgray;
  border-bottom: 1px solid darkgray;
  background-color: rgba(98, 135, 182, 1);
}

.minilesson_lgapfill_player_box .lgapfill_speech {
  position: relative;
  font-family: arial;
  font-size: 16px;
  background: #a53d38;
  color: black;
  border-radius: 10px;
  padding: 20px;
}

.minilesson_lgapfill_player_box .lgapfill_right {
  background-color: white;
}

.minilesson_lgapfill_player_box .lgapfill_teacher_left {
  background-color: rgba(122, 221, 76, 1);
}

.minilesson_lgapfill_player_box .lgapfill_teacher_left:after {
  content: '';
  border: 20px solid transparent;
  border-right-color: rgba(122, 221, 76, 1);
  border-left: 0;
  position: absolute;
  left: -20px;
  top: 50%;
  margin-top: -20px;
}

.minilesson_lgapfill_player_box .lgapfill_right:after {
  content: '';
  border: 20px solid transparent;
  border-left-color: white;
  border-right: 0;
  position: absolute;
  right: -20px;
  top: 50%;
  margin-top: -20px;
}

.minilesson_lgapfill_player_box .lgapfill_speech-icon-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 50px !important;
  height: 50px;
}

.minilesson_lgapfill_player_box .lgapfill_speech-icon-right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 50px !important;
  height: 50px;
}

.minilesson_lgapfill_player_box .lgapfill_mainmenu {
  font-size: 20px;
  padding: 10px;
}

.minilesson_lgapfill_player_box .lgapfill_title {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 0;
  font-size: 24px;
  font-weight: bold;
}

.minilesson_lgapfill_player_box .lgapfill_controls {
  margin-top: 5px;
  background-color: white;
  text-align: center;
}

.minilesson_lgapfill_player_box .lgapfill_results {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 75px;
  background-color: rgba(98, 135, 182, 1);
  font-weight: bold;
  color: white;
  text-align: center;
  z-index: 999;
}

.minilesson_lgapfill_player_box .lgapfill_correct {
  background-color: lightgreen;
}

.minilesson_lgapfill_player_box .lgapfill_incorrect {
  background-color: lightpink;
}

.minilesson_lgapfill_player_box .lgapfill_targetWord {
  padding: 3px;
  border-radius: 5px;
  margin: 5px;
}

.minilesson_lgapfill_player_box .lgapfill_check_btn,
.minilesson_lgapfill_player_box .lgapfill_check_btn:hover,
.minilesson_lgapfill_player_box .lgapfill_check_btn:focus,
.minilesson_lgapfill_player_box .lgapfill_check_btn:active {
  width: 96px;
  height: 36px;
  border-radius: 8px;
  background: #5067FF;
  color: #FFFFFF;
}

.minilesson_lgapfill_player_box .lgapfill_skip_btn,
.minilesson_lgapfill_player_box .lgapfill_skip_btn:hover,
.minilesson_lgapfill_player_box .lgapfill_skip_btn:active,
.minilesson_lgapfill_player_box .lgapfill_skip_btn:focus {
  background: #ffffff;
  border-color: #5067FF;
  border-radius: 10px;
  color: #5067FF;
  margin-left: 10px;
}


.lgapfill_listen_cont {
  text-align: center;
}

/* Typing Gapfill */
.minilesson_tgapfill_player_box {
  position: relative;
  margin: auto;
  border-radius: 8px;
  box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.12);
  background: #FFFFFF;
}

.minilesson_tgapfill_player_box .tgapfill_check_btn,
.minilesson_tgapfill_player_box .tgapfill_check_btn:hover,
.minilesson_tgapfill_player_box .tgapfill_check_btn:focus,
.minilesson_tgapfill_player_box .tgapfill_check_btn:active {
  width: 96px;
  height: 36px;
  border-radius: 8px;
  background: #5067FF;
  color: #FFFFFF;
  border-color: #5067FF;
}

.minilesson_tgapfill_player_box .tgapfill_image {
  padding: 20px;
  border-radius: 100%;
  background: #f3ecfc;
}

.minilesson_tgapfill_player_box .tgapfill_prompt {
  position: relative;
  margin-top: 10px;
}

.minilesson_tgapfill_player_box .tgapfill_reply {
  margin-top: 10px;
  position: relative;
}

.tgapfill_error {}

.minilesson_tgapfill_player_box .tgapfill_game {
  min-height: 250px;
  padding: 10px;
  border-top: 1px solid darkgray;
  border-bottom: 1px solid darkgray;
  background-color: rgba(98, 135, 182, 1);
}

.minilesson_tgapfill_player_box .tgapfill_speech {
  position: relative;
  font-family: arial;
  font-size: 16px;
  background: #a53d38;
  color: black;
  border-radius: 10px;
  padding: 20px;
}

.minilesson_tgapfill_player_box .tgapfill_right {
  background-color: white;
}

.minilesson_tgapfill_player_box .tgapfill_teacher_left {
  background-color: rgba(122, 221, 76, 1);
}

.minilesson_tgapfill_player_box .tgapfill_teacher_left:after {
  content: '';
  border: 20px solid transparent;
  border-right-color: rgba(122, 221, 76, 1);
  border-left: 0;
  position: absolute;
  left: -20px;
  top: 50%;
  margin-top: -20px;
}

.minilesson_tgapfill_player_box .tgapfill_right:after {
  content: '';
  border: 20px solid transparent;
  border-left-color: white;
  border-right: 0;
  position: absolute;
  right: -20px;
  top: 50%;
  margin-top: -20px;
}

.minilesson_tgapfill_player_box .tgapfill_speech-icon-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 50px !important;
  height: 50px;
}

.minilesson_tgapfill_player_box .tgapfill_speech-icon-right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 50px !important;
  height: 50px;
}

.minilesson_tgapfill_player_box .tgapfill_mainmenu {
  font-size: 20px;
  padding: 10px;
}

.minilesson_tgapfill_player_box .tgapfill_title {
  color: #414C81;
}

.minilesson_tgapfill_player_box .tgapfill_start_btn {
  margin-top: 0;
  width: 96px;
  height: 36px;
  border-radius: 8px;
  background-color: #506DFF;
  border-color: #506DFF;
}

.minilesson_tgapfill_player_box .tgapfill_start_btn:hover,
.minilesson_tgapfill_player_box .tgapfill_start_btn:active,
.minilesson_tgapfill_player_box .tgapfill_start_btn:focus {
  background-color: #2642CD;
  border-color: #2642CD;
  outline: 0;
  box-shadow: unset;
}

.minilesson_tgapfill_player_box .tgapfill_title {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 0;
  font-size: 24px;
  font-weight: bold;
}

.minilesson_tgapfill_player_box .tgapfill_controls {
  margin-top: 5px;
  background-color: white;
  text-align: center;
}

.minilesson_tgapfill_player_box .tgapfill_results {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 75px;
  background-color: rgba(98, 135, 182, 1);
  font-weight: bold;
  color: white;
  text-align: center;
  z-index: 999;
}

.minilesson_tgapfill_player_box .tgapfill_correct {
  background-color: lightgreen;
}

.minilesson_tgapfill_player_box .tgapfill_incorrect {
  background-color: lightpink;
}

.minilesson_tgapfill_player_box .tgapfill_targetWord {
  padding: 3px;
  border-radius: 5px;
  margin: 5px;
}

.minilesson_tgapfill_player_box .tgapfill_skip_btn,
.minilesson_tgapfill_player_box .tgapfill_skip_btn:hover,
.minilesson_tgapfill_player_box .tgapfill_skip_btn:active,
.minilesson_tgapfill_player_box .tgapfill_skip_btn:focus {
  background: #fff;
  border-color: #5067ff;
  border-radius: 10px;
  color: #5067ff;
  margin-left: 10px;
}

/* SGAPFILL */

.sgapfill_listen_cont {
  text-align: center;
}

.minilesson_sgapfill_player_box {
  position: relative;
  margin: auto;
  border-radius: 8px;
  box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.12);
  background-color: #FFFFFF;
}

.minilesson_sgapfill_player_box .sgapfill_title {
  color: #414C81;
}

.minilesson_sgapfill_player_box .sgapfill_prompt {
  position: relative;
  margin-top: 10px;
}

.minilesson_sgapfill_player_box .sgapfill_reply {
  margin-top: 10px;
  position: relative;
}

.minilesson_sgapfill_player_box .sgapfill_error {}

.minilesson_sgapfill_player_box .sgapfill_game {
  min-height: 250px;
  padding: 10px;
  border-top: 1px solid darkgray;
  border-bottom: 1px solid darkgray;
  background-color: rgba(98, 135, 182, 1);
}

.minilesson_sgapfill_player_box .sgapfill_speech {
  position: relative;
  font-family: arial;
  font-size: 16px;
  background: #a53d38;
  color: black;
  border-radius: 10px;
  padding: 20px;
}

.minilesson_sgapfill_player_box .sgapfill_right {
  background-color: white;
}

.minilesson_sgapfill_player_box .sgapfill_teacher_left {
  background-color: rgba(122, 221, 76, 1);
}

.minilesson_sgapfill_player_box .sgapfill_teacher_left:after {
  content: '';
  border: 20px solid transparent;
  border-right-color: rgba(122, 221, 76, 1);
  border-left: 0;
  position: absolute;
  left: -20px;
  top: 50%;
  margin-top: -20px;
}

.minilesson_sgapfill_player_box .sgapfill_right:after {
  content: '';
  border: 20px solid transparent;
  border-left-color: white;
  border-right: 0;
  position: absolute;
  right: -20px;
  top: 50%;
  margin-top: -20px;
}

.minilesson_sgapfill_player_box .sgapfill_speech-icon-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 50px !important;
  height: 50px;
}

.minilesson_sgapfill_player_box .sgapfill_speech-icon-right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 50px !important;
  height: 50px;
}

.minilesson_sgapfill_player_box .sgapfill_mainmenu {
  font-size: 20px;
  padding: 10px;
}

.minilesson_sgapfill_player_box .sgapfill_image {
  padding: 20px;
  border-radius: 100%;
  background: #f3ecfc;
}

.minilesson_sgapfill_player_box .sgapfill_start_btn {
  background-color: #506DFF;
  border-radius: 8px;
  width: 96px;
  height: 36px;
  margin-top: 0;
  border-color: #506DFF;
}

.minilesson_sgapfill_player_box .sgapfill_start_btn:hover,
.minilesson_sgapfill_player_box .sgapfill_start_btn:focus,
.minilesson_sgapfill_player_box .sgapfill_start_btn:active {
  background-color: #2642CD;
  border-color: #2642CD;
  outline: 0;
  box-shadow: unset;
}

.minilesson_sgapfill_player_box .sgapfill_title {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 0;
  font-size: 24px;
  font-weight: bold;
}

.minilesson_sgapfill_player_box .sgapfill_controls {
  margin-top: 5px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.minilesson_sgapfill_player_box .sgapfill_controls .sgapfill_ctrl-btn {
  /*width: 50%;*/
  /* float: left; */
}

.minilesson_sgapfill_player_box .sgapfill_speakbtncontainer {
  /*
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  */
  height: 75px;
  /* background-color: rgba(98, 135, 182, 1); */
  text-align: center;
  display: none;
}

.minilesson_sgapfill_player_box .sgapfill_results {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 75px;
  background-color: rgba(98, 135, 182, 1);
  font-weight: bold;
  color: white;
  text-align: center;
  z-index: 999;
}

.minilesson_sgapfill_player_box .sgapfill_correct {
  background-color: lightgreen;
}

.minilesson_sgapfill_player_box .sgapfill_incorrect {
  background-color: lightpink;
}

.minilesson_sgapfill_player_box .sgapfill_targetWord {
  padding: 3px;
  border-radius: 5px;
  margin: 5px;
}

.minilesson_sgapfill_player_box .sgapfill_skip_btn,
.minilesson_sgapfill_player_box .sgapfill_skip_btn:hover,
.minilesson_sgapfill_player_box .sgapfill_skip_btn:active,
.minilesson_sgapfill_player_box .sgapfill_skip_btn:focus {
  border: 1px;
  border-style: solid;
  border-color: #506dff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  margin: auto;
  background-color: #fff;
  color: #506dff;
}

/* the background color of gapfill words char inputs when marked correct */
.gapfill-container input.single-character.ml_gapfill_char_correct {
  background-color: palegreen;
}

/* the background color of gapfill words char inputs when marked correct */
.gapfill-container .ml_gapfill_char_correct {
  background-color: palegreen;
}

/* the background color of gapfill words char inputs when marked correct */
.gapfill-container sgapfill_missing_input.ml_gapfill_char_correct {
  background-color: palegreen;
}

body.poodll-minilesson-embed #page {
  margin-top: 5px;
}

.mod_minilesson_rtl {
  direction: rtl;
  text-align: right;
}

.ml_mediaprompt_instructions {
  margin-bottom: 30px;
  margin-left: 25%;
}

/* H5P */
.minilesson_bq_resultbox {
  float: right;
  padding-left: 8px;
}

.bqplayrow {
  margin: 5px 5px 10px 5px;
  padding: 0;
  padding-top: 5px;
  padding-bottom: 5px;
}

.minilesson_bq_response {
  padding: 10px;
  border: 1px solid black;
  border-radius: 5px;
  background-color: white;
  cursor: pointer;
  font-size: 1.33em;
  overflow: auto;
}

.minilesson_bq_confirmchoice {
  text-align: center;
  background-color: blue;
  color: white;
  padding: 10px;
  border: 1px solid black;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.33em;
  overflow: auto;
}

.minilesson_bq_selected {
  background-color: lightblue;
}

.minilesson_bq_disabled {
  pointer-events: none;
}

.minilesson_bq_disabled {
  pointer-events: none;
}

.minilesson_bq_right {
  color: green;
}

.minilesson_bq_wrong {
  color: red;
}

.minilesson_bq_unanswered {
  color: black;
}

.minilesson_bq_playstate {
  float: right;
}

/* Activity */
.minilesson_loading {
  margin: 20px;
  padding: 10px;
  text-align: center;
}

.minilesson_loadingtext {
  margin: 10px;
}

#minilesson-results {
  display: none;
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
}

#minilesson-gameboard {
  display: none;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  max-width: 1200px;
}

.path-mod-minilesson #mod_minilesson_spacegame {
  background-color: #000;
  width: 100%;
}

.mod_minilesson_activity_header {
  color: #281D5B;
  margin-bottom: 24px;
  margin-top: 24px;
}

#minilesson-results .try-again-or-next,
#minilesson-results .show-detailed-feedback {
  text-align: center;
}

.ml-spacegame-correct {
  background-color: rgba(0, 255, 0, .5) !important;
  border: 1px solid black;
  border-radius: 5px;
  padding: 1px;
}

.ml-spacegame-incorrect {
  background-color: rgba(255, 0, 0, .5) !important;
  border: 1px solid black;
  border-radius: 5px;
  padding: 1px;
}

.ml-spacegame-basic_feedback {
  text-align: center;
  padding: 10px;
  margin-bottom: 5px;
  border: 1px solid darkgray;
}

.ml-spacegame-detailed_feedback_div {
  text-align: left;
  padding: 10px;
  font-size: 20px;
  border-radius: 5px;
  margin: 5px;
  display: inline-block;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  vertical-align: top;
}

.ml-spacegame-bigbutton {
  width: 50%;
  margin: auto;
}

.mlfsr_correctedtext_container,
.mlfsr_originaltext_container {
  border: 1px solid grey;
  padding: 6px;
  font-size: large;
}

.mod_minilesson_mu_passage_word.pr_correct,
.mod_minilesson_mu_passage_space.pr_correct {
  text-decoration: underline;
  text-decoration-color: green;
  background-color: #c5efcf;
}

.mod_minilesson_mu_passage_word.pr_incorrect,
.mod_minilesson_mu_passage_space.pr_incorrect {
  text-decoration: underline;
  text-decoration-color: red;
  background-color: #ffcaca;
}

.mod_minilesson_mu_passage_space.pr_unreached,
.mod_minilesson_mu_passage_word.pr_unreached {
  background-color: rgb(234, 229, 229);
}

.ml_recsession {
  width: 150px;
  margin: auto;
  text-align: center;
}

.ml_passagereading_passage {
  border: 1px solid grey;
  border-radius: 0.5em;
  padding: 8px;
  font-size: large;
  margin-bottom: 15px;
}

.ml_passagereading_resultscontainer,
.ml_freespeaking_results_summaries {
  display: flex;
  justify-content: space-between;
  border: 1px solid grey;
  padding: 4px;
}

.ml_rp_resultcell,
.ml_fs_results_summary {
  text-align: center;
}

.ml_rp_resultcell_title,
.ml_fs_sumcell_title {
  font-size: 0.8em;
  display: block;
}

/* FreeSpeaking */

.mod_minilesson_grading_badword {
  /*
  color: red;
  background-color: #ffcaca;
  padding: 5px;
  border-radius: 5px 5px 5px;
  border: 1px solid red;
  position: relative;
  */
  text-decoration: underline #0000FF;
  font-weight: bold;
}

.mod_minilesson_grading_endspace {
  /*
  color: blue;
  background-color: #cacaff;
  padding: 5px;
  border-radius: 5px 5px 5px;
  border: 1px solid blue;
  position: relative;
  */
}

.mod_minilesson_mu_passage_space {
  /* padding: 2px; */
}

div.mod_minilesson_postattempt .mod_minilesson_grading_unreadword {
  text-decoration: none;
  background-color: lightgrey;
}

div.mod_minilesson_postattempt .mod_minilesson_grading_unreadspace {
  background-color: lightgrey;
  padding: 0px 2px;
}

.mod_minilesson_grading_unreadword {
  color: #F13B3B;
  font-weight: 700;
}

.mod_minilesson_mu_passage_word.mod_minilesson_aicorrected,
.mod_minilesson_mu_passage_space.mod_minilesson_aicorrected {
  background-color: lightpink;
}

.mod_minilesson_mu_passage_word.asf_cp_aiomitted,
.mod_minilesson_mu_passage_space.asf_cp_aiomitted {
  text-decoration: line-through;
}

.mod_minilesson_mu_passage_word.mod_minilesson_aiunmatched {
  /*background-color: lightgrey;*/
}

.mod_minilesson_mu_passage_space.mod_minilesson_aiunmatched {
  /*background-color: lightgrey;*/
  text-decoration: underline #0000FF;
  font-weight: bold;
}

.mod_minilesson_corrections {
  text-align: left;
  font-style: normal;
}

/* delete? */
span.mod_minilesson_corrections_suggestedword {
  font-weight: bold;
  background-color: lightgreen;
}

span.mod_minilesson_corrections_insertionword {
  font-weight: bold;
  background-color: lightgreen;
}

span.mod_minilesson_corrections_omittedword {
  font-weight: bold;
  background-color: lightgreen;
  word-spacing: 5px;
}

span.mod_minilesson_mu_original_preword,
span.mod_minilesson_mu_original_postword {
  font-weight: 500;
  background-color: antiquewhite;
}

.mod_minilesson_overflow_auto {
  overflow: auto;
}

.ml_listitem_result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px;
}

.ml_listitem_result .ml_li_resultitem {
  display: flex;
  flex-wrap: wrap;
  flex-grow: 1;
  margin-left: 3px;
  margin-right: 3px;
}

.ml_listitem_result .ml_li_resultaudio,
.ml_listitem_result .ml_li_resultstatus {
  flex-shrink: 0;

}

.ml_listitem_result .ml_li_resultaudio {
  color: #D0CED7;
}

.ml_listitem_result .ml_li_resultstatus {
  padding: 3px;
  margin: 5px;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border-radius: 50%;
  border: none;
}

.ml_listitem_result .ml_li_resultstatus.ml_correct {
  background-color: #74DC72;
}

.ml_listitem_result .ml_li_resultstatus.ml_incorrect {
  background-color: #FB6363;
}

.ml_listitem_results_header h3 {
  text-align: center;
  padding-top: 7px;
}

.minilesson_resultspanel_swish {
  text-align: center;
  font-size: x-large;
}

.ml_freewriting_submitbutton {
  margin: auto;
  width: 80%;
}

textarea.ml_freewriting_textarea {
  width: 100%;
}

.ml_freewriting_actionbox {
  text-align: center;
}

.ml_qf_itemresults {
  max-width: 80%;
  margin: auto;
}

.minilesson_mc_image {
  position: relative;
  /* Needed for padding trick */
  width: 100%;
  padding-bottom: 75%;
  /* Example aspect ratio (4:3). Adjust as needed */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.minilesson_mc_image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: scale-down;
  /* or contain */
}

/* Fluency */
.minilesson_fluency_box .item-feedback-container {
  display: flex;
  background-color: #FFFFFF;
  height: 50px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 1.1rem;
  padding: 2px;
  margin-bottom: 50px
}

.minilesson_fluency_box .item-results-container {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 1.1rem;
  padding: 2px;
  margin-bottom: 5px
}


.minilesson_fluency_box .form-container {
  margin: 20px auto 22px;
  min-height: 50px;
}

.minilesson_fluency_box .item-results {
  align-self: center;
  width: 80%;
  margin: auto;
  border: 1px solid #ccc;
  background-color: white;
  border-radius: 10px;
  padding: 6px;
  font-style: italic;
}

.fluency_listen_cont {
  text-align: center;
}

.minilesson_fluency_box {
  position: relative;
  margin: auto;
  box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background-color: #FFFFFF;
}

.minilesson_fluency_box .fluency_description,
.minilesson_sgapfill_player_box .sgapfill_description,
.minilesson_tgapfill_player_box .tgapfill_description,
.minilesson_lgapfill_player_box .lgapfill_description,
.minilesson_dictate_player_box .dictate_description,
.minilesson_landr_player_box .landr_description,
.minilesson_wordshuffle_player_box .wordshuffle_description {
  color: #1F2334;
  font-weight: 400;
  font-size: 15px;
  line-height: 21px;
  letter-spacing: 0;
  margin-left: auto;
  margin-right: auto;
  width: calc(70%);
}

.minilesson_fluency_box .fluency_image {
  padding: 20px;
  border-radius: 100%;
  background: #F3ECFC;
}

.minilesson_fluency_box .fluency_start_btn {
  background-color: #506dff;
  margin-top: 0;
  width: 96px;
  height: 36px;
  border-radius: 8px;
  color: #FFFFFF;
  border-color: #506dff;
}

.minilesson_fluency_box .fluency_start_btn:hover,
.minilesson_fluency_box .fluency_start_btn:focus,
.minilesson_fluency_box .fluency_start_btn:active {
  background-color: #2642CD;
  border-color: #2642CD;
  outline: 0;
  box-shadow: unset;
  color: #FFFFFF;
}

.minilesson_fluency_box .fluency_prompt {
  position: relative;
  margin-top: 10px;
  font-size: 1.3em;
}

.minilesson_fluency_box .fluency_reply {
  margin-top: 10px;
  position: relative;
}

.minilesson_fluency_box .fluency_game {
  min-height: 250px;
  padding: 10px;
  border-top: 1px solid darkgray;
  border-bottom: 1px solid darkgray;
  background-color: rgba(98, 135, 182, 1);
}

.minilesson_fluency_box .fluency_speech {
  position: relative;
  font-family: arial;
  font-size: 16px;
  background: #a53d38;
  color: black;
  border-radius: 10px;
  padding: 20px;
}

.minilesson_fluency_box .fluency_right {
  background-color: white;
}

.minilesson_fluency_box .fluency_teacher_left {
  background-color: rgba(122, 221, 76, 1);
}

.minilesson_fluency_box .fluency_teacher_left:after {
  content: '';
  border: 20px solid transparent;
  border-right-color: rgba(122, 221, 76, 1);
  border-left: 0;
  position: absolute;
  left: -20px;
  top: 50%;
  margin-top: -20px;
}

.minilesson_fluency_box .fluency_right:after {
  content: '';
  border: 20px solid transparent;
  border-left-color: white;
  border-right: 0;
  position: absolute;
  right: -20px;
  top: 50%;
  margin-top: -20px;
}

.minilesson_fluency_box .fluency_speech-icon-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 50px !important;
  height: 50px;
}

.minilesson_fluency_box .fluency_speech-icon-right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 50px !important;
  height: 50px;
}

.minilesson_fluency_box .fluency_mainmenu {
  height: auto;
  font-size: 20px;
  padding: 10px;
}

.minilesson_fluency_box .fluency_title {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 0;
  font-size: 24px;
  font-weight: bold;
  color: #414C81;
}

.minilesson_fluency_box .fluency_maintitle,
.minilesson_lgapfill_player_box .lgapfill_maintitle,
.minilesson_sgapfill_player_box .sgapfill_maintitle,
.minilesson_landr_player_box .landr_maintitle,
.minilesson_dictate_player_box .dictate_maintitle,
.minilesson_tgapfill_player_box .tgapfill_maintitle,
.minilesson_wordshuffle_player_box .wordshuffle_maintitle {
  border-bottom: 1px solid #e6e9fd;
  padding: 24px;
  text-align: center;
  font-weight: 400;
  font-style: italic;
  line-height: 21px;
  letter-spacing: 0;
  color: #1F2334;
}

.minilesson_fluency_box .fluency_prompt {
  color: #1F2334;
}

.minilesson_fluency_box .fluency_controls {
  margin-top: 5px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.minilesson_fluency_box .fluency_speakbtncontainer {

  height: 75px;
  /* background-color: rgba(98, 135, 182, 1); */
  text-align: center;
  display: none;
}

.minilesson_fluency_box .fluency_results {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 75px;
  background-color: rgba(98, 135, 182, 1);
  font-weight: bold;
  color: white;
  text-align: center;
  z-index: 999;
}

.minilesson_fluency_box .fluency_correct {
  background-color: lightgreen;
}

.minilesson_fluency_box .fluency_incorrect {
  background-color: lightpink;
}

.minilesson_fluency_box .fluency_targetWord {
  padding: 3px;
  border-radius: 5px;
  margin: 5px;
}

.minilesson_fluency_box .fluency_skip_btn,
.minilesson_fluency_box .fluency_skip_btn:hover,
.minilesson_fluency_box .fluency_skip_btn:active,
.minilesson_fluency_box .fluency_skip_btn:focus {
  border: 1px;
  border-style: solid;
  border-color: #506dff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  margin: auto;
  background-color: #fff;
  color: #506dff;
}

.minilesson_fluency_box .item-results-container .fa-star {
  color: gold;
  font-size: 1.5em;
}

.minilesson_fluency_box .item-results-container .fa-star-o {
  color: gray;
  font-size: 1.5em;
}

div.fluencywordresult {
  /* display: flex; */
  flex-wrap: nowrap;
  gap: 3px;
  /* margin-top: 10px; */
  margin: 5px;
}

span.fluencyletterresult {
  padding: 3px 5px;
  border-radius: 5px;
  border: 1px solid transparent;
  background-color: #f9f9f9;
  cursor: default;
}

span.fluencyletterresult.letter_missing {
  background-color: #FCF9EB;
  color: gray;
}

span.fluencyletterresult.letter_fair {
  background-color: #FCF9EB;
  color: #CC7B02;
}

span.fluencyletterresult.letter_good {
  background-color: #F2FBF0;
  color: #099506;
}

span.fluencyletterresult.letter_wrong {
  background-color: #FCF5F5;
  color: #FD1515;
}

.btn.fluency_listen_btn.audioself {
  color: #FFFFFF;
}

.btn.ml_li_resultaudioself {
  color: #D0CED7;
}

.fluency_listen_cont .fluency_listen_btn,
.fluency_listen_cont .fluency_listen_btn:hover,
.fluency_listen_cont .fluency_listen_btn:active,
.fluency_listen_cont .fluency_listen_btn:focus {
  background: #5067ff;
  border-radius: 8px;
  border: 1.5px solid #fff;
  color: #fff;
  border-color: #5067ff;
  box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.22);
  outline: 0;
}

.minilesson_sentence_image {
  max-width: 400px;
  width: 75%;
  margin-left: auto;
  margin-right: auto;
}

.minilesson_padded_image {
  position: relative;
  /* Needed for padding trick */
  width: 100%;
  padding-bottom: 75%;
  /* Example aspect ratio (4:3). Adjust as needed */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.minilesson_padded_image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: scale-down;
  /* or contain */
}


.element-sentenceprompt-container {
  display: flex;
  border: 1px solid rgb(203, 213, 225);
  border-radius: 0.5rem;
  overflow: hidden;
  max-height: 32rem;
}

.element-sentenceprompt-container .sentenceprompt__textarea {
  border: none;
  outline: none;
  padding: 0.5rem;
  width: 100%;
}

.element-sentenceprompt-container .sentenceprompt__lines {
  border-right: 1px solid rgb(203, 213, 225);
  padding: 0.5rem;
  text-align: right;
  overflow: hidden;
}

.element-sentenceprompt-container .sentenceprompt__textarea:focus {
  box-shadow: none;
}

div.mcaudiotranscript {
  flex-grow: 1;
}

div.mcaudioplayer,
div.poodlldictationplayer {
  position: relative;
  min-width: 50px;
}

.poodlldictationinput {
  flex-grow: 1;
}

.poodlldictationstatus {
  text-align: center;
  position: relative;
  min-width: 50px;
}

.pgapfill_gap_wrapper {
  display: inline-block;
  vertical-align: middle;
}

.pgapfill_passage {
  line-height: 2.0;
}

.pgapfull_monospace {
  font-family: "Roboto Mono", monospace;
  font-size: 1.2rem;
}

.pgapfull_monospace .fa {
  font-size: 1rem;
}

.pgapfill_gap_wrapper .character-input {
  display: inline-block;
  border: 1px inset #767676;
  /* vertical-align: middle; */
  line-height: initial !important;
  height: auto;
  padding: 6px 4px;
  border: 1px inset rgb(118, 118, 118);
}

.pgapfill_gap_wrapper .character-input:placeholder-shown {
  /*
    letter-spacing: 0.25rem;
    */
}

.pgapfill_gap_wrapper.pgapfill_gap_reviewing .pgapfill_gap_input,
.pgapfill_gap_wrapper.psg_gapfill_correct .pgapfill_gap_input {
  background-color: lightgreen;
}

.pgapfill_gap_wrapper.psg_gapfill_correct .correctIcon {
  color: green;
}

.pgapfill_gap_wrapper.psg_gapfill_wrong .wrongIcon {
  color: red;
}

.pgapfill_gap_wrapper:not(.psg_gapfill_wrong) .wrongIcon,
.pgapfill_gap_wrapper:not(.psg_gapfill_correct) .correctIcon {
  display: none;
}

.minilesson_pgapfill_box .pgapfill_controls {
  position: relative;
  margin-top: 10px;
  ;
  height: 35px;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.minilesson_pgapfill_box .pgapfill_hint_btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.minilesson_pgapfill_box .pgapfill_finish_btn,
.minilesson_pgapfill_box .pgapfill_finish_btn:hover,
.minilesson_pgapfill_box .pgapfill_finish_btn:focus,
.minilesson_pgapfill_box .pgapfill_finish_btn:active {
  width: 96px;
  height: 36px;
  border-radius: 8px;
  background: #5067FF;
  color: #FFFFFF;
}


.minilesson_pgapfill_box .pgapfill_hint_btn,
.minilesson_pgapfill_box .pgapfill_hint_btn:hover,
.minilesson_pgapfill_box .pgapfill_hint_btn:active,
.minilesson_pgapfill_box .pgapfill_hint_btn:focus {
  background: #fff;
  border-color: #5067ff;
  border-radius: 10px;
  color: #5067ff;
  margin-left: 10px;
}


.audiostoryplayer {
  margin: 0;
  padding: 20px;
  background: #111;
  font-family: sans-serif;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mod_minilesson_audiostory_cont {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.audiostory_audio {
  /* width: 80%; */
  max-width: 600px;
}

.audiostory_slideshow_container {
  width: 100%;
  /* max-width: 600px; */
  /* Keeps it nice on larger screens */
  aspect-ratio: 3 / 2;
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.audiostory_image_container {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: 110%;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.3) translate(0, 0);
  transition: opacity 1s ease-in-out;
  /* 👈 Crossfade transition */
}

.audiostory_image_container img {
  height: auto;
  object-fit: cover;
  width: 120%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.audiostory_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.audiostory_play_button {
  font-size: 2rem;
  background: white;
  border: none;
  padding: 1em 2em;
  border-radius: 1em;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.audiostory_caption {
  min-height: 45px;
}

.progress-container .progress {
  background-color: #E6E9FD;
  border-radius: 8px;
}

.progress-container {
  padding: 5px 8px;
  display: flex;
  align-items: center;
}

.progress-container .progress.active {
  margin-left: 5px;
}

/* Speedy Audio Player */
.ml_speedyplayer_row {
  display: flex;
  align-items: center;
  flex-direction: row;
  width: auto;
  /* Or define a specific width for desktop */
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  max-width: 600px;
  margin: 5px auto;
}

.ml_speedyplayer_row audio {
  flex: none;
  /* Prevent shrinking/growing */
  margin-right: 10px;
  /* Space to the right of the audio player */
  margin-bottom: 0;
  /* Ensure no bottom margin from small screen styles */
  display: block;
  /* Ensure it behaves like a block element */
}

div.ml_speedyplayer_row_buttons {
  display: flex;
  /* Button container is always a flex container */
  flex-direction: row;
  /* Buttons are always in a row */
  width: auto;
  /* Or define a specific width for desktop */
  justify-content: space-around;
  /* Example: Distribute space among buttons */
  align-items: center;
  /* Vertically center buttons within their container */
  padding: 0;
  /* Adjust padding as needed */
  margin: 0;
  /* Ensure no margin if spacing is handled by button margins */
}

.ml_speedyplayer_row .speedy_btn {
  flex: 1;
  /* Make buttons grow to fill container space equally */
  margin: 0 5px;
  /* Add horizontal margin between buttons */
  width: auto;
  /* Let flex control width, remove fixed width */
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  background: #4a90e2;
  color: white;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ml_speedyplayer_row .speedy_btn:hover {
  background: #357ab8;
}

.ml_speedyplayer_row .speedy_btn {
  gap: 6px;
}

.ml_speedyplayer_label {
  line-height: 1;
  vertical-align: middle;
  display: inline-block;
}

.fluencyaudiobox .minilesson_fluency_box .fluency_mainstage .fluency_controls .fluency_skip_btn .mobileaccesshide {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 480px) {

  /* Adjust breakpoint as needed */
  div.ml_speedyplayer_row {
    width: 100%;
    /* Full width on small screens */
    /* flex-direction is already column, keep it */
    align-items: center;
    /* Center content horizontally */
    padding: 10px;
    /* Or adjust padding as needed */
    margin: 5px auto;
    /* Center the container itself */
  }

  div.ml_speedyplayer_row audio {
    width: 100%;
    /* Audio player takes full width */
    flex: none;
    margin-bottom: 10px;
    /* Space below audio */
    /* Ensure display is block if needed, but flex: none with width 100% is usually sufficient */
    display: block;
  }

  div.ml_speedyplayer_row_buttons {
    display: flex;
    /* Make this a flex container for buttons */
    flex-direction: row;
    /* Arrange buttons horizontally */
    width: 100%;
    /* Button container takes full width */
    justify-content: space-around;
    /* Example: Even space around buttons */
    align-items: center;
    /* Vertically center buttons */
    padding: 0;
    /* Adjust padding as needed */
    margin-top: 0;
    /* Remove top margin if any */
  }

  div.ml_speedyplayer_row_buttons>button {
    flex: 1;
    /* Make buttons grow to fill container space equally */
    margin: 0 5px;
    /* Horizontal margin between buttons */
    /* Remove any fixed width if using flex: 1 */
    width: auto;
  }
}

.mod_minilesson_aigenpageexplanation {
  margin: 10px auto;
}

@media (max-width: 480px) {

  .landr_skip_btn .mobileaccesshide,
  .fluency_skip_btn .mobileaccesshide,
  .sgapfill_skip_btn .mobileaccesshide {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

.form-input-phrase-online {
  text-wrap: nowrap;
}

#page-mod-minilesson-aigen .table-dynamic[data-table-handler="usages"][data-table-total-rows="0"] {
  display: none;
}

.ml_mediaprompt_instructions {}

/* Ai Chat */

@keyframes minilesson_bounce {

  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }

  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

.minilesson_audiochat_box * {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

.minilesson_audiochat_box .ml_unique_mainwrapper {
  padding: 1rem;
  min-height: 70vh;
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

.minilesson_audiochat_box .ml_unique_container {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.minilesson_audiochat_box .ml_unique_loading> :not([hidden])~ :not([hidden]),
.minilesson_audiochat_box .ml_unique_avatarsection> :not([hidden])~ :not([hidden]),
.minilesson_audiochat_box .ml_unique_avatarblock> :not([hidden])~ :not([hidden]),
.minilesson_audiochat_box .ml_unique_maincontent> :not([hidden])~ :not([hidden]),
.minilesson_audiochat_box .ml_unique_messagescontainer> :not([hidden])~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse))
}

.minilesson_audiochat_box .ml_unique_sessioncontrols {
  text-align: center
}

.minilesson_audiochat_box .ml_unique_avatarblock {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.5rem
}

.minilesson_audiochat_box .ml_unique_avatar {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  border-radius: 0.5rem;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  max-width: 100%;
  height: auto;
}

.minilesson_audiochat_box .ml_unique_avatarsection {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.minilesson_audiochat_box .ml_unique_readymsg {
  --tw-text-opacity: 1;
  color: rgb(22 163 74 / var(--tw-text-opacity, 1));
  font-weight: 500;
}

.minilesson_audiochat_box .ml_unique_micselectbox {
  text-align: center;
  width: 100%;
}

.minilesson_audiochat_box .ml_unique_miclabel {
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
  margin-bottom: 0.25rem;
}

.minilesson_audiochat_box .ml_unique_micselect {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
  border-radius: 0.375rem;
  max-width: 250px;
}

.minilesson_audiochat_box .ml_unique_micselect:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: '';
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-shadow: 0 0 #0000;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.minilesson_audiochat_box .ml_unique_buttoncontainer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  position: relative;
}

.minilesson_audiochat_box .ml_unique_startbtn {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  border-radius: 0.375rem;
  --tw-ring-shadow: 0 0 #0000;
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.minilesson_audiochat_box .ml_unique_startbtn:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(29 78 216 / var(--tw-bg-opacity, 1));
}

.minilesson_audiochat_box .ml_unique_startbtn:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-width: 2px;
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1));
  --tw-ring-inset: "";
  --tw-ring-offset-color: #fff;
  --tw-shadow: 0 0 #0000;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.minilesson_audiochat_box .ml_unique_loading {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.minilesson_audiochat_box .ml_unique_loadingdots {
  display: flex;
}

.minilesson_audiochat_box .ml_unique_loadingdots>.ml_unique_loadingdot {
  animation: minilesson_bounce 1s infinite;
}

.minilesson_audiochat_box .ml_unique_loadingdots>.ml_unique_loadingdot:nth-child(2) {
  animation-delay: 0.1s;
}

.minilesson_audiochat_box .ml_unique_loadingdots>.ml_unique_loadingdot:nth-child(3) {
  animation-delay: 0.2s;
}

.minilesson_audiochat_box .ml_unique_loadingdots>.ml_unique_loadingdot:nth-child(4) {
  animation-delay: 0.3s;
}

.minilesson_audiochat_box .ml_unique_loadingdots>.ml_unique_loadingdot:nth-child(5) {
  animation-delay: 0.4s;
}

.minilesson_audiochat_box .ml_unique_loadingdot {
  width: 0.5rem;
  height: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
  border-radius: 9999px;
}

.minilesson_audiochat_box .ml_unique_loadingtext {
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

.minilesson_audiochat_box .ml_unique_cancelstartbtn {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  border-radius: 0.375rem;
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.minilesson_audiochat_box .ml_unique_cancelstartbtn:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(185 28 28 / var(--tw-bg-opacity, 1));
}

.minilesson_audiochat_box .ml_unique_cancelstartbtn:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-width: 2px;
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1));
  --tw-ring-inset: "";
  --tw-ring-offset-color: #fff;
  --tw-shadow: 0 0 #0000;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.minilesson_audiochat_box .ml_unique_stopbtn {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  border-radius: 0.375rem;
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin-left: auto
}

.minilesson_audiochat_box .ml_unique_stopbtn:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(185 28 28 / var(--tw-bg-opacity, 1));
}

.minilesson_audiochat_box .ml_unique_stopbtn:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-width: 2px;
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1));
  --tw-ring-offset-color: #fff;
  --tw-ring-inset: "";
  --tw-shadow: 0 0 #0000;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.minilesson_audiochat_box .ml_unique_micbtnwrapper {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
  margin-left: auto;
  position: absolute;
  width: 48px;
  /* w-12 */
  height: 48px;
  /* h-12 */
  border-radius: 9999px;
  /* rounded-full */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Ensure canvas stays within bounds */
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  /* Add box-shadow transition */
  box-shadow: 0 0 0 0px rgba(59, 130, 246, 0);
}

.minilesson_audiochat_box .ml_unique_micbtnwrapper.active {
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.5);
  display: block;
  /* Blue shadow when active */
}

.minilesson_audiochat_box .ml_unique_micbtnwrapper.bg-blue-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
}

.minilesson_audiochat_box .ml_unique_micbtnwrapper.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.minilesson_audiochat_box .ml_unique_micbtnwrapper.bg-gray-200 {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}

.minilesson_audiochat_box .ml_unique_micbtnwrapper.text-gray-800 {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
}

.minilesson_audiochat_box .ml_unique_micbtnwrapper.hidden {
  display: none;
}

.minilesson_audiochat_box .ml_unique_micbtnwrapper:not(.active) .ml_unique_micsvg {
  opacity: 1;
}

.minilesson_audiochat_box .ml_unique_waveformcanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  z-index: 0;
}

.minilesson_audiochat_box .ml_unique_waveformcanvas.active {
  opacity: 1;
  display: block;
}

.minilesson_audiochat_box .ml_unique_togglemic {
  position: absolute;
  inset: 0;
  background-color: transparent;
  /* Make it transparent to show canvas */
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  /* Above canvas */
  cursor: pointer;
  outline: none;
  /* Remove default focus outline */
}

.minilesson_audiochat_box .ml_unique_togglemic:focus-visible {
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
  /* Focus ring */
  border-radius: 9999px;
}

.minilesson_audiochat_box .ml_unique_micsvg {
  transition: opacity 0.2s ease-in-out;
  z-index: 2;
}

.minilesson_audiochat_box .ml_unique_conversationsection {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}


.minilesson_audiochat_box .ml_unique_transcriptbox {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  border-radius: 0.5rem;
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  height: 24rem;
  overflow-y: auto;
}

.minilesson_audiochat_box .ml_unique_messagescontainer {
  padding: 1rem;
}

.minilesson_audiochat_box .ml_unique_finishmessage {
  text-align: center;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.75rem;
}


.minilesson_audiochat_box .ml_unique_retrybtn {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  border-radius: 0.375rem;
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin-left: auto;
}

.minilesson_audiochat_box .ml_unique_retrybtn:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(29 78 216 / var(--tw-bg-opacity, 1));
}

.minilesson_audiochat_box .ml_unique_retrybtn:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1));
  --tw-ring-offset-width: 2px;
  --tw-ring-inset: "";
  --tw-ring-offset-color: #fff;
  --tw-shadow: 0 0 #0000;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.minilesson_audiochat_box .ml_unique_speakbtncontainer {
  margin: auto;
}

.minilesson_audiochat_box .ml_unique_avatarcontainer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.minilesson_audiochat_box .ml_unique_startsessioncontrols {
  display: flex;
  flex-direction: column;
  margin-left: 0.5rem;
}

.minilesson_audiochat_box .ml_unique_ordered_message_user {
  display: flex;
  justify-content: flex-end;
}

.minilesson_audiochat_box .ml_unique_ordered_message_assistant {
  display: flex;
  justify-content: flex-start;
}

.minilesson_audiochat_box .ml_unique_content_user {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  max-width: 20rem;
}

.minilesson_audiochat_box .ml_unique_content_assistant {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
  max-width: 20rem;
}

.minilesson_audiochat_box .ml_unique_headerdiv {
  display: flex;
  align-items: center;
  font-weight: 500;
  margin-bottom: 0.25rem;
  line-height: 1rem;
  font-size: 0.75rem;
}

.minilesson_audiochat_box .ml_unique_textsmall {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.minilesson_audiochat_box .ml_unique_loadingmessage {
  display: flex;
  align-items: center;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.minilesson_audiochat_box .ml_unique_loadingmessage .ml_unique_loader {
  display: flex;
}

.minilesson_audiochat_box .ml_unique_loadingmessage> :not([hidden])~ :not([hidden]),
.minilesson_audiochat_box .ml_unique_loader> :not([hidden])~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.25rem * var(--tw-space-x-reverse));
  margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse)));
}

.minilesson_audiochat_box .ml_unique_loadingmessage .ml_unique_loader_dot {
  animation: minilesson_bounce 0.8s infinite;
}

.minilesson_audiochat_box .ml_unique_loadingmessage .ml_unique_loader_dot:nth-child(2) {
  animation-delay: 0.1s;
}

.minilesson_audiochat_box .ml_unique_loadingmessage .ml_unique_loader_dot:nth-child(3) {
  animation-delay: 0.2s;
}

.minilesson_audiochat_box .ml_unique_assistant_img {
  margin-right: 0.5rem;
  border-radius: 50%;
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  height: 2rem;
  width: 2rem;
  object-fit: cover;
  object-position: top;
}

.minilesson_audiochat_box .ml_unique_loade {
  display: flex;
}

.minilesson_audiochat_box .ml_unique_loader_dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: currentColor;
}

.minilesson_audiochat_box .ml_unique_loader_text {
  font-size: 0.75rem;
  line-height: 1rem;
  opacity: 70%;
}

.minilesson_audiochat_box .hidden[class*="ml_unique_"] {
  display: none;
}

.minilesson_audiochat_box .ml_unique_micbtnwrapper.disabled {
  cursor: not-allowed;
  pointer-events: none;
  opacity: .5;
}

@media (min-width: 1024px) {

  .minilesson_audiochat_box .ml_unique_content_user,
  .minilesson_audiochat_box .ml_unique_content_assistant {
    max-width: 28rem;
  }
}

.audiochat-results-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 600px;
  margin: auto;
  font-family: Arial, sans-serif;
}

.audiochat-results-message {
  padding: 10px 15px;
  border-radius: 15px;
  max-width: 70%;
  word-wrap: break-word;
}

.audiochat-results-message.user {
  align-self: flex-end;
  background-color: #d1e7dd;
  color: #0f5132;
}

.audiochat-results-message.assistant {
  align-self: flex-start;
  background-color: #f8d7da;
  color: #842029;
}

.ml_ac_mic-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
}

.ml_ac_clicktosend {
  font-size: 0.85rem;
  color: #6c757d;
  text-align: center;
}

.ml_ac_flex-row-container {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 1rem;
  /* spacing between columns */
}

/* Dummy flex spacer on left and right */
.ml_ac_flex-spacer {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;
  min-width: 0;
}

/* Right flex spacer also flex container to align buttons right */
.ml_ac_flex-right {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.ml_ac_results_content {
  margin-bottom: 8px;
}

.wordshuffle_wordset_container .definition-container {
  display: flex;
  min-height: 100px;
  height: auto;
  margin-bottom: 50px;
  margin-top: 10px;
}

.wordshuffle_wordset_container .definition {
  align-self: center;
  width: 80%;
  margin: auto;
  background-color: #F2F2FD;
  border-radius: 8px;
  padding: 6px;
  position: relative;
  min-height: 50px;
}

.wordshuffle_wordset_container .definition .hinticon-container {
  float: left;
  background-color: #5067FF;
  color: #FFF;
  width: 30px;
  height: 30px;
  top: 0;
  left: 10px;
  border-radius: 0px 0px 5px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 1px 2px 2px 0px rgba(0, 0, 0, 0.07);
}

.wordshuffle_wordset_container .question-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.wordshuffle_wordset_container .gapword-box {
  background-color: #fff6bf;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  color: #374151;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.wordshuffle_wordset_container .gapdrop-box-wrap {
  display: block;
}

.wordshuffle_wordset_container .gapdrop-box {
  height: 40px;
  min-width: 120px;
  background-color: #cdf5d4;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wordshuffle_wordset_container .gapdrag-box {
  background-color: #ffd1dc;
  color: #0e7490;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  cursor: move;
  user-select: none;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wordshuffle_wordset_container .answer-container {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 12px;
  border: 1px dashed #e5e7eb;
  border-radius: 10px;
}

.wordshuffle_wordset_container .ui-droppable-hover.gapdrop-box {
  outline: 3px solid #a78bfa;
  outline-offset: 0;
}

.wordshuffle_wordset_container .ui-droppable-hover.answer-container {
  outline: 3px solid #34d399;
}

.wordshuffle_wordset_container {
  --slot-bg: #eaf9ee;
  --word-bg: #ffe3ea;
  --word-text: #0e7490;
  --fixed-bg: #fff6bf;
  --border: #e5e7eb;
  --hover: #a78bfa;
  --bank: #34d399;
}

.wordshuffle_wordset_container .slot {
  width: 130px;
  height: 46px;
  background: var(--slot-bg);
  border-radius: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wordshuffle_wordset_container .word {
  background: var(--word-bg);
  color: var(--word-text);
  padding: .5rem 1rem;
  border-radius: .75rem;
  font-weight: 700;
  user-select: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.wordshuffle_wordset_container .ui-droppable-hover.slot {
  outline: 3px solid var(--hover);
}

.wordshuffle_wordset_container .ui-droppable-hover.bank {
  outline: 3px solid var(--bank);
}

.wordshuffle_wordset_container .bank {
  border: 1px dashed var(--border);
  border-radius: .75rem;
}

.wordshuffle_wordset_container .assembled {
  min-height: 24px;
}

.wordshuffle_wordset_container .slot-wrap {
  width: 130px;
}

.wordshuffle_wordset_container .word-text {
  display: inline-flex;
  align-items: center;
  padding: 0 0.15rem;
  line-height: 2.5rem;
  font-size: 1rem;
}

.wordshuffle_wordset_container .question-sentence {
  gap: 0.25rem;
}

.wordshuffle_wordset_container .bank {
  gap: 1rem;
}

.wordshuffle_wordset_container .drop-slot.ml_ws_highlight {
  background-color: #bbf7d0;
  box-shadow: 0 0 0 2px #16a34a;
  cursor: pointer;
}

.wordshuffle_wordset_container .bank.ml_ws_highlight {
  background-color: #f9a8d4;
  border-color: #3b82f6;
  cursor: pointer;
}

.wordshuffle_wordset_container .word.ml_ws_highlight {
  box-sizing: border-box;
  border: 2px solid #3b82f6;
  cursor: pointer;
}

/* Subtle drag feedback for words being dragged */
.wordshuffle_wordset_container .word[draggable="true"] {
  cursor: grab;
}

.wordshuffle_wordset_container .word.ml_ws_dragging {
  cursor: grabbing;
  opacity: 0.85;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transform: translateZ(0);
  /* promote layer for smoother dragging */
}

/* Keyboard focus outline for interactive areas */
.wordshuffle_wordset_container .drop-slot:focus,
.wordshuffle_wordset_container .bank:focus,
.wordshuffle_wordset_container .word:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.wordshuffle_wordset_container .badge {
  font-size: 100%;
}

.minilesson_wordshuffle_player_box .wordshuffle_skip_btn,
.minilesson_wordshuffle_player_box .wordshuffle_skip_btn:hover,
.minilesson_wordshuffle_player_box .wordshuffle_skip_btn:active,
.minilesson_wordshuffle_player_box .wordshuffle_skip_btn:focus {
  background: #fff;
  border-color: #5067ff;
  border-radius: 10px;
  color: #5067ff;
  margin-left: 10px;
}

@keyframes shake-horizontal {
  2% {
    transform: translate(8px, 0) rotate(0)
  }

  4% {
    transform: translate(7px, 0) rotate(0)
  }

  6% {
    transform: translate(-3px, 0) rotate(0)
  }

  8% {
    transform: translate(-1px, 0) rotate(0)
  }

  10% {
    transform: translate(2px, 0) rotate(0)
  }

  12% {
    transform: translate(8px, 0) rotate(0)
  }

  14% {
    transform: translate(4px, 0) rotate(0)
  }

  16% {
    transform: translate(-8px, 0) rotate(0)
  }

  18% {
    transform: translate(-2px, 0) rotate(0)
  }

  20% {
    transform: translate(0px, 0) rotate(0)
  }

  22% {
    transform: translate(-9px, 0) rotate(0)
  }

  24% {
    transform: translate(-9px, 0) rotate(0)
  }

  26% {
    transform: translate(10px, 0) rotate(0)
  }

  28% {
    transform: translate(7px, 0) rotate(0)
  }

  30% {
    transform: translate(9px, 0) rotate(0)
  }

  32% {
    transform: translate(2px, 0) rotate(0)
  }

  34% {
    transform: translate(5px, 0) rotate(0)
  }

  36% {
    transform: translate(-2px, 0) rotate(0)
  }

  38% {
    transform: translate(5px, 0) rotate(0)
  }

  40% {
    transform: translate(-4px, 0) rotate(0)
  }

  42% {
    transform: translate(8px, 0) rotate(0)
  }

  44% {
    transform: translate(0px, 0) rotate(0)
  }

  46% {
    transform: translate(3px, 0) rotate(0)
  }

  48% {
    transform: translate(0px, 0) rotate(0)
  }

  50% {
    transform: translate(-2px, 0) rotate(0)
  }

  52% {
    transform: translate(-6px, 0) rotate(0)
  }

  54% {
    transform: translate(-6px, 0) rotate(0)
  }

  56% {
    transform: translate(3px, 0) rotate(0)
  }

  58% {
    transform: translate(-5px, 0) rotate(0)
  }

  60% {
    transform: translate(-8px, 0) rotate(0)
  }

  62% {
    transform: translate(-7px, 0) rotate(0)
  }

  64% {
    transform: translate(-1px, 0) rotate(0)
  }

  66% {
    transform: translate(-6px, 0) rotate(0)
  }

  68% {
    transform: translate(10px, 0) rotate(0)
  }

  70% {
    transform: translate(-6px, 0) rotate(0)
  }

  72% {
    transform: translate(8px, 0) rotate(0)
  }

  74% {
    transform: translate(2px, 0) rotate(0)
  }

  76% {
    transform: translate(8px, 0) rotate(0)
  }

  78% {
    transform: translate(-4px, 0) rotate(0)
  }

  80% {
    transform: translate(-6px, 0) rotate(0)
  }

  82% {
    transform: translate(0px, 0) rotate(0)
  }

  84% {
    transform: translate(10px, 0) rotate(0)
  }

  86% {
    transform: translate(0px, 0) rotate(0)
  }

  88% {
    transform: translate(-6px, 0) rotate(0)
  }

  90% {
    transform: translate(4px, 0) rotate(0)
  }

  92% {
    transform: translate(-6px, 0) rotate(0)
  }

  94% {
    transform: translate(-1px, 0) rotate(0)
  }

  96% {
    transform: translate(8px, 0) rotate(0)
  }

  98% {
    transform: translate(-8px, 0) rotate(0)
  }

  0%,
  100% {
    transform: translate(0, 0) rotate(0)
  }
}

.ml_scatter_stage {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.ml_scatter_stage .ml_scatter_listitem {
  width: 174px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100px;
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 0;
}

.ml_scatter_stage .ml_scatter_listitem.shake-constant {
  animation-name: shake-horizontal;
  animation-duration: 50ms;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  animation-iteration-count: 2;
}

@keyframes ml_scatter_disappear {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(0);
    opacity: 0;
  }
}

.ml_scatter_stage .ml_scatter_listitem.ml_scatter_anim_correct {
  animation-name: ml_scatter_disappear;
  animation-duration: 500ms;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

.ml_scatter_stage .ml_scatter_listitem.ml_scatter_anim_incorrect {
  animation-name: shake-horizontal;
  animation-duration: 100ms;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 5;
}

.ml_scatter_stage .ml_scatter_listitem:active,
.ml_scatter_stage .ml_scatter_listitem.borderblue {
  border: 1px solid blue;
}

.ml_scatter_stage .ml_scatter_listitem.invisible {
  display: none;
}

#page-mod-minilesson-itemtypes .itemimg {
  width: 30px;
  height: auto;
}

#page-mod-minilesson-rsquestion-rsquestions .additembutton {
  padding: 15px;
  border-radius: 10px;
  font-size: 18px;
  background-color: #506DFF;
}

#page-mod-minilesson-rsquestion-rsquestions .additembutton:hover,
#page-mod-minilesson-rsquestion-rsquestions .additembutton:active {
  background-color: #2642CD;
  box-shadow: unset;
  outline: 0;
}


#page-mod-minilesson-rsquestion-rsquestions .mod_minilesson_qpanel td .itemname {
  color: #1F2334;
  font-weight: 500;
  line-height: 100%;
  font-size: 15px;
  letter-spacing: 0;
}

#page-mod-minilesson-rsquestion-rsquestions .mod_minilesson_qpanel td .itemtype:not(.mobileviewtype) {
  color: #5C669A;
  border-left: 1px solid #5C669AC2;
}

#page-mod-minilesson-rsquestion-rsquestions .mod_minilesson_qpanel td.itemaction {
  border-left: 1px solid #E9ECFB;
  vertical-align: middle;
}

#page-mod-minilesson-rsquestion-rsquestions .mod_minilesson_qpanel td.itemaction .icon {
  color: #5C669A;
}

#page-mod-minilesson-rsquestion-rsquestions .mod_minilesson_qpanel td.itemaction .mod_minilesson_item_row_deletelink .icon {
  color: #FF4747;
}

#page-mod-minilesson-rsquestion-rsquestions .mod_minilesson_qpanel td .itemicon,
.lessonitem-container .lessonitem-list .lessonitem-link .itemicon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.lessonitem-container {
  display: flex;
}

.lessonitem-container .lessonitem-list {
  width: 40%;
  border-right: 1px solid #E9ECFB;
  background: #F7F7FD;
  padding: 20px;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.lessonitem-container .lessonitem-list .lessonitem-list-block {
  overflow: auto;
  max-height: 450px;
}


.lessonitem-container .lessonitem-list .lessonitem-link[aria-expanded="true"] {
  background-color: #FFFFFF;
  border-radius: 5px;
}

.lessonitem-container .lessonitem-list .lessonitem-link {
  display: flex;
  align-items: center;
  padding: 10px;
  text-decoration: none;
  color: black;
  margin: 5px;
}

.lessonitem-container .lessonitem-list .lessonitem-link:focus {
  box-shadow: none;
}

.lessonitem-container .lessonitem-list .lessonitem-link .itemname {
  text-align: left;
  color: #414C81;
}

.lessonitem-container .lessonitem-description {
  padding: 2rem 2.5rem 2.5rem 2.5rem;
}

.lessonitem-modal .modal-body {
  max-height: 550px;
  padding: 0;
}

.lessonitem-modal .modal-content {
  border-radius: 16px;
  box-shadow: 0 2px 20px 0 #00000026;
}

.lessonitem-container .lessonditem-description-block {
  width: 60%;
}

.lessonitem-container .lessonditem-description-block .collapsing {
  display: none;
}

.lessonitem-modal .modal-dialog:focus {
  box-shadow: none !important;
}

.lessonitem-modal .lessonitem-container .itemheading {
  color: #56619C;
  font-size: 17px;
  font-weight: 700;
  line-height: 100%;
}

.lessonitem-modal .lessonitem-container .lessonditem-description-block .lessonditem-description-heading {
  color: #343f74;
  font-weight: 700;
  font-size: 17px;
  line-height: 100%;
  letter-spacing: 0;
}

.mod_minilesson_qpanel .tblheader .theadselectall {
  display: flex;
  align-items: center;
  padding-left: 15px;
}

.mod_minilesson_qpanel .tblheader .selectalllabel {
  margin-left: 5px !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: 0;
}

.mod_minilesson_qpanel .tblheader th {
  color: #000000;
}

.lessonitem-modal .lessonitem-container .lessonditem-description-block .lessonditem-description-desc {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  color: #141C43;
  margin-top: 25px;
}

.lessonitem-modal .lessonitem-container .lessonditem-description-block .addbtn {
  background-color: #506DFF;
  color: white;
  width: 72px;
  height: 38px;
  border-radius: 5px;
}

.lessonitem-modal .lessonitem-container .lessonditem-description-block .addbtn:hover {
  background-color: #2642CD;
}


.mod_minilesson_qpanel {
  border-collapse: separate !important;
  border-spacing: 0 15px !important;
  width: 100% !important;
  border-bottom: 0 !important;
}

.mod_minilesson_qpanel thead tr th {
  border: 0 !important;
}

.mod_minilesson_qpanel td {
  background: #FBFBFE;
  border-top: 1px solid #E9ECFB;
  border-bottom: 1px solid #E9ECFB;
  padding: 12px 16px;
}

.mod_minilesson_qpanel tr td:first-child,
.mod_minilesson_qpanel tr th:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  border-left: 1px solid #E9ECFB;
  width: 88%;
  vertical-align: middle;
}

.mod_minilesson_qpanel tr td:last-child,
.mod_minilesson_qpanel tr th:last-child {
  border-top-right-radius: 8px;
  border-right: 1px solid #E9ECFB;
  border-bottom-right-radius: 8px;
  text-align: right;
  width: 5%;
  min-width: 110px;
  max-width: 130px;
}

.mod_minilesson_qpanel tr th:last-child {
  text-align: right;
  padding-right: 30px !important;
}

.mod_minilesson_qpanel .mod_minilesson_item_row td.c2,
.mod_minilesson_qpanel .mod_minilesson_item_row th.c2 {
  width: 11%;
  text-align: right;
}

.mod_minilesson_qpanel thead tr th {
  padding: 0 !important;
}

.mod_minilesson_qpanel .tblbody .mod_minilesson_item_row .itemdate .icon {
  color: #5C669A;
}

.mod_minilesson_qpanel .tblbody .mod_minilesson_item_row .itemtypelabel {
  font-size: 11px;
  display: inline-block;
}

.mod_minilesson_qpanel .tblbody .dataTables_empty {
  height: 150px;
}

.mod_minilesson_qpanel .tblbody .dataTables_empty .noitemyet {
  margin-top: 45px;
  font-size: 15px;
  font-weight: 600;
  font-style: italic;
  color: #202438D9;
  line-height: 100%;
  letter-spacing: 0;
}

.mod_minilesson_qpanel .tblbody .dataTables_empty {
  color: #202438;
  font-weight: 400;
  font-style: italic;
  font-size: 15px;
  line-height: 100%;
  letter-spacing: 0;
}

.lessonitem-list-block::-webkit-scrollbar {
  width: 6px;
}

.lessonitem-list-block::-webkit-scrollbar-track {
  background: #ffffff;
}

.lessonitem-list-block::-webkit-scrollbar-thumb {
  background-color: #5C669A;
  border-radius: 4px;
}

.mod_minilesson_qpanel .tblbody td input[data-togglegroup="delete-question"],
.mod_minilesson_qpanel .tblheader th input[data-togglegroup="delete-question"] {
  width: 17px;
  height: 17px;
}

.ml_fluencyphonemesbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 10px;
  margin-top: 5px;
  background-color: #f0f0f0;
  border-radius: 5px;
}

.ml_fluencyphonemesbar span {
  flex-grow: 1;
  height: 100%;
  margin: 0 0px;
  /* Add spacing between spans */
}

span.fluencyphoneme.letter_missing {
  background-color: gray;
}

span.fluencyphoneme.letter_fair {
  background-color: orange;
}

span.fluencyphoneme.letter_good {
  background-color: green;
}

span.fluencyphoneme.letter_wrong {
  background-color: red;
}

.minilesson_questioncontainer .shortanswer_check_btn {
  border-radius: 5px;
}

.minilesson_questioncontainer .textinput_responsetype {
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 5px;
}

.minilesson_questioncontainer .textinput_success {
  background-color: lightgreen;
}

.mod_minilesson_qpanel .mobileviewtype {
  display: none;
}

.mod_minilesson_item_row .mod_minilesson_item_row_previewlink .icon,
.mod_minilesson_item_row .mod_minilesson_item_row_duplicatelink .icon,
.mod_minilesson_item_row .mod_minilesson_item_row_deletelink .icon,
.mod_minilesson_item_row .mod_minilesson_item_row_editlink .icon {
  font-size: 17px;
  width: 17px;
  height: 17px;
}

.mod_minilesson_item_row .mod_minilesson_item_move .icon {
  font-size: 25px;
  width: 25px;
  height: 25px;
}


.mod_minilesson_qpanel .tblheader th[aria-label="Reorder"] {
  text-align: right;
  padding-right: 20px !important;
}

#page-mod-minilesson-lessonbank #fgroup_id_searchgroup {
  background-color: #eee;
  padding: 15px;
  margin: 0;
}

#page-mod-minilesson-lessonbank #advancesearch {
  padding: 15px;
  background-color: #eee;
}

#page-mod-minilesson-lessonbank #advancesearch #fitem_id_level {
  padding: 0 15px;
}

#page-mod-minilesson-lessonbank #fgroup_id_searchgroup .col-md-3,
#page-mod-minilesson-lessonbank #advancesearch #fitem_id_level .col-md-3 {
  max-width: 100px;
}

#page-mod-minilesson-lessonbank .searchbox .itemcontainer {
  padding: 10px 0;
  margin: 0;
  border: 1px solid #ced4da;
  border-radius: 4px;
  flex: 1;
}

#page-mod-minilesson-lessonbank [data-region="cards-container"] {
  min-height: 100px;
}

#page-mod-minilesson-lessonbank [data-region="cards-container"] p {
  margin-bottom: 0.2rem;
}

#page-mod-minilesson-lessonbank [data-region="cards-container"] [data-action="showtext"] {
  background-color: transparent;
  border: none;
  color: #1177d1;
  box-shadow: none;
}

#page-mod-minilesson-lessonbank .searchbox [data-region="itemcard"] {
  max-width: calc(50% - 2px);
  margin-top: 2px;
  margin-bottom: 2px;
  display: flex;
  flex-direction: column;
}

#page-mod-minilesson-lessonbank .searchbox [data-region="itemcard"] [data-region="image"] {
  gap: 3px;
}

#page-mod-minilesson-lessonbank [data-for="page-activity-header"] {
  display: none;
}

#page-mod-minilesson-lessonbank .lessonbanklayoutbox {
  border: 1px solid #ced4da;
  border-radius: 10px;
  overflow: hidden;
}

#page-mod-minilesson-lessonbank .listlayoutbtn,
#page-mod-minilesson-lessonbank .gridlayoutbtn {
  border: 0;
}

#page-mod-minilesson-lessonbank .gridlayoutbtn:focus,
#page-mod-minilesson-lessonbank .listlayoutbtn:focus{
  box-shadow: unset;
  outline: none;
}

#page-mod-minilesson-lessonbank .gridlayoutbtn.active,
#page-mod-minilesson-lessonbank .listlayoutbtn.active,
#page-mod-minilesson-lessonbank .listlayoutbtn.active:focus,
#page-mod-minilesson-lessonbank .gridlayoutbtn.active:focus {
  background-color: #1177d1;
  color: white;
  border: 1px solid #1177d1;
  box-shadow: unset;
}

#page-mod-minilesson-lessonbank .listlayout .listtable .imgcolumn {
  width: 200px;
  padding: 10px;
  vertical-align: middle;
}

#page-mod-minilesson-lessonbank .listlayout .listtable .imgcolumn img.searchimg {
  width: 100%;
  height: auto;
}

#page-mod-minilesson-lessonbank .listlayout .listtable tr td,
#page-mod-minilesson-lessonbank .listlayout .listtable tr th {
  vertical-align: middle;
}

#page-mod-minilesson-lessonbank .listlayout .listtable th:last-child,
#page-mod-minilesson-lessonbank .listlayout .listtable td:last-child {
  width: 200px;
  white-space: nowrap;
}

#page-mod-minilesson-lessonbank .listlayout .listtable .listdescription {
  width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#page-mod-minilesson-lessonbank .listlayout .listtable .levelcolumn,
#page-mod-minilesson-lessonbank .listlayout .listtable .langcolumn {
  white-space: nowrap;
}

@media only screen and (max-width: 768px) {
  .mod_minilesson_qpanel .mobileviewtype {
    display: block;
    color: #5C669A;
  }

  .mod_minilesson_qpanel .itemtypename {
    display: none;
  }
}

/* Container for the embedded slideshow */
.minilesson-slides-container {
  position: relative;
  width: 80%;
  max-width: 800px;
  height: 450px;
  margin: 30px auto;
  border: 2px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}

.minilesson-slides-preview-modal .minilesson-slides-container {
  width: 100%;
  max-width: unset;
  margin: 0;
}

.minilesson-slides-container .reveal {
  /* font-size: 2em; */
  /* increase from default 1em to 2em */
  line-height: 1.4;
  /* optional: increase line spacing for readability */
  height: 100%;
}

/* Only capture pointer events on slides */
.minilesson-slides-container .reveal .slides {
  pointer-events: auto;
}

.minilesson-slides-container .reveal .slides img {
  max-height: 60vh;
}

/* This prevents 2 short widthlists from being displayed in columns */
.minilesson-slides-container .reveal section>ul,
.minilesson-slides-container .reveal section>ol {
  display: block;
  width: 100%;
}

/* Interaction lock styling for wordshuffle: fade and disable pointer events */
.wordshuffle_wordset_container.ml-ws-locked .word,
.wordshuffle_wordset_container.ml-ws-locked .drop-slot,
.wordshuffle_wordset_container.ml-ws-locked .word-bank {
  pointer-events: none !important;
  opacity: 0.6;
  transition: opacity 0.2s ease-in-out;
}

.mcchoiceswrapper.multichoice_twocolumnlayout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
}

.multichoice_twocolumnlayout .mcplayrow {
  margin-bottom: 0;
}

.minilesson_nextbutton {
  display: block;
  width: 150px;
  height: 50px;
  border: 1px;
  border-style: solid;
  border-color: #506DFF;
  border-radius: 30px;
  color: #506DFF;
  font-size: 15px;
  font-weight: 500;
  margin: auto;
  background-color: #FFFFFF;
}

.minilesson_nextbutton:focus {
  outline: 0;
}

.progress .progressbar_basestyle {
  background-color: #5067FF;
}

.progressicon {
  padding: 6px;
  background-color: #f2f2fd;
  border-radius: 50px;
  width: 32px;
  height: 32px;
  text-align: center;
  color: #5067FF;
}

.progressicon i.fa {
  font-size: 18px;
}

.fluency_star_rating {
  background: #FFFFFF;
  border: 1px solid #DEE2FC;
  border-radius: 40px;
  padding: 10px;
  letter-spacing: 10px;
}


/* result  */

.ml_listitem_results {
  background-color: rgba(242, 242, 253, 0.45);
}

.ml_listitem-container {
  background-color: #FFF;
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, .12);
  border-radius: 8px;
}

.result-container {
  width: fit-content;
  padding-top: 20px;
  min-width: 150px;
  border-radius: 8px;
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, .12);
  background-color: #FFF;
}

.star-container {
  border-radius: 50%;
  width: 45px;
  height: 45px;
  top: -20px;
  left: 52px;
  color: #FFC328;
  font-size: 24px;
  background-color: #FFF;
}

.result-font {
  color: #57578F;
  font-size: 18px;
  font-weight: 600;
}

.result-font .bigger-font {
  font-size: 30px;
}

.correct-text {
  color: #57578F;
}

/* animation */

.lgapfill_listen_cont .animatesoundbtn {
  position: relative;
  padding: 20px;
  background: #E6E9FD;
  width: 80px;
  border-radius: 8px;
}

.animatesoundbtn .soundWave {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -10px;
  width: 20px;
  height: 20px;
}

.animatesoundbtn .soundWave .bar {
  width: 2px;
  background-color: #5067FF;
  height: 8px;
  position: absolute;
  top: 50%;
  margin: -4px 0 0 1px;
}

.activeanimation.animatesoundbtn .soundWave .bar {
  animation: soundWave 0.5s linear infinite alternate;
}

@keyframes soundWave {
  from {
    transform: scaleY(1);
  }

  to {
    transform: scaleY(2);
  }
}

.animatesoundbtn .soundWave .bar:nth-child(1) {
  animation-delay: 0s;
}

.animatesoundbtn .soundWave .bar:nth-child(2) {
  margin-left: 5px;
  animation-delay: 0.3333333333s;
}

.animatesoundbtn .soundWave .bar:nth-child(3) {
  margin-left: 9px;
  animation-delay: 0.6666666667s;
}

.animatesoundbtn .soundWave .bar:nth-child(4) {
  margin-left: 13px;
  animation-delay: 0s;
}

.animatesoundbtn .soundWave .bar:nth-child(5) {
  margin-left: 17px;
  animation-delay: 0.33333s;
}

.mod_minilesson_ttrec_waveButton.ttrec_restart {
  background-color: #FF8A47;
  box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.22);
}

.mod_minilesson_ttrec_waveButton.ttrec_isrecording {
  background-color: #FF4747;
  box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.22);
}

span.correctitem {
  color: #18B616;
  font-weight: 700;
  margin-left: 2px;
  margin-right: 2px;
}

span.wrongitem {
  font-weight: 700;
  color: #FF4747;
  margin-left: 2px;
  margin-right: 2px;
}

.minilesson_sgapfill_player_box .sgapfill_missing_inputmtext,
.minilesson_sgapfill_player_box .sgapfill_missing_input {
  padding: 10px;
  border-bottom: 3px solid #B0B8DC;
  margin: 3px;
}

.minilesson_quiz_progress_completed {
  background-color: #506DFF;
  height: 5px;
}

.minilesson_quiz_progress_incompleted {
  background-color: #C7D2FF;
  height: 5px;
  margin-left: 2px;
  margin-right: 2px;
  border-radius: 5px;
}

.minilesson_quiz_progress_dashedline {
  border-bottom: 2px dashed #C7D2FF;
  height: 5px;
  margin-left: 2px;
  margin-right: 2px;
  border-radius: 5px;
}

.minilesson_wordshuffle_player_box .wordshuffle_retry_btn,
.minilesson_wordshuffle_player_box .wordshuffle_retry_btn:hover,
.minilesson_wordshuffle_player_box .wordshuffle_retry_btn:focus,
.minilesson_wordshuffle_player_box .wordshuffle_retry_btn:active {
  width: 128px;
  height: 36px;
  border-radius: 8px;
  background: #5067FF;
  color: #FFFFFF;
}

.minilesson_wordshuffle_player_box .wordshuffle_check_btn,
.minilesson_wordshuffle_player_box .wordshuffle_check_btn:hover,
.minilesson_wordshuffle_player_box .wordshuffle_check_btn:focus,
.minilesson_wordshuffle_player_box .wordshuffle_check_btn:active {
  width: 96px;
  height: 36px;
  border-radius: 8px;
  background: #5067FF;
  color: #FFFFFF;
}

.minilesson_wordshuffle_player_box .wordshuffle_skip_btn:focus {
  background: #ffffff;
  border-color: #5067FF;
  border-radius: 10px;
  color: #5067FF;
  margin-left: 10px;
}

.minilesson_wordshuffle_player_box {
  position: relative;
  margin: auto;
  border-radius: 8px;
  box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.12);
  background: #FFFFFF;
}

.minilesson_wordshuffle_player_box .wordshuffle_image {
  padding: 20px;
  border-radius: 100%;
  background: #f3ecfc;
}

.minilesson_wordshuffle_player_box .wordshuffle_game {
  min-height: 250px;
  padding: 10px;
  border-top: 1px solid darkgray;
  border-bottom: 1px solid darkgray;
  background-color: rgba(98, 135, 182, 1);
}

.minilesson_wordshuffle_player_box .wordshuffle_mainmenu {
  font-size: 20px;
  padding: 10px;
}

.minilesson_wordshuffle_player_box .wordshuffle_title {
  color: #414C81;
}

.minilesson_wordshuffle_player_box .wordshuffle_start_btn {
  margin-top: 0;
  width: 96px;
  height: 36px;
  border-radius: 8px;
  background-color: #506DFF;
  border-color: #506DFF;
}

.minilesson_wordshuffle_player_box .wordshuffle_start_btn:hover,
.minilesson_wordshuffle_player_box .wordshuffle_start_btn:active,
.minilesson_wordshuffle_player_box .wordshuffle_start_btn:focus {
  background-color: #2642CD;
  border-color: #2642CD;
  outline: 0;
  box-shadow: unset;
}

.minilesson_wordshuffle_player_box .wordshuffle_title {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 0;
  font-size: 24px;
  font-weight: bold;
}

.minilesson_wordshuffle_player_box .wordshuffle_controls {
  margin-top: 5px;
  background-color: white;
  text-align: center;
}

.minilesson_wordshuffle_player_box .wordshuffle_results {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 75px;
  background-color: rgba(98, 135, 182, 1);
  font-weight: bold;
  color: white;
  text-align: center;
  z-index: 999;
}

.audiochatavtarimage-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.audiochatavtarimage-container .avatar-image-check .form-check-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.audiochatavtarimage-container .avatar-image-check .avatar-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  cursor: pointer;
  border: 2px solid lightgray;
}

.audiochatavtarimage-container .avatar-image-check .form-check-input:checked + .avatar-img {
  border: 2px solid #1177d1;
}
