/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

/*
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}
*/

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
  font-family: "Untitled Sans";
  font-weight: 400;
  src: url("https://assets.hm.edu/_fonts/untitled-sans-web-regular.eot");
  src: url("https://assets.hm.edu/_fonts/untitled-sans-web-regular.eot?#iefix") format("embedded-opentype"), url("https://assets.hm.edu/_fonts/untitled-sans-web-regular.woff2") format("woff2"), url("https://assets.hm.edu/_fonts/untitled-sans-web-regular.woff") format("woff");
}

@font-face {
  font-family: "Untitled Sans";
  font-weight: 600;
  src: url("https://assets.hm.edu/_fonts/untitled-sans-web-medium.eot");
  src: url("https://assets.hm.edu/_fonts/untitled-sans-web-medium.eot?#iefix") format("embedded-opentype"), url("https://assets.hm.edu/_fonts/untitled-sans-web-medium.woff2") format("woff2"), url("https://assets.hm.edu/_fonts/untitled-sans-web-medium.woff") format("woff");
}

@font-face {
  font-family: "Fira Mono CAD Lab";
  font-style: normal;
  font-weight: 400;
  src: url("/css/fonts/FiraMono-Regular.otf") format("opentype");
}

@font-face {
  font-family: "Fira Mono CAD Lab";
  font-style: normal;
  font-weight: 600;
  src: url("/css/fonts/FiraMono-Bold.otf") format("opentype");
}

:root {

  --cl-text: #222;
  --cl-bg: #fff;
  --cl-line: #ccc;

  --cl-lab: #3366cc;

  --cl-hm-rot: #fc5555;
  --cl-hm-schwarz: #000;
  --cl-hm-dunkelgrau: #6e6e6e;
  --cl-hm-mittelgrau: #c6c6c6;
  --cl-hm-hellgrau: #e6e6e6;
  --cl-hm-weiss: #fff;

  --cl-hm-gelb: #ffff00;
  --cl-hm-gruen: #4ad386;
  --cl-hm-dunkelgruen: #006d6d;
  --cl-hm-tuerkis: #50dddc;
  --cl-hm-hellblau: #00b4e6;
  --cl-hm-blau: #3e46d9;
  --cl-hm-dunkelblau: #2f109d;
  --cl-hm-violett: #9170ff;

  --cl-footer: rgb(243, 243, 243);
  --cl-navigation: #e2e2e2;

  --button-border: #d1d1d1;

  scroll-behavior: smooth;

  --px-pro-min: 1;
  --sekunden-seit-mitternacht: 0px;

  --cl-raum-alle: var(--cl-hm-mittelgrau);
  --cl-raum-a: var(--cl-hm-hellblau);
  --cl-raum-b: var(--cl-hm-tuerkis);
  --cl-raum-heute: var(--cl-hm-rot);

  --cl-fk-allgemein: #fc5555;
  --cl-fk01: #89AA9F;
  --cl-fk02: #0033CC;
  --cl-fk03: #008DD0;
  --cl-fk04: #33CCCC;
  --cl-fk05: #80DE27;
  --cl-fk06: #3366CC;
  --cl-fk07: #5555FC;
  --cl-fk08: #003333;
  --cl-fk09: #3E46D9;
  --cl-fk10: #D6E644;
  --cl-fk11: #FF9900;
  --cl-fk12: #000000;
  --cl-fk13: #73F1A2;
  --cl-fk14: #A1E3B8;
  --cl-fk-mucdai: #6200FF;
  --cl-fk-bib: #8C0541;

}

/*
@media (prefers-color-scheme: dark) {
  :root {

    --cl-text: #ddd;
    --cl-bg: #444;
    --cl-line: #999;

  }
}
*/

* {
  box-sizing: border-box;
}

html {
  color: var(--cl-text);
  overflow-y: scroll;
  font-size: 10px;
  background-color: var(--cl-bg);
  /* scrollbar-width: none; */
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-family: "Untitled Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  min-height: 100vh;
  font-size: 2.4rem;
  letter-spacing: 0;
  line-height: 1.3;
  background-color: var(--cl-footer);
  min-width: 320px;
}

body.scrollen-blockiert {
  overflow-y: hidden;
  height: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;

  font-size: 4.4rem;
  line-height: 4.8rem;
  letter-spacing: -0.44px;
  margin-bottom: 3rem;

}

