/* Emerald Valley Library - Interactive Mathematics, generated by Mathigon Studio */
@charset "UTF-8";
article, aside, details, figcaption, figure, footer, header, nav, main,
section, summary, audio, canvas, video {
  display: block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

template {
  display: none;
}

svg {
  display: block;
  overflow: hidden;
}

p svg, li svg, td svg {
  display: inline-block;
}

g, use, path, circle, line, polyline, image {
  transform-origin: center;
  transform-box: fill-box;
}

* {
  -webkit-tap-highlight-color: transparent;
  cursor: inherit;
  color: inherit;
}

html, body {
  margin: 0;
  padding: 0;
}

p {
  margin: 0 0 1em 0;
  hanging-punctuation: first;
}

h1 {
  font-size: 40px;
  font-weight: 400;
}

h2 {
  font-size: 28px;
  font-weight: 600;
}

h3 {
  font-size: 20px;
  font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
  color: inherit;
  font-weight: bold;
  line-height: 1.1;
  padding: 0;
  margin: 2em 0 0.8em 0;
  text-rendering: optimizelegibility;
}

a {
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  text-decoration: none;
}

a, button {
  touch-action: manipulation;
}

button {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  box-sizing: content-box;
}

small, .small {
  font-size: 80%;
}

b, strong, .b {
  font-weight: bold;
}

em, i, dfn, .i {
  font-style: italic;
}

sub, sup {
  font-size: 65%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
  margin: 0 0.1em;
}

sup {
  top: -0.6em;
}

sub {
  bottom: -0.25em;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.break {
  word-break: break-all;
  -webkit-hyphens: auto;
          hyphens: auto;
}

.nowrap {
  white-space: nowrap;
}

ul, ol {
  margin: 0 0 1em 1.5em;
  padding: 0;
  text-align: left;
}

ul ul, ul ol, ol ol, ol ul {
  margin: 0.5em 0 0 1.5em;
}

li {
  margin: 0 0 0.5em 0;
}

ul.unstyled, ol.unstyled {
  margin: 0;
  list-style: none;
}

ul.unstyled li, ol.unstyled li {
  margin: 0;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  background: #AAA;
  margin: 1em 0;
  padding: 0;
  clear: both;
}

img {
  vertical-align: middle;
  border: 0;
  -ms-interpolation-mode: bicubic;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

blockquote {
  margin: 1.5em 0;
  font-style: italic;
}

q {
  quotes: none;
  font-style: italic;
}

q:before, q:after, blockquote:before, blockquote:after {
  content: none;
}

.hidden, [hidden] {
  display: none !important;
  visibility: hidden !important;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  border: none;
}

td {
  vertical-align: top;
  border: none;
}

table.fixed {
  table-layout: fixed;
}

table.grid td {
  border-bottom: 1px solid #c5c2cc;
  border-right: 1px solid #c5c2cc;
}

table.grid tr td:last-child {
  border-right: none;
}

table.grid tr:last-child td {
  border-bottom: none;
}

@media print {
  html, body {
    color: black;
    background: transparent;
  }
  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }
  h1, h2, h3 {
    page-break-after: avoid;
  }
  p a, p a:visited {
    text-decoration: underline;
  }
  p a[href]:after {
    content: " (" attr(href) ")";
  }
  pre, blockquote, tr, img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  @page {
    margin: 0.5cm;
  }
}
form, input, button, select, textarea {
  border: none;
  margin: 0;
  padding: 0;
}

input:invalid {
  box-shadow: none;
}

input, button, select, textarea {
  display: inline-block;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

input[type=email], input[type=text], input[type=password], input[type=date], textarea {
  cursor: text;
}

select, button {
  cursor: pointer;
}

form.form-large {
  max-width: 600px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.form-row .form-field {
  width: 180px;
  flex-grow: 1;
}

.form-large p {
  margin: 0 8px 16px;
}

.form-large .btn, .form-large .icon-btn {
  margin: 12px 8px;
}

.form-field {
  display: block;
  position: relative;
  padding: 8px;
}

.form-field input, .form-field select, .form-field textarea, .form-field-style {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: no-repeat top 12px right 10px / 24px 24px;
  border: 1px solid;
  background-color: #f6f6f6;
  border-color: rgba(0, 0, 0, 0.1);
  color: black;
  border-radius: 4px;
  box-sizing: border-box;
  display: block;
  line-height: 1.4em;
  padding: 18px 16px 4px;
  transition: border 0.2s, background 0.2s, box-shadow 0.2s;
  width: 100%;
}
html[theme=dark] .form-field input, html[theme=dark] .form-field select, html[theme=dark] .form-field textarea, html[theme=dark] .form-field-style {
  background-color: #43424d;
}
html[theme=dark] .form-field input, html[theme=dark] .form-field select, html[theme=dark] .form-field textarea, html[theme=dark] .form-field-style {
  border-color: rgba(255, 255, 255, 0.5);
}
html[theme=dark] .form-field input, html[theme=dark] .form-field select, html[theme=dark] .form-field textarea, html[theme=dark] .form-field-style {
  color: white;
}
.form-field input:not([disabled]):hover, .form-field input:not([disabled]):focus, .form-field select:not([disabled]):hover, .form-field select:not([disabled]):focus, .form-field textarea:not([disabled]):hover, .form-field textarea:not([disabled]):focus, .form-field-style:not([disabled]):hover, .form-field-style:not([disabled]):focus {
  background-color: #eee;
}
html[theme=dark] .form-field input:not([disabled]):hover, html[theme=dark] .form-field input:not([disabled]):focus, html[theme=dark] .form-field select:not([disabled]):hover, html[theme=dark] .form-field select:not([disabled]):focus, html[theme=dark] .form-field textarea:not([disabled]):hover, html[theme=dark] .form-field textarea:not([disabled]):focus, html[theme=dark] .form-field-style:not([disabled]):hover, html[theme=dark] .form-field-style:not([disabled]):focus {
  background-color: #64646d;
}
.form-field input:not([disabled]):focus, .form-field select:not([disabled]):focus, .form-field textarea:not([disabled]):focus, .form-field-style:not([disabled]):focus {
  border-color: #0f82f2;
  box-shadow: 0 0 0 3px rgba(15, 130, 242, 0.5);
  outline: none;
}
.form-field input:not([disabled]):focus + .placeholder, .form-field select:not([disabled]):focus + .placeholder, .form-field textarea:not([disabled]):focus + .placeholder, .form-field-style:not([disabled]):focus + .placeholder {
  color: #0f82f2;
}
.form-field input[disabled], .form-field select[disabled], .form-field textarea[disabled], .form-field-style[disabled] {
  cursor: default !important;
  opacity: 0.6;
}
.form-field input.no-label, .form-field select.no-label, .form-field textarea.no-label, .form-field-style.no-label {
  padding-top: 4px;
  background-position: top 5px right 10px;
}

.form-field input::-moz-placeholder {
  opacity: 0;
}

.form-field input::placeholder {
  opacity: 0;
}
.form-field input:-moz-placeholder-shown {
  padding: 11px 16px;
}
.form-field input:placeholder-shown {
  padding: 11px 16px;
}
.form-field input:-moz-placeholder-shown + .placeholder {
  transform: none;
}
.form-field input:placeholder-shown + .placeholder {
  transform: none;
}
.form-field input.dirty:not(:focus) {
  padding-right: 36px;
}
.form-field input.dirty:not(:focus):valid, .form-field input.dirty:not(:focus).valid {
  background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%2322ab24%22%20d%3D%22m19.7%206.3-.2-.4-.3-.2c-.1-.1-.3%200-.4%200a36.6%2036.6%200%200%200%20-9.8%208.4%2036.1%2036.1%200%200%200%20-4.8-2.9h-.5l-1%20.9a.4.4%200%200%200%20-.1.3c0%20.2%200%20.3.1.4a72.1%2072.1%200%200%201%206.6%207h.4a.5.5%200%200%200%20.4-.2c3.8-6.8%205.7-9.6%209.4-13%20.2.1.2-.1.2-.3z%22%2F%3E%3C%2Fsvg%3E");
}
.form-field input.dirty:not(:focus):invalid, .form-field input.dirty:not(:focus).invalid {
  background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Crect%20x%3D%2210%22%20y%3D%228%22%20width%3D%224%22%20height%3D%2212%22%20fill%3D%22%23fff%22%2F%3E%3Cpath%20fill%3D%22%23cd0e66%22%20d%3D%22M22.1%2C19.5l-9.2-16a1%2C1%2C0%2C0%2C0-1.8%2C0l-9.2%2C16A1%2C1%2C0%2C0%2C0%2C2.7%2C21H21.3A1%2C1%2C0%2C0%2C0%2C22.1%2C19.5Zm-8.7-11v2.4l-.4%2C4.4H11.1l-.4-4.4V8.5ZM12%2C19.4a1.6%2C1.6%2C0%2C0%2C1-1.6-1.6%2C1.6%2C1.6%2C0%2C1%2C1%2C3.2%2C0A1.6%2C1.6%2C0%2C0%2C1%2C12%2C19.4Z%22%2F%3E%3C%2Fsvg%3E");
  border-color: #cd0e66;
}

.form-field textarea {
  height: auto;
  resize: vertical;
  padding: 10px 16px;
}
.form-field textarea::-moz-placeholder {
  color: #aaa;
  opacity: 1;
  -moz-transition: color 0.2s;
  transition: color 0.2s;
}
.form-field textarea::placeholder {
  color: #aaa;
  opacity: 1;
  transition: color 0.2s;
}
.form-field textarea:focus::-moz-placeholder, .form-field textarea:active::-moz-placeholder {
  color: #0f82f2;
}
.form-field textarea:focus::placeholder, .form-field textarea:active::placeholder {
  color: #0f82f2;
}

.form-field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%234d4d4d%22%20d%3D%22m19.9%207.5a1.4%201.4%200%200%200%20-2.1%200l-5.8%205.8-5.8-5.8a1.4%201.4%200%200%200%20-2.1%200%201.5%201.5%200%200%200%200%202.1l6.8%206.9a1.6%201.6%200%200%200%202.2%200l6.8-6.9a1.4%201.4%200%200%200%200-2.1z%22%2F%3E%3C%2Fsvg%3E");
}

.form-field .form-hint, .form-field .form-error {
  margin: 4px 17px 0;
  font-size: 14px;
  line-height: 1.3;
}
.form-field .form-error {
  color: #cd0e66;
}

.form-field .placeholder {
  position: absolute;
  line-height: 1.4em;
  top: 19px;
  left: 24px;
  transition: transform 0.2s, color 0.2s;
  color: #aaa;
  transform-origin: top left;
  transform: translateY(-7px) scale(0.7);
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.form-checkbox {
  padding-left: 40px;
  min-height: 28px;
  cursor: pointer;
  display: block;
  position: relative;
  margin: 16px 8px;
}
.form-checkbox input {
  position: absolute;
  left: 5px;
  top: 7px;
  opacity: 0;
}
.form-checkbox .control {
  background: #f6f6f6;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  height: 22px;
  left: 0;
  position: absolute;
  top: 2px;
  width: 22px;
  transition: border 0.2s, background 0.2s, box-shadow 0.2s;
}
.form-checkbox .control:after {
  display: block;
  content: " ";
  width: 21px;
  height: 21px;
  background: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2221%22%20height%3D%2221%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22m19.7%206.3-.2-.4-.3-.2c-.1-.1-.3%200-.4%200a36.6%2036.6%200%200%200%20-9.8%208.4%2036.1%2036.1%200%200%200%20-4.8-2.9h-.5l-1%20.9a.4.4%200%200%200%20-.1.3c0%20.2%200%20.3.1.4a72.1%2072.1%200%200%201%206.6%207h.4a.5.5%200%200%200%20.4-.2c3.8-6.8%205.7-9.6%209.4-13%20.2.1.2-.1.2-.3z%22%2F%3E%3C%2Fsvg%3E");
  top: 0;
  left: 1px;
  position: absolute;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.33, 1.9, 0.52, 0.7);
}
.form-checkbox:hover .control, .form-checkbox input:focus + .control {
  border-color: #0f82f2;
  background: #eee;
}
.form-checkbox input:focus + .control {
  box-shadow: 0 0 0 3px rgba(15, 130, 242, 0.5);
  outline: none;
}
.form-checkbox input:checked + .control {
  background: #0f82f2;
}
.form-checkbox input:checked + .control:after {
  transform: none;
}
.form-checkbox:hover input:checked + .control,
.form-checkbox input:focus:checked + .control {
  border-color: #053563;
}

.input-field {
  display: block;
  border-radius: 4px;
  cursor: text;
  text-align: center;
  padding: 0;
  color: inherit;
  line-height: 1.7em;
  border: 1px solid currentColor;
  transition: border 0.2s, background 0.2s, box-shadow 0.2s, color 0.2s;
  -webkit-appearance: none;
  -moz-appearance: textfield;
}
.input-field:focus {
  border-color: #0f82f2;
  box-shadow: 0 0 0 3px rgba(15, 130, 242, 0.5);
  outline: none;
}
.input-field::-webkit-inner-spin-button, .input-field::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.btn, .icon-btn {
  display: inline-block;
  width: auto;
  text-align: center;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.95);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  min-width: 48px;
  padding: 0 1.2em;
  height: 2em;
  line-height: 2em;
  font-weight: 600;
  letter-spacing: 0.2px;
  background-color: #181824;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  outline: none;
  transition: transform 0.3s, background 0.2s, color 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.btn:hover, .icon-btn:hover, .btn.on, .on.icon-btn {
  z-index: 10;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.btn.disabled, .disabled.icon-btn, .btn[disabled], [disabled].icon-btn {
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}
.btn:hover, .icon-btn:hover {
  transform: scale(1.08);
}
.btn:active, .icon-btn:active {
  transform: scale(0.92);
}
.btn:hover, .icon-btn:hover, .btn:active, .icon-btn:active {
  background-color: #504b5c;
}
html.is-tabbing .btn:focus, html.is-tabbing .icon-btn:focus {
  box-shadow: 0 0 0 2px currentColor, 0 0 0 4px #181824;
}
.btn.disabled, .disabled.icon-btn, .btn[disabled], [disabled].icon-btn {
  background-color: #ddd !important;
  color: #999 !important;
}
.btn x-icon, .icon-btn x-icon {
  opacity: 0.95;
  transition: opacity 0.2s;
  margin: 0 6px -6px 0;
  fill: currentColor;
}
.btn:hover x-icon, .icon-btn:hover x-icon, .btn:active x-icon, .icon-btn:active x-icon {
  opacity: 1;
}

.btn-small {
  height: 1.6em;
  line-height: 1.6em;
  padding: 0 0.8em;
}

.btn-large {
  font-size: 22px;
  padding: 0 20px;
  height: 44px;
  line-height: 44px;
}
.btn-large x-icon {
  margin: 0 10px -6px -2px;
}
.btn-large .arrow {
  margin: 0 -2px -1px 6px;
}

.btn-row {
  margin: -10px;
}

.btn-row .btn, .btn-row .icon-btn {
  margin: 10px;
}

.btn-red {
  background-color: #cd0e66;
  -webkit-touch-callout: none;
  outline: none;
}
.btn-red:hover, .btn-red:focus {
  background-color: #ef1579;
}
html.is-tabbing .btn-red:focus {
  box-shadow: 0 0 0 2px currentColor, 0 0 0 4px #ef1579;
}

.btn-blue {
  background-color: #0f82f2;
  -webkit-touch-callout: none;
  outline: none;
}
.btn-blue:hover, .btn-blue:focus {
  background-color: #3696f4;
}
html.is-tabbing .btn-blue:focus {
  box-shadow: 0 0 0 2px currentColor, 0 0 0 4px #3696f4;
}

.btn-green {
  background-color: #22ab24;
  -webkit-touch-callout: none;
  outline: none;
}
.btn-green:hover, .btn-green:focus {
  background-color: #29cd2b;
}
html.is-tabbing .btn-green:focus {
  box-shadow: 0 0 0 2px currentColor, 0 0 0 4px #29cd2b;
}

.btn-yellow {
  background-color: #fd8c00;
  -webkit-touch-callout: none;
  outline: none;
}
.btn-yellow:hover, .btn-yellow:focus {
  background-color: #ff9e27;
}
html.is-tabbing .btn-yellow:focus {
  box-shadow: 0 0 0 2px currentColor, 0 0 0 4px #ff9e27;
}

.btn-grey {
  background-color: #656073;
  -webkit-touch-callout: none;
  outline: none;
}
.btn-grey:hover, .btn-grey:focus {
  background-color: #797389;
}
html.is-tabbing .btn-grey:focus {
  box-shadow: 0 0 0 2px currentColor, 0 0 0 4px #797389;
}

.btn-white {
  background-color: white;
  -webkit-touch-callout: none;
  outline: none;
}
.btn-white:hover, .btn-white:focus {
  background-color: white;
}
html.is-tabbing .btn-white:focus {
  box-shadow: 0 0 0 2px currentColor, 0 0 0 4px white;
}
.btn-white, .btn-white:hover, .btn-white:active {
  color: #3a3645;
}

.btn.facebook, .facebook.icon-btn {
  background-color: #1878f2;
  -webkit-touch-callout: none;
  outline: none;
}
.btn.facebook:hover, .facebook.icon-btn:hover, .btn.facebook:focus, .facebook.icon-btn:focus {
  background-color: #3f8ff4;
}
html.is-tabbing .btn.facebook:focus, html.is-tabbing .facebook.icon-btn:focus {
  box-shadow: 0 0 0 2px currentColor, 0 0 0 4px #3f8ff4;
}

.btn.twitter, .twitter.icon-btn {
  background-color: #00b6f1;
  -webkit-touch-callout: none;
  outline: none;
}
.btn.twitter:hover, .twitter.icon-btn:hover, .btn.twitter:focus, .twitter.icon-btn:focus {
  background-color: #1bc7ff;
}
html.is-tabbing .btn.twitter:focus, html.is-tabbing .twitter.icon-btn:focus {
  box-shadow: 0 0 0 2px currentColor, 0 0 0 4px #1bc7ff;
}

.btn.youtube, .youtube.icon-btn {
  background-color: #ff0000;
  -webkit-touch-callout: none;
  outline: none;
}
.btn.youtube:hover, .youtube.icon-btn:hover, .btn.youtube:focus, .youtube.icon-btn:focus {
  background-color: #ff2929;
}
html.is-tabbing .btn.youtube:focus, html.is-tabbing .youtube.icon-btn:focus {
  box-shadow: 0 0 0 2px currentColor, 0 0 0 4px #ff2929;
}

.btn.instagram, .instagram.icon-btn {
  background-color: #bc2a8d;
  -webkit-touch-callout: none;
  outline: none;
}
.btn.instagram:hover, .instagram.icon-btn:hover, .btn.instagram:focus, .instagram.icon-btn:focus {
  background-color: #d33ba2;
}
html.is-tabbing .btn.instagram:focus, html.is-tabbing .instagram.icon-btn:focus {
  box-shadow: 0 0 0 2px currentColor, 0 0 0 4px #d33ba2;
}

.btn.pinterest, .pinterest.icon-btn {
  background-color: #cb2027;
  -webkit-touch-callout: none;
  outline: none;
}
.btn.pinterest:hover, .pinterest.icon-btn:hover, .btn.pinterest:focus, .pinterest.icon-btn:focus {
  background-color: #df353c;
}
html.is-tabbing .btn.pinterest:focus, html.is-tabbing .pinterest.icon-btn:focus {
  box-shadow: 0 0 0 2px currentColor, 0 0 0 4px #df353c;
}

.btn.tumblr, .tumblr.icon-btn {
  background-color: #35465d;
  -webkit-touch-callout: none;
  outline: none;
}
.btn.tumblr:hover, .tumblr.icon-btn:hover, .btn.tumblr:focus, .tumblr.icon-btn:focus {
  background-color: #445a77;
}
html.is-tabbing .btn.tumblr:focus, html.is-tabbing .tumblr.icon-btn:focus {
  box-shadow: 0 0 0 2px currentColor, 0 0 0 4px #445a77;
}

.btn.reddit, .reddit.icon-btn {
  background-color: #ff5700;
  -webkit-touch-callout: none;
  outline: none;
}
.btn.reddit:hover, .reddit.icon-btn:hover, .btn.reddit:focus, .reddit.icon-btn:focus {
  background-color: #ff7229;
}
html.is-tabbing .btn.reddit:focus, html.is-tabbing .reddit.icon-btn:focus {
  box-shadow: 0 0 0 2px currentColor, 0 0 0 4px #ff7229;
}

.btn.microsoft, .microsoft.icon-btn {
  background-color: #2f2f2f;
  -webkit-touch-callout: none;
  outline: none;
}
.btn.microsoft:hover, .microsoft.icon-btn:hover, .btn.microsoft:focus, .microsoft.icon-btn:focus {
  background-color: #434343;
}
html.is-tabbing .btn.microsoft:focus, html.is-tabbing .microsoft.icon-btn:focus {
  box-shadow: 0 0 0 2px currentColor, 0 0 0 4px #434343;
}

.btn.google, .google.icon-btn {
  background: white;
  color: #3a3645;
  box-shadow: inset 0 0 0 1px #aaa;
}
.btn.google:hover, .google.icon-btn:hover {
  box-shadow: inset 0 0 0 1px #aaa, 0 4px 12px rgba(0, 0, 0, 0.25);
}
html.is-tabbing .btn.google:focus, html.is-tabbing .google.icon-btn:focus {
  box-shadow: inset 0 0 0 1px #aaa, 0 0 0 2px white, 0 0 0 4px #656073;
}

.icon-btn {
  display: block;
  padding: 0;
  min-width: 40px;
  height: 40px;
  border-radius: 20px;
}
.icon-btn x-icon {
  display: block;
  margin: 8px;
}

@font-face {
  font-family: "Mathigon Symbol";
  src: url("/fonts/mathigon-symbol.woff2") format("woff2"), url("/fonts/mathigon-symbol.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
math, .math {
  display: inline-block;
  margin: 0 0.1em;
  font-style: normal;
  font-weight: normal;
}

.nowrap math, .nowrap .math {
  margin-right: 0;
}

mn, mi, mo, ms, mtext, mrow, mfrac, msqrt, mroot, msub, msup, mfenced {
  display: inline-block;
  font-size: inherit;
  line-height: 1;
  white-space: nowrap;
  font-family: "Mathigon Symbol", "Source Sans Pro", sans-serif;
}

mi[mathvariant=normal] {
  font-family: "Source Sans Pro", sans-serif;
}

mi {
  line-height: 0.9;
}

mo {
  margin: 0 0.25em;
}

mn + mi, mn + .cursor + mi {
  margin-left: 0.1em;
}

mi + mi {
  margin-left: 0.05em;
}

mfrac + mi, mfrac + mtext, mfrac + .coursor + mi, mfrac + .cursor + mtext {
  margin-left: 0.15em;
}

mo[value=−]:first-child {
  margin: 0 0.1em;
}

mo[value="="], mo[value=≈] {
  margin: 0 0.4em;
}

mo[value=∡], mo[value=△] {
  margin: 0;
}

mo[lspace="0"], mo:first-child, .cursor:first-child + mo, mo + mo,
mo + mo[value], mo + .cursor + mo, mo + .cursor + mo[value],
mn + mo[value=…], mo[value=°], mo[value=’] {
  margin-left: 0;
}

mo[rspace="0"], mo:last-child {
  margin-right: 0;
}

mtext {
  font-family: "Source Sans Pro", Helvetica, sans-serif;
}

mspace {
  padding: 0 0.2em;
}

mphantom {
  visibility: hidden;
}

ms:before, ms:after {
  content: '"';
}

ms[lquote]:before {
  content: attr(lquote);
}

ms[rquote]:after {
  content: attr(rquote);
}

msup > *:last-child, msubsup > *:nth-child(3) {
  font-size: 67%;
  margin: -0.2em 0.1em 0 0.15em;
  vertical-align: top;
}

msub > *:last-child, msubsup > *:nth-child(2) {
  font-size: 67%;
  margin: 0 0.1em -0.2em;
  vertical-align: bottom;
}

msup > *:last-child mo, msub > *:last-child mo, msubsup > *:nth-child(3) mo {
  margin: 0 0.1em;
}

mfrac {
  font-size: 0.6em;
  vertical-align: -0.2em;
  margin: 0 0.1em;
}
mfrac > * {
  display: block;
  text-align: center;
}
mfrac > *:first-child {
  padding-bottom: 0.06em;
}
mfrac > *:last-child {
  border-top: 1px solid currentColor;
  float: right;
  padding-top: 0.06em;
  width: 100%;
}
mfrac:after {
  content: " ";
  visibility: hidden;
  width: 0;
}
.text-center:not(.inline) mfrac, .display mfrac, table mfrac {
  font-size: 1em;
  vertical-align: -0.45em;
}
mfrac mfrac, .text-center:not(.inline) mfrac mfrac, .display mfrac mfrac {
  font-size: 75%;
  vertical-align: -0.25em;
}

msqrt, mroot {
  border-top: 1px solid currentColor;
  margin-left: 9px;
  padding: 0.1em 0.1em 0 0.2em;
  position: relative;
}
msqrt:before, mroot:before {
  background: currentColor;
  -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2213%22%20height%3D%2222%22%3E%3Cpath%20d%3D%22M3%2C11.72l-1.56.7-.42-1%2C2.93-1.3%2C2.55%2C7.61c.15.46.26.95.37%2C1.41h.09c.09-.46.18-.95.26-1.41L11.12%2C1h1.32L7.67%2C21.13H6.28Z%22%2F%3E%3C%2Fsvg%3E");
          mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2213%22%20height%3D%2222%22%3E%3Cpath%20d%3D%22M3%2C11.72l-1.56.7-.42-1%2C2.93-1.3%2C2.55%2C7.61c.15.46.26.95.37%2C1.41h.09c.09-.46.18-.95.26-1.41L11.12%2C1h1.32L7.67%2C21.13H6.28Z%22%2F%3E%3C%2Fsvg%3E");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  position: absolute;
  content: "";
  bottom: 0;
  left: -11px;
  top: -2px;
  width: 13px;
}

mroot > *:last-child {
  position: absolute;
  font-size: 67%;
  right: calc(100% + 5px);
  margin-top: -5px;
}

mfenced {
  margin: 0 calc(5px + 0.1em);
  padding: 0.05em 0.1em;
  position: relative;
}
mfenced:before, mfenced:after {
  bottom: -1px;
  top: -1px;
  content: "";
  width: 5px;
}
mfenced:before {
  background: currentColor;
  -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%225%22%20height%3D%2222%22%3E%3Cpath%20d%3D%22M0%2C11A18.32%2C18.32%2C0%2C0%2C1%2C2.91%2C1L4%2C1.53A18.32%2C18.32%2C0%2C0%2C0%2C1.5%2C11%2C18.33%2C18.33%2C0%2C0%2C0%2C4%2C20.47L2.91%2C21A18.32%2C18.32%2C0%2C0%2C1%2C0%2C11Z%22%2F%3E%3C%2Fsvg%3E");
          mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%225%22%20height%3D%2222%22%3E%3Cpath%20d%3D%22M0%2C11A18.32%2C18.32%2C0%2C0%2C1%2C2.91%2C1L4%2C1.53A18.32%2C18.32%2C0%2C0%2C0%2C1.5%2C11%2C18.33%2C18.33%2C0%2C0%2C0%2C4%2C20.47L2.91%2C21A18.32%2C18.32%2C0%2C0%2C1%2C0%2C11Z%22%2F%3E%3C%2Fsvg%3E");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  position: absolute;
  /* rtl:ignore */
  left: -4px;
}
mfenced:after {
  background: currentColor;
  -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%225%22%20height%3D%2222%22%3E%3Cpath%20d%3D%22M1%2C20.47A18.33%2C18.33%2C0%2C0%2C0%2C3.5%2C11%2C18.32%2C18.32%2C0%2C0%2C0%2C1%2C1.53L2.09%2C1A18.32%2C18.32%2C0%2C0%2C1%2C5%2C11%2C18.32%2C18.32%2C0%2C0%2C1%2C2.09%2C21Z%22%2F%3E%3C%2Fsvg%3E");
          mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%225%22%20height%3D%2222%22%3E%3Cpath%20d%3D%22M1%2C20.47A18.33%2C18.33%2C0%2C0%2C0%2C3.5%2C11%2C18.32%2C18.32%2C0%2C0%2C0%2C1%2C1.53L2.09%2C1A18.32%2C18.32%2C0%2C0%2C1%2C5%2C11%2C18.32%2C18.32%2C0%2C0%2C1%2C2.09%2C21Z%22%2F%3E%3C%2Fsvg%3E");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  position: absolute;
  /* rtl:ignore */
  right: -4px;
}

mfenced[open="|"] {
  margin: 0 0.1em;
  padding: 0 0.1em;
  border-left: 1px solid currentColor;
  border-right: 1px solid currentColor;
}
mfenced[open="|"]:before, mfenced[open="|"]:after {
  content: none;
}

mfenced[open="["]:before {
  content: "[";
}

mfenced[close="]"]:after {
  content: "]";
}

mfenced[open="{"]:before {
  content: "{";
}

mfenced[close="}"]:after {
  content: "}";
}

mover, munder {
  position: relative;
}

mover > *:nth-child(2) {
  position: absolute;
  left: 0;
  right: 0;
  height: 5px;
  font-size: 0;
}

mover > [value=‾]:nth-child(2) {
  top: 0;
  background: currentColor;
  -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2221%22%20height%3D%225%22%3E%3Cpath%20d%3D%22M0%2C2L21%2C2L21%2C3L0%2C3Z%22%2F%3E%3C%2Fsvg%3E");
          mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2221%22%20height%3D%225%22%3E%3Cpath%20d%3D%22M0%2C2L21%2C2L21%2C3L0%2C3Z%22%2F%3E%3C%2Fsvg%3E");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  position: absolute;
}

mover > [value=→]:nth-child(2) {
  top: -2px;
  background: currentColor;
  -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2221%22%20height%3D%225%22%3E%3Cpath%20d%3D%22M21%2C2.5L15.7%2C0.3L16.5%2C2L0%2C2L0%2C3L16.5%2C3L15.7%2C4.7L21%2C2.5Z%22%2F%3E%3C%2Fsvg%3E");
          mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2221%22%20height%3D%225%22%3E%3Cpath%20d%3D%22M21%2C2.5L15.7%2C0.3L16.5%2C2L0%2C2L0%2C3L16.5%2C3L15.7%2C4.7L21%2C2.5Z%22%2F%3E%3C%2Fsvg%3E");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  position: absolute;
}

mover > [value=↔]:nth-child(2) {
  top: -2px;
  background: currentColor;
  -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2221%22%20height%3D%225%22%3E%3Cpath%20d%3D%22M21%2C2.5L15.7%2C0.3L16.5%2C2L4.5%2C2L5.3%2C0.3L0%2C2.5L5.3%2C4.7L4.5%2C3L16.5%2C3L15.7%2C4.7L21%2C2.5Z%22%2F%3E%3C%2Fsvg%3E");
          mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2221%22%20height%3D%225%22%3E%3Cpath%20d%3D%22M21%2C2.5L15.7%2C0.3L16.5%2C2L4.5%2C2L5.3%2C0.3L0%2C2.5L5.3%2C4.7L4.5%2C3L16.5%2C3L15.7%2C4.7L21%2C2.5Z%22%2F%3E%3C%2Fsvg%3E");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  position: absolute;
}

mover > [value=⌒]:nth-child(2) {
  top: -2px;
  background: currentColor;
  -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2221%22%20height%3D%225%22%3E%3Cpath%20d%3D%22M20.5%2C4.5a.52.52%2C0%2C0%2C1-.29-.09A17.1%2C17.1%2C0%2C0%2C0%2C10.5%2C1.5%2C17.1%2C17.1%2C0%2C0%2C0%2C.79%2C4.41a.5.5%2C0%2C0%2C1-.7-.13.5.5%2C0%2C0%2C1%2C.12-.69A18.22%2C18.22%2C0%2C0%2C1%2C10.5.5%2C18.22%2C18.22%2C0%2C0%2C1%2C20.79%2C3.59a.5.5%2C0%2C0%2C1%2C.12.69A.5.5%2C0%2C0%2C1%2C20.5%2C4.5Z%22%2F%3E%3C%2Fsvg%3E");
          mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2221%22%20height%3D%225%22%3E%3Cpath%20d%3D%22M20.5%2C4.5a.52.52%2C0%2C0%2C1-.29-.09A17.1%2C17.1%2C0%2C0%2C0%2C10.5%2C1.5%2C17.1%2C17.1%2C0%2C0%2C0%2C.79%2C4.41a.5.5%2C0%2C0%2C1-.7-.13.5.5%2C0%2C0%2C1%2C.12-.69A18.22%2C18.22%2C0%2C0%2C1%2C10.5.5%2C18.22%2C18.22%2C0%2C0%2C1%2C20.79%2C3.59a.5.5%2C0%2C0%2C1%2C.12.69A.5.5%2C0%2C0%2C1%2C20.5%2C4.5Z%22%2F%3E%3C%2Fsvg%3E");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  position: absolute;
}

.snackbar {
  position: fixed;
  top: 52px;
  left: 50%;
  z-index: 500;
  transform: translateX(-50%);
}

x-alert {
  background: black;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  padding: 8px 20px;
  color: white;
  display: none;
  max-width: 300px;
  font-size: 16px;
  line-height: 1.4;
  width: -moz-max-content;
  width: max-content;
}
x-alert x-icon {
  margin: -2px 6px 20px -4px;
  float: left;
}
x-alert.error {
  background: #b50c5a;
}
x-alert.warn {
  background: #e47e00;
}
x-alert.success {
  background: #1e9620;
}

x-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  fill: currentColor;
}
x-icon svg {
  display: block;
}
x-icon[name=warning] {
  fill: #cd0e66;
}

.button x-icon {
  margin: -10px 3px -10px -8px;
}

.modal-background {
  position: fixed;
  z-index: 400;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  transition: background 0.4s;
  -webkit-backdrop-filter: blur(4px);
}
.modal-background.light {
  background: rgba(255, 255, 255, 0.9);
}
html.webview .modal-background {
  top: 0;
}

x-modal {
  z-index: 401;
  position: fixed;
  width: 520px;
  max-width: calc(100% - 40px);
  max-height: calc(100vh - 84px);
  background: white;
  border-radius: 12px;
  top: 50%;
  left: 50%;
  margin-top: 22px;
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.8);
  display: none;
  box-sizing: border-box;
}
html[theme=dark] x-modal {
  background: #2d2c38;
}
x-modal.light {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
html.webview x-modal {
  max-height: calc(100% - 40px);
  margin-top: 0;
}
x-modal .modal-body {
  height: 100%;
  max-height: calc(100vh - 84px);
  padding: 24px;
  box-sizing: border-box;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
@media screen and (max-height: 720px) {
  x-modal.interactive {
    top: 42px;
    transform: translate(-50%, 0);
  }
}
.is-safari:not(.is-webview) x-modal, .is-safari:not(.is-webview) x-modal .modal-body {
  max-height: calc(100vh - 200px);
}
x-modal h2 {
  margin-top: 0;
}
x-modal h2 x-icon {
  margin: -6px 4px -6px -2px;
}
x-modal h3 {
  margin: 1.5em 0 0.8em;
}
x-modal h3 x-icon {
  margin: 0 5px -5px 0;
}
x-modal .btn-row {
  text-align: right;
  margin: 0;
}
x-modal .form-large {
  margin: 0 -8px -10px;
}
x-modal p:last-child:not(.btn-row), x-modal ul:last-child {
  margin-bottom: 0;
}
x-modal .form-checkbox {
  margin: 16px 0;
}
x-modal hr {
  margin: 1.5em 0;
}
x-modal .close {
  fill: rgba(0, 0, 0, 0.4);
  position: absolute;
  right: 0;
  top: 0;
  padding: 8px;
  transition: transform 0.2s, color 0.2s;
  cursor: pointer;
  z-index: 10;
  display: block;
}
html[theme=dark] x-modal .close {
  fill: rgba(255, 255, 255, 0.4);
}
x-modal .close:hover {
  transform: scale(1.4);
  color: black;
}
html[theme=dark] x-modal .close:hover {
  color: white;
}
x-modal.video {
  border-radius: 0;
  background: black;
  width: 1200px;
}
x-modal.video .video-wrap {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
}
x-modal.video iframe, x-modal.video video {
  position: absolute;
  width: 100%;
  height: 100%;
}
x-modal.video .close x-icon {
  fill: rgba(255, 255, 255, 0.8);
  top: -40px;
}

x-progress {
  border: 2px solid currentColor;
  border-radius: 100%;
  box-sizing: border-box;
}
x-progress svg {
  display: block;
  margin: -14px;
  pointer-events: none;
  max-width: none;
}
x-progress path.pie, x-progress path.done { /* rtl:ignore */
  transform: translate(12px, 12px);
}
x-progress path.pie {
  fill: none;
  transition: stroke-dasharray 0.2s;
  stroke: currentColor;
}
x-progress line {
  stroke: currentColor;
  stroke-width: 2px;
}

header {
  position: fixed;
  display: flex;
  justify-content: space-between;
  width: 100%;
  top: 0;
  height: 44px;
  background: #181824;
  z-index: 450;
  color: white;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
}
header #logo, header .nav-link {
  display: block;
  font-size: 18px;
  line-height: 44px;
  height: 44px;
}
header #logo {
  padding: 4px 4px 4px 16px;
  margin-right: -12px;
  box-sizing: border-box;
}
header #logo svg, header #logo img {
  height: 36px;
  width: auto;
  float: left;
}
header #logo span {
  line-height: 36px;
  display: inline-block;
  float: left;
  margin: 0 8px;
}
header #skip-nav {
  position: absolute;
  top: 2px;
  left: -9999px;
  height: 32px;
  padding: 2px 18px;
  background: #3a3645;
  border: 2px solid #181824;
  border-radius: 30px;
  z-index: 9999;
}
html.is-tabbing header #skip-nav:focus {
  left: 2px;
}
header nav {
  display: flex;
}
header .nav-link {
  padding: 0 16px;
  opacity: 0.8;
  transition: opacity 0.2s, background 0.2s;
  cursor: pointer;
}
header .nav-link:hover, header .nav-link:focus {
  opacity: 1;
  background: #4b4757;
}
header .nav-link x-icon {
  margin: 0 8px -6px -2px;
  vertical-align: baseline;
}
header .nav-link.narrow {
  padding: 0 12px;
}
header .nav-link.narrow x-icon {
  margin: 0;
  display: block;
}
header .nav-link.popup-target {
  padding-right: 18px;
}
header .nav-item.open .nav-link {
  opacity: 1;
  background: #4b4757;
}
header .nav-user-icon {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 100%;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
header .popup-body {
  position: absolute;
  top: 44px;
  right: 0;
  display: none;
  background: rgba(24, 24, 36, 0.91);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  border-radius: 0 0 0 6px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  background-clip: content-box;
}
header .popup-body .nav-link {
  padding: 0 18px;
  white-space: nowrap;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  text-align: left;
  transition: background 0.2s, color 0.2s;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
}
header .popup-body .nav-link:before {
  content: " ";
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  transition: background-color 0.2s;
  position: absolute;
  width: calc(100% - 36px);
  top: 0;
}
header .popup-body .nav-link:first-child:before {
  display: none;
}
header .popup-body .nav-link:hover, header .popup-body .nav-link:focus, header .popup-body .nav-link.on, header .popup-body .nav-link.active {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}
header .popup-body .nav-link:hover:before, header .popup-body .nav-link:hover + *:before, header .popup-body .nav-link:focus:before, header .popup-body .nav-link:focus + *:before, header .popup-body .nav-link.on:before, header .popup-body .nav-link.on + *:before, header .popup-body .nav-link.active:before, header .popup-body .nav-link.active + *:before {
  background: transparent;
}
header .popup-body .nav-link.on, header .popup-body .nav-link.active {
  background: rgba(255, 255, 255, 0.32);
}
header .popup-body .nav-link.logout {
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
header .popup-body .nav-link:last-child {
  border-radius: 0 0 0 6px;
}
header .popup-body .nav-link img {
  float: right;
  margin: 10px 2px 0 12px;
}
header .popup-body .nav-link .form-checkbox {
  float: right;
  margin: 8px 2px 0 12px;
  padding-left: 24px;
}
@media (max-width: 840px) {
  header .nav-link {
    padding: 0 12px;
  }
  header .nav-link.narrow {
    padding: 0 10px;
  }
  header .nav-link x-icon {
    margin-right: 6px;
  }
}
@media (max-width: 760px) {
  header .nav-item > .nav-link {
    padding: 4px 8px 4px;
    height: 36px;
  }
  header .nav-item > .nav-link x-icon {
    display: block;
    margin: 0 auto;
    width: 24px;
    height: 24px;
  }
  header .nav-text {
    display: block;
    line-height: 12px;
    font-size: 10px;
    text-align: center;
  }
}

x-modal#language {
  width: 540px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.locale-list {
  -moz-column-count: 3;
       column-count: 3;
}
@media (max-width: 560px) {
  .locale-list {
    -moz-column-count: 2;
         column-count: 2;
  }
}
@media (max-width: 420px) {
  .locale-list {
    -moz-column-count: 1;
         column-count: 1;
  }
}

.locale-link {
  display: block;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
  margin: 2px 0;
  -webkit-column-break-inside: avoid;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.locale-link:hover {
  background: #e2e1e6;
}
html[theme=dark] .locale-link:hover {
  background: rgba(255, 255, 255, 0.2);
}
.locale-link img {
  margin-right: 8px;
}

#search {
  width: 480px;
}
#search .modal-body {
  padding: 12px;
  overflow: visible;
}
#search .form-field {
  padding: 0;
}
#search .form-field input {
  padding: 8px 16px 8px 48px;
  font-size: 24px;
  border-radius: 40px;
  line-height: 32px;
}
#search .form-field input::-moz-placeholder {
  color: inherit;
  opacity: 0.5;
}
#search .form-field input::placeholder {
  color: inherit;
  opacity: 0.5;
}
#search .form-field input:focus {
  box-shadow: 0 0 0 3px #87c1f9;
}
#search .form-field x-icon {
  position: absolute;
  left: 13px;
  top: 11px;
  fill: currentColor;
}
#search .search-body {
  padding: 8px 8px 6px 48px;
  min-height: 180px;
  max-height: calc(100vh - 160px);
  overflow: auto;
}
#search .search-body:before, #search .search-body:after {
  display: table;
  content: " ";
  clear: both;
}
@media screen and (max-width: 420px) {
  #search .search-body {
    padding-left: 8px;
  }
}
#search .search-section {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}
#search .search-result {
  margin: 0 -6px;
  height: 48px;
  display: block;
  padding: 6px;
  border-radius: 6px;
  line-height: 1.2;
  transition: background 0.2s;
}
#search .search-result:hover, #search .search-result:focus {
  background: #e2e1e6;
}
html[theme=dark] #search .search-result:hover, html[theme=dark] #search .search-result:focus {
  background: rgba(255, 255, 255, 0.2);
}
#search .search-img {
  width: 48px;
  height: 48px;
  background: black center;
  background-size: cover;
  border-radius: 4px;
  float: left;
  margin-right: 10px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}
