body {
  padding: 0;
  margin: 0;
  font: 16px "Lucida Grande", Helvetica, Arial, sans-serif;
}

a {
  color: #00B7FF;
}

#map {
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
/*    height: 87%; */
/*     min-block-size: -webkit-fill-available; */
}

#footer {
    display: none;
    position: absolute;
    width: 100%;
    bottom: 0;
}

.footer-img {
    display: none;
    white-space: nowrap;
    width: 98%;
    margin-left: auto;
    margin-right: auto;
}

#footer img {
   padding: 0px 5% 3px 5%;
}

img.birdlife {
    width: 6%;
}
img.wwf {
    width: 5.5%;
    margin-bottom: -12px;
}
img.donau {
    width: 15%;
    margin-bottom: 10px;
}
img.bmk {
    width: 31%;
}

/* sidebar */

nav {
  width: 100px;
}

nav ul {
  position: relative;
  z-index: 1;
  width: inherit;
  height: 60px;
  z-index: 999;
  list-style: none;
}

nav ul li {
  line-height: 24px;
    padding: 6px 10px;
    float: left;
    font-size: 24px;
    background-color: #fff;
    color: #000;
    cursor: pointer;
    transition: all 1s;
    border-radius: 5px;
    margin-left: -25px;
    margin-top: 2px;
}
#accordion {
/*    margin-top: 20px;
     margin-left: 20px; */
    width: 320px;
}

#accordion h3 {
    font-weight: 300;
    border-top: 1px solid gray !important;
/*     margin-right: 20px; */
}

#accordion .bird-name {
    cursor: pointer;
}

#accordion i {
    float: right;
    font-size: 28px;
    cursor: pointer;
}

#about {
    margin-top: 35px;
    padding: 25px;
    padding-bottom: 5px;
/*     border: 1px solid gray; */
}

#about ul {
    margin-top: 0px;
    margin-left: -45px;
    display: block;
    line-height: 16px;
}
 
#about li {
    font-size: 14px;
    list-style: disc;
    display: list-item;
    width: 100%;
}   


.sidebar {
  position: absolute;
  top: 0;
  height: inherit;
  width: 320px;
/*  height: 87%; */
  height: 100%;
  background-color: #fff;
  z-index: 999;
  transition: left 0.2s;
  box-shadow: 4px -20px 20px 0px black;
  opacity: 0.99;
}

.sidebar ul { 
    width: inherit; 
    margin-top: 100px;
    list-style: none;
    margin-left: 10px;
    width: 100%;
  display: flex;
  flex-wrap: wrap;
  table-layout: fixed;
}

.sidebar ul li {
    margin: 10px 10px;
    display: flex;
    flex: 0 0 42%;
    width: 50%;
    /* padding: 10px; */
    /* color: #FFF; */
    font-size: 22px;
    font-weight: 500;
    /* text-transform: uppercase; */
    /* letter-spacing: 2px; */
    cursor: pointer;
    opacity: 0.7;
    transition: all 1s;
}

.sidebar ul li:hover { opacity: 1; }

.hide-sidebar { left: -320px; }

.show-sidebar { left: 0; }

.menu-clicked {
  transform: scale(1.25);
  opacity: 1;
}

#toggle-all-container {
    margin-top: -45px;
    padding: 5px 7px 10px 130px;
  }

  #toggle-all-container span {
    font-size: 16px;
    line-height: 30px;
  }

  #toggle-all-birds {
    font-size: 30px;
    float: right;
    cursor: pointer;
  }


.centered {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}


.leaflet-verticalcenter {
    position: absolute;
    z-index: 1000;
    pointer-events: none;
    top: 50%; /* possible because the placeholder's parent is the map */
    transform: translateY(-50%); /* using the CSS3 Transform technique */
    padding-top: 10px;
}

.leaflet-top {
    top: 4px;
}

/* bedienfeld unten */

.leaflet-horizontalcenter {
    position: absolute;
    z-index: 1000;
    pointer-events: none;
   /* right: 25%;
    left: 15%; */ /* possible because the placeholder's parent is the map */
    /*transform: translateX(-55%);*/ /* using the CSS3 Transform technique */
    bottom: 25px;
    opacity: 0.95;
}

