@charset "UTF-8";
/* vars */
:root {
  /* Colors */
  --primary-color: #1e232b;
  --primary-color-light: #393E46;
  --secondary-color: #008B8B;
  --secondary-color-light: #EEEEEE;
  --warning-yellow: #FFC914;
  --danger-red: #D72638;
  --dager-red-border: #911a26;
  --link-color: #1a0dab;
  --border-radius: 5px;
  --padding: 20px;
  /* Font sizes */
  --heading: 35px;
  --subheading: 25px;
  --normal: 18px;
  --small: 15px;
  --button-height: 36px;
}
/* fonts */
@font-face {
  font-family: montserrat;
  src: url(../fonts/Montserrat-Regular.ttf);
}
@font-face {
  font-family: montserrat-bold;
  src: url(../fonts/Montserrat-Bold.ttf);
}
@font-face {
  font-family: montserrat-thin;
  src: url(../fonts/Montserrat-Thin.ttf);
}
@font-face {
  font-family: montserrat-italic;
  src: url(../fonts/Montserrat-Italic.ttf);
}
body {
  font-family: montserrat;
  font-size: var(--normal);
  background-color: var(--primary-color);
  color: var(--secondary-color-light);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
input {
  width: calc(100% - 60px);
  /* placeholder font size */
  font-size: var(--normal);
  padding: 10px;
  margin: 10px 0;
  border-radius: var(--border-radius);
  border: none;
}
#error_page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background-color: var(--primary-color);
  color: var(--secondary-color-light);
}
#error_box {
  width: 40%;
  padding: 25px;
  background-color: var(--primary-color);
  margin: 0 auto;
  margin-top: 10%;
  border-radius: var(--border-radius);
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border: 2px solid var(--dager-red-border);
}
#error_box > h1 {
  font-size: var(--heading);
  font-family: montserrat-bold;
  margin-bottom: 35px;
  color: var(--danger-red);
}
.input {
  width: calc(100% - 60px);
  /* placeholder font size */
  font-size: var(--normal);
  padding: 10px;
  margin: 10px 0;
  border-radius: var(--border-radius);
  border: none;
}
input:focus {
  outline: none;
}
input:focus {
  outline: none;
}
input[type="submit"] {
  width: 100%;
  background-color: var(--secondary-color);
  color: var(--secondary-color-light);
  cursor: pointer;
}
.input.submit {
  width: calc(100% - 60px);
  background-color: var(--secondary-color);
  color: var(--secondary-color-light);
  cursor: pointer;
}
.required-icon {
  width: 19px;
  font-size: 19px;
  margin: 10px 3px 0 3px;
  vertical-align: top;
  color: var(--warning-yellow);
  position: relative;
  cursor: pointer;
}
.required-icon:hover::after {
  content: attr(data-lang);
  /* Inhalt aus data-lang anzeigen */
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
  z-index: 10;
  font-size: var(--small);
  font-family: montserrat;
  pointer-events: none;
  /* Kein Hover-Effekt auf den Text */
}
.help-icon {
  width: 19px;
  font-size: 19px;
  margin: 10px 3px 0 3px;
  color: var(--secondary-color-light);
  position: relative;
  cursor: pointer;
  vertical-align: top;
}
.help-icon:hover::after {
  content: attr(data-lang);
  /* Inhalt aus data-lang anzeigen */
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  z-index: 10;
  font-size: var(--small);
  font-family: montserrat;
  max-width: 350px;
  min-width: 350px;
  line-height: 1.3;
  pointer-events: none;
  /* Kein Hover-Effekt auf den Text */
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.9);
}
textarea {
  font-family: montserrat;
  width: calc(100% - 60px);
  font-size: var(--normal);
  padding: 10px;
  margin: 10px 0;
  border-radius: var(--border-radius);
  border: none;
  resize: none;
}
textarea:focus {
  outline: none;
  border: none;
  box-shadow: none;
  resize: none;
}
h1, h2, h3, h4, h5, h6 {
  margin: 10px 0;
  font-family: montserrat-thin;
}
h1 {
  font-size: var(--heading);
}
h2, h3, h4, h5, h6 {
  font-size: var(--subheading);
}
ul {
  list-style-type: none;
}
.error:empty {
  display: none;
}
.error {
  background-color: var(--danger-red);
  color: var(--secondary-color-light);
  padding: var(--padding);
  border-radius: var(--border-radius);
  border: 2px solid var(--dager-red-border);
}
.error > p {
  margin: 0;
}
.flex-grow {
  flex-grow: 1;
}
.col-1 {
  width: 8.3333333333%;
}
.col-2 {
  width: 16.6666666667%;
}
.col-3 {
  width: 25%;
}
.col-4 {
  width: 33.3333333333%;
}
.col-5 {
  width: 41.6666666667%;
}
.col-6 {
  width: 50%;
}
.col-7 {
  width: 58.3333333333%;
}
.col-8 {
  width: 66.6666666667%;
}
.col-9 {
  width: 75%;
}
.col-10 {
  width: 83.3333333333%;
}
.col-11 {
  width: 91.6666666667%;
}
.col-12 {
  width: 100%;
}
.table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}
.table table {
  border-spacing: 0;
  width: 100%;
}
.table table thead {
  background-color: var(--primary-color-light);
  color: var(--secondary-color-light);
  width: 100%;
  height: 50px;
  text-align: left;
}
.table table thead th {
  padding: 0px 20px;
}
.table table tr {
  height: 50px;
}
.table table tr td {
  padding: 0 20px;
}
.table tbody button {
  background-color: var(--primary-color);
  color: var(--secondary-color-light);
  border: none;
  padding: 5px;
  cursor: pointer;
  border-radius: var(--border-radius);
  margin: 0 5px;
  font-size: var(--s);
  height: 36px;
}
.table > .table_header {
  width: 100%;
  display: flex;
  justify-content: end;
  height: 50px;
  box-sizing: border-box;
}
.table > .table_header button {
  background-color: var(--secondary-color);
  color: var(--secondary-color-light);
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: var(--border-radius);
  margin: 0 5px;
  height: 36px;
  display: inline-block;
}
.table > .table_header .entries_per_page {
  height: 36px;
  margin: 0 5px;
}
.table > .table_header .entries_per_page > select {
  height: 100%;
  border: none;
  border-radius: var(--border-radius);
  padding: 0 10px;
  cursor: pointer;
  background-color: var(--secondary-color);
  color: white;
}
.table > .table_header .total_entries {
  height: 36px;
  line-height: 36px;
  margin: 0 5px;
}
.table > .table_header .search {
  width: 300px;
  display: inline-flex;
}
.table > .table_header .search > input {
  width: 100%;
  box-sizing: border-box;
  height: 36px;
  margin: 0 5px;
}
#input_title {
  padding-right: 20px;
  /* Abstand für den Stern */
  position: relative;
}
.input-star {
  position: absolute;
  right: 10px;
  /* Abstand direkt rechts am Input */
  top: 50%;
  transform: translateY(-50%);
  color: red;
  /* Anpassen der Farbe des Sterns */
}
.w100 {
  width: 100% !important;
}
.pagination {
  text-align: center;
}
.pagination #pagination_pages {
  width: max-content;
  display: inline-block;
}
.pagination #prev_page {
  display: inline-block;
  width: var(--button-height);
  height: var(--button-height);
  background-color: transparent;
  border: none;
  outline: none;
  color: var(--secondary-color-light);
  cursor: pointer;
  margin-right: 10px;
}
.pagination #next_page {
  display: inline-block;
  width: var(--button-height);
  height: var(--button-height);
  background-color: transparent;
  border: none;
  outline: none;
  color: var(--secondary-color-light);
  cursor: pointer;
  margin-left: 10px;
}
.pagination .page {
  width: var(--button-height);
  height: var(--button-height);
  background-color: transparent;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  line-height: var(--button-height);
  border-radius: var(--border-radius);
}
.pagination .page.active {
  background-color: var(--secondary-color);
}
#dark_background {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
}
#confirm_box {
  width: 300px;
  background-color: var(--primary-color-light);
  color: var(--secondary-color-light);
  border-radius: var(--border-radius);
  padding: 20px;
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1002;
}
#confirm_box #confirm_text {
  margin: 0 0 20px 0;
  font-size: var(--subheading);
  font-family: montserrat-bold;
}
#confirm_box button {
  background-color: var(--secondary-color);
  color: var(--secondary-color-light);
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: var(--border-radius);
  margin: 0 5px;
  height: 36px;
  width: 100px;
  float: left;
}
#confirm_box #cancel_button {
  background-color: var(--danger-red);
  float: right;
}
#menu_header {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.back-arrow {
  width: 60px;
  height: 40px;
  display: inline-block;
  line-height: 40px;
  text-align: center;
  font-size: 22px;
}
.back-arrow :hover {
  cursor: pointer;
}
.back-arrow > i {
  font-size: 22px;
  height: 40px;
  line-height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
}
.button {
  width: 200px;
  height: 40px;
  background-color: var(--secondary-color);
  color: var(--secondary-color-light);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  text-align: center;
  line-height: 40px;
}
.custom-dropdown {
  min-width: max-content;
  position: relative;
  font-family: Arial, sans-serif;
}
.current-option {
  height: 36px;
  line-height: 36px;
  border: 1px solid #ccc;
  padding: 0 10px;
  cursor: pointer;
  border-radius: var(--border-radius);
}
.current-option > span {
  margin-left: 10px;
  font-size: var(--small);
}
.options-container {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  min-width: max-content;
  border: 1px solid #ccc;
  box-sizing: border-box;
  background: #fff;
  display: none;
  z-index: 100;
}
.option {
  height: 36px;
  line-height: 36px;
  padding: 0 10px;
  cursor: pointer;
  background-color: var(--primary-color-light);
}
.option:hover {
  background-color: var(--secondary-color);
  color: var(--secondary-color-light);
}
#loading_screen {
  background-color: var(--primary-color);
  color: var(--secondary-color-light);
  position: fixed;
  top: 0;
  left: 250px;
  width: calc(100% - 250px);
  height: 100vh;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
#loading_screen img {
  margin-top: 20%;
  width: 100px;
}
.table_content a {
  color: white;
}
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px !important;
}
/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
input:checked + .slider {
  background-color: #2196F3;
}
input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}
.flexgrow {
  flex-grow: 1;
}