#search .search-subtitle {
  font-size: 14px;
  color: #aaa;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#search .search-title {
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#search .search-gloss {
  background: #fed199;
  border-radius: 6px;
  margin: 6px 0;
  padding: 8px 14px;
  font-size: 16px;
  line-height: 1.4;
}
#search .search-gloss:before, #search .search-gloss:after {
  display: table;
  content: " ";
  clear: both;
}
#search .search-gloss img {
  border: 0;
  float: right;
  width: 160px;
  margin: 0 -12px 0 0;
}
#search .search-gloss .math, #search .search-gloss x-math {
  white-space: nowrap;
}
#search .search-gloss p, #search .search-gloss li, #search .search-gloss ul {
  margin-bottom: 0.3em;
}
#search .search-gloss p:last-child, #search .search-gloss li:last-child, #search .search-gloss ul:last-child {
  margin-bottom: 0;
}
#search .no-results {
  margin-top: 32px;
  text-align: center;
  padding-right: 32px;
  color: #aaa;
}
@media screen and (max-width: 420px) {
  #search .no-results {
    padding: 0;
  }
}
#search .no-results x-icon {
  display: block;
  margin: 0 auto;
  fill: #aaa;
}

.global-footer {
  margin: 50px 0 40px;
  border-top: 1px solid #ccc;
  padding-top: 6px;
  font-size: 15px;
  color: #aaa;
  display: flex;
}
.global-footer .footer-left {
  flex-grow: 1;
}
.global-footer .footer-right {
  text-align: right;
}
.global-footer .footer-row {
  margin: 4px 0;
}
.global-footer button {
  position: relative;
  cursor: pointer;
  margin-left: 24px;
  line-height: inherit;
}
.global-footer button img {
  position: absolute;
  left: -24px;
  top: 2px;
}
.global-footer .dot {
  display: inline-block;
  margin: 0 8px;
}
.global-footer .footer-left a, .global-footer button {
  display: inline-block;
  background-size: 0 100%;
  background-repeat: no-repeat;
  background-image: linear-gradient(transparent calc(100% - 2px), currentColor calc(100% - 2px), currentColor calc(100% - 1px), transparent calc(100% - 1px));
  transition: color 0.2s, background-size 0.2s ease-in-out;
}
.global-footer .footer-left a:hover, .global-footer button:hover {
  background-size: 100% 100%;
}
.global-footer .footer-left a:hover, .global-footer button:hover {
  color: #333;
}
html[theme=dark] .global-footer .footer-left a:hover, html[theme=dark] .global-footer button:hover {
  color: white;
}
.global-footer .footer-social {
  display: inline-block;
  padding: 6px 3px;
  margin: -5px 0 -11px;
  color: #aaa;
  transition: color 0.2s;
}
.global-footer .footer-social x-icon {
  display: block;
}
.global-footer .footer-social:hover {
  color: #333;
}
html[theme=dark] .global-footer .footer-social:hover {
  color: white;
}
@media (max-width: 760px) {
  .global-footer {
    display: block;
    font-size: 16px;
    margin-bottom: 30px;
  }
  .global-footer .footer-left, .global-footer .footer-right {
    text-align: center;
  }
  .global-footer .footer-row {
    margin-bottom: 10px;
  }
  .global-footer .footer-social {
    padding: 6px;
  }
  .global-footer .footer-social svg {
    width: 28px;
    height: 28px;
    margin: 0 4px;
  }
  .global-footer button img {
    width: 20px;
    height: 20px;
    left: -26px;
    top: 3px;
  }
}

