[data-tooltip] {
  position: relative;
  white-space: nowrap;
}

[data-tooltip]::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #777;
  top: 100%;
  opacity: 0;
  visibility: hidden;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  font-weight: normal;
  position: absolute;
  top: calc(100% + 8px);
  left: -150%;
  background-color: #777;
  padding: 0.5rem;
  opacity: 0;
  box-shadow: 3px 3px 5px 1px rgba(0, 0, 0, 0.1);
  color: white;
  visibility: hidden;
}

.top[data-tooltip]::after {
  top: -8px;
  transform: translateY(-100%);
}

.top[data-tooltip]::before {
  top: -8px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #777;
  border-bottom: 0;
}

[data-tooltip]:hover::after {
  visibility: visible;
  opacity: 1;
  transition: opacity 1s;
  transition-delay: 1s;
}

[data-tooltip]:hover::before {
  visibility: visible;
  opacity: 1;
  transition: opacity 1s;
  transition-delay: 1s;
}

* {
  box-sizing: border-box;
}

html a {
  color: #00618C;
  text-decoration: none;
}
html a:visited {
  color: #00618C;
}

body {
  margin: 0;
  padding: 0;
  overflow-y: scroll;
}

#header {
  color: white;
  background-color: #999;
  height: 3.4rem;
}
#header h1 {
  font-size: 1.5rem;
  margin: 1rem 1rem;
  color: white;
}
#header .container {
  padding: 0 0.5rem 0 0.5rem;
  display: flex;
  /*justify-content: center;*/
}
#header #logo {
  display: block;
  height: 3.5rem;
  width: 5.5rem;
  margin-top: -0.2rem;
  background: url(./images/Logo_Ernst_Klett_Verlag.png) no-repeat;
  background-size: 100%;
}

#footer {
  display: none;
  width: 100%;
  height: 48px;
  position: fixed;
  bottom: 0;
  z-index: 1;
  color: white;
  background-color: #999;
}
#footer .container {
  display: flex;
  width: 1140px;
}

#header .actions, #footer .actions {
  opacity: 0;
  flex-grow: 1;
  flex-direction: row-reverse;
  display: flex;
  margin-top: 0.5rem;
}
#header .action, #footer .action {
  display: flex;
  align-items: center;
  cursor: pointer;
  height: 48px;
  font-weight: bold;
  padding: 0 1rem;
}
#header .action:hover, #footer .action:hover {
  background-color: rgba(255, 255, 255, 0.3);
}
#header .action.active, #footer .action.active {
  background-color: #777;
  cursor: default;
}

#main {
  min-height: calc(100vh - 46px);
  max-width: 1140px;
  margin: auto;
  background-color: white;
  padding: 6px 20px 20px 20px;
}

button, a.button {
  position: relative;
  color: white;
  background-color: #0077b3;
  cursor: pointer;
  border: 0;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: normal;
  height: 50px;
}

button.active {
  background-color: #00618C;
  cursor: default;
}

a.button:visited {
  color: white;
}

button:hover, a.button:hover {
  filter: brightness(1.15);
}

button:focus, a.button:focus {
  outline: 0;
}

button.inline {
  display: inline-block;
  font-size: 1rem;
  height: 35px;
  padding: 2px 8px;
  border: 2px solid #0077b3;
}

button.checkInput {
  height: 50px;
  padding: 10px 1rem;
  margin-top: -5px;
  margin-left: 13px;
  background-color: #0077b3;
  border: 0;
  color: white;
  font-weight: normal;
}

button.disabled {
  background-color: darkgray;
  cursor: default;
}

button.disabled:hover {
  filter: brightness(1);
}

a.solverMode {
  font-size: 80%;
}

a.solverMode, a.solverMode:visited {
  color: gray;
}

a.solverMode.active {
  color: #00618C;
}

