/* --- Stylesheet -----*/
/* --- #id .class -----*/

/* ------- Container ------- */
#container {
  margin: 5px;
}

@media screen and (max-width: 768px) {
  #container {
    margin: 0px;
  }
}	


/* ------- Header ------- */
#header {
  padding: 5px;
  clear: left;
}

/* ------- Footer ------- */
#footer {
  border-top: 1px solid gray;
  clear: left;
  text-align: center;
}

/* ------- Menu ------- */
#nav {
  clear: left;
  text-align: center;
  background-color: #dddddd;
}

#nav ul {
  display: inline-block;
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#nav li {
  float: left;
}

#nav li a {
  display: block;
  color: #000;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

#nav li a.active {
  background-color: #4CAF50;
  color: white;
}

#nav li a:hover:not(.active) {
  background-color: #555;
  color: white;
}

/* ------- Contents ------- */
#contents {
  clear: left;
  padding: 0.5em;
}

#map {
  text-align: center;
}

#slippy {
  width: 768px; 
  height: 512px; 
  margin: 0 auto; 
  text-align:center;
}

@media screen and (max-width: 768px) {
  #slippy {
    width: auto;
    height: 512px; 
  }
}

/* ------- Photo gallery ------- */
#fotoindex {
  padding: 0.5em;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-content: flex-start;
}

div.img {
  margin: 5px;
  border: 1px solid #ccc;
  float: left;
}

div.img:hover {
  border: 1px solid #777;
}

div.img img {
}

div.img a {
  text-decoration: none;
}

div.desc {
  padding: 15px;
  text-align: center;
}

div.gallary {
  text-align: center;
  overflow-x: auto;
  white-space:nowrap;
}

div.viewer {
  text-align: center;
}

#area {
  padding: 0.5em;
  text-align: center;
  border-top: 1px solid gray;
}

#photo {
  text-align: center;
  max-width: 100%;
  height: auto;
}

/* ------- End ------- */
