@font-face {
  font-family: "CustomCG";
  src: url("3394-font.ttf");
}

:root {
  --FF: 'CustomCG', sans-serif;
  --Main_Background: #2a2a2c;
}

.LogInBody {
  margin: 0;
  padding: 0;
  background: linear-gradient(90deg, #292C37, #293C32, #292C37);
  background-size: 300% 300%;
  animation: bg 10s linear infinite;
  height: 100vh;
  font-family: var(--FF);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.LogInLogo{
  height: 200px;
  margin-bottom: 20px;
  /*filter: drop-shadow(0px 0px 3px red);
  animation: shadowPulse 3s linear infinite alternate;*/
}

@keyframes shadowPulse {
  0% {
    filter: drop-shadow(0px 0px 10px red);
  }
  50% {
    filter: drop-shadow(0px 0px 10px yellow);
  }
  100% {
    filter: drop-shadow(0px 0px 10px green);
  }
}

@keyframes bg {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}



.card-custom-LogIn {
  font-family: var(--FF);
  width: auto;
  height: auto;
  border-radius: 20px;
  margin-bottom: 20px;
  margin-left: 10px;
  margin-right: 10px;
  padding: 3%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card-custom {
  font-family: var(--FF);
  width: auto;
  height: auto;
  background-color: #222224;
  border-radius: 20px;
  margin-bottom: 20px;
  margin-left: 10px;
  margin-right: 10px;
  box-shadow: 0 5px 15px #0e1411;
  padding: 2%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card-custom-Rooms {
  font-family: var(--FF);
  width: 90% !important;
  height: 100% !important;
  background-color: #222224;
  margin: 10px;
  border-radius: 25px;
  box-shadow: 0 5px 15px #0e1411;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media screen and (min-width: 1920px) {

  .card-custom,
  .card-custom-Rooms {
    padding: 2%;
  }
}

.card-custom input,
.card-custom-Rooms input,
.card-custom-LogIn input {
  display: block;
}

#card-custom-scale {
  transform: scale(1);
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  transition: 0.5s ease-in-out;
}

@media (max-width: 500px) {
  #card-custom-scale {
    transform: scale(0.7) !important;
  }
}

@media (min-width: 501px) and (max-width: 600px) {
  #card-custom-scale {
    transform: scale(0.8) !important;
  }
}

.Time-Button {
  background-color: transparent;
  border: none;
  color: white;
  display: block;
  font-family: var(--FF);
  font-size: 20px;
  outline: none;
  padding: 0;
}

.Time-Button:hover {
  color: rgb(173, 173, 173);
}

.button {
  text-align: center;
  cursor: pointer;
  font-size: 15px;
  text-decoration: none !important;
  letter-spacing: 1px;
  position: relative;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 0px;
  margin-right: 0px;
  background-color: var(--Main_Background);
  border: none;
  color: #fff;
  padding: 10px;
  width: 300px;
  font-weight: bold;
  font-family: var(--FF);
  transition-duration: 0.4s;
  overflow: hidden;
  box-shadow: 0 5px 15px #0e1411;
  border-radius: 10px;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.custom-btn {
  width: 150px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  margin: 20px;
  text-align: center;
  border: none;
  background-size: 300% 100%;
  padding: 10px;
  text-decoration: none;
  border-radius: 10px;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}

.custom-btn:hover {
  color: black;
  background-position: 100% 0;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}

.custom-btn:focus {
  outline: none;
}

.custom-btn.color-1 {
  background-image: linear-gradient(to right, #293C32, #293C32, white, white);
  box-shadow: 0 4px 15px 0 #0e1411;
}

.custom-btn.color-2 {
  background-image: linear-gradient(to right, #222224, #222224, white, white);
  box-shadow: 0 4px 15px 0 #0e1411;
}

/* #292C37  #293C32 var(--Main_Background) */


.button:hover,
.button-Rooms:hover {
  background: white;
  box-shadow: 0px 2px 10px 5px #293C32;
  color: black;
}

.button:after,
.button-Rooms:after {
  content: "";
  background: white;
  display: block;
  color: white;
  position: absolute;
  opacity: 0;
  transition: all 1.5s;
}

.button:active:after,
.button-Rooms:active:after {
  padding: 0;
  margin: 0;
  border-radius: 10px !important;
  opacity: 1;
  transition: 0s;
}

.button:focus,
.button-Rooms:focus {
  outline: 1;
}

.custom-file-upload {
  cursor: pointer;
  position: relative;
  background-color: var(--Main_Background);
  border: none;
  color: #fff;
  padding: 5px;
  width: 40px !important;
  height: 40px !important;
  transition-duration: 0.4s;
  overflow: hidden;
  box-shadow: 0 5px 15px #0e1411;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
}

.custom-file-upload img {
  height: 30px;
}

.custom-file-upload:hover {
  background: white;
  box-shadow: 0px 2px 10px 5px #293C32;
  color: #000;
}

.MinButton {
  position: absolute;
  left: 10px;
  bottom: 20px;

  cursor: pointer;
  background-color: var(--Main_Background);
  border: none;
  color: #fff;
  padding: 11%;
  width: auto;
  transition-duration: 0.4s;
  overflow: hidden;
  box-shadow: 0 5px 15px #0e1411;
  border-radius: 50%;
  background: url('LeftArrow.png') no-repeat center center;
}

.MinButton:hover {
  background: url('LeftArrowBlack.png') no-repeat center center white !important;
  box-shadow: 0px 2px 10px 5px #293C32;
  color: #000;
}

#InputCustom {
  margin-top: 20px;
  font-family: var(--FF);
  border: 2px solid #0e1411;
  box-shadow: 0 5px 15px #0e1411;
  border-radius: 10px;
  min-width: 300px;
  min-height: 50px;
  font-size: 1.2rem;
  background-color: var(--Main_Background);
  color: white;
  width: 10em;
  transition: width 1.2s ease-in-out;
  text-align: center;
  outline: none;
}

.LogInForm {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.toolbar_a_Red {
  color: rgb(255, 36, 36) !important;
  font-size: 15px !important;
}

.toolbar_a_Blue {
  color: rgb(76, 76, 255) !important;
  font-size: 15px !important;
}

.toolbar_a_white {
  color: rgb(221, 221, 221) !important;
  font-size: 15px !important;
}

.toolbar_a_Red:hover,
.toolbar_a_Blue:hover,
.toolbar_a_white:hover {
  color: rgb(173, 173, 173) !important;
}

#toolbar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 240px;
  background-color: #222224;
  box-shadow: 0 5px 15px #0e1411;
  color: white;
  padding: 20px;
  transition: transform 0.5s ease;
}

#toolbar.hidden {
  transform: translateX(-100%);
}

#expandToolbar {
  position: absolute;
  left: 0px;
  bottom: 0px;
  z-index: 1;
  margin-bottom: 10px;
  margin-left: 10px;

  cursor: pointer;
  background-color: var(--Main_Background) !important;
  border: none;
  color: #fff;
  padding: 2%;
  width: 50px;
  flex-grow: 0;
  flex-shrink: 0;
  transition-duration: 0.4s;
  overflow: hidden;
  box-shadow: 0 5px 15px #0e1411;
  border-radius: 50%;
  background: url('RightArrow.png') no-repeat center center;
}

#expandToolbar.hidden {
  display: none;
}

