/**
 * Anwendungsspezifische Darstellung der VIS-Zeitachse. Dies ist eigenes CSS; die unveränderte VIS-Bibliothek liegt in vis-tl.js.
 */
/*===================================================================*/
/*                          Haupt-Container                          */
/*===================================================================*/
.visualization-container {
  position: absolute;
  top: 50px;
  bottom: 15px;
  left: 340px;
  right: 10px;
}

/*===================================================================*/
/*                       Timeline-SubContainer                       */
/*===================================================================*/
#visualization {
  position: absolute;
  width: 100%;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  height: 100%;
  /*border-top: 3px solid lightgray;
    border-bottom: 2px solid lightgray;
    border-left: 5px solid lightgray;
    border-right: 0px;
    /*border-style:groove;*/
  font-size: 12pt;
  background-color: #ffffff;
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  overflow: hidden;
}
div.vis-timeline {
  border: groove 2px;
}

/*===================================================================*/
/*                            Timeline-Optik                         */
/*===================================================================*/

.vis-time-axis .vis-grid.vis-odd {
  background: #00000000;
}

.vis-today.vis-even {
  background: lightyellow;
}

.vis-today.vis-grid.vis-even {
  background: none;
}

.vis-today.vis-grid.vis-odd {
  background: none;
}

.vis-today.vis-odd {
  background: #faf1bb;
}

/*===============================================================*/
/*           Auftrags-Elemente in Mitarbeiter-Planung			 */
/*===============================================================*/

.vis-item.Mitarbeiter {
  width: 100%;
  position: absolute;
  left: 0px;
  /*height: 3.3vh !important;*/
  height: fit-content;
  max-height: 40vh;
  padding: 0px 0px 1px 0px;
  & span {
    & b {
      font-size: 10pt;
      display: inline-block;
      position: relative;
      top: -6px;
      left: 10px;
    }
    & font {
      font-size: 8pt;
      display: inline-block;
      position: absolute;
      top: 12pt;
      left: 13px;
    }
  }
  & .vis-item-content div {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    width: 12px;
    flex-wrap: wrap;
    padding-left: 1px;
    background-color: blue;
    background: repeating-linear-gradient(
      45deg,
      #22222200,
      #22222200 1px,
      #0000001a 2px,
      #0000001a 3px
    );
  }
}

/*Items die die Klasse mitarbeiter und freigegeben besitzen*/
.vis-item.Mitarbeiter.freigegeben {
  /* Bekommen einen gestrichelten Rand in gleicher Farbe wie mitarbeiter*/
  border: 1px solid #4f9c1c;
  /* und eine hintergrundfarbe die heller ist als #d5ddf6*/
  background-color: #bee6c2;
}

/*Items die die Klasse mitarbeiter und freigegeben besitzen*/
.vis-item.Mitarbeiter.freigegeben.vis-selected {
  /* Bekommen einen gestrichelten Rand in gleicher Farbe wie mitarbeiter*/
  border: 1px solid #4f9c1c;
  outline: 1px solid #4f9c1c;
  /* und eine hintergrundfarbe die heller ist als #d5ddf6*/
  background-color: #f8f4b4;
}

/*Items die die Klasse mitarbeiter und simulation besitzen*/
.vis-item.Mitarbeiter.simulation {
  /* Bekommen einen gestrichelten Rand in gleicher Farbe wie mitarbeiter*/
  border: 2px dashed #ff0000;

  /* und eine hintergrundfarbe die heller ist als #d5ddf6*/
  background-color: #ffdc8c;
}

/*Items die die Klasse mitarbeiter und simulation besitzen*/
.vis-item.Mitarbeiter.simulation.vis-selected {
  /* Bekommen einen gestrichelten Rand in gleicher Farbe wie mitarbeiter*/
  border: 2px dashed #97b0f8;
  /* und eine hintergrundfarbe die heller ist als #d5ddf6*/
  background-color: #f8f4b4;
}

/*===============================================================*/
/*           Mitarbeiter-Elemente in Auftrags-Planung			 */
/*===============================================================*/

.vis-item.Auftrag {
  width: 100%;
  position: absolute;
  left: 0px;
  height: 22px !important;
  max-height: 40vh;
  padding: 0px 0px 0px 0px;
  margin: 0px 0px;
  & span {
    & b {
      font-weight: normal;
      font-size: 8pt;
      display: inline-block;
      position: absolute;
      top: -1px;
      right: 3px;
    }
    & font {
      font-family: "MS Sans Serif", "Arial", sans-serif;
      font-size: 10pt;
      font-weight: bold;
      display: inline-block;
      position: absolute;
      top: -3px;
      left: 10px;
      background-color: #f5c0a8;
    }
  }
  & .vis-item-content div {
    position: absolute;
    top: -5px;
    bottom: -5px;
    left: 0px;
    flex-wrap: wrap;
    width: 12px;
    padding-left: 1px;
    background: repeating-linear-gradient(
      45deg,
      #22222200,
      #22222200 1px,
      #0000001a 2px,
      #0000001a 3px
    );
  }
}

