html,
body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  transition: 0.1s ease all;
  font-family: "Montserrat", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: antialiased;
  font-smoothing: antialiased;
  background-color: #E3F4FA;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.flex, .infos-code-wrapper .code, .infos-code-wrapper .r, .infos-code-wrapper .l, nav .nav-item, nav, header {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* General */
header {
  height: 60px;
  max-width: 600px;
  width: 100%;
  background: rgba(227, 244, 250, 0.95);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  padding: 0 24px;
  justify-content: space-between;
}
header img {
  width: 90px;
  height: auto;
}

.profile {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.profile p {
  color: #5DC3E6;
  font-weight: 600;
  margin-right: 6px;
  font-size: 13px;
}

#picture {
  width: 32px;
  height: 32px;
  border-radius: 100px;
  background-size: cover;
  background-position: center;
  border: 1px solid #5DC3E6;
}

nav {
  position: fixed;
  max-width: 600px;
  bottom: 0;
  left: 0;
  height: 70px;
  width: 100%;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  z-index: 9;
  box-shadow: 0px 0px 14px rgba(0, 0, 0, 0.09);
}
nav .nav-item {
  width: 33.3%;
  background: #E3F4FA;
  font-weight: bold;
  font-size: 12px;
  line-height: 14px;
  cursor: pointer;
  text-align: center;
  text-align: center;
  color: #BDD6DE;
  text-transform: capitalize;
  flex-direction: column;
  height: 100%;
}
nav .nav-item .icon {
  width: 15px;
  height: 27px;
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 3px;
}
nav .nav-item.active {
  background: #5DC3E6;
  color: #fff;
}
nav .nav-item:nth-child(2) {
  border-right: 1px solid #CAE2EB;
  border-left: 1px solid #CAE2EB;
}

.icon-item-1 {
  background-image: url(../img/icons/slube-inactive.svg);
}

.icon-item-2 {
  background-image: url(../img/icons/cal-inactive.svg);
  width: 22px !important;
}

.icon-item-3 {
  width: 17px !important;
  background-image: url(../img/icons/stats-inactive.svg);
}

.nav-item.active .icon-item-1 {
  background-image: url(../img/icons/slube-active.svg);
}
.nav-item.active .icon-item-2 {
  background-image: url(../img/icons/cal-active.svg);
}
.nav-item.active .icon-item-3 {
  background-image: url(../img/icons/stats-active.svg);
}

/* SECTIONS */
main {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 70px;
  padding-bottom: 100px;
}

.blocker {
  height: 80px;
  width: calc(100% - 40px);
  margin-left: 20px;
  background: linear-gradient(94.49deg, #5DC3E6 23.54%, #5DC3E6 87.6%);
  box-shadow: 0px 4px 17px rgba(93, 195, 230, 0.7);
  border-radius: 15px;
  padding: 21px 12px;
  position: relative;
  margin-top: 80px;
  margin-bottom: -10px;
}
.blocker p {
  font-weight: bold;
  font-size: 15px;
  color: #fff;
  text-align: center;
  padding: 0 10px;
}

main.blocked section #licht-wrapper, main.blocked section #temp-wrapper {
  opacity: 0.15;
  pointer-events: none;
  filter: grayscale(0.7);
}

section {
  display: none;
}
section .inner {
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 10px;
}

