@font-face {
  font-family: "kollektif";
  src: url("/fonts/kollektif/Kollektif.ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "kollektif";
  src: url("/fonts/kollektif/Kollektif-Italic.ttf");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "kollektif";
  src: url("/fonts/kollektif/Kollektif-Bold.ttf");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "kollektif";
  src: url("/fonts/kollektif/Kollektif-BoldItalic.ttf");
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: "work-sans";
  src: url("/fonts/Work_Sans/static/WorkSans-Thin.ttf");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "work-sans";
  src: url("/fonts/Work_Sans/static/WorkSans-ThinItalic.ttf");
  font-weight: 100;
  font-style: italic;
}

@font-face {
  font-family: "work-sans";
  src: url("/fonts/Work_Sans/static/WorkSans-ExtraLight.ttf");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "work-sans";
  src: url("/fonts/Work_Sans/static/WorkSans-ExtraLightItalic.ttf");
  font-weight: 200;
  font-style: italic;
}

@font-face {
  font-family: "work-sans";
  src: url("/fonts/Work_Sans/static/WorkSans-Light.ttf");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "work-sans";
  src: url("/fonts/Work_Sans/static/WorkSans-LightItalic.ttf");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: "work-sans";
  src: url("/fonts/Work_Sans/static/WorkSans-Regular.ttf");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "work-sans";
  src: url("/fonts/Work_Sans/static/WorkSans-Italic.ttf");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "work-sans";
  src: url("/fonts/Work_Sans/static/WorkSans-Medium.ttf");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "work-sans";
  src: url("/fonts/Work_Sans/static/WorkSans-MediumItalic.ttf");
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: "work-sans";
  src: url("/fonts/Work_Sans/static/WorkSans-SemiBold.ttf");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "work-sans";
  src: url("/fonts/Work_Sans/static/WorkSans-SemiBoldItalic.ttf");
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: "work-sans";
  src: url("/fonts/Work_Sans/static/WorkSans-Bold.ttf");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "work-sans";
  src: url("/fonts/Work_Sans/static/WorkSans-BoldItalic.ttf");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "work-sans";
  src: url("/fonts/Work_Sans/static/WorkSans-ExtraBold.ttf");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "work-sans";
  src: url("/fonts/Work_Sans/static/WorkSans-ExtraBoldItalic.ttf");
  font-weight: 800;
  font-style: italic;
}

@font-face {
  font-family: "work-sans";
  src: url("/fonts/Work_Sans/static/WorkSans-Black.ttf");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "work-sans";
  src: url("/fonts/Work_Sans/static/WorkSans-BlackItalic.ttf");
  font-weight: 900;
  font-style: italic;
}

body {
  margin: 0;
  padding: 0;
  font-family: "kollekif", sans-serif;
}

.loader-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fafafa;
}

/* CSS Spinner from https://projects.lukehaas.me/css-loaders/ */

.loader,
.loader:before,
.loader:after {
  border-radius: 50%;
}

.loader {
  color: #283593;
  font-size: 11px;
  text-indent: -99999em;
  margin: 55px auto;
  position: relative;
  width: 10em;
  height: 10em;
  box-shadow: inset 0 0 0 1em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}

.loader:before,
.loader:after {
  position: absolute;
  content: "";
}

.loader:before {
  width: 5.2em;
  height: 10.2em;
  background: #fafafa;
  border-radius: 10.2em 0 0 10.2em;
  top: -0.1em;
  left: -0.1em;
  -webkit-transform-origin: 5.2em 5.1em;
  transform-origin: 5.2em 5.1em;
  -webkit-animation: load2 2s infinite ease 1.5s;
  animation: load2 2s infinite ease 1.5s;
}

.loader:after {
  width: 5.2em;
  height: 10.2em;
  background: #fafafa;
  border-radius: 0 10.2em 10.2em 0;
  top: -0.1em;
  left: 5.1em;
  -webkit-transform-origin: 0px 5.1em;
  transform-origin: 0px 5.1em;
  -webkit-animation: load2 2s infinite ease;
  animation: load2 2s infinite ease;
}

@-webkit-keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.session-exercise-details {
  position: relative;
}

.session-exercise-duration {
  position: absolute;
  right: 3em;
  bottom: 3em;
}

#dimensions-radar .recharts-surface {
  cursor: pointer;
}

/* Hide refresh button */
header.MuiPaper-root button.RaLoadingIndicator-loadedIcon {
  display: none;
}

iframe.video-iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

/**
 * Tip tap (WYSIWYG editor)
 */
.tiptap {
  padding: 3px;
}

.tiptap :first-child {
  margin-top: 0;
}

/* List styles */
.tiptap ul,
.tiptap ol {
  padding: 0 1rem;
  margin: 1.25rem 1rem 1.25rem 0.4rem;
}

.tiptap ul li p,
.tiptap ol li p {
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}

/* Heading styles */
.tiptap h1 {
  color: #e45d4e !important;
  font-size: 26px;
  font-weight: bold;
  letter-spacing: inherit;
  font-family: "kollektif", sans-serif;
}
.tiptap h2 {
  color: #373838 !important;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0;
  margin-bottom: 3px !important ;
  font-family: "kollektif", sans-serif;
}

.tiptap p.text-subhead  {
  color: #373838 !important;
  font-size: 18px;
  text-decoration: underline;
  letter-spacing: 0;
  font-family: "work-sans", sans-serif;
}

.tiptap h3 {
  color: #373838 !important;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0;
  font-family: "kollektif", sans-serif;
}

.tiptap p {
  color: #373838 !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 8px;
  font-family: "work-sans", sans-serif;
  white-space: pre-wrap;
  line-height: 1.2;
}

.tiptap p strong {
  color: #373838 !important;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0;
  font-family: "kollektif", sans-serif;
  white-space: pre-wrap;
  line-height: 1.2;
}
/* Code and preformatted text styles */
.tiptap code {
  background-color: #d0d0d0;
  border-radius: 0.4rem;
  color: var(--black);
  font-size: 0.85rem;
  padding: 0.25em 0.3em;
}

.tiptap .node-iframe {
  /* Videos */
  width: 100%;
  max-width: 490px;
  aspect-ratio: 16/9;
  border: none;
  margin: 0 auto;
}

.tiptap pre {
  background: var(--black);
  border-radius: 0.5rem;
  color: var(--white);
  font-family: "JetBrainsMono", monospace;
  margin: 1.5rem 0;
  padding: 0.75rem 1rem;
}

.tiptap pre code {
  background: none;
  color: inherit;
  font-size: 0.8rem;
  padding: 0;
}

.tiptap blockquote {
  border-left: 3px solid #ccc;
  margin: 1.5rem 0;
  padding-left: 1rem;
}

.tiptap hr {
  border: none;
  border-top: 3px dashed #227cb8;
  color: #227cb8;
  overflow: visible;
  text-align: center;
  height: 5px;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.tiptap hr::after {
  background: #fff;
  content: "📎";
  padding: 0 4px;
  position: relative;
  top: -13px;
}

.tiptap img {
  height: auto;
  margin: 1.5rem auto;
  width: 100%;
  max-width: 490px;
  display: block;
}

.ProseMirror:focus {
  outline: none;
}

.tiptap .ProseMirror-selectednode img {
  outline: 3px solid #227cb8 !important;
}