@charset "UTF-8";
/*
$primary-100: $gray-100;
$primary-200: $gray-200;
$primary-300: $gray-300;
$primary-400: $gray-400;
$primary-500: $gray-500;
$primary-600: $gray-600;
$primary-700: $gray-700;
$primary-800: $gray-800;
$primary-900: $gray-900;

$alert-100: $gray-100;
$alert-200: $gray-200;
$alert-300: $gray-300;
$alert-400: $gray-400;
$alert-500: $gray-500;
$alert-600: $gray-600;
$alert-700: $gray-700;
$alert-800: $gray-800;
$alert-900: $gray-900;

$accent-100: $gray-100;
$accent-200: $gray-200;
$accent-300: $gray-300;
$accent-400: $gray-400;
$accent-500: $gray-500;
$accent-600: $gray-600;
$accent-700: $gray-700;
$accent-800: $gray-800;
$accent-900: $gray-900;

$success-100: $gray-100;
$success-200: $gray-200;
$success-300: $gray-300;
$success-400: $gray-400;
$success-500: $gray-500;
$success-600: $gray-600;
$success-700: $gray-700;
$success-800: $gray-800;
$success-900: $gray-900;
*/
/**
 * On the scaling of the headers. I’m a nerd, so here we go.
 *
 * I tried to determine a good scale a priori. It was clear to me that the
 * observed difference between a 48px and 64px font is much smaller than the
 * perceived difference between a 8px and 16px font size.
 *
 * Thus, the perception is *not* linear in the font size.
 *
 * I set the edge points to 200% and 100% (the h6 would get a bold font face)
 * to compensate.
 *
 * The first attempt to get a visually appealing header size scale was thus to
 * generate a logarithmic scale:
 *
 *     numpy.logspace(np.log10(200), 2, 6, base=10)
 *
 * This leads to the following sizes:
 *
 *     $_h-sizes: [200%, 174.11011266%, 151.57165665%, 131.95079108%, 114.8698355%, 100%];
 *
 * This scale has too large differences between the larger font sizes, and too
 * small differences between the smaller font sizes. Thus, I tried to invert
 * this:
 *
 *     200 - numpy.logspace(2, np.log10(200), 6, base=10) + 100
 *
 * This leads to the following sizes:
 *
 *     $_h-sizes: [200.0%, 185.13016450029647%, 168.0492089227105%, 148.42834334896025%, 125.88988734077518%, 100%];
 *
 * While this was better, it still didn’t look quite right yet. The next
 * attempt was to go about a square function instead of log. The idea behind
 * this is that the font size is essentially one edge of a rectangle, where the
 * second edge depends on the first. A square function should thus generate a
 * nicely appealing sequence:
 *
 * Again, we want the large differences to be on the large scales, too:
 *
 *     xs = numpy.linspace(5, 0, 6); 4*xs*xs + 100
 *
 * This leads to the following sizes:
 *
 *     $_h-sizes: [200.0%, 164.0%, 136.0%, 116.0%, 104.0%, 100.0%];
 *
 * While the first three headings looked nice with that, the others did not.
 * Further research has shown me that others use an exponential scale (instead
 * of a log scale), but with a rather small base (<1.6).
 *
 * Instead of taking one of the well-known factors (like golden ratio or major
 * second), I opted for choosing a factor which gives me a clean 200%-100%
 * range:
 *
 *     numpy.power(math.pow(2, 1/5), numpy.linspace(5, 0, 6)) * 100
 *
 * The result (rounded to 8 digits) is:
 *
 *     $_h-sizes: [200.0%, 174.11011266%, 151.57165665%, 131.95079108%, 114.8698355%, 100.0%];
 *
 * And... This is the first logspace range. Derp. So why did I discard it in
 * the first place? Now that I look at it, it looks amazing. Brains are weird.
 */
/**
 * And for mobile devices, we want an even less aggressive scale. Let’s try
 * 150%-100%.
 */
html {
  font-size: 100%; }

