@import url("multiselect/css/bootstrap-4.5.2.min.css");

/* roboto-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/roboto-v30-latin-300.eot'); /* IE9 Compat Modes */
  src: url('fonts/roboto-v30-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/roboto-v30-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/roboto-v30-latin-300.woff') format('woff'), /* Modern Browsers */
       url('fonts/roboto-v30-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/roboto-v30-latin-300.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/roboto-v30-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/roboto-v30-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/roboto-v30-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/roboto-v30-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/roboto-v30-latin-italic.eot'); /* IE9 Compat Modes */
  src: url('fonts/roboto-v30-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/roboto-v30-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/roboto-v30-latin-italic.woff') format('woff'), /* Modern Browsers */
       url('fonts/roboto-v30-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/roboto-v30-latin-italic.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/roboto-v30-latin-500.eot'); /* IE9 Compat Modes */
  src: url('fonts/roboto-v30-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/roboto-v30-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/roboto-v30-latin-500.woff') format('woff'), /* Modern Browsers */
       url('fonts/roboto-v30-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/roboto-v30-latin-500.svg#Roboto') format('svg'); /* Legacy iOS */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  /*font-smoothing: antialiased;*/
  text-rendering: optimizeLegibility;
}

body {
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-weight: 100;
  font-size: 12px;
  line-height: 30px;
  color: black;
  background: #acc7a4;
}

thead{
  position: sticky;
  position: -webkit-sticky;
  top: 0;
}

.tvhtml body{
  background-color: white;
  width: 100%;
}

.container {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.big-container {
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.mega-container {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.medium-container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.medium-content{
  background: #F9F9F9;
  padding: 25px;
  margin: 60px 0;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

.big-content{
  background: #F9F9F9;
  padding: 25px;
  margin: 60px 0;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}
.mega-content{
  background: #F9F9F9;
  padding: 25px;
  margin: 60px 0;
}

#contact input[type="text"],
#contact input[type="password"],
#contact textarea,
#contact select,
#contact button[type="submit"] {
  font: 400 12px/16px "Roboto", Helvetica, Arial, sans-serif;
}

#contact {
  background: #F9F9F9;
  padding: 25px;
  margin: 150px 0;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

#contact h3 {
  display: block;
  font-size: 30px;
  font-weight: 300;
  margin-bottom: 10px;
  text-align: center;
}

#contact h4 {
  margin: 5px 0 15px;
  display: block;
  font-size: 13px;
  font-weight: 400;
}

fieldset {
  border: medium none !important;
  margin: 0 0 10px;
  min-width: 100%;
  padding: 0;
  width: 100%;
}

#contact input[type="text"],
#contact input[type="password"],
#contact select,
#contact textarea {
  width: 100%;
  border: 1px solid #ccc;
  background: #FFF;
  margin: 0 0 5px;
  padding: 10px;
}

#contact input[type="text"]:hover,
#contact input[type="password"]:hover,
#contact textarea:hover {
  -webkit-transition: border-color 0.3s ease-in-out;
  -moz-transition: border-color 0.3s ease-in-out;
  transition: border-color 0.3s ease-in-out;
  border: 1px solid #aaa;
}

#contact textarea {
  height: 100px;
  max-width: 100%;
  resize: none;
}

#contact button[type="submit"] {
  cursor: pointer;
  width: 100%;
  border: none;
  background: #4DAE31;
  color: #FFF;
  margin: 0 0 5px;
  padding: 10px;
  font-size: 15px;
}

#contact button[type="submit"]:hover {
  background: #43A047;
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
}

#contact button[type="submit"]:active {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.copyright {
  text-align: center;
}

#contact input:focus,
#contact textarea:focus {
  outline: 0;
  border: 1px solid #aaa;
}

::-webkit-input-placeholder {
  color: #888;
}

:-moz-placeholder {
  color: #888;
}

::-moz-placeholder {
  color: #888;
}

:-ms-input-placeholder {
  color: #888;
}

#logo {
  max-width:150px;
  display: block; 
  margin-left: auto;
  margin-right: auto;
}

/*Für die Dispo-Seite*/

.kwbutton{
  margin: 10px;
  padding: 5px;
}

.dispo-tabelle{
  color: black;
  width: 100%;
  max-width:100%;
}
.dispo-tabelle tr{
  width: 100%;
}

.dispo-tabelle thead{
  background-color: #43A047;
  color: white;
  text-align: center;
  line-height: 16px;
}

.mega_day{
  background-color: #43A047;
  color: white;
  text-align: center;
  line-height: 16px;
  max-width: 180px;
}

.dispo-tabelle-tr:nth-child(even){
  background-color: rgb(205, 205, 205);
}


