@font-face {
  font-family: "AkkoPro-Medium";
  src: url("/fonts/Linotype - AkkoPro-Light.otf");
}
@font-face {
  font-family: "AkkoPro";
  src: url("/fonts/Linotype - AkkoPro-Regular.otf");
}
/* The page is split between map and sidebar - the sidebar gets 1/3, map
gets 2/3 of the page. You can adjust this to your personal liking. */
/*.sidebar {
    width: 33.3333%;
    display: none;
}*/
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
/* Style the accordion panel. Note: hidden by default */
/* to hide the checkbox itself */
/* unchecked icon */
/* space between checkbox and label */
/* checked icon */
/* allow space for check mark */
#page *, #page ::before, #page ::after {
  box-sizing: unset;
}
#page p {
  margin-top: 1rem;
}

.navbar {
  z-index: 1;
  position: relative;
}
.navbar.kubi-logo {
  background: transparent url("../images/Logo_kulturland.svg") no-repeat top left;
  width: 6rem;
  height: 4rem;
}

.image {
  height: 4.7rem;
  width: 7rem;
}

.school {
  background: transparent url("/images/Schule_4.svg") no-repeat center center;
}

.learnstations {
  background: transparent url("/images/Lernorte_4.svg") no-repeat center center;
}

.kitas {
  background: transparent url("/images/Kita_4.svg") no-repeat center center;
}

.furthereducation {
  background: transparent url("/images/Fortbildungen_4.svg") no-repeat center center;
}

.cooperationsculturemakesstronger {
  background: transparent url("/images/Fortbildungen_4.svg") no-repeat center center;
}

h1.h1_map {
  z-index: 1;
  position: relative;
  text-align: center;
  width: 33%;
  left: 27%;
}

.kubi_image {
  background: transparent url("/images/Ikarus_Logo_Kontakt.svg") no-repeat center center;
  z-index: 1;
  position: relative;
  width: 20%;
  height: 10%;
  left: 70%;
}

.heading {
  border-radius: 10px 10px 0 0;
  font-size: 24px;
  color: #643390;
  text-align: left;
  margin: 0;
  background: #8b66ac; /* Old browsers */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #8b66ac 0%, #bb988e 50%, #bb988e 51%, #edcb6f 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#8b66ac", endColorstr="#edcb6f", GradientType=1); /* IE6-9 */
}
.heading h1 {
  margin: 0px !important;
  padding-top: 15px;
  padding-bottom: 10px;
  padding-left: 25%;
}
.heading a {
  font-size: 15px;
  color: #555555;
  text-align: left;
  text-decoration: none;
  opacity: 1;
}
.heading a i {
  font-size: 17px;
  color: #643390;
  text-align: left;
  margin-right: 5px;
  top: 1px;
  position: relative;
}
.heading .inline {
  padding: 20px;
  color: #FFF;
}
.heading .inline_box {
  border-radius: 10px 10px 0 0;
}
.heading .atlas_name {
  width: 51%;
  border-bottom: solid #ffffff 1px;
  border-right: solid #ffffff 1px;
  max-width: 54%;
  white-space: normal;
  height: 4.7rem;
  float: left;
}
.heading .heading_pictures {
  width: 29%;
  border-bottom: solid #ffffff 1px;
  margin-left: -4px;
  float: right;
}
.heading .message {
  color: #000;
  font-size: 18px;
  margin-top: 0;
  padding: 20px;
  clear: both;
}

img {
  width: 100%;
  display: block;
  left: -20px;
  position: relative;
}

.map {
  border-left: 1px solid #fff;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 99.9%;
}

.open_sidebar {
  height: 50rem;
  width: 55px;
  position: absolute;
  background-color: #FFF;
  z-index: 1;
  left: 0;
  top: 6rem;
  transition: 0.5s;
  overflow-y: auto;
  border: #8b66ac 3px solid;
  border-radius: 0 20px 20px 0;
  cursor: pointer;
}
.open_sidebar .lupe {
  width: 3rem;
  height: 3rem;
  background: transparent url("/images/Lupe.svg") no-repeat top left;
  margin: 0.1rem;
  margin-top: 0.5rem;
}
.open_sidebar .zeiger {
  width: 3rem;
  height: 3rem;
  background: transparent url("/images/Zeiger-rechts.png") no-repeat center center;
  margin: auto auto;
  top: 38%;
  position: relative;
}

