:root {
  --ratio: 1.5;
  /* --ratio: 1.125; */
  --s-5: calc(var(--s-4) / var(--ratio));
  --s-4: calc(var(--s-3) / var(--ratio));
  --s-3: calc(var(--s-2) / var(--ratio));
  --s-2: calc(var(--s-1) / var(--ratio));
  --s-1: calc(var(--s0) / var(--ratio));
  --s0: 1rem;
  --s1: calc(var(--s0) * var(--ratio));
  --s2: calc(var(--s1) * var(--ratio));
  --s3: calc(var(--s2) * var(--ratio));
  --s4: calc(var(--s3) * var(--ratio));
  --s5: calc(var(--s4) * var(--ratio));

  --measure: 60ch;

  font-family: Geneva, "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
  font-size: 12px;
  line-height: 18px;
  color: #323333;
}

* {
  max-width: var(--measure);
}
html,
body,
div,
span,
header,
nav,
article,
section,
main,
footer,
h3,
p,
h2,
a,
form,
iframe,
pre,
li,
ul,
h4,
h5,
table,
th,
td,
tr {
  max-width: none;
  scroll-behavior: smooth;
}
html {
  scroll-behavior: none;
}

@font-face {
  font-family: "Geneva";
  src: url("fonts/Geneva.eot");
  src: url("fonts/Geneva.eot?#iefix") format("embedded-opentype"), url("fonts/Geneva.woff2") format("woff2"),
    url("fonts/Geneva.woff") format("woff"), url("fonts/Geneva.ttf") format("truetype"), url("fonts/Geneva.svg#Geneva") format("svg");
  font-style: normal;
  font-stretch: normal;
}

@font-face {
  font-family: "Geneva-Bold";
  src: url("fonts/Geneva-Bold.eot");
  src: url("fonts/Geneva-Bold.eot?#iefix") format("embedded-opentype"), url("fonts/Geneva-Bold.woff2") format("woff2"),
    url("fonts/Geneva-Bold.woff") format("woff"), url("fonts/Geneva-Bold.ttf") format("truetype"),
    url("fonts/Geneva-Bold.svg#Geneva") format("svg");
  font-style: normal;
  font-stretch: normal;
}

@font-face {
  font-family: "DIN-Light";
  src: url("fonts/DIN-Light_gdi.eot");
  src: url("fonts/DIN-Light_gdi.eot?#iefix") format("embedded-opentype"), url("fonts/DIN-Light_gdi.woff") format("woff"),
    url("fonts/DIN-Light_gdi.ttf") format("truetype"), url("fonts/DIN-Light_gdi.svg#DIN-Light") format("svg");
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  unicode-range: U+0020-2122;
}

@font-face {
  font-family: "DIN-Medium";
  src: url("fonts/DIN-Medium_gdi.eot");
  src: url("fonts/DIN-Medium_gdi.eot?#iefix") format("embedded-opentype"), url("fonts/DIN-Medium_gdi.woff") format("woff"),
    url("fonts/DIN-Medium_gdi.ttf") format("truetype"), url("fonts/DIN-Medium_gdi.svg#DIN-Medium") format("svg");
  font-weight: 500;
  font-style: normal;
  font-stretch: normal;
  unicode-range: U+0020-2122;
}

