@import './base.css';


html {
  width: 100vw;
  height: 100vh;
}


a {
  text-decoration: none;
  color: #e60005;
  transition: 0.4s;
  padding: 3px;
  font-weight: bold;
  cursor: pointer;
}

@media (hover: hover) {
  a:hover {
    color: #cccccc;
  }
}

h1 {
  margin: 0;
  padding: 0;
}





body {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
body header {
  flex: 1;
  min-height: 10vh;
  max-height: 10vh;
  display: flex;
}
body main {
  flex: 1;
  padding-top: 3vh;

}



body header .logo{
  background-repeat: no-repeat;
  background-position: left top;
  background-size: contain;
  background-image: url("./../images/logo_w.png");
  flex: 2;
  margin-left: 1rem;
  margin-top: 1rem;
}
/*
@media (prefers-color-scheme: dark) {
  body header .logo{
    background-image: url("./../images/logo_w.png");
  }
}
  */
body header nav {
  flex: 3;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 1rem;
  text-align: right;
}
body header nav ul {
  display: flex;
  flex-direction: column;
}
body header nav ul li a {
 padding-left: 0.4rem;
 padding-right: 0.4rem;
}
body header nav ul li a.active {
  color: #ffffff;
}

#app {
  height: 80vh;
}






table{
  width:100%;
  table-layout: fixed;

}
.tbl-header{
  background-color: rgba(45,45,45);
}
.tbl-content{
  height: 60vh;
  overflow-x:auto;
  margin-top: 0px;
  /* border: 1px solid rgba(255,255,255,0.3); */
}
tfoot td {
  border-top: double 3px  rgba(255,255,255,0.1);;
}
th{
  padding: 15px 15px;
  text-align: left;
  font-weight: 500;
  text-transform: uppercase;
}
td{
  color: #fff;
  padding: 1rem;
  text-align: left;
  vertical-align:middle;
  font-weight: 400;
  border-bottom: solid 1px rgba(255,255,255,0.1);
}

td.summe {
  border-left: double 3px  rgba(255,255,255,0.1);;
}
th.td_id,
td.td_id {
  font-size: 90%;
  color: #ccc;
  width: 4rem;
}
tr.weekend {
  background-color: rgba(255,255,255,0.02);
}
tr.ferien {
  background-color: rgba(16, 16, 103, 0.437);
}
tr.ferien.weekend {
  background-color: rgba(10, 10, 73, 0.437);
}
.tr-dark {
  background-color: #222222;
}

.flex {
  display: flex;
  flex-direction: row;
}
.flex-1 {
  flex: 1;
}
.flex-end {
  justify-content: flex-end;
}

.error {
  color: red;
}
.success {
  color: #009523;
}
.spinner {
  width: 2rem;
  height: 2rem;
  background-repeat: no-repeat;
  background-position: center left;
  background-size: auto 100%;
  background-image: url("./../images/spinner.svg");
}


.modal {
  background-color: rgba(45,45,45);
  padding: 2rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
  display: flex;
}

.modal form{
  display: flex;
  flex: 1;
}

.modal ul{
  flex:1;
  padding-right: 2rem;
}
.modal ul:first-child{
  flex:2;
}

.modal li {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}
.modal label {
  text-transform: uppercase;
  width: 100%;
  display: block;
}
.modal input,
.modal select {
  width: 100%;
  display: block;
  margin-top: 0.3rem;
  margin-bottom: 0.4rem;
  padding:0.6rem 1.2rem;
}


