html {
  font-size: 14px;
  height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

img.logo {
  height: 2rem;
  margin-right: 5px;
  vertical-align: bottom;
}

span.logo {
  color: darkblue;
  font-size: 1.5rem;
  font-weight: bold;
}

body {
  display: grid;
  grid-template-rows: 52px 1fr 30px;
  padding-top: 0px;
  padding-bottom: 0px;
  height: 100%;
  margin-right: 0px;
  margin-left: 0px;
}

main {
  padding-left: 5px;
  padding-top: 16px;
  padding-right: 5px;
  margin-right: 5px;
  margin-left: 5px;
  overflow: auto;
}

.row {
  margin: 0;
}

nav {
  z-index: 99;
}

input[type='checkbox'] {
  cursor: pointer;
}

.main_container {
  display: grid;
  grid-template-columns: 1fr 3px 300px;
  grid-template-rows: 1fr 2px 430px;
  height: 100%;
}

.main_list {
  display: grid;
  grid-template-rows: 20px 2px 1fr 2px 50px;
  grid-template-columns: 1fr;
  height: 100%;
}

.searchbox {
  grid-area: 1/1/2/2;
}

.tablebox {
  grid-area: 3/1/4/2;
}

.toolbox {
  grid-area: 5/1/6/2;
}

#map_box {
  grid-area: 1/1/6/4;
  overflow: hidden;
}

.table td.fit,
.table th.fit {
  white-space: nowrap;
  width: 1%;
}

#Charts {
  grid-area: 3/3/4/4;
  z-index: 1;
  background-color: white;
  border-radius: 5px;
  border: 1px solid #cccccc;
  position: relative;
}

#PieChart {
  z-index: 2;
}

#ProgressChart {
  z-index: 1;
  padding: 10px;
  background-color: white;
}

#ProgressChart p {
  font-size: 0.8em;
  font-weight: bold;
}

#ProgressChart p.time {
  font-size: 0.7em;
}

.Progress {
  z-index: 1;
  background-color: #ddd;
}

.break {
  flex-basis: 100%;
  height: 0;
}

.progress-bar {
  height: 1em;
  background-color: #04aa6d;
  text-align: center;
  /* To center it horizontally (if you want) */
  line-height: 1em;
  /* To center it vertically */
  color: white;
}

#image_box {
  grid-area: 1/3/2/4;
  z-index: 1;
  background-color: transparent;
}

#legend {
  z-index: 2;
  background-color: rgba(5, 5, 5, 0.7);
  display: none;
  position: absolute;
  left: 5px;
  bottom: 5px;
}

#attr_box {
  grid-area: 3/3/4/4;
  z-index: 1;
  background-color: white;
  display: none;
}

#tool_box_container {
  grid-area: 5/3/6/4;
  z-index: 1;
  background-color: white;
  /*    display: none;*/
}

.gutter-col-1 {
  grid-area: 2/2/6/3;
  cursor: col-resize;
  z-index: 2;
  /*    background-color: red;*/
  display: none;
}

.gutter-row-1 {
  grid-area: 2/3/3/4;
  cursor: row-resize;
  z-index: 2;
  /*    background-color: white;*/
  /*    background-color: yellow;*/
  display: none;
}

.gutter-row-2 {
  grid-area: 4/3/5/4;
  cursor: row-resize;
  z-index: 2;
  background-color: white;
  display: none;
}

.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 0px;
  border: 1px solid #ccc;
  border-top: none;
}

.ol-popup {
  position: absolute;
  background-color: white;
  -webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #cccccc;
  bottom: 12px;
  left: -50px;
  z-index: 2;
  visibility: hidden;
}

.ol-popup:after,
.ol-popup:before {
  top: 100%;
  border: solid transparent;
  content: ' ';
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.ol-popup:after {
  border-top-color: white;
  border-width: 10px;
  left: 48px;
  margin-left: -10px;
}

.ol-popup:before {
  border-top-color: #cccccc;
  border-width: 11px;
  left: 48px;
  margin-left: -11px;
}

.ol-popup-closer {
  text-decoration: none;
  position: absolute;
  top: 2px;
  right: 8px;
}

.ol-popup-closer:after {
  content: 'x';
}

#popup-content {
  display: inline-block;
  border-radius: 1px;
  border: 1px solid #cccccc;
  height: 457px;
  width: 605px;
}

.panoramaViewerWindow {
  display: inline-block;
  /* display: none; */
  height: 450px;
  width: 500px;
}

.ol-home-control {
  position: absolute;
  top: 3.5em;
  left: 0.5em;
  text-align: left;
}

.search-bar {
  z-index: 1;
}

.navbar-nav .show > .nav-link,
.navbar-nav .nav-link.active {
  color: darkblue;
  font-weight: bold;
}

.center {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/* -----------start map spinner------------- */
@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}
.spinner:after {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  border-radius: 50%;
  border: 5px solid rgba(180, 180, 180, 0.6);
  border-top-color: rgba(255, 255, 255, 0.6);
  animation: spinner 0.6s linear infinite;
}
/* -----------end map spinner------------- */

.filter-section {
  border-radius: 4px;
  border: 0.8px solid #a5a5a5;
  transition: 0.4s;
  /* fill:#1e5a93 */
}