.sidebar {
  border-radius: 10px 10px 10px 10px;
  overflow-x: hidden;
  transition: 0.5s;
  z-index: 1;
  width: 400px;
  background: #fff;
  height: auto;
  overflow-y: auto;
  position: absolute;
  left: 0;
  top: 6rem;
  max-height: 85%;
}
.sidebar select {
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 10px 16px;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.26);
  background: #F7F7F7 url("images/br_down.png") no-repeat right 15px center;
}
.sidebar .button-bar {
  background-color: #f9c100;
  height: 40px;
  border-radius: 0 0 10px 10px;
}
.sidebar .button-bar button {
  float: right;
  margin-right: 15px;
  position: relative;
  top: 24%;
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
}
.sidebar .list {
  transition: all 1s ease;
  position: relative;
}
.sidebar .list div {
  border-bottom: 1px solid #f2f2f2;
}
.sidebar label {
  font-size: 17px;
}
.sidebar label.disabled:before {
  border: 1px solid #ded4e7 !important;
  cursor: default !important;
}
.sidebar label.disabled {
  color: #cacaca !important;
  cursor: default !important;
}
.sidebar .filter {
  transition: 0.5s;
  overflow-x: auto;
  position: relative;
  margin-top: -1.5rem;
}
.sidebar .cat {
  margin-top: 0.5rem;
}
.sidebar input[type=radio],
.sidebar input[type=checkbox] {
  display: none;
}
.sidebar input[type=radio] + label,
.sidebar input[type=checkbox] + label {
  padding-bottom: 10px;
  cursor: pointer;
  display: inline;
}
.sidebar input[type=radio] + label:before,
.sidebar input[type=checkbox] + label:before {
  content: "";
  font-family: "Font Awesome 5 Free";
  display: inline-block;
  border: 1px solid #643390;
  border-radius: 5px;
  background-color: #FFF;
  color: #643390;
  box-sizing: border-box;
  transition: all 0.25s;
  cursor: pointer;
  position: relative;
  padding-left: 2px;
  margin-right: 10px;
  margin-bottom: 10px;
  margin-top: 10px;
  margin-left: 1.3rem;
  line-height: 18px;
  font-size: 14px;
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #FFF;
  letter-spacing: 2px;
}
.sidebar input[type=radio] + label .disabled:before,
.sidebar input[type=checkbox] + label .disabled:before {
  border: 1px solid #ded4e7;
}
.sidebar input[type=radio]:checked + label:before,
.sidebar input[type=checkbox]:checked + label:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #643390;
  letter-spacing: 2px;
}
.sidebar input[type=radio] + label:before {
  border-radius: 15px;
}
.sidebar .subject_filter {
  margin-top: 0.5rem;
}

.hide {
  display: none;
}

.listings p label {
  font-weight: 600;
  display: block;
}

.pad2 {
  box-sizing: border-box;
}

#menu {
  background: #fff;
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 10px;
  border-radius: 3px;
  width: 120px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  font-family: "Open Sans", sans-serif;
}
#menu a {
  font-size: 13px;
  color: #404040;
  display: block;
  margin: 0;
  padding: 10px;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  text-align: center;
}

#reset:hover {
  cursor: pointer;
}

.marker {
  background-size: cover;
  width: 26px;
  height: 46px;
  border-radius: 26%;
  cursor: pointer;
}

.education_art {
  background-image: url("/images/Pin_violett.svg");
}

.interdisciplinary_offer {
  background-image: url("/images/Pin_magenta.svg");
}

.dance_theater {
  background-image: url("/images/Pin_gruen.svg");
}

.media_movie {
  background-image: url("/images/Pin_blau.svg");
}

