:root {
  font-family: Ginto, sans-serif;
  font-size: 12pt;
  line-height: 1.5;
  font-weight: 400;
}

html {
  overflow: hidden;
}

body {
  margin: 0;
  overflow: hidden;
  background-color: #fff;
  min-width: 300px;
}


body, button, input, optgroup, select, textarea {
  font-family: Ginto, sans-serif;
}

#map {
  background-color: #fff;
}

.autocomplete {
  font-size: 13.6px;
  background-color: #fff;
  border: 1px solid #000;
  cursor: pointer;
  transition: box-shadow .3s ease-out;
  overflow: hidden;
  overflow-y: auto;
  z-index: 11000;
}

.autocomplete > div {
  padding: 4px 8px;
}

.autocomplete > div:hover {
  box-shadow: inset 0 0 0 10px #faffaa;
}

.autocomplete > div.selected {
  font-weight: 700;
}

#main {
  position: relative;
}

#mapWrapper {
  overflow: hidden;
}

#map {
  width: 100%;
  height: 100%;
  /* transition: width .5s; */
  position: relative;
}

#mapControls {
  position: absolute;
  left: calc(100% - 40px);
  top: calc(100% - 110px);
}

.button rect{
  fill: #fff;
  stroke: #000;
}
.button:hover rect {
  fill: #e7e7e7;
}

.button path {
  stroke: #000;
  fill: none;
}

.button.disabled rect, .button.disabled line, .button.disabled path {
  stroke: #0007;
}
.button.disabled:hover rect {
  fill: #fff;
}

#header {
  position: relative;
}

#header .wrapper {
  display: flex;
  height: 100%;
  border-bottom: 1px solid #000;
}
#header .info {
  margin: 7px 0 7px 7px;
  flex-grow: 1;
  padding-right: 30px;
}
#header .info > div {
  max-width: 570px;
}
@media (max-width: 640px) {
  #header .info {
    font-size: .9rem;
  }
}
#header .results {
  margin: 7px 7px 7px 0;
}
.results .lbl {
  font-weight: 700;
  font-size: .8rem;
}
.results .nbr {
  font-weight: 400;
  font-size: 20pt;
  line-height: 1;
}
.filterWrapper .results .nbr {
  font-size: 16pt;
}
.red {
  color: #cd141d;
}
.button.is-danger {
  background-color: #cd141d;
}

.filterWrapper {
  border-top: 1px solid #000;
}

.filterWrapper .mobileHeader {
  padding: 4px 7px;
  position: sticky;
  top: 0;
}

.filterWrapper .mobileHeader .wrapper {
  display: flex;
  justify-content: space-between;
}

.filterWrapper .mobileHeader .filterButtons {
  padding-top: 5px;
}

.filters {
  margin-top: 4px;
}

.ionicon-fill-none {
  fill: none;
}

.filterWrapper .mobileHeader .filter.button {
  border: 1px solid #000;
  width: 110px;
  display: inline-block;
}
.filterWrapper .mobileHeader .filter.button .innerWrapper {
  display: flex;
  justify-content: space-between;
}

.filterControl {
  position: absolute;
  padding: 8px 7px;
  overflow: visible;
}

.dd .bkgd {
  position: absolute;
  top: -100vh;
  left: -100vw;
  width: 300vw;
  height: 300vh;
  background-color: #fff0;
  z-index: 10000;
}

.dd .dropdown {
  width: 100%;
}

.dd .dropdown-trigger {
  width: 100%;
  text-overflow: ellipsis;
}

.dd .button {
  border-radius: 0 !important;
  border-color: #000;
  width: 100%;
  justify-content: space-between;
}

.dd .dropdown-menu {
  min-width: 100%;
  border: 1px solid #000;
  max-height: 400px;
  overflow: auto;
}
.dd .dropdown-item {
  cursor: pointer;
  transition: box-shadow .3s ease-out;
}
.dd .dropdown-item:hover {
  box-shadow: inset 0 0 0 10px #faffaa;
}

.dd .tag {
  border: 1px solid cyan;
  background-color: #fff;
  height: 20px;
  padding-left: 7px;
  padding-right: 7px;
}

.dd input[type=checkbox] {
  margin-right: 7px;
}

.dd .dropdown-content {
  white-space: nowrap;
}

.sliderControl {
  margin-top: -2px;
}

.sliderControl text {
  font-size: 12px;
}
.sliderControl .hdl {
  fill: #0000;
}
.sliderControl .slider rect {
  cursor: grab;
}
.sliderControl .checkbox {
  cursor: pointer;
}

.sia {
  font-size: .85rem;
  line-height: 1.3;
  margin-top: -2px;
}

.winner.input {
  border-radius: 0;
  border-color: #000;
}
.winner.input::placeholder {
  color: #444;
}

.filter .tag {
  border: 1px solid cyan;
  background-color: #fff;
  height: 20px;
  padding-left: 7px;
  padding-right: 7px;
}


.detailView {
  position: absolute;
  top: 0;
  width: 618px;
  padding: 0;
  background-color: #fff;
  filter: drop-shadow(1px 1px 4px #00000055);
  border-top: 1px solid #ddd;
  border-right: 1px solid #ddd;
  z-index: 10000;
  overflow: none;
  display: none;
}

.detailView .content {
  margin: 15px 0 15px 15px;
  padding-right: 15px;
  overflow: hidden;
  overflow-y: auto;
  height: calc(100vh - 140px);
}

.detailView .title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.detailView .headline {
  position: relative;
  display: flex;
  margin: 0;
}

.detailView .headline .fact {
  border-left: 1px solid #1f3b5e;
  margin-right: 20px;
  padding-left: 10px;
}

.detailView .headline .fact .label {
  margin-bottom: 0;
}

.detailView .headline .fact .value {
  margin-top: 0px;
}

.detailView p.label {
  font-size: 12px;
  font-weight: 400;
  color: #1f3b5e;
}
.detailView p.value {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 0;
}

.detailView p {
  font-size: 14px;
  line-height: 130%;
  margin: 10px 0;
}

.detailView .img {
  margin-bottom: 20px;
}

.detailView .img img {
  border: 1px solid #eee;
}

.detailView .right p.label {
  margin: 0;
}
.detailView .right p.value {
  font-size: 14px;
  font-weight: 400;
  margin: 0 0 12px 0;
}


.detailView .btn {
  color: #cd141d;
  text-decoration: none;
  padding: 7px 14px;
  border: 1px solid #cd141d;
  cursor: pointer;
  font-size: 12px;
  margin-right: 10px;
  display: inline-block;
  transition: box-shadow .3s ease-out;
}

.detailView .btn:hover {
  box-shadow: inset 0 0 0 10px #faffaa;
}

.detailView .btn.black {
  background-color: #fff;
  color: #000;
  text-decoration: none;
  padding: 7px 14px;
  border: 1px solid #000;
  cursor: pointer;
  font-size: 12px;
  margin-right: 10px;
  display: inline-block;
  transition: box-shadow .3s ease-out;
  height: 34px;
  min-width: 130px;
}

.detailView .loading {
  text-align: center;
  margin: 40px auto;
}

.detailView .detailHeader {
  text-align: right;
  padding: 7px 7px 0 0;
}
.detailView .detailFooter {
  text-align: center;
}

.shader {
  background-color: #000;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  position: absolute;
  z-index: 10000;
}