h2 {
  font-size: 3.5rem;
}
h3 {
  font-size: 3rem;
}

a {
  text-decoration: none;
  color: var(--cl-text);
  cursor: pointer;
  display: inline-block;
}

a:hover {
  color: var(--cl-lab);
}

li {
  margin-bottom: 12px;
}

li > ul {
  margin-top: 12px;
}
/* -------------------------------------------------------------------------- */

#header {
  height: 65px;
  position: relative;
  z-index: 1000;
}

#header > div {
  /* section */
  background-color: var(--cl-bg);
  padding: 0 24px;
  position: fixed;
  width: 100%;
  height: 65px;
  box-shadow: 0px 3px 8px #00000029;
  display: flex;
  justify-content: center;
}

#header > div > div {
  /* container */
  padding-right: 8px;
  padding-left: 8px;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  justify-content: space-between;
  height: 100%;
  flex-wrap: wrap
}

#header a {
  display: flex;
  align-items: center;
}

.section {
  display: flex;
  justify-content: center;
  padding: 6rem 2.4rem;
  scroll-margin: 5rem;
  background-color: var(--cl-bg);
}

.section.no-padding {
  padding-top: 0;
  padding-bottom: 0;
}

.container {
  width: 100%;
  padding-left: 8px;
  padding-right: 8px;
  margin-right: auto;
  margin-left: auto;
}

.wrapper-wortmarke {
  height: auto;
  margin-left: -16px;
  margin-right: -16px;
  margin-top: 3rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: row;
}

.wortmarke {
  padding-left: 16px;
  padding-right: 16px;
  width: 25%;
  display: block;
}

.brotkrumen {
  position: absolute;
  font-size: 1.8rem;
  line-height: 2.34rem;
  margin-top: calc(3rem - 0.18em);
}

.brotkrumen a {
  margin-right: 1.4rem;
}

.brotkrumen a:not(:first-child)::before {
  content: ' ';
  -webkit-mask: url("/img/chevron-right.svg") no-repeat center/contain;
  mask: url("/img/chevron-right.svg") no-repeat center/contain;

  /*background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  */
  width: 1.3rem;
  height: 1.3rem;
  display: inline-block;
  background-color: #161616;
  margin-right: 1.4rem;

}

#navigation {
  top: 65px;
  position: fixed;
  width: 100%;
  z-index: 1500;
  background-color: var(--cl-navigation);
}

#navigation > div > div {
  display: flex;
  flex-direction: column;
  /*justify-content: center;*/
  height: calc(100vh - 65px);
  padding: 5rem 2.4rem 7.5rem 2.4rem;
  overflow-y: scroll;
  scrollbar-width: none;
}

#navigation a {
  padding: .3rem 1.4rem;
}

#navigation a:hover {
  background-color: #fff;
  color: var(--cl-lab);
  border-radius: 2px;
}

#navigation hr {
  margin-left: 1.4rem;
  margin-right: 1.4rem;
}

.footer {
  font-size: 1.8rem;
  line-height: 2.2rem;
  background-color: var(--cl-footer);
  box-shadow: 0 11px 17px -10px rgba(0, 0, 0, 0.2) inset;
}

.klein {
  font-size: 0.8em;
}

div.inhalt hr {
  margin: 5rem 0;
}

div.inhalt a {
  text-decoration: underline;
  text-decoration-color: #d6d6d6;
  transition: text-decoration-color, color cubic-bezier(0.33, 0, 0.67, 1) 100ms;
}

div.inhalt a:hover {
  text-decoration-color: var(--cl-lab);
}

div#kalender_div {
  overflow: hidden;
}

.kalendereintrag {
  font-size: 9px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 5px;
  hyphens: auto;
  -webkit-hyphens: auto;
  position: absolute;
  line-height: 1.6em;
  min-height: 22px;
  border-top: 1px solid #fff;
}

div.toolbar {
  line-height: 1em;
  border: 1px solid #ccc;
  background-color: var(--cl-footer);
  padding: 0 1em;
  /*text-align: center;*/
  margin-bottom: 1em;
  font-size: 0.7em;
  display: flex;
  border-radius: 5px;
  justify-content: space-between;
  align-items: center;
  height: 58px;
  -webkit-user-select: none;
  user-select: none;
}

div#kalender_div a,
div.toolbar a {
  text-decoration: none;
}