#expandToolbar:hover {
  background: url('RightArrowBlack.png') no-repeat center center white !important;
  box-shadow: 0px 2px 10px 5px #293C32;
  color: #000;
}

#expandToolbar:after {
  background: white;
  display: block;
  position: absolute;
  padding-top: 300%;
  padding-left: 350%;
  margin-left: -20px !important;
  margin-top: -120%;
  border-radius: 10px;
  opacity: 0;
  transition: all 1.5s;
}

#expandToolbar:focus {
  outline: 0;
}

#toolbar a {
  display: block;
  color: white;
  font-size: 20px;
  text-decoration: none;
  margin-bottom: 10px;
  font-family: var(--FF);
}

#toolbar a:hover {
  display: block;
  color: rgb(173, 173, 173);
  text-decoration: none;
  margin-bottom: 10px;
}

.toolbarIcon {
  height: 25px;
  vertical-align: middle;
  margin-bottom: 5px;
  margin-right: 10px;
}


.background-image {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('TR.png') no-repeat center center;
  background-size: auto;
  opacity: 0.1;
  z-index: -1;
}

#FormContainer {
  position: absolute;
  left: 240px;
  right: 0;
  height: 100vh;
  overflow: auto;
  transition: left 0.3s ease;
  overflow-x: hidden;
}

