body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 20px;
}
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

/* ROWS */

:root{
  --firstRowHeight: 60vh;
  --secondRowHeight: 70vh;
}

#firstRow{
  display: flex;
  flex-direction: row;
  height: var(--firstRowHeight);
}

#secondRow{
  display: flex;
  flex-direction: row;
  height: var(--secondRowHeight);
}

/* PASSWORD ENTRY */
#password {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.password-item {
  text-align: center;
}

#password-incorrect{
  color: red;
  display: none;
}
/* MENU TABS */
/* ref: https: //www.w3schools.com/howto/howto_js_tabs.asp */
/* Style the tab */
.tab {
  overflow: hidden;
  position: relative;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
  width: 25vw;
}


/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  padding: 5px 20px;
  height: 100%;
  /* explicitly set to 0, to override skeleton.css */
  margin-bottom: 0rem;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
/* .tabcontent {
  display: none;
  padding: 10px;
  border: 1px solid #ccc;
} */

/* .tabcontent {
  animation: fadeEffect .5s;
} */

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
/* SEARCH MENU */

#ascending{
  width: 110px;
}

.dataTables_scrollBody{
  /* we need to use !important here because we are overriding
     code which was auto-generated by jquery */
  height: calc(var(--firstRowHeight) - 270px) !important;
}

#filter{
  width: calc(100% - 295px);
  float: left;
}

#filter-what{
  width: calc(70% - 100px);
  box-sizing: border-box;
}

#filter-submit{
  min-width: 75px;
}

#menu{
  width: 50vw;
  height: 100%;
  padding: 10px;
  padding-bottom: 20px;
  border: 1px solid #ccc;  
}

.menu-entries{
  float: left;
  width: 50%;
}

#multiselection{
  align-items: center;
  display: flex;
}

#multiselection-title{
  flex-grow: 999;
  padding-left: 1rem;
}

.restaurant-table {
  width: 100%;
  max-height: 300px;
  overflow-y: scroll;
  border-collapse: collapse;
}

.restaurant-table th, .restaurant-table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid #ccc;
}

.restaurant-table th {
  background-color: #f2f2f2;
  font-weight: bold;
}

.search-bar{
  width: 50%;
  float: left;
}

.table-container {
  width: 600px;
  height: 300px;
  overflow-y: scroll;
  padding: 10px; 
}

#map-wrapper{
  border: 1px solid #000000;
  display: none;
}

#map-disclaimer{
  display: none;
}

/* MAP */
#map {
  width: 100%;
  height: calc(var(--firstRowHeight) - 67px);
}
.leaflet-container {
  height: 50vw;
  width: 50vw;
  max-width: 100%;
  max-height: 100%;
}

.leaflet-popup-content{
  font-size: 16px !important;
}

/* BUBBLE GRAPH */

#bubbleChartSvg {
  width: 50vw;
  height: var(--secondRowHeight);
}

/* BAR GRAPH */

#barChart{
  height: var(--firstRowHeight);
}

#barChartSvg {
  width: 50vw;
  height: 100%;
}

/* ref: https: //jsfiddle.net/juY5E/7/ */
rect {
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
/* LINE GRAPH */

#lineGraphTypeSelection{
  align-self: flex-end; /* Align to the top */
  position: relative;
  top: 100px;
}

#lineGraph{
  display: flex;
  flex-direction: column;
  width: 50%;
  height: calc(100% - 50px);
  /* flex-grow: 999; */
}

#lineGraphSvg{
  width: 100%;
  height: 100%
}

/* #lineGraphSvgWrapper{
  flex-grow: 999;
} */

/* ALL GRAPHS */
#chart-title{
  font-size: 1.5vw;
}

#tooltip {
  position: absolute;
  text-align: center;
  padding: .5rem;
  background: #FFFFFF;
  color: #313639;
  border: 1px solid #313639;
  border-radius: 8px;
  pointer-events: none;
  font-size: 1.3rem;
  z-index: 99;
  max-width: 400px;
  opacity: 0;
}

#top{
  display: flex;
  justify-content: space-between;
}

#links{
  display: flex;
}

#links p{
  display: hidden;
}

#links a{
  margin: 10px;
}