.music {
  background-image: url("/images/Pin_rosa.svg");
}

.speech {
  background-image: url("/images/Pin_gelb.svg");
}

.nature_environment_home {
  background-image: url("/images/Pin_weiss.svg");
}

#map.cooperationsculturemakesstronger .marker {
  background-image: url("/images/Pin_violett.svg") !important;
}

.mapboxgl-popup {
  max-width: 50%;
  width: 50%;
  overflow: auto;
  min-height: 0;
  z-index: 100;
  height: auto;
  max-height: 100%;
  pointer-events: auto;
  flex-direction: unset;
  background-color: #FFF;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  position: relative;
  padding: 2rem;
  border-radius: 10px;
  border: 2px solid #8b66ac;
  box-shadow: 0px 0px 9px -1px rgba(0, 0, 0, 0.75);
}
.mapboxgl-popup.school {
  background: #FFF url("/images/Schule_3.svg") no-repeat center 50px;
  background-size: 100px 80px;
}
.mapboxgl-popup.learnstations {
  background: #FFF url("/images/Lernorte_3.svg") no-repeat center 50px;
  background-size: 100px 80px;
}
.mapboxgl-popup.kitas {
  background: #FFF url("/images/Kita_3.svg") no-repeat center 50px;
  background-size: 100px 80px;
}
.mapboxgl-popup.furthereducation {
  background: #FFF url("/images/Fortbildungen_3.svg") no-repeat center 50px;
  background-size: 100px 80px;
}
.mapboxgl-popup.cooperationsculturemakesstronger {
  background: #FFF url("/images/Fortbildungen_3.svg") no-repeat center 50px;
  background-size: 100px 80px;
}

.mapboxgl-popup-content {
  text-align: left;
  font-family: "Open Sans", sans-serif;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0px;
  position: relative;
  top: 0px;
  width: 100%;
  background-color: transparent;
  border-radius: 0px;
  box-shadow: none;
}
.mapboxgl-popup-content button:nth-child(2) {
  margin-top: 150px;
}
.mapboxgl-popup-content button b {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 17px;
}
.mapboxgl-popup-content p {
  overflow-y: auto;
  position: relative;
}
.mapboxgl-popup-content .panel_accordion {
  border: none;
}

.mapboxgl-popup-tip {
  display: none;
}

.mapboxgl-popup-close-button {
  font-size: 24px;
  right: -5px;
  top: -5px;
  margin: 0.6rem;
  font-weight: bold;
}
.mapboxgl-popup-close-button span {
  font-size: 21px;
}
.mapboxgl-popup-close-button:hover {
  background-color: transparent;
}
.mapboxgl-popup-close-button.closepanel {
  font-size: 17px;
}

.mapboxgl-ctrl-top-left,
.mapboxgl-ctrl-top-right,
.mapboxgl-ctrl-bottom-left,
.mapboxgl-ctrl-bottom-right {
  z-index: 1;
}

.accordion {
  background-color: #fce07f;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  font-size: 14px;
  z-index: 100;
  margin-bottom: 0.5rem;
}
.accordion:hover {
  background-color: #f9c100;
}

.active {
  background-color: #f9c100;
}

