body {
  background: transparent !important;
  overflow: auto !important;
}
.tooltipster-box:not(.ekp_quiz_mode_2-nowidth):not(.hidePoints) .tooltipster-content {
  min-width: 160px !important;
}

.text_line.number,
.text_line.type {
  min-width: 40px !important;
}

.text_line.association.anki-tooltip {
  border: 0px !important;
}

/** */
.mode-anki-crop-2 {
  /*
    width: 800px;*/

  width: fit-content;
  margin: 0 auto;
}

#meditrick_paywall {
  width: 800px;
}

.mt-anki-topbar-external-link-container,
.mt-anki-feedback-button-container {
  height: 40px;
}

.mt-anki-topbar-external-link-container a,
.mt-anki-feedback-button-container a {
  color: gray;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;
}
.mt-anki-feedback-button-container a i {
  font-weight: bolder;
}
.nightMode .mt-anki-topbar-external-link-container a,
.nightMode .mt-anki-feedback-button-container a {
  color: #c0c0c0;
}
.mt-anki-topbar-external-link-container a:hover,
.mt-anki-feedback-button-container a:hover {
  color: var(--main-a-color-red-hover, #ca5c5c);
}
.mt-ekp-anki-menu-MT-item-content-container {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  flex-basis: 200px;

  background: white;

  border: 1px solid #b4b4b4;
  border-left-width: 0px;
}
.nightMode .mt-ekp-anki-menu-MT-item-content-container {
  border-color: #5b5a5a;
  background: #3a3a3a;
}
.mode-anki-crop-2 .mt-anki-topbar {
  height: 25px;
  background: #e4c4a9;
  border-bottom: 1px solid gray;
  display: flex;
  flex-direction: row;
  text-transform: uppercase;
  font-weight: bold;
  justify-content: space-between;
  color: #503e52;
}
.mode-anki-crop-2 .mt-anki-topbar-name-container {
  width: 100%;
  cursor: pointer;
}
.mode-anki-crop-2 .mt-anki-topbar-name-title-container {
  display: flex;
  justify-content: space-between;
  height: 100%;
  align-items: center;
}
.mode-anki-crop-2 .mt-ekp-anki-menu-container {
  height: 100%;
}

.mode-anki-crop-2 .mt-anki-topbar-name-container div.item {
  height: 25px;

  display: flex;
  align-items: center;
  padding-left: 5px;
}
.mode-anki-crop-2 .mt-anki-topbar-name-dropdown {
  position: relative;
  z-index: 1000;
  background: #e4c4a9;
  display: none;
}

.mode-anki-crop-2 .mt-anki-topbar-name-container:hover .mt-anki-topbar-name-dropdown {
  display: block;
}
.mode-anki-crop-2 .mt-anki-topbar-name-container .mt-anki-topbar-name-dropdown .item:hover {
  background: #dcac85;
}
.mode-anki-crop-2 .mt-anki-topbar-name-container .mt-anki-topbar-name-dropdown .item {
  border: 1px solid gray;
  border-left: 0px;
  border-right: 0px;
}
.mt-ekp-tabcontents {
  border: 1px solid gray;
  position: relative;
  background: white;
}
.nightMode .mt-ekp-tabcontents {
  border-color: #5b5a5a;
  border-right: 1px solid #9f9696;
  background: #3a3a3a;
}

.mt-ekp-tabcontents-cont {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  /* max-height: 352px; */
}

.mt-ekp-tabcontents-cont > div {
  /* max-height: inherit; */
}

.mt-ekp-tabcontents-menu {
  width: fit-content;
  background: white;
  border: 1px solid #b4b4b4; /* gray; */
  border-left-width: 0px;

  max-height: 352px;
}
.nightMode .mt-ekp-tabcontents-menu {
  border-color: #5b5a5a;
}

.mt-ekp-anki-menu-MT-container {
  display: flex;
  gap: 3px;
  height: 100%;
  flex-direction: column;
  background: rgb(240 239 240);
}

.nightMode .mt-ekp-anki-menu-MT-container {
  background: gray;
}

.mode-anki-crop-2 .mt-ekp-anki-menu-MT-item {
  /*
    flex: unset !important; */

  flex-basis: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  padding: 0.1em;
  /*
    border: 1px solid gray;*/

  overflow: auto;
}
.mt-ekp-anki-menu-MT-item-content {
  flex: 100%;
  padding-top: 1em;
  padding: 1em;
  padding-top: 10px;
  height: 100%;

  max-height: 340px;
  overflow-y: scroll;
  text-overflow: ellipsis;
}

.mode-anki-crop-2 .mt-ekp-anki-menu-MT-item::-webkit-scrollbar,
.mt-ekp-anki-menu-MT-item-content::-webkit-scrollbar {
  background-color: transparent;
  width: 8px;
}

.mode-anki-crop-2 .mt-ekp-anki-menu-MT-item::-webkit-scrollbar-thumb {
  background-color: #c8c8c8;
}
.mt-ekp-anki-menu-MT-item-content::-webkit-scrollbar-thumb {
  background-color: #e4e4e4;
}
.mode-anki-crop-2 .mt-ekp-anki-menu-MT-item::-webkit-scrollbar-corner,
.mt-ekp-anki-menu-MT-item-content::-webkit-scrollbar-corner {
  background: transparent;
}
.mode-anki-crop-2 .mt-ekp-anki-menu-MT-item::-webkit-resizer,
.mt-ekp-anki-menu-MT-item-content::-webkit-resizer {
  background: transparent;
}

.mt-ekp-anki-menu-MT-item-content .text_line.description {
  line-height: 20px !important;
}
.nightMode .mt-ekp-anki-menu-MT-item-content {
  background: #3a3a3a;
}
.nightMode .mt-ekp-anki-menu-MT-item-content .text_line.description,
.nightMode .mt-ekp-anki-menu-MT-item-content .text_line.description *,
.nightMode .mt-ekp-anki-menu-MT-item-content .mt-anki-freewall-description-text,
.nightMode .mt-ekp-anki-menu-MT-item-content .mt-anki-freewall-description-text * {
  color: #e5e5e5 !important;
}

.mt-ekp-anki-menu-MT-item:hover {
}
.mt-ekp-anki-menu-MT-item-content-row {
  padding: 0.5em;
  /*
    border: 1px solid gray;*/
}
.mt-ekp-anki-menu-MT-item-title-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.25em;
}
.mt-ekp-anki-menu-MT-item-title {
  color: gray;
  font-weight: bold;
  font-size: 1.1em;
}

