/* General CSS for H5P. Licensed under the MIT License.*/

/* Custom H5P font to use for icons. */
@font-face {
  font-family: 'h5p';
  src:    url('../fonts/h5p-core-24.eot?mz1lkp');
  src:    url('../fonts/h5p-core-24.eot?mz1lkp#iefix') format('embedded-opentype'),
  url('../fonts/h5p-core-24.ttf?mz1lkp') format('truetype'),
  url('../fonts/h5p-core-24.woff?mz1lkp') format('woff'),
  url('../fonts/h5p-core-24.svg?mz1lkp#h5p') format('svg');
  font-weight: normal;
  font-style: normal;
}

html.h5p-iframe, html.h5p-iframe > body {
  font-family: Sans-Serif; /* Use the browser's default sans-serif font. (Since Heletica doesn't look nice on Windows, and Arial on OS X.) */
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
.h5p-semi-fullscreen, .h5p-fullscreen, html.h5p-iframe .h5p-container {
  overflow: hidden;
}
.h5p-content {
  position: relative;
  background: #fefefe;
  border: 1px solid #EEE;
  border-bottom: none;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}
.h5p-noselect
{
  -khtml-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
html.h5p-iframe .h5p-content {
  font-size: 16px;
  line-height: 1.5em;
  width: 100%;
  height: auto;
}
html.h5p-iframe .h5p-fullscreen .h5p-content,
html.h5p-iframe .h5p-semi-fullscreen .h5p-content {
  height: 100%;
}
.h5p-content.h5p-no-frame,
.h5p-fullscreen .h5p-content,
.h5p-semi-fullscreen .h5p-content {
  border: 0;
}
.h5p-container {
  position: relative;
  z-index: 1;
}
.h5p-iframe-wrapper.h5p-fullscreen {
  background-color: #000;
}
body.h5p-semi-fullscreen {
  position: fixed;
  width: 100%;
  height: 100%;
}
.h5p-container.h5p-semi-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 101;
  width: 100%;
  height: 100%;
  background-color: #FFF;
}

.h5p-content-controls {
  margin: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 3;
}
.h5p-fullscreen .h5p-content-controls {
  display: none;
}

.h5p-content-controls > a:link, .h5p-content-controls > a:visited, a.h5p-disable-fullscreen:link, a.h5p-disable-fullscreen:visited {
  color: #e5eef6;
}

.h5p-enable-fullscreen:before {
  font-family: 'H5P';
  content: "\e88c";
}
.h5p-disable-fullscreen:before {
  font-family: 'H5P';
  content: "\e891";
}
.h5p-enable-fullscreen, .h5p-disable-fullscreen {
  cursor: pointer;
  color: #EEE;
  background: rgb(0,0,0);
  background: rgba(0,0,0,0.3);
  line-height: 0.975em;
  font-size: 2em;
  width: 1.125em;
  height: 1em;
  text-indent: 0.04em;
}
.h5p-disable-fullscreen {
  line-height: 0.925em;
  width: 1.1em;
  height: 0.9em;
}

.h5p-enable-fullscreen:focus,
.h5p-disable-fullscreen:focus {
  outline-style: solid;
  outline-width: 1px;
  outline-offset: 0.25em;
}

.h5p-enable-fullscreen:hover, .h5p-disable-fullscreen:hover {
  background: rgba(0,0,0,0.5);
}
.h5p-semi-fullscreen .h5p-enable-fullscreen {
  display: none;
}

div.h5p-fullscreen {
  width: 100%;
  height: 100%;
}
.h5p-iframe-wrapper {
  width: auto;
  height: auto;
}

.h5p-fullscreen .h5p-iframe-wrapper,
.h5p-semi-fullscreen .h5p-iframe-wrapper {
  width: 100%;
  height: 100%;
}

.h5p-iframe-wrapper.h5p-semi-fullscreen {
  width: auto;
  height: auto;
  background: black;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100001;
}
.h5p-iframe-wrapper.h5p-semi-fullscreen .buttons {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 20;
}
.h5p-iframe-wrapper iframe.h5p-iframe {
  /* Hack for IOS landscape / portrait */
  width: 10px;
  min-width: 100%;
  *width: 100%;
  /* End of hack */
  height: 100%;
  z-index: 10;
  overflow: hidden;
  border: 0;
  display: block;
}

.h5p-content ul.h5p-actions {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  overflow: hidden;
  list-style: none;
  padding: 0px 10px;
  margin: 0;
  height: 25px;
  font-size: 12px;
  background: #FAFAFA;
  border-top: 1px solid #EEE;
  border-bottom: 1px solid #EEE;
  clear: both;
  font-family: Sans-Serif;
}
.h5p-fullscreen .h5p-actions, .h5p-semi-fullscreen .h5p-actions {
  display: none;
}
.h5p-actions > .h5p-button {
  float: left;
  cursor: pointer;
  margin: 0 0.5em 0 0;
  background: none;
  padding: 0 0.75em 0 0.25em;
  vertical-align: top;
  color: #999;
  text-decoration: none;
  outline: none;
  line-height: 22px;
}
.h5p-actions > .h5p-button:hover {
  color: #666;
}
.h5p-actions > .h5p-button:active,
.h5p-actions > .h5p-button:focus,
.h5p-actions .h5p-link:active,
.h5p-actions .h5p-link:focus {
  color: #666;
}
.h5p-actions > .h5p-button:focus,
.h5p-actions .h5p-link:focus {
  outline-style: solid;
  outline-width: thin;
  outline-offset: -2px;
  outline-color: #9ecaed;
}
.h5p-actions > .h5p-button:before {
  font-family: 'H5P';
  font-size: 20px;
  line-height: 23px;
  vertical-align: bottom;
  padding-right: 0;
}
.h5p-actions > .h5p-button.h5p-export:before {
  content: "\e90b";
}
.h5p-actions > .h5p-button.h5p-copyrights:before {
  content: "\e88f";
}
.h5p-actions > .h5p-button.h5p-embed:before {
  content: "\e892";
}
.h5p-actions .h5p-link {
  float: right;
  margin-right: 0;
  font-size: 2.0em;
  line-height: 23px;
  overflow: hidden;
  color: #999;
  text-decoration: none;
  outline: none;
}
.h5p-actions .h5p-link:before {
  font-family: 'H5P';
  content: "\e88e";
  vertical-align: bottom;
}
.h5p-actions > li {
  margin: 0;
  list-style: none;
}
.h5p-popup-dialog {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  z-index: 100;
  padding: 2em;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  opacity: 0;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
  background:#000;
  background:rgba(0,0,0,0.75);
}
.h5p-popup-dialog.h5p-open {
  opacity: 1;
}
.h5p-popup-dialog .h5p-inner {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  background: #fff;
  height: 100%;
  max-height: 100%;
  position: relative;
}
.h5p-popup-dialog .h5p-inner > h2 {
  position: absolute;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  width: 100%;
  margin: 0;
  background: #eee;
  display: block;
  color: #656565;
  font-size: 1.25em;
  padding: 0.325em 0.5em 0.25em;
  line-height: 1.25em;
  border-bottom: 1px solid #ccc;
  z-index: 2;
}
.h5p-popup-dialog .h5p-inner > h2 > a {
  font-size: 12px;
  margin-left: 1em;
}
.h5p-embed-dialog .h5p-inner,
.h5p-reuse-dialog .h5p-inner,
.h5p-content-user-data-reset-dialog .h5p-inner {
  min-width: 316px;
  max-width: 400px;
  left: 50%;
  top: 50%;
  transform: translateX(-50%);
}
.h5p-embed-dialog .h5p-embed-code-container,
.h5p-embed-size {
  resize: none;
  outline: none;
  width: 100%;
  padding: 0.375em 0.5em 0.25em;
  margin: 0;
  overflow: hidden;
  border: 1px solid #ccc;
  box-shadow: 0 1px 2px 0 #d0d0d0 inset;
  font-size: 0.875em;
  letter-spacing: 0.065em;
  font-family: sans-serif;
  white-space: pre;
  line-height: 1.5em;
  height: 2.0714em;
  background: #f5f5f5;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}
.h5p-embed-dialog .h5p-embed-code-container:focus {
  height: 5em;
}
.h5p-embed-size {
  width: 3.5em;
  text-align: right;
  margin: 0.5em 0;
  line-height: 2em;
}
.h5p-popup-dialog .h5p-scroll-content {
  border-top: 2.25em solid transparent;
  padding: 1em;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  color: #555555;
  z-index: 1;
}
.h5p-popup-dialog.h5p-open .h5p-scroll-content {
  overflow: auto;
  overflow-x: hidden;
  overflow-y: auto;
  height: 100%;
}
.h5p-popup-dialog .h5p-scroll-content::-webkit-scrollbar {
  width: 8px;
}
.h5p-popup-dialog .h5p-scroll-content::-webkit-scrollbar-track {
  background: #e0e0e0;
}
.h5p-popup-dialog .h5p-scroll-content::-webkit-scrollbar-thumb {
  box-shadow: 0 0 10px #000 inset;
  border-radius: 4px;
}
.h5p-popup-dialog .h5p-close {
  cursor: pointer;
  font-size: 2em;
  position: absolute;
  right: 0;
  top: 0;
  width: 1.125em;
  height: 1.125em;
  line-height: 1.125em;
  color: #656565;
  cursor: pointer;
  text-indent: -0.065em;
  z-index: 3
}
.h5p-popup-dialog .h5p-close:after {
  font-family: 'H5P';
  content: "\e894";
}
.h5p-popup-dialog .h5p-close:hover:after,
.h5p-popup-dialog .h5p-close:focus:after {
  color: #454545;
}
.h5p-popup-dialog .h5p-close:active:after {
  color: #252525;
}
.h5p-poopup-dialog h2 {
  margin: 0.25em 0 0.5em;
}
.h5p-popup-dialog h3 {
  margin: 0.75em 0 0.25em;
}
.h5p-popup-dialog dl {
  margin: 0.25em 0 0.75em;
}
.h5p-popup-dialog dt {
  float: left;
  margin: 0 0.75em 0 0;
}
.h5p-popup-dialog dt:after {
  content: ':';
}
.h5p-popup-dialog dd {
  margin: 0;
}
.h5p-expander {
  cursor: pointer;
  font-size: 1.125em;
  margin: 0.5em 0 0;
  display: inline-block;
}
.h5p-expander:before {
  content: "+";
  width: 1em;
  display: inline-block;
  font-weight: bold;
}
.h5p-expander.h5p-open:before {
  content: "-";
  text-indent: 0.125em;
}
.h5p-expander:hover,
.h5p-expander:focus {
  color: #303030;
}
.h5p-expander:active {
  color: #202020;
}
.h5p-expander-content {
  display: none;
}
.h5p-expander-content p {
  margin: 0.5em 0;
}
.h5p-content-copyrights {
  border-left: 0.25em solid #d0d0d0;
  margin-left: 0.25em;
  padding-left: 0.25em;
}
.h5p-throbber {
  background: url('../images/throbber.gif?ver=1.2.1') 10px center no-repeat;
  padding-left: 38px;
  min-height: 30px;
  line-height: 30px;
}
.h5p-dialog-ok-button {
  cursor: default;
  float: right;
  outline: none;
  border: 2px solid #ccc;
  padding: 0.25em 0.75em 0.125em;
  background: #eee;
}
.h5p-dialog-ok-button:hover,
.h5p-dialog-ok-button:focus {
  background: #fafafa;
}
.h5p-dialog-ok-button:active {
  background: #eeffee;
}
.h5p-big-button {
  line-height: 1.25;
  display: block;
  position: relative;
  cursor: pointer;
  width: 100%;
  padding: 1em 1em 1em 3.75em;
  text-align: left;
  border: 1px solid #dedede;
  background: linear-gradient(#ffffff, #f1f1f2);
  border-radius: 0.25em;
}
.h5p-big-button:before {
  font-family: 'h5p';
  content: "\e893";
  line-height: 1;
  font-size: 3em;
  color: #2747f7;
  position: absolute;
  left: 0.125em;
  top: 0.125em;
}
.h5p-copy-button:before {
  content: "\e905";
}
.h5p-big-button:hover {
  border: 1px solid #2747f7;
  background: #eff1fe;
}
.h5p-big-button:active {
  border: 1px solid #dedede;
  background: #dfe4fe;
}
.h5p-button-title {
  color: #2747f7;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 0.5em;
}
.h5p-button-description {
  color: #757575;
}
.h5p-horizontal-line-text {
  border-top: 1px solid #dadada;
  line-height: 1;
  color: #474747;
  text-align: center;
  position: relative;
  margin: 1.25em 0;
}
.h5p-horizontal-line-text > span {
  background: white;
  padding: 0.5em;
  position: absolute;
  top: -1em;
  left: 50%;
  transform: translateX(-50%);
}
.h5p-toast {
  font-size: 0.75em;
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
  z-index: 110;
  position: absolute;
  padding: 0 0.5em;
  line-height: 2;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  top: 0;
  opacity: 1;
  visibility: visible;
  transition: opacity 1s;
}
.h5p-toast-disabled {
  opacity: 0;
  visibility: hidden;
}
.h5p-content code,
.h5peditor code {
  color: #3d3d3d;
  background: #e0e0e0;
  border-radius: 2px;
  padding: 0 5px;
}
.h5p-content pre > code,
.h5peditor pre > code {
  background-color: #fafafa;
  padding: 5px;
  display: block;
  line-height: normal;
  border: 1px solid #c7c7c7;
  border-left-width: 4px;
  max-width: 100%;
  white-space: pre;
  overflow: auto;
}


/* This is loaded as part of Core and not Editor since this needs to be outside the editor iframe */
.h5peditor-semi-fullscreen {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 101;
}
iframe.h5peditor-semi-fullscreen {
  background: #fff;
  z-index: 100001;
}

.h5p-content.using-mouse *:not(textarea):focus {
  outline: none !important;
}


/* --------------- h5p custom ---------------- */
:root {
  --h5p-text-color: #27344e;
}

html.h5p-iframe, html.h5p-iframe > body {
  font-family: 'poppins', Sans-Serif;
}

h2 {
  font-family: 'poppins';
  font-weight: 500;
  font-size: 32px !important;
  color: #1D1F5C;
}

.h5p-content {
  background-color: transparent;
  border: none;
}

.h5p-actions {
  display: none;
}

.h5p-navigation {
  display: none;
}

.h5p-flashcards.h5p-standalone {
  background-color: transparent !important;
}

.h5p-flashcards.h5p-standalone .h5p-description {
  color: var(--h5p-text-color) !important;
}

.h5p-progress {
  color: var(--h5p-text-color) !important;
}

.h5p-description {
  border: none !important;
}

.h5p-question {
  background: transparent !important;
  
}

.h5p-question-introduction {
  font-family: 'poppins';
  font-weight: 300;
  font-style: italic;
  font-size: 30px !important;
  color: #51699A;
}


.h5p-question-content {
  color: #1D1F5C;
}


.h5p-question-content, .h5p-joubelui-button {
  font-family: 'poppins';
  font-weight: normal;
  font-style: normal;
  font-size: 1em !important;
}

.h5p-question-buttons.h5p-question-visible {
  max-height: 100vh !important;
}

.h5p-memory-game, .h5p-image-hotspot-question {
  padding-left: var(--menu-width);
}

.h5p-memory-game .h5p-row-break {
  clear: none !important;
}

.h5p-memory-game .h5p-memory-card .h5p-front > span:before {
  font-size: 1.5em !important;
  line-height: 10vw !important;
}

#page .h5p-memory-game .h5p-memory-wrap {
  width: 10vw !important;
  margin-right: 2vw !important;
  height: 10vw !important;
  margin-bottom: 2vh !important;	
}

.h5p-memory-game .h5p-memory-card {
	margin: 0 !important;
	width: 100% !important;
	height: 100% !important;
}

.h5p-question-content.h5p-dragquestion-has-no-background {
  border: none !important;
}

.h5p-inner {
  max-height: 90vh !important;
}

.h5p-drag-text, .h5p-true-false, .h5p-multichoice, .h5p-blanks, .h5p-image-sequencing {
  width: 75vw !important;
  margin-left: 12.5vw !important;
}

:is(.h5p-standalone.h5p-multichoice, .h5p-true-false ) .h5p-question-introduction {
  padding-bottom: 2vh;
  font-size: 32px !important;
  line-height: 1.8em;
}

.h5p-standalone.h5p-multichoice .h5p-answer, .h5p-true-false-answer {
  margin-top: 3vh;
  font-size: 22px !important;
}

.h5p-flashcards .h5p-visual-progress div {
  background-color: #1a73d9 !important;
}

.h5p-standalone.h5p-multichoice .h5p-question-scorebar, .h5p-standalone.h5p-multichoice .h5p-question-buttons {
  margin-top: 2vh;
}

.h5p-blanks .h5p-question-content p {
  font-size: 20px;
  line-height: 2em !important;
}

.h5p-question-introduction, .h5p-question-content {
  margin: 1vw !important;
}

.h5p-task-description, .h5p-flashcards .h5p-description, .h5p-flashcards-results .h5p-results-title {
  font-family: 'poppins' !important;
  font-weight: 300;
  font-style: italic;
  font-size: 28px !important;
  color: #51699A !important;
}

.h5p-image-sequencing .sequencing-status, 
.h5p-flashcards .h5p-progress, 
.h5p-flashcards .h5p-show-results-label,
.h5p-flashcards .h5p-results-score span
{
  font-size: 22px;
  color: #1D1F5C !important;
  line-height: 2em;
}

.h5p-flashcards-results .h5p-results-list-item {
  background-color: #e0e3eb;
}

.h5p-flashcards-results .h5p-results-question {
  font-size: 18px;
  color: #1D1F5C !important;
  line-height: 2em;
}


.h5p-flashcards-results .h5p-results-list-item .h5p-results-answer {
  font-size: 22px !important;
  color: #1a73d9;
  line-height: 2em;
}

.h5p-flashcards .h5p-results-answer span:not(.h5p-correct) {
  color: #1D1F5C !important;
}

.h5p-flashcards .h5p-results-answer span.h5p-correct, .h5p-flashcards .h5p-results-score {
  font-size: 22px;
  color: #1D1F5C !important;
  line-height: 2em;
}



.h5p-true-false .h5p-question-introduction {
  text-align: center;
}

.h5p-true-false-answers {
  display: flex;
  justify-content: center;
}

.h5p-flashcards .h5p-flashcards-results .h5p-results-retry-button {
  font-size: 1em;
  line-height: 1.2;
  margin: 0 0.5em 1em;
  padding: 0.5em 1.25em;
  border-radius: 2em;
  background: #1a73d9;
  color: #ffffff;
  cursor: pointer;
  border: none;
  box-shadow: none;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  display: inline-block;
  text-align: center;
  text-shadow: none;
  text-decoration: none;
  vertical-align: baseline;
  width: fit-content;
}

.h5p-flashcards .h5p-results-answer span.h5p-correct {
  color: #1a73d9 !important;
}

.h5p-mark-the-words, .h5p-blanks {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  width: fit-content;
}

.h5p-single-choice-set {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  width: 75%;
}



.h5p-single-choice-set .h5p-joubelui-progressbar{
  display: none;
}

:is(.h5p-drag-text, .h5p-true-false, .h5p-multichoice, .h5p-blanks, .h5p-image-sequencing) .h5p-question-introduction {
  background-color: #334c84;
  color: #fff;
  padding: 1vh 4vh;
  font-style: inherit;
  font-weight: 600;
}

.h5p-question-scorebar.h5p-question-visible, .h5p-question-buttons.h5p-question-visible .h5p-question-check-answer {
  /*position: fixed;
  top: 91%;
  left: 200px;*/
  z-index: 10;
}

.h5p-question-buttons.h5p-question-visible.has-scorebar {
  /*position: fixed;
  top: 91%;
  left: calc(200px + 15em);*/
  z-index: 10;
}

.h5p-sc-result-container .h5p-question-buttons.h5p-question-visible.has-scorebar,
.h5p-sc-result-container .h5p-question-scorebar.h5p-question-visible, .h5p-sc-result-container .h5p-question-buttons.h5p-question-visible .h5p-question-check-answer {
  top: 0;
}

.h5p-sc-set-wrapper.initialized {
  overflow-y: hidden !important;
}

.h5p-single-choice-set .h5p-joubelui-progressbar {
  display: none;
}

.h5p-find-the-words .h5p-play-area {
  margin-top: 2vh;
}

.h5p-dragquestion {
  width: 100vw;
  height: 80vw;
}

.h5p-container {
  /*min-height: 90vh;*/
}

.h5p-container, .h5p-container .h5p-inner {
  transform-origin: top center;
}

.h5p-container.h5p-multichoice, .h5p-container.h5p-true-false  {
  transform-origin: center center;
}


/*
.h5p-flashcards .h5p-results-retry-button {
  position: absolute;
  top: 100%;
}*/

.h5p-flashcards .h5p-show-results {
  top: 50vh !important;
}

:is(.h5p-multichoice, .h5p-blanks, .h5p-true-false, .h5p-mark-the-words) :is(.h5p-question-visible .h5p-question-check-answer, .h5p-question-scorebar.h5p-question-visible) {
  left: 0px !important;
}

:is(.h5p-multichoice, .h5p-blanks, .h5p-true-false, .h5p-mark-the-words) .h5p-question-buttons.h5p-question-visible.has-scorebar {
  left: 15em !important;
}

.h5p-find-the-words .h5p-play-area {
  width: 100% !important;
}

.h5p-find-the-words .game-container {
  margin: auto;
}

.image-hotspot-question {
  text-align: center;
}

.h5p-iframe-wrapper iframe.h5p-iframe {
  min-height: 80vh !important;
}

.h5p-flashcards .h5p-description {
  padding: 0.5em 0 !important;
}

.h5p-flashcards .h5p-progress {
  margin: 0.5em 0 !important;
}

.h5p-flashcards .h5p-results-list {
  height: fit-content;
  flex: none !important;
}

.h5p-draggable h2 {
  font-size: 1em !important;
  font-weight: bold;
  color: #2980b9;
  line-height: 1em !important;
  padding: 0;
  margin: 0;
  text-align: left;
}

.h5p-dragquestion .h5p-question-plus-one, .h5p-dragquestion .h5p-question-minus-one {
  width: 2.25em !important;
  height: calc(2.25em * 0.638297872) !important;
  top: -0.15em;
  right: -1.15em !important;
}

.h5p-dragquestion .h5p-draggable.h5p-correct:after, .h5p-dragquestion .h5p-draggable.h5p-wrong:after {
  font-family: 'H5PFontAwesome4';
  font-size: 0.75em;
  font-weight: normal;
  position: absolute;
  right: -0.1em !important;
  bottom: 0;
  background: inherit;
  -webkit-border-radius: 0.25em;
  -moz-border-radius: 0.25em;
  border-radius: 0.25em;
  line-height: 2 !important;
  padding: 0.15em 0 0 0.2em;
}

.h5p-dragquestion > .h5p-question-content > .h5p-inner {
  width: 100vw !important;
  height: 56vw  !important;
}


.h5p-drag-text .h5p-drag-droppable-words {
  font-size: 20px;
}

/* H5P INTERACTIVE BOOK */

.h5p-interactive-book-navigation-maintitle .navigation-title {
  font-size: 20px !important;
  font-weight: 600 !important;
  font-family: 'Poppins' !important;
}

.h5p-interactive-book .h5p-image-hotspot-popup-body-fraction h2, .h5p-interactive-book-chapter h2 {
  font-size: 20px !important;
  font-weight: 600 !important;
  font-family: 'Poppins' !important;
  color: #1a73d9 !important;
}

.h5p-interactive-book-summary-button.h5p-interactive-book-summary-submit {
  display: none !important;
}

.h5p-interactive-book-main.h5p-interactive-book-navigation-open .h5p-interactive-book-navigation {
  max-width: 30vw !important;
  width: 30vw !important;
}

.h5p-interactive-book-chapter>div {
  max-width: 100% !important;
}

.h5p-interactive-book :is(.h5p-image-hotspots-background, .h5p-image-hotspots-container) {
  width: 100% !important;
  height: 100% !important;
}

.h5p-image-hotspot.h5p-image-hotspot-info {
  font-size: 1.5em;
}

.h5p-image-hotspot-close-popup-button {
  font-size: 1.5em !important;
  right: 0 !important;
}

.h5p-image-hotspot-popup-body p, .h5p-text ul li {
  font-size: 1.3em;
}

.h5p-image-hotspot-popup-header {
  font-size: 30px;
  padding-left: 7px !important;
}

.h5p-interactive-book-status-chapter .title, .h5p-image-hotspot-popup-header {
  color: rgb(50, 75, 130) !important;
}

.h5p-dragquestion .h5p-draggable:not(.h5p-correct, .h5p-wrong).h5p-draggable-hover {
  border-color: #98c1e6 !important;
  background-color: #c7dff4 !important;
}


.h5p-dragquestion .h5p-draggable.h5p-correct.h5p-draggable-hover {
  border-color: rgb(157, 216, 187) !important;
  background-color: #c0ecd6 !important;
}

.h5p-flashcards .h5p-flashcards-results.show {
  overflow: auto;
}


@media screen and (max-width: 480px) {
  .h5p-dragquestion-introduction {
    display: none !important;
  }

  .h5p-question-content.h5p-dragquestion-has-no-background {
    margin: 0 !important;
  }

  .h5p-dragquestion :is(button.h5p-question-check-answer.h5p-joubelui-button, .h5p-question-buttons .h5p-joubelui-button,
  .h5p-question-buttons .h5p-joubelui-button:first-child:last-child) {
    font-size: 0.7em !important;
  }

  .h5p-dragquestion :is(.h5p-question-scorebar.h5p-question-visible) {
    transform: scale(0.7);
    transform-origin: top center;
  }

  .h5p-drag-text .h5p-question-introduction {
      font-size: 16px !important;
  }

  .h5p-drag-text .h5p-drag-droppable-words {
      font-size: 14px;
  }
}

@media screen and (max-width: 900px) {
  .h5p-dragquestion-introduction {
    display: none !important;
  }

  .h5p-question-content.h5p-dragquestion-has-no-background {
    margin: 0 !important;
  }

  .h5p-dragquestion :is(button.h5p-question-check-answer.h5p-joubelui-button, .h5p-question-buttons .h5p-joubelui-button,
  .h5p-question-buttons .h5p-joubelui-button:first-child:last-child) {
    font-size: 0.7em !important;
  }

  .h5p-dragquestion :is(.h5p-question-scorebar.h5p-question-visible) {
    transform: scale(0.7);
    transform-origin: top center;
  }

  .h5p-drag-text .h5p-question-introduction {
      font-size: 16px !important;
  }

  .h5p-drag-text .h5p-drag-droppable-words {
      font-size: 12px;
  }

  .h5p-drag-text {
    width: 100% !important;
    padding: 0;
    margin-left: 0 !important;
  }

  .h5p-drag-text [aria-grabbed] {
    font-size: 12px;
  }
}

@media screen and (max-height: 480px) {
  .h5p-task-description, .h5p-flashcards .h5p-description, .h5p-flashcards-results .h5p-results-title {
    font-size: 16px !important;
  }

  .h5p-image-sequencing .sequencing-status, .h5p-flashcards .h5p-progress, .h5p-flashcards .h5p-show-results-label, .h5p-flashcards .h5p-results-score span {
    font-size: 14px;
    line-height: 1em;
  }

  .h5p-flashcards .h5p-imagetext {
    font-size: 1em;
  }
}