@font-face {
  font-family: "Geneva-Oblique";
  src: url("fonts/Geneva-Oblique.eot");
  src: url("fonts/Geneva-Oblique.eot?#iefix") format("embedded-opentype"), url("fonts/Geneva-Oblique.woff2") format("woff2"),
    url("fonts/Geneva-Oblique.woff") format("woff"), url("fonts/Geneva-Oblique.ttf") format("truetype"),
    url("fonts/Geneva-Oblique.svg#Geneva-Oblique") format("svg");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: Geneva;
  src: url("lab_assets/fonts/Geneva.eot");
  src: url("lab_assets/fonts/Geneva.eot?#iefix") format("embedded-opentype"), url("lab_assets/fonts/Geneva.woff2") format("woff2"),
    url("lab_assets/fonts/Geneva.woff") format("woff"), url("lab_assets/fonts/Geneva.ttf") format("truetype"),
    url("lab_assets/fonts/Geneva.svg#Geneva") format("svg");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: Geneva;
  src: url("lab_assets/fonts/Geneva-Bold.eot");
  src: url("lab_assets/fonts/Geneva-Bold.eot?#iefix") format("embedded-opentype"), url("lab_assets/fonts/Geneva-Bold.woff2") format("woff2"),
    url("lab_assets/fonts/Geneva-Bold.woff") format("woff"), url("lab_assets/fonts/Geneva-Bold.ttf") format("truetype"),
    url("lab_assets/fonts/Geneva-Bold.svg#Geneva-Bold") format("svg");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: D-DIN;
  src: url("lab_assets/fonts/D-DIN-Bold.eot");
  src: url("lab_assets/fonts/D-DIN-Bold.eot?#iefix") format("embedded-opentype"), url("lab_assets/fonts/D-DIN-Bold.woff2") format("woff2"),
    url("lab_assets/fonts/D-DIN-Bold.woff") format("woff"), url("lab_assets/fonts/D-DIN-Bold.ttf") format("truetype"),
    url("lab_assets/fonts/D-DIN-Bold.svg#D-DIN-Bold") format("svg");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: D-DIN;
  src: url("lab_assets/fonts/D-DIN.eot");
  src: url("lab_assets/fonts/D-DIN.eot?#iefix") format("embedded-opentype"), url("lab_assets/fonts/D-DIN.woff2") format("woff2"),
    url("lab_assets/fonts/D-DIN.woff") format("woff"), url("lab_assets/fonts/D-DIN.ttf") format("truetype"),
    url("lab_assets/fonts/D-DIN.svg#D-DIN") format("svg");
  font-weight: 400;
  font-style: normal;
}

/* https://github.com/hankchizljaw/modern-css-reset/blob/master/src/reset.css */
/* 0fde6c5 on Oct 3 */

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* https://github.com/hankchizljaw/modern-css-reset/issues/8 */
/* textarea,
input {
  letter-spacing: inherit;
  word-spacing: inherit;

  border: 0.1em solid;
  padding: 0 0.2em;
}
textarea:focus,
input:focus {
  outline: 0.15em solid #00f;
  box-shadow: 0 0 0.2em #00f;
}
textarea[readonly],
input[readonly] {
  border-color: rgba(0, 0, 0, 0.42);
  border-left: none;
  border-top: none;
  border-right: none;
}
textarea[required],
input[required] {
  border-left-width: 0.3em;
}
textarea[aria-invalid="true"],
textarea[aria-invalid="spelling"],
textarea[aria-invalid="grammar"],
input[aria-invalid] {
  background: linear-gradient(135deg, rgba(255,0,0,1) 0, rgba(255,0,0,1) .4em, rgba(255,255,255,1) .4em);
} */

h1 {
  font-size: var(--s3);
}
h2 {
  font-size: var(--s2);
}
h3 {
  font-size: var(--s1);
}

svg {
  font-size: var(--s1);
}

.overFlowAuto {
  overflow-y: unset !important;
}
.overFlowAuto .MuiDialogContent-root {
  overflow-y: unset !important;
}
.MuiDialog-paperScrollPaper {
  max-height: none !important;
  margin-right: auto !important;
  margin-left: auto !important;
}
.MuiDialog-paperWidthSm {
  max-width: 700px !important;
}
@media only screen and (max-width: 768px) {
  .MuiDialog-paperScrollPaper {
    max-height: none !important;
    margin: 10px;
  }
}
.MuiDialog-container {
  overflow-y: auto !important;
}
.MuiDialog-scrollPaper {
  display: block !important;
}
.ql-editor {
  min-height: 200px;
}
div:focus {
  outline: none !important;
}

pre {
  display: block;
  padding: 9.5px;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.42857;
  word-break: break-all;
  word-wrap: break-word;
  color: #333333;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
  white-space: inherit;
}
a {
  color: #a1a1a1;
}
p {
  margin: 10px 0;
}
.full-screen .MuiDialog-paperScrollPaper {
  margin: 0;
  border-radius: 0;
  background: transparent;
  height: 100%;
  max-width: 100% !important;
}
.full-screen iframe {
  order: 0 none;
  bottom: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.full-screen .fa {
  color: #fff !important;
}
.full-screen .fa:hover {
  color: #ddd !important;
}
