#map {
  width: 100%;
  height: 100%;
  transition: filter .3s ease-in-out;
}

/* Navbar */

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 140px;
  background: #fff;
  z-index: 1300;
}

nav.mobile{
  top: unset;
  bottom: 0;
  z-index: 1300;
}

@media (min-width:1050px){
  nav.mobile{
    display: none;
  }
}

nav > .row{
  height: 100%;
}


nav > .row > .col-search{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  height: 100%;
}
#filter .input,
nav > .row > .col-search > .input{
  width: 100%;
  position: relative;
}

nav > .row > .col-badges{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

nav > .row > .col-badges .badges{
  margin-right: 15px;
}

div.logo {
  display: inline-block;
}

nav .showsearchbutton {
  display: none;
}

div.logo img {
  height: 80px;
  width: auto;
}

nav img {
  width: auto;
}

div.logo {
  margin-top: 0px;
  margin-right: 20px;
}

.badges {
  list-style-type: none;
  padding: 0px;
  display:flex;
}
.badges li{
  width:50%;
}

.badges a:hover, .badges a:focus{
  text-decoration: none;
}

.badges img {
  max-height: 120px;
  margin-top: 10px;
  margin-left: 20px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.badges li {
  display: inline;
  margin: 0 10px;
}

.infobutton {
  float: left;
  margin-top: 35px;
  margin-left: 30px;
  border: 2px solid #27348E;
  height: 25px;
  width: 25px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
nav:not(.mobile) .infobutton{
  border-radius: 50%;

}
nav:not(.mobile) .infobutton i{
  color: #27348E;
}

.remove{
  position: absolute;
  float: right;
  right: 15px;
  top: 15px;
  cursor: pointer;
}

.set-location {
  position: absolute;
  right: 0;
  width: 10%;
  height: 100%;
  top: 0;
  cursor: pointer;
}

.remove:hover i,.set-location:hover i {
  color: gray;
}

.remove i, .set-location i {
  font-size: 1.4em;
  color: #ababab;
}

.set-location i {
  top: 7px;
  position: absolute;
  right: 12px;
}

.suggestions {
  position: absolute;
  background: #eee;
  z-index: 1;
  color: #000000;
  border-left: 3px solid #ccc;
  border-bottom: 3px solid #ccc;
  border-right: 3px solid #ccc;
  left: 8px;
  right: 8px;
  top: 50px;
  padding: 0px 10px 0px 10px;
  height: auto;
  transition: all 0.5s;
  max-height: 240px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.suggestionsstadtteil {
  position: absolute;
  background: #fff;
  z-index: 1;
  border-bottom: 3px solid #ccc;
  left: 8px;
  right: 8px;
  bottom: 50px;
  padding-bottom: 0px;
  height: auto;
  transition: all 0.5s;
  max-height: 240px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.collapsed {
  height: 0;
}

.hidden {
  display: none;
}

.suggestions ul {
  list-style: none;
  padding: 10px;
  margin-bottom: 0px;
  color: #797979;
}

.suggestions ul li {
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 2;
}

.suggestions ul li:hover {
  color: #27348e;
}

.suggestionsstadtteil ul {
  list-style: none;
  padding: 10px;
  margin-bottom: 0px;
  color: #797979;
}

.suggestionsstadtteil ul li {
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 2;
}

.suggestionsstadtteil ul li:hover {
  color: #27348E;
}

nav .logo {
  float: left;
}


.view-switch{
  position: absolute;
  top:25px;
  right:25px;
  z-index: 1300;
}

.view-switch a{
  background-color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  display: block;
}

.view-switch a.map{
  display: none;
}

.modal-open .view-switch a.map{
  display: block;
}
.modal-open .view-switch a.list{
  display: none;
}

.view-switch a:hover,.view-switch a:focus{
  text-decoration: none;
}


.view-switch a span{
  font-weight: 500;
  margin-left: 3px;
}

@media (max-width:1049px){
  .view-switch{
    display: none;
  }
}


/* Filter */

#filter {
  height: calc(100% - 50px);
  width: 380px;
  background: #fff;
  position: absolute;
  left: 0;
  top: 50px;
  z-index: 1200;
  transition: left .3s ease-in-out;
}

#filter.closed{
  left: -380px;
}

@media (max-width:1049px){
  #filter.closed{
    left: -96%;
  }
}

#filter .header h2 {
  font-size: 1.6em;
  color: #4a4a4a;
  padding: 0 15px;
  margin: 0;
  font-weight: 500;

}

#filter .filteroptions {
  overflow-y: auto;
  padding-bottom: 20px;
  height: calc(100% - 250px);
  padding-top: 10px;
  background-color: #fff;
}

