/* Google Maps */

/* Always set the map height explicitly to define the size of the div
       * element that contains the map. */
#map {
  height: calc(100vh - 514px);
  min-height: 400px;
  width: 100%;
  margin: auto;
}

#search {
  height: 100%;
  width: 100%;
}

/* Optional: Makes the sample page fill the window. */
.controls {
  margin-top: 10px;
  border: 1px solid transparent;
  border-radius: 2px 0 0 2px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  height: 32px;
  outline: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#pac-input {
  background-color: #fff;
  font-family: Roboto;
  font-size: 15px;
  font-weight: 300;
  margin-left: 12px;
  padding: 0 11px 0 13px;
  text-overflow: ellipsis;
  width: 300px;
}

#pac-input:focus {
  border-color: #4d90fe;
}

.pac-container {
  font-family: Roboto;
}

#type-selector {
  color: #fff;
  background-color: #4d90fe;
  padding: 5px 11px 0;
}

#type-selector label {
  font-family: Roboto;
  font-size: 13px;
  font-weight: 300;
}

#target {
  width: 345px;
}

/* Login / Register Form */

form {
  margin: 0 auto;
  width: 100%;
}

button,
label {
  cursor: pointer;
}

#form-switch {
  display: none;
}

#register-form {
  display: none;
}

#form-switch:checked ~ #register-form {
  display: block;
}

#form-switch:checked ~ #login-form {
  display: none;
}

/* Dashboard */

.col-sm-3.weathertable {
  border: 1px solid rgb(128, 125, 125);
  padding: 10px;
  border-radius: 20px;
  font-size: 18px;
}

/* Dashboard Favourites */

.favourites {
  margin-top: 30px;
}

.favourites .favourite.add {
  background-image: url("/images/plus.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.favourites .favourite.add > a > div {
  opacity: .8;
  background-color: white;
}

.favourites .favourite.add > a > div:hover {
  opacity: .2;
  background-color: white;
  cursor: pointer;
}

.favourites .favourite.add > a {
  color: black;
}

.favourites .favourite.add > a:hover {
  text-decoration: none;
  color: black;
}

.favourites .col-sm-2 > div {
  border: 1px solid rgb(128, 125, 125);
  padding: 10px;
  border-radius: 20px;
  margin: 5px;
}

.favourites .col-sm-2 > a > div {
  border: 1px solid rgb(128, 125, 125);
  padding: 10px;
  border-radius: 20px;
  margin: 5px;
}

.favourites .col-sm-2 .delete-link {
  float: right;
  border: 1px solid rgb(128, 125, 125);
  border-radius: 11px;
  width: 22px;
  height: 22px;
  line-height: 16px;
  text-align: center;
}

.favourites .col-sm-2 .delete-link a {
  font-weight: bold;
  color: black;
}

.favourites .col-sm-2 .delete-link a:hover {
  text-decoration: none;
  color: red;
}

/* Titel bei Dashboard Page */

h1.center {
  text-align: center;
  margin-bottom: 40px;
}

h2.center {
  text-align: center;
  margin-bottom: 40px;
  margin-top: 40px;
}

.center-block {
  margin-right: 10px;
}

/* Primary Buttons */

.btn-primary {
  color: #2d2f30;
  background-color: #f7f7f7;
  border-color: #2d2f30;
}

.btn-primary:hover {
  color: #f7f7f7;
  background-color: #2d2f30;
  border-color: #f7f7f7;
}

.btn-primary.focus,
.btn-primary:focus {
  -webkit-box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5);
}

.btn-primary.active,
.btn-primary:active,
.show > .btn-primary.dropdown-toggle {
  color: #f7f7f7;
  background-color: #2d2f30;
  background-image: none;
  border-color: #2d2f30;
}

/* Switcher Button */

.btn-success {
  border-color: #2d2f30;

}

.btn-success.toggle-off,
.btn-success.toggle-on {
  color: #2d2f30;
  background-color: #f7f7f7;
  border-color: #2d2f30;
}

.btn-success:hover {
  color: #f7f7f7;
  background-color: #2d2f30;
  border-color: #f7f7f7;
}

.btn-success.toggle-off:focus,
.btn-success.toggle-on:focus {
  -webkit-box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5);

}

/* Footer */

.col-md-12 footer {
  font-size: 16px;
  text-align: center;
  letter-spacing: 2px;
  background: #f7f7f7;
  /* position: fixed; */
}

.col-md-12 footer b {
  font-size: 20px;
}
