/*
Version: 1.0.1
Author:Dave Borghuis aka zeno4ever
Author URI: http://daveborghuis.nl/
Text Domain: basic-child
Template: basic
*/
body {
  font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

#content {
  margin-top: 50px;
}

#map {
    width: 100%;
    height: 100%;
    float: left;
}

/* For all navagation */
nav {
    position: fixed;
    height: 50px;
    top: 0;
    right: 0;
    left: 0;
    font-size: 16px;
    line-height: 1em;
}

.menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333;
  color: #111;
}

.menu li {
  float: left;
}

.menu li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* Change the link color to #111 (black) on hover */
.menu li a:hover {
  background-color: #111;
}

.active {
  background-color: #555;
}

.menu github li a:hover {
  width: 25px;
  height: 25px;
  padding-left: 50px;
  float:right;
}

/* Legend on footer of page*/
.legend {
  height: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 50px;
  position: fixed;
  left: 0;
  bottom: 0px;
  width: 100%;
  background-color: #444;
  color: white;
}

.legend ul {  
  display: flex;
  justify-content: center;
  align-items: center;
  list-style-type: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.legend li {
  height: 100%;
}

.legend li a {
 /* display: block;
 */ text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* icon image is 30px - 70px*/
.legend img { 
  height: 50px;
  float: left;
  padding: 0 5px;
}

/* https://jsfiddle.net/agorshkov23/5osbcpyc/ */
body > div.container {
    position: fixed;
    top: calc(40px + 1em);
    bottom: calc(40px + 1em);
    right: 0;
    left: 0;
    vertical-align: top;
}

.content {
  padding: 20px 50px 50px 30px;
}

.pwform {
  float: right;
  padding-top: 10px;  
}

/* hackerspace wiki consensus */
.wiki table {
  border: 0p;
}
.wiki th {
  color: white;
  background: black;
  border-left: 2ex solid #000;
}

.wiki th td { 
  Font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  text-align: left; 
}
.wiki th:last-child { 
  border-left: 0 solid #000; 
  background:#000
}
.wiki td:last-child { 
  border-left: 0; 
}
.wiki tr:last-child td {
    border-top: 0 solid;
}

.wiki tr:nth-child(odd) {background: #EEE;}
.wiki tr:nth-child(even) {background: #CCC}



/* one space status */
.status {
    margin: 10px;
    padding: 8px;
    text-align: center;
    border-radius: 15px;
}
.other {
    text-align: center;
    font-size: small;
    font-weight: lighter;
    display: block; 
}
.open {
    background-color: green;
    color: white;   
}
.closed {
    background-color: red;
    color: white;   
}
.spaceimage {
      max-width: 100%;
      align-content: center;
}


/* heatmap */
#header {
  margin-top: 70px;
}

table {
        border-collapse: separate;
        background: #ddd;
        border-spacing: 2px;
}
th, td {
        padding: 0.5ex;
}
td {
        font-family: monospace;
        text-align:  center;
}
tr:first-child th {
        position: relative;
        /* left: -19px; */
}

tr:first-child th:last-child {
        position: static;

}
th:first-child {
        text-align: left;

}
tr:last-child td {
        border-top: 2ex solid #ddd
}
td:last-child, th:last-child {
        border-left: 2ex solid #ddd;
}