div.toolbar a,
div.toolbar label {
  cursor: pointer;
  border-radius: 4px;
  /*margin-right: 1.5rem;*/
  display: initial;
  padding: 0.4em 0.5em;

  transition-duration: 100ms;
  transition-property: background, border, color, box-shadow, outline-color;
  transition-timing-function: cubic-bezier(0.33, 0, 0.67, 1);
}


div.toolbar a:hover,
div.toolbar label:hover {
  color: initial;
  background-color: #fafafa;
}

div.toolbar a:hover:active,
div.toolbar label:hover:active {
  background-color: #e0e0e0;
  box-shadow: inset 1px 1px 5px #0003;
}

div.inhalt a[target="_blank"]:not(.btn):before {
  content: '';
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: currentColor;
  -webkit-mask: url("/img/link-extern.svg") no-repeat center/contain;
  mask: url("/img/link-extern.svg") no-repeat center/contain;
  width: 1em;
  height: 1em;
  margin: -3px 0.25em;
  display: inline-block;
}

div.inhalt a[href^="/download/"]:before {
  content: '';
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: currentColor;
  -webkit-mask: url("/img/pfeil.svg") no-repeat center/contain;
  mask: url("/img/pfeil.svg") no-repeat center/contain;
  width: 0.75em;
  height: 0.75em;
  margin: -3px 0.25em;
  display: inline-block;
  transform: rotate(90deg);
}

.display {
  display: none;
}

@media (max-width: 991.98px) {

  body {
    font-size: 18px;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: 2.4rem;
    line-height: 2.7rem;
    letter-spacing: -0.24px;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 2rem;
  }

  .no-display {
    display: none !important;
  }

  .display {
    display: initial !important;
  }

  #header > div {
    padding: 0;
  }

  .section {
    padding: 3rem 0;
  }

  .wrapper-wortmarke {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .wortmarke {
    width: 50%;
  }

  .brotkrumen {
    font-size: 1.4rem;
    margin-top: calc(1.5rem - 0.18em);
    line-height: 1.82rem;
    width: 50%;
  }

  .footer {
    font-size: 1.4rem;
    line-height: 2.2rem;
  }

  .footer a {
    margin-top: 1.4rem;
    font-size: 1.8rem;
    display: block;
  }

  .toolbar {
    flex-direction: column;
    height: unset !important;
  }

  .toolbar > div {
    margin-top: 1em;
  }

  .toolbar > div:last-of-type {
    margin-bottom: 1em;
  }

}

@media (min-width: 576px) {
  .container {
    max-width: 100%;
  }
}

@media (min-width: 576px) {
  .container {
    max-width: 100%;
  }
}

@media (min-width: 576px) {
  .container {
    max-width: 100%;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1102px;
  }
}

@media (min-width: 1520px) {
  .container {
    max-width: 1440px;
  }
}

.footer a {
  margin-right: 5rem;
}

.footer a:last-of-type {
  margin-right: 0;
}

.text-top,
.section.inhalt h1 {
  margin-top: -0.18em;
}

#back-to-top {
  position: fixed;
  right: 4rem;
  bottom: 4rem;
  z-index: 10;
}

#back-to-top button {
  cursor: pointer;
  background-color: var(--cl-bg);
  border-radius: 50%;
  border: #161616 1px solid;
  height: 4.4rem;
  width: 4.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

#back-to-top button:focus {
  background-color: #f3f3f3;
}

#back-to-top button:hover,
#back-to-top button:active,
#back-to-top button:focus-visible {
  background-color: var(--cl-lab);
  border-color: var(--cl-lab);
  outline: none;
}

#back-to-top button:hover i,
#back-to-top button:active i,
#back-to-top button:focus-visible i {
  background-color: var(--cl-bg);
}

/* -------------------------------------------------------------------------- */

table {
  border-collapse: collapse;
}

table.mod_inventar,
table.mod_ldap {
  font-size: 0.75em;
  width: 100%;
  line-height: 1.6em;
  table-layout: fixed;
  border-top: 1px solid var(--cl-line);
  border-bottom: 1px solid var(--cl-line);
}

th, td {
  border-top: 1px solid var(--cl-line);
  padding: 1em 0.5em;
  vertical-align: baseline;
}

th:first-of-type, td:first-of-type {
  padding-left: 0;
}

