/*
define some base variables to switch the basic prefs easy like: colors, sizes, spaces a.s.o
*/
.leaflet-sidebar {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  overflow: hidden;
  z-index: 2000;
}
.leaflet-sidebar.collapsed {
  width: 50px;
}
@media (min-width: 769px) {
  .leaflet-sidebar {
    top: 0;
    bottom: 0;
    transition: width 500ms;
  }
}
@media (min-width: 769px) and (max-width: 991px) {
  .leaflet-sidebar {
    width: 400px;
    max-width: 400px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .leaflet-sidebar {
    width: 400px;
    max-width: 400px;
  }
}
@media (min-width: 1200px) {
  .leaflet-sidebar {
    width: 500px;
    max-width: 500px;
  }
}

.leaflet-sidebar-left {
  left: 0;
}
@media (min-width: 769px) {
  .leaflet-sidebar-left {
    left: 0;
  }
}

.leaflet-sidebar-right {
  right: 0;
}
@media (min-width: 769px) {
  .leaflet-sidebar-right {
    right: 0;
  }
}

.leaflet-sidebar-tabs {
  top: 0;
  bottom: 0;
  height: 100%;
  background-color: #fff;
}
.leaflet-sidebar-left .leaflet-sidebar-tabs {
  left: 0;
}
.leaflet-sidebar-right .leaflet-sidebar-tabs {
  right: 0;
}
.leaflet-sidebar-tabs, .leaflet-sidebar-tabs > ul {
  position: absolute;
  width: 50px;
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.leaflet-sidebar-tabs > li, .leaflet-sidebar-tabs > ul > li {
  width: 100%;
  height: 50px;
  color: #AF1716;
  font-size: 13pt;
  overflow: hidden;
  transition: all 80ms;
}
.leaflet-sidebar-tabs > li:hover, .leaflet-sidebar-tabs > ul > li:hover {
  color: #fff;
  background-color: #AF1716;
}
.leaflet-sidebar-tabs > li.active, .leaflet-sidebar-tabs > ul > li.active {
  color: #fff;
  background-color: #AF1716;
}
.leaflet-sidebar-tabs > li.disabled, .leaflet-sidebar-tabs > ul > li.disabled {
  color: rgba(175, 23, 22, 0.4);
}
.leaflet-sidebar-tabs > li.disabled:hover, .leaflet-sidebar-tabs > ul > li.disabled:hover {
  background: transparent;
}
.leaflet-sidebar-tabs > li.disabled > a, .leaflet-sidebar-tabs > ul > li.disabled > a {
  cursor: default;
}
.leaflet-sidebar-tabs > li > a, .leaflet-sidebar-tabs > ul > li > a {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 50px;
  color: inherit;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.leaflet-sidebar-tabs > ul + ul {
  bottom: 0;
}

.leaflet-sidebar-content {
  position: absolute;
  top: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.95);
  overflow-x: hidden;
  overflow-y: auto;
}
.leaflet-sidebar-left .leaflet-sidebar-content {
  left: 50px;
  right: 0;
}
.leaflet-sidebar-right .leaflet-sidebar-content {
  left: 50px;
  right: 50px;
}
.leaflet-sidebar.collapsed > .leaflet-sidebar-content {
  overflow-y: hidden;
}

.collapsed > .leaflet-sidebar-content {
  overflow-y: hidden;
}

.leaflet-sidebar-pane {
  display: none;
  left: 0;
  right: 0;
  box-sizing: border-box;
  padding: 10px 20px;
}
.leaflet-sidebar-pane.active {
  display: block;
}
@media (min-width: 769px) and (max-width: 991px) {
  .leaflet-sidebar-pane {
    min-width: 350px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .leaflet-sidebar-pane {
    min-width: 350px;
  }
}
@media (min-width: 1200px) {
  .leaflet-sidebar-pane {
    min-width: 450px;
  }
}

.leaflet-sidebar-header {
  margin: -10px -20px 0;
  height: auto;
  padding: 0 20px;
  line-height: 50px;
  font-size: 17px;
  color: #fff;
  background-color: #AF1716;
  font-family: times;
}
.leaflet-sidebar-right .leaflet-sidebar-header {
  padding-left: 50px;
}

.leaflet-sidebar-close {
  position: absolute;
  top: 0;
  width: 50px;
  height: 50px;
  text-align: center;
  cursor: pointer;
}
.leaflet-sidebar-left .leaflet-sidebar-close {
  right: 0;
}
.leaflet-sidebar-right .leaflet-sidebar-close {
  left: 0;
}

.leaflet-sidebar {
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
}
@media (min-width: 769px) {
  .leaflet-sidebar {
    border-radius: 0;
  }
  .leaflet-sidebar.leaflet-touch {
    border: 0;
  }
}

.leaflet-sidebar-left.leaflet-touch {
  box-shadow: none;
  border-right: 0;
}
@media (min-width: 769px) {
  .leaflet-sidebar-left ~ .leaflet-control-container .leaflet-left {
    transition: left 500ms;
  }
}
@media (min-width: 769px) and (max-width: 991px) {
  .leaflet-sidebar-left ~ .leaflet-control-container .leaflet-left {
    left: 400px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .leaflet-sidebar-left ~ .leaflet-control-container .leaflet-left {
    left: 400px;
  }
}
@media (min-width: 1200px) {
  .leaflet-sidebar-left ~ .leaflet-control-container .leaflet-left {
    left: 500px;
  }
}
.leaflet-sidebar-left.collapsed ~ .leaflet-control-container .leaflet-left {
  left: 50px;
}

.leaflet-sidebar-right.leaflet-touch {
  box-shadow: none;
  border-left: 0;
}
@media (min-width: 769px) {
  .leaflet-sidebar-right ~ .leaflet-control-container .leaflet-right {
    transition: right 500ms;
  }
}
@media (min-width: 769px) and (max-width: 991px) {
  .leaflet-sidebar-right ~ .leaflet-control-container .leaflet-right {
    right: 400px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .leaflet-sidebar-right ~ .leaflet-control-container .leaflet-right {
    right: 400px;
  }
}
@media (min-width: 1200px) {
  .leaflet-sidebar-right ~ .leaflet-control-container .leaflet-right {
    right: 500px;
  }
}
.leaflet-sidebar-right.collapsed ~ .leaflet-control-container .leaflet-right {
  right: 50px;
}

.bg-primary {
  --bs-bg-opacity: 1;
  background-color: #993333 !important;
}

.btn {
  box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important;
  padding: 15px 20px;
  font-size: 80%;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  border: 0;
}

.masthead {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 100vh;
  padding: 20vh 15px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.82) 75%, white), url("../assets/img/hero-image.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
  margin-bottom: 50px;
}
.masthead h1, .masthead .h1 {
  font-size: 30px;
  line-height: 35px;
  letter-spacing: 5px;
  background: linear-gradient(rgba(255, 255, 255, 0.9), #993333);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}
.masthead h2, .masthead .h2 {
  max-width: 60vw;
  font-size: 14px;
  font-weight: 200;
}
@media (min-width: 768px) {
  .masthead h1, .masthead .h1 {
    font-size: 4rem;
    line-height: 4rem;
  }
}
@media (min-width: 992px) {
  .masthead {
    height: 100vh;
    padding: 0;
  }
  .masthead h1, .masthead .h1 {
    font-size: 90px;
    line-height: 90px;
    letter-spacing: 10px;
  }
  .masthead h2, .masthead .h2 {
    max-width: 60vw;
    font-size: 20px;
  }
}

.ways-section {
  padding: 0px 0;
}
.ways-section .way-text {
  padding: 40px;
  font-size: 90%;
}
@media (min-width: 992px) {
  .ways-section .way-text hr {
    color: #171616;
  }
}

/*
The wanderwege_forchenheim main Stylesheet
Here we can style and override all Styles
*/
body {
  padding: 0;
  margin: 0;
}

html, body, .map-container {
  height: 100%;
  font: 10pt "Helvetica Neue", Arial, Helvetica, sans-serif;
}

.leaflet-sidebar-content a.btn {
  color: #ffffff;
}
.leaflet-sidebar-content a.btn:hover {
  color: #ffffff;
}

a.poiLink {
  color: #AF1716;
}
a.poiLink:hover {
  color: #339966;
}

.btn-showOnMap {
  font-size: 10px;
  display: block;
  background-color: #AF1716;
  border-color: #AF1716;
  padding: 10px 10px;
}

.btn-primary {
  color: #fff;
  background-color: #AF1716;
  border-color: #AF1716;
}

.btn-primary:hover {
  color: #fff;
  background-color: #AF1716;
  border-color: #AF1716;
}

.btn-secondary {
  color: #fff;
  background-color: #AF1716;
  border-color: #AF1716;
}

.btn-secondary:hover {
  color: #fff;
  background-color: #AF1716;
  border-color: #AF1716;
}

/*
fix the modal overlayed by the sidebar
*/
.modal {
  z-index: 2500;
}

.modal-backdrop.show {
  z-index: 2400;
}

/*
fix the tooltip z-index
*/
.tooltip {
  z-index: 2300;
}

.navbar {
  z-index: 2350;
}

@media (min-width: 769px) and (max-width: 991px) {
  .leaflet-sidebar-right .leaflet-sidebar-pane {
    min-width: 300px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .leaflet-sidebar-right .leaflet-sidebar-pane {
    min-width: 300px;
  }
}
@media (min-width: 1200px) {
  .leaflet-sidebar-right .leaflet-sidebar-pane {
    min-width: 400px;
  }
}

/**
Waypoint Styles
 */
.accordion-title {
  margin-left: 15px;
}

.accordion-pikto .pikto-text {
  position: absolute;
  width: 84px;
  left: 0;
  text-align: center;
  top: 22px;
  color: #fff;
  font-weight: 700;
}
.accordion-pikto .pikto-poi-text {
  position: absolute;
  width: 83px;
  left: 0;
  text-align: center;
  top: 25px;
  color: black;
  font-weight: 700;
}

/**
leaflet styles
 */
@keyframes blink {
  0% {
    box-shadow: 6px 19px 8px #339966;
  }
  50% {
    box-shadow: 6px 19px 5px #AF1716;
  }
  100% {
    box-shadow: 6px 19px 7px #339966;
  }
}
@-webkit-keyframes blink {
  0% {
    box-shadow: 6px 19px 8px #339966;
  }
  50% {
    box-shadow: 6px 19px 5px #AF1716;
  }
  100% {
    box-shadow: 6px 19px 7px #339966;
  }
}
.poi-div-icon-default {
  position: absolute;
  top: -16px;
  left: -6px;
}
.poi-div-icon-default.highlight {
  -webkit-animation: blink 1s linear infinite;
  -moz-animation: blink 1s linear infinite;
  -ms-animation: blink 1s linear infinite;
  -o-animation: blink 1s linear infinite;
  animation: blink 1s linear infinite;
}
.poi-div-icon-default.highlight .poi-div-label {
  font-weight: 700;
}
.poi-div-icon-default .poi-div-image {
  display: block;
  width: 25px !important;
}
.poi-div-icon-default .poi-div-label {
  text-align: center;
  width: 25px;
  color: black;
  position: absolute;
  top: 4px;
  left: 0;
  font-size: 10px;
  font-weight: 400;
}

.waypoint-div-icon-default {
  position: absolute;
  top: -16px;
  left: -6px;
}
.waypoint-div-icon-default.highlight {
  -webkit-animation: blink 1s linear infinite;
  -moz-animation: blink 1s linear infinite;
  -ms-animation: blink 1s linear infinite;
  -o-animation: blink 1s linear infinite;
  animation: blink 1s linear infinite;
}
.waypoint-div-icon-default.highlight .waypoint-div-label {
  font-weight: 700;
}
.waypoint-div-icon-default .waypoint-div-image {
  display: block;
  width: 25px !important;
}
.waypoint-div-icon-default .waypoint-div-label {
  text-align: center;
  width: 25px;
  color: white;
  position: absolute;
  top: 2px;
  left: 0;
  font-size: 10px;
  font-weight: 400;
}

footer {
  height: 10%;
  background-color: #202020;
}