
html,
body {
  height: 100%;
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
}

.page-container {
  position: relative;
  padding: 56px 0 0 0;
  margin: 0;
  height: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
}

.map-container {
  position: relative;
  padding-left: 0;
  padding-right: 0;
  height: 100%;
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
}

.spinner {
  /*float: none;*/
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 1000;
}

#map {
  background-color: #3d3d3d;
  height: 100%;
  min-height: 100%;
  width: 100%;
}

.ver-scrollbars {
  overflow-y: auto;
}

.v-allign-middle {
  vertical-align: middle;
}

.ghia-hor-sep {
  margin: 20px 0 0 0;
}

.ghia-ver-sep {
  margin: 0 10px 0 0;
}


/*
 *  ================================================================================
 *    Basemap Buttons Menu
 *  ================================================================================
 */

#toggleBaseMapButtonsVM {
  left: 0;
  margin: 8px 0 0 52px;
  position: absolute;
  top: 0;
  z-index: 980;
}

#basemapDropdownButtonGroup {
  width: 66px;
  height: 66px;
  padding: 0 0 0 0;
}

#currentBaseMapIcon {
  margin-top: 5px;
}

#currentBaseMapText {
  margin-top: -5px;
}

.dropdown-item.dropdown-item-basemap {
  padding: 0 12px 0 12px;
}


/*
 *  ================================================================================
 *    GHIA Material Icons
 *  ================================================================================
 */
.ghia-material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  /* line-height: 1; */
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* Rules for sizing the icon. */
.material-icons.md-875-rem { font-size: .875rem; }
.material-icons.md-16 { font-size: 16px; }
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-20 { font-size: 20px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }
.ghia-material-icons.md-16 { font-size: 16px; }
.ghia-material-icons.md-18 { font-size: 18px; }
.ghia-material-icons.md-20 { font-size: 20px; }
.ghia-material-icons.md-24 { font-size: 24px; }
.ghia-material-icons.md-36 { font-size: 36px; }
.ghia-material-icons.md-48 { font-size: 48px; }

/* Rules for using icons as black on a light background. */
.material-icons.md-dark { color: rgba(0, 0, 0, 0.54); }
.material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); }
.ghia-material-icons.md-dark { color: rgba(0, 0, 0, 0.54); }
.ghia-material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); }

/* Rules for using icons as white on a dark background. */
.material-icons.md-light { color: rgba(255, 255, 255, 1); }
.material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }
.ghia-material-icons.md-light { color: rgba(255, 255, 255, 1); }
.ghia-material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }

