.btn-xs {
    margin-right: 3px;
}
.listings a {
    text-decoration: none !important;
    font-size: .9em;
}
.sq.i0, .mapboxgl-popup-content h3.i0, .btn.i0, .i0t { background: #339900; }
.sq.i1, .mapboxgl-popup-content h3.i1, .btn.i1, .i1t { background: #0099cc; }
.sq.i2, .mapboxgl-popup-content h3.i2, .btn.i2, .i2t { background: #6633cc; }
.sq.i3, .mapboxgl-popup-content h3.i3, .btn.i3, .i3t { background: #cc6633; }

.sq.i4, .mapboxgl-popup-content h3.i4, .btn.i4, .i4t { background: #9f481b; }
.sq.i5, .mapboxgl-popup-content h3.i5, .btn.i5, .i5t { background: #9f481b; }
.sq.i6, .mapboxgl-popup-content h3.i6, .btn.i6, .i6t { background: #9f481b; }
.mapboxgl-popup-content .btn { border: 0px !important; color: #fff !important; }

.i0 .title, h3.h3-green { color: #339900 !important; }
.i1 .title, h3.h3-teal { color: #0099cc !important; }
.i2 .title, h3.h3-purple { color: #6633cc !important; }
.i3 .title, h3.h3-tan { color: #cc6633 !important; }

.marker.m-0 { background-image: url(green.png); }
.marker.m-1 { background-image: url(teal.png); }
.marker.m-2 { background-image: url(purple.png); }
.marker.m-3 { background-image: url(tan.png); }
.marker.m-4 { background-image: url(red.png); }
.marker.m-5 { background-image: url(red.png); }
.marker.m-6 { background-image: url(red.png); }

.mapboxgl-ctrl.mapboxgl-ctrl-attrib, .mapboxgl-ctrl-logo { display: none !important; }
.toggle:hover { opacity: .7; }


.lc { padding: 10px 0 0; line-height: 15px; font-size: 1.1em; }
.item:hover { background: #fdefd0; }
.heading .sq2 { border: 1px solid #fff; }
.heading .sq.Deaths, .iDeaths .sq { border: 1px solid #000; }
.heading {
  border-bottom: 1px solid #eee;
  line-height: 60px;
  padding: 0 10px;
  background: #00584c;
  color: #fff;
}
.address { display: none; }
.index { font-size: 14px;
  display: inline-block;
  line-height: 1.3em; }  
span.toggle {
    border: 1px solid #cccccc;
    padding: 0px 3px;
    display: inline-block;
    margin-right: 2px;
}  

.sidebar {
  width: 30%;
  height: 450px !important;
  background: white;
  font-size: 14px !important;
  top: 0;
  right: 0; 
  overflow: hidden;
  border-right: 1px solid rgba(0, 0, 0, 0.25);
  display: inline-block; 
  float: left;
  border-top: 2px solid #00584c;
}
.map-box {
  display: inline-block; 
  float: left;
  width: 70%;
  height: 450px !important;  
}

.sq { display: inline-block; width: 14px; height: 14px; margin-right: 5px; font-style: normal !important; vertical-align: middle;
  line-height: 1.5em; }
.sq.Active { background: #9f481b; }
.sq.Resolved { background: #3c75b4; }
.marker {
	border: none;
	cursor: pointer;
	height: 24px;
	width: 21px;
	padding-bottom: 8px;
	display: inline-block;
}
.marker, .sq {
	color: #fff;
	font-size: 9px;
	text-align: center;
}
.mapboxgl-popup {
  min-width: 150px;
  max-width: 200px;
}

.mapboxgl-popup-content {
  text-align: center;
  font-family: 'Open Sans', sans-serif;
}

.listings {
  height: 100%;
  overflow: auto;
  padding-bottom: 60px;
}

.listings .item {
  display: block;
  border-bottom: 1px solid #eee;
  padding: 4px 5px;
  text-decoration: none;
}

.listings .item:last-child { border-bottom: none; }

.listings .item .title {
  display: block;
  font-weight: 700;
}

.listings .item .title.Resolved { color: #3c75b4; }

.listings .item .title small { font-weight: 400; }

.listings .item.active .title,
.listings .item .title:hover { opacity: 0.75; }

.listings .item.active {
  background-color: #f8f8f8;
  border-left: 3px solid #ccc;
}

.sidebar ::-webkit-scrollbar {
  width: 10px;
  height: 3px;
  border-left: 0;
  background: rgba(0, 0, 0, 0.1);
}

.sidebar ::-webkit-scrollbar-track {
  background: none;
}

.sidebar ::-webkit-scrollbar-thumb {
  background: #00584c;
  border-radius: 0;
}

.clearfix { display: block; }

.clearfix::after {
  content: '.';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

/* Marker tweaks */

.mapboxgl-popup-content {
  font: 400 15px/22px 'Source Sans Pro', 'Helvetica Neue', Sans-serif;
  padding: 0;
  width: 240px;
  line-height: 19px !important;
}

.mapboxgl-popup-content-wrapper {
  padding: 1%;
}

.mapboxgl-popup-content h3 {
  background: #91c949;
  color: #fff;
  margin: 0;
  display: block;
  padding: 10px;
  border-radius: 3px 3px 0 0;
  font-weight: 700;
  margin-top: -15px;
}

.mapboxgl-popup-content h4 {
  margin: 0;
  display: block;
  padding: 10px;
  font-weight: 400;
}

.mapboxgl-popup-content div {
  padding: 10px;
}

.mapboxgl-container .leaflet-marker-icon {
  cursor: pointer;
}

.mapboxgl-popup-anchor-top > .mapboxgl-popup-content {
  margin-top: 15px;
  line-height: 1.5;
}

.mapboxgl-popup-anchor-top > .mapboxgl-popup-tip {
  border-bottom-color: #91c949;
}

/* Marker tweaks */
.mapboxgl-popup-close-button {
  margin-top: -15px; 
  color: #fff;
}
.mapboxgl-popup-close-button:hover {
  background: #ffffff60;
}

.mapboxgl-popup-content {
  font: 400 13px/20px 'Source Sans Pro', 'Helvetica Neue', Sans-serif;
  padding: 0 0 5px 0;
}

.mapboxgl-popup-content-wrapper {
  padding: 1%;
}

.mapboxgl-popup-content h3 {
  background: #91c949;
  color: #fff;
  margin: 0 0 3px 0;
  display: block;
  padding: 3px 20px 3px 5px;
  border-radius: 3px 3px 0 0;
  font-weight: 700;
  margin-top: -15px;
  font-size: 1.1em;
}
.mapboxgl-popup-content h3.Active { background: #9f481b; }
.mapboxgl-popup-content h3.Resolved { background: #3c75b4; }


.mapboxgl-popup-content h4 {
  margin: 0;
  display: block;
  padding: 10px;
  font-weight: 400;
}

.mapboxgl-popup-content div {
  padding: 10px;
}

.mapboxgl-container .leaflet-marker-icon {
  cursor: pointer;
}

.mapboxgl-popup-anchor-top > .mapboxgl-popup-content {
  margin-top: 15px;
}

.mapboxgl-popup-anchor-top > .mapboxgl-popup-tip {
  border-bottom-color: #91c949;
}


.mapboxgl-popup {
  padding-bottom: 50px; 
}