/*===============================================================*/
/*        				  Fahrzeug-Elemente						 */
/*===============================================================*/

.vis-item.fahrzeug {
  width: 100%;
  position: absolute;
  left: 0px;
  height: 2.5vh !important;
  padding: 0px 0px 0px 0px;
  & span {
    font-size: 12pt;
    display: inline-block;
    position: relative;
    top: -6px;
    left: 10px;
    & font {
      font-size: 10pt;
      font-family: "Arial Narrow", "Arial", sans-serif;
      display: inline-block;
      position: absolute;
      top: 6pt;
      left: 20px;
    }
  }
  & .vis-item-content div {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    width: 12px;
    flex-wrap: wrap;
    padding-left: 1px;
    background-color: blue;
    background: repeating-linear-gradient(
      45deg,
      #22222200,
      #22222200 1px,
      #0000001a 2px,
      #0000001a 3px
    );
  }
}

/*===============================================================*/
/*                      Timeline-Elemente                        */
/*===============================================================*/
.vis-item-content img {
  height: 10px;
  position: relative;
  top: 0px;
  left: 0px;
  width: 10px;
}

.vis-item-content div {
  position: absolute;
  bottom: 1px;
  right: 1px;
  display: flex;
}

.vis-item-content font {
  position: absolute;
  height: 10pt;
  top: 4px;
  padding-left: 0.2em;
}

.vis-item-content {
  width: 100%;
  position: absolute;
  left: 0px;
  max-height: 4vh;
}

.vis-item-content span img {
  height: 20px;
  width: 20px;
}

/*===============================================================*/
/*                      Tooltip-Anzeige                         */
/*===============================================================*/
.vis-tooltip div {
  position: relative;
  font-size: 8pt;
  width: 100%;
  text-align: left;
  margin-top: 5px;
  & table {
    border-left: solid 1px gray;
    border-top: solid 1px gray;
    border-right: solid 1px lightgray;

    background-color: white;
    width: 100%;
    border-collapse: collapse;
    & td {
      border-bottom: solid 1px lightgray;
    }
  }
}

.vis-item.vis-background.freizeit {
  background-color: #ffffa461;
}

.vis-item.vis-background.wochenende {
  background: repeating-linear-gradient(
    45deg,
    #22222200,
    #22222200 0.5em,
    #c000174a 0.6em,
    #c000174a 0.7em
  );
  /*
		    background: repeating-linear-gradient(
        45deg,
        #22222200,
        #22222200 0.5em,
        #33333340 0.6em,
        #33333340 0.7em
    )*/
}

.vis-item-overflow {
  overflow-x: hidden !important;
}

.vis-group .fahrzeug {
  background-color: darkgrey;
  border-color: black;
}
.vis-group .fahrzeug .vis-item-content {
  padding: 2px;
  padding-top: 0px;
  font-weight: bold;
}

.vis-group .fahrzeug.vis-selected {
  background-color: #fff785;
}

/* Das ist die Farbe für die Timeline-Items wenn die Hauptdimension Aufträge ausgewählt ist
    Die Timeline-Items sind dabei die Mitarbeiter */
.vis-item.Auftrag,
.vis-item.Fahrzeug {
  background-color: #f5c0a8;
  border: 1px solid #ff9870;
}
.vis-item.Auftrag.vis-selected,
.vis-item.Fahrzeug.vis-selected {
  background-color: #fff785;
}

.vis-item.vis-range.Auftrag:hover,
.vis-item.vis-range.Fahrzeug:hover,
.vis-item.vis-range.fahrzeug:hover,
.vis-item.vis-range.Mitarbeiter:hover,
.vis-item.vis-range.Technik:hover {
  cursor: pointer !important;
}

.vis-drag-left {
  cursor: col-resize !important;
}

.vis-drag-right {
  cursor: col-resize !important;
}

.vis-drag-center {
  cursor: grab !important;
}

.vis-drag-center:active {
  cursor: grabbing !important;
}

.vis-item .vis-range .fahrzeug {
  height: 1px;
  background-color: red;
}

.vis-panel.vis-center {
  border: inset 2px #00000077;
}

.vis-foreground .vis-group {
  z-index: 300;
}

.vis-foreground .vis-group:hover {
  background-color: #c0001733;
}

