/*
 * Globals
 */

html {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

body {
  font-family: Arial, Helvetica, sans-serif, "Times New Roman", Times, serif;
  color: #555;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.downloadLink {
  padding-bottom: 10px;
}

#gradient {
  background: linear-gradient(
    141deg,
    #0fb869 0%,
    #159dbe 50%,
    #00a4e4 75%
  ) !important;
  color: white;
  opacity: 0.95;
  min-width: 620px;
}

.menu > div {
  background: white !important;
  padding-bottom: 1px;
}

.legend span {
  font-size: 12px;
}

.downloadLink {
  /* text-align: right; */
  font-size: 13px;
}

table tr:nth-child(even) {
  background-color: #f1f1f1;
}

th,
td {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

td {
  padding-right: 10px;
}

.checkbox-primary img {
  height: 20px;
  margin-right: 8px;
}

​​ .leaflet-popup-content {
  max-height: 250px;
  overflow: auto;
}

.container-fluid {
  height: 100%;
  padding-right: 0;
  padding-left: 0;
}

.menu {
  width: 280px;
  height: calc(100% - 56px);
  height: calc(100% - 56px);
  height: calc(100% - 56px);
  overflow-y: auto;
}

.menu select {
  width: 100%;
}

#map {
  height: calc(100% - 56px);
  height: calc(100% - 56px);
  height: calc(100% - 56px);
  width: calc(100% - 280px);
  width: calc(100% - 280px);
  width: calc(100% - 280px);
}

.data-version {
  position: absolute;
  bottom: 17px;
  font-size: 12px;
  padding-right: 10px;
}

.info {
  padding: 6px 8px;
  font: 14px/16px Arial, Helvetica, sans-serif;
  background: white !important;
  background: rgb(255 255 255 / 80%) !important;
  box-shadow: 0 0 15px rgb(0 0 0 / 20%);
  border-radius: 5px;
}

.info h4 {
  margin: 0 0 5px;
  color: #777;
}

.legend {
  text-align: left;
  line-height: 18px;
  color: #555;
}

.legend i {
  width: 18px;
  height: 18px;
  float: left;
  margin-right: 5px;
  opacity: 0.7;
}

.map-nav i {
  margin-right: 5px;
}

#priceComparePropertyDropdown {
  padding-left: 20px;
}

label i {
  width: 18px;
  height: 18px;
  float: left;
  margin-right: 5px;
  opacity: 0.7;
  line-height: 18px;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  margin-top: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  color: #333;
}

/*
 * Override Bootstrap's default container.
 */

@media (min-width: 1200px) {
  .container {
    width: 970px;
  }
}

/*
 * Hide data-version if the screen height is too small
 */
@media (max-height: 200px) {
  .data-version {
    display: none;
  }
}

/* For IE 10+ */

@media print and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  body {
    height: 91%;
  }

  @page {
    filter: progid:dximagetransform.microsoft.basicimage(rotation=3);
  }
}

@media print {
  body {
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;

    /* writing-mode: tb-rl; */
  }

  table {
    page-break-inside: avoid;
  }

  @page {
    size: landscape;
    max-height: 100%;
    max-width: 100%;

    /* auto is the initial value */
    margin: 0;

    img {
      width: 100%;
      height: 100%;
      display: block;
    }
  }

  .map-nav .fa::before {
    color: #cdddeb !important;
  }

  .map-nav .active .fa::before {
    color: white !important;
  }

  a[href]::after {
    content: none !important;
  }

  /* .leaflet-bar a {
    background-color: transparent !important;
    color: transparent !important;
  } */
  .leaflet-container .leaflet-control-attribution {
    background: #fff !important;
    background: rgb(255 255 255 / 70%) !important;
  }

  .map-masthead {
    opacity: 0.95;
    min-width: 620px;

    /* background-color: #00a4e4 !important; */
    padding-top: 6px;
  }

  .leaflet-top {
    display: none;
  }

  .leaflet-control-attribution {
    display: none;
  }

  .leaflet-popup-content-wrapper,
  .leaflet-popup-tip {
    background: #fff !important;
  }

  .map-nav .active::after {
    border-bottom: 5px solid white !important;
  }
}

/*
 * Masthead for nav
 */

.map-masthead {
  background-color: #00a4e4;
  box-shadow: inset 0 -2px 5px rgb(0 0 0 / 10%);
  box-shadow: inset 0 -2px 5px rgb(0 0 0 / 10%);
  min-width: 550px;
}

/* Nav links */

.map-nav-item {
  position: relative;
  display: inline-block;
  padding: 10px;
  font-weight: 500;
  color: #cdddeb !important;
}

.nav-text {
  bottom: -7px;
}

.map-nav-item:hover,
.map-nav-item:focus {
  color: #fff !important;
  text-decoration: none;
}

/* Active state gets a caret at the bottom */

.map-nav .active {
  color: #fff !important;
}

.map-nav .active::after {
  position: absolute;
  bottom: -9px;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -5px;
  vertical-align: middle;
  content: " ";
  border-right: 5px solid transparent;
  border-bottom: 5px solid;
  border-left: 5px solid transparent;
}

/*
 * Map menu name and description
 */

.map-header {
  padding-top: 20px;
  padding-bottom: 20px;
}

.menu-title {
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 20px;
  font-weight: normal;
}

.menu-description {
  font-size: 20px;
  color: #999;
}

/*
 * Main column and sidebar layout
 */

.map-main {
  font-size: 18px;
  line-height: 1.5;
}

/* Sidebar modules for boxing content */

.sidebar-module {
  padding: 15px;
  margin: 0 -15px 15px;
}

.sidebar-module-inset {
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 4px;
}

.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
  margin-bottom: 0;
}

/* Pagination */

.pager {
  margin-bottom: 60px;
  text-align: left;
}

.pager > li > a {
  width: 140px;
  padding: 10px 20px;
  text-align: center;
  border-radius: 30px;
}

/*
 * Footer
 */

.map-footer {
  padding: 40px 0;
  color: #999;
  text-align: center;
  background-color: #f9f9f9;
  border-top: 1px solid #e5e5e5;
}

.map-footer p:last-child {
  margin-bottom: 0;
}

/*
 * Other divs
 */

#competitorDataMissing {
  background: #e73030 !important;
  color: white !important;
  padding: 10px;
  border-radius: 5px;
}