th:last-of-type, td:last-of-type {
  padding-right: 0;
}

th.no-line,
td.no-line {
  border-top: 1px solid var(--cl-bg);
}

th.no-line span,
td.no-line span {
  display: none;
}

tr:last-of-type {
  border-bottom: 1px solid var(--cl-line);
}

/* -------------------------------------------------------------------------- */

.mono {
  font-family: "Fira Mono", "Fira Mono CAD Lab", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.85em;
}

.grau,
.grey,
.gray {
  color: var(--cl-hm-mittelgrau);
}

.gruen,
.green {
  color: var(--cl-hm-gruen);
}

.rot,
.red {
  color: var(--cl-hm-rot);
}

/* -------------------------------------------------------------------------- */

.mod_inventar button,
.mod_inventar a.btn,
.mod_raum a.btn {

  align-items: center;
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  text-decoration-line: none;
  vertical-align: middle;
  margin: 0;
  overflow: hidden;
  background-color: var(--cl-bg);
  color: var(--cl-text);
  border: 1px solid var(--button-border);
  outline-style: none;
  padding: 3px 4px;
  /*min-width: 96px;*/
  border-radius: 4px;
  outline-color: var(--cl-bg);
  transition-duration: 100ms;
  transition-property: background, border, color, box-shadow, outline-color;
  transition-timing-function: cubic-bezier(0.33, 0, 0.67, 1);
  cursor: pointer;
}

.mod_inventar button:hover,
.mod_inventar a.btn:hover,
.mod_raum a.btn:hover {
  background-color: #f5f5f5;
  border-color: #c7c7c7;
}

.mod_inventar button:hover:active,
.mod_inventar a.btn:hover:active,
.mod_raum a.btn:hover:active {
  background-color: #e0e0e0;
  border-color: #b3b3b3;
  box-shadow: inset 1px 1px 5px #0003;
}

.mod_inventar tr[data-mqtt] td[data-aktualisieren] a {
  display: none;
}

.mod_ldap .highlight {
  background-color: #f903;
}

.mod_raum {
  -webkit-user-select: none;
  user-select: none;
}

.mod_raum a.btn {
  margin-top: 0.5em;
  margin-right: 0.5em;
  padding: 0.25em 0.5em;
  width: 11em;
}

.mod_raum a.btn svg {
  margin-right: 1em;
}

.mod_raum a.btn.schmal {
  width: calc(11em / 3 - 6px);
}

.mod_raum a.btn.schmal svg {
  margin-right: 0;
}

.mod_raum .rechner {
  min-height: 4.5em;
  background-color: #f5f5f5;
  border: 1px solid transparent;
  border-radius: 5px;
  min-width: 4.5em;
  padding: 5px;
  padding-top: 0.75em;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  outline-color: var(--cl-bg);
  transition-duration: 100ms;
  transition-property: border;
  transition-timing-function: cubic-bezier(0.33, 0, 0.67, 1);
}

.mod_raum a.btn.aktiv,
.mod_raum .rechner.aktiv {
  border-color: var(--cl-lab);
  outline-style: solid;
  outline-width: 3px;
  outline-color: color-mix(in srgb, var(--cl-lab) 20%, transparent);
}

.mod_raum .rechner .icon {
  margin-top: -3px;
  vertical-align: middle;
}

.mod_raum div[data-markieren="true"] .rechner {
  cursor: pointer;
}

.mod_raum a.btn.inaktiv,
.mod_raum a.btn.inaktiv:hover,
.mod_raum a.btn.inaktiv:hover:active {
  color: var(--cl-hm-mittelgrau);
  cursor: default;
  border-color: var(--cl-hm-hellgrau);
  background-color: transparent;
  box-shadow: none;
  pointer-events: none;
}

.mod_raum a.btn.inaktiv svg {
  color: var(--cl-hm-mittelgrau);
}

/* -------------------------------------------------------------------------- */

.mod_raum_tab {
  position: relative;
}

.mod_raum_tab > span {
  cursor: pointer;
  border-radius: 4px;
  margin-right: 1.5rem;
  padding: 0.4em 0.5em;
  transition-duration: 100ms;
  transition-property: background, box-shadow;
  transition-timing-function: cubic-bezier(0.33, 0, 0.67, 1);
}

.mod_raum_tab > span:last-of-type {
  margin-right: 0;
}

