:root {
  --mf-help-max-width: 980px;
  --mf-help-padding: 24px;
  --mf-help-header-offset: 140px;
}

html {
  background-color: transparent;
  scroll-padding-top: var(--header-height, 112px);
}

body {
  margin: 0;
  line-height: 1.6;
  background-color: transparent;
}

.mf-help-page {
  max-width: var(--mf-help-max-width);
  margin: 0 auto;
  padding: var(--mf-help-padding);
  padding-top: 0;
}

.l-section-h {
  padding-top: var(--header-height, 112px);
}

.mf-help-content {
  width: 100%;
}

.main {
  margin-top: 10px;
  margin-left: 10px;
  margin-right: 10px;
  text-align: left;
  font-weight: normal;
  font-size: 16px;
  color: inherit;
}

.table {
  width: 100%;
  font-weight: normal;
  font-size: 16px;
  color: inherit;
  border-collapse: collapse;
  border: none;
}

.table tr,
.table td {
  border: none;
}

.tableRow {
  width: 100%;
  margin-top: 0.5em;
  font-size: 18px;
  margin-left: 0.3em;
  padding-bottom: 0.2em;
  color: inherit;
}

#gt-open {
  display: inline;
}

#gt-chooser {
  display: none;
  margin-top: 6px;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

#gt-chooser label,
#gt-chooser select,
#gt-go {
  display: inline-block;
  vertical-align: middle;
}

#gt-select {
  min-width: 220px;
  max-width: 360px;
  width: auto;
}

#gt-go {
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  text-decoration: none;
}

.mf-help-page .help-search-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.mf-help-page .help-search-form input[type="text"] {
  width: 260px;
  max-width: 100%;
}

.mf-help-page .help-search-form input[type="submit"] {
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1;
  min-height: 0;
  height: auto;
}

.mf-help-page input[type="text"],
.mf-help-page select,
.mf-help-page input[type="submit"],
.mf-help-page button,
.mf-help-page a#gt-go {
  font-size: 14px;
  line-height: 1.2;
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid #888;
  background: #f2f2f2;
  color: #111;
  box-shadow: none;
  text-transform: none;
}

.mf-help-page input[type="text"],
.mf-help-page select {
  min-height: 0;
  height: auto;
}

li {
  margin: 5px 0;
  color: inherit;
}

li.compactList {
  margin: 0 0;
}

.creditName {
  margin-top: 16px;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  color: inherit;
}

.creditTitle {
  text-align: center;
  font-size: 18px;
  color: inherit;
}

.versionBox {
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  text-align: center;
  color: inherit;
}

.editorDisplayNameStyle {
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  color: inherit;
}

.editorDescriptionStyle {
  font-size: 16px;
  text-align: left;
  color: inherit;
}

.editorSectionHeadingStyle {
  font-size: 18px;
  font-weight: bold;
  text-align: left;
  color: inherit;
}

.editorItemNameStyle {
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  color: inherit;
}

.editorItemDescriptionStyle {
  font-size: 14px;
  text-align: left;
  color: inherit;
}

.effectDisplayNameStyle {
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  color: inherit;
}

.effectDescriptionStyle {
  font-size: 16px;
  text-align: left;
  color: inherit;
}

.termNameStyle {
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  color: inherit;
}

.termDescriptionStyle {
  font-size: 16px;
  text-align: left;
  color: inherit;
}

.parameterListHeadingStyle {
  font-size: 18px;
  font-weight: bold;
  text-align: left;
  color: inherit;
}

.tabDisplayNameStyle {
  font-size: 18px;
  font-weight: bold;
  text-align: left;
  color: inherit;
}

.groupDisplayNameStyle {
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  color: inherit;
}

.parameterDisplayNameStyle {
  font-size: 14px;
  font-weight: bold;
  text-align: left;
  color: inherit;
}

.parameterDescriptionStyle {
  font-size: 14px;
  text-align: left;
  color: inherit;
}

.externalLinkStyle {
  font-size: 14px;
  text-align: left;
  color: inherit;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

input,
select,
button,
textarea {
  font-family: inherit;
  font-size: 1rem;
}

.video-thumbnail-container {
  width: 75%;
  min-width: 300px;
  margin-bottom: 20px;
  position: relative;
  cursor: pointer;
}

.video-thumbnail {
  width: 100%;
  height: auto;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  pointer-events: none;
}

.video-player {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 20px;
  z-index: 100000;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.video-player iframe {
  width: 100%;
  height: calc(75vw * 9 / 16);
}

.video-player .close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}
