.ans_img_dropdown_link {
  cursor: pointer;
}

.mtquiz {
  text-align: left;
  z-index: 1000;
}

.mtquiz .src,
.mtquiz .tmpl {
  display: none;
}

.mtquiz .mtquiz-container {
  /* make the top edge of .inner appear in the vertical center of .outer */
  /*  left: 50%;
 
  /* move .inner up by half of its height so that its middle is in the middle of .outer */
  /* transform: translateX(-50%);*/
  margin-bottom: 2em;
}

.wrapdiv {
  display: inline-block;
}

.mtquiz_ekpimg_container_imagewrapper {
  position: relative;
}

.mt-anki-clip-controls-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0%;
  left: 0%;
}

.mt-anki-clip-controls {
  position: absolute;
  border: 2px solid rgb(255 0 0 / 65%);
  z-index: 1;
  display: flex;
  align-items: flex-end;
}

.mtquiz .intro_hint_container,
.mtquiz .mtquiz_anki_info_container,
.mtquiz .mtquiz_ekpimg_container {
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  z-index: 10;
}
.mtquiz .mtquiz_ekpimg_container {
  top: 0;
  z-index: 1025;
}
.mtquiz .mtquiz_ekpimg_container .exploration_clear {
  background-size: contain;
}

.mtquiz .intro_hint_container .darken,
.mtquiz .mtquiz_anki_info_container .darken {
  position: absolute;
  width: 100%;
  height: 100%;
  height: 100%;
  background: #8080801f;
  opacity: 0.25;
  z-index: -1;
  border-radius: 5px;
  box-shadow: white 0px 0px 20px 2px inset;
}

.mtquiz .intro_hint_container .hint_msg,
.mtquiz .mtquiz_anki_info_container .hint_msg,
.mtquiz .mtquiz_ekpimg_container .hint_msg {
  /*border: 1px solid #dedede;*/
  width: 40%;
  top: 10%;
  background: white;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px;
  z-index: 11;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgb(0 0 0 / 7%), 0 4px 12px rgb(0 0 0 / 8%);
}
.mtquiz .mtquiz_anki_info_container .hint_msg {
  width: 60%;
}

