.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML); 
	display: inline-block; 
	position: absolute;
	}
	
.leaflet-control {
	display: inline;
	}

.leaflet-popup-tip {
	width: 21px;
	_width: 27px;
	margin: 0 auto;
	_margin-top: -3px;
	
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	}
.leaflet-popup-tip-container {
	margin-top: -1px;
	}
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
	border: 1px solid #bbb;
	}

.leaflet-control-zoom {
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#3F000000',EndColorStr='#3F000000');
	}
.leaflet-control-zoom a {
	background-color: #eee;
	}
.leaflet-control-zoom a:hover {
	background-color: #fff;
	}
.leaflet-control-layers-toggle {
	}
.leaflet-control-attribution, .leaflet-control-layers {
	background: white;
	}/*
 * CSS Styles that are needed by jScrollPane for it to operate correctly.
 */
div.cartodb-popup .jspContainer {overflow: hidden; position: relative; outline: none;}
div.cartodb-popup .jspContainer * {outline: none;}
div.cartodb-popup .jspPane {position: absolute; padding:4px 0 0 0!important; z-index:1;}
div.cartodb-popup .jspVerticalBar {position: absolute; top: 0; right: 0; width: 6px; height: 100%; background: none; z-index:10;}
div.cartodb-popup .jspHorizontalBar {position: absolute; bottom: 0; left: 0; width: 100%; height: 6px; background: none;}
div.cartodb-popup .jspVerticalBar *,
div.cartodb-popup .jspHorizontalBar * {margin: 0; padding: 0;}
div.cartodb-popup .jspCap {display: none;}
div.cartodb-popup .jspHorizontalBar .jspCap {float: left;}
div.cartodb-popup .jspTrack {position: relative; cursor: pointer; background: none;}
div.cartodb-popup .jspDrag {position: relative; top: 0; left: 0; cursor: pointer; border-radius:10px; -moz-border-radius:10px; -webkit-border-radius:10px; background: #999999; background: rgba(0,0,0,0.16); }
div.cartodb-popup .jspDrag:hover {background: #666666; background: rgba(0,0,0,0.5); cursor: pointer;}
div.cartodb-popup .jspHorizontalBar .jspTrack,
div.cartodb-popup .jspHorizontalBar .jspDrag {float: left; height: 100%;}
div.cartodb-popup .jspArrow {background: #50506d; text-indent: -20000px; display: block; cursor: pointer;}
div.cartodb-popup .jspArrow.jspDisabled {cursor: default; background: #80808d;}
div.cartodb-popup .jspVerticalBar .jspArrow {height: 16px;}
div.cartodb-popup .jspHorizontalBar .jspArrow {width: 16px; float: left; height: 100%;}
div.cartodb-popup .jspVerticalBar .jspArrow:focus {outline: none;}
div.cartodb-popup .jspCorner {background: #eeeef4; float: left; height: 100%;}
* html div.cartodb-popup .jspCorner {margin: 0 -3px 0 0;}
/**
 *  CartoDB2.0 theme dark
 */

/* INFOWINDOW */
div.cartodb-popup.dark .jspContainer:after {
  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(0,0,0,0)), color-stop(100%, rgba(0,0,0,1)));
  background: -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,1));
  background: -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,1));
  background: -o-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,1));
  background: linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,1));
}

div.cartodb-popup.dark .jspContainer:before {
  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(0,0,0,1)), color-stop(100%, rgba(0,0,0,0)));
  background: -webkit-linear-gradient(top, rgba(0,0,0,1), rgba(0,0,0,0));
  background: -moz-linear-gradient(top, rgba(0,0,0,1), rgba(0,0,0,0));
  background: -o-linear-gradient(top, rgba(0,0,0,1), rgba(0,0,0,0));
  background: linear-gradient(top, rgba(0,0,0,1), rgba(0,0,0,0));
}

div.cartodb-popup.dark {
  background:url('../img/dark.png') no-repeat -226px 0;
}

div.cartodb-popup.dark div.cartodb-popup-content-wrapper {
  background:url('../img/dark.png') repeat-y -452px 0;
}

div.cartodb-popup.dark div.cartodb-popup-tip-container {
  background:url('../img/dark.png') no-repeat 0 0;
}

div.cartodb-popup.dark a.cartodb-popup-close-button {
  background:url('../img/dark.png') no-repeat 0 -23px;
}