.material-icons.orange600 { color: #FB8C00; }
.ghia-material-icons.orange600 { color: #FB8C00; }


/*
 *  ================================================================================
 *    Override Tooltip
 *  ================================================================================
 */
.tooltip > .tooltip-inner {
  border: 1px solid;
  padding: 10px;
  max-width: 550px;
  color: #424242;
  text-align: left;
  background: #e9ecef;
  opacity: 1.0;
  filter: alpha(opacity=100);
}

.tooltip > .tooltip-arrow {
  border-bottom-color: gray;
}

.tooltip.show {
  opacity: 1.0;
}


/*
 *  ================================================================================
 *    Override Leaflet default values
 *  ================================================================================
 */
.leaflet-popup-content-wrapper {
  padding: 1px;
  text-align: left;
  border-radius: 2px;
}

.leaflet-popup-content {
  margin: 4px 4px;
  line-height: 1.4;
}

.leaflet-container a.leaflet-popup-close-button {
  position: absolute;
  top: 0;
  right: 0;
  padding: 12px 23px 0 0;
  text-align: center;
  width: 18px;
  height: 14px;
  font: 16px/14px Tahoma, Verdana, sans-serif;
  color: #c3c3c3;
  text-decoration: none;
  font-weight: bold;
  background: transparent;
}

/*
 *  ================================================================================
 *    Override Sidebar default values
 *  ================================================================================
 */
.sidebar {
  /*position: absolute;*/
  top: 56px;
  bottom: 0;
  width: 100%;
  overflow: hidden;
  z-index: 2000;
}

.sidebar.collapsed {
  width: 40px;
}

@media (min-width: 768px) {
  .sidebar {
    width: 590px;
    transition: width 250ms; /* OVERRIDE */
  }
}

@media (min-width: 768px) and (max-width: 991.99px) {
  .sidebar {
    width: 590px;
  }
}

@media (min-width: 992px) and (max-width: 1199.99px) {
  .sidebar {
    width: 590px;
  }
}

@media (min-width: 1200px) {
  .sidebar {
    width: 590px;
  }
}

.sidebar-left {
  left: 0;
}

@media (min-width: 768px) {
  .sidebar-left {
    left: 0px;
  }
}

.sidebar-right {
  right: 0;
}

@media (min-width: 768px) {
  .sidebar-right {
    right: 0px; /* OVERRIDE */
  }
}

.sidebar-tabs {
  top: 0;
  bottom: 0;
  height: 100%;
  background-color: #fff;
}

.sidebar-left .sidebar-tabs {
  left: 0;
}

.sidebar-right .sidebar-tabs {
  right: 0;
}

.sidebar-tabs,
.sidebar-tabs > ul {
  position: absolute;
  width: 40px;
  margin: 0;
  padding: 0;
}

.sidebar-tabs > li,
.sidebar-tabs > ul > li {
  width: 100%;
  height: 40px;
  color: #333;
  font-size: 12pt;
  overflow: hidden;
  transition: all 80ms;
}

.sidebar-tabs > li:hover,
.sidebar-tabs > ul > li:hover {
  color: #000;
  background-color: #eee;
}

.sidebar-tabs > li.active,
.sidebar-tabs > ul > li.active {
  color: #fff;
  /*background-color: #337ab7; !*#0074d9;*!*/
  /*background-color: #f44336; !*#d9534f;*! !*#0074d9;*!*/

  /*background-color: #007bff; !* Blue *!*/
  /*background-color: #6610f2; !* Indigo *!*/
  /*background-color: #6f42c1; !* Purple *!*/
  /*background-color: #e83e8c; !* Pink *!*/
  /*background-color: #dc3545; !* Red *!*/
  /*background-color: #fd7e14; !* Orange *!*/
  background-color: #ffc107; /* Yellow */
  /*background-color: #28a745; !* Green *!*/
  /*background-color: #20c997; !* Teal *!*/
  /*background-color: #17a2b8; !* Cyan *!*/
  /*background-color: #6c757d; !* Gray *!*/
  /*background-color: #343a40; !* Gray Dark *!*/
  /*background-color: #6c757d; !* Secondary *!*/
}

.sidebar-tabs > li.disabled,
.sidebar-tabs > ul > li.disabled {
  color: rgba(51, 51, 51, 0.4);
}

.sidebar-tabs > li.disabled:hover,
.sidebar-tabs > ul > li.disabled:hover {
  background: transparent;
}

.sidebar-tabs > li.disabled > a,
.sidebar-tabs > ul > li.disabled > a {
  cursor: default;
}

.sidebar-tabs > li > a,
.sidebar-tabs > ul > li > a {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 40px;
  color: inherit;
  text-decoration: none;
  text-align: center;
}

.sidebar-tabs > ul + ul {
  bottom: 0;
}

.sidebar-content {
  position: absolute;
  top: 0;
  bottom: 0;
  /*background-color: rgba(255, 255, 255, 0.95);*/
  background-color: #fff;
  /*background-color: #febf00;*/
  /*margin: 10px;*/
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  /*direction: ltf;*/  /* This needs to be used after padding changed so as to allow nice scrollbars appear on the panel */
}

.sidebar-left .sidebar-content {
  left: 40px;
  right: 0;
}

.sidebar-right .sidebar-content {
  left: 0;
  right: 40px;
}

.sidebar.collapsed > .sidebar-content {
  overflow-y: hidden;
}

.sidebar-pane {
  box-sizing: border-box;
  display: none;
  left: 0;
  right: 0;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  padding: 10px 10px 10px 10px;
}

.sidebar-pane.active {
  display: block;
}

@media (min-width: 768px) and (max-width: 991.99px) {
  .sidebar-pane {
    /*min-width: 265px;*/
    min-width: 560px;
  }
}

@media (min-width: 992px) and (max-width: 1199.99px) {
  .sidebar-pane {
    /*min-width: 350px;*/
    min-width: 540px;
  }
}

@media (min-width: 1200px) {
  .sidebar-pane {
    /*min-width: 420px;*/
    /*min-width: 720px;*/
    min-width: 520px;
  }
}

.sidebar-header {
  margin: -10px -20px 0;
  height: 40px;
  padding: 0 20px;
  line-height: 40px;
  font-size: 14.4pt;
  color: #fff;
  /*background-color: #337ab7; !*#0074d9;*!*/
  background-color: #d9534f; /*#0074d9;*/
}

.sidebar-right .sidebar-header {
  padding-left: 40px;
}

.sidebar-close {
  position: absolute;
  top: 0;
  width: 40px;
  height: 40px;
  text-align: center;
  cursor: pointer;
}

.sidebar-left .sidebar-close {
  right: 0;
}

.sidebar-right .sidebar-close {
  left: 0;
}

.sidebar-left ~ .sidebar-map {
  margin-left: 40px;
}

@media (min-width: 768px) {
  .sidebar-left ~ .sidebar-map {
    margin-left: 0;
  }
}

.sidebar-right ~ .sidebar-map {
  margin-right: 40px;
}

@media (min-width: 768px) {
  .sidebar-right ~ .sidebar-map {
    margin-right: 0;
  }
}

.sidebar {
  /*box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);*/
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.25); /* OVERRIDE */
}

.sidebar.leaflet-touch {
  box-shadow: none;
  /*border-right: 2px solid rgba(0, 0, 0, 0);*/
  border-right: 0px solid rgba(0, 0, 0, 0);
}

@media (min-width: 768px) {
  .sidebar {
    border-radius: 0px; /* OVERRIDE */
  }
  .sidebar.leaflet-touch {
    /*border: 2px solid rgba(0, 0, 0, 0.2);*/
    border: 0px solid rgba(0, 0, 0, 0.2);
  }
}

@media (min-width: 768px) {
  .sidebar-left ~ .sidebar-map .leaflet-left {
    transition: left 250ms; /* OVERRIDE */
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .sidebar-left ~ .sidebar-map .leaflet-left {
    /*left: 315px;*/
    left: 620px;
  }
}

@media (min-width: 992px) and (max-width: 1199.99px) {
  .sidebar-left ~ .sidebar-map .leaflet-left {
    /*left: 400px;*/
    left: 700px;
  }
}

@media (min-width: 1200px) {
  .sidebar-left ~ .sidebar-map .leaflet-left {
    /*left: 470px;*/
    /*left: 800px;*/
    left: 600px;
  }
}

@media (min-width: 768px) {
  .sidebar-left.collapsed ~ .sidebar-map .leaflet-left {
    left: 50px;
  }
}

@media (min-width: 768px) {
  .sidebar-right ~ .sidebar-map .leaflet-right {
    transition: right 250ms; /* OVERRIDE */
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .sidebar-right ~ .sidebar-map .leaflet-right {
    /*right: 315px;*/
    right: 620px;
  }
}

@media (min-width: 992px) and (max-width: 1199.99px) {
  .sidebar-right ~ .sidebar-map .leaflet-right {
    /*right: 400px;*/
    right: 700px;
  }
}

@media (min-width: 1200px) {
  .sidebar-right ~ .sidebar-map .leaflet-right {
    /*right: 470px;*/
    /*right: 800px;*/
    right: 600px;
  }
}

@media (min-width: 768px) {
  .sidebar-right.collapsed ~ .sidebar-map .leaflet-right {
    right: 50px;
  }
}


/*
 *  ================================================================================
 *    New Sidebar Classes
 *  ================================================================================
 */
.pane-container {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  padding: 5px 5px 5px 5px;
}


/*
 *  ================================================================================
 *    Override z-indexes
 *  ================================================================================
 */
.navbar {
  z-index: 3000;
}

.dropdown-menu {
  z-index: 4000;
}

@supports (position: sticky) {
  .sticky-top {
    z-index: 4020;
  }
}

.fixed-top {
  z-index: 4030;
}

.fixed-bottom {
  z-index: 4030;
}

.modal-backdrop {
  z-index: 4040;
}

.modal {
  z-index: 4050;
}

.popover {
  z-index: 4060;
}

.tooltip {
  z-index: 4070;
}
