html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-y: clip;
}

#map { height: 100vh; width: 100vw;}
#out { height: 25vh; width: 100vw; z-index: 1050;}
#outputContainer {
  height: 100%;
  width: 100vw;
  padding: 10px;
  display: flex;
  flex-direction: row; 
}
#btns {
  height: 100%;
  width: 20%;
  padding: 10px;
  display: flex;
  flex-direction: column;
}
#inputContainer {
  height: 100%;
  width: 100vw;
  padding: 10px;
  display: flex;
  flex-direction: row; 
}
.inputTextarea {
  width: 100%;
  height: 100%;
  resize: none; /* Disallow vertical resizing */
  background-color: var(--editor-textarea-color);
  color: var(--editor-textarea-text);
  font-family: "Consolas", sans-serif;  
  font-size: 15px;
}
#outputTextarea {
  width: 80%;
  height: 100%;
  resize: none; /* Disallow vertical resizing */
  background-color: var(--editor-textarea-color);
  color: var(--editor-textarea-text);
  font-family: "Consolas", sans-serif;  
  font-size: 15px;   
}
#scenario, #components, #output {
  padding-bottom: 50px;
}
#copyOutputBtn {
  width: 100%;
  height: 100%;
  margin-left: 0px;
}
.name-label {
  position: absolute;
  background-color: transparent; /* No background */
  color: red; /* Bright red color */
  font-weight: bold;
  pointer-events: none;
}
.center-marker {
  color: #0b60cf;
  font-size: 20px;
  font-weight: bold;
  cursor: move;
}

ul#arrayList {
    list-style-type: none;
    height: 100%; /* Set a fixed height for vertical scrolling */
    overflow-y: auto; /* Enable vertical scrolling */
    width: 100%; /* Adjust width as needed */
    padding-left: 0px;
    padding-bottom: 50px;
}

.custom-li {
    width: 100%;
    overflow: hidden;
    padding: 4px 0 4px 0;
    border-bottom: 1px solid #ccc;
}

.custom-li button {
    float: right;
    width: 25%;
    margin-left: 5px;
}
.custom-li select {
    float: right;
    width: 25%;
    margin-left: 5px;
    padding: 6px;
}


.warning-icon {
    font-size: 24px;
    color: red;
    cursor: help; /* Change cursor to a help cursor */
}

#out {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
}


@media only screen and (max-width: 768px) {
.warning-icon {
    font-size: 24px;
    color: orange;
    cursor: help; /* Change cursor to a help cursor */
}


#out {
  height: 40%;
  width: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

#map {
  height: 60%;
}
#outputContainer {
  width: 100%;
  z-index: 1050;
}
#outputTextarea {
  width: 65%;
  padding: 0;
}
#inputContainer {
  width: 100%;
  z-index: 1050;
}
#inputTextarea {
  width: 65%;
  padding: 0;
}
#btns {
  width: 25%;
  padding: 0;
}

ul#arrayList {
  width: 100%;
}
}


.collapsing {
  transition: none !important;
}
/*.collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  -webkit-transition-property: height, visibility;
  transition-property: height, visibility;
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -webkit-transition-timing-function: ease;
  transition-timing-function: ease;
}*/