@media screen and (max-width: 600px) {
  button, a.button {
    height: 42px;
    font-size: 12px;
  }
  .exercise #showSolutionMain,
  .exercise #showStepsMain,
  .exercise #nextExerciseMain {
    background-size: 20px !important;
    padding-left: 42px !important;
  }
  .exercise #prevExerciseMain {
    background-size: 20px !important;
    padding-left: 42px !important;
  }
  button.bgfg .icon {
    height: 40px;
  }
  #solveButtons button + button {
    margin-left: 0.5rem !important;
  }
}
ul.pager {
  float: right;
  margin-top: 0;
  list-style-type: none;
}
ul.pager li {
  border: 1px solid gray;
  display: inline-block;
  padding: 5px;
  background-color: white;
  cursor: pointer;
}
ul.pager li.active {
  background-color: lightgray;
  cursor: pointer;
}
ul.pager li.selected {
  background-color: rgb(255, 225, 185);
  cursor: initial;
}

div.formula {
  position: relative;
  display: inline-block;
}
div.formula .narrow {
  min-width: 3rem;
}
div.formula input {
  opacity: 0;
}
div.formula input:focus + div.render {
  outline: 0;
  border-color: rgb(255, 102, 0);
}
div.formula input:focus + div.render .cursor {
  display: unset;
  animation: blinker 1s step-end infinite;
  opacity: 1;
}
@keyframes blinker {
  50% {
    opacity: 0;
  }
}
div.formula .cursor {
  display: none;
}
div.formula div.render {
  color: black;
  position: absolute;
  top: 0;
  width: 100%;
  border: 1px dashed gray;
  background-color: rgb(245, 245, 245);
  padding: 0 3px;
}
div.formula div.render[color=green] {
  background-color: rgb(210, 230, 150);
}
div.formula div.render[color=red] {
  background-color: rgb(255, 200, 190);
}
div.formula div.render[color=yellow] {
  background-color: rgb(255, 225, 185);
}

#lessonSelection {
  position: fixed;
  top: 30px;
  right: 30px;
  left: 30px;
  bottom: 30px;
  background-color: lightgray;
  margin: auto;
  padding: 30px;
  margin: auto;
  overflow-y: auto;
  box-shadow: 0 0 5px 5px gray;
}
#lessonSelection .close {
  position: fixed;
  top: 40px;
  right: 70px;
  font-size: 250%;
  color: gray;
  cursor: pointer;
}

#lessonSelection > .content {
  max-width: 1280px;
  margin: auto;
}

#lessonSelection .header:before {
  display: none;
}

.overview .content, .solveroverview .content, #lessonSelection .content {
  margin-top: 30px;
  display: flex;
}

#paneLeft {
  margin-right: 1rem;
  min-width: 250px;
}
#paneLeft ul {
  padding: 0;
  margin: 0;
}
#paneLeft li {
  display: flex;
  flex-direction: row;
  background-color: white;
  padding: 5px 15px;
  margin: 0;
  margin-bottom: 3px;
  list-style-type: none;
  cursor: pointer;
  border: 1px solid white;
}
#paneLeft li div.text {
  flex-grow: 1;
}
#paneLeft li div.count {
  padding: 3px 0 0 12px;
  color: gray;
  font-size: 0.8rem;
}
#paneLeft li.selected {
  background-color: rgb(255, 225, 185);
  border: 1px solid white;
}
#paneLeft li.separator {
  padding: 0;
  margin: 15px 5px;
  height: 0;
  border: 0;
}
#paneLeft li:hover {
  border: 1px solid #00618C;
}