#filter .collapsed .filteritem {
  /*display: none;*/
}

#filter .header {
  padding-bottom: 20px;
  padding-top: 20px;
  background: #fff;
}

#filter ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#filter li {
  list-style-type: none;
  cursor: pointer;
}

#filter .category h3{
  font-size: 1.25em;
  cursor: pointer;
  font-weight: 500;
  margin-top: 0px;
  position: relative;
  padding-right: 25px;
  margin-bottom:0px;

}
#filter .category h3+li{
  margin-top: 10px;
}
#filter .header-bezirke {
  margin-left: 14px;
  font-size: 1.25em;
  cursor: pointer;
  font-weight: 500;
  color: #27348E;

}

.form-group-bezirk{
  padding: 0px 15px;
}

.select-bezirk{
  font-size: 1.1em;
  padding: 14px 12px;
  height: 50px;
  border-radius: 10px;
}

#filter .category h3 i {
  margin-left: 8px;
  position: absolute;
  top:0;
  right: 0;
}

#filter .filteritem {
  padding-left: 35px;
  font-weight: bold;
  color: #27348E;
}

#filter .filteritem.sub {
  display: none;
  padding-left: 40px;
  margin-bottom: 3px;
}

#filter .filteritem.catfirst + .filteritem.sub {
  margin-top: -3px;
}


#filter .category {
  margin: 0px 15px 0px 5px;
  background-color: #F8F8F8;
  padding: 5px;
  border-radius: 10px;
  min-height: 20px;
  height: auto !important;
}
#filter .category.collapsed {
  margin-top: 0px;
  padding-bottom: 0px;
  background-color: #fff;
}

#filter .category .catfirst {
  padding-left: 0px;
  font-size: 1.1em;
  display: none;
  margin-bottom: 3px;
}

#filter .category li li {
  padding-left: 30px;
}

#filter .fa {
  margin-right: 3px;
}

#filter li.selected {
  color: #27348E;
  display: block !important;
}

#filter li.selected i {
  color: #27348E;
}

#filter {
  user-select: none;
}

#filter .count {
  display: none;
  padding-left: 15px;
  padding-bottom: 10px;
  background: #fff;
  width: 100%;
}

#filter .filteritem .cat-title {
  padding-left: 23px;
  display: block;
  margin-top: -22px;
}

#filter-nav-toggle{
  background: #fff;
  width: 25px;
  height: 50px;
  position: absolute;
  top: 90px;
  right: -25px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  border-radius: 0px 10px 10px 0px;
  cursor: pointer;
  z-index: -1;
}

@media (max-width:1049px){
  #filter-nav-toggle{
    display: none;
  }
}

#filter.closed #filter-nav-toggle .closed{
  display: block;
}

#filter #filter-nav-toggle .closed{
  display: none; 
}

#filter.closed #filter-nav-toggle .open{
  display: none;
}

#filter .meta-menu{
  height: 45px;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 380px;
}

#filter .meta-menu a{
  width: 50%;
  float: left;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background: #27348E;
  color: #ebe2e2;
}

/* Maps infoWindow */

.info-wrapper{
  display: none;
}

.infowindow {
  overflow:hidden;
}

.infowindow h3, .place-header h3 {
  margin: 10px 0px 2px;
  font-size: 1.5em;
  color: #27348E;
}

.infowindow h4 {
  font-size: 1.2em;
}

.details {
  margin-top: 15px;
  padding-bottom: 10px;
}