.dispo-tabelle tr td {
  padding: 5px;
  line-height: normal;
}

.usertag{
  border-radius: 5px;
  background-color: white;
  color: black;
  width: fit-content;
  padding-left: 3px;
  padding-right: 3px;
  display: inline-block ;
  margin: 1px;
  font-size: xx-small;
}

.usertag-alarm{
  background-color: #ff9b37;
}

.navlink{
  border: 1px solid black;
  border-radius: 5px;
  padding: 5px;
  margin: 3px;
  line-height: 50px;
  text-decoration: none;
  color: black;
  white-space: nowrap;
}

.navlink:hover{
  text-decoration: none;
  color: #43A047;
  border: 1px solid #43A047;
}

button{
  border: 1px solid black;
  border-radius: 5px;
  padding: 2px;
  line-height: 30px;
  text-decoration: none;
  color: black;
}

.current{
  border: 1px solid #43A047;
  color: #43A047;
}

.dispo-note{
  color: #5b5b5b;
}


.highlighted{
  background-color: rgb(177, 177, 177);
    -moz-transition: all 1s linear;
    -ms-transition: all 1s linear;
    -o-transition: all 1s linear;
    -webkit-transition: all 1s linear;
    transition: all 1s linear;
}

.normal {
  background-color: #0000;
  -moz-transition: all 1s linear;
  -ms-transition: all 1s linear;
  -o-transition: all 1s linear;
  -webkit-transition: all 1s linear;
  transition: all 1s linear;
}


/* Für Änderungs-Tabelle*/
/*
#edit-tabelle select,#edit-tabelle input{
  min-width: 100%;
}
#edit-tabelle td{
  min-width: 80px;
}
*/

#edit-tabelle{
  width: 100%;
}


.orientation{
  visibility: hidden;
  display: none;
}

/* KALENDER */

.kalender{
  min-width: 350px;
}

.kal_standard_tag a{
  color:#43A047;
  text-decoration: none;
}
.kal_standard_tag{
  color:#43A047;
  text-decoration: none;
}

.kal_inaktiv_tag a{
  color: orange;
  text-decoration: none;
}
.kal_inaktiv_tag{
  color: orange;
  text-decoration: none;
}

.kal_blank_tag a{
  color: black;
  text-decoration: none;
}
.kal_blank_tag{
  color: black;
  text-decoration: none;
}

.kal_undone_tag a{
  color: red;
  text-decoration: none;
}
.kal_undone_tag{
  color: red;
  text-decoration: none;
}

.kal_vormonat_inaktiv_tag a{
  color: rgb(175, 132, 51);
  text-decoration: none;
}
.kal_vormonat_aktiv_tag a{
  color: #305d33;
  text-decoration: none;
}

/*USER-VERWALTUNG*/

#usertable{
  width: 100%;
  border-collapse: collapse;
}

#usertable thead{
  text-align: center;
  font-weight: bold;
}

#usertable td{
  padding-left: 10px;
  padding-right: 10px;
}

#usertable tr{
  border-bottom: 1px solid black;
}

#usertable td + td{
  border-left: 1px solid black;
}

#usertable tr:last-child:not(#usertable thead tr:last-child) {
 border-bottom: none;
}



/*URLAUB*/

#urlaubstabelle{
  width: 100%;
  border-collapse: collapse;
}

#urlaubstabelle td{
  width: 2.25%;
  text-align: center;
  border: 1px solid #e4e4e4;

}

.urlaub-cell--has-data {
  cursor: pointer;
  position: relative;
}

.urlaub-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1200;
}

.urlaub-modal[hidden] {
  display: none !important;
}

.urlaub-modal.is-open {
  display: block;
}

.urlaub-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.urlaub-modal__dialog {
  position: relative;
  max-width: 520px;
  margin: 8vh auto;
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.urlaub-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.urlaub-modal__content {
  max-height: 50vh;
  overflow-y: auto;
}

.urlaub-modal__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.urlaub-modal__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  background: #f9f9f9;
}

.urlaub-modal__section {
  margin-bottom: 16px;
}