#FormContainer h1 {
  text-align: center;
  font-family: var(--FF);
}

#FormContainer h2 {
  text-decoration: none;
  font-family: var(--FF);
  margin-top: 50px;
}

#FormContainer h3 {
  text-decoration: underline;
  text-underline-offset: 5px;
  font-family: var(--FF);
  margin-top: 50px;
}

#FormContainer h4 {
  text-decoration: underline;
  font-family: var(--FF);
  margin-top: 20px;
}

.AbnameForm {
  padding: 2%;
  align-items: left;
}

.AbnameFormDiv {
  display: flex;
  align-items: center;
}

.AbnameFormDiv p {
  margin-right: 20px;
}

.AbnameFormDivCustomInput {
  font-family: var(--FF);
  border: 2px solid #0e1411;
  border-radius: 10px;
  min-height: 30px;
  font-size: 15px;
  background-color: var(--Main_Background);
  color: white;
  transition: width 1.2s ease-in-out;
  text-align: center;
  outline: none;
  box-shadow: 0 5px 10px #0e1411 !important;
}

.AbnameFormDivCustomInputSmall {
  /*margin-top: 5px;*/
  font-family: var(--FF);
  border: 2px solid #0e1411;
  border-radius: 10px;
  min-height: 30px;
  font-size: 15px;
  background-color: var(--Main_Background);
  color: white;
  width: 200px;
  transition: width 1.2s ease-in-out;
  text-align: center;
  outline: none;
  box-shadow: 0 5px 10px #0e1411 !important;
}

.AbnameFormDivCustomInputTableSmall {
  /*margin-top: 5px;*/
  font-family: var(--FF);
  border: 2px solid #0e1411;
  border-radius: 10px;
  min-height: 30px;
  font-size: 15px;
  background-color: var(--Main_Background);
  color: white;
  width: 80px;
  transition: width 1.2s ease-in-out;
  text-align: center;
  outline: none;
  box-shadow: 0 5px 10px #0e1411 !important;
}

.AbnameFormDivCustomTextArea {
  font-family: var(--FF);
  border: 2px solid #0e1411;
  border-radius: 10px;
  font-size: 15px;
  background-color: var(--Main_Background);
  color: white;
  text-align: left;
  box-shadow: 0 5px 10px #0e1411 !important;
}

.AbnameFormDivCustomCheckbox {
  display: none !important;
}

.AbnameFormDivCustomCheckbox+label {
  display: inline-block;
  width: 30px !important;
  height: 30px !important;
  background-color: var(--Main_Background);
  border-radius: 10px;
  border-width: 5px;
  border-style: solid;
  border-color: #293C32;
  box-shadow: 0 5px 10px #0e1411;
  cursor: pointer;
  flex-shrink: 0;
  flex-grow: 0;
}

.AbnameFormDivCustomCheckbox:checked+label {
  background: url('Check.png') no-repeat center center #293C32;
}

.AbnameFormDivCenter {
  width: 100%;
  display: flex;
  justify-content: center;
}