.mod_raum_tab > span:hover {
  background-color: #fafafa;
}

.mod_raum_tab > span:hover:active {
  background-color: #e0e0e0;
  box-shadow: inset 1px 1px 5px #0003;
}

.mod_raum_tab > span.aktiv {
  font-weight: bold;
}

#tab_anzeiger {
  position: relative;
  transition-duration: 100ms;
  transition-property: left, width, background-color;
  transition-timing-function: cubic-bezier(0.33, 0, 0.67, 1);
  height: 3px;
  border-radius: 3px;
  background-color: transparent;
  width: 0px;
  display: inline-block;
  top: -5px;
}

#overlay {
  background-color: #fff;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  text-align: center;
  opacity: 0.8;
  display: none;
  transition-duration: 100ms;
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.33, 0, 0.67, 1);
}

/* -------------------------------------------------------------------------- */

i {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  width: 2.4rem;
  min-width: 2.4rem;
  height: 2.4rem;
  min-height: 2.4rem;
  display: inline-block;
  background-color: var(--cl-text);
}

i.gross {
  width: 3.2rem;
  min-width: 3.2rem;
  height: 3.2rem;
  min-height: 3.2rem;
}

i.in-zeile {
  margin: -7px 0.25em;
}

@media (max-width: 991.98px) {

  i.in-zeile {
    margin: -9px 0.25em;
  }

}

i.bildmarke {
  -webkit-mask: url("/img/bildmarke.svg") no-repeat center/contain;
  mask: url("/img/bildmarke.svg") no-repeat center/contain;
  transition: all ease-in-out 0.15s;
  background-color: var(--cl-lab);
}

i.bildmarke:hover {
  margin-left: -.2rem;
  width: 3.6rem;
  height: 3.6rem;
}

i.wortmarke {
  -webkit-mask: url("/img/wortmarke.svg") no-repeat center/contain;
  mask: url("/img/wortmarke.svg") no-repeat center/contain;
  transition: all ease-in-out 0.15s;
  background-color: var(--cl-lab);
}

i.pfeil-hoch {
  -webkit-mask: url("/img/pfeil.svg") no-repeat center/contain;
  mask: url("/img/pfeil.svg") no-repeat center/contain;
  transform: rotate(-90deg);
}

i.menu {
  -webkit-mask: url("/img/menu.svg") no-repeat center/contain;
  mask: url("/img/menu.svg") no-repeat center/contain;
}

i.schliessen {
  -webkit-mask: url("/img/schliessen.svg") no-repeat center/contain;
  mask: url("/img/schliessen.svg") no-repeat center/contain;
}

i.login {
  -webkit-mask: url("/img/login.svg") no-repeat center/contain;
  mask: url("/img/login.svg") no-repeat center/contain;
}

i.benutzer {
  -webkit-mask: url("/img/benutzer.svg") no-repeat center/contain;
  mask: url("/img/benutzer.svg") no-repeat center/contain;
}

i.link {
  -webkit-mask: url("/img/link.svg") no-repeat center/contain;
  mask: url("/img/link.svg") no-repeat center/contain;
}

i.link-extern {
  -webkit-mask: url("/img/link-extern.svg") no-repeat center/contain;
  mask: url("/img/link-extern.svg") no-repeat center/contain;
}

i.suchen {
  -webkit-mask: url("/img/suchen.svg") no-repeat center/contain;
  mask: url("/img/suchen.svg") no-repeat center/contain;
}

i.schloss {
  -webkit-mask: url("/img/schloss.svg") no-repeat center/contain;
  mask: url("/img/schloss.svg") no-repeat center/contain;
}

i.person {
  -webkit-mask: url("/img/person.svg") no-repeat center/contain;
  mask: url("/img/person.svg") no-repeat center/contain;
}

i.email {
  -webkit-mask: url("/img/email.svg") no-repeat center/contain;
  mask: url("/img/email.svg") no-repeat center/contain;
}

a:hover i.menu,
a:hover i.schliessen,
a:hover i.login,
a:hover i.benutzer {
  background-color: var(--cl-lab);
}


.svg-versteckt {
  width: 0;
  height: 0;
  position: absolute;
}

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: text-bottom;
}

/* -------------------------------------------------------------------------- */

.raumkalender-import {

}