.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  width: 50%;
  margin: auto;
  position: relative;
  border-radius: 10px;
  border: 2px solid #8b66ac;
  z-index: 1;
  box-shadow: 0px 0px 9px -1px rgba(0, 0, 0, 0.75);
}
.panel h1 {
  margin-bottom: 2rem;
  display: flex;
  padding: 0 0.5rem 0 0;
  align-items: center;
  height: 70px;
}
.panel h1 div.panel-image {
  min-width: 5.7rem;
  top: 1.2rem;
  height: 6rem;
  display: inline-block;
  margin: 0 0.5rem;
}
.panel h1 div.panel-image.school {
  background: transparent url("/images/Schule_3.svg") no-repeat center center;
}
.panel h1 div.panel-image.learnstations {
  background: transparent url("/images/Lernorte_3.svg") no-repeat center center;
}
.panel h1 div.panel-image.kitas {
  background: transparent url("/images/Kita_3.svg") no-repeat center center;
}
.panel h1 div.panel-image.furthereducation {
  background: transparent url("/images/Fortbildungen_3.svg") no-repeat center center;
}
.panel h1 div.panel-image.cooperationsculturemakesstronger {
  background: transparent url("/images/Fortbildungen_3.svg") no-repeat center center;
}
.panel .wrapper {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-gap: 10px;
  grid-auto-rows: 100px;
  grid-template-areas: "a a a a b b b b" "c c c c d d d d" "e e e e f f f f" "g g g g h h h h" "i i i i j j j j";
  align-items: start;
}
.panel .item1 {
  grid-area: a;
  width: 22rem;
}
.panel .item2 {
  grid-area: b;
}
.panel .item3 {
  grid-area: c;
}
.panel .item4 {
  grid-area: d;
}
.panel .item5 {
  grid-area: e;
}
.panel .item6 {
  grid-area: f;
}
.panel .item7 {
  grid-area: g;
}
.panel .item8 {
  grid-area: h;
}
.panel .item9 {
  grid-area: i;
}
.panel .item10 {
  grid-area: j;
}

.clear {
  clear: both;
}

.footer {
  width: 100%;
  height: 50px;
  background-color: #FFFFFF;
  z-index: 1;
  position: absolute;
  bottom: 0;
  opacity: 0.8;
  left: 0;
}
.footer .legend {
  display: inline-block;
  margin: 0.3rem 30px;
  width: auto;
}
.footer .marker {
  display: inline-block;
}
.footer .desc {
  margin: auto 0;
  display: inline-block;
  top: -18px;
  position: relative;
}

@media screen and (max-width: 1500px) {
  img {
    width: 100%;
    left: -15px;
  }
  .sidebar {
    width: 400px;
    padding-left: 0px;
  }
  .map {
    border-left: 1px solid #fff;
    position: absolute;
  }
  .heading h1 {
    padding-top: 5px;
    padding-left: 27%;
  }
}
@media screen and (max-width: 800px) {
  img {
    width: 40%;
  }
  .heading {
    font-size: 14px;
  }
  .heading h1 {
    margin: 0px !important;
    padding-top: 8px;
    padding-left: 10%;
  }
  .logo {
    width: 27%;
    height: 75px;
  }
  #map {
    position: absolute;
    top: 13.1em;
    left: 0;
    right: 0;
    bottom: auto;
    height: 67%;
    transition: height 250ms, top 250ms;
    width: 100%;
    border-left: 0px;
  }
  #menu {
    top: 168px;
    font-size: 0.6em;
  }
  #menu a {
    padding: 5px;
  }
  #listings .message {
    margin-bottom: -10px;
  }
  .sidebar {
    position: absolute;
    width: 400px;
    top: 0;
    left: 0;
    right: 0;
    height: 11.5em;
    bottom: auto;
    box-shadow: none;
    transition: height 250ms;
    font-size: 1em;
    overflow: auto;
    padding-left: 10px;
  }
  .listings label {
    display: inline;
  }
  .mapboxgl-popup {
    max-width: 100%;
    width: 100%;
  }
  .mapboxgl-popup-content {
    padding: 0px;
    height: 100%;
  }
  .mapboxgl-popup-content p {
    padding-right: 10px;
  }
  .accordion {
    font-size: 1em;
    padding: 10px;
  }
  mapboxgl-popup-close-button {
    right: 5px;
  }
  .footer {
    margin-top: 0px;
  }
}
@media screen and (max-width: 480px) {
  .heading h1 {
    padding-left: 19%;
  }
  img {
    width: 60%;
  }
}
@media screen and (max-width: 320px) {
  .heading h1 {
    padding-left: 25%;
  }
  img {
    width: 21%;
  }
}
.panel.cooperationsculturemakesstronger .wrapper {
  display: block;
  font-size: 20px;
}
.panel.cooperationsculturemakesstronger .wrapper div:last-of-type {
  padding-bottom: 20px;
}
