html, body {
  width:100%;
  height:100%;
  padding: 0;
  margin: 0;
  font-family: "Montserrat", "Helvetica Neue", "Helvetica", Arial;
  font-weight: 300;
}

h3 {
  font-weight: 200;
}

h5 {
  margin-bottom: .25rem;
}

hr {
  margin: .75rem 0 .75rem 0 !important;
  border-top: 2px solid #8b8b8b;
}

p {
  margin-bottom: 1rem;
}

label {
  font-weight: 300;
  font-size: 14px;
}

.container {
  width: 100%;
  height: calc(100% - 37px);
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.mainContainer {
  max-height: 100vh;
}

#map {
  width: 100%;
  height: 100%;
  position: absolute;
  background: #000;
}

.top {
  top: 10px;
}

.left {
  left: 10px;
}

.bottom {
  bottom: 20px;
}

.right {
  right: 10px;
}

.ui {
  width: 215px;
  padding: 10px 15px 5px 15px;
  position: absolute;
  z-index: 999;
  background-color: rgb(255,255,255);
  text-align: center;
  border-radius: 4px;
  overflow-y: auto;
  height: calc(100% - 50px);
  max-height: 710px;
}

.hamburger {
  width: auto;
  height: auto;
  padding: 2px 5px 0px 5px;
  position: absolute;
  z-index: 1000;
  background-color: rgb(255,255,255);
  text-align: center;
  border-radius: 4px;  
  cursor: pointer;
}

.logo {
  width: auto;
  height: auto;
  padding: 7px 7px 0px 7px;
  position: absolute;
  z-index: 1;
  background-color: black;
  text-align: center;
  border-radius: 4px;  
}

.logoImg {
  width: 215px;
  height: 85px;
  padding-top: 3px;
}

.hideHamburger {
  display: block;
}

.hideMapLayers {
  display: none;
}

.hideLogo {
  display: none;
}




/* Infowindow Style Overrides */
div.cartodb-popup div.cartodb-popup-content {
    margin: 0 0 5px 0;
    cursor: text;
  }

.gray {
  background-color: #e9e9e9 !important;
  padding: .5rem !important;
}

.linkstext {
  text-align: center !important;
}

  div.cartodb-infowindow {
    z-index: 9999;
}

div.cartodb-popup h1,
div.cartodb-popup h2,
div.cartodb-popup h3,
div.cartodb-popup h4,
div.cartodb-popup h5,
div.cartodb-popup h6 {
  font-weight: 300;
  font-family: "Montserrat", "Helvetica Neue", "Helvetica", Arial;
  color:#494949;
  text-transform: none;
}

div.cartodb-popup p {
  color:#222;
  font-weight: 400;
  font-family: "Montserrat", "Helvetica Neue", "Helvetica", Arial;
  text-transform: none;
}

div.cartodb-popup h2{
  font-size: 16px;
  font-weight: 300;
}

div.cartodb-popup h3{
  font-weight: 300;
}

div.cartodb-popup h4{
  font-size: 12px;
  font-weight: 600;
  margin-left: 1rem;
  text-transform: uppercase;
  letter-spacing: .08rem;
}

div.cartodb-popup h5{
  font-size: 12px;
}

div.cartodb-popup h6 a{
  text-decoration: none;
  color: rgb(2, 0, 97);
  font-size: 12px;
  font-weight: 300;
  line-height: 16px;
}

div.cartodb-popup h6 a:hover {
    color: #1EAEDB;
}

/* CartoDb logo move to left */
div.cartodb-logo {
  left: 35px !important;
}

cartodb-popup-content-wrapper {
  cursor: text !important;
}


/** Legend CSS*/

#legend {
  margin-bottom: 10px;
}

#legendplace {
  position: fixed;
  bottom: 30px;
  right: 10px;
}

.legend-cloropleth ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.legend-cloropleth ul li {
  font-size: 12px;
  line-height: 10px;
}

.legend-cloropleth li.min {
  float: left;
  margin: 0 0 5px;
}

.legend-cloropleth li.one {
  float: left;
  margin: 0 0 5px;
}

.legend-cloropleth li.max {
  float: right;
  margin: 0 0 5px;
}


.legend-cloropleth li.breaks {
  clear: both;
  overflow: hidden;
  display: table;
  width: 100%;
  height: 8px;
}