#paneMain {
  flex-grow: 1;
}
#paneMain #search {
  display: flex;
}
#paneMain #stats {
  text-align: right;
  font-size: 0.8rem;
  margin-top: 3px;
}
#paneMain #searchtext {
  flex-grow: 1;
  margin-left: 0.5rem;
  border: 0;
  color: #00618C;
  font-size: 110%;
  padding: 5px;
}
#paneMain #searchtext:focus {
  outline: 2px solid rgba(0, 98, 140, 0.6);
}
#paneMain label[for=searchtext] {
  padding: 5px;
}
#paneMain .list {
  list-style-type: none;
  padding-left: 0;
}
#paneMain li {
  background: white;
  margin-bottom: 1rem;
  transition: background-color 0.5s ease-in;
}
#paneMain li .main {
  padding: 0.5rem 1rem 1.5rem 1rem;
}
#paneMain li .header {
  padding-left: 2.5rem;
  background: #00618C url("./symbols/build_circle-24px.svg") 15px 15px/40px 40px no-repeat;
}
#paneMain li .header .scenario {
  color: white;
  padding: 0.5rem 1rem 0 1rem;
  font-size: 0.75rem;
  font-weight: normal;
}
#paneMain li .header .name {
  color: white;
  padding: 0 1rem 0.5rem 1rem;
  font-size: 1.25rem;
  font-weight: normal;
  margin-bottom: 0.5rem;
}
#paneMain li .header.short {
  min-height: 3.5rem;
}
#paneMain li .header.short .name {
  padding-top: 1rem;
}
#paneMain li .tags {
  color: white;
  font-size: 0.75rem;
  margin-top: -1rem;
  padding: 0 0 0.5rem 1rem;
}
#paneMain li.practice .header {
  background: darkgoldenrod url("./symbols/help-24px.svg") 15px 15px/40px 40px no-repeat;
}
#paneMain li.test .header {
  background: darkred url("./symbols/check_circle-24px.svg") 15px 15px/40px 40px no-repeat;
}
#paneMain p.level.learn {
  color: darkgoldenrod;
}
#paneMain p.level.test {
  color: darkred;
}
#paneMain li.dl .header {
  background: #00618C url("./symbols/play_circle-24px.svg") 15px 15px/40px 40px no-repeat;
}
#paneMain li.finished .header:before {
  display: none;
  content: "";
  width: 62px;
  height: 20px;
  background-image: linear-gradient(to right, white, white 20px, lightgray 20px, lightgray 21px, white 22px, white 41px, lightgray 41px, lightgray 42px, rgb(16, 156, 16) 43px);
  float: right;
  color: white;
  margin: 10px 40px 10px 0px;
  transform: translateX(50%);
  border-radius: 3px;
}
#paneMain li.intesting .header:before {
  display: none;
  content: "";
  width: 63px;
  height: 20px;
  background-image: linear-gradient(to right, white, white 20px, lightgray 20px, lightgray 21px, orange 22px, orange 41px, lightgray 41px, lightgray 42px, white 43px);
  float: right;
  color: white;
  margin: 10px 40px 10px 0px;
  transform: translateX(50%);
  border-radius: 3px;
}
#paneMain li.unfinished .header:before {
  display: none;
  content: "";
  width: 63px;
  height: 20px;
  background-image: linear-gradient(to right, red, red 20px, lightgray 20px, lightgray 21px, white 22px, white 41px, lightgray 41px, lightgray 42px, white 43px);
  float: right;
  color: white;
  margin: 10px 40px 10px 0px;
  transform: translateX(50%);
  border-radius: 3px;
}
#paneMain .links {
  display: flex;
  flex-direction: row-reverse;
}
#paneMain .links .copylink {
  cursor: pointer;
  margin: 1rem 0 0 1rem;
  border: 1px solid rgba(0, 98, 140, 0.6);
  padding: 5px 10px 5px 30px;
  background: url("symbols/clipboard.svg") no-repeat;
  background-position: 8px 5px;
  background-size: 14px;
}
#paneMain .links .selectlink, #paneMain .links .startlink, #paneMain .links .manuscriptlink {
  margin: 1rem 0 0 1rem;
  border: 1px solid rgba(0, 98, 140, 0.6);
  padding: 5px 10px;
}
#paneMain .links .selectlink:hover, #paneMain .links .startlink:hover, #paneMain .links .manuscriptlink:hover {
  background-color: #00618C;
  color: white;
}
#paneMain .links .copylink:hover {
  color: white;
  background: url("symbols/clipboard-white.svg") no-repeat;
  background-position: 8px 5px;
  background-size: 14px;
  background-color: #00618C;
}
#paneMain .separator {
  height: 0;
  border-top: 1px solid lightgray;
  margin: 1rem 0 1rem 0;
}
#paneMain .description {
  font-size: 1rem;
  margin-top: 0rem;
}
#paneMain .description.atom {
  font-size: 0.9rem;
  color: #000;
  padding-left: 1rem;
}
#paneMain .description.atom::before {
  content: "";
  display: inline-block;
  background: black;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  margin-right: 0.5rem;
  position: relative;
  top: -2px;
}
#paneMain .description.atom.offset::before {
  top: -12px;
}
#paneMain .keywords {
  font-size: 0.8rem;
  color: gray;
  margin-top: 0rem;
}
#paneMain .variant {
  float: right;
  font-size: 0.8rem;
  padding: 0 0 0 3rem;
}
#paneMain .variant.atom {
  color: #000;
}
#paneMain .links.atom .selectlink, #paneMain .links.atom .startlink, #paneMain .links.atom .manuscriptlink {
  font-size: 0.9rem;
  color: #555;
  border: 1px solid #555;
}
#paneMain .links.atom .selectlink:hover, #paneMain .links.atom .startlink:hover, #paneMain .links.atom .manuscriptlink:hover {
  background-color: #555;
  color: white;
}