div.cartodb-popup.dark h4 {
  color:#666666;
}

div.cartodb-popup.dark p {
  color:#FFFFFF;
}

div.cartodb-popup.dark p.empty {
  font-style:italic;
  color:#AAA;
}

div.cartodb-popup.dark .jspDrag
{
  background: #AAAAAA;
  background: rgba(255,255,255,0.5);
}

div.cartodb-popup.dark .jspDrag:hover
{
  background: #DEDEDE;
  background: rgba(255,255,255,0.8);
}

div.cartodb-popup.dark div.cartodb-edit-buttons a.button {
  border-color:#333333;
  color:white;
  text-shadow:none;
  background: #111111; /* FOR IE*/
  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(24,24,24,1)), color-stop(100%, rgba(0,0,0,1)));
  background: -webkit-linear-gradient(top, rgba(24,24,24,1), rgba(0,0,0,1));
  background: -moz-linear-gradient(top, rgba(24,24,24,1), rgba(0,0,0,1));
  background: -o-linear-gradient(top, rgba(24,24,24,1), rgba(0,0,0,1));
  background: linear-gradient(top, rgba(24,24,24,1), rgba(0,0,0,1));
}

div.cartodb-popup.dark div.cartodb-edit-buttons a.button:active {
  border-color:#333333;
  color:white;
  text-shadow:none;
  background: #111111; /* FOR IE*/
  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(24,24,24,1)), color-stop(100%, rgba(0,0,0,1)));
  background: -webkit-linear-gradient(top, rgba(24,24,24,1), rgba(0,0,0,1));
  background: -moz-linear-gradient(top, rgba(24,24,24,1), rgba(0,0,0,1));
  background: -o-linear-gradient(top, rgba(24,24,24,1), rgba(0,0,0,1));
  background: linear-gradient(top, rgba(24,24,24,1), rgba(0,0,0,1));
}

div.cartodb-popup.dark div.cartodb-edit-buttons a.button:hover {
  background:#010101/9;
  text-decoration:none;
  cursor:pointer;
}
div.cartodb-popup.dark div.cartodb-edit-buttons a.button:active {
  box-shadow: rgba(255,255,255,0) 0 0 1px 0,rgba(130,126,111,0.6) 0 1px 3px 0 inset;
}
div.cartodb-popup.dark div.cartodb-edit-buttons a.button.disabled {
  color:#454545;
}
div.cartodb-popup.dark div.cartodb-edit-buttons a.button.disabled:hover,
div.cartodb-popup.dark div.cartodb-edit-buttons a.button.disabled:focus,
div.cartodb-popup.dark div.cartodb-edit-buttons a.button.disabled:active {
  color:#454545;
  background: #111111; /* FOR IE*/
  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(24,24,24,1)), color-stop(100%, rgba(0,0,0,1)));
  background: -webkit-linear-gradient(top, rgba(24,24,24,1), rgba(0,0,0,1));
  background: -moz-linear-gradient(top, rgba(24,24,24,1), rgba(0,0,0,1));
  background: -o-linear-gradient(top, rgba(24,24,24,1), rgba(0,0,0,1));
  background: linear-gradient(top, rgba(24,24,24,1), rgba(0,0,0,1));
  cursor:default;
}

/* EMBED MAP */
div.header.dark {
  background:#333333;
}

div.header.dark h1 {
  color: #F7F7F7;
}

div.header.dark h1 a {
  color: #F7F7F7;
}

div.header.dark h1 a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

div.header.dark p {
  margin-top:5px;
  font-weight: normal;
  font-size: 13px;
  color: #ABABAB;
}

div.dark#zoom {
  background:#333333;
}

div.dark#zoom a {
  color: #ABABAB;
}
div.dark#zoom a.zoom_in {
  border-bottom: 1px solid #BCBCBC;
}
div.dark#zoom a:hover {
  cursor: pointer;
  color: #F1F1F1;
}
div.dark#zoom a.disabled {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=20);
  opacity: 0.2;
}

div.dark#zoom a.disabled:hover {
  cursor: default;
  color: #999999;
}
/**
 *  CartoDB2.0 Theme with header (blue)
 */