.vis-time-axis.vis-foreground {
  background-color: #f5f5f5;
}

.vis-panel.vis-left {
  background-color: #f5f5f5;
}

.vis-panel.vis-center {
  cursor: crosshair;
}

#timemarker {
  background-color: darkblue;
  opacity: 0.35;
  width: 2px;
  top: 2px;
  bottom: 2px;
  left: 8300px;
  z-index: 10;
  position: absolute;
  mix-blend-mode: hard-light;
}

#grouphighlight {
  background-color: #c0001733;
  mix-blend-mode: multiply;
  height: 30px;
  width: 30px;
  z-index: 3000;
  position: fixed;
  top: 0px;
  left: 340px;
}

#timelineecke {
  position: absolute;
  left: 2px;
  top: 2px;
  height: 48px;
  width: 178px;
  background-color: #f5f5f5;
  z-index: 200;
}

/* Kontextmenü für eingeplante Terminobjekte */
#terminkontext,
.kontextmenue {
  visibility: hidden;
  display: none;
  position: fixed;
  z-index: 3000;
  float: left;
  top: 1px;
  left: 1px;
}

#sprechblase {
  display: inline-block;
  background-color: #f5f5f5;
  /*border-radius: 1em;*/
  position: absolute;
  padding: 0.3vw;
  margin-top: 2vh;
  margin-left: 1vw;
  padding-bottom: 0px;
  font-family: "MS Sans Serif";
  color: black;
  font-size: 10pt;
  width: 190px;
  text-wrap: pretty;
  z-index: 50;
  /*outline: solid 1px black;*/
  box-shadow: 1px 2px 10px 2px #00000088;
}

#sprecheckerand {
  outline: none;
  height: 1px;
  width: 1.1vw;
  /* background-color: #f5f5f5; */
  rotate: none;
  z-index: 60;
  position: absolute;
  display: inline-block;
  left: 107px;
  top: 1.9vh;
}

#sprechecke {
  background-color: #f5f5f5;
  float: inline-end;
  position: absolute;
  left: 105px;
  top: 2vh;
  height: 1vw;
  width: 2vw;
  z-index: 55;
  rotate: 45deg;
  border-top: solid 1px gray;
  border-left: solid 1px gray;
  clip-path: polygon(0% 0%, 40% 0%, 0% 76%, 0% 0%);
  box-shadow: 1px 2px 10px #00000088;
}

.kontextbtn {
  position: relative;
  border-radius: 0px;
  border: outset 1px;
  /*border: none;*/
  background-color: #d0d0d0;
}

.kontextbtn:active {
  position: relative;
  border-left: solid 1px black;
  border-right: solid 1px lightgray;
  border-bottom: solid 1px lightgray;
  border-top: solid 1px black;
  background-color: darkgray;
}

.kontextbtn#links {
  left: 1px;
}

.kontextbtn#rechts {
  float: right;
  right: 2px;
}

#sprechblase .kontextwrapper {
  width: inherit;
  margin: 0px 0px 0px 0px;
  margin-bottom: -17px;
}

#sprechblase .kontextwrapper .mitteltext {
  text-align: center;
  padding-right: 5px;
}

#sprechblase .kontextwrapper input {
  display: inline-block;
  height: 14pt;
  font-size: 10pt;
  border-radius: 0;
  border: none;
  /*border-bottom: solid 1px black;*/
  box-shadow: inset 2px 2px 3px -1px #00000033;
  background-color: #ffffff;
  border: inset 1px;
  margin: 0px 2px 0px 3px;
}

#sprechblase .kontextwrapper #selectTeam,
option {
  display: inline-block;
  height: 14pt;
  font-size: 10pt;
  border-radius: 0;
  border: none;
  /*border-bottom: solid 1px black;*/
  box-shadow: inset 2px 2px 3px -1px #00000033;
  background-color: #ffffff;
  border: inset 1px;
  margin: 0px 2px 0px 2px;
  width: 98%;
}

#sprechblase .kontextwrapper .gruppentitel {
  color: #777;
  letter-spacing: 0.5pt;
  font-size: 9pt;
  font-weight: bold;
  height: 20pt;
  & td {
    position: absolute;
    margin-top: 6pt;
    border-top: solid 1px #bbb;
    text-align: center;
    width: 93.5%;
  }
}

#sprechblase .kontextwrapper #moveTime {
  position: absolute;
  right: 0.4vw;
  left: 60%;
  margin-left: 0px;
}

#sprechblase .kontextwrapper #moveDate {
  position: absolute;
  left: 0.4vw;
  right: 40%;
  margin-right: 0px;
}

.kontextbtn {
  min-width: 2.5em;
}