.raumkalender-import textarea {
  height: 4em;
  padding: 0.5em;
  resize: none;
  margin-right: 5px;
  margin-bottom: 5px;
  border: 1px solid #ccc;
  width: 80%;
}

.raumkalender-import textarea[readonly] {
  background-color: #f5f5f5;
  width: 100%;
}

/* -------------------------------------------------------------------------- */

@keyframes spinner_ani {
  0%   { fill: #fc6; transform: scale(1); }
  50%  { fill: #fc63; transform: scale(0.6); }
  100% { fill: #fc6; transform: scale(1); }
}

.spinner {
  fill: #fc6;
  animation: spinner_ani 1.5s ease-in-out infinite;
}

/* -------------------------------------------------------------------------- */

.sp {
  width: 18px;
  height: 18px;
  clear: both;
  display: inline-block;
  margin-top: 5rem;
}

.sp-circle {
  border: 2px #cccc solid;
  border-top: 2px var(--cl-lab) solid;
  border-radius: 50%;
  animation: spCircRot 1s infinite linear;
}

@keyframes spCircRot {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

/* -------------------------------------------------------------------------- */

.mod_termine_uhrzeit {
  border-top: 1px solid gray;
}

/* -------------------------------------------------------------------------- */

#dlg {
  background-color: rgba(0, 0, 0, 0.3);
  display: none;
  height: 100%;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  transition: opacity 250ms;
  width: 100%;
  z-index: 2000;
  font-size: 0.75em;
}

#dlg-content {
  background-color: #f6f6f6;
  box-shadow: 0 0.25em 1em rgba(0, 0, 0, 0.4);
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 5px;
}

#dlg-msg {
  background: #fff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding: 1.5em;
  line-height: 1.6;

  min-width: calc(100vw - 2*1em);
  min-width: 350px;
  max-width: 600px;

  max-height: calc(100vh - 80px - 2*2em);
  min-height: 50px;
}

#dlg-msg p:first-of-type {
  margin-top: 0;
}

#dlg-msg p:last-of-type {
  margin-bottom: 0;
}

#dlg-msg a {
  text-decoration: underline;
  text-decoration-color: #d6d6d6;
  transition: color, text-decoration-color cubic-bezier(0.33, 0, 0.67, 1) 100ms;
}

#dlg-msg a:hover {
  text-decoration-color: var(--cl-lab);
}

#dlg-footer {
  border-top: 1px solid #d6d6d6;
  text-align: center;
}

#dlg-footer a {
  cursor: pointer;
  margin: 0.6em 1.0em;
  padding: 0.4em 0.5em;
  border-radius: 4px;
  transition-duration: 100ms;
  transition-property: background, border, color, box-shadow, outline-color;
  transition-timing-function: cubic-bezier(0.33, 0, 0.67, 1);
  min-width: 6em;
}

#dlg-footer a:hover {
    background-color: #fff;
}

#dlg-footer a:hover:active {
  background-color: #e0e0e0;
  box-shadow: inset 1px 1px 5px #0003;
}

#dlg-footer a.default {
  font-weight: bold;
}

/* -------------------------------------------------------------------------- */

/*! Hint.css (base version) - v3.0.0 - 2023-11-29
* https://kushagra.dev/lab/hint/
* Copyright (c) 2023 Kushagra Gour */

/*-------------------------------------*\
	HINT.css - A CSS tooltip library
\*-------------------------------------*/
/**
 * HINT.css is a tooltip library made in pure CSS.
 *
 * Source: https://github.com/chinchang/hint.css
 * Demo: http://kushagragour.in/lab/hint/
 *
 */