.details p {
  margin-bottom: 4px;
}

.details .adr {
  margin-bottom: 12px;
}

.details .bezirke {
  overflow: hidden;
  margin-bottom: 0px;
}

.infowindow ul {
  list-style: none;
  padding: 5px;
}

.infowindow ul li {
  font-size: 1.1em;
  color: #333;
  font-weight: 400;
  margin-top: 3px;
  margin-bottom: 3px;
  width: 100%;
}
.infowindow ul li{
  margin-top: 0px;
}
.infowindow ul li ul li:last-child{
  padding-bottom: 15px;
}

.infowindow ul li i {
  margin-right: 5px;
  color: #27348E;
}

.beschreibung {
  /*border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;*/
  padding-bottom: 10px;
}

.zielgruppe {
  padding-bottom: 40px;
  padding-top: 20px;
}

.tags {
  padding-top: 10px;
}

.infowindow ul li{
    float: left;
}


/* Mobile Logo */

.logo.logomobile {
  position: fixed;
  top: 0;
  margin: 0;
  background: #fff;
  width: 100%;
  padding: 5px;
  display: none;
}

.logo.logomobile img {
  margin-left: 20px;
}



nav .showsearchbutton, nav .mobilesearch, nav .showfilterbutton, nav .tomapbutton {
  height: 90px;
  color: #4a4a4a;
  background: #fff;
  width: calc(50% - 45px);
  display: none;
  float: left;
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

nav .showfilterbutton:focus, nav .tomapbutton:focus,
nav .showfilterbutton:active:focus, nav .tomapbutton:active:focus,
nav .showfilterbutton:active, nav .tomapbutton:active  {
  outline: none;
}

nav .showsearchbutton {
  border-right: 1px solid #e5e5e5;
}

nav .mobilesearch {
  width: calc(100% - 90px);
}

nav .mobilesearch {
  display: block;
  padding-left: 60px;
  position: relative;
  float: right;
  display: none;
}

nav .mobilesearch input {
  height: 100%;
  font-size: 2em;
  border: none;
  outline: none;
}

nav .mobilesearch i.fa {
  font-size: 2.3em;
  color: #bfbfbf;
  top: 50%;
  position: absolute;
  transform: translateY(-50%);
}

nav .mobilesearch i.fa-search {
  left: 15px;
}

nav .mobilesearch i.fa-times {
  right: 30px;
}

.suggestions.mobile {
  border: none;
  left: 0;
  right: 0;
  padding-bottom: 0;
  border-bottom: 1px solid #e5e5e5;
}

.tomapbutton {
  display: none;
}

.mobiledetailview .infowindow {
  width: auto;
  font-size: 0.8em;
  padding-bottom: 100px;
}

.mobiledetailview .infowindow h3 {
  margin-right: 35px;
  margin-bottom: 40px;
}

.desktopdetailview  {
  position: fixed;
  top: 0;
  background: #fff;
  height: calc(100% - 90px);
  left: 0;
  width: 400px;
  padding: 10px;
  display: none;
  overflow-y: auto;
  padding-bottom: 100px;
}

.desktopdetailview .infowindow {
  width: auto;
  font-size: 0.9em;
}

.desktopdetailview .infowindow h3 {
  margin-right: 35px;
  margin-bottom: 15px;
}

.desktopdetail .infowindow li {
  margin-top: 3px;
  margin-bottom: 3px;
  width: 100%;
}



/* Responsive Design */

@media (min-width:1050px) {
  .mobilesearch {
    display: none;
  }
}

@media (max-width:1049px) {

  .infomodal .modal {
    left: 0;
    top: 0;
    transform: none;
    max-height: none;
  }

  .gm-bundled-control {
    display: none;
  }

  #filter {
    width: 96%;
    height: calc(100% - 190px);
    margin-top: 50px;
    position: fixed;
    display: none;
  }

  #map {
    position: fixed;
  }
  nav .col-search {
    display: none!important;
  }

  nav .searchbox {
    display: none;
  }

  nav:not(.mobile) .infobutton {
    display: none;
  }

  nav.mobile .infobutton {
    height: 90px;
    margin: 0;
    width: 90px;
  }

  nav .showsearchbutton {
    display: inline-block;
  }

  nav .showfilterbutton, nav .tomapbutton {
    display: inline-block;
  }

  .logo.logomobile {
    display: block;
  }

  #filter .filteritem.catfirst {
    margin-bottom: 6px;
  }
  .badges img {
    max-height:80px;
  }
}