.course {
  border-top: 1px solid #c5c2cc;
  -moz-column-count: 2;
       column-count: 2;
  -moz-column-gap: 10px;
       column-gap: 10px;
  min-height: 80px;
  padding: 18px 0 18px 90px;
  position: relative;
}
@media screen and (max-width: 660px) {
  .course {
    -moz-column-count: 1;
         column-count: 1;
  }
}
.course .course-img {
  width: 80px;
  height: 80px;
  background-size: cover;
  border-radius: 6px;
  position: absolute;
  left: 0;
  top: 18px;
}
.course h3 {
  margin: 0 0 8px 8px;
  -moz-column-span: all;
       column-span: all;
}
.course h3 img {
  margin: -4px 0 0 8px;
}
.course .course-banner {
  float: right;
  color: white;
  font-size: 14px;
  font-weight: 400;
  border-radius: 20px;
  padding: 2px 10px;
  margin: 0 0 4px 6px;
}
.course .course-section {
  border-radius: 4px;
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  font-size: 16px;
  line-height: 1.2;
  padding: 7px 8px 7px 34px;
  page-break-inside: avoid;
}
.course .course-section.locked {
  color: #aaa;
  position: relative;
}
.course .course-section.locked .tooltip {
  top: 7px;
  right: 0;
  left: auto;
  transform: none;
  background: #656073;
  padding: 1px 10px;
}
.course a.course-section {
  display: block;
  transition: background 0.2s;
  outline: none;
}
.course a.course-section:hover, .course a.course-section:focus {
  background: #e2e1e6;
}
html[theme=dark] .course a.course-section:hover, html[theme=dark] .course a.course-section:focus {
  background: rgba(255, 255, 255, 0.2);
}
.course x-progress, .course .course-section.locked x-icon {
  display: inline-block;
  margin: 0 6px -4px -26px;
  fill: #c5c2cc;
}