#lessonSelection li.learn .header {
  background: darkgoldenrod url("./symbols/build_circle-24px.svg") 15px 15px/40px 40px no-repeat;
}

#playlisteditor {
  font-size: 16px;
}
#playlisteditor #playlistName {
  width: 100%;
  font-size: 1rem;
}
#playlisteditor #chooseLessonItem.practice {
  background-color: darkgoldenrod;
}
#playlisteditor #chooseLessonItem.learn {
  background-color: darkgoldenrod;
}
#playlisteditor #chooseLessonItem.test {
  background-color: brown;
}
#playlisteditor .section.playlistEntry {
  background-color: #eee;
  padding: 20px 20px 1px 20px;
}
#playlisteditor .section.playlistEntry.dragging {
  opacity: 0.5;
}
#playlisteditor hr.dummy {
  margin-top: 25px;
  padding: 5px;
  border: 2px dashed gray;
}
#playlisteditor .removeEntry, #playlisteditor #load {
  display: block;
  float: right;
}
#playlisteditor #customLink {
  display: none;
}
#playlisteditor #debug {
  display: none;
}
#playlisteditor #linkList {
  list-style-type: none;
  padding-left: 0;
}
#playlisteditor #linkList li {
  padding: 5px 10px;
  margin-bottom: 3px;
}
#playlisteditor #linkList li.practice {
  background-color: rgba(184, 135, 11, 0.25);
}
#playlisteditor #linkList li.learn {
  background-color: rgba(184, 135, 11, 0.25);
}
#playlisteditor #linkList li.test {
  background-color: rgba(165, 42, 42, 0.25);
}