.legend-cloropleth li.breaks .numbers {
  display: table-row;
  width:100%;
}

.legend-cloropleth li.breaks .quartile {
  display: table-cell;
  width:1%;
}

.legend-cloropleth li.breaks div {
  width: 10px;
  height: 16px;
}

.legend-cloropleth li.graph {
  clear: both;
  overflow: hidden;
  display: table;
  width: 100%;
  height: 8px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding;
  background-clip: padding;
  border: 1px solid #b3b3b3;
}

.legend-cloropleth li.graph.half {
  width: 22.22%;
}

.legend-cloropleth li.graph .colors {
  display: table-row;
}

.legend-cloropleth li.graph .quartile {
  display: table-cell;
}

.legend-cloropleth li.graph div {
  width: 10px;
  height: 10px;
}

/* Geocoder button override */
.leaflet-control-geocoder-icon {
  height: 30px;
  width: 80px;
  padding: 0px;
  margin: 10px 15px 10px 10px;
  background-size: contain;
  z-index: 999;
}

#blockdiv {
  height:200px;
  width:200px;
  background-color:red;
  z-index: 998;
  position: absolute;
  pointer-events:all;
  margin-top: 140px;
  margin-left: 10px;
}

.leaflet-marker-icon {
  width: 31px !important;
}

.leaflet-control-geocoder-form input {
  padding: 0px;
  margin-bottom: 0px;
  border: 0px !important;
  width: 260px;
}

.leaflet-control-geocoder-expanded {
  /* width: 400px; */
  font-family: "Montserrat", "Helvetica Neue", "Helvetica", Arial;
  font-weight: 300;
  font-size: 10px;
}

.leaflet-top {
  top: 110px;
}

/* Modal css */
.modalDialog {
  position: fixed;
  text-align: center;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.8);
  z-index: 99999;
  opacity:0;
  -webkit-transition: opacity 400ms ease-in;
  -moz-transition: opacity 400ms ease-in;
  transition: opacity 400ms ease-in;
  pointer-events: none;
}

.modalPosition {
  top: -40px;
  line-height: 1.4;
}

.modalText {
  text-align: left;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 14px;
}

.modalDialog:target {
  opacity:1;
  pointer-events: auto;
}

.modalDialog > div {
  width: 280px;
  position: relative;
  margin: 10% auto;
  padding: 5px 15px 0px 15px;
  border-radius: 4px;
  background: #fff;
  top: -10px;
  /* overflow-y: auto; */
  height: 400px;
  /* width: 40% */
}

.close {
  background: #606061;
  color: #FFFFFF;
  line-height: 25px;
  position: absolute;
  right: -12px;
  text-align: center;
  top: -10px;
  width: 24px;
  text-decoration: none;
  font-weight: bold;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  -moz-box-shadow: 1px 1px 3px #000;
  -webkit-box-shadow: 1px 1px 3px #000;
  box-shadow: 1px 1px 3px #000;
}

.close:hover { 
  color: #FFFFFF;
  background: #7E7E80; 
  text-decoration: none;
}

#dapwelcome {
  font-size: 16px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

th.modalbuttons {
  margin-bottom: 0;
  border: 0;
  border-color: none;
  padding: 0 20px 0 15px;
}

table.modalbuttons {
  margin-bottom: 0;
  margin-left: 20px;
  border: 0;
  border-color: none;
}

.width200 {
  width: 200px;
  margin-bottom: 5px;
}

#learn {
  background-color: rgb(234, 241, 235);
}

#learn:hover {
  color: black;
  border-color: rgb(122, 122, 122);
}

#start {
  background-color: rgb(234, 241, 235);
}

#start:hover {
  color: black;
  border-color: rgb(122, 122, 122);
}

/** Navbar re-imported from District Reports **/

.navbar { 
  display: block; 
  background-color: black;
  height: 37px;
  padding: 0rem !important;
}

.navbar > .container-nav {
width: 100%; 
max-width: 950px;
position: relative;
margin: 0 auto;
display: relative;
}

.navbar-list {
list-style: none;
margin-bottom: 0; 
padding-left: 0rem !important;
}

.navbar-item {
position: relative;
float: left;
margin-bottom: 0; 
}