html {
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  cursor: default;
  background-color: white;
  min-width: 320px;
  font-size: 18px;
  line-height: 1.6;
  touch-action: manipulation;
}
html[theme=dark] {
  background: #22212e;
}

html:not(.ready) * {
  transition: none !important;
  animation: none !important;
}

html:not(.is-tabbing) *:focus {
  outline: none !important;
}

html.grabbing, html.grabbing * {
  cursor: grabbing !important;
}

body {
  color: #333;
}
html[theme=dark] body {
  color: rgba(255, 255, 255, 0.9);
}

main {
  padding-top: 44px;
}
html.webview main {
  padding-top: 0;
}

.container {
  width: 1000px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  position: relative;
}
.container.narrow {
  width: 800px;
}
.container.wide {
  width: 1200px;
}

.panel.narrow {
  max-width: 800px;
  margin: 0 auto;
}

svg.mathjax {
  display: inline-block;
}
svg.mathjax g, svg.mathjax use, svg.mathjax path {
  transform-origin: 0 0;
  transform-box: initial;
}

.is-mobile .only-desktop, .not-mobile .only-mobile, .not-touch .only-touch {
  display: none !important;
}

@media screen and (max-width: 480px) {
  .xs-hide {
    display: none !important;
  }
}

@media screen and (max-width: 640px) {
  .s-hide {
    display: none !important;
  }
}