.exercise, .solver {
  margin-top: 2rem;
  padding-bottom: 15px;
  visibility: hidden;
}
.exercise .pause, .solver .pause {
  display: none;
  padding: 1rem 0 0 0;
  border-top: 1px solid #ccc;
}
.exercise .pause.true, .exercise .nopause.true, .solver .pause.true, .solver .nopause.true {
  margin-left: 20px;
}
.exercise input, .solver input {
  display: inline-block;
  width: 8rem;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.5rem;
  border: 0;
  height: 50px;
  background-color: rgb(245, 245, 245);
}
.exercise input.inline, .solver input.inline {
  font-size: 1rem;
  height: 35px;
  padding: 2px 5px;
  vertical-align: bottom;
}
.exercise table.expressions, .solver table.expressions {
  border-spacing: 0;
}
.exercise expr.inline, .solver expr.inline {
  display: inline-block;
  vertical-align: top;
}
.exercise sb-expr.inline, .solver sb-expr.inline {
  display: inline-block;
  vertical-align: top;
}
.exercise input::placeholder, .solver input::placeholder {
  opacity: 1;
  color: #bbb;
}
.exercise input.narrow, .solver input.narrow {
  width: 3rem;
}
.exercise input[color=green], .exercise select[color=green], .solver input[color=green], .solver select[color=green] {
  background-color: rgb(210, 230, 150);
}
.exercise input[color=red], .exercise select[color=red], .solver input[color=red], .solver select[color=red] {
  background-color: rgb(255, 200, 190);
}
.exercise input[color=yellow], .exercise select[color=yellow], .solver input[color=yellow], .solver select[color=yellow] {
  background-color: rgb(255, 225, 185);
}
.exercise input:focus, .solver input:focus {
  outline: 0;
  border-color: #00618C;
}
.exercise .radioLabel, .solver .radioLabel {
  max-width: 640px;
  padding: 0.75rem 1rem;
  border: 1px dashed black;
  border-bottom: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.exercise .radioLabel input[type=radio], .solver .radioLabel input[type=radio] {
  width: auto;
  height: auto;
  padding: 0;
  margin: 0 12px 0 0;
}
.exercise .radioLabel:focus, .solver .radioLabel:focus {
  background-color: rgb(235, 235, 255);
}
.exercise .radioLabel:hover, .solver .radioLabel:hover {
  background-color: rgb(245, 245, 245);
}
.exercise .radioLabel[data-color], .solver .radioLabel[data-color] {
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 24px;
}
.exercise .radioLabel[data-color=green], .solver .radioLabel[data-color=green] {
  background-color: rgb(210, 230, 150);
  background-image: url("symbols/correct.png");
}
.exercise .radioLabel[data-color=red], .solver .radioLabel[data-color=red] {
  background-color: rgb(255, 200, 190);
  background-image: url("symbols/wrong.png");
}
.exercise .radioLabel[data-color=yellow], .solver .radioLabel[data-color=yellow] {
  background-color: rgb(255, 225, 185);
  background-image: url("symbols/almost.png");
}
.exercise form .radioLabel:last-child, .solver form .radioLabel:last-child {
  border: 1px dashed black;
}
.exercise select, .solver select {
  height: 30px;
  font-size: 0.8rem;
}
.exercise .revealAllLink, .solver .revealAllLink {
  display: block;
  color: gray;
  margin-top: 1rem;
  font-size: 90%;
  text-decoration: underline;
  background-color: transparent;
  padding: 0;
}
.exercise .revealAllLink.disabled, .solver .revealAllLink.disabled {
  color: #ccc;
  text-decoration: none;
}
.exercise #nextExerciseMain, .solver #nextExerciseMain {
  background-image: url("klett/svgs/right.svg");
  background-repeat: no-repeat;
  background-size: 24px 24px;
  background-position: 16px;
  padding-left: 48px;
}
.exercise #prevExerciseMain, .solver #prevExerciseMain {
  background-image: url("klett/svgs/left.svg");
  background-repeat: no-repeat;
  background-size: 24px 24px;
  background-position: 16px;
  padding-left: 48px;
}
.exercise button.continue, .solver button.continue {
  background-image: url("klett/svgs/down.svg");
  background-repeat: no-repeat;
  background-size: 24px 24px;
  background-position: 16px;
  padding-left: 48px;
  margin-bottom: 16px;
}
.exercise #showSolutionMain, .solver #showSolutionMain {
  background-image: url("klett/svgs/key.svg");
  background-repeat: no-repeat;
  background-size: 24px 24px;
  background-position: 16px;
  padding-left: 48px;
}
.exercise #showStepsMain, .solver #showStepsMain {
  background-image: url("klett/svgs/light.svg");
  background-repeat: no-repeat;
  background-size: 24px 24px;
  background-position: 16px;
  padding-left: 48px;
}
.exercise #stepsSelect, .solver #stepsSelect {
  text-align: right;
  margin-top: 20px;
  font-size: 90%;
}
.exercise #stepsSelect a, .solver #stepsSelect a {
  text-decoration: underline;
}
.exercise #stepsSelect a.selected, .solver #stepsSelect a.selected {
  color: gray;
  cursor: default;
}
.exercise div.right, .solver div.right {
  text-align: right;
}
.exercise div.hidden, .solver div.hidden {
  display: none;
}
.exercise #solveButtons, .solver #solveButtons {
  border-top: 1px solid lightgray;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.exercise #solveButtons button, .solver #solveButtons button {
  margin-top: 1rem;
}
.exercise #solveButtons button + button, .solver #solveButtons button + button {
  margin-left: 1rem;
}
.exercise span.error, .solver span.error {
  display: block;
  color: darkred;
}
.exercise section.question, .solver section.question {
  padding-bottom: 3em;
}

.exercise {
  padding-bottom: 100px !important;
}

.radiofeedback:focus {
  outline: none !important;
}