body {
  font-family: "Noto Sans", sans-serif;
  color: #1f1b17; }

p, blockquote, ul, ol, table, dl {
  line-height: 1.5;
  margin: 1.5em 0;
  font-family: "Noto Sans", sans-serif;
  color: inherit; }

pre {
  line-height: 1.5;
  margin: 1.5em 0; }

blockquote {
  margin-left: 2rem;
  margin-right: 2rem; }

dt {
  font-weight: bold; }

h1, h2, h3, h4, h5, h6 {
  /* normalise */
  font-weight: 400;
  text-decoration: none;
  font-style: normal;
  font-family: "Noto Sans", sans-serif;
  color: black; }

input, button, label, select, textarea, pre, code {
  font-size: 100%;
  color: inherit;
  line-height: 1.5; }

textarea {
  font-family: "Noto Sans", sans-serif; }

option {
  padding: 0;
  margin: 0; }

h1 {
  font-size: 200%;
  line-height: 0.75;
  margin: 0.75em 0; }

h2 {
  font-size: 174.11011266%;
  line-height: 0.8615237662;
  margin: 0.8615237662em 0; }

h3 {
  font-size: 151.57165665%;
  line-height: 0.9896309331;
  margin: 0.9896309331em 0; }

h4 {
  font-size: 131.95079108%;
  line-height: 1.1367874249;
  margin: 1.1367874249em 0; }

h5 {
  font-size: 114.8698355%;
  line-height: 1.3058258449;
  margin: 1.3058258449em 0; }

h6 {
  font-size: 100%;
  line-height: 1.5;
  margin: 1.5em 0; }

h6 {
  font-weight: bold; }

@media screen and (max-width: 40rem) {
  h1 {
    font-size: 150%;
    line-height: 1;
    margin: 1em 0; }
  h2 {
    font-size: 138.31618672%;
    line-height: 1.0844717712;
    margin: 1.0844717712em 0; }
  h3 {
    font-size: 127.54245006%;
    line-height: 1.1760790225;
    margin: 1.1760790225em 0; }
  h4 {
    font-size: 117.60790225%;
    line-height: 1.2754245007;
    margin: 1.2754245007em 0; }
  h5 {
    font-size: 108.44717712%;
    line-height: 1.3831618672;
    margin: 1.3831618672em 0; }
  h6 {
    font-size: 100%;
    line-height: 1.5;
    margin: 1.5em 0; } }

/* headings */
h1 {
  color: #062243; }

h2 {
  color: #062243; }

h3 {
  color: #062243; }

h4 {
  color: #062243; }

h5 {
  color: #062243; }

h6 {
  color: #062243; }

/* block quotes */
blockquote {
  margin-left: 0.9375rem;
  padding-left: 0.9375rem;
  border-left: 0.125rem solid #4182c7; }

/* coarse layout */
body {
  margin: 0;
  padding: 0;
  background-color: #f6f5f4;
  display: flex;
  flex-direction: column;
  min-height: 100vh; }

main {
  padding: 1.5rem; }

#mwrap {
  flex: 1;
  display: flex;
  flex-direction: row-reverse; }
  #mwrap > .filler, #mwrap > .flashbox {
    flex: 1 1 1rem; }
  #mwrap > main {
    flex: 0 1 60rem; }

@media screen and (max-width: 80rem) {
  #mwrap {
    display: block; }
    #mwrap > main {
      margin-left: auto;
      margin-right: auto; } }

.flashbox > div.box > :first-child {
  margin-top: 0; }

/* top bar */
div#topbar {
  background-color: white;
  color: #0f3462;
  margin: 0;
  padding: 0.75rem;
  display: flex;
  align-items: center; }
  div#topbar > header {
    flex: 0 1 auto;
    color: black;
    font-size: 200%;
    line-height: 1.5; }
    body.debug div#topbar > header {
      color: red; }
    @media screen and (max-width: 40rem) {
      div#topbar > header {
        font-size: 150%; } }
    div#topbar > header > a {
      color: inherit;
      text-decoration: none; }
      div#topbar > header > a span {
        background-image: url("../img/snikket-logo.svg");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: 0.5rem 0em;
        padding-left: 2em; }
    div#topbar > header > a:visited, div#topbar > header > a:hover, div#topbar > header > a:focus, div#topbar > header > a:active {
      color: inherit;
      text-decoration: none; }
  div#topbar > div.filler {
    flex: 1 1 0px; }
  div#topbar > nav.usermenu {
    flex: 0 1 auto; }

/* standard elevations */
.el-1, .box, div#topbar, .box.el-1, div.form.el-1 {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); }

.el-2, div.form, .box.el-2, div.form.el-2 {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.12); }

.el-3, nav.welcome > ul > li, .box.el-3, div.form.el-3 {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.1); }

.el-4, .box.el-4, div.form.el-4 {
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15), 0 5px 10px rgba(0, 0, 0, 0.05); }

.el-5, .box.el-5, div.form.el-5 {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); }