.mtquiz .mtquiz_ekpimg_container .hint_msg {
  width: 100%;
  top: 0%;
}
.mtquiz .intro_hint_container .hint_msg h5,
.mtquiz .mtquiz_anki_info_container .hint_msg h5 {
  margin-top: 0.7em;
}
.mtquiz .intro_hint_container .hint_msg span.btns,
.mtquiz .mtquiz_anki_info_container .hint_msg span.btns {
  display: block;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

.mtquiz .remove_btn {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-color: #fff;
  border-radius: 2.5em;
  transition: 0.2s;
  top: -2px;
  position: relative;
}

.mtquiz a .dashicons {
  text-decoration: none;
}
.mtquiz .remove_btn {
  display: block;
  position: absolute;
  top: -10px;
  right: -10px;
}

.mtquiz .remove_btn span {
  font-size: 1.75em;
  position: relative;
  right: 2.5px;
  top: 2.5px;
}
.mtquiz .remove_btn a {
  text-decoration: none;
  color: #cbcbcb; /*black;*/
}

.mtquiz .hint_msg:hover .remove_btn {
  display: block;
  box-shadow: 0 2px 4px rgba(107, 81, 81, 0.1), 0 4px 4px rgba(0, 0, 0, 0.05);
}
.mtquiz .remove_btn a {
  text-decoration: none;
  color: #474747;
}
.mtquiz .remove_btn a:hover {
  color: rgb(156, 0, 0);
}

.mtquiz .hint_msg button {
  outline: none;
  border: none;
  background: none;
  color: linear-gradient(167deg, rgb(108 125 99) 5%, rgb(64 105 167) 90%);
  background-image: linear-gradient(167deg, rgb(108 125 99) 5%, rgb(64 105 167) 90%);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  font-size: 1.3em;
  font-weight: 500;
}

.mtquiz .hint_msg button span {
  color: linear-gradient(167deg, rgb(108 125 99) 5%, rgb(64 105 167) 90%);
  background-image: linear-gradient(167deg, rgb(108 125 99) 5%, rgb(64 105 167) 90%);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mtquiz .hint_msg button {
  position: relative;
}
.mtquiz .hint_msg.line-after {
  opacity: 0;
}
.mtquiz .hint_msg .line-after::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 10%;
  height: 2px;
  width: 80%;
  background: #444;
  background: linear-gradient(167deg, rgb(108 125 99) 5%, rgb(64 105 167) 90%);
  transition: 0.2s;
}
.mtquiz .hint_msg button:hover .line-after::after {
  width: 100%;
  left: 0%;
}

.mtquiz .controls {
  margin-top: 10px;
  text-align: center;
  padding-right: 5%;
}

.mtquiz .controls .dashicons {
  font-size: 1em;
  margin-left: 5px;
  margin-right: 5px;
  vertical-align: middle;
}
.mtquiz .controls .dashicons.dashicons-yes {
  margin-left: 0px;
  margin-right: 2px;
}

.mtquiz .controls button {
  position: relative;

  outline: none;
  border: none;
  background: none;
  color: linear-gradient(167deg, rgb(108 125 99) 5%, rgb(64 105 167) 90%);
  background-image: linear-gradient(167deg, rgb(108 125 99) 5%, rgb(64 105 167) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  font-size: 1.3em;
  font-weight: 500;
}

.mtquiz .controls button span {
  color: linear-gradient(167deg, rgb(108 125 99) 5%, rgb(64 105 167) 90%);
  background-image: linear-gradient(167deg, rgb(108 125 99) 5%, rgb(64 105 167) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mtquiz .controls button.mtquiz-prev {
  padding-right: 20px;
}
.mtquiz .controls button.mtquiz-reveal {
  padding-left: 0px;
}
.mtquiz .controls button.mtquiz-next {
  padding-left: 20px;
}

.mtquiz .controls button .line-after {
  opacity: 0;
  transition: 0.1s;
}
.mtquiz .controls button .line-after::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 22.5%;
  height: 2px;
  width: 55%;
  background: #444;
  background: linear-gradient(
    77deg,
    rgb(108 125 99) 5%,
    rgb(64 105 167) 90%
  ); /*linear-gradient(45deg, rgba(201,85,84,1) 30%, rgba(9,9,121,1) 100%);
	*/
  transition: 0.2s;
}
.mtquiz .controls button:hover .line-after {
  opacity: 0.8;
}
.mtquiz .controls button:hover .line-after::after {
  width: 60%;
  left: 20%;
}

.mtquiz .question_container {
  background-color: #fff;
  border-radius: 5px;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, .1), 0 8px 16px rgba(0, 0, 0, .1); */

  padding: 15px;
  margin-top: 10px;
}

.mtquiz .question_container.blurry {
  filter: blur(1px);
}
.mtquiz .question_title {
  font-size: 1.25em;
  position: relative;
  color: #484848;
  font-style: italic;
}

.mtquiz .question_type {
  color: #919191;

  font-weight: 500;
  border-radius: 8px;
  width: fit-content;
  padding-left: 7px;
  padding-right: 7px;
  font-size: 14px;
  line-height: 20px;
}

.mtquiz .question_type .question_type_bubble_anki {
  font-weight: 500;
  border-radius: 8px;
  width: fit-content;
  padding-left: 7px;
  padding-right: 7px;
  font-size: 14px;
  line-height: 20px;

  background-color: #75a9c6;
  color: #353d50;
}
.mtquiz_anki_info_container,
.mtquiz_ekpimg_container {
  display: none;
}
.meditrick_wrapper.mtquiz-anki-info-card-show .mtquiz_anki_info_container,
.meditrick_wrapper.mtquiz-ekpimg-card-show .mtquiz_ekpimg_container {
  display: block;
}

/* Freitext */
.question_type.freitext {
  background-color: #cee3ab;
  color: #246348;
} /* Einfache Frage */
.question_type.freitext_1 {
  background-color: #cee3ab;
  color: #144360;
} /* Offene Frage */
.question_type.freitext_2 {
  background-color: #cee3ab;
  color: #246348;
} /* verknuepftes wissen*/
.question_type.freitext_3 {
  background-color: #a0a0e0;
  color: #25115f;
} /*fallvignette*/
.question_type.freitext_4 {
  background-color: #e3d2a7;
  color: #634d17;
} /* Ueberblicks-Frage */
.question_type.freitext_5 {
  background-color: #acdfeb;
  color: #634d17;
} /* Rechenbeispiel-Freitext */
.question_type.freitext_6 {
  background-color: #acafeb;
  color: #454773;
} /* Rechenbeispiel MC */
.question_type.freitext_7 {
  background-color: #6a6da5;
  color: #e1deec;
} /* Multiple Choice */
.question_type.mc {
  background-color: #f9b69d;
  color: #8a0909;
  /*
    background-color:#508fd6;
    color:#093f8a;*/
}
/* Anki */
.question_type.anki {
  background-color: transparent; /*#75a9c6; */
  color: #353d50;

  display: flex;
  gap: 4px;
  align-items: center;
  position: relative;
}

.mtquiz-anki-info-i-container {
  display: inline-block;
  position: relative;
  border-radius: 50%;
  border: 1px solid transparent;
  background-color: #f1f1f1;
  height: 20px;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mtquiz-anki-info-i {
  color: #ababab;
}

.question_type.anki:hover .mtquiz-anki-info-i-container,
.meditrick_wrapper.mtquiz-anki-info-card-show .mtquiz-anki-info-i-container {
  background-color: #b4b4b4;
  color: #ffffff !important;
}
.question_type.anki:hover .mtquiz-anki-info-i,
.meditrick_wrapper.mtquiz-anki-info-card-show .mtquiz-anki-info-i {
  color: #ffffff !important;
}

.question_type.anki a {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 4;
}

.mtquiz .slide_out {
  margin-top: 1em;
}

.mtquiz .question_text {
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 1.3em;
}

.mtquiz .question_text[data-class="anki"] {
  margin-bottom: 2em;
}

.mtquiz textarea.antwort {
  min-width: 400px;
  min-height: 50px;
  max-width: 100%;
  max-height: 500px;
  font-size: 1em;
  width: 100%;
}

.mtquiz .answer_correct {
  margin: 0 auto;
  margin-bottom: 5px;

  border: 0px solid #9fbd9f;
  border-radius: 3px;
  background-color: #cde6cd;
  padding: 8px 5px 7px 3px;
  opacity: 0;
  display: none;
}
.mtquiz .answer_correct .ans_text {
  display: inline-block;
  margin-left: 10px;
  font-size: 1.1em;
  padding-bottom: 0.2em;
}
.mtquiz .answer_correct .ans_text.hide {
  display: none;
}
.mt-snippet-box-section {
  margin: 1em 0;
  padding-left: 10px;
}

.mtquiz .image_wrapper img.mt-quiz-thumbnail-thumbnail,
.mtquiz .answer_correct img.mt-quiz-thumbnail-thumbnail {
  width: auto;
  max-height: 190px;
  margin: 5px;
}

.mtquiz .ans_img img {
  margin: 5px 10px 10px 5px;
  border: 1px solid #3d9c3d;
  border-radius: 3px;
}

.mtquiz .answer_correct img.mt-quiz-thumbnail-thumbnail {
  max-height: 150px;
}

.mtquiz img.ans_img {
  width: auto;
  max-height: 150px;
  margin-left: 5px;
}

.mtquiz #mtquiz_progress {
  width: 100%;
  height: 10px;
  position: relative;
  top: -5px;
  display: table;
  border-spacing: 3px;
}

.mtquiz #mtquiz_progress .mtquiz_progress_item {
  height: 8px;
  border: 1px solid #d6d6d6;
  border-radius: 0px;
  margin-right: 3px;
  margin-left: 3px;
  display: table-cell;
  cursor: pointer;
  transition: 0.2s;
}

.mtquiz #mtquiz_progress .mtquiz_progress_item:hover {
  background: linear-gradient(167deg, rgb(142 175 94 / 52%) 5%, rgba(159, 193, 106, 0.52) 90%) !important;
}
.mtquiz #mtquiz_progress .mtquiz_progress_item.anki:hover {
  background: linear-gradient(167deg, rgba(87, 101, 134, 0.52) 5%, rgba(106, 148, 193, 0.52) 90%) !important;
}
.mtquiz #mtquiz_progress .mtquiz_progress_item.mtquiz_done {
  background: linear-gradient(167deg, rgb(115 134 87) 5%, rgb(159 193 106) 90%); /*#acd66b;
*/
}

