html, body {
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
  box-sizing:border-box;
} 
::-webkit-scrollbar {
  width: 1.5vh;
}

/* Track */
::-webkit-scrollbar-track {
  background: #000; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #888; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #f00; 
}

body{
    background: #000;
    color: #fff;
    padding: 0px;
    margin:0px;
    font: 400 0.9em 'Open Sans', Arial, Helvetica, sans-serif;
    background: linear-gradient(to top left, #000, #222);
    background-repeat: cover;
    height: 100vh;
    overflow: hidden; 
}
body *{
    font: 400 1.0em 'Open Sans', Arial, Helvetica, sans-serif;
    color: #fff;
    -webkit-transition: background 0.6s; 
    -moz-transition: background 0.6s; 
    -o-transition: background 0.6s; 
    transition: background 0.6s; 
}

h1 > a{
  text-decoration: none;
}

#msg{
  position:absolute;
  border:0px;
  z-index:10000;
  opacity: 0.9;
  display:inline-block;
  margin:auto;
  top: 5px;
  overflow:auto;
  padding:0px;
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 100%;
  font-size: 2em;
}

.error{
  background-color:#f00;
}

.ok{
  background-color:#0f0;
}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#loading{
  content: "";
	background: url(/images/loading.png);
  background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
  height:30px;
	width:30px;
	border:0;
	display: inline-block;
}

.rotate{
	-webkit-animation:spin 8s linear infinite;
  -moz-animation:spin 8s linear infinite;
  animation:spin 8s linear infinite;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

input[type="time"]::-webkit-calendar-picker-indicator {
   filter: invert(0.5) sepia(1) saturate(5) hue-rotate(175deg);
}

input[type="date"]::-webkit-calendar-picker-indicator {
   filter: invert(0.5) sepia(1) saturate(5) hue-rotate(175deg);
}

input,textarea,select {
  appearance: none;
  -webkit-appearance: none;
  margin-bottom: 0.5vh;
  border-top: none;
  border-left: none;
  background-color:#333;
  outline: none;
  caret-color: white;
  border-width: 1px;
  border-color: #ddd;
  border-radius: 2px;
  box-shadow:  0 4px 10px 0 rgb(255 255 255 / 20%), 0 3px 10px 0 rgb(255 255 255 / 16%);
}

input::placeholder {
  text-align: center;
  font-family: 'terminal', sans-serif;
  font-style: italic;
}

.btn, input[type=button],input[type=submit] {
  background: rgba(255,255,255,.2);
  padding: 0.5vh;
  border-top: none;
  cursor: pointer;
  border-radius: 2px;
  margin: auto;
}

.btn{
  display: inline-block;
}

.btn:hover:not([disabled]), input[type=button]:hover:not([disabled]), input[type=submit]:hover:not([disabled]) {
  background-color: #f00;
}

button:disabled, input:disabled, optgroup:disabled, select:disabled, textarea:disabled {
	background: none;
	color:#ababab;
	background-color: #fff;
}

.flach{
  padding-top: 0vh;
  padding-bottom: 0vh;
}

ul.myMenu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333;
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
}

li.myMenu {
  float: left;
  border-right: 1px solid #bbb;
  min-width: 15vh;
}

li.myMenu a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

li.myMenu span {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

li.myMenu a:hover {
  background-color: #f00;
}

.myMenu .active {
  background-color: #800;
}

li.myMenu:last-child {
  border-right: none;
}

#login{
    background: #000;
    color: #fff;
    padding: 0px;
    margin:0px;
    text-align: center;
    font: 400 2em 'Open Sans', Arial, Helvetica, sans-serif;
    background: linear-gradient(to top left, #000, #111);
    background-repeat: cover;
    //display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; 
}

#myBody{
  height: 93vh;
}

#myHead{
  min-height: 5vh;
  box-shadow: 0 16px 32px 0 rgb(255 255 255 / 40%), 0 6px 20px 0 rgb(255 255 255 / 38%);
}

#myContext{
  overflow:hidden;
  display: flex;
  box-shadow: 0 16px 32px 0 rgb(255 255 255 / 40%), 0 6px 20px 0 rgb(255 255 255 / 38%);
}

.liste{
  min-width: 12%;
  height: 88vh;
  max-height: fit-content;
  overflow:auto;
  margin-right: 10px;
}

.context{
  min-width: 75%;
  overflow:auto;
  height: 88vh;
  max-height: fit-content;
  font-size: 1.1em;
  border-left: 1px solid #bbb;
  padding-left: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content : space-between;
  align-items: flex-start;
}

.clickMe{
  cursor: pointer;
  padding: 2px;
  margin: 2px;
  white-space: nowrap;
}