#customizer label {
  display: inline-block;
  min-width: 10rem;
  text-align: right;
  margin: 0.5rem 0.5rem;
}
#customizer input[type=text] {
  padding: 5px;
}
#customizer #customLink {
  display: block;
  text-overflow: ellipsis;
  overflow: hidden;
}
#customizer #copylink {
  margin-top: 1rem;
}
#customizer select {
  font-size: 110%;
  color: inherit;
  overflow: hidden;
  width: 191px;
  padding: 5px;
}
#customizer select option {
  padding: 3px;
}
#customizer span.variable {
  font-weight: bold;
}

#lessonSelection {
  position: fixed;
  top: 30px;
  right: 30px;
  left: 30px;
  bottom: 30px;
  background-color: lightgray;
  margin: auto;
  padding: 30px;
  margin: auto;
  overflow-y: auto;
  box-shadow: 0 0 5px 5px gray;
}
#lessonSelection .close {
  position: fixed;
  top: 40px;
  right: 70px;
  font-size: 250%;
  color: gray;
  cursor: pointer;
}

#lessonSelection > .content {
  max-width: 1280px;
  margin: auto;
}

#lessonSelection .header:before {
  display: none;
}

.overview .content, .solveroverview .content, #lessonSelection .content {
  margin-top: 30px;
  display: flex;
}

#paneLeft {
  margin-right: 1rem;
  min-width: 250px;
}
#paneLeft ul {
  padding: 0;
  margin: 0;
}
#paneLeft li {
  display: flex;
  flex-direction: row;
  background-color: white;
  padding: 5px 15px;
  margin: 0;
  margin-bottom: 3px;
  list-style-type: none;
  cursor: pointer;
  border: 1px solid white;
}
#paneLeft li div.text {
  flex-grow: 1;
}
#paneLeft li div.count {
  padding: 3px 0 0 12px;
  color: gray;
  font-size: 0.8rem;
}
#paneLeft li.selected {
  background-color: rgb(255, 225, 185);
  border: 1px solid white;
}
#paneLeft li.separator {
  padding: 0;
  margin: 15px 5px;
  height: 0;
  border: 0;
}
#paneLeft li:hover {
  border: 1px solid #00618C;
}