.urlaub-modal__section h4 {
  margin: 0 0 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.urlaub-modal__empty {
  color: #999;
  font-style: italic;
  margin: 0;
  padding: 8px 0;
}

.schicht-item {
  border-left: 4px solid #4DAE31;
}

.schicht-color {
  background: #4DAE31 !important;
}

.urlaub-modal__color {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.urlaub-modal__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  text-align: left;
}

.urlaub-modal__info strong {
  font-size: 14px;
  line-height: 1.2;
}

.urlaub-modal__info span {
  font-size: 12px;
  line-height: 1.2;
}

.urlaub-modal__status {
  color: #5b5b5b;
}

.urlaub-modal__edit {
  border: 1px solid #4DAE31;
  background: #4DAE31;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.urlaub-modal__edit:hover {
  background: #43A047;
}

.urlaub-modal__actions {
  display: flex;
  justify-content: flex-end;
}

.urlaub-modal__new {
  border: 1px solid #4DAE31;
  background: #fff;
  color: #4DAE31;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.urlaub-modal__new:hover:not([disabled]) {
  background: #4DAE31;
  color: #fff;
}

.urlaub-modal__new[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

body.modal-open {
  overflow: hidden;
}

.urlaub-user{
  width: 30%;
  text-align: left !important;
  white-space: nowrap;
}

.kal-wochenende{
  background-color: #aaa;
}
.kal-fza{
  background-color: #757373;
}
.kal-feiertag{
  background-color: #fca8ff;
}
.kal-urlaub{
  background-color: #ee4848;
}
.kal-krank{
  background-color: #ff9b37;
}
.kal-unavailable{
  background-color: #ff9b37;
  border: 4px solid red;
}
.kal-sonstiges{
  background-color: #eeee48;
}
.kal-konflikt {
  position: relative;
  border: 3px solid #a60000 !important;
  box-shadow: inset 0 0 0 1px #a60000;
}

.kal-konflikt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(166, 0, 0, 0.15) 0px,
    rgba(166, 0, 0, 0.15) 3px,
    transparent 3px,
    transparent 8px
  );
  pointer-events: none;
  z-index: 1;
}

.kal-fehler{
  background-color: #a60000 !important;
  border: solid #a60000 2px;
}
.kal-new{
  background-color: #45e0ff;
}
.kal-schule{
  background-color: #d845fc;
}

.kal-today{
  color: #4DAE31;
  font-weight: bold;
}


.legende{
  border-collapse: collapse;
}

.legende td{
  padding: 0 10px;
  border: 1px solid #e4e4e4;
}


.forprinting{
  display: none;
}

#mobileview{
  display: none;
}

.crossedout {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' preserveAspectRatio='none' viewBox='0 0 100 100'><path d='M100 0 L0 100 ' stroke='red' stroke-width='2'/><path d='M0 0 L100 100 ' stroke='red' stroke-width='2'/></svg>");
background-repeat:no-repeat;
background-position:center center;
background-size: 100% 100%, auto;
border: solid red 2px;
}

.white_bg{
  background-color: white;
}


.blogentry{
  margin: 10px;
  padding: 10px;
  border: 1px solid black;
}

.notpublished{
  background-color: #d2d2d2;
}

.blogdate{
  font-size: small;
  color: grey;
}




/*   DRUCKEN */

@media print{

  @page {size: A4 landscape; }

  @page {
    margin-top: 0;
    margin-bottom: 0;
  }

  @page :footer {
    display: none
  }

  @page :header {
      display: none
  }

  thead{
    position: relative;
    line-height: 18px;
  }

  .prebreak{
    display: none;
  }

  *{
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  html{
    height: 100%;
  }
  body{
    padding-top: 20px;
    padding-bottom: 10px ;
    font-size: 10px;
    line-height: 11px;
    font-family: Roboto;
    display: table;
    width: 100%;
    height: 100%;
    
    background-color: white;
  }
  .big-container, .big-content{
    padding-top: 0px;
    padding-bottom: 0px;
    width:100%;
    height: 100%;
    margin: 0px;
    max-width: 100% !important;
    box-shadow: none;
    background-color: white;
    
  }
  h2{
    display:none;
  }
  h1{
    display:none;
  }
  .navlink{
    display: none;
  }
  label{
    display: none;
  }
  input{
    display: none;
  }
  select{
    display: none;
  }
  .usertag{
    display: none;
  }
  .day_cell{
    padding: 0px;

  }
  .dispo-tabelle tr td {
    padding: 0px;
    padding-left: 2px;
  }
  .forprinting{
    display: contents;
  }
  .kwimg{
    background-color: white;
  }
  .fillcorner{
    display: none;
  }
  .kwimg img{
    max-width: 50px;
    
  }
  .dispo-tabelle{
    height: 95%;
  }

}

@media only screen and (max-width: 1000px) {
  #mobileview{
    display: contents;
  }
  .dispo-tabelle{
    display: none;
  }

  #mobileview table{
    width: 100%;
    border-collapse: collapse;
  }

  #mobileview td{
    border: 1px solid white;
    padding-left: 3px;
    padding-right: 3px;

  }
  #mobileview table tr:nth-child(even){
    background-color: rgb(205, 205, 205);
  }

  #mobileview thead{
    color: white;
    background-color: #43A047;
    text-align: center;
  }

}