/* INFOWINDOW */
div.cartodb-popup.header {
  padding:0;
  background:none;
  box-shadow:none;
  -webkit-box-shadow:none;
  -moz-box-shadow:none;
  -o-box-shadow:none;
  border-bottom:none;
  border-radius:0;
  -webkit-border-radius:0;
  -moz-border-radius:0;
  -o-border-radius:0;
}

div.cartodb-popup.header div.cartodb-popup-header {
  position:relative;
  width:188px;
  height:auto;
  max-height:62px;
  overflow:hidden;
  padding:17px 19px 17px 19px;
  background:url('../img/headers.png') no-repeat 0 0;
}

div.cartodb-popup.header div.cartodb-popup-header h4 {
  color:#1F4C7F;
}

div.cartodb-popup.header div.cartodb-popup-header h1 {
  margin:0;
  font:bold 21px "Helvetica Neue", "Helvetica", Arial;
  color:#FFFFFF;
  line-height:normal;
}

div.cartodb-popup.header div.cartodb-popup-header span.separator {
  position:absolute;
  bottom:0;
  left:4px;
  right:4px;
  height:1px;
  background:#225386;
}

div.cartodb-popup.header div.cartodb-popup-content {
  max-height:150px;
}

div.cartodb-popup.header a.cartodb-popup-close-button {
  background:url('../img/headers.png') no-repeat -226px 0;
}

div.cartodb-popup.header a.cartodb-popup-close-button:hover {
  background-position:-226px -26px;
}


/* EMBED MAP */
div.header.blue h1 {
  color: #1F4C7F;
}

div.header.blue h1 a {
  color: #1F4C7F;
}

div.header.blue h1 a:hover {
  color: #225386;
  text-decoration: underline;
}
/**
 *  CartoDB2.0 Infowindow header theme green
 */

/* INFOWINDOW */
div.cartodb-popup.header.green div.cartodb-popup-header {
  background:url('../img/headers.png') no-repeat -252px 0;
}

div.cartodb-popup.header.green div.cartodb-popup-header h4 {
  color:#00916D;
}

div.cartodb-popup.header.green div.cartodb-popup-header span.separator {
  background:#008E6A;
}

div.cartodb-popup.header.green a.cartodb-popup-close-button {
  background:url('../img/headers.png') no-repeat -478px 0;
}

div.cartodb-popup.header.green a.cartodb-popup-close-button:hover {
  background-position:-478px -26px;
}

/* EMBED MAP */
div.header.green h1 {
  color: #00916D;
}

div.header.green h1 a {
  color: #00916D;
}

div.header.green h1 a:hover {
  color: #008E6A;
  text-decoration: underline;
}
/**
 *  CartoDB2.0 Infowindow header theme orange
 */

/* INFOWINDOW */
div.cartodb-popup.header.orange div.cartodb-popup-header {
  background:url('../img/headers.png') no-repeat -756px 0;
}

div.cartodb-popup.header.orange div.cartodb-popup-header h4 {
  color:#CC2929;
}

div.cartodb-popup.header.orange div.cartodb-popup-header span.separator {
  background:#CC2929;
}

div.cartodb-popup.header.orange a.cartodb-popup-close-button {
  background:url('../img/headers.png') no-repeat -982px 0;
}

div.cartodb-popup.header.orange a.cartodb-popup-close-button:hover {
  background-position:-982px -26px;
}

/* EMBED MAP */
div.header.orange h1 {
  color: #CC2929;
}

div.header.orange h1 a {
  color: #CC2929;
}

div.header.orange h1 a:hover {
  color: #CC2929;
  text-decoration: underline;
}
/**
 *  CartoDB2.0 Infowindow header theme yellow
 */

/* INFOWINDOW */
div.cartodb-popup.header.yellow div.cartodb-popup-header {
  background:url('../img/headers.png') no-repeat -504px 0;
}

div.cartodb-popup.header.yellow div.cartodb-popup-header h4 {
  color:#D8832A;
}

div.cartodb-popup.header.yellow div.cartodb-popup-header span.separator {
  background:#CC7A29;
}

div.cartodb-popup.header.yellow a.cartodb-popup-close-button {
  background:url('../img/headers.png') no-repeat -730px 0;
}

div.cartodb-popup.header.yellow a.cartodb-popup-close-button:hover {
  background-position:-730px -26px;
}

/* EMBED MAP */
div.header.yellow h1 {
  color: #D8832A;
}

div.header.yellow h1 a {
  color: #D8832A;
}