.header {
  display: flex;
  justify-content: left;
  flex-direction: row;
  align-content: center;
  align-items: center;
  margin-bottom: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.header h1 {
  display: inline-block;
  margin-right: 2rem;
  color: #fff;
}

.header select.month {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  margin-left: 0.3rem;
}
.header select.year {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: 1px solid var(--color-background);
  margin-right: 0.3rem;
}


select {
  appearance: none;
  background-color: transparent;
  border: none;
  padding: 0 1em 0 0;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  cursor: inherit;
  line-height: inherit;



  border: 1px solid var(--select-border);
  border-radius: 0.25em;
  font-size: 16px;
  padding: 10px 18px;
  cursor: pointer;
  line-height: 1.1;
  background-color: #fff;
  background-image: linear-gradient(to top, #f9f9f9, #fff 33%);
  border-radius: 999px;
}



button,
.btn {
  background: #e60005;
  border-radius: 999px;
  box-shadow: #a51e0f 0 10px 20px -10px;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  font-family: Inter,Helvetica,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Noto Color Emoji","Segoe UI Symbol","Android Emoji",EmojiSymbols,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  opacity: 1;
  outline: 0 solid transparent;
  padding: 8px 18px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: fit-content;
  word-break: break-word;
  border: 0;
  -webkit-box-shadow:0px 0px 25px 3px rgba(230,0,4,0.47);
  -moz-box-shadow: 0px 0px 25px 3px rgba(230,0,4,0.47);
  box-shadow: 0px 0px 25px 3px rgba(230,0,4,0.47);
}

/* Transition to showing the bigger shadow on hover */
button:hover {
  -webkit-box-shadow:3px 5px 25px 3px rgba(130,0,4,0.77);
  -moz-box-shadow: 3px 5px 25px 3px rgba(130,0,4,0.77);
  box-shadow: 3px 5px 25px 3px rgba(130,0,4,0.77);
}

.btn-dark {
  background-color: #1d1e20;
  color:#fff;
  -webkit-box-shadow: 0px 0px 3px 2px #111213;
  -moz-box-shadow: 0px 0px 3px 2px #111213;
  box-shadow: 0px 0px 3px 2px #111213 ;
}
.btn-dark:hover {
  background-color: #111213;
  -webkit-box-shadow: 0px 0px 3px 2px #111213;
  -moz-box-shadow: 0px 0px 3px 2px #111213;
  box-shadow: 0px 0px 3px 2px #111213 ;
}

button.btn-small {
  padding: 3px 12px;
  font-size: 90%;
  font-weight: 500;
}

button.iconText,
.btn.iconText {
  width: auto;
  background-size: auto 80%;
  background-position: 0.5rem;
  background-repeat: no-repeat;
  padding-left: 3.2rem;
  height: 2.5rem;
}
button.iconText:hover {
  animation: move 0.4s linear infinite;
}

button.icon {
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: center;
  width: 2.5rem;
  height: 2.5rem;
  color: transparent;
}

button.icon:hover {
  /*animation: rotate 5s linear infinite;*/
}


.btn-multiple button,
.btn-multiple .si-btn {
  border-radius: 0rem;
}
.btn-multiple button:first-child,
.btn-multiple .btn:first-child {
    border-top-left-radius: 3rem;
    border-bottom-left-radius: 3rem;
}
.btn-multiple button:last-child,
.btn-multiple .btn:last-child {
    border-top-right-radius: 3rem;
    border-bottom-right-radius: 3rem;
}




.iconSumme {
  padding-left: 2rem;
  margin-bottom: 0.3rem;
  display: inline-block;
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: left center;
}
.icon {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-block;
  background-size: auto 80%;
  background-repeat: no-repeat;
  background-position: left center;
}
.icon-add {
  background-image: url("./icons/006-add.png");
}
.icon-close {
  background-image: url("./icons/002-close.png");
}
.icon-submit {
  background-image: url("./icons/004-right-arrow.png");
}
.icon-export {
  background-image: url("./icons/002-down-arrow.png");
  background-size: auto 70% !important
}
.icon-fahrt {
  background-image: url("./icons/005-arrow-with-scribble.png");
}
.icon-krank {
  background-image: url("./icons/001-patient.png");
}
.icon-putz {
  background-image: url("./icons/002-vacuum-cleaner.png");
}
.icon-del {
  background-image: url("./icons/001-dustbin.png");
}
.icon-edit {
  background-image: url("./icons/002-pencil-tool.png");
}
.icon-password {
  background-image: url("./icons/001-padlock.png");
}
.icon-date {
  background-image: url("./icons/002-calendar.png");
}
.icon-clock {
  background-image: url("./icons/001-clock.png");
}
.icon-info {
  background-image: url("./icons/003-information-sign.png");
}


.icon-driver {
  background-image: url("./icons/008-driver.png");
  background-size: auto 70%;
  background-repeat: no-repeat;
  background-position: center;
  width: 3rem;
  color: transparent;
}

.icon-prev {
  background-image: url("./icons/004-left-arrow.png");
}
.icon-next {
  background-image: url("./icons/004-right-arrow.png");
}

.handle {
  background-image: url("./icons/dots-menu.png");
  background-size: auto 70%;
  background-repeat: no-repeat;
  background-position: center;
  width: 1.5rem;
  height: 1.5rem;
}


.submitBox {
  margin-top: 1rem;
}

.margin-r {
  margin-right: 1rem;
}

.margin-t {
  margin-top: 2rem;
}
.margin-b {
  margin-bottom: 1rem;
}

.padding-l {
  padding-left: 2rem;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes move {
  0% {
    background-position: 0.5rem;
  }
  40% {
    background-position: 0.45rem;
  }
  70% {
    background-position: 0.35rem;
  }
  100% {
    background-position: 0.5rem;
  }
}



.box_wrap {
  display: flex;
}
.box {
  flex: 1;
  padding: 1rem;
  margin: 1rem;
  border: 1px solid rgba(45,45,45);
  color: #fff;
  background-color: rgb(21, 21, 21);
}

.listFooter {
  margin: 1rem;
}


.curser-sort,
.handle {
  cursor: pointer;
}

.column-sort {
  color: #e60005;
}


.drivers {
  margin-bottom: 1rem;
  height: 55px;
  overflow-x: scroll;
  white-space: nowrap;
}
.drivers button,
.drivers div {
  border-radius: 0;
}
.drivers button:first-child ,
.drivers div:first-child {
  border-top-left-radius: 3rem;
  border-bottom-left-radius: 3rem;
}
.drivers button:last-child,
.drivers div:last-child {
  border-top-right-radius: 3rem;
  border-bottom-right-radius: 3rem;
}

.drivers .btn-active {
  color: #e60005 !important;
  background-color: #fff !important;
}

.modal-login {
  flex-direction: column;
}


.notMobile {
  display: none;
}

.isMobile {
  display: flex;
  flex-direction: column;
}

.isMobile .box div {
  margin-bottom: 0.3rem;
}
.isMobile .box .title {
  font-weight: bold;

}

body header nav {
  display: none;
}
body header nav.mobile {
  display: flex;
}
#mobileMenu {
  display: none;
  background-color: rgba(45,45,45);
  padding: 2rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

#mobileMenu ul {
  flex: 1;
}
#mobileMenu ul li {
  text-align: center;
}
#mobileMenu a {
  display: block;
  color: #fff;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

@media (min-width: 1024px) {

  body header nav {
    display: flex;
  }
  body header nav.mobile {
    display: none;
  }

  body header {
    padding-left: 5vw;
    padding-right: 5vw;
  }
  body main {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  body header .logo{ 
    flex:1;
  }
  body header nav {
    flex: 5;
  }

  .modal-login {
    width: 40vw;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5vh;
    flex-direction: column;
  }

  body header nav ul {
    flex-direction: row;
  }

  .notMobile {
    display: block;
  }

  .isMobile {
    display: none;
  }
  .box {
    max-width: 10rem;
  }

}
