/**
 * Grundregeln der klassischen Plantafel für Hauptbereich, Ressourcenliste und Werkzeugleiste. Modern.css überschreibt gezielt diese Basis.
 */
/*===================================================================*/
/*                          Haupt-Container                          */
/*===================================================================*/

.wrapper {
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  height: 98%;
  overflow: hidden;
  overflow-x: hidden;
  overflow-y: hidden;
}

.menucontainer {
  position: absolute;
  top: 10px;
  height: 40px;
  left: 10px;
  right: 10px;
  user-select: none;
}

#buttonmenu {
  height: 32px;
  z-index: 200;
  color: #ffffff;
  z-index: 210;
  position: absolute;
  width: 323px;
  display: flex;
}

/*===================================================================*/
/*                Item-Typ und Timeline-Menüleiste                   */
/*===================================================================*/
/* Item-Typ Menüelemente */
.item-type-btn {
  margin-bottom: 5px;
  padding: 8px 12px;
  cursor: pointer;
  border: none;
  background-color: #ffffff;
  color: #fff;
  font-size: 14px;
}
.item-type-btn.active {
  background-color: #ffffff;
}
.menu {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  top: 10em;
}

/* Item-Typ Menüelemente */
#buttonmenu a {
  font-size: 2vh;
  text-decoration: none;
  background-color: #aaaaaa;
  color: #000000;
  display: inline-block;
  height: 21px;
  width: 33%;
  text-align: center;
  border: none;
  margin-right: 0px;
  margin-top: 4px;
  padding-top: 7.5px;
  padding-bottom: 7.5px;
  border: solid 1px gray;
  overflow: hidden;
  z-index: 250;
  box-shadow: inset 0px -5px 2px -1px #00000022;
}
#buttonmenu a:hover {
  background-color: #c8c8c8;
}
#buttonmenu a.active {
  background-color: #ffffff;
  color: #000000;
  z-index: 251;
  border-bottom: inset 1px white;
  border-left: groove 2px;
  box-shadow: 5px 0px 2px -1px #00000033;
}
#buttonmenu a:active {
  background-color: #999999;
}

/* Timeline-Menüleiste */
.menucontainer #timelinemenu {
  position: absolute;
  display: inline-flex;
  margin: 0px;
  padding: 1px 1px 2px 2px;
  right: 0px;
  background-color: lightgray;
  border-right: groove 2px;
  border-bottom: none;
  text-align: right;
  top: 4px;
  z-index: 100;
  border-top: groove 2px;
  border-left: groove 2px;
  border-bottom: none;
}

/* Eingabefeld */
.menucontainer #timelinemenu .menu-inp,
.menu-inp-gotoDate {
  position: relative;
  top: 3px;
  height: 20px;
  bottom: 4px;
  border-radius: 0px;
  border: inset 2px;
  font-size: 10pt;
}

/* Vertikale Trennlinie innerhalb des Menüs */
.menucontainer #timelinemenu .menu-div {
  display: inline-block;
  width: 1px;
  margin-left: 3px;
  margin-right: 2px;
  margin-top: 2px;
  height: 28px;
  margin-bottom: -3px;
  border-left: ridge 2px;
}

/* Menü-Schaltfläche */
.menucontainer #timelinemenu .menu-btn {
  height: 32px;
  width: 32px;
  border-radius: 0px;
  /*border: solid 1px black;*/
  border: none;
  background-color: #d0d0d0;
  margin-right: 1px;
  margin-left: 1px;
  padding-left: 8px;
  padding-top: 3px; /*border-bottom: solid 1px #777;
	border-right: solid 1px #777;*/
}
.menucontainer #timelinemenu .menu-btn:hover {
  border: outset 2px;
  padding-left: 6px;
}
.menucontainer #timelinemenu .menu-btn:active {
  background-color: #aaa;
  border: inset 2px;
}
.menucontainer #timelinemenu .menu-btn img {
  height: 20px;
  margin-left: -2px;
}

/*===================================================================*/
/*                    Container für Ladeanimation                    */
/*===================================================================*/
#loadstatus {
  visibility: visible;
  opacity: 1;
  position: fixed;
  top: 36%;
  left: 43%;
  width: 14vw;
  height: 14vw;
  background-color: #0000007a;
  border-radius: 35px 35px 35px 3px;
  color: white;
  box-shadow: 5px 5px 20px 5px #0000002f;
  text-align: center;
  font-weight: bold;
  z-index: 20;
}

#loadstatus > img {
  align-self: center;
  align-content: center;
  text-align: center;
  width: 6vw;
  height: 6vw;
  position: relative;
  left: 4vw;
  top: 2.5vw;
  margin-bottom: 4.5vw;
  display: block;
  filter: brightness(10) blur(0.8px);
}

.boxabgesetzt {
  border-style: inset;
  border-width: 1px;
  background-color: #fafafa;
  border-radius: 4px;
}

/*===================================================================*/
/*                  Container für Benachrichtigungen                 */
/*===================================================================*/
.notification-container {
  position: fixed;
  bottom: 30px;
  right: 10px;
  z-index: 1000;
  width: fit-content;
  margin-top: 70px;
  height: fit-content;
  max-height: 85vh;
  overflow-y: scroll;

  /* Die Scrollbar soll unsichtbar sein */
  &::-webkit-scrollbar {
    width: 0px;
  }
  &::-webkit-scrollbar-thumb {
    background-color: transparent;
  }
  &::-webkit-scrollbar-track {
    background-color: transparent;
  }
}
.notification {
  padding: 10px;
  background-color: #333333cc;
  border-radius: 5px;
  box-shadow: 5px 5px 20px 5px #0000002f;
  max-width: 300px;
  color: white;
  margin-bottom: 10px;

  & .notification-close {
    float: right;
    top: 0px;
    right: 0px;
    height: 25px;
    width: 25px;
    border-radius: 50%;

    /* Der Text soll um das Objekt herum fließen */
    shape-outside: circle(50%);
    float: right;
    margin-left: 10px;
  }
}