/* footer */
body > footer {
  display: block;
  background-color: #1f1b17;
  color: #e3e1df;
  padding: 0 1.5rem;
  font-size: 92.21079115%; }
  body > footer ul {
    display: block;
    padding: 0;
    margin: 0;
    list-style-type: none;
    text-align: center;
    line-height: 1.6267076567643135; }
  body > footer li {
    display: block;
    margin: 0.75rem 0; }
  body > footer a, body > footer a:visited, body > footer a:hover, body > footer a:active, body > footer a:focus {
    color: #f6f5f4;
    font-weight: bold;
    text-decoration-line: underline;
    text-decoration-color: #8f8983;
    text-decoration-width: 0.125rem;
    text-decoration-thickness: 0.125rem;
    text-underline-offset: 0; }
  body > footer a:hover {
    text-decoration-color: #cac3bd; }

/* form support */
div.form h1.form-title {
  font-size: 131.95079108%;
  /* font-weight: bold; */
  line-height: 1.1367874249;
  margin: 1.1367874249em 0; }

div.form h2.form-title {
  font-size: 131.95079108%;
  /* font-weight: bold; */
  line-height: 1.1367874249;
  margin: 1.1367874249em 0; }

div.form h3.form-title {
  font-size: 131.95079108%;
  /* font-weight: bold; */
  line-height: 1.1367874249;
  margin: 1.1367874249em 0; }

div.form h4.form-title {
  font-size: 131.95079108%;
  /* font-weight: bold; */
  line-height: 1.1367874249;
  margin: 1.1367874249em 0; }

div.form h5.form-title {
  font-size: 131.95079108%;
  /* font-weight: bold; */
  line-height: 1.1367874249;
  margin: 1.1367874249em 0; }

div.form h6.form-title {
  font-size: 131.95079108%;
  /* font-weight: bold; */
  line-height: 1.1367874249;
  margin: 1.1367874249em 0; }

label.required:after {
  content: '*';
  color: #a33d21;
  padding: 0.125rem; }

p.form-desc.weak, p.field-desc.weak {
  color: #4e4a46; }

div.f-errbox {
  background-color: #fbc2b3;
  border: 0.125rem solid #681f0b;
  color: #340e03;
  border-radius: 0.125rem;
  padding: 0 1rem;
  margin: 1em 0; }
  div.f-errbox p {
    line-height: 1;
    margin: 1em 0; }
  div.f-errbox ul {
    margin: 1em 0;
    padding: 0;
    padding-left: 1rem; }

div.form {
  margin: 1.5rem;
  padding: 1.5rem;
  background-color: white; }

div.form.layout-expanded label, div.form.layout-expanded legend {
  display: block;
  font-weight: bold;
  color: #3d3833; }

div.form.layout-expanded fieldset {
  display: block;
  border: 0;
  padding: 0;
  margin: 0; }

div.form.layout-expanded fieldset.descriptive-radio-selection p {
  margin-top: 0;
  margin-bottom: 0.5rem; }

div.form.layout-expanded input[type="radio"] + label, div.form.layout-expanded input[type="checkbox"] + label {
  font-weight: inherit;
  color: inherit; }

div.form.layout-expanded div.f-ebox {
  margin: 1.5em 0;
  line-height: 1.5; }

div.form.layout-expanded div.f-bbox {
  text-align: right;
  padding: 0.5rem 0; }

div.form.layout-expanded input[type=text] {
  width: 100%;
  border: none;
  border-bottom: 0.125rem solid #4182c7;
  margin-bottom: -0.125rem; }

div.form.layout-expanded input[type=text].has-error {
  border-right: 0.125rem solid #c95e40; }

div.form.layout-expanded input[type=text]:hover {
  border-bottom-color: #9dc4f0; }

div.form.layout-expanded input[type=text]:focus {
  border-bottom-color: #b5d2f3; }

div.form.layout-expanded input[type=password] {
  width: 100%;
  border: none;
  border-bottom: 0.125rem solid #4182c7;
  margin-bottom: -0.125rem; }

div.form.layout-expanded input[type=password].has-error {
  border-right: 0.125rem solid #c95e40; }

div.form.layout-expanded input[type=password]:hover {
  border-bottom-color: #9dc4f0; }

div.form.layout-expanded input[type=password]:focus {
  border-bottom-color: #b5d2f3; }

div.form.layout-expanded input[type=email] {
  width: 100%;
  border: none;
  border-bottom: 0.125rem solid #4182c7;
  margin-bottom: -0.125rem; }

div.form.layout-expanded input[type=email].has-error {
  border-right: 0.125rem solid #c95e40; }

div.form.layout-expanded input[type=email]:hover {
  border-bottom-color: #9dc4f0; }

div.form.layout-expanded input[type=email]:focus {
  border-bottom-color: #b5d2f3; }

div.form.layout-expanded input[type=tel] {
  width: 100%;
  border: none;
  border-bottom: 0.125rem solid #4182c7;
  margin-bottom: -0.125rem; }

div.form.layout-expanded input[type=tel].has-error {
  border-right: 0.125rem solid #c95e40; }

div.form.layout-expanded input[type=tel]:hover {
  border-bottom-color: #9dc4f0; }

div.form.layout-expanded input[type=tel]:focus {
  border-bottom-color: #b5d2f3; }

div.form.layout-expanded input[type="checkbox"], div.form.layout-expanded input[type="radio"] {
  position: absolute;
  z-index: -1; }

div.form.layout-expanded input[type="checkbox"] + label:before {
  background-color: transparent;
  color: transparent;
  content: "✔";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-radius: 0.125rem;
  border: 0.125rem solid #4182c7;
  text-align: center;
  font-size: 1rem;
  margin-right: 0.5rem;
  line-height: 1; }

div.form.layout-expanded input[type="radio"] + label:before {
  background-color: transparent;
  color: transparent;
  content: "✔";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-radius: 0.75rem;
  border: 0.125rem solid #4182c7;
  text-align: center;
  font-size: 1rem;
  margin-right: 0.5rem;
  line-height: 1; }

div.form.layout-expanded input[type="checkbox"] + label:hover:before,
div.form.layout-expanded input[type="radio"] + label:hover:before {
  border-color: #9dc4f0; }

div.form.layout-expanded input[type="checkbox"]:focus + label:before,
div.form.layout-expanded input[type="radio"]:focus + label:before {
  border-color: #b5d2f3; }

div.form.layout-expanded input[type="checkbox"]:checked + label:before {
  background-color: #4182c7;
  color: white; }

div.form.layout-expanded input[type="radio"]:checked + label:before {
  background-color: #4182c7;
  box-shadow: inset 0 0 0 0.25rem white; }

div.form.layout-expanded input[type="checkbox"] + label, div.form.layout-expanded input[type="radio"] + label {
  display: block; }

div.form.layout-expanded .radio-button-ext > label > p {
  margin-left: 1.75rem;
  margin-top: 0; }

div.form.layout-expanded .radio-button-ext > label .icon {
  margin-left: 0.25em; }

div.form.layout-expanded .radio-button-ext {
  margin-left: 0.5rem; }

div.form.layout-expanded div.select-wrap {
  display: block;
  border-bottom: 0.125rem solid #4182c7;
  margin-bottom: -0.125rem;
  position: relative; }
  div.form.layout-expanded div.select-wrap > select {
    width: 100%;
    background-color: transparent;
    border: none;
    outline: none;
    padding: 0 0.25rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 1.75rem;
    margin-top: -1px;
    margin-bottom: -1px; }
  div.form.layout-expanded div.select-wrap:after {
    content: "\25bc";
    position: absolute;
    right: 0;
    width: 1.5rem;
    text-align: center;
    top: 0;
    bottom: 0;
    pointer-events: none;
    color: #4182c7;
    font-size: 80%;
    padding-top: 0.25em;
    padding-bottom: 0.25em; }
  div.form.layout-expanded div.select-wrap:hover {
    border-bottom-color: #9dc4f0; }
    div.form.layout-expanded div.select-wrap:hover:after {
      color: #9dc4f0; }
  div.form.layout-expanded div.select-wrap:focus-within {
    border-bottom-color: #b5d2f3; }
    div.form.layout-expanded div.select-wrap:focus-within:after {
      color: #b5d2f3; }

div.form.layout-expanded div.avatar-wrap > .avatar {
  margin: 0;
  margin-right: 1rem; }

div.form.layout-expanded textarea {
  width: 100%;
  border: none;
  border-bottom: 0.125rem solid #4182c7;
  line-height: 1.5; }

div.form.layout-expanded textarea:hover {
  border-bottom-color: #9dc4f0; }

div.form.layout-expanded textarea:focus {
  border-bottom-color: #b5d2f3; }

fieldset > ul {
  /* radio group */
  list-style-type: none;
  margin: 0;
  padding: 0.75rem 0;
  padding-left: 1.5rem; }
  fieldset > ul > li {
    margin: 0;
    padding: 0; }

/* icon support */
svg.icon {
  display: inline-block;
  vertical-align: middle;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor; }

/* form buttons */
input[type="submit"], button, .button {
  margin: 0 0.5rem;
  padding: 0.25rem 0.75rem;
  line-height: 1.5;
  display: inline-block; }
  td input[type="submit"], td button, td .button {
    margin: 0 0.125rem;
    padding: 0.125rem 0.5rem; }
  input[type="submit"] > svg.icon:first-child, button > svg.icon:first-child, .button > svg.icon:first-child {
    margin-right: 0.5rem; }
    td input[type="submit"] > svg.icon:first-child, td button > svg.icon:first-child, td .button > svg.icon:first-child {
      margin-right: 0.25rem; }
  input[type="submit"] > svg.icon:last-child, button > svg.icon:last-child, .button > svg.icon:last-child {
    margin-right: 0;
    margin-top: -0.125rem; }
    td input[type="submit"] > svg.icon:last-child, td button > svg.icon:last-child, td .button > svg.icon:last-child {
      margin-right: 0; }

a.button {
  text-decoration: none;
  cursor: default; }

input[type="submit"].primary, button.primary, .button.primary {
  background: linear-gradient(0deg, #4182c7, #72a7e3);
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
  color: white;
  border: none;
  /* TODO: fix vertical rhyhtm ... */
  border-radius: 0.125rem; }
  input[type="submit"].primary:hover, input[type="submit"].primary:focus, button.primary:hover, button.primary:focus, .button.primary:hover, .button.primary:focus {
    background: linear-gradient(0deg, #72a7e3, #9dc4f0);
    color: white; }
  input[type="submit"].primary:active, button.primary:active, .button.primary:active {
    background: #4182c7;
    box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.2);
    color: white; }
  input[type="submit"].primary.accent, button.primary.accent, .button.primary.accent {
    background: linear-gradient(0deg, #c79b0e, #f4ce3f);
    color: #fff8e8; }
    input[type="submit"].primary.accent:hover, input[type="submit"].primary.accent:focus, button.primary.accent:hover, button.primary.accent:focus, .button.primary.accent:hover, .button.primary.accent:focus {
      background: linear-gradient(0deg, #f4ce3f, #fee577); }
    input[type="submit"].primary.accent:active, button.primary.accent:active, .button.primary.accent:active {
      background: #c79b0e; }
  input[type="submit"].primary.danger, button.primary.danger, .button.primary.danger {
    background: linear-gradient(0deg, #c95e40, #ed947c);
    color: #fef1ed; }
    input[type="submit"].primary.danger:hover, input[type="submit"].primary.danger:focus, button.primary.danger:hover, button.primary.danger:focus, .button.primary.danger:hover, .button.primary.danger:focus {
      background: linear-gradient(0deg, #ed947c, #f2ac99); }
    input[type="submit"].primary.danger:active, button.primary.danger:active, .button.primary.danger:active {
      background: #c95e40; }

input[type="submit"].secondary, button.secondary, .button.secondary {
  background: linear-gradient(0deg, #b1aca6, #cac3bd);
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
  color: #3d3833;
  border: none;
  /* TODO: fix vertical rhyhtm ... */
  border-radius: 0.125rem; }
  input[type="submit"].secondary:hover, input[type="submit"].secondary:focus, button.secondary:hover, button.secondary:focus, .button.secondary:hover, .button.secondary:focus {
    background: linear-gradient(0deg, #cac3bd, #e3e1df);
    color: black; }
  input[type="submit"].secondary:active, button.secondary:active, .button.secondary:active {
    background: #b1aca6;
    box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.2);
    color: black; }
  input[type="submit"].secondary.accent, button.secondary.accent, .button.secondary.accent {
    background: linear-gradient(0deg, #f4ce3f, #fee577);
    color: #563600; }
    input[type="submit"].secondary.accent:hover, input[type="submit"].secondary.accent:focus, button.secondary.accent:hover, button.secondary.accent:focus, .button.secondary.accent:hover, .button.secondary.accent:focus {
      background: linear-gradient(0deg, #fee577, #fef1c1); }
    input[type="submit"].secondary.accent:active, button.secondary.accent:active, .button.secondary.accent:active {
      background: #f4ce3f; }
  input[type="submit"].secondary.danger, button.secondary.danger, .button.secondary.danger {
    background: linear-gradient(0deg, #ed947c, #f2ac99);
    color: #681f0b; }
    input[type="submit"].secondary.danger:hover, input[type="submit"].secondary.danger:focus, button.secondary.danger:hover, button.secondary.danger:focus, .button.secondary.danger:hover, .button.secondary.danger:focus {
      background: linear-gradient(0deg, #f2ac99, #fbc2b3); }
    input[type="submit"].secondary.danger:active, button.secondary.danger:active, .button.secondary.danger:active {
      background: #ed947c; }

input[type="submit"].tertiary, input[type="submit"] .tertiary, button.tertiary, button .tertiary, .button.tertiary, .button .tertiary {
  background-color: transparent;
  color: #1f1b17;
  border: none;
  text-decoration: underline;
  /* TODO: fix vertical rhyhtm ... */
  border-radius: 0.125rem; }
  input[type="submit"].tertiary:hover, input[type="submit"] .tertiary:hover, button.tertiary:hover, button .tertiary:hover, .button.tertiary:hover, .button .tertiary:hover {
    background-color: #f6f5f4;
    border-color: #e3e1df;
    color: black; }
  input[type="submit"].tertiary.accent, input[type="submit"] .tertiary.accent, button.tertiary.accent, button .tertiary.accent, .button.tertiary.accent, .button .tertiary.accent {
    text-decoration-color: #c79b0e; }
    input[type="submit"].tertiary.accent:hover, input[type="submit"] .tertiary.accent:hover, button.tertiary.accent:hover, button .tertiary.accent:hover, .button.tertiary.accent:hover, .button .tertiary.accent:hover {
      background-color: #fff8e8;
      border-color: #fef1c1;
      color: black; }
  input[type="submit"].tertiary.danger, input[type="submit"] .tertiary.danger, button.tertiary.danger, button .tertiary.danger, .button.tertiary.danger, .button .tertiary.danger {
    text-decoration-color: #c95e40; }
    input[type="submit"].tertiary.danger:hover, input[type="submit"] .tertiary.danger:hover, button.tertiary.danger:hover, button .tertiary.danger:hover, .button.tertiary.danger:hover, .button .tertiary.danger:hover {
      background-color: #fef1ed;
      border-color: #fbc2b3;
      color: black; }

input[type="submit"].fullwidth, button.fullwidth, .button.fullwidth {
  display: block;
  width: 100%;
  margin-left: 0;
  margin-right: 0; }

/* boxes */
.box {
  display: block;
  /* border-width: $w-s4 / 2;
	border-style: solid; */
  padding: 1.5rem;
  margin: 1.5rem;
  border-radius: 0.125rem;
  border-color: #3d3833;
  background-color: white;
  color: #1f1b17; }
  .box.primary {
    border-color: #0f3462;
    background-color: #e4f0fd;
    color: #062243; }
  .box.accent {
    border-color: #563600;
    background-color: #fff8e8;
    color: #302100; }
  .box.alert {
    border-color: #681f0b;
    background-color: #fef1ed;
    color: #340e03; }
  .box.warning {
    border-color: #563600;
    background-color: #fff8e8;
    color: #302100; }
  .box.success {
    border-color: #244608;
    background-color: #effbe6;
    color: #172f03; }
  .box.hint {
    border-color: #0f3462;
    background-color: #e4f0fd;
    color: #062243; }

.box > header {
  font-weight: bold;
  display: block;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  color: black; }

.box > p:last-child {
  margin-bottom: 0; }

.box.slim > header {
  display: inline;
  margin: 0; }

.box.slim > header:after {
  content: ':'; }

.box.slim > p {
  display: inline;
  margin: 0; }

/* avatar */
.avatar {
  display: inline-block;
  font-size: 200%;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-size: cover;
  border-radius: 10%;
  margin: 0 0.25em;
  text-align: center; }
  @media screen and (max-width: 40rem) {
    .avatar {
      font-size: 150%; } }
  .avatar > span:before {
    color: #f6f5f4;
    content: attr(data-avatar-char); }

nav.usermenu > .avatar {
  /* we can increase the size to the size of the h1 here */ }

/* login page specials */
body#login .form {
  font-size: 114.8698355%; }

body#login .form-title {
  color: #0f3462;
  font-size: 114.8698355%; }

body#login h1 {
  background-image: url("../img/snikket-logo.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 0.5rem 0em;
  padding-left: 2em;
  padding-left: 2em;
  background-position: 0 0em; }

/* admin area specials */
#topbar > div.admin-note {
  color: #a33d21;
  font-size: 114.8698355%;
  margin-left: 1.5rem; }

table {
  border-collapse: collapse;
  width: 100%; }

td, th {
  padding: 0.75rem; }

th {
  text-align: left; }

div.elevated {
  margin: 1.5rem;
  padding: 1.5rem;
  background-color: white; }

div.elevated > *:first-child {
  margin-top: 0; }

div.elevated > *:last-child {
  margin-bottom: 0; }

.long-url-link {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis; }

.link-col {
  width: 8rem; }

#clipboard-result + span {
  display: none; }

ul.inline {
  display: inline;
  margin: 0;
  padding: 0;
  list-style-type: none; }
  ul.inline > li {
    display: inline-block;
    padding: 0;
    margin: 0; }
  ul.inline > li:before {
    content: ', '; }
  ul.inline > li:first-child:before {
    content: ''; }

.nowrap {
  white-space: nowrap; }

/* welcome screen specials */
#home main > h1, #home main > p {
  text-align: center; }

nav.welcome > ul {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  padding: 0;
  justify-content: center; }
  nav.welcome > ul > li {
    background-color: white;
    flex: 1 0 12rem;
    margin: 0.75rem;
    padding: 0.75rem 1.5rem;
    text-align: center;
    max-width: 16rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between; }
    nav.welcome > ul > li.wide {
      flex: 1 0 auto;
      /* display: block; */ }
    nav.welcome > ul > li .button {
      display: block;
      margin: 1.5rem 0; }
    nav.welcome > ul > li img {
      display: block;
      margin: 1.5rem 1rem;
      --margin: $w-0 * 2;
      width: calc(100% - var(--margin)); }
    nav.welcome > ul > li p {
      margin-left: 1rem;
      margin-right: 1rem; }

div.profile-card {
  display: flex;
  flex-direction: row;
  margin: 1.5rem 0;
  text-align: left; }
  div.profile-card > div.picture {
    flex: 0 0 auto; }
  div.profile-card > div.details {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column; }
    div.profile-card > div.details > .display-name {
      font-size: 108.44717712%;
      line-height: 1.3831618672; }
    div.profile-card > div.details > .address {
      display: flex;
      flex-direction: row; }
      div.profile-card > div.details > .address > input {
        flex: 1 1 auto;
        background-color: transparent;
        border: none;
        padding: 0;
        margin: 0;
        min-width: 0;
        width: 0; }
      div.profile-card > div.details > .address > .button {
        flex: 0 0 auto;
        margin: 0; }

/* linearisation / responsive stuff */
@media screen and (max-width: 60rem) {
  .form.layout-expanded {
    margin-left: 0;
    margin-right: 0; }
  div.elevated, main > div.box {
    margin-left: 0;
    margin-right: 0; } }

@media screen and (max-width: 40rem) {
  .form.layout-expanded .box {
    margin-left: 0;
    margin-right: 0; }
  .box > ul {
    padding-left: 1rem; }
  th.collapsible, td.collapsible {
    display: none; }
  #topbar.admin > header {
    text-decoration: underline;
    text-decoration-color: #c95e40; }
  #topbar.admin > div.admin-note {
    display: none; }
  input[type="submit"].slimmify > svg.icon, button.slimmify > svg.icon, .button.slimmify > svg.icon {
    margin-right: 0; }
  input[type="submit"].slimmify > span, button.slimmify > span, .button.slimmify > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    top: -100px; } }

/* clipboard and share buttons */
.copy-to-clipboard, .share-button {
  cursor: pointer;
  font-style: normal;
  text-decoration: none; }

body.no-copy .copy-to-clipboard, body.no-share .share-button {
  display: none !important; }

/* magic */
pre.guru-meditation {
  width: 100%;
  overflow-x: scroll; }

/* dark mode */
@media (prefers-color-scheme: dark) {
  a {
    color: #72a7e3; }
  a:visited {
    color: #b5d2f3; }
  body {
    color: #f6f5f4;
    background-color: #1f1b17; }
  h1 {
    color: #e4f0fd; }
  h2 {
    color: #e4f0fd; }
  h3 {
    color: #e4f0fd; }
  h4 {
    color: #e4f0fd; }
  h5 {
    color: #e4f0fd; }
  h6 {
    color: #e4f0fd; }
  div#topbar {
    background-color: black;
    color: #e4f0fd; }
    div#topbar > header {
      color: white; }
  body#login .form-title {
    color: #b5d2f3; }
  body > footer {
    background-color: #3d3833;
    color: #e3e1df; }
  div.form {
    background-color: black; }
  div.form.layout-expanded label {
    color: #f6f5f4; }
  div.form.layout-expanded textarea {
    background-color: black; }
  div.form.layout-expanded input[type=text] {
    background-color: black; }
  div.form.layout-expanded input[type="radio"]:checked + label:before {
    box-shadow: inset 0 0 0 0.25rem black; }
  div.form.layout-expanded input[type=password] {
    background-color: black; }
  div.form.layout-expanded input[type="radio"]:checked + label:before {
    box-shadow: inset 0 0 0 0.25rem black; }
  div.form.layout-expanded input[type=email] {
    background-color: black; }
  div.form.layout-expanded input[type="radio"]:checked + label:before {
    box-shadow: inset 0 0 0 0.25rem black; }
  div.form.layout-expanded input[type=tel] {
    background-color: black; }
  div.form.layout-expanded input[type="radio"]:checked + label:before {
    box-shadow: inset 0 0 0 0.25rem black; }
  label, legend {
    color: #e3e1df !important; }
  .box {
    background-color: black;
    border-color: #e3e1df;
    color: #f6f5f4; }
    .box.primary {
      border-color: #e4f0fd;
      background-color: #0f3462;
      color: #e4f0fd; }
    .box.accent {
      border-color: #fff8e8;
      background-color: #563600;
      color: #fff8e8; }
    .box.alert {
      border-color: #fef1ed;
      background-color: #681f0b;
      color: #fef1ed; }
    .box.warning {
      border-color: #fff8e8;
      background-color: #563600;
      color: #fff8e8; }
    .box.success {
      border-color: #effbe6;
      background-color: #244608;
      color: #effbe6; }
    .box.hint {
      border-color: #e4f0fd;
      background-color: #0f3462;
      color: #e4f0fd; }
    .box > header {
      color: white; }
  nav.welcome > ul > li {
    background-color: black; }
  div.elevated {
    background-color: black; }
  input[type="submit"].primary, button.primary, .button.primary {
    background: linear-gradient(0deg, #0e4276, #225994); }
    input[type="submit"].primary:hover, input[type="submit"].primary:focus, button.primary:hover, button.primary:focus, .button.primary:hover, .button.primary:focus {
      background: linear-gradient(0deg, #225994, #4182c7); }
    input[type="submit"].primary:active, button.primary:active, .button.primary:active {
      background: #0e4276; }
    input[type="submit"].primary.accent, button.primary.accent, .button.primary.accent {
      background: linear-gradient(0deg, #795b00, #a07501); }
      input[type="submit"].primary.accent:hover, input[type="submit"].primary.accent:focus, button.primary.accent:hover, button.primary.accent:focus, .button.primary.accent:hover, .button.primary.accent:focus {
        background: linear-gradient(0deg, #a07501, #c79b0e); }
      input[type="submit"].primary.accent:active, button.primary.accent:active, .button.primary.accent:active {
        background: #795b00; }
    input[type="submit"].primary.danger, button.primary.danger, .button.primary.danger {
      background: linear-gradient(0deg, #883017, #a33d21); }
      input[type="submit"].primary.danger:hover, input[type="submit"].primary.danger:focus, button.primary.danger:hover, button.primary.danger:focus, .button.primary.danger:hover, .button.primary.danger:focus {
        background: linear-gradient(0deg, #a33d21, #c95e40); }
      input[type="submit"].primary.danger:active, button.primary.danger:active, .button.primary.danger:active {
        background: #883017; }
  input[type="submit"].secondary, button.secondary, .button.secondary {
    background: linear-gradient(0deg, #3d3833, #4e4a46);
    color: #f6f5f4; }
    input[type="submit"].secondary:hover, input[type="submit"].secondary:focus, button.secondary:hover, button.secondary:focus, .button.secondary:hover, .button.secondary:focus {
      background: linear-gradient(0deg, #4e4a46, #706965);
      color: white; }
    input[type="submit"].secondary:active, button.secondary:active, .button.secondary:active {
      background: #706965;
      color: #f6f5f4; }
    input[type="submit"].secondary.accent, button.secondary.accent, .button.secondary.accent {
      background: linear-gradient(0deg, #563600, #795b00);
      color: #fef1c1; }
      input[type="submit"].secondary.accent:hover, input[type="submit"].secondary.accent:focus, button.secondary.accent:hover, button.secondary.accent:focus, .button.secondary.accent:hover, .button.secondary.accent:focus {
        background: linear-gradient(0deg, #795b00, #a07501); }
      input[type="submit"].secondary.accent:active, button.secondary.accent:active, .button.secondary.accent:active {
        background: #563600; }
    input[type="submit"].secondary.danger, button.secondary.danger, .button.secondary.danger {
      background: linear-gradient(0deg, #681f0b, #883017);
      color: #fbc2b3; }
      input[type="submit"].secondary.danger:hover, input[type="submit"].secondary.danger:focus, button.secondary.danger:hover, button.secondary.danger:focus, .button.secondary.danger:hover, .button.secondary.danger:focus {
        background: linear-gradient(0deg, #883017, #a33d21); }
      input[type="submit"].secondary.danger:active, button.secondary.danger:active, .button.secondary.danger:active {
        background: #681f0b; }
  input[type="submit"].tertiary, input[type="submit"] .tertiary, button.tertiary, button .tertiary, .button.tertiary, .button .tertiary {
    color: #e3e1df; }
    input[type="submit"].tertiary:hover, input[type="submit"] .tertiary:hover, button.tertiary:hover, button .tertiary:hover, .button.tertiary:hover, .button .tertiary:hover {
      background-color: #3d3833;
      border-color: #1f1b17;
      color: white; }
    input[type="submit"].tertiary.accent:hover, input[type="submit"] .tertiary.accent:hover, button.tertiary.accent:hover, button .tertiary.accent:hover, .button.tertiary.accent:hover, .button .tertiary.accent:hover {
      background-color: #563600;
      border-color: #302100;
      color: white; }
    input[type="submit"].tertiary.danger:hover, input[type="submit"] .tertiary.danger:hover, button.tertiary.danger:hover, button .tertiary.danger:hover, .button.tertiary.danger:hover, .button .tertiary.danger:hover {
      background-color: #681f0b;
      border-color: #340e03;
      color: white; }
  p.form-desc.weak, p.field-desc.weak {
    color: #cac3bd; }
  .user-badge-icon {
    color: #f6f5f4 !important;
    background-color: #1f1b17 !important;
    border-color: #4e4a46 !important;
    box-shadow: black 0 0 2px !important; } }

/* tooltip magic */
.with-tooltip {
  position: relative;
  text-decoration: underline;
  text-decoration-style: dotted; }

.with-tooltip:before {
  content: attr(data-tooltip);
  /* here's the magic */
  position: absolute;
  font-size: 87.05505633%;
  /* vertically center */
  bottom: 100%;
  transform: translateX(-50%);
  left: 50%;
  margin-bottom: 0.5rem;
  /* basic styles */
  width: 12rem;
  padding: 0.75rem;
  background: black;
  color: #f6f5f4;
  text-align: center;
  display: none; }

.with-tooltip:after {
  content: "";
  position: absolute;
  bottom: 100%;
  transform: translateX(-50%);
  left: 50%;
  margin-bottom: -0.75rem;
  /* the arrow */
  border: 10px solid black;
  border-color: black transparent transparent transparent;
  display: none; }

.with-tooltip:hover:before, .with-tooltip:hover:after {
  display: block; }

.username-with-avatar {
  display: flex;
  align-items: center; }
  .username-with-avatar .avatar-container {
    position: relative; }
    .username-with-avatar .avatar-container .avatar {
      margin-left: 0; }
  .username-with-avatar .user-badge-icon {
    position: absolute;
    bottom: -10px;
    right: 0px;
    background: white;
    border-radius: 50%;
    width: 1.2em;
    height: 1.2em;
    border-color: #8f8983;
    border-width: 1px;
    border-style: solid;
    text-align: center;
    margin: 0;
    padding: 0;
    margin: 0;
    padding: 0;
    box-shadow: #8f8983 0px 0px 2px;
    line-height: 1; }
    .username-with-avatar .user-badge-icon .icon {
      /* vertical-align: text-bottom; */
      padding: 0.1em; }
  .username-with-avatar .user-info-container {
    margin-left: 0.5em; }
  .username-with-avatar .user-display-name {
    font-size: 110%; }
  .username-with-avatar .user-jid {
    font-size: 90%; }