.mtquiz_mc_click_top {
  position: absolute;
  z-index: 2; /*
   background: red;
   opacity: 0.5;*/
  width: 100%;
  height: 100%;
  left: 0px;
}

.mtquiz_mc_click_top:hover {
  cursor: pointer;
}

.mtquiz_mc_content .mtquiz_mc_answer {
  display: block;
  cursor: normal;
  padding: 5px;
  border-radius: 2px;
  position: relative;
  text-align: left;
  background: #f9f9f9;
  margin-bottom: 5px;
  border: 1px solid transparent;
  border-radius: 3px;
  transition: 0.15s;
}
.mtquiz_mc_content .mtquiz_mc_answer:not(.mtquiz_selected):not(.mtquiz_correct):hover {
  background: #f3f3f3;
  /*	cursor:pointer;*/
}

.mtquiz_mc_content .mtquiz_mc_answer .labeltext {
  margin-left: 5px;
}

.mtquiz_mc_answer.mtquiz_selected {
  background: #e9e9e9; /*#e8e8e8;*/
  border: 1px solid rgb(192, 192, 192);
  box-shadow: 0 2px 4px rgba(124, 124, 124, 0.1), 0 8px 16px rgba(161, 161, 161, 0.1);
}
.mtquiz_mc_answer.mtquiz_correct {
  border: 1px solid #9fbd9f;
  background-color: #cde6cd;
}