.navbar-link {
text-transform: uppercase;
font-size: 14px;
font-weight: lighter;
font-family: helvetica, sans-serif;
margin: 0 17px;
text-decoration: none;
line-height: 44px;
color: #969696 !important;
transition: color 0.4s ease 0s;
}

.navbar-link:hover {
color: #ff6601 !important;
transition: color 0.4s ease 0s;
background-color: transparent;  
}

.navbar-link.active {
color: #FDAF7E !important; 
}

/* .navbar-link.active::after {
  content: "" !important;
} */

/* Dropdown Button */
.dropbtn {    
  border: none;
  cursor: pointer;
  height: 37px;
  background-color: black;
  padding: 0;
  text-align: left;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  z-index: 2;
  padding: 2px 10px;
  overflow: hidden;
  white-space: nowrap;
}

/* Links inside the dropdown */
.dropdown-content a {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 300;
  font-family: helvetica-w01-light,helvetica-w02-light,sans-serif;
  text-decoration: none;
  color: #969696;
  transition: color 0.4s ease 0s;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #fff;
  font-weight: 300;
  color: #ff6601;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  color: #ff6601 !important;
  transition: color 0.4s ease 0s;
  background-color: transparent;  
}


.navbtnwidth {
  width: 90%;
  padding: 0 15px;
  font-size: 12px;
  border-width: 1px;
  /* border-color: #888 */
}

.navbtnwidth:hover {
  border-color: rgb(122, 122, 122);
}

.geogtext {
  font-size: 11px;
}

.selected {
  color: #333;
  border-color: #e31a1c;
  background-color: rgb(221, 221, 221);
  border-width: 2px;
}

.layerbtn {
  margin-top: 6px;
  margin-bottom: 6px;
}

.geolayer {
  background-color: rgb(234, 241, 235)
}

.legend-cloropleth {
  width: 90%;
  padding-left: 15px;
  padding-right: 15px;
}

.ui label {
  text-align: left;
  padding-left: 15px;
}

.smtext {
  font-size: 14px;
  font-weight: 300;
  font-family: "Montserrat", "Helvetica Neue", "Helvetica", Arial;
  color:#494949;
  text-transform: none;
}

div.cartodb-popup.v2 {
  width: 300px;
  cursor: default;
}


select {
  margin-bottom: 10px;
}


div.upper h3{
  text-transform: uppercase;
  cursor: text;
  font-weight: 300;
}

.leaflet-popup-content-wrapper {
  border-radius: 4px;
}

.leaflet-popup-content {
  font-size: 12px;
  font-weight: 300;
  font-family: "Montserrat", "Helvetica Neue", "Helvetica", Arial;
}

.indvcontainer {
  padding-top: 8px;
}

.indvlegend {
  background-color: rgba(170, 170, 170, 0.2);
  color: black;
  width: 14px;
  height: 14px;
  border: 1px solid #b3b3b3;
  border-radius: 3px;
  margin-left: 15px;
}

.indvlabel {
  padding-left: 10px;
  font-size: 12px;
  margin-top: -16px;
  margin-left: 28px;
  text-align: left;
}



.select-txt {
  font-size: 1.25rem;
}

.btnactive {
  background-color: #c7c7c7;
  border-color: #e31a1c;
  border-width: 2px;
}

.legendtext {
  /* text-align: left; */
  font-size: 1.5rem;
  font-weight: 400;
  padding: 0 0 .75rem 0;
}

.updatetext {
  text-align: left;
  font-size: 1rem;
  font-weight: 300;
}

/* HELPTIP */

.help-tip {
	position: absolute;
	right: 8px;
	text-align: center;
	background-color: #ccc;
  border-radius: 50%;
	width: 20px;
	height: 20px;
	font-size: 12px;
	line-height: 20px;
	cursor: default;
}

.help-tip:before{
	content:'?';
	font-weight: bold;
	color:black;
}

.help-tip:hover p{
	display:block;
	transform-origin: 100% 0%;

	-webkit-animation: fadeIn 0.3s ease-in-out;
	animation: fadeIn 0.3s ease-in-out;
}