.switch {
  height: 96px;
  background: linear-gradient(94.49deg, #205C71 23.54%, #064054 87.6%);
  box-shadow: 0px 5px 9px rgba(0, 0, 0, 0.08);
  border-radius: 15px;
  padding: 21px 12px;
  position: relative;
  width: calc(50% - 11px);
  transition: ease 0.5s;
  cursor: pointer;
  margin-bottom: 22px;
}
.switch p {
  font-weight: bold;
  font-size: 15px;
  text-transform: capitalize;
  color: #fff;
}
.switch .toggle {
  width: 70px;
  height: 32px;
  border-radius: 50px;
  background: #0B4559;
  position: absolute;
  left: 12px;
  bottom: 14px;
  transition: ease 0.3s;
}
.switch .toggle span {
  background: #245E72;
  height: 24px;
  width: 24px;
  border-radius: 100%;
  display: block;
  position: absolute;
  top: 4px;
  left: 6px;
  transition: ease 0.3s;
}
.switch.active {
  background: linear-gradient(94.49deg, #5DC3E6 23.54%, #5DC3E6 87.6%);
  box-shadow: 0px 4px 17px rgba(93, 195, 230, 0.7);
}
.switch.active .toggle {
  background: #378AA7;
}
.switch.active .toggle span {
  background: #fff;
  box-shadow: 0px 1px 14px rgba(255, 255, 255, 0.35);
  left: 41px;
}

.switch-slider {
  background: linear-gradient(99.57deg, #5DC3E6 23.54%, #5DC3E6 87.6%);
  box-shadow: 0px 4px 17px rgba(93, 195, 230, 0.7);
  width: 100%;
  transition: ease 0.5s;
}
.switch-slider .slider-value {
  position: absolute;
  right: 14px;
  top: 16px;
  font-size: 18px;
  line-height: 22px;
  font-weight: bold;
  color: #fff;
}
.switch-slider.dark {
  background: linear-gradient(94.49deg, #205C71 23.54%, #064054 87.6%);
  box-shadow: 0px 5px 9px rgba(0, 0, 0, 0.08);
}
.switch-slider.dark .slider-container .slider {
  background: #0B4559;
}
.switch-slider.dark .slider-container .slider::-webkit-slider-thumb {
  background: #245E72;
  box-shadow: 0px 1px 14px rgba(255, 255, 255, 0);
}

.slider-container {
  width: calc(100% - 24px);
  position: absolute;
  left: 12px;
  bottom: 14px;
  transition: ease 0.3s;
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  outline: none;
  height: 32px;
  padding: 0 9px;
  border-radius: 50px;
  transition: ease 0.3s;
  background: linear-gradient(90deg, #3789A5 0%, #7CD7F7 100%);
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  border-color: transparent;
  width: 25px;
  height: 25px;
  transition: ease 0.3s;
  background: #fff;
  cursor: pointer;
  box-shadow: 0px 1px 14px rgba(255, 255, 255, 0.35);
  border-radius: 100%;
  transform: translateY(-1px);
}

/* TEMP */
.temp-slider .slider-container .slider {
  background: linear-gradient(90deg, #4E829F 2.19%, #EA6D6D 100%);
}

.temp-slider-extended {
  height: 162px;
}
.temp-slider-extended .slider-container {
  top: 50px;
}
.temp-slider-extended .temp-infos {
  position: absolute;
  left: 14px;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
.temp-slider-extended .temp-infos .box-heading {
  width: 100%;
}
.temp-slider-extended .temp-infos .box-heading h4 {
  font-size: 12px;
  line-height: 20px;
  text-transform: capitalize;
  font-weight: bold;
  color: #215D71;
}
.temp-slider-extended .temp-infos .box {
  margin-right: 23px;
}
.temp-slider-extended .temp-infos .box h4 {
  font-size: 12px;
  line-height: 20px;
  text-transform: capitalize;
  font-weight: normal;
  color: #215D71;
}
.temp-slider-extended .temp-infos .box p {
  font-weight: normal;
  font-size: 12px;
  line-height: 14px;
  color: #215D71;
}

/* INFO */
#info {
  position: fixed;
  right: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  max-width: 600px;
  z-index: 50;
  background: #E3F4FA;
  transition: ease 0.3s;
  overflow-y: auto;
}
#info .inner {
  padding: 24px;
  margin-top: 30px;
}
#info.show {
  right: 0;
}
#info h3 img {
  width: 11px;
  margin-right: 5px;
  transform: translateY(2px);
  height: auto;
}
#info img {
  width: calc(100% - 24px);
  max-width: 300px;
  position: relative;
  margin-top: 15px;
}
#info a {
  height: auto;
  width: auto;
  display: inline-block;
  position: absolute;
  right: 20px;
  bottom: 13px;
  cursor: pointer;
}

.route-section {
  position: relative;
}
.route-section h3, .route-section p {
  max-width: calc(100% - 100px);
}
.route-section a {
  height: auto;
  width: auto;
  display: inline-block;
  position: absolute;
  right: 20px;
  bottom: 13px;
  cursor: pointer;
}

/* SLUBE */
#slube .inner, #info .inner {
  padding: 24px 0;
}

