/* IcoMoon font licensed under the GNU General Public License: http://www.gnu.org/licenses/gpl.html */
@font-face {
  font-family: 'icomoon-multichoice';
  src:url('../fonts/icomoon.eot');
  src:url('../fonts/icomoon.eot?#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.woff') format('woff'),
    url('../fonts/icomoon.ttf') format('truetype'),
    url('../fonts/icomoon.svg#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}
*{
  outline: none;
}

.h5p-multichoice .h5p-answers {
  list-style: none;
  padding: 0;
  overflow: visible;
  margin: 0;
}

.h5p-multichoice .h5p-answer {
  list-style: none;
  margin: var(--h5p-theme-spacing-xxs) 0;
  padding: 0;
  background: none;
  position: relative;
  cursor: pointer;
}

.h5p-multichoice .h5p-alternative-container {
  display: flex;
  align-items: center;
  padding: var(--h5p-theme-spacing-xs) var(--h5p-theme-spacing-s); 
  background: var(--h5p-theme-alternative-base); 
  border-radius: var(--h5p-theme-border-radius-medium); 
  border: 1px solid var(--h5p-theme-alternative-base);
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  text-align: left;
  line-height: var(--h5p-theme-font-size-xxl);
  font-weight: 600;
  color: var(--h5p-theme-text-secondary);
  font-size: var(--h5p-theme-font-size-m);
}

.h5p-multichoice .h5p-answer[aria-disabled="true"] .h5p-alternative-container {
  background: var(--h5p-theme-ui-base);
  border-color: var(--h5p-theme-alternative-darker);
}

.h5p-theme .h5p-correct .h5p-alternative-container {
  color: var(--h5p-theme-text-primary);
}

.h5p-multichoice .h5p-answer:hover:not([aria-disabled="true"]) .h5p-alternative-container {
  background: var(--h5p-theme-alternative-dark);
  border-color: var(--h5p-theme-alternative-dark);
}
.h5p-multichoice .h5p-answer .h5p-alternative-container:before {
  font-family: h5p-theme;
  border: medium none;
  display: inline;
  text-decoration: none;
  color: var(--h5p-theme-text-primary);
  font-size: var(--h5p-theme-font-size-xl);
  align-self: flex-start;
}
.h5p-multichoice .h5p-answer[role="radio"] .h5p-alternative-container:before {
  content: "\e90e";
}
.h5p-multichoice .h5p-answer[role="radio"][aria-checked="true"] .h5p-alternative-container:before {
  content: "\e90d";
}
.h5p-multichoice .h5p-answer[role="checkbox"] .h5p-alternative-container:before {
  content: "\e90b";
}
.h5p-multichoice .h5p-answer[role="checkbox"][aria-checked="true"] .h5p-alternative-container:before {
  content: "\e90c";
}


.h5p-multichoice .h5p-answers .h5p-answer[aria-disabled="true"] .h5p-alternative-container:before,
.h5p-multichoice .h5p-answers .h5p-answer.h5p-correct .h5p-alternative-container:before,
.h5p-multichoice .h5p-answers .h5p-answer.h5p-wrong .h5p-alternative-container:before {
  content: '';
  margin-left: 0;
}

.h5p-answer:not([aria-disabled="true"]) .h5p-alternative-container::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  transform-origin: bottom center;
  height: calc(var(--h5p-theme-spacing-xxs)/2);
  bottom: 0;
  left: 0;
  background-color: var(--h5p-theme-main-cta-base);
  z-index: 1;

  transition: transform 0.25s ease-out;
}

.h5p-answer.h5p-selected .h5p-alternative-container::after {
  transform: scaleX(1);
}

.h5p-selected.h5p-correct .h5p-alternative-container::after,
.h5p-selected.h5p-wrong .h5p-alternative-container::after {
  transform: scaleX(0);
}

.h5p-multichoice .h5p-answer[aria-disabled="true"] {
  cursor: default;
}

.h5p-multichoice .h5p-answer[aria-checked="true"] .h5p-alternative-container {
  color: var(--h5p-theme-text-primary);
  background: var(--h5p-theme-alternative-dark);
  box-shadow: none;
}
.h5p-multichoice .h5p-answer[aria-checked="true"]:not(.h5p-wrong):not(.h5p-correct):not([aria-disabled="true"]):hover .h5p-alternative-container {
  background-color: var(--h5p-theme-alternative-dark);
  box-shadow: none;
}

.h5p-multichoice .h5p-answer:last-child {
  margin-bottom: 0;
}

.h5p-multichoice h2 {
  font-size: calc(var(--h5p-theme-font-size-xl)*1.2);
  font-weight: normal;
}

.h5p-multichoice .h5p-answer-icon {
  display: inline-block;
  min-width: var(--h5p-theme-spacing-m);
  font-family: 'h5p-theme' !important;
  font-size: var(--h5p-theme-font-size-l) !important;
  font-weight: 600 !important;
  text-decoration: none;
  overflow: hidden;
  align-self: flex-start;
}
.h5p-multichoice .h5p-correct .h5p-answer-icon:before {
  content: "\e903";
  color: var(--h5p-theme-feedback-correct-main);
}
.h5p-multichoice .h5p-wrong .h5p-answer-icon:before {
  content: "\e902";
  color: var(--h5p-theme-feedback-incorrect-main);
}

.h5p-multichoice .h5p-solution-icon-radio,
.h5p-multichoice .h5p-solution-icon-checkbox {
  min-width: var(--h5p-theme-spacing-s);
  margin-left: auto;
  align-self: center;
  font-family: h5p-theme;
  overflow: hidden;
}

.h5p-multichoice .h5p-should .h5p-solution-icon-radio:before {
  font-family: 'h5p-theme' !important;
  content: "\e90d";
  color: var(--h5p-theme-text-primary);
}
.h5p-multichoice .h5p-should-not .h5p-solution-icon-radio:before {
  content: "\e90e";
  color: var(--h5p-theme-text-primary);
}
.h5p-multichoice .h5p-should .h5p-solution-icon-checkbox:before {
  content: "\e90c";
  color: var(--h5p-theme-text-primary);
}
.h5p-multichoice .h5p-should-not .h5p-solution-icon-checkbox:before {
  content: "\e90b";
  color: var(--h5p-theme-text-primary);
}

.h5p-multichoice .feedback-text {
  height: var(--h5p-theme-spacing-l);
  top: 0;
  margin: 0;
  padding: 0;
  font-weight: bold;
  font-size: var(--h5p-theme-font-size-xl);
  line-height: var(--h5p-theme-spacing-l);
  color: var(--h5p-theme-feedback-correct-main);
}

.h5p-multichoice .feedback-text.h5p-failed {
  color: #b71c1c;
}
.h5p-multichoice .feedback-text.h5p-almost {
  color: #666;
}
.h5p-multichoice .feedback-text.h5p-passed {
  color: #255c41;
}

.h5p-alternative-inner {
  margin-right: var(--h5p-theme-spacing-s);
  margin-left: var(--h5p-theme-spacing-xxs);
}
.h5p-alternative-inner div,
.h5p-alternative-inner p {
  display: inline;
}

.h5p-clearfix {
  clear: both;
}

.h5p-multichoice .h5p-radio-or-checkbox {
  border: medium none;
  display: block;
  height: var(--h5p-theme-spacing-s);
  margin: auto;
  width: var(--h5p-theme-spacing-s);
  text-decoration: none;
  font-family: icomoon-multichoice;
  color: var(--h5p-theme-text-secondary);
  pointer-events: none;
}

.h5p-multichoice .h5p-selected .h5p-radio-or-checkbox {
  color: #235e7c;
}

.h5p-question p:last-child {
  margin-bottom: 0;
}

.h5p-question p:first-child {
  margin-top: 0;
}

.h5p-multichoice .h5p-feedback-button {
  position: absolute;
  cursor: pointer;
  right: 2.125rem;
  top: 0.4375rem;
  line-height: 1rem;
  background: var(--h5p-theme-ui-base);
}
.h5p-multichoice .h5p-selected.h5p-should.h5p-correct .h5p-feedback-button,
.h5p-multichoice .h5p-selected.h5p-should-not.h5p-correct .h5p-feedback-button,
.h5p-multichoice .h5p-selected.h5p-should.h5p-wrong .h5p-feedback-button,
.h5p-multichoice .h5p-selected.h5p-should-not.h5p-wrong .h5p-feedback-button {
  right: calc(--spacing-l)*1.75;
}

.h5p-multichoice .h5p-feedback-button:focus {
  outline: none;
}
.h5p-multichoice .h5p-answer:focus{
  outline: 4px ridge var(--h5p-theme-main-cta-base);
  border-radius: 4px;
}
.h5p-multichoice .h5p-feedback-button:before {
  font-family: 'H5PFontAwesome4';
  content: "\f075";
  color: var(--h5p-theme-ui-base);
  text-shadow: 0 0 calc(var(--h5p-theme-spacing-xxs)/2) var(--h5p-theme-text-primary);
}
.h5p-multichoice .h5p-feedback-button:hover:before {
  color: var(--h5p-theme-ui-base);
}

/* Feedback dialog*/
.h5p-multichoice .h5p-feedback-dialog {
  position: relative;
  padding: calc(var(--h5p-theme-spacing-xxs)/2) var(--h5p-theme-spacing-xxs) var(--h5p-theme-spacing-xxs) var(--h5p-theme-spacing-xxs) ;
  background-color: var(--h5p-theme-alternative-base);
  border: 1px solid var(--h5p-theme-alternative-base);
  border-top: none;
  border-radius: var(--h5p-theme-border-radius-medium);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.h5p-multichoice .h5p-answer:hover:not([aria-disabled="true"]) .h5p-feedback-dialog {
  background: var(--h5p-theme-alternative-dark);
  border-color: var(--h5p-theme-alternative-dark);
}

.h5p-multichoice .h5p-answer[aria-checked="true"] .h5p-feedback-dialog {
  background-color: var(--h5p-theme-alternative-dark);
  border-color: var(--h5p-theme-alternative-base);
}

.h5p-multichoice .h5p-answer[aria-disabled="true"] .h5p-feedback-dialog {
  background-color: var(--h5p-theme-ui-base);
  border-color: var(--h5p-theme-alternative-darker);
}

.h5p-multichoice .h5p-answer.h5p-selected .h5p-feedback-dialog {
  background-color: var(--h5p-theme-alternative-darker);
}

.h5p-multichoice .h5p-answer.h5p-correct .h5p-feedback-dialog {
  background-color: var(--h5p-theme-feedback-correct-secondary);
  border-color: var(--h5p-theme-feedback-correct-third);
}

.h5p-multichoice .h5p-answer.h5p-wrong .h5p-feedback-dialog {
  background-color: var(--h5p-theme-feedback-incorrect-secondary);
  border-color: var(--h5p-theme-feedback-incorrect-third);
}

.h5p-multichoice .h5p-answer .h5p-feedback-inner {
  padding: var(--h5p-theme-spacing-xxs) calc(var(--h5p-theme-spacing-m)/1.2);
  margin: calc(-1* var(--h5p-theme-spacing-xs)) 0 0 0;
  background: var(--h5p-theme-alternative-light); 
  color: var(--h5p-theme-text-primary);
  border: solid 1px var(--h5p-theme-alternative-darker);
  border-radius: var(--h5p-theme-border-radius-small);
  text-align: left;
  font-family: var(--h5p-theme-font-name);
  font-size: 14px;
  position: relative;
  box-shadow: 1px 2px 0px 0px rgba(0, 0, 0, 0.05);
}

.h5p-multichoice .h5p-answer.h5p-selected .h5p-feedback-inner {
  border: 1px solid var(--h5p-theme-alternative-dark);
}

.h5p-multichoice .h5p-feedback-inner:before {
  content: "";
  position: absolute;
  left: var(--h5p-theme-spacing-xs);
  top: -0.3rem;
  width: var(--h5p-theme-spacing-xxs);
  height: var(--h5p-theme-spacing-xxs);
  background: var(--h5p-theme-alternative-light); 
  border-color: var(--h5p-theme-alternative-darker);
  border-width: 1px 0 0 1px;
  border-style: solid;
  
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.h5p-multichoice .h5p-feedback-dialog.h5p-has-tip .h5p-feedback-inner:before {
  left: auto;
  right: var(--h5p-theme-spacing-s);
}

.h5p-multichoice .h5p-feedback-text {
  position: relative;
  z-index: 3;
  overflow: auto;
  overflow-x: hidden;
  overflow-y: auto;
}

.h5p-multichoice .h5p-feedback-text::-webkit-scrollbar {
  width: 0.4rem;
}
.h5p-multichoice .h5p-feedback-text::-webkit-scrollbar-thumb {
  border-radius: 0.2rem;
  background: #aaa;
}

/* Tip icon*/
.h5p-multichoice .multichoice-tip {
  text-align: center;
  font-size: var(--h5p-theme-font-size-xl);
  line-height: 1.5;
  width: var(--h5p-theme-font-size-xxl);
  height: var(--h5p-theme-font-size-xxl);

  color: var(--h5p-theme-text-third);
  cursor: pointer;
  font-weight: normal;
}

.h5p-multichoice .multichoice-tip:focus {
  outline: 4px ridge var(--h5p-theme-main-cta-base);
  border-radius: 4px;
}

.using-mouse .h5p-multichoice .multichoice-tip:focus {
  box-shadow: none;
}

.h5p-multichoice .multichoice-tip .joubel-icon-tip-normal {
  float: right;
  margin-top: calc(0px - var(--h5p-theme-font-size-xxl) / 4);
}

.h5p-multichoice .multichoice-tip:hover {
  color: var(--h5p-theme-text-secondary);
}

.h5p-multichoice .h5p-selected.h5p-should-not.h5p-correct .multichoice-tip,
.h5p-multichoice .h5p-selected.h5p-should.h5p-correct .multichoice-tip,
.h5p-multichoice .h5p-selected.h5p-should.h5p-wrong .multichoice-tip,
.h5p-multichoice .h5p-selected.h5p-should-not.h5p-wrong .multichoice-tip {
  right: calc(var(--h5p-theme-spacing-xl)* 0.96);
}

/* Remove tip icon on check */
.h5p-multichoice [aria-disabled="true"] .h5p-multichoice-tipwrap {
  display: none;
}

.h5p-multichoice-tipwrap {
  display: inline;
  margin-left: auto;
  margin-bottom: -3px;
}

.h5p-multichoice .h5p-question-plus-one,
.h5p-multichoice .h5p-question-minus-one {
  display: inline-block;
  position: unset;
}

.h5p-multichoice .h5p-answer.h5p-selected .h5p-alternative-container {
  background-color: var(--h5p-theme-alternative-darker);
}

.h5p-multichoice .h5p-answer.h5p-wrong .h5p-alternative-container {
  color: var(--h5p-theme-feedback-incorrect-main);
  background-color: var(--h5p-theme-feedback-incorrect-secondary);
  border: 1px solid var(--h5p-theme-feedback-incorrect-third);
}

.h5p-multichoice .h5p-answer.h5p-correct .h5p-alternative-container {
  color: var(--h5p-theme-feedback-correct-main);
  background-color: var(--h5p-theme-feedback-correct-secondary);
  border: 1px solid var(--h5p-theme-feedback-correct-third);
}

.h5p-multichoice .h5p-answer:has(.h5p-feedback-dialog) .h5p-alternative-container {
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.h5p-multichoice .h5p-question-main-content .h5p-question-introduction {
  margin: var(--h5p-theme-spacing-m) var(--h5p-theme-spacing-m) var(--h5p-theme-spacing-s) var(--h5p-theme-spacing-m);
}

.h5p-multichoice .h5p-answer-icon {
  font-size: var(--h5p-theme-font-size-xl) !important;
}