.mt-ekp-anki-menu-MT-item-mtf {
}
.mode-anki-crop-2 .mt-ekp-anki-menu-MT-points-container {
  padding-top: 0.25em;
  display: flex;
  gap: 10px;
  flex-direction: column;
  align-items: center;
}

.mt-ekp-anki-menu-points-item {
  /* border: 1px solid gray; */
  border-radius: 7px;
  background: #f2f2f2;
  color: rgb(73, 73, 73);
  font-weight: bold;
}
.nightMode .mt-ekp-anki-menu-points-item {
  background: gray;
}

.mt-ekp-anki-point-button {
  display: block;
  width: 100%;
  margin: 0px;
  height: 100%;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #f2f2f2;
  border: 1px solid gray;
  outline: none;
  color: rgb(96 96 96);
  font-weight: bold;
  font-size: 18px;
  padding: 0px;
}
.nightMode .mt-ekp-anki-point-button {
  background: lightgrey;
  border-color: #666666;
}

.mt-ekp-anki-point-button.button-multiple {
  height: auto;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
}
.mt-ekp-anki-point-button-subsnippet {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mt-ekp-anki-point-button-subsnippet-bullet {
  border-radius: 50%;
  height: 12px;
  width: 12px;

  border: 3px solid gray;
}
.mt-ekp-anki-point-button-subsnippet.item-active .mt-ekp-anki-point-button-subsnippet-bullet {
  /*   background: #eac8ae;*/
  background: #ca5c5c;
  border-color: #ca5c5c;
}
.mt-ekp-anki-point-button-subsnippet:not(.first-item):hover {
  background: #cfcfcf;
  border-color: #ca5c5c;
}

a:hover .mt-ekp-anki-point-button-subsnippet.first-item {
  background: #cfcfcf;
}
a:hover .mt-ekp-anki-point-button-subsnippet-bullet,
.mt-ekp-anki-point-button-subsnippet-bullet:hover {
  border-color: #ca5c5c;
}
.mt-ekp-anki-point-button.inactive {
  cursor: initial;
}

.mt-ekp-anki-point-button a {
  color: unset;
  display: block;
  position: relative;
  top: -1px;
}

.item-active .mt-ekp-anki-point-button a {
  position: relative;
  top: -1px;
}
.mt-ekp-anki-point-button.button-multiple > a:hover {
  background: #cfcfcf;
  color: #ca5c5c;
}
.mt-ekp-anki-point-button.button-multiple .mt-ekp-anki-point-button-subsnippet a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.mt-ekp-anki-point-button:not(.inactive):not(.button-multiple):hover {
  background: #cfcfcf;
}
.mt-ekp-anki-menu-points-item.item-active .mt-ekp-anki-point-button {
  background: #eac8ae;
  /*font-weight: bolder;*/
  border: 3px solid #ca5c5c;
}

.mt-ankibox-mtnamebox {
  position: absolute;
  bottom: 0px;
  left: 0;
  padding-left: 5px;
  width: auto;
  padding-right: 0px;
  min-height: 45px;

  z-index: 1000000;
}
.mt-ankibox-mtnamebox:hover {
  width: 100%;
}

.mt-ankibox-mtnamebox * {
  transition: 0.2s;
}

.mt-ankibox-mtnamebox .mt-ankibox-mtnamebox-container {
  display: flex;
  gap: 5px;
  border-top-left-radius: 15px;
  cursor: pointer;
}

.mt-ankibox-mtnamebox:hover .mt-ankibox-mtnamebox-container {
  background: #e7e09d;
  box-shadow: 0 0em 0.375em 0 rgba(0, 0, 0, 0.175);
}
.mt-ankibox-mtnamebox-text-title {
  font-weight: bold;
}
.mt-ankibox-mtnamebox-text-container {
  display: none;
  flex-direction: column;
  padding-bottom: 5px;
  opacity: 0;
  user-select: none;
}
.mt-ankibox-mtnamebox:hover .mt-ankibox-mtnamebox-text-container {
  opacity: 1;
  display: flex;
}

.mt-ankibox-mtnamebox-img-container {
  padding: 5px;
}
.mt-ankibox-mtnamebox img {
  width: 30px;
  height: 30px;
  max-width: none;
  border-radius: 50%;
  box-shadow: 0 0.125em 0.375em 0 rgba(0, 0, 0, 0.175);
}

.mt-ankibox-mtnamebox-text-title {
  line-height: 25px;
}
.mt-ankibox-mtnamebox-text-subtitle {
  color: #45818e;
  line-height: 15px;
  position: relative;
  top: -3px;
}

/**
FREEWALL

*/

.mt-anki-freewall-mode .mt-ankibox-mtnamebox {
  width: 100%;
}

.mt-anki-freewall-mode .mt-ankibox-mtnamebox-text-container {
  display: flex;
  opacity: 1;
}

.mt-anki-freewall-mode .mt-ankibox-mtnamebox .mt-ankibox-mtnamebox-container {
  background: #e7e09dbf;
  box-shadow: 0 0em 0.375em 0 rgba(0, 0, 0, 0.075);
}

.mt-anki-freewall-mode .mt-ankibox-mtnamebox:hover .mt-ankibox-mtnamebox-container {
  background: #e7e09d;
  box-shadow: 0 0em 0.375em 0 rgba(0, 0, 0, 0.175);
}
.mt-anki-freewall-mode .mt-ekp-anki-menu-MT-item-content {
  height: 350px;
  max-height: 350px;
}

.image_section-fullscreen-controls {
  position: absolute;
  z-index: 1022;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.image_section-fullscreen {
  width: 100%;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;

  position: absolute;
  z-index: 1021;
  background: white;
}
.nightMode .image_section-fullscreen {
  background: #3a3a3a;
}
.nightMode .mt-underconstruction .mt-ekp-tabcontents .image_wrapper img {
  display: none;
}
.nightMode .mt-underconstruction .mt-ekp-tabcontents .image_wrapper {
  background: #3a3a3a;
}

.image_wrapper-fullscreen {
  height: 197px;
  max-height: 350px;
  position: relative;
  user-select: none;
}

.controls-button {
  background: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}

.controls-button:hover {
  opacity: 1;
}

.image_section-fullscreen-controls:not(.mt-show) .controls-close,
.image_section-fullscreen-controls.mt-show .controls-open {
  display: none;
}

.image_section-fullscreen-controls.mt-show .controls-close,
.image_section-fullscreen-controls:not(.mt-show) .controls-open {
  display: flex;
}

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

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

.mt-anki-feedback-template {
  display: none;

  position: absolute;
  background: gray;
  border-radius: 10px;
  bottom: 0;
  width: max-content;
}

.ekp_feedback_type_element_content {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* This is how you would create a theme called "my-custom-theme": */

.mt-anki-feedback-tooltip-theme.tooltipster-sidetip .tooltipster-box {
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.1) !important;
}

.mt-anki-feedback-tooltip-content .ekp_feedback_text_container {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  max-width: 400px;
}
.mt-anki-feedback-tooltip-content .ekp_feedback_text {
  width: 100%;
}

.mt-anki-feedback-tooltip-content {
  display: flex;
  flex-direction: column;
}
.mt-anki-feedback-tooltip-content .mt-anki-feedback-tooltip-content-textarea,
.mt-anki-feedback-tooltip-content .mt-anki-feedback-tooltip-content-mailarea {
  width: 100%;
}

.mt-anki-feedback-tooltip-content .ekp_feedback_type_box {
  display: flex;
  gap: 5px;
  width: 100%;
  margin-right: 0px;

  font-size: 14px;
}

.mt-anki-feedback-tooltip-content .ekp_feedback_type_element_content {
  font-size: 16px;
}
.mt-anki-feedback-tooltip-content .ekp_feedback_type_element_content > span {
  font-size: 16px;
  position: relative;
  top: -1.5px;
}

.mt-anki-feedback-tooltip-content .ekp_feedback_type_element {
  border-radius: 3px;
  padding-left: 4px;
  padding-right: 4px;
}
.mt-anki-feedback-tooltip-content .ekp_feedback_type_element.selected {
  font-weight: bold;
  background: #efefef;
  color: #3e3e3e !important;
}
.mt-anki-feedback-tooltip-content .ekp_feedback_type_element:hover {
  background-color: #d8d8d8;
  color: gray;
}
.mt-anki-feedback-tooltip-content .mt-anki-feedback-tooltip-content-typehint {
  font-size: 10px;
  font-variant: normal;
}

.mt-anki-feedback-tooltip-content a.ekp_feedback_submit {
  font-size: 12px;
}

.mt-anki-feedback-tooltip-content a.ekp_feedback_submit button {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 5px;
  border-radius: 8px;
  margin-bottom: 2px;
  margin-top: 5px;
  transition: 0.2s ease;
}
.mt-anki-feedback-tooltip-content a.ekp_feedback_submit:hover button {
  color: #3e3e3e;
  background: #eeeeee;
}
.mt-anki-feedback-tooltip-content .mt-logo {
  width: 16px;
  position: relative;
  top: -1.5px;
  right: -0.5px;
  filter: saturate(0.95);
}
.mt-anki-feedback-tooltip-content a.ekp_feedback_submit button .x-icon {
  /*margin-left:5px; */
}

.mt-anki-feedback-tooltip-content .ekp_feedback_spin .mt-gamification-cv-spinner {
  top: 0px !important;
}
.mt-anki-feedback-tooltip-content .ekp_feedback_success_msg {
  width: fit-content;
  margin: 0 auto;
  margin-top: 5px;
  margin-bottom: 5px;
}

/* Break-point: Beschreibungs-Box nach unten */

@media screen and (max-width: 612px) {
  .mt-ekp-tabcontents-cont > div {
    max-height: unset;
    max-height: 352px;
  }
  .mt-ekp-tabcontents-cont {
    max-width: 412px;
    min-width: 404px;
    width: max-content;
  }
  .mt-ekp-anki-menu-MT-item-content-container {
    flex: 1;
    flex-basis: 100%;
    max-height: 750px !important;
    /* max-width: 404px; */

    border-left-width: 1px;
    border-top-width: 0px;
  }
  .mt-ekp-tabcontents-menu {
    flex: 1;
  }
}

/* Break-point: Beschreibungs-Box + Snippet-Menü nach unten */

@media screen and (max-width: 412px) {
  .mt-ekp-tabcontents-cont {
    width: 352px;
    max-width: 352px;
    min-width: unset;
  }

  .mode-anki-crop-2 .mt-ekp-anki-menu-MT-points-container {
    /* switch to column direction for individual items */
    flex-direction: row;
  }

  .mt-ekp-tabcontents,
  .mt-ekp-tabcontents-menu,
  .mt-ekp-anki-menu-MT-item-content-container {
    flex: 1;
    flex-basis: 100%;
  }

  .mt-ekp-anki-menu-MT-container {
    flex-direction: row;
  }

  .mt-anki-topbar-external-link-container,
  .mt-anki-feedback-button-container {
    height: 100%;
  }
  .mt-ekp-tabcontents-menu {
    border-top-width: 0px;
    border-left-width: 1px;
  }

  .mt-ekp-tabcontents-menu {
    max-width: -webkit-fill-available;
  }
  .mode-anki-crop-2 .mt-ekp-anki-menu-MT-item::-webkit-scrollbar,
  .mt-ekp-anki-menu-MT-item-content::-webkit-scrollbar {
    background-color: transparent;
    height: 8px;
  }
}

@media only screen and (max-width: 799px) {
  #meditrick_paywall {
    width: unset;
    min-width: 350px;
  }
  .mt-ankibox-paywall-content-card {
    padding: 13px;
    padding-bottom: 10px;
    padding-top: 7px;
    width: 90%;
    border-radius: 24px;
    box-shadow: 0 6px 26px rgba(0, 0, 0, 0.05);
  }
  .mt-ankibox-paywall-mtxanki {
    padding: 80px;
    max-width: 306px;
  }
  h3.mt-ankibox-paywall-content-card-header {
    font-size: 1.3em;
  }
  .mt-ankibox-paywall-content-card-box {
    font-size: 0.8em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  }
  .mt-ankibox-paywall-content-card-box.action-button {
    font-size: 0.8em;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.07);

    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
  }
  .mt-ankibox-paywall-bg {
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* opacity: 0.85; */
  }

  .mt-ankibox-paywall-bg img {
    height: 100%;
    width: auto;
    max-width: unset;
  }
}

@media only screen and (min-width: 413px) and (max-width: 799px) {
  .mt-anki-freewall-mode .mt-ekp-tabcontents-cont {
    max-width: 412px;
    min-width: 404px;
    width: max-content;
  }
  .mt-anki-freewall-mode .mt-ekp-tabcontents-menu {
    flex: 1;
  }
}

.mt-anki-freewall-description {
  max-width: 360px;
}
.mt-anki-freewall-description h6 {
  margin: 0;
  text-transform: none;
  font-size: 1em;
}

.mt-anki-freewall-description h4 {
  margin-top: 0;
  margin-bottom: 0.25em;

  font-size: 1.5em;
  font-weight: bold;
}
.mt-anki-freewall-description {
  font-size: 1.12em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.mt-anki-freewall-description p {
  line-height: 1.25em;
  margin-bottom: 1em;
}

.mt-anki-freewall-description-row1 {
}

.mt-anki-freewall-description-row2 {
}
.mt-anki-freewall-description-row3 {
}
.mt-anki-freewall-description-row-last {
  margin-bottom: 1.7em !important;
}