@media all and (min-width: 1240px) {
    
    .leaflet-horizontalcenter {
        right: 6%;
/*         left: 20%; */
    }
}

.leaflet-horizontalcenter:hover {
    
/*  opacity: 1;    */
}

.leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
    border: none;
    box-shadow: 0px 0px 14px 0 black;
}


/* .leaflet-bar-timecontrol {
     background-color: unset;
} */

.leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
    min-width: max-content;
}

.leaflet-touch .leaflet-bar-timecontrol .leaflet-control-timecontrol {
    height: 50px !important;
    line-height: 50px !important;
    border: 1px solid #acacac;
}

.leaflet-touch .leaflet-bar a {
    width: 40px;
}

a.leaflet-control-timecontrol.timecontrol-date {
 font-size: 18px;
}

div.knob.main {
    width: 20px;
    height: 40px;
    margin-left: -5px;
    margin-top: -17px;
    box-shadow: 0px 0px 4px grey
}

.timecontrol-slider .knob.upper, .timecontrol-slider .knob.lower {
    cursor: ew-resize;
}


.timecontrol-slider .knob.lower {
    margin-top: -20px;
    margin-left: -20px;
}

.timecontrol-slider .knob.upper {
/*     display: none; */
    margin-top: -20px;
    margin-left: 5px;
}

.timecontrol-slider .knob.lower:before {
    border-width: 0px 0px 40px 15px;
    border-color: transparent transparent black;
    box-shadow: 2px 2px 2px grey
}

.timecontrol-slider .knob.upper:before {
    border-width: 40px 0 0 15px;
    border-color: transparent transparent transparent black;
    box-shadow: -2px 2px 2px grey
}

.leaflet-bar-timecontrol a.timecontrol-date, .leaflet-bar-timecontrol a.timecontrol-date:hover { 
    min-width: unset;
    width: 200px;
    background-color: #fff;
    /*cursor: initial;*/
}

a.leaflet-control-timecontrol.timecontrol-date {
    width: 200px;
}

#year-filter {
    height: 50px;
    font-size: 18px;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    background-color: initial;
    border: none;
    font-weight: bold;
    text-align: center;
}



body .ui-tooltip {
    width: 135px;
    margin-top: 3px;
    height: 6px;
    font-size: 14px;
    line-height: 6px;
    box-shadow: none;
}
 

.leaflet-bar-timecontrol .timecontrol-dateslider .slider {
    /* width: 760px;   */
    margin-left: 15px;
    margin-right: 15px;
}
.timecontrol-slider .slider.has-limits .range {
    /* max-width: 758px; */
}

.leaflet-bar a:first-child {
    border-radius: 5px 0 0 5px;
  }

@media all and (min-width: 1400px) {

    .leaflet-bar-timecontrol .timecontrol-dateslider .slider {
        width: 380px;
    }
    .timecontrol-slider .slider.has-limits .range {
        max-width: 378px;
    }
 
}


@media all and (min-width: 1600px) {

.leaflet-bar-timecontrol .timecontrol-dateslider .slider {
    width: 500px;
    }
    .timecontrol-slider .slider.has-limits .range {
        max-width: 498px;
    }
    
}

   
@media all and (min-width: 1800px) {

    .leaflet-bar-timecontrol .timecontrol-dateslider .slider {
        width: 760px;
    }
    .timecontrol-slider .slider.has-limits .range {
        max-width: 758px;
    }

}

.leaflet-touch .timecontrol-slider .slider {
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 25px;
}

.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    background: linear-gradient(180deg, white, #ffffffde);
    /* color: #333; */
    box-shadow: 0px 6px 17px rgba(0,0,0,1);
}

.leaflet-popup-content {
    width: 200px;
    line-height: 1;
}

.leaflet-popup-content img {
    width: 100px;
    margin-left: 50px;
    margin-top: 10px;
    box-shadow: 0 0 3px 0px black;
}

