/* Display Background image only if not mobile device */
/* See also responsive.css */
#parentBackgroundSVG {
  display: block;
  width: 100%;
  height: 576pt;
  overflow: hidden;
}

#backgroundSVG {
  width: 100%;
  height: 576pt;
  background: url(/img/background.svg) no-repeat;
  background-position: center;
}

#parentBackgroundElektro {
  width: 100%;
  max-height: 768px;
  overflow: hidden;
}

div[class="w3-row w3-border"] {
	position:relative;
	width:100%;
}

div[class="card"] img {
  width: 400px;
  height: 400px;
  object-fit: cover;
}

/* About Page */
*, *:before, *:after {
  box-sizing: inherit;
}

.column {
  float: left;
  width: 33.3%;
  margin-bottom: 16px;
  padding: 0 8px;
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  margin: 8px;
}

.about-section {
  padding: 50px;
  text-align: center;
  background-color: #474e5d;
  color: white;
}

.container {
  padding: 0 16px;
}

.container::after, .row::after {
  content: "";
  clear: both;
  display: table;
}

.title {
  color: grey;
}

.button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 8px;
  color: white;
  background-color: #000;
  text-align: center;
  cursor: pointer;
  width: 100%;
}

.button:hover {
  background-color: #555;
}

/* Dropdown Menu */
/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.dropdown-container {
  display: none;
  background-color: #262626;
  padding-left: 8px;
}

table[id='mietparkTable'] td:nth-child(5n),
table[id='mietparkTable'] td:nth-child(7n) {
  text-align: right;
}

 /* The Modal (background) */
 .modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 99; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #290000;
  color: white;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 3px solid red;
  width: 50%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
} 