#slube .inner {
  padding-top: 0;
}

.section {
  padding: 25px 24px;
  border-bottom: 1px solid #C8E3EC;
  width: 100%;
}
.section p {
  font-weight: normal;
  font-size: 14px;
  line-height: 17px;
  color: #074154;
  margin-bottom: 5px;
}

h3 {
  font-weight: bold;
  font-size: 14px;
  line-height: 17px;
  color: #0B4559;
  margin-bottom: 6px;
}

.btn {
  background: linear-gradient(0deg, #5DC3E6, #5DC3E6), linear-gradient(99.42deg, #205C71 23.54%, #064054 87.6%);
  box-shadow: 0px 5px 9px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  font-weight: bold;
  font-size: 15px;
  line-height: 18px;
  text-align: center;
  text-transform: capitalize;
  color: #fff;
  height: 45px;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: calc(50% - 11px);
}

.btn-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.infos-code-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}
.infos-code-wrapper .l {
  border-right: 1px solid #C8E3EC;
  flex-direction: column;
  padding-right: 14px;
}
.infos-code-wrapper .l h3 {
  text-align: center;
}
.infos-code-wrapper .r {
  flex-direction: column;
  padding-left: 16px;
}
.infos-code-wrapper .r h3 {
  text-align: center;
}
.infos-code-wrapper .code div {
  background: linear-gradient(0deg, #6B9CAD, #6B9CAD), linear-gradient(94.29deg, #205C71 23.54%, #064054 87.6%);
  box-shadow: 0px 5px 9px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  font-weight: bold;
  font-size: 15px;
  line-height: 18px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #E3F4FA;
  padding: 10px 16px;
  margin: 5px;
}

/* NEU */
main {
  width: calc(100% - 50px);
}

.todo {
  margin-bottom: 20px;
  width: 100%;
}
.todo .top {
  width: 100%;
  background: #5DC3E6;
  height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 25px;
  border-radius: 10px;
  position: relative;
  z-index: 2;
  transition: ease 0.3s;
}
.todo .top h3 {
  color: #D3EAF5;
  margin-bottom: 0;
  font-size: 18px;
  transition: ease 0.3s;
}
.todo .top h3 span {
  background: #D3EAF5;
  border-radius: 6px;
  font-weight: 700;
  color: #5DC3E6;
  padding: 1px 6px;
  margin-left: 5px;
  transform: translateY(-1px);
}
.todo ul {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #D3EAF5;
  border-radius: 0 0 10px 10px;
  border: 1px solid #5DC3E6;
  padding: 35px 25px 25px 25px;
  transform: translateY(-10px);
}
.todo ul li {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.todo ul li .task {
  width: calc(100% - 50px);
}
.todo ul li .task h4 {
  font-size: 18px;
  color: #0B4559;
}
.todo ul li .task p {
  font-size: 13px;
  color: #0B4559;
  margin-top: 4px;
}
.todo ul li .check {
  width: 34px;
  height: 34px;
  background: white;
  border: 1px solid #5DC3E6;
  border-radius: 6px;
}
.todo ul li .checked {
  background: #9BE083;
  border-color: white;
  background-image: url(../img/check.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px;
}
.todo ul li:not(:last-child) {
  border-bottom: 1px solid #5DC3E6;
  margin-bottom: 14px;
  padding-bottom: 10px;
}
.todo.important .top:after {
  background-image: url(../img/important.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px;
  width: 30px;
  height: 30px;
  content: "";
  position: absolute;
  right: 26px;
  top: 8px;
}
.todo.done .top {
  background: #9BE083;
  opacity: 0.5;
}
.todo.done .top h3 > span {
  color: #9BE083;
}
.todo.done .top:after {
  background-image: url(../img/check.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px;
  width: 30px;
  height: 30px;
  content: "";
  position: absolute;
  right: 26px;
  top: 8px;
}
.todo.done ul {
  display: none;
}

#dates {
  display: none;
  width: 100%;
}

.date-inner {
  width: calc(100% - 50px);
  padding-top: 65px;
}

#datenav {
  height: 48px;
  width: 100%;
  max-width: 600px;
  display: flex;
  position: fixed;
  justify-content: center;
  align-items: center;
}
#datenav #prev, #datenav #next {
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background: #D3EAF5;
}
#datenav #datecontainer {
  width: calc(100% - 160px);
  height: 100%;
  background: #5DC3E6;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 20px;
  font-weight: 700;
  flex-direction: column;
}
#datenav #datecontainer #date {
  font-size: 14px;
  font-weight: 500;
}