.button-1 {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.button-2 {
  border-radius: 0px;
}

.button-3 {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.editor-side-button {
  position: relative;
  width: 30px;
  height: 30px;
  text-align: left;
  margin: 0px;
  z-index: 1100;
  background-color: #ffffff;
  border: none;
}

.editor-side-button:hover {
  position: relative;
  text-align: left;
  z-index: 1100;
  background-color: #f4f4f4;

}
.editor-side-button:focus {outline:none;} 
.editor-side-button::-moz-focus-inner {border:0;}


.fixed-side-buttons {
  position: absolute;
  top: 10px;
  left: 50px;
  width: 34px;
  height: 64px;

  float: left;
  clear: both;
  z-index: 1100;
  display: grid;
  background-clip: padding-box;
  background-color: rgba(0,0,0,0.2);
  border: 2px solid rgba(0,0,0,0.2);
  border-radius: 4px;
}

.fixed-side-buttons:focus {outline:none;} 
.fixed-side-buttons::-moz-focus-inner {border:0;}

.fixed-top-info {
  position: fixed;
  top: 10px;
  left: 90px;
  width: auto;
  text-align: left;
  z-index: 1100;
  display: grid;
  background-color: #ffffff00;
  border: 2px solid rgba(0,0,0,0);
  border-radius: 5px;
}

.fixed-top-info h3 {
  font-weight: bold;
}

.warning p {
  font-weight: bold;
  color: rgb(255, 166, 0);
}

.error p {
  font-weight: bolder;
  color: red;
}


.fixed-bottom-buttons {
    position: fixed;
    bottom: 10px;
    width: 100%;
    display: flex;
    text-align: left;
    z-index: 1100;
}

.tab-btn {
    z-index: 1;
    margin-left: 10px;
}

/* Für alle Tabs */
/*#myGroup {
    z-index: 1000;
    position: fixed;
    bottom: 60px;
    height: 40vh;
    width: 100vw;
}*/
#myGroup {
    height: 40vh;
}
.fixed-collapse {
    position: fixed;
    z-index: 1050;
    bottom: 0px;
    height: 40vh;
    width: 100vw;
    overflow-y: clip;
    background-color: var(--editor-menu-color);
    color: var(--editor-menu-text);
}
.accordion-group {
    height: 100%;
}


/* Tab V & B */
#hv {
    padding: 10px;
    overflow-y: none;
    padding-bottom: 50px;
}
.createBtns {
    padding-bottom: 10px;
}


/* CUSTOM CODE */
#custom {
    padding: 10px;
    float: left;
    padding-bottom: 100px;
}
#custom h2, h5 {
    display: inline-block;
}
#custom h5 {
    float: right;
}
#customCode {
    width: 100%;
    height: 100%;
    resize: none; /* Disallow vertical resizing */
    background-color: var(--editor-textarea-color);
    color: var(--editor-textarea-text);
}

/* P&S */
#station {
    padding: 10px;
    padding-bottom: 50px;
}

#plattform {
    padding: 10px;
    padding-bottom: 50px;
}

#plattformList {
    list-style-type: none;
    height: 100%; 
    overflow-y: auto; 
    width: 100%; 
    padding-left: 0px;
    padding-bottom: 50px;
    margin-bottom: 60px;
}
#stationList {
    list-style-type: none;
    height: 100%; 
    overflow-y: scroll; 
    width: 100%; 
    padding-left: 0px;
    padding-bottom: 50px;
    margin-bottom: 60px;
}/*
.ps-li {
    width: 100%;
    overflow: hidden;
    padding: 4px 0 4px 0;
    border-bottom: 1px solid #ccc;
}

.ps-li button {
    float: right;
    width: 25%;
    margin-left: 5px;
}
.ps {
    margin-bottom: 60px;
    width: 100vw;
    height: auto;
    overflow-y: clip;
}*/

/* Tutorial */
.driver-popover.driverjs-theme {
  background-color: white;
  color: #000;
  min-width: 30vw;
}

.driver-popover.driverjs-theme .driver-popover-title {
  font-size: 20px;
}

.driver-popover.driverjs-theme .driver-popover-title,
.driver-popover.driverjs-theme .driver-popover-description,
.driver-popover.driverjs-theme .driver-popover-progress-text {
  color: #000;
  padding-right: 10px;
}

.driver-popover.driverjs-theme button {
    margin-top: 0px;
    padding: 5px 10px 5px 10px;
    background-color: rgb(33, 94, 173);
    color: white;
    border: 0px;
    border-radius: 5px;
    flex: 1;
    text-align: center;
    text-shadow: none;
}

.driver-popover.driverjs-theme button:hover {
    background-color: rgb(50, 110, 190);
    color: #ffffff;
}

.driver-popover.driverjs-theme .driver-popover-navigation-btns {
  justify-content: space-between;
  gap: 3px;
}

.driver-popover.driverjs-theme .driver-popover-close-btn {
  color: #9b9b9b;
}

.driver-popover.driverjs-theme .driver-popover-close-btn:hover {
  color: #000;
}

/* Speicher Animation */

#save_project_box {
  width: 50px;
  height: 47px;  
  padding: 0;
  margin: 0;
  outline: 0;
  border: 0;
  z-index: 2010;
  box-shadow: none;
  position: fixed;
  top: 50px;
  right: 0px;
  padding: 10px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.animClass {
  animation: saveAnimation 1s ease-in-out 1 forwards;
}

@keyframes saveAnimation {
  0% {
    visibility: visible;
  }

  100% {
    visibility: hidden;
  }
}