.clickMe::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 700;
  content: "\f061\00a0";
  color: '#fff';
}

.clickMe:hover {
  background-color: #f00;
}

.selected{
  background-color: #666;
  color: #FFF !important;
}

form > label{
  display: inline-block;
  min-width: 10vw;
}

.label {
  display: inline-block;
  min-width: 10vw;
}

#wochenplan > div{
  display: flex;
  direction: row;
  flex-wrap : nowrap;
  overflow: auto;
}

#wochenplan > div > div{
   white-space: nowrap;
}

.smaller{
  font-size: 0.7em;
}

.smallersmaller{
  font-size: 0.5em;
}

.nobr{
  white-space: nowrap; 
}

.padding10{
  padding: 10px;
}

.strichrechts{
  border-right: 1px;
  border-right-style: solid;
}

.wtag{
  white-space: nowrap;
}

.flex{
  display: flex;
  direction: row;
  flex-wrap : nowrap;
}

.RahmenRechtsUnten{
  border-right: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  padding: 10px;
}

.planung{
  width:100%;
  overflow:hidden;
}  

.planungsKopf{
  position: sticky;
  top: 0;
  background-color: #333;
  padding-top: 10px;
  padding-bottom: 0px;
}

.planungsListe{
  width:100%;
  height: 88vh;
  max-height: fit-content;
  overflow-y: scroll;
  overflow-x: hidden;
}

.planContainer{
  display: flex;
  direction: row;
  flex-wrap : nowrap;
  width: 99.9%;
  padding:5px 5px 5px 5px;
}

.pTag{
  width:8%;
}

.pVormittag{
  width:42%;
  background-color: #666;
  border-right: 1px solid #bbb;
}

.pNachmittag{
  width:42%;
  background-color: #888;
  border-right: 1px solid #bbb;
}

.pNotdienst{
  width:8%;
  background-color: transparent;
}

.pnix{
  background-color: transparent;
}

.pnix *{
  background-color: transparent;
  opacity: 0.5;
}

.pp{
  display: flex;
  flex-direction: row;
  flex-wrap : nowrap;
  justify-content : space-between;
  align-items : stretch;
  align-content : stretch;
  height: 100%;
}

.pp > div{
  flex: 1 1 0;
  text-align: center;
  justify-content: center;
  align-items: center;
  border-right: 1px solid #bbb;
}

.pp * {
  margin: 0px;
  padding: 0px;
}

.pp select {
  width: 100%;
}

.samstag{
  background-color: #222;
}
.sonntag{
  background-color: #444;
}

.feiertag{
  background-color: #900;
}

.halberFeiertag{
  background: linear-gradient(90deg, rgba(255,0,0,.3), #900);
}

.notdienst{
  background: linear-gradient(352deg, rgba(34,36,0,1) 0%, rgba(100,100,0,1) 52%);
}

.notdienst > .pNotdienst {
  background-color: #333;
}

.heute{
  border: 2px solid #990;
}

.funktion1{
  background-color: rgba(128,128,0,.7);
}

.funktion2{
  background-color: rgba(128,90,0,.7);
}

.funktion3{
  background-color: rgba(0,128,0,.7);
}

.center{
  text-align: center;
  justify-content: center;
  align-items: center;
}

.statusSelect{
  text-align: center;
  justify-content: center;
  align-items: center;
  text-align-last:center;
  width: 100%;
}

.statusSelectNotdienst{
    width: 100%;
}

.statusSelect * {
  text-align: center;
  justify-content: center;
  align-items: center;
}

.arbeitet{
  background-color: rgba(0,255,0,.8);
  line-height: 2;
  color: #000;
}

.fehlt{
  background-color: rgba(255,255,0,.7);
  line-height: 2;
}

.rot{
  background-color: rgba(255,0,0,.9);
  line-height: 2;
}

.gruen{
  background-color: rgba(0,255,0,.9);
  line-height: 2;
}

.kursiv{
  font-style: italic;
}

.durchgestrichen{
  text-decoration: line-through;
}

.grau{
  color: #666;
}

.schwarz{
  color: #000;
}

.padding4px{
  padding: 4px;
}

.hinweis{
  padding: 10px;
  margin: 10px;
  background-color: #ff0;
  color: #000;
}

.hinweis > * {
  color: #000;
}

.org_appearance{
  appearance: auto;
  -webkit-appearance: auto;
}

.maxHeight70prozent{
  overflow: auto;
  max-height: 70%;
}

.erklaerung  {
  margin-left: 7%;
  display: inline-block;
  background-color: #dddd00;
  color: #000;
  padding-left: 5px;
  padding-right: 5px;
  font-size: 0.9vw;
}

.erklaerung *{
  color: #000;
}