/**
 * source: hint-core.scss
 *
 * Defines the basic styling for the tooltip.
 * Each tooltip is made of 2 parts:
 * 	1) body (:after)
 * 	2) arrow (:before)
 *
 * Classes added:
 * 	1) hint
 */
 [class*=hint--] {
  position: relative;
  display: inline-block;
  overflow: initial !important;
  /**
   * tooltip arrow
   */
  /**
   * tooltip body
   */
}
[class*=hint--]:before, [class*=hint--]:after {
  position: absolute;
  transform: translate3d(0, 0, 0);
  visibility: hidden;
  opacity: 0;
  z-index: 1000000;
  pointer-events: none;
  transition: 0.3s ease;
  transition-delay: 0ms;
}
[class*=hint--]:hover:before, [class*=hint--]:hover:after {
  visibility: visible;
  opacity: 1;
}
[class*=hint--]:hover:before, [class*=hint--]:hover:after {
  transition-delay: 100ms;
}
[class*=hint--]:before {
  content: "";
  position: absolute;
  background: transparent;
  border: 6px solid transparent;
  background-color: hsl(0, 0%, 22%);
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%);
  z-index: 1000001;
}
[class*=hint--]:after {
  background: hsl(0, 0%, 22%);
  border-radius: 3px;
  color: white;
  padding: 10px 12px;
  font-size: 1.2rem;
  line-height: 1rem;
  white-space: nowrap;
}
[class*=hint--][aria-label]:after {
  content: attr(aria-label);
}
[class*=hint--][data-hint]:after {
  content: attr(data-hint);
}

[aria-label=""]:before, [aria-label=""]:after,
[data-hint=""]:before,
[data-hint=""]:after {
  display: none !important;
}

/**
 * source: hint-position.scss
 *
 * Defines the positoning logic for the tooltips.
 *
 * Classes added:
 * 	1) hint--top
 * 	2) hint--bottom
 * 	3) hint--left
 * 	4) hint--right
 */
/**
 * top tooltip
 */
.hint--top {
  --rotation: 135deg;
}
.hint--top:before {
  margin-bottom: -5.5px;
  transform: rotate(var(--rotation));
}
.hint--top:before, .hint--top:after {
  bottom: 100%;
  left: 50%;
}
.hint--top:before {
  left: calc(50% - 6px);
}
.hint--top:after {
  transform: translateX(-50%);
}
.hint--top:hover:before {
  transform: translateY(-8px) rotate(var(--rotation));
}
.hint--top:hover:after {
  transform: translateX(-50%) translateY(-8px);
}

/**
 * bottom tooltip
 */
.hint--bottom {
  --rotation: -45deg;
}
.hint--bottom:before {
  margin-top: -5.5px;
  transform: rotate(var(--rotation));
}
.hint--bottom:before, .hint--bottom:after {
  top: 100%;
  left: 50%;
}
.hint--bottom:before {
  left: calc(50% - 6px);
}
.hint--bottom:after {
  transform: translateX(-50%);
}
.hint--bottom:hover:before {
  transform: translateY(8px) rotate(var(--rotation));
}
.hint--bottom:hover:after {
  transform: translateX(-50%) translateY(8px);
}

/**
 * right tooltip
 */
.hint--right {
  --rotation: -135deg;
}
.hint--right:before {
  margin-left: -5.5px;
  margin-bottom: -6px;
  transform: rotate(var(--rotation));
}
.hint--right:after {
  margin-bottom: calc(-1 * (1rem + 16px) / 2);
}
.hint--right:before, .hint--right:after {
  left: 100%;
  bottom: 50%;
}
.hint--right:hover:before {
  transform: translateX(8px) rotate(var(--rotation));
}
.hint--right:hover:after {
  transform: translateX(8px);
}

/**
 * left tooltip
 */
.hint--left {
  --rotation: 45deg;
}
.hint--left:before {
  margin-right: -5.5px;
  margin-bottom: -6px;
  transform: rotate(var(--rotation));
}
.hint--left:after {
  margin-bottom: calc(-1 * (1rem + 16px) / 2);
}
.hint--left:before, .hint--left:after {
  right: 100%;
  bottom: 50%;
}
.hint--left:hover:before {
  transform: translateX(-8px) rotate(var(--rotation));
}
.hint--left:hover:after {
  transform: translateX(-8px);
}

/**
 * source: hint-sizes.scss
 *
 * Defines width restricted tooltips that can span
 * across multiple lines.
 *
 * Classes added:
 * 	1) hint--small
 * 	2) hint--medium
 * 	3) hint--large
 * 	4) hint--fit
 *
 */
.hint--small:after,
.hint--medium:after,
.hint--large:after,
.hint--fit:after {
  box-sizing: border-box;
  white-space: normal;
  line-height: 1.4em;
  word-wrap: break-word;
}

.hint--small:after {
  width: 80px;
}

.hint--medium:after {
  width: 150px;
}

.hint--large:after {
  width: 300px;
}

.hint--fit:after {
  width: 100%;
}

/* -------------------------------------------------------------------------- */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

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

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {

  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }

}
