:root {
  /*variables*/
  --orange: #cf6729;
  --grey: #454545;
}

@font-face {
  font-family: "Exo2";
  src: url("../fonts/Exo2-Regular.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Exo2";
  src: url("../fonts/Exo2-Italic.otf") format("truetype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Exo2";
  src: url("../fonts/Exo2-Thin.otf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "Exo2";
  src: url("../fonts/Exo2-ThinItalic.otf") format("truetype");
  font-weight: 100;
  font-style: italic;
}

@font-face {
  font-family: "Exo2";
  src: url("../fonts/Exo2-ExtraLight.otf") format("truetype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Exo2";
  src: url("../fonts/Exo2-ExtraLightItalic.otf") format("truetype");
  font-weight: 200;
  font-style: italic;
}

@font-face {
  font-family: "Exo2";
  src: url("../fonts/Exo2-Light.otf") format("truetype");
  font-weight: lighter;
  font-style: normal;
}

@font-face {
  font-family: "Exo2";
  src: url("../fonts/Exo2-LightItalic.otf") format("truetype");
  font-weight: lighter;
  font-style: italic;
}

@font-face {
  font-family: "Exo2";
  src: url("../fonts/Exo2-Bold.otf") format("truetype");
  font-weight: bolder;
  font-style: normal;
}

@font-face {
  font-family: "Exo2";
  src: url("../fonts/Exo2-BoldItalic.otf") format("truetype");
  font-weight: bolder;
  font-style: italic;
}

@font-face {
  font-family: "Exo2";
  src: url("../fonts/Exo2-ExtraBold.otf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Exo2";
  src: url("../fonts/Exo2-ExtraBoldItalic.otf") format("truetype");
  font-weight: bold;
  font-style: italic;
}

body {
  font-family: Exo2, Helvetica, Arial, sans-serif;
  font-size: 12pt;

  background: black;
  color: white;

  margin: 0;
  padding-top: 20%;

  -webkit-text-size-adjust: none;
}

a:link,
a:visited {
  color: white;
  text-decoration: none;
}

a:hover {
  cursor: pointer;
  text-decoration: underline;
}

/* a:link:hover, a:visited:hover, a:link:active, a:visited:active {
	color: white;
	text-decoration: underline;
} */

/* a.dark:link, a.dark:visited {
	color: var(--font);
	text-decoration: none;
	transition-duration: 0.2s;
}

a.dark:link:hover, a.dark:visited:hover, a.dark:link:active, a.dark:visited:active {
	color: var(--black);
	text-decoration: none;
	transition-duration: 0.2s;
} */

button {
  all: unset;
}

/* Header und Ueberschrift */

.header {
  position: fixed;
  z-index: 1;
  top: 0;
  width: 100%;
  box-shadow: 0px 0px 20px var(--grey);
  background-color: rgba(0, 0, 0, 0.8);
}

.header img {
  width: 50%;
  margin: 10px 15px;
}

.header i {
  float: right;
  height: 70%;
  margin: 2% 5%;
  cursor: pointer;
  color: white;
}

.title {
  text-align: center;
  text-transform: uppercase;
  font-size: 18pt;
  color: var(--orange);
  padding: 15px;
  clear: both;
}

.course-title {
  padding: 0px;
  text-align: left;
}

/* Standortwechsel */
/* Wochenwechsel */

.nav-switch {
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
}

.nav-switch-element {
  width: 37%;
  text-align: center;
  padding: 5px 20px;
  margin-bottom: 5px;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-switch-element:hover {
  text-decoration: underline;
  cursor: pointer;
}

.active {
  background-color: var(--orange);
}

.active:hover {
  text-decoration: none;
}

/* Navigation */

.nav {
  position: fixed;
  z-index: 1;
  top: 0;
  bottom: 0;
  width: 0;
  text-align: center;
  background-color: rgba(207, 103, 41, 0.95);
  padding-top: 30%;
  text-transform: uppercase;
  overflow-y: scroll;
  overflow-x: hidden;
}

.greeting {
  color: black;
  font-size: 2em;
}

.greeting:first-child {
  color: white;
}

.nav-list li {
  width: 30%;
  margin: 0 auto;
  padding: 20px;
  border-bottom: 1px solid white;
}

.nav-footer li {
  width: 40%;
  margin: 0px auto;
  padding: 20px;
}

/* Kursplan */

.content {
  padding: 0px 15px;
}

.day {
  margin-top: 15px;
  text-transform: uppercase;
  font-size: 11pt;
}

.course-box {
  padding: 0px 10px;
  background-color: black;
}

.course {
  display: grid;
  grid-template-columns: 35% 65%;
  padding: 10px 0px;
  border-top: 1px solid black;
  background-color: black;
}

.course:first-child {
  border: none;
}

.course:hover {
  cursor: pointer;
}

.course i {
  opacity: 0.8;
}

.holiday {
  grid: unset;
  text-transform: none;
  text-align: center;
  background-image: linear-gradient(to right, black, lightgrey, black);
  color: black;
}

/* Teilnehmerliste & Popups */

.popup-background {
  display: none;
  position: fixed;
  z-index: 2;
  top: 0;
  bottom: 0;
  overflow-y: scroll;
  overflow-x: hidden;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.popup-box {
  box-sizing: border-box;
  margin: 0 auto;
  width: 100%;
  padding: 10px 25px;
  border: 5px solid var(--orange);
  /* background-image: linear-gradient(to right, var(--orange), black 15%, black 85%, var(--orange)); */
}

.popup-container {
  padding: 0;
}

.popup-box .close {
  position: relative;
  float: right;
  cursor: pointer;
}

/* Formulare */

input,
textarea {
  padding: 5px 10px;
  font-family: Exo2, Helvetica, Arial, sans-serif;
  border-radius: 0;
  border: 2px solid white;
  color: white;
  background-color: black;
  outline: none;
  margin: 5px auto;
  width: 70%;
  font-size: 1.5em;
  box-sizing: border-box;
  -webkit-appearance: none;
}

input[type="submit"],
button {
  background-color: white;
  color: black;
  border: none;
}

.switch-table td:nth-child(2) {
  padding-left: 10px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: grey;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: black;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #cf6729;
}

input:focus + .slider {
  box-shadow: 0 0 1px #cf6729;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

textarea {
  height: 100px;
  max-width: 70%;
  max-height: 300px;
}

/* Login */

/* Einstellungen */

.settings li {
  border-top: 1px solid white;
  padding: 15px;
}

.settings li:first-child {
  border: none;
}

.settings form {
  padding-left: 5%;
}

.settings input {
  font-size: 1em;
}

.password-format ul li {
  border: none;
  padding: 0;
}

.password-format,
.password-format ul {
  margin-top: 0;
  text-align: left;
  color: indianred;
}

/* andere */

.center {
  text-align: center;
}

p.err {
  color: indianred;
}

p.succ {
  color: lightgreen;
}

.light-font {
  font-family: Exo2-Light, Exo2, Helvetica, Arial, sans-serif;
}

.unset-list {
  list-style-type: none;
  padding: 0;
}

.cut-text {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}