#paneMain {
  flex-grow: 1;
}
#paneMain #search {
  display: flex;
}
#paneMain #stats {
  text-align: right;
  font-size: 0.8rem;
  margin-top: 3px;
}
#paneMain #searchtext {
  flex-grow: 1;
  margin-left: 0.5rem;
  border: 0;
  color: #00618C;
  font-size: 110%;
  padding: 5px;
}
#paneMain #searchtext:focus {
  outline: 2px solid rgba(0, 98, 140, 0.6);
}
#paneMain label[for=searchtext] {
  padding: 5px;
}
#paneMain .list {
  list-style-type: none;
  padding-left: 0;
}
#paneMain li {
  background: white;
  margin-bottom: 1rem;
  transition: background-color 0.5s ease-in;
}
#paneMain li .main {
  padding: 0.5rem 1rem 1.5rem 1rem;
}
#paneMain li .header {
  padding-left: 2.5rem;
  background: #00618C url("./symbols/build_circle-24px.svg") 15px 15px/40px 40px no-repeat;
}
#paneMain li .header .scenario {
  color: white;
  padding: 0.5rem 1rem 0 1rem;
  font-size: 0.75rem;
  font-weight: normal;
}
#paneMain li .header .name {
  color: white;
  padding: 0 1rem 0.5rem 1rem;
  font-size: 1.25rem;
  font-weight: normal;
  margin-bottom: 0.5rem;
}
#paneMain li .header.short {
  min-height: 3.5rem;
}
#paneMain li .header.short .name {
  padding-top: 1rem;
}
#paneMain li .tags {
  color: white;
  font-size: 0.75rem;
  margin-top: -1rem;
  padding: 0 0 0.5rem 1rem;
}
#paneMain li.practice .header {
  background: darkgoldenrod url("./symbols/help-24px.svg") 15px 15px/40px 40px no-repeat;
}
#paneMain li.test .header {
  background: darkred url("./symbols/check_circle-24px.svg") 15px 15px/40px 40px no-repeat;
}
#paneMain p.level.learn {
  color: darkgoldenrod;
}
#paneMain p.level.test {
  color: darkred;
}
#paneMain li.dl .header {
  background: #00618C url("./symbols/play_circle-24px.svg") 15px 15px/40px 40px no-repeat;
}
#paneMain li.finished .header:before {
  display: none;
  content: "";
  width: 62px;
  height: 20px;
  background-image: linear-gradient(to right, white, white 20px, lightgray 20px, lightgray 21px, white 22px, white 41px, lightgray 41px, lightgray 42px, rgb(16, 156, 16) 43px);
  float: right;
  color: white;
  margin: 10px 40px 10px 0px;
  transform: translateX(50%);
  border-radius: 3px;
}
#paneMain li.intesting .header:before {
  display: none;
  content: "";
  width: 63px;
  height: 20px;
  background-image: linear-gradient(to right, white, white 20px, lightgray 20px, lightgray 21px, orange 22px, orange 41px, lightgray 41px, lightgray 42px, white 43px);
  float: right;
  color: white;
  margin: 10px 40px 10px 0px;
  transform: translateX(50%);
  border-radius: 3px;
}
#paneMain li.unfinished .header:before {
  display: none;
  content: "";
  width: 63px;
  height: 20px;
  background-image: linear-gradient(to right, red, red 20px, lightgray 20px, lightgray 21px, white 22px, white 41px, lightgray 41px, lightgray 42px, white 43px);
  float: right;
  color: white;
  margin: 10px 40px 10px 0px;
  transform: translateX(50%);
  border-radius: 3px;
}
#paneMain .links {
  display: flex;
  flex-direction: row-reverse;
}
#paneMain .links .copylink {
  cursor: pointer;
  margin: 1rem 0 0 1rem;
  border: 1px solid rgba(0, 98, 140, 0.6);
  padding: 5px 10px 5px 30px;
  background: url("symbols/clipboard.svg") no-repeat;
  background-position: 8px 5px;
  background-size: 14px;
}
#paneMain .links .selectlink, #paneMain .links .startlink, #paneMain .links .manuscriptlink {
  margin: 1rem 0 0 1rem;
  border: 1px solid rgba(0, 98, 140, 0.6);
  padding: 5px 10px;
}
#paneMain .links .selectlink:hover, #paneMain .links .startlink:hover, #paneMain .links .manuscriptlink:hover {
  background-color: #00618C;
  color: white;
}
#paneMain .links .copylink:hover {
  color: white;
  background: url("symbols/clipboard-white.svg") no-repeat;
  background-position: 8px 5px;
  background-size: 14px;
  background-color: #00618C;
}
#paneMain .separator {
  height: 0;
  border-top: 1px solid lightgray;
  margin: 1rem 0 1rem 0;
}
#paneMain .description {
  font-size: 1rem;
  margin-top: 0rem;
}
#paneMain .description.atom {
  font-size: 0.9rem;
  color: #000;
  padding-left: 1rem;
}
#paneMain .description.atom::before {
  content: "";
  display: inline-block;
  background: black;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  margin-right: 0.5rem;
  position: relative;
  top: -2px;
}
#paneMain .description.atom.offset::before {
  top: -12px;
}
#paneMain .keywords {
  font-size: 0.8rem;
  color: gray;
  margin-top: 0rem;
}
#paneMain .variant {
  float: right;
  font-size: 0.8rem;
  padding: 0 0 0 3rem;
}
#paneMain .variant.atom {
  color: #000;
}
#paneMain .links.atom .selectlink, #paneMain .links.atom .startlink, #paneMain .links.atom .manuscriptlink {
  font-size: 0.9rem;
  color: #555;
  border: 1px solid #555;
}
#paneMain .links.atom .selectlink:hover, #paneMain .links.atom .startlink:hover, #paneMain .links.atom .manuscriptlink:hover {
  background-color: #555;
  color: white;
}