div.header.yellow h1 a:hover {
  color: #CC7A29;
  text-decoration: underline;
}/* required styles */

.leaflet-map-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-pane,
.leaflet-overlay-pane,
.leaflet-shadow-pane,
.leaflet-marker-pane,
.leaflet-popup-pane,
.leaflet-overlay-pane svg,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer { /* TODO optimize classes */
	position: absolute;
	}
.leaflet-container {
	overflow: hidden;
	outline: 0;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-moz-user-select: none;
	-webkit-user-select: none;
	user-select: none;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
.leaflet-clickable {
	cursor: pointer;
	}
.leaflet-dragging, .leaflet-dragging .leaflet-clickable {
	cursor: move;
	}
.leaflet-container img {
    /* map is broken in FF if you have max-width: 100% on tiles */
	max-width: none !important;
	}
.leaflet-container img.leaflet-image-layer {
    /* stupid Android 2 doesn't understand "max-width: none" properly */
    max-width: 15000px !important;
    }

.leaflet-tile-pane { z-index: 2; }
.leaflet-objects-pane { z-index: 3; }
.leaflet-overlay-pane { z-index: 4; }
.leaflet-shadow-pane { z-index: 5; }
.leaflet-marker-pane { z-index: 6; }
.leaflet-popup-pane { z-index: 7; }

.leaflet-tile {
    filter: inherit;
    visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}

.leaflet-zoom-box {
    width: 0;
    height: 0;
    }

/* Leaflet controls */

.leaflet-control {
	position: relative;
	z-index: 7;
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}

.leaflet-control-zoom {
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-radius: 7px;
	}
.leaflet-control-zoom {
	padding: 5px;
	background: rgba(0, 0, 0, 0.25);
	}
.leaflet-control-zoom a {
	background-color: rgba(255, 255, 255, 0.75);
	}
.leaflet-control-zoom a, .leaflet-control-layers a {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-control-zoom a {
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	width: 19px;
	height: 19px;
	}
.leaflet-control-zoom a:hover {
	background-color: #fff;
	}
.leaflet-touch .leaflet-control-zoom a {
	width: 27px;
	height: 27px;
	}
.leaflet-control-zoom-in {
	background-image: url(marker-cluster/images/zoom-in.png);
	margin-bottom: 5px;
	}
.leaflet-control-zoom-out {
	background-image: url(marker-cluster/images/zoom-out.png);
	}

.leaflet-control-layers {
	box-shadow: 0 1px 7px #999;
	background: #f8f8f9;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	}
.leaflet-control-layers a {
	background-image: url(marker-cluster/images/layers.png);
	width: 36px;
	height: 36px;
	}
.leaflet-touch .leaflet-control-layers a {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers input {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

.leaflet-container .leaflet-control-attribution {
	background-color: rgba(255, 255, 255, 0.7);
	box-shadow: 0 0 5px #bbb;
	margin: 0;
    }

.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	}

.leaflet-container .leaflet-control-attribution,
.leaflet-container .leaflet-control-scale {
	font: 11px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
	}

.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}

.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	color: black;
	line-height: 1;
	font-size: 10px;
	padding-bottom: 2px;
	text-shadow: 1px 1px 1px #fff;
	background-color: rgba(255, 255, 255, 0.5);
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	padding-top: 1px;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution, .leaflet-touch .leaflet-control-layers {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers {
	border: 5px solid #bbb;
	}


/* Zoom and fade animations */

.leaflet-fade-anim .leaflet-tile, .leaflet-fade-anim .leaflet-popup {
	opacity: 0;

/*	-webkit-transition: opacity 0.2s linear;
	-moz-transition: opacity 0.2s linear;
	-o-transition: opacity 0.2s linear;
	transition: opacity 0.2s linear;
*/	}
.leaflet-fade-anim .leaflet-tile-loaded, .leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0.25,0.1,0.25,0.75);
	-moz-transition: -moz-transform 0.25s cubic-bezier(0.25,0.1,0.25,0.75);
	-o-transition: -o-transform 0.25s cubic-bezier(0.25,0.1,0.25,0.75);
	transition: transform 0.25s cubic-bezier(0.25,0.1,0.25,0.75);
	}

.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile,
.leaflet-touching .leaflet-zoom-animated {
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
    }

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* Popup layout */

.leaflet-popup {
	position: absolute;
	text-align: center;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	}
.leaflet-popup-content {
	margin: 14px 20px;
	}
.leaflet-popup-tip-container {
	margin: 0 auto;
	width: 40px;
	height: 20px;
	position: relative;
	overflow: hidden;
	}
.leaflet-popup-tip {
	width: 15px;
	height: 15px;
	padding: 1px;

	margin: -8px auto 0;

	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	padding: 4px 5px 0 0;
	text-align: center;
	width: 18px;
	height: 14px;
	font: 16px/14px Tahoma, Verdana, sans-serif;
	color: #c3c3c3;
	text-decoration: none;
	font-weight: bold;
	}
.leaflet-container a.leaflet-popup-close-button:hover {
	color: #999;
	}
.leaflet-popup-content p {
	margin: 18px 0;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	border-bottom: 1px solid #ddd;
	border-top: 1px solid #ddd;
	}


/* Visual appearance */

.leaflet-container {
	background: #ddd;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-container a.leaflet-active {
    outline: 2px solid orange;
    }
.leaflet-zoom-box {
	border: 2px dotted #05f;
	background: white;
	opacity: 0.5;
	}
.leaflet-div-icon {
    background: #fff;
    border: 1px solid #666;
    }
.leaflet-editing-icon {
    border-radius: 2px;
    }
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
	background: white;

	box-shadow: 0 3px 10px #888;
	-moz-box-shadow: 0 3px 10px #888;
	-webkit-box-shadow: 0 3px 14px #999;
	}
.leaflet-popup-content-wrapper {
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius: 20px;
	}
.leaflet-popup-content {
	font: 12px/1.4 "Helvetica Neue", Arial, Helvetica, sans-serif;
	}

#legend { position: absolute; right: 50px; top: 20px; width: 250px; padding: 10px; background: white; z-index: 99; }
#legend .title, 
#legend .row { position: relative; float: left; width: 240px; background: none; padding: 5; margin: 0; }
#legend .title {font-weight: bold; font-size: 24px;}
#legend .row span { float: left; padding: 0; margin: 0; }

#legend .row span.box { width: 20px; height: 20px; background: black; margin: 2px; border: 1px solid #BBB; }
#legend .row span.line { width: 20px; height: 6px; background: black; margin: 2px; border: 1px solid #BBB;  margin-top: 11px;}
#legend .row span.circle { width: 20px; height: 20px; background: black; margin: 2px; border: 1px solid #BBB;  border-radius: 50%;}

#legend .row span.value { line-height: 18px; margin: 5px; max-width: 192px;}

/**
 *  CartoDB2.0 theme (DEFAULT)
 */

  /* INFOWINDOW */
  div.infowindow {
    position: absolute;
    z-index: 2;
  }

  div.cartodb-popup {
    position:relative;
    width:226px;
    height:auto;
    padding:7px 0 0 0;
    margin:0;
    /*background:url('../img/light.png') no-repeat -226px 0;*/
  }

  div.cartodb-popup div.cartodb-popup-content-wrapper {
    position:relative;
    width:190px;
    max-width: 190px;
    padding:12px 19px 12px 19px;
    overflow-x: hidden;
    /*background:url('../img/light.png') repeat-y -452px 0;*/
  }

  div.cartodb-popup div.cartodb-popup-content {
    display:block;
    width:190px;
    max-width: 190px;
    min-height:5px;
    height:auto;
    max-height:185px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden!important;
    outline: none;
  }

  /* Custom gradients for scroll content */
  div.cartodb-popup .jspContainer:after,
  div.cartodb-popup .jspContainer:before {
    content:'';
    position:absolute;
    left:0;
    right:12px;
    display:block;
    height:10px;
    width:190px;
    z-index: 5;
  }

  div.cartodb-popup .jspContainer:after {
    bottom:0px;
    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(255,255,255,0)), color-stop(100%, rgba(255,255,255,1)));
    background: -webkit-linear-gradient(top, rgba(255,255,255,0), rgba(255,255,255,1));
    background: -moz-linear-gradient(top, rgba(255,255,255,0), rgba(255,255,255,1));
    background: -o-linear-gradient(top, rgba(255,255,255,0), rgba(255,255,255,1));
    background: linear-gradient(top, rgba(255,255,255,0), rgba(255,255,255,1));
  }

  div.cartodb-popup .jspContainer:before {
    top:0px;
    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(255,255,255,1)), color-stop(100%, rgba(255,255,255,0)));
    background: -webkit-linear-gradient(top, rgba(255,255,255,1), rgba(255,255,255,0));
    background: -moz-linear-gradient(top, rgba(255,255,255,1), rgba(255,255,255,0));
    background: -o-linear-gradient(top, rgba(255,255,255,1), rgba(255,255,255,0));
    background: linear-gradient(top, rgba(255,255,255,1), rgba(255,255,255,0));
  }

  div.cartodb-popup div.cartodb-popup-tip-container {
    width:226px;
    height:20px;
    /*background:url('../img/light.png') no-repeat 0 0;*/
  }

  div.cartodb-popup a.cartodb-popup-close-button {
    position:absolute;
    top:-9px;
    right:-9px;
    width:26px;
    height:26px;
    padding:0;
    /*background:url('../img/light.png') no-repeat 0 -23px;*/
    text-indent:-9999px;
    font-size:0;
    line-height:0;
    opacity:1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=1);
    filter: alpha(opacity=100);
    text-transform:uppercase;
    z-index:3;
  }

  /* When there are no fields in header popup themes */
  div.cartodb-popup.header.no_fields div.cartodb-popup-content {
    display:none;
  }
  div.cartodb-popup.header.no_fields
  div.cartodb-popup-content-wrapper
  div.cartodb-edit-buttons {
    padding-top:5px;
    margin-top:0;
  }
  div.cartodb-popup.header.no_fields div.cartodb-edit-buttons {
    border: none;
    padding-top:0;
  }


  div.cartodb-popup h4 {
    display:block;
    width:190px;
    margin: 0;
    padding: 0;
    font:bold 11px "Helvetica Neue","Helvetica",Arial;
    color:#CCCCCC;
    text-transform:uppercase;
    word-wrap: break-word;
  }

  div.cartodb-popup p {
    display:block;
    width:190px;
    max-width: 190px;
    margin: 0;
    padding: 0;
    font:normal 13px "Helvetica",Arial;
    color:#333333;
    padding:0 0 7px;
    word-wrap: break-word;
  }

  div.cartodb-popup p.empty {
    color:#999999;
    font-style: italic;
  }


  /* EMBED CONTENT */
  div.header {
    position: relative;
    display: block;
    background: #FFF;
    border: none;
    border-bottom: 1px solid #808080; /*IE*/
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    margin:0;
    padding:20px;
    -moz-border-radius-topleft: 1px;
    -webkit-border-top-left-radius: 1px;
    border-top-left-radius: 1px;
    -moz-border-radius-topright: 1px;
    -webkit-border-top-right-radius: 1px;
    border-top-right-radius: 1px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0 0 4px 4px;
    -moz-box-shadow: rgba(0, 0, 0, 0.1) 0 0 4px 4px;
    box-shadow: rgba(0, 0, 0, 0.1) 0 0 4px 4px;
    -webkit-transform: translateZ(10px);
    -moz-transform: translateZ(10px);
    -ms-transform: translateZ(10px);
    -o-transform: translateZ(10px);
    transform: translateZ(10px);
    z-index: 3;
    font-family: 'Helvetica Neue', Helvetica, sans-serif;
  }

  div.header *, div.cartodb-popup * {
    -webkit-margin-before:0em;
    -webkit-margin-after:0em;
  }

  div.header h1 {
    padding:0;
    margin:0;
    font-weight: bold;
    font-size: 17px;
    color: #397DBA;
    line-height:normal;
  }

  div.header h1 a {
    font-weight: bold;
    font-size: 17px;
    color: #397DBA;
    text-decoration: none;
  }

  div.header h1 a:hover {
    text-decoration: underline;
  }

  div.header > p {
    margin:5px 0 0 0;
    padding: 0;
    font-weight: normal;
    font-size: 13px;
    color: #999999;
  }

  div.no_description span.cartodb_map_controls {top: 10px; }


  div.header div.social {
    position:absolute;
    top:50%;
    right:20px;
    margin:-13px 0 0 0;
  }

  div.header div.social a {
    display:inline-block;
    zoom: 1;
    *display: inline;
    _height: 26px;
    height:26px;
    width:26px;
    display: -moz-inline-stack;
    vertical-align: top;
    text-indent: -9999px;
    *text-indent:0px;
    font-size: 0;
    line-height: 0;
    text-transform: uppercase;
    background:url('../img/other.png') no-repeat 0 0;
  }

  div.header div.social a.twitter {
    margin-left:3px;
    background:url('../img/other.png') no-repeat -26px 0;
  }


  div#zoom {
    position: relative;
    float:left;
    display:block;
    margin: 20px 0 0 20px;
    width: 28px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 0 4px 2px;
    -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 4px 2px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 0 4px 2px;
    z-index: 5;
    background: white;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #999999;
  }
  div#zoom a {
    position:relative;
    display: block;
    width: 28px;
    height: 28px;
    padding: 0;
    font: bold 20px "Arial";
    color: #999999;
    text-align: center;
    line-height: normal;
    text-decoration: none;
    text-indent: -9999px;
    line-height: 0;
    font-size: 0;
    background:url('../img/other.png') no-repeat 0 0;
  }
  div#zoom a.zoom_in {
    border-bottom: 1px solid #E6E6E6;
    background-position:-68px 10px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
  }

  div#zoom a.zoom_in:hover {
    background-position:-68px -14px;
    cursor: pointer;
  }

  div#zoom a.zoom_out {
    background-position:-94px 10px;
    -webkit-border-bottom-left-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    -moz-border-radius-bottomright: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
  }

  div#zoom a.zoom_out:hover {
    background-position:-94px -14px;
    cursor: pointer;
  }

  div#zoom a.disabled {
    filter: alpha(opacity=20);
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=20);
    opacity: 0.2;
  }

  div#zoom a.disabled:hover {
    cursor: default;
    color: #999999;
  }

  div#zoom_info {
    position:absolute;
    display:block;
    top:100px;
    left:20px;
    margin:20px 0 0 0;
    width: 28px;
    height:28px;
    font:normal 13px "Helvetica",Arial;
    color:#858585;
    text-align: center;
    line-height: 28px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 0 4px 2px;
    -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 4px 2px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 0 4px 2px;
    z-index: 5;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #999999;
    background: white;
  }

  div#tiles_loader {
    position:relative;
    float:left;
    display:block;
    left:0;
    top:0;
  }

  div#tiles_loader div.loader {
    position:absolute;
    display:block;
    top:70px;
    left:-30px;
    margin:20px 0 0 0;
    width: 28px;
    height:28px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 0 4px 2px;
    -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 4px 2px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 0 4px 2px;
    z-index: 5;
    background: url('../img/loader.gif') no-repeat center center white;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #999999;
  }

  div.search_box {
    position: relative;
    display:block;
    float:right;
    margin: 20px 20px 0 0;
    width: 142px;
    height:29px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 0 4px 2px;
    -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 4px 2px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 0 4px 2px;
    z-index: 5;
    background: white;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #999999;
    z-index:5;
  }

  div.search_box input.text {
    position: absolute;
    top:6px;
    left:30px;
    width:103px;
    padding:0;
    margin:0;
    line-height:17px;
    border:none;
    background:none;
    border-bottom:1px dotted #CCCCCC;
    font:normal 14px Arial;
    color:#999999;
    z-index:2;
  }

  div.search_box input.text:focus {
    outline:none;
    border-color:#999999;
    color:#666666;
  }

  div.search_box input.submit {
    position: absolute;
    left:8px;
    top:8px;
    width:12px;
    height:12px;
    text-indent: -9999px;
    font-size: 0;
    line-height: 0;
    text-transform: uppercase;
    border:none;
    background: url('../img/other.png') no-repeat -56px 0;
  }

  div.search_box input.submit:hover {
    cursor:pointer;
  }

  div.cartodb_infobox {
    padding: 20px;
    position: absolute;
    display: inline-block;
    -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 0 4px 2px;
    -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 4px 2px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 0 4px 2px;
    z-index: 5;
    background: white;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #999999;
    z-index:5;
  }

  div.cartodb_tooltip {
    position: absolute;
    z-index: 5;
    display: none;
  }

  div.cartodb_tooltip p {
    font-family: "robotoregular", Helvetica, Arial, Sans-serif;
    font-size: 15px;
    color: #333;
    text-shadow:
   -1px -1px 0 #FFF,
    1px -1px 0 #FFF,
    -1px 1px 0 #FFF,
     1px 1px 0 #FFF;
  }