.container {
  width: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col {
  flex: 0 0 50%;
  max-width: 50%;
  padding-right: 15px;
  padding-left: 15px;
  box-sizing: border-box;
  justify-content: start;
  display: flex;
  align-items: center;
}

.col [name="SREBDNLMiVi"],
.col [name="SREDVBDNLMiVi"]::placeholder {
  margin-left: auto;
}

.col-20 {
  max-width: 20% !important;
}

.col-Special {
  box-sizing: border-box;
  margin: 20px;
  display: flex;
  align-items: center;
  justify-content: left;
}


.col-3 {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  padding-right: 15px;
  padding-left: 15px;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;
}

.col-3-Left {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  padding-right: 15px;
  padding-left: 15px;
  box-sizing: border-box;
  justify-content: start;
  display: flex;
  align-items: center;
  flex-shrink: 0 !important;
}

.col-4 {
  flex: 0 0 25%;
  max-width: 25%;
  padding-right: 15px;
  padding-left: 15px;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;
}

hr {
  height: 5px;
  background-color: var(--Main_Background);
  border: none;
  border-radius: 5px;
  box-shadow: 0 4px 4px #0e1411;
}

#DataForm {
  display: flex;
  align-items: center;
  justify-content: center;
}

#ProtokollTable {
  transform: scale(1);
  transition: 0.5s ease-in-out;
}

#ProtokollControls {
  transition: 0.5s ease-in-out;
}


@media (max-width: 999px) {
  #ProtokollTable {
    transform: scale(0.6) !important;
  }

  #ProtokollControls {
    transform: scale(0.6) !important;
  }

  .card-custom {
    padding: 0%;
  }

  #ProtokollTable th:nth-child(4),
  #ProtokollTable td:nth-child(4),
  #ProtokollTable th:nth-child(6),
  #ProtokollTable td:nth-child(6),
  #ProtokollTable th:nth-child(8),
  #ProtokollTable td:nth-child(8),
  #ProtokollTable th:nth-child(9),
  #ProtokollTable td:nth-child(9),
  #ProtokollTable th:nth-child(10),
  #ProtokollTable td:nth-child(10) {
    display: none;
  }

  #FormContainer h1 {
    left: 50%;
  }
}

@media (min-width: 1000px) and (max-width: 1099px) {
  #ProtokollTable {
    transform: scale(0.7) !important;
  }

  #ProtokollControls {
    transform: scale(0.7) !important;
  }

  .card-custom {
    padding: 1%;
  }
}

@media (min-width: 1100px) and (max-width: 1215px) {
  #ProtokollTable {
    transform: scale(0.8) !important;
  }

  #ProtokollControls {
    transform: scale(0.8) !important;
  }

  .card-custom {
    padding: 1%;
  }
}

@media (min-width: 1216px) and (max-width: 1330px) {
  #ProtokollTable {
    transform: scale(0.9) !important;
  }

  #ProtokollControls {
    transform: scale(0.9) !important;
  }

  .card-custom {
    padding: 1%;
  }
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  color: white;
}

td,
th {
  position: relative;
  padding: 15px 15px;
  text-align: center;
  font-size: 20px;
  background-color: transparent;
}

td::after,
th::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  max-height: 5px;
  width: 100%;
  background-color: var(--Main_Background);
  border-radius: 5px;
  box-shadow: 0 4px 4px #0e1411;
}


.Customtable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 5px;
  color: white;
}

.Customtd,
.Customth {
  position: relative;
  padding: 15px 15px;
  text-align: center;
  font-size: 15px !important;
  background-color: transparent;
}

.Customtd::after,
.Customth::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  max-height: 5px;
  width: 100%;
  background-color: var(--Main_Background);
  border-radius: 5px;
  box-shadow: 0 4px 4px #0e1411;
}

.Success_toast {
  visibility: hidden;
  min-width: 200px;
  background-color: var(--Main_Background);
  box-shadow: 0 10px 15px #0e1411;
  border-radius: 10px !important;
  color: #fff;
  text-align: center;
  padding: 16px;
  position: fixed;
  z-index: 1;
  right: 0;
  top: 40px;
  font-size: 17px;
  transition: visibility 0s, opacity 0.5s linear;
  z-index: 2;
}

