.h5p-advanced-text ul,
.h5p-advanced-text ol {
  padding: 0;
  margin: 1em 0;
}
.h5p-advanced-text ul > li,
.h5p-advanced-text ol > li {
  margin: 0 0 1em 1.5em;
  padding: 0;
}

.h5p-advanced-text ul > li:last-child,
.h5p-advanced-text ol > li:last-child {
  margin-bottom: 0;
}
.h5p-advanced-text ul > li {
  list-style-type: circle;
}
.h5p-advanced-text ol > li {
  list-style-type: decimal;
}
.h5p-advanced-text.h5p-frame {
  margin: 1em;
}

.h5p-no-frame > .h5p-accordion {
  border: 1px solid #eee;
}
.h5p-accordion .h5p-panel-title {
  margin: 0;
  color: #111111;
  position: relative;
  font-size: 1.25em;
  text-decoration: none;
  -webkit-transition: color 200ms ease 0s;
  -moz-transition: color 200ms ease 0s;
  transition: color 200ms ease 0s;
  border-top: 1px solid #eeeeee;

  display: flex;
  justify-content: flex-start;
}
.h5p-accordion .h5p-panel-button {
  width: 100%;
  height: 100%;
  display: inline-flex;
  padding: 0.8em 0.8em 0.8em 2.25em;

  /* Disable default button styling */
  background: none;
  color: inherit;
  border: none;
  font: inherit;
  cursor: pointer;
  outline: none;
  text-align: left;
}
.h5p-accordion .h5p-panel-title:hover,
.h5p-accordion .h5p-panel-title:focus-within,
.h5p-accordion .h5p-panel-title:active {
  color: #222266;
}
.h5p-accordion .h5p-panel-title:first-of-type {
  border-top: 0;
}
.h5p-accordion .h5p-panel-focused {
  outline: auto; 
} 
.h5p-accordion .h5p-panel-button:before {
  font-family: 'H5PFontAwesome4';
  content: "\f105";
  position: absolute;
  left: 0.95em;
  -webkit-transition: all 200ms ease 0s;
  -moz-transition: all 200ms ease 0s;
  transition: all 200ms ease 0s;
}
.h5p-accordion .h5p-panel-expanded {
  color: #000000;
}
.h5p-accordion .h5p-panel-expanded .h5p-panel-button:before {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.h5p-accordion .h5p-panel-content {
  display: none;
  padding: 0 1em;
  word-break: break-word;
}
.h5p-accordion .h5p-panel-content p {
  margin-top: 0;
}

.mtx-h5p-loading,
.mtx-h5p-overlay {
  background: #fefefe;
  border: 1px solid #eeeeee;
  text-align: center;
  padding: 2em;
}

.mtx-h5p-overlay .h5p-button.certificate:before {
  content: "\f019";
}
.mtx-h5p-overlay .h5p-button.retry:before {
  content: "\f01e";
}

.mtx-h5p-loading .loader {
  margin: auto;
  border: 1em solid #eeeeee;
  border-top: 1em solid #1a73d9;
  border-radius: 50%;
  width: 5em;
  height: 5em;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

 /* image H5P editor is cropped on 'Create/Edit H5P object' page */
.h5peditor .file .thumbnail {
  min-height: 100px;
}

.h5peditor .image-coordinate-selector > img {
  min-height: 160px;
}

.h5peditor + iframe {
  display: none;
}

.h5p-progress {
  overflow-y: auto !important;
}

.h5p-iframe.h5p-progress {
  overflow-y: hidden !important;
}

#sco-iframe {
  border: 0 none;
}
