/* ------------------------------------------------
	KARTE
--------------------------------------------------*/
body.location {
  padding-top: 270px;
}

.location #mainheader,
.location #main-nav,
.location #black-bg {
  z-index: 1002 !important;
}

.location #header-nav #lang-switcher li ul {
  z-index: 1003 !important;
}

.location-search-form {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  position: fixed;
  z-index: 1001;
  top: 270px;
  background-color: rgba(255, 255, 255, 0.8);
}

.location-search-form h1 {
  font-size: 30px;
  line-height: 40px;
  margin-top: 10px;
}

.location-search-form + .grid {
  margin-top: 108px;
}

.location-search-form form {
  width: 45%;
  font-size: 32px;
  margin-bottom: 10px;
  float: left;
  margin-right: 80px;
}

.location-search-form form input[type="text"] {
  padding: 8px 3% 5px;
  width: calc(94% - 80px);
  border: 1px solid #ccc;
  vertical-align: top;
  font-size: 30px;
  line-height: 32px;
  height: 32px;
  -webkit-appearance: none;
}

.location-search-form form button[type="submit"] {
  width: 61px;
  margin: 0;
  border: 0px;
  vertical-align: top;
  float: right;
  padding: 0.5%;
  line-height: 0px;
  height: 48px;
  background-color: transparent;
}

.location-search-form form button[type="submit"] img {
  width: 100%;
  height: 40px;
}

.location-search-form form button[type="submit"]:hover {
  background-color: #ffda1f;
}

.location-search-form .button {
  margin-top: 0;
  margin-bottom: 0;
  padding: 6px 18px 4px;
}

.location-nav {
  float: right;
  margin-top: 0px;
}

.location-nav ul {
  padding: 0;
  margin: 0;
}

.location-nav ul li {
  list-style: none;
  display: inline-block;
  margin-right: 10px;
}

.location-nav ul li a {
  display: inline-block;
  width: 30px;
  padding: 5px;
}

.location-nav ul li:first-child a {
  width: 40px;
}

.location-nav ul li a:hover {
  background-color: #ffda1f;
}

#map {
  width: 100%;
  height: 800px;
}

.leaflet-popup-content-wrapper {
  border-radius: 0;
  min-width: 250px;
}

.leaflet-popup-content {
  font-family: "Hind", Arial, sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
}

.leaflet-container a {
  color: #00925f;
}

.leaflet-container a.button {
  color: #333;
  display: block;
  margin-top: 10px;
  text-align: center;
}

.leaflet-container a.button:hover {
  color: #fff;
}

#location-list {
  margin-top: 10px;
}

#location-list .list-element {
  border-bottom: 1px solid #ccc;
  padding: 20px 0px;
}

#location-list .list-element p {
  width: 33%;
  margin-right: 20px;
  display: inline-block;
}

#location-list .list-element a.button {
  float: right;
}

#location-list .country {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 0.5em;
  color: #00925f;
}

#location-list .locations-container {
  margin-bottom: 2em;
}

#location-list .locations {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
}

#location-list .locations li {
  flex-basis: 25%;
  line-height: 2;
}

#location-list .locations li a {
  display: inline-block;
  color: #666;
}

#location-list .locations a i {
  padding-right: 6px;
}

#location-list .locations li a:hover {
  color: #00925f;
}

#location-list .locations a:hover i {
  color: #ce0000;
  text-decoration: none;
}

#map-small {
  width: 100%;
  height: 350px;
  z-index: 0;
}

.leaflet-top {
  top: 110px;
}

#location-form-container input[disabled] {
  color:#ccc;
}
#location-form-container button[disabled] {
  background-color:#ccc;
}
#location-form-container.disabled .button {
  color:#efefef;
  background-color: #ccc;
  border-color: #ccc;
  cursor: default;
}

/* ------------------------------------------------
	RESPONSIVE
--------------------------------------------------*/
@media only screen and (max-width: 1440px) {
  .location-search-form h1 {
    font-size: 28px;
    line-height: 34px;
  }

  .location-search-form form {
    width: 50%;
    font-size: 28px;
    margin-top: 5px;
    margin-right: 40px;
  }

  .location-search-form form input[type="text"] {
    padding: 10px 3% 8px;
    width: calc(94% - 70px);
  }

  .location-search-form form button[type="submit"] {
    width: 60px;
    height: 50px;
  }

  .location-search-form form button[type="submit"] img {
    height: 40px;
  }

  .location-search-form .button {
    margin-top: 5px;
    padding: 6px 15px;
  }

  body.location {
    padding-top: 202px;
  }

  .leaflet-top {
    top: 120px;
  }
}

@media only screen and (max-width: 1260px) {
  .location-search-form h1 {
    font-size: 24px;
    line-height: 30px;
  }

  .location-search-form form {
    font-size: 24px;
    margin-top: 0px;
    margin-right: 20px;
  }

  .location-search-form form input[type="text"] {
    padding: 8px 3% 6px;
    width: calc(94% - 60px);
  }

  .location-search-form form button[type="submit"] {
    width: 50px;
    height: 42px;
  }

  .location-search-form form button[type="submit"] img {
    height: 32px;
  }

  .location-search-form .button {
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 2px 10px;
  }

  .location-nav ul li:first-child a {
    width: 35px;
  }

  .location-nav ul li a {
    width: 23px;
    padding: 2px;
  }

  .location-nav ul li a img {
    height: 32px;
  }

  body.location {
    padding-top: 182px;
  }

  #map {
    height: 400px;
    margin-top: 110px;
  }

  .leaflet-top {
    top: 0px;
  }

  #location-list .locations li {
    flex-basis: 33.33%;
  }
}

@media only screen and (max-width: 768px) {
  #location-list .locations li {
    flex-basis: 50%;
  }
}

@media only screen and (max-width: 740px) {
  .location-search-form + .grid {
    margin-top: 144px;
  }

  .location-search-form form {
    width: 98%;
  }

  .location-search-form form button[type="submit"] {
    width: 8%;
  }

  .location-search-form form input[type="text"] {
    padding: 8px 2% 6px;
    width: 85%;
    margin-bottom: 5px;
  }

  .location-nav {
    float: left;
  }

  body.location {
    padding-top: 184px;
  }

  #location-list .list-element p {
    width: 100%;
    margin-right: 0px;
  }

  #location-list .list-element a.button {
    float: none;
  }

  #map {
    margin-top: 156px;
  }
}

@media only screen and (max-width: 520px) {
  .location-search-form + .grid {
    margin-top: 0;
  }

  .location-search-form form button[type="submit"] {
    width: 10%;
  }

  .location-search-form form input[type="text"] {
    width: 82%;
  }

  body.location {
    padding-top: 285px;
  }

  #map {
    width: calc(100% - 30px);
    margin-top: 10px;
  }

  .leaflet-popup-content-wrapper {
    max-width: 200px;
  }

  #location-list .locations li {
    flex-basis: 100%;
  }
}

@media only screen and (max-width: 420px) {
  .location-search-form {
    position: static;
  }
  .location-search-form form button[type="submit"] {
    width: 12%;
  }

  .location-search-form form input[type="text"] {
    width: 80%;
  }

  body.location {
    padding-top: 100px;
  }

  #map {
    margin-top: 30px;
  }
}