@media screen and (min-width: 641px) {
  .l-hide {
    display: none !important;
  }
}

@media screen and (min-width: 801px) {
  .xl-hide {
    display: none !important;
  }
}

.invert {
  filter: none;
}
html[theme=dark] .invert {
  filter: invert(1);
}

.r {
  position: relative;
}

.row, .column {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.column {
  flex-direction: column;
}

.row.right {
  flex-direction: row-reverse;
}

.row.padded, .column.padded {
  margin: -24px;
}

.row.padded > *, .column.padded > * {
  margin: 24px;
}

.row.padded-thin, .column.padded-thin {
  margin: -12px;
}

.row.padded-thin > *, .column.padded-thin > * {
  margin: 12px;
}

.row .grow, .column .grow {
  flex-grow: 1;
}

.row .shrink, .column .shrink {
  flex-shrink: 1;
}

.row > * > h2:first-child, .row > * > h3:first-child {
  margin-top: 0;
}

.padded > * > p:last-child, .padded-thin > * > p:last-child {
  margin-bottom: 0;
}

.text-medium {
  color: #999;
}

p a, label a, ul a, ol a, button.a {
  color: #0f82f2;
  background-size: 0 100%;
  background-repeat: no-repeat;
  background-image: linear-gradient(transparent calc(100% - 3px), currentColor calc(100% - 3px), currentColor calc(100% - 1px), transparent calc(100% - 1px));
  transition: color 0.2s, background-size 0.2s ease-in-out;
}
p a:hover, label a:hover, ul a:hover, ol a:hover, button.a:hover {
  background-size: 100% 100%;
}

.caption {
  font-size: 80%;
  margin: 0 0 0.6em 0;
  text-align: left;
  color: #888;
}

.emoji {
  font-size: inherit;
  margin: -4px 2px 0;
  display: inline-block;
  line-height: normal;
  vertical-align: middle;
  width: 20px;
  height: 20px;
}

img.emoji {
  width: auto;
}

.tooltip {
  position: absolute;
  top: -22px;
  white-space: nowrap;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  background: #181824;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  opacity: 0;
  border-radius: 16px;
  pointer-events: none;
  padding: 2px 12px;
  transition: opacity 0.1s;
  color: white;
  border: 1px solid white;
  line-height: 18px;
  z-index: 9999;
}
.not-mobile *:hover > .tooltip, .is-tabbing.not-mobile *:focus > .tooltip {
  opacity: 0.8;
}

.alert {
  padding: 12px 44px 12px 20px;
  border-radius: 4px;
  background: rgba(253, 140, 0, 0.4);
  position: relative;
  margin-bottom: 2em;
}
.alert.fail {
  background: rgba(205, 14, 102, 0.4);
}
.alert.success {
  background: rgba(34, 171, 36, 0.4);
}
.alert p:last-child {
  margin: 0;
}
.alert .close {
  position: absolute;
  top: 0;
  right: 0;
  font-weight: 700;
  padding: 0 13px;
  font-size: 30px;
  cursor: pointer;
  opacity: 0.6;
}
.alert .close:hover {
  opacity: 1;
}

.warning {
  z-index: 900;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #181824 url("/images/tiles.png");
  background-size: 240px 240px;
}

.warning-body {
  max-width: calc(100% - 48px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.warning-body svg {
  margin: 0 auto 20px;
  width: 100px;
  height: 100px;
}
.warning-body p {
  color: white;
  background: #cd0e66;
  border-radius: 4px;
  padding: 8px 16px;
  text-align: center;
}
.warning-body a:hover {
  color: #3f9bf5;
}

.cookie-warning {
  border-radius: 4px;
  background: #b50c5a;
  padding: 10px 16px 12px;
  box-sizing: border-box;
  position: fixed;
  left: 10px;
  bottom: 10px;
  color: white;
  z-index: 800;
  max-width: calc(100vw - 20px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  line-height: 1.4;
}
.cookie-warning h2 {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 100;
  margin: 0 0 6px 0;
  font-size: 24px;
}
.cookie-warning p {
  margin-bottom: 12px;
}
.cookie-warning .btn, .cookie-warning .icon-btn {
  color: #b50c5a;
}
.cookie-warning .close {
  cursor: pointer;
  top: 2px;
  right: 2px;
  position: absolute;
  padding: 12px;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.cookie-warning .close:hover {
  opacity: 1;
}
.cookie-warning x-icon {
  display: block;
}

x-modal#login {
  width: 500px;
}
x-modal#login .modal-body {
  padding: 24px 16px 12px;
}
x-modal#login h2 {
  text-align: center;
}
x-modal#login .btn-row.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
x-modal#login .btn-row.social .btn, x-modal#login .btn-row.social .icon-btn {
  margin: 6px;
}
x-modal#login .hr {
  height: 1px;
  margin: 1em 8px;
  background: #c5c2cc;
  position: relative;
}
x-modal#login .hr span {
  background: white;
  display: block;
  left: 50%;
  position: absolute;
  text-align: center;
  margin-top: -7px;
  font-size: 14px;
  color: #aaa;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 12px;
  transform: translateX(-50%);
}