.help-tip p{
	display: none;
	text-align: left;
	background-color: #1E2021;
	padding: 10px 10px 10px 10px;
	width: 210px;
	position: absolute;
	border-radius: 3px;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
	right: -4px;
	color: #FFF;
	font-size: 12px;
  line-height: 1.6;
  z-index: 1002;
  overflow: visible;
}

.help-tip p:before{
	position: absolute;
	content: '';
	width:0;
	height: 0;
	border:6px solid transparent;
	border-bottom-color:#1E2021;
	right:10px;
	top:-12px;
}

.help-tip p:after{
	width:100%;
	height:40px;
	content:'';
	position: absolute;
	top:-40px;
	left:0;
}

#searchcont {
  height: 20px;
  width: 20px;
  background-color: #ccc;
  float: left;
  position: absolute;
  z-index: 2000;
  border-radius: 50%;
  margin-top: 112px;
  margin-left: 100px;
  text-align: center;
  font-size: 12px;
  line-height: 20px;
	cursor: default;  
}

#searchcont:before {
	content:'?';
	font-weight: bold;
	color:black;
}

#searchcont:hover p {
	display:block;
	transform-origin: 100% 0%;

	-webkit-animation: fadeIn 0.3s ease-in-out;
	animation: fadeIn 0.3s ease-in-out;
}

/* #searchcont p {
  display: none;
  top: 100px;
  position: absolute;
  background-color: red;
} */

#searchcont p{
	display: none;
	text-align: left;
	background-color: #1E2021;
	padding: 10px 10px 10px 10px;
	width: 280px;
	position: absolute;
	border-radius: 3px;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  right: -220px;
  top: -104px;
	color: #FFF;
	font-size: 12px;
  line-height: 1.6;
  z-index: 1002;
}

#searchcont p:before{
	position: absolute;
	content: '';
	width:0;
	height: 0;
	border:6px solid transparent;
	border-top-color:#1E2021;
	right:224px;
	top:96px;
}

#searchcont p:after{
	width:100%;
	height:40px;
	content:'';
	position: absolute;
	top:-40px;
	left:0;
}



#stab {
  top: 46px;
}

#sales {
  top: 122px;
}

#dob {
  top: 198px;
}

#evictions {
  top: 276px;
}

#map-layers {
  padding-right: 2rem;
}


/* miscellaneous styles */
.underline {
  border-bottom: 1px solid black;
}

.nobord {
  border: none !important;
}

.wtbord {
  border: 1px solid rgb(228, 226, 226);
}

/* google translate styles */
#google_translate_element a:hover {
  background-color: white;
}

.goog-te-gadget-simple {
  margin: .5rem 0 0 1rem !important;
  font-family: "Montserrat", "Helvetica Neue", "Helvetica", Arial !important;
  font-weight: 400 !important;
  padding: 0 !important;
}


/* changes when screen is wider than 550px, some weirdness with modal */
@media (min-width: 550px) {
  .navbar {
    display: block;
    width: 100%;
    height: 37px;
    background: #000;
    z-index: 99;
  }
  
  /* .mainContainer {
    max-height: 94vh; } */
  
  .hideHamburger {
    display: none;
  }

  .hideMapLayers {
    display: block;
  }

  .hideLogo {
    display: block;
  }

  .modalDialog > div {
    width: 420px;
  }

  table.modalbuttons {
    margin-left: 20%;
  }

}

/* mobile changes */
@media (max-width: 550px){
  .leaflet-control-geocoder-icon {
    margin: 2px;
    
  }

  .leaflet-control-geocoder-expanded {
  width: 220px;
  }

  .leaflet-top {
    top: 5px;
  }

  #searchcont {
    display: none;
  }

  .dropdown-content {
    z-index: 1001;
  }

  .ui{
    /* overflow: auto; */
    overflow-y: auto;
    height: 460px;
  }

  .leaflet-control-zoom {
    top: -20px;
  }

  #google_translate_element {
    display: none;
  }

  body {
    top: -10px !important;
  }

  .cartodb-infowindow {
    left: 30px;
  }

  .modalText {
    text-align: left;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 11px;
  }

  #dapwelcome {
    font-size: 14px;
  }

  .help-tip p{
    padding: 10px 10px 10px 10px;
    width: 210px;
    position: absolute;
    right: -4px;
    font-size: 11px;
    line-height: 1.4;
    z-index: 1002;
  }
  
}