.mobiledetailview {
  position: fixed;
  top: 80px;
  background: #fff;
  height: 80%;
  left: 2.5%;
  width: 95%;
  display: none;
  padding: 10px;
  height: 100%;
  overflow-y: scroll;
}

@media (max-width:600px) {
  
  #filter {
    width: 100%;
    height: calc(100% - 165px);
    margin-top: 50px;
  }

  #filter.closed{
    left: -100%;
  }

  .logo.logomobile img {
    height: 35px;
  }

  nav {
    height: 65px;
  }

  body > div:not(.modal){
    top: 65px !important;
    height: calc(100vh - 65px) !important;
  }

  nav .logo{
    margin-top: 16px;
  }

  nav .mobilesearch input {
    font-size: 1.3em;
    width: 85%;
  }

  nav button.btn.infobutton, nav button.btn.showsearchbutton, nav .mobilesearch, nav button.btn.showfilterbutton, nav button.btn.tomapbutton  {
    height: 65px;
  }

}
@media (max-width:400px) {
  #filter {
    height: calc(100% - 140px);
  }
  .modal .modallogo {
    height: 44px;
  }


  .logo.logomobile img {
    height: 25px;
  }

  button.mobile span {
    font-size: 0.8em;
  }


  nav {
    height: 40px;
  }

  body > div:not(.modal){
    top: 40px !important;
    height: calc(100vh - 40px) !important;
  }

  nav .logo{
    margin-top: 0px;
  }

  nav button.btn.infobutton, nav button.btn.showsearchbutton, nav .mobilesearch, nav button.btn.showfilterbutton, nav button.btn.tomapbutton  {
    height: 40px;
  }

  nav .mobilesearch {
    font-size: 0.7em;
    padding-left: 45px;
  }

  nav .mobilesearch input {
    width: 80%;
  }


  nav .mobilesearch i.fa-times {
    right: 15px !important;
  }

  #filter .header {
    height: auto;
    padding-bottom: 20px;
  }

  #filter .header h2 {
    font-size: 1.2em;
  }

  .mobiledetailview {
    top: 50px;
  }


}

#info-accordion > .place > .collapse {
  padding: 0 18px;
  background-color: white;
  display: none;
  overflow: hidden;
}

#info-accordion > .place .place-toggle{
  cursor: pointer;
  padding-right: 35px;
  position: relative;
}

#info-accordion{
  margin-top: 60px;
}

.place-header h4{
  margin-top: 0px;
}

.place-header span{
  position: absolute;
  top: 0px;
  right: 8px;
  font-size: 1.5em;
  color: #27348E;
}

.place-header .opened{
  display: none;
}

.place-header .closed{
  display: inline-block;
}

.place-header.active .opened{
  display: inline-block;
}

.place-header.active .closed{
  display: none;
}

.place.open .collapse{
  display: block !important;
}

.search-address, .search{
  background-color: #fff;
}
.col-search{
  position: relative;
    z-index: 1;
}

#find-location {
  right: 50px;
  position: absolute;
  bottom: 50px;
  color:#27348E;
  cursor: pointer;
}

#find-location i{
  color: #27348E;
  font-size: 8rem;
}

#find-location svg{
    width:50px;
    height:auto;
    fill: currentColor;
}

@media (max-width:1049px){
  #find-location {
    bottom: 135px;
  }
}

.location-marker{
  content: url(../Images/location-solid.svg);
  width: 50px;
  height: 50px;
  cursor:pointer;
}

.bildungskarte .header-bezirke,.bildungskarte .select-bezirk{
  display: none;
}

.bildungskarte .liste-bezirke{
  display: none;
}