
.offset {

}

.outer {
  position:relative;
}

.calendar {
    margin: 0 auto;
  max-width: 100%;
  min-width: 500px;
  box-shadow: 0px 30px 50px rgba(0, 0, 0, 0.2) ,0px 3px 7px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
.wrap {

  overflow-x: hidden;
  overflow-y: scroll;
	max-width: 100%;
  height: 500px;
  border-radius: 8px;
}


.header {
  background: #fff;
  padding: 1rem;
  color: rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px 8px 0px 0px;
}

.header h1 {
 font-size: 1.25rem;
 text-align: center;
 font-weight: normal;

}

.event .eventbutton {
  border: none;
  color: white;
  padding: 5px 5px;
  height: 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border: 2px solid #555555;
  font-size: 12px;
  border-radius: 2px;
  white-space: nowrap;
  margin-top: 5px;
}
.event .eventbutton.negativ {
	background-color: #e02639;
}
.event .eventbutton.positiv {
	background-color: #4CAF50; 
}
.event .eventbutton.positiv:hover {
	border: 2px solid black;
	background-color: #58db5d;
}
.event .eventbutton.negativ:hover {
	border: 2px solid black;
	background-color: #ed4c5c;
}

.calendartable thead {
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2);
}

.calendartable thead, .calendartable th {

  text-align: center;
  width: 100%;

}
.calendartable tbody {
    position: relative;
  top: 100px;
}
.calendartable {
position:relative;
  background: #fff;
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  table-layout: fixed;

}


.calendartable thead, .calendartable th {
  font-size: 1rem;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.9);
  padding: 1rem;
}

.calendartable thead {
    z-index: 2;
    background: white;
    border-bottom: 2px solid #ddd;

}

.calendartable tr, .calendartable tr, .calendartable td {
  height: 50px;
}
.calendartable td {
  text-align: center;
}
.calendartable tr:nth-child(odd), .calendartable td:not(.headcol) {
  border-bottom: 1px solid #e8e8e8;
}

.calendartable tr:nth-child(even), .calendartable td:not(.headcol) {
  border-bottom: 1px solid #eee;
}

.calendartable tr, .calendartable td {
  border-right: 1px solid #eee;
  padding: 0;
  white-space: none;
  word-wrap: nowrap;
}

.calendartable tbody, .calendartable tr, .calendartable td {
  position: relative;
  vertical-align: top;
  height: 40px;
  padding: 0.25rem 0.25rem 0 0.25rem;
  width: auto;

}

.headcol {
white-space: pre-wrap;
  width: 150px;
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.5);
  padding: 0.25rem 0;
 
  border: 0;
  top: -12px;
  border-bottom: 1px solid transparent;
}

.calendartable .secondary {
  color: rgba(0, 0, 0, 0.4);
}


.checkbox {
   display: none;
}

.checkbox + label {
    border: 0;
    outline: 0;
    width: 100px;
    background: white;
    color: transparent;
    display:block;
  display: none;
}

.checkbox:checked + label {
    border: 0;
    outline: 0;
    width: 100%;
    heigth: 100%;
    background: red;
    color: transparent;
    display: inline-block;
}

.calendartable .event {
  background: #00B4FC;
  color: white;
  border-radius: 2px;
  text-align: left;
  font-size: 0.875rem;
  z-index: 2;
  padding: 0.5rem;
  overflow-x: hidden;
  transition: all 0.2s;
  position: absolute;
}

.calendartable .event.passiv {
  background: #c4cccb;
}

.calendartable .event:hover {
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.4);
  background: #1293c7;
}
.calendartable .event.passiv:hover {
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.4);
  background: #898f8e;
}

.calendartable .event.double {
  height: 400%;
}

/**
thead {
    tr {
      display: block;
      position: relative;
    }
  }
tbody {
    display: block;
    overflow: auto;
    width: 800px;
    height: 100%;
  }
*/





button.secondary {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: white;
  padding: 0.5rem 0.75rem;
  font-size: 14px;
  border-radius: 2px;
  color: rgba(0, 0, 0, 0.5);
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-weight: 500;
}

button.secondary:hover {
  background: #fafafa;
}
button.secondary:active {
  box-shadow: none;
}
button.secondary:focus {
  outline: 0;
}



.calendartable .today {
  color: red;
}

.calendartable .now {
  box-shadow: 0px -1px 0px 0px red;
}

.icon {
  font-size: 2.5rem;
  margin: 0 1rem;
  text-align: center;
  cursor: pointer;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.icon:hover {
  color: red;
}