.Error_toast {
  visibility: hidden;
  min-width: 200px;
  background-color: rgb(161, 42, 42);
  box-shadow: 0 10px 15px #0e1411;
  border-radius: 10px !important;
  color: #fff;
  text-align: center;
  padding: 16px;
  position: fixed;
  z-index: 1;
  right: 0;
  top: 40px;
  font-size: 17px;
  transition: visibility 0s, opacity 0.5s linear;
  z-index: 2;
}

#toast.show {
  visibility: visible;
  animation: slide-in 2s forwards, slide-out 2s 3s forwards;
}

#progress {
  height: 5px;
  background: #325241;
  width: 0;
  border-radius: 5px;
  margin-top: 10px;
}

#toast.show #progress {
  animation: progress 4.5s linear;
}

@keyframes slide-in {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes slide-out {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes progress {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.grid-container41 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.grid-item {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.grid-item-rooms {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 5px;
}


.grid-item select {
  margin-left: auto;
}


.grid-container-rooms {
  width: 100%;
  display: grid;
  gap: 10px;
}

@media (min-width: 0px) {
  .grid-container-rooms {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (min-width: 800px) {
  .grid-container-rooms {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .grid-container-rooms {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1400px) {
  .grid-container-rooms {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1700px) {
  .grid-container-rooms {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 2000px) {
  .grid-container-rooms {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 2300px) {
  .grid-container-rooms {
    grid-template-columns: repeat(7, 1fr);
  }
}

@media (min-width: 2600px) {
  .grid-container-rooms {
    grid-template-columns: repeat(8, 1fr);
  }
}

@media (min-width: 2900px) {
  .grid-container-rooms {
    grid-template-columns: repeat(9, 1fr);
  }
}

@media (min-width: 3200px) {
  .grid-container-rooms {
    grid-template-columns: repeat(10, 1fr);
  }
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  max-width: 100%;
  height: 4px;
  background-color: #3a835c;
}


#loading-screen {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(to bottom, #292C37 0%, #293C32 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9;
}

.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #292C37;
  border-right: 16px solid #292C37;
  border-bottom: 16px solid #292C37;
  border-left: 16px solid #365344;
  width: 120px;
  height: 120px;
  box-sizing: border-box;
  animation: spin 2s linear infinite;
}

.PacManloader {
  position: relative;
  border: 24px solid yellow;
  border-radius: 50%;
  box-sizing: border-box;
  animation: eat 1s linear infinite;
}

.PacManloader::after,
.PacManloader::before {
  content: '';
  position: absolute;
  left: 50px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  box-sizing: border-box;
  opacity: 0;
  animation: move 2s linear infinite;
}

.PacManloader::before {
  animation-delay: 1s;
}

@keyframes eat {

  0%,
  25%,
  49% {
    border-right-color: yellow
  }

  50%,
  75%,
  100% {
    border-right-color: #0000
  }
}

@keyframes move {
  0% {
    left: 75px;
    opacity: 1
  }

  50% {
    left: 0px;
    opacity: 1
  }

  52%,
  100% {
    left: -5px;
    opacity: 0;
  }
}


@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.Simcanvas {
  background-color: black;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.controls {
  text-align: center;
  margin-bottom: 10px;
  background-color: #222224;
  box-shadow: 0 5px 15px #0e1411;
  padding: 10px;
  position: sticky;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.controls button {
  background-color: transparent;
  border: none;
  margin: 0 5px;
}

.controls button img {
  height: 40px;
  transition: transform 0.5s ease-in-out;
}

.controls button:hover img {
  transform: scale(1.3);
}

#page_num_count,
#page_num,
#page_count {
  color: white;
}

#pdf-container {
  flex-grow: 1;
  overflow: auto;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px auto;
}

#pdf-viewer {
  width: 90%;
  height: 100%;
}