.date-inner {
  margin: 30px auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  width: calc(100% - 50px);
}
.date-inner .arr-dep-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}
.date-inner .arr-dep-list .left, .date-inner .arr-dep-list .right {
  width: 130px;
  margin: 0 10px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
}
.date-inner .arr-dep-list .left h3, .date-inner .arr-dep-list .right h3 {
  font-size: 18px;
  color: #0B4559;
  text-align: center;
  margin-bottom: 14px;
}
.date-inner .arr-dep-list .left div, .date-inner .arr-dep-list .right div {
  height: 40px;
  margin-bottom: 12px;
  background: #D3EAF5;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  width: 100%;
  color: #5DC3E6;
  text-align: center;
}
.date-inner .arr-dep-list .arr-dep-elm {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 10px;
}
.date-inner .arr-dep-list .arr-dep-elm .arr-elm, .date-inner .arr-dep-list .arr-dep-elm .dep-elm {
  width: 130px;
  height: 40px;
  margin-bottom: 12px;
  background: #D3EAF5;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  color: #5DC3E6;
  margin: 0 10px;
}
.date-inner .arr-dep-list .arr-dep-elm .arr-elm.inactive, .date-inner .arr-dep-list .arr-dep-elm .dep-elm.inactive {
  visibility: hidden;
}

#stats {
  display: none;
}

#reinigungen {
  background: rgba(255, 255, 255, 0.3);
  padding: 20px;
  border-radius: 20px;
  margin-top: 30px;
}
#reinigungen .item-header {
  border-bottom: 1px solid #0B4559;
}
#reinigungen .item-header p {
  opacity: 0.5;
}
#reinigungen .item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #D3EAF5;
  color: #0B4559;
  margin-bottom: 6px;
}
#reinigungen .item p {
  color: #0B4559;
  font-size: 14px;
  font-weight: 600;
}
#reinigungen .item p:nth-child(1) {
  width: 150px;
}

/* MEDIA QUERIES */
@media (min-width: 600px) {
  header, nav {
    left: calc(50% - 300px);
  }

  #info.show {
    right: calc(50% - 300px);
  }
}
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #E3F4FA;
  z-index: 999;
}
#loader .lds-ring {
  transform: scale(0.4);
}
#loader .inner {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
#loader .inner img {
  width: 100px;
  height: auto;
}
#loader .inner h3 {
  background: #D3EAF5;
  color: #5DC3E6;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 5px;
}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  margin-top: -15px;
  height: 80px;
}

.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #5DC3E6;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #5DC3E6 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);
  }
}
