/*
 * File: style.sidenav.css
 * Project: style.sidenav
 * File Created: Wednesday, 15th February 2023 2:24:00 pm
 * Author: Dirk Stegelmann (d.stegelmann@boa-fl.de)
 * -----
 * Last Modified: Wednesday, 15th February 2023 2:56:39 pm
 * Modified By: Dirk Stegelmann (d.stegelmann@boa-fl.de>)
 * -----
 * Copyright 2014 - 2023 BoA Betriebs GmbH & Co.KG
 */

 /* The side navigation menu */
.sidenav {
  height: 100%;                 /* 100% Full-height */
  width: 0;                     /* 0 width - change this with JavaScript */
  position: fixed;              /* Stay in place */
  z-index: 99;                   /* Stay on top */
  top: 0;                       /* Stay at the top */
  left: 0;
  background-color: #222;     /* near Black*/
  overflow-x: hidden;           /* Disable horizontal scroll */
  transition: 0.5s;             /* 0.5 second transition effect to slide in the sidenav */
}
.sidenav h2,
.sidenav h3 {
  padding: .35rem;
  margin: .25rem 0;
}
.sidenav h2 {
  font-size: 1.2rem;
  color: #000;
  background-color: #ffdd2e;
}
.sidenav h2 span {
    padding-top: 0.2rem;
    display: inline-block;
}
.no-wrap {
  white-space: nowrap;
}
  
/* The navigation menu links */
.sidenav > div a,
.sidenav > div.main-item {
  padding: .25rem .15rem .25rem .8rem;
  text-decoration: none;
  font-size: 1.2rem;
  color: #e3e3e3;
  transition: 0.3s;
  display: block;
}
.sidenav a.nav-item,
.sidenav div.nav-item {
  background-color: #222;
  border-bottom: .0625rem solid #333;
}
/* .sidenav a.total {
  border-top: .0625rem solid #818181;
  border-bottom: .0625rem solid #818181;
} */
.sidenav label.small {
  font-size: .85rem;
  margin-left: .5rem;
  line-height: 1rem;
  display: block;
}

/* #pwa-sidenav-tourchoice a:first-child,
.sidenav div.nav-item {
  border-top: .0625rem solid #818181;
} */
#pwa-sidenav-tourchoice a.tour,
.sidenav div.nav-item {
    font-size: 1rem;
}
.sidenav div.main-item {
 margin-bottom: .1rem;
}
#pwa-sidenav-tourname a {
  background-color: #005c40;
  color: #fff;
  padding: .25rem 0;
  margin-left: 1rem;
  font-size: 1.1rem;
  width: 8rem;
  text-align: center;
  font-weight: bold;
  vertical-align: top;
  line-height: 1rem;
  border-radius: .25rem;
  display: inline-block;
}
#pwa-sidenav-zef a {
  width: calc(50% - 1.6rem);
  margin: .25rem;
  line-height: 1.2rem;
  text-align: center;
  font-weight: bold;
  font-size: .9rem;
  vertical-align: top;
  border-radius: .25rem;
  display: inline-block;
}
#pwa-sidenav-zef a.zef-start {
  background-color: #42f332;
  color:black;
  padding: .5rem;
}
#pwa-sidenav-zef a.zef-end {
  background-color: #f33232;
  padding: .5rem;
}
#pwa-sidenav-zef a.disabled {
  pointer-events: none;
  background-color: #666 !important;
  color: rgb(165, 164, 164) !important;
  font-style: italic;
}
#pwa-sidenav-zef a.fullsize {
  pointer-events: none;
  width: 16rem !important;
  background-color: #f9fd00 !important;
  color: black !important;
  padding: .25rem !important;
  white-space: normal !important;
  font-size: 1.05rem !important;
  line-height: 1.05rem !important;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #fff;
}
.sidenav a.active {
  background-color: #005c40;
}

/* Position and style the close button (top right corner) */
.sidenav #nav-close {
    position: absolute;
    top: 0;
    right: 1rem;
    font-size: 2.2rem;
    margin-left: 3rem;
    color: #000;
    font-weight: bold;
    line-height: 1.1;
}

/* Checkbox */
.sidenav input[type=checkbox] {
  display: none;
}
.sidenav select {
  font-size: 1.2rem;
  font-weight: bold;
  padding: .25rem;
  margin: .5rem 0 .5rem .8rem;
  background-color: #666;
  border-radius: .3rem;
  border: .25rem solid #333;
  color: #e3e3e3;
  width: 90%;
}
.sidenav label.chkbox {
  display: inline-block;
  position: relative;
  padding-right: 1.4rem;
  font-size: 1rem;
  line-height: 1.2rem;
  margin: .25rem;
  width: calc(100% - 4rem);
}
.sidenav label.chkbox:before {
  line-height: 1.2rem;
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  position: absolute;
  right: 0;
  background-color: #fff;
  border: .0625rem solid #214232;
}
.sidenav input[type=checkbox]:checked + label.chkbox:before {
  content: "\2713";
  color: #000;
  text-align: center;
  line-height: 1rem;
}

/* Input */
.sidenav input[type=text] {
  width: 9rem;
  border: none;
  background-color: #e3e3e3;
  padding: .15rem;
  margin: .15rem .15rem .15rem .5rem;
  font-size: 1.3rem;
  display: inline-block;
}
.sidenav button {
  border: none;
  color: #000;
  font-size: 1.3rem;
  font-weight: bold;
  margin: 0.15rem;
  padding: 0.15rem .5rem;
}
.sidenav #filter-set {
  background-color: #fac51f;
}
.sidenav button img.iconset {
    width: 1.5rem;
    height: 1.2rem;
}
.sidenav button.filter-reset {
  background-color: #ea1111;
  color:white;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}