.mtquiz_mc_controls {
  font-size: 1.2em;
  display: inline-block;
  font-weight: 400;
}

.mtquiz_mc_answer_content {
  display: inline-block;
  margin-left: 10px;
}
.mtquiz_mc_answer img {
  max-height: 150px;
}

/** big zooom answer image */
.mt-quiz-thumbnail-thumbnail-item {
  /* position relative so that we can use position absolute for the tooltip */
  position: relative;
  /*float: left; */
  margin: 0px 5px;
  display: inline-block;
}
.mt-quiz-thumbnail-thumbnail-item .mt-quiz-thumbnail-bigthumbnail {
  max-height: none !important;
  max-width: none !important;
}

.mt-quiz-thumbnail-thumbnail-item a {
  display: inline-block;
}

.mt-quiz-thumbnail-thumbnail-item img.mt-quiz-thumbnail-thumbnail {
}

.mt-quiz-thumbnail-tooltip {
  /* by default, hide it */
  display: none;
  /* allow us to move the tooltip */
  position: absolute;
  /* align the image properly */
  padding: 8px 0 0 8px;
  z-index: 99999999;
}

.mt-quiz-thumbnail-tooltip span.mt-quiz-thumbnail-overlay {
  /* the png image, need ie6 hack though */
  /* background: url(images/overlay.png) no-repeat;*/
  /* put this overlay on the top of the tooltip image */
  position: absolute;
  top: 0px;
  left: 0px;
  display: block;
  width: 350px;
  height: 200px;
}

/*
 * ANKI
 *
 */
.mtquiz .mt-figure-imp-hint-mtcrew {
  margin-bottom: 1em;
}
.mtquiz_filter {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1em;
}

.mtquiz_filter_anki_btn {
  border: 1px solid #c8c8c8;
  border-radius: 8px;
  padding: 2px 6px;
  color: lightgray;
}

.mtquiz_filter_anki_btn.btn-active {
  border: 1px solid #7e7e7e;
  color: gray;
}

.mt-quiz-anki-cloze {
  font-weight: bold;
  color: #517090;
}
.mt-quiz-anki-cloze:not(.revealed) {
  cursor: pointer;
}
.mt-quiz-anki-cloze:not(.revealed):hover {
  text-decoration: underline;
}

.mt-quiz-anki-ans {
  display: none;
}
.mt-quiz-anki-cloze.revealed .mt-quiz-anki-ans {
  display: inline;
}
.mt-quiz-anki-cloze.revealed .mt-quiz-anki-hide {
  display: none;
}

.mtquiz_anki_info_container .info-text {
  text-align: left;
}

.mtquiz-anki-info-ankizin-logo-container {
  display: flex;
  align-items: center;
  height: 40px;
  position: relative;
  justify-content: center;
  gap: 6px;
  margin: 12px;
  margin-top: 18px;
}

.mtquiz-anki-info-ankizin-logo-container a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.mtquiz-anki-info-ankizin-logo-container img {
  height: auto;
  max-width: 200px;
  max-height: 40px;
  min-width: 0;
}
.mtquiz-anki-info-ankizin-logo-text-container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-shrink: 1;
  min-width: 0;
}

.mtquiz-anki-info-ankizin-logo-text {
  font-family: "Instrument Sans", "Open Sans", sans-serif;
  font-size: 12px;
}

.mtquiz-mode-4-item-container {
  position: relative;
}
.mtquiz-mode-4-item-container.ankizin {
  padding-bottom: 2em;
}
.mtquiz-mode-4-item-container.ankizin .ekp_quiz_menu_head {
  margin-bottom: 1em;
}

.mtquiz-mode-4-item-container img {
  height: 50px !important;
}

.mtquiz-mode-4-item-container img.ankizin-img {
  height: 28px !important;
}