#solverSearchForm h3 {
  text-align: center;
}
#solverSearchForm h1.solverHeading {
  font-size: 2rem;
  font-weight: normal;
  text-align: center;
  margin: 1em auto;
  color: #00618c;
}
#solverSearchForm #result .resultsection {
  padding: 0em 1em;
  margin-top: 1rem;
  color: gray;
}
#solverSearchForm #result .resultsection.main {
  display: none;
}
#solverSearchForm #result #stepbystep {
  display: none;
}
#solverSearchForm #result #solution {
  display: flex;
  padding: 1em;
  margin-top: 0.5em;
}
#solverSearchForm #result #solution .text {
  flex-grow: 1;
}
#solverSearchForm #result ul {
  padding: 1em;
  margin: 0;
}
#solverSearchForm #result ul:last-of-type {
  margin-bottom: 5em;
}
#solverSearchForm #result li {
  list-style-type: none;
  color: #00618c;
  padding: 1em;
}
#solverSearchForm #result li .subtitle {
  font-size: 75%;
  margin-top: 5px;
}
#solverSearchForm #stepbystep {
  display: block;
  background-image: url("klett/svgs/right.svg");
  background-repeat: no-repeat;
  background-size: 24px 24px;
  background-position: 16px;
  color: white;
  background-color: rgb(0, 139, 210);
  border: 0;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: normal;
  height: 50px;
  padding-top: 0.65rem;
  padding-left: 48px;
}
#solverSearchForm #examples {
  width: 60%;
  margin: auto;
  margin-top: 2em;
}
#solverSearchForm #examples li {
  padding: 0.3em 0;
}
#solverSearchForm #examples h2 {
  font-weight: normal;
  color: gray;
  font-size: 1em;
}
#solverSearchForm #searchBox {
  width: 80%;
  margin: auto;
}
#solverSearchForm #searchText {
  display: block;
  padding: 0.5em 1em 0.3em 1em;
  text-align: left;
  border: 1px solid lightgray;
  border-radius: 20px 20px 20px 20px;
  outline: 0;
  box-shadow: 5px 5px 10px 5px rgba(0, 0, 0, 0.1);
}
#solverSearchForm #searchresults {
  display: none;
  list-style-type: none;
  padding: 0em 0em 0.5em 0em;
  background-color: white;
  border: 1px solid lightgray;
  border-top: 0;
  border-radius: 0 0 20px 20px;
  margin: 0;
  box-shadow: 5px 5px 10px 5px rgba(0, 0, 0, 0.1);
}
#solverSearchForm #searchresults li {
  padding: 0.5em 1em;
  list-style-type: none;
  color: #00618c;
}
#solverSearchForm #searchresults li.active, #solverSearchForm #searchresults a.active li {
  background-color: #D6EBFF;
}
#solverSearchForm #searchresults li .subtitle {
  font-size: 75%;
  margin-top: 5px;
}

html {
  color: black;
  font-family: "PoloHint-Regular", sans-serif;
  font-size: 20px;
  background-color: #ccc;
}
html .mpunct + .mspace {
  display: none;
}
html .katex {
  font-size: 1em;
  font-family: "PoloHint-Regular";
}
html .katex .mathdefault {
  font-family: "PoloHint-Regular";
  font-style: normal;
}

#main canvas.plot {
  max-width: 85vw;
  display: block;
  margin: 2rem auto;
}
#main h1 {
  font-size: 1.2rem;
  margin: 1rem 0rem;
}
#main h2 {
  font-size: 1.3rem;
  margin: 1rem 0rem;
}
#main h3 {
  font-size: 1.1rem;
  margin: 1rem 0rem;
}
#main .pause.true h3, #main .nopause.true h3 {
  font-size: 1rem;
}
#main .section {
  padding: 0rem;
  margin-top: 1rem;
  background-color: white;
}
#main button {
  font-family: inherit;
}

#credits {
  color: #c0c0c0;
  font-size: 12px;
  text-align: right;
  margin: 60vh 0 50px 0;
}

#summary .correct {
  color: darkgreen;
}
#summary .wrong {
  color: brown;
}

@media screen and (max-width: 600px) {
  html {
    font-size: 16px;
    background-color: white;
  }
  header h1 {
    display: none;
  }
  #credits {
    display: none;
  }
}
:focus {
  outline: 4px solid #0077b3 !important;
  outline-offset: -1px;
  z-index: 1000;
}

button:focus {
  outline-offset: 5px;
}

#klettHeader :focus {
  outline: 3px solid #0077b3 !important;
  outline-offset: -5px;
  z-index: 1000;
}
