body, html{
    font-family: georgia, garamond, serif;
    background-color: #F0F0F0;
	  overflow:auto;
    position: relative;
    margin: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.columnhidden{
  display: none;
}

.header-bar {
  background: #E7EAFA;
  padding: 5px;
  flex-grow: 0;
}
.default-buttons{
  position: relative;
  float:left;
}
.user-buttons{
  display: none;
}
.right-block{
  display: inline-block;
  position: relative;
  float:right;
}

#OStile-info{
  display: inline-block;
}

#OStile-info:hover .tooltip-overlay{
  visibility: visible;
}

.tooltip-overlay{
  visibility: hidden;
  text-align: left;
  width: 250px;
  font-size: 10pt;
  font-weight: normal;
  background-color: #555;
  color: #fff;
  padding: 5px;
  position: absolute;
  top: 15px;
  right:15px;
  z-index: 1;
}
.map-area{
  background: grey;
  height: 900px;
}

#map-container{
  position: relative;
  width: 100%;
  flex-grow: 1;
}

#map {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 0;
}

#map .ol-zoom, .ol-zoom-out, .ol-zoomslider {
    right: 7px;
    left: auto;
}

.ol-geocoder .gcd-gl-control {
}


#overlay {
  position: absolute;
  background: grey;
  display: block;
  top: 5ch;
  left: 5ch;
  width: 20%;
  height:50%;
  max-height: 80vh;
  bottom: 5ch;
  z-index: 2;
  resize: both;
  overflow: hidden;
  border-bottom: 1px solid white;
}


#overlayheader {
  cursor: move;
  z-index: 10;
  background-color: darkgrey;
  color: #fff;
  padding: 0px 0px 0px 0px;
  border: 0px;
  font-size: 0;
}

#overlaybody {
  border: 1px solid white;
  height: 100%;
}

.tablink, .tablink-active{
  padding: 10px 10px;
  margin: 0px;
  float: left;
  text-align: left;
  border: none;
  float: none;
  outline: 0;
  background-color: slategray;
  color: black;
  border: 1px solid slategray;
}

.tablink-active{
  color: #fff;
  background-color: gray;
  border-top: 1px solid white;
  border-left: 1px solid white;
  border-right: 1px solid white;
  border-bottom: 1px solid slategray;
}

.tabcontent {
  display: none;
  height: 100%;
}

.checkbox {
  display: block;
  position: relative;
}

table{
    border-collapse:collapse;
    background-color: #BADCDC;
    display: block;
    max-height: calc(100% - 150px);
    overflow: scroll;
}

table.route-table td{
  position: relative;
    border: 1px solid white;
    padding: 1px 1px;
	width: 20%;
	font-size:8pt;
  	overflow: auto;
}


/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 5; /* 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 */
  padding-top: 60px;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}
