html, body, section.main, .content, #wrapper, #page-wrapper {
  height: auto;
}

a:focus {
  outline: none;
}

#page-wrapper {
  margin-top: 1px;
  padding-bottom: 8px;
}

[data-mapview] {
  height: calc(100vh - 100px);
  height: calc(100dvh - 100px);
}

#public-wrapper {
  margin-left: 12px;
  margin-right: 12px;
  position: relative;
  top: -14px;
}
#public-wrapper .map-view .map-type-selector {
  top: 20px;
}
#public-wrapper .model-view .model-type-selector {
  top: 20px;
}

#iframe .map-view {
  height: 100%;
}
#iframe .map-view .map-type-selector {
  z-index: 1000;
  position: absolute;
  float: none;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
#iframe .map-view .switchModeButton {
  bottom: 22px;
}
#iframe .map-view .opacity-slider {
  bottom: 10px;
}
#iframe [data-mapview], #iframe .model-view {
  height: 100vh;
  height: 100dvh;
}
#iframe .model-view .model-view-header {
  z-index: 1000;
  position: absolute;
  right: 10px;
  top: 10px;
}
@media screen and (max-width: 447px) {
  #iframe .model-view.sidebar-open .model-type-selector {
    display: none;
  }
}

#navbar-top {
  height: 50px;
  min-height: 50px;
  background-color: #18bc9c;
  z-index: 99999;
}
#navbar-top .navbar-header {
  width: 100%;
}
#navbar-top .navbar-brand {
  height: auto;
  padding: 8px;
}
#navbar-top .navbar-text {
  margin-top: 14px;
  margin-left: 4px;
}
#navbar-top .navbar-link:hover {
  color: white;
  text-decoration: none;
}
#navbar-top .navbar-top-links {
  display: flex;
  justify-content: flex-end;
  clear: both;
}
#navbar-top .navbar-top-links a.dropdown-toggle {
  color: white;
}
#navbar-top .navbar-top-links a:hover, #navbar-top .navbar-top-links a:focus, #navbar-top .navbar-top-links .open > a {
  background-color: #2c3e50;
}
#navbar-top ul#side-menu a:hover, #navbar-top ul#side-menu a:focus {
  color: white;
  text-decoration: none;
  background-color: #2c3e50;
}
#navbar-top ul#side-menu li {
  overflow: hidden;
}
#navbar-top ul#side-menu li a {
  word-break: auto-phrase;
}
#navbar-top .sidebar-nav.navbar-collapse {
  width: 100%;
}
#navbar-top .navbar-top-links li a.dropdown-toggle {
  height: 50px;
}
#navbar-top .user-profile {
  padding: 0 8px;
}
#navbar-top .user-profile .email {
  font-size: 90%;
  opacity: 0.9;
}
#navbar-top .language-select {
  padding: 3px 20px;
  display: flex;
  align-items: center;
}
#navbar-top .language-select select {
  flex: 1;
  margin-left: 4px;
  height: 27px;
  padding: 2px 6px;
  line-height: 1.4;
}

ul#side-menu.nav a {
  color: #111;
  word-break: break-all;
}

.content {
  padding-top: 8px;
}
.content h1, .content h2, .content h3, .content h4, .content h5 {
  padding-top: 4px;
  margin-top: 0;
}
.content h3 {
  font-size: 24px;
}

.top-buffer {
  margin-top: 15px;
}

.navbar-default.sidebar {
  margin-top: -1px;
}

.alert {
  margin-bottom: 10px;
  background-color: #fff;
  border-width: 2px;
  color: #000;
}
.alert .close {
  opacity: 0.6;
}
.alert .close:hover, .alert .close:focus {
  color: #000;
  opacity: 1;
}

.modal-dialog, .modal {
  z-index: 999999;
}

.modal-body {
  max-height: calc(100vh - 220px);
  max-height: calc(100dvh - 220px);
  overflow-y: auto;
}

.pagination {
  margin: 0;
}
.pagination li > a {
  color: black;
  border: 1px solid #ecf0f1;
  background-color: #fff;
}
.pagination li > a:hover, .pagination li > a:focus {
  background-color: #798d8f;
}
.pagination .disabled > a {
  background-color: #fff;
  border: 1px solid #f4f9f5;
}
.pagination .disabled > a:hover, .pagination .disabled > a:focus {
  background-color: #fff;
  border: 1px solid #f4f9f5;
}
.pagination .active > a {
  background-color: #798d8f;
}
.pagination .active > a:hover, .pagination .active > a:focus {
  background-color: #798d8f;
}
.pagination.pagination-sm a {
  padding-top: 2px;
  padding-bottom: 2px;
}

table.table-first-col-bold td:first-child {
  font-weight: bold;
}

table.processing-node-info {
  table-layout: fixed;
}
table.processing-node-info tr:first-child td:first-child {
  width: 30%;
}

button i.glyphicon {
  margin-right: 4px;
}

.dropdown-menu > li > a {
  padding-left: 10px;
  color: #222 !important;
}
.dropdown-menu > li > a .fa, .dropdown-menu > li > a .far, .dropdown-menu > li > a .fas, .dropdown-menu > li > a .fab, .dropdown-menu > li > a .glyphicon {
  margin-right: 4px;
}

/* This is to make the Header and navigation more mobile friendly */
.navbar-toggle {
  position: relative;
  float: right;
  margin-right: 15px;
  padding: 9px 10px;
  margin-top: 7px;
  margin-bottom: 5px;
}

.navbar-header {
  height: 50px;
}

.navbar-right {
  clear: none !important;
  height: 50px;
}

.dropdown {
  float: right;
}

.navbar-brand {
  position: absolute;
  top: 0px;
}

.navbar-text {
  position: absolute;
  top: 0px;
  left: 50px;
}

footer {
  font-size: 80%;
  height: 36px;
  border-top: 1px solid #efefef;
  text-align: center;
  padding: 8px;
}

.list-group-item {
  background-color: inherit;
  border-top-width: 0px;
}
.list-group-item:first-child {
  border-top-width: 1px;
}

.full-height {
  height: calc(100vh - 60px);
  height: calc(100dvh - 60px);
  padding-bottom: 12px;
}

.floatfix {
  clear: both;
}

.model-title {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.fa-pointcloud {
  display: inline-block;
  width: 1.25em;
  height: 1em;
  vertical-align: -0.125em;
  background-color: currentcolor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='4.5' cy='4.5' r='2.25'/%3E%3Ccircle cx='11.5' cy='4.5' r='2.25'/%3E%3Ccircle cx='4.5' cy='11.5' r='2.25'/%3E%3Ccircle cx='11.5' cy='11.5' r='2.25'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.fa-splat {
  display: inline-block;
  width: 1.25em;
  height: 1em;
  vertical-align: -0.125em;
  background-color: currentcolor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cellipse cx='3' cy='4.6' rx='3.4' ry='2.1' transform='rotate(51 3 4.6)'/%3E%3Cellipse cx='11.2' cy='4.1' rx='3.3' ry='3.1'/%3E%3Cellipse cx='7.2' cy='12.2' rx='3.8' ry='2.3' transform='rotate(-6 7.2 12.2)'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}