.leaflet-popup-content ul {
    list-style: none;
    display: unset;
    padding-inline-start: 0px;
}

.leaflet-popup-content li {
    display: table-cell;
    width: 110px;
    padding: 3px;
}

.leaflet-popup-content li:nth-child(2) {
    width: 70px;
}

.bird-details {
    height: unset !important;
    font-size: 16px;
}

.bird-details img {
    width: 250px;
    box-shadow: 0px 0px 6px 1px grey;
    margin-top: 16px;
}

.dot {
  height: 15px;
  width: 15px;
/*   background-color: #fff; */
  border-radius: 50%;
  display: inline-block;
  margin-top: 5px;
  margin-right: 5px;
}

#loader {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: grey;
    opacity: 0.5;
    z-index: 1001;
    top: 0px;
}

#loader i{
    margin-left: 50%;
    font-size: 80px;
    margin-top: 20%;
}

/* jquery-ui override */
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, /* .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active, */ .ui-state-hover{
    border: none !important;
    background: none !important;
    color: initial !important;
}

.ui-state-hover, .ui-state-active {
        font-weight: bold !important;
}

.ui-state-active .ui-icon, .ui-button:active .ui-icon {
    background-image: url("images/ui-icons_444444_256x240.png") !important;
}

.ui-widget-content {
    border: none !important;
}


.slidecontainer {
  width: 100%; /* Width of the outside container */
}

/* The slider itself */
.slider {
  -webkit-appearance: none;  /* Override default CSS styles */
  appearance: none;
  width: 100%; /* Full-width */
  height: 25px; /* Specified height */
  background: #d3d3d3; /* Grey background */
  outline: none; /* Remove outline */
  opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
  -webkit-transition: .2s; /* 0.2 seconds transition on hover */
  transition: opacity .2s;
}

/* Mouse-over effects */
.slider:hover {
  opacity: 1; /* Fully shown on mouse-over */
}

/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  width: 25px; /* Set a specific slider handle width */
  height: 25px; /* Slider handle height */
  background: #4CAF50; /* Green background */
  cursor: pointer; /* Cursor on hover */
}

.slider::-moz-range-thumb {
  width: 25px; /* Set a specific slider handle width */
  height: 25px; /* Slider handle height */
  background: #4CAF50; /* Green background */
  cursor: pointer; /* Cursor on hover */
}

.xdsoft_datetimepicker {
    box-shadow: none !important;
  /*  margin-left: -246px; */
}

#datepicker {
    position: absolute;
    left: 24%;
    opacity: 0;
}


@media all and (max-width: 767px) {

.leaflet-horizontalcenter.leaflet-right {
  left: 13px !important;
  right: 0 !important;
  width: 99% !important;
}


.leaflet-bar-timecontrol {
  width: 100% !important;
}

.leaflet-horizontalcenter .leaflet-bar a {
  width: 20%;
}

.leaflet-bar-timecontrol .timecontrol-dateslider .slider {
  width: 90%;
}

.range {
    width: 90%
}

.leaflet-control-timecontrol.timecontrol-date {
  width: 100% !important;
}
}
#bird-help {
  padding: 10px !important;
  font-size: 14px !important;
}

/* Icon-Styles für Hilfe-Text */
#bird-help .help-icon {
  display: inline-block !important;
  font-family: 'Glyphicons Halflings';
  font-size: 12px;
}

#bird-help .help-icon.timecontrol-backward::before {
  content: "\e069";
}

#bird-help .help-icon.timecontrol-forward::before {
  content: "\e077";
}

#bird-help .help-icon.timecontrol-play::before {
  position: relative;
  content: "\e072";
}
#bird-help .help-icon.timecontrol-play.reverse{
  -ms-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}

#bird-help .help-icon.timecontrol-play.reverse::before {
  content: "\e072";
}

#bird-help .help-icon.timecontrol-speed::before {
  content: "\e141";
  position: relative;
  left: 0;
}

#ui-id-1 {
    padding: 2px;
    background-color: aliceblue !important;
  }
  #ui-id-2 {
    padding: 5px;
    background-color: aliceblue;
    height: fit-content !important;
  }