   *  CartoDB infowindow dark styles
   */

  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);
  }
  /**
   *  CartoDB2.0 popup styles (DEFAULT)
   */

  div.cartodb-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;
    text-align:left;
  }

  /* 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: 0px;
	right: 0px;
	width: 27px;
	height: 26px;
	padding: 0;
	background: url('../img/light.png') no-repeat 0 -26px;
	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;
	margin-right: 1px;
  }

  /* 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;
  }

  
  /* Custom scroll in CartoDB content */

  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;
  }


  /* CartoDB light content styles */

  div.cartodb-popup h4 {
    display:block;
    width:190px;
    margin: 0;
    padding: 0;
    font:bold 11px "Helvetica Neue",'univers45_light',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 0 7px;
    font:normal 13px 'univers45_light',Arial;
    color:#333333;
    word-wrap: break-word;
  }

  div.cartodb-popup p.italic {
    font-style: italic;
  }

  div.cartodb-popup p.loading {
    position:relative;
    display:block;
    width:170px;
    max-width: 170px;
    margin: 0;
    padding:0 0 0 30px;
    font:normal 13px 'univers45_light',Arial;
    color:#888;
    font-style:italic;
    word-wrap: break-word;
    line-height:21px;
  }

  div.cartodb-popup p.error {
    position:relative;
    display:block;
    width:170px;
    max-width:170px;
    margin:0;
    padding:0;
    font:normal 13px 'univers45_light',Arial;
    color:#FF7F7F;
    font-style:italic;
    word-wrap: break-word;
    line-height:18px;
  }

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

  div.cartodb-popup div.spinner {
    position:absolute!important;
    display:inline;
    top:0;
    left:0;
    margin:10px 0 0 10px;
  }
/**
 *  CartoDB2.0 blue header popup styles
 */

div.cartodb-popup.header.blue div.cartodb-popup-header {
  background:url('../img/headers.png') no-repeat 0 -40px;
}

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

div.cartodb-popup.header.blue div.cartodb-popup-header span.separator {
  background:#225386;
}

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

div.cartodb-popup.header.blue a.cartodb-popup-close-button:hover {
  background-position:-226px -66px;
}
/**
 *  CartoDB2.0 header popup styles (DEFAULT)
 */

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 -40px;
}


div.cartodb-popup.header div.cartodb-popup-header h1 {
  width:100%;
  margin:0;
  font:bold 21px 'univers45_light', "Helvetica Neue", Arial;
  color:#FFFFFF;
  line-height:23px;
  text-shadow: 0 1px rgba(0,0,0,0.5);
  word-wrap:break-word;
}

div.cartodb-popup.header div.cartodb-popup-header h1 a {
  color:white;
  font-size:21px;
  word-wrap:break-word;
}

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

div.cartodb-popup.header div.cartodb-popup-header h1.loading {
  position:relative;
  display:block;
  width:auto;
  padding-right:0;
  padding-left:30px;
  font-size:14px;
  font-weight:normal;
  line-height:19px;
}

div.cartodb-popup.header div.cartodb-popup-header h1.error {
  position:relative;
  display:block;
  width:auto;
  padding-right:0;
  padding-left:0;
  font-size:14px;
  font-weight:normal;
  font-style: italic;
  line-height:19px;
}

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

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 -40px;
}

div.cartodb-popup.header a.cartodb-popup-close-button:hover {
  background-position:-226px -66px;
}
/**
 *  CartoDB2.0 green header popup styles
 */

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

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 -40px;
}

div.cartodb-popup.header.green a.cartodb-popup-close-button:hover {
  background-position:-478px -66px;
}
/**
 *  CartoDB2.0 orange header popup styles
 */

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

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 -40px;
}

div.cartodb-popup.header.orange a.cartodb-popup-close-button:hover {
  background-position:-982px -66px;
}
  /**
   *  CartoDB2.0 header with-image popup styles
   */

  div.cartodb-popup.header.with-image div.cartodb-popup-header {
    position:relative;

    background:url('../img/headers.png') no-repeat -1008px 0;
    height:138px;
    max-height:104px;
  }

  div.cartodb-popup.header.with-image div.cartodb-popup-header .cover {
    display:block;
    position:absolute;
    overflow:hidden;
    width: 218px;
    height:135px;
    top: 4px;
    left: 4px;
    border-radius: 4px 4px 0 0;
  }

  div.cartodb-popup.header.with-image div.cartodb-popup-header .cover .shadow {
    position:absolute;
    width: 218px;
    height:55px;
    bottom: 0;
    left: 0;
    background:url('../img/shadow.png') no-repeat;
    z-index: 100;
  }

  div.cartodb-popup.header.with-image div.cartodb-popup-header .cover #spinner {
    position:absolute;
    top: 67px;
    left: 109px;
  }

  div.cartodb-popup.header.with-image div.cartodb-popup-header .cover img {
    position:absolute;
    border-radius: 4px 4px 0 0;
    display:none;
  }

  div.cartodb-popup.header.with-image div.cartodb-popup-header .image_not_found {
    position:absolute;
    top: 15px;
    left: 15px;
    width: 200px;
    display:none;
  }

  div.cartodb-popup.header.with-image div.cartodb-popup-header .image_not_found a {
    display:-moz-inline-stack;display:inline-block;vertical-align:top;*vertical-align:auto;zoom:1;*display:inline;
    margin: 3px 0 0 -2px;
    color: #888888;
    font-size:13px;
    font-family: 'univers45_light', "Helvetica Neue", Arial, sans-serif;
    text-decoration: underline;
  }

  div.cartodb-popup.header.with-image div.cartodb-popup-header .image_not_found a:hover {
    color: #888888;
    text-decoration:underline;
  }

  div.cartodb-popup.header.with-image div.cartodb-popup-header .cover .image_not_found i {
    display:-moz-inline-stack;display:inline-block;vertical-align:top;*vertical-align:auto;zoom:1;*display:inline;
    width: 31px;
    height: 22px;
    background:transparent url('../img/image_not_found.png');
  }

  div.cartodb-popup.header.with-image div.cartodb-popup-header h1 {
    position:absolute;
    bottom: 13px;
    left: 18px;
    width: 188px;
    z-index: 150;
  }

  div.cartodb-popup.header.with-image div.cartodb-popup-header h4 {
    color:#CCC;
  }

  div.cartodb-popup.header.with-image div.cartodb-popup-header span.separator {
    background:#CCC;
  }

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

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

  div.cartodb-popup.header.with-image .cartodb-popup-header h1 {
    display:none;
  }

  div.cartodb-popup.header.with-image .cartodb-popup-header h1.order1 {
    display:block;
  }

  div.cartodb-popup.header.with-image .cartodb-popup-content-wrapper .order1 {
    display:none;
  }
/**
 *  CartoDB2.0 yellow header popup styles
 */

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

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 -40px;
}

div.cartodb-popup.header.yellow a.cartodb-popup-close-button:hover {
  background-position:-730px -66px;
}
  /**
   *  CartoDB infowindow light styles
   */

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

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

  div.cartodb-popup p.loading {
    color:#888;
  }

  div.cartodb-popup p.error {
    color:#FF7F7F;
  }

  div.cartodb-popup p.empty {
    color:#999999;
  }
  /**
   *  CartoDB map style components 
   */ 

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

  div.cartodb-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 6px 4px -2px;
    -moz-box-shadow: rgba(0, 0, 0, 0.1) 0 6px 4px -2px;
    box-shadow: rgba(0, 0, 0, 0.1) 0 6px 4px -2px;
    -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.cartodb-header h1 {
    width:80%;*/ /* Necessary to support small iframes or displays*/
/*    padding:0;
    margin:0;
    font-weight: bold;
    font-size: 17px;
    color: #397DBA;
    line-height:normal;
    text-align:left;
  }

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

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

  div.cartodb-header > p {
    width:80%; /* Necessary to support small iframes or displays*/
    margin:5px 0 0 0;
    padding: 0;
    font-weight: normal;
    font-size: 13px;
    color: #999999;
    text-align:left;
  }

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

  div.cartodb-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.cartodb-header div.social a.twitter {
    margin-left:3px;
    background:url('../img/other.png') no-repeat -26px 0;
  }

  /* CartoDB Legend styles */

  div.cartodb-legend-stack {
    position:absolute;
    bottom: 35px;
    right: 20px;

    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;

    -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;
    z-index: 5;
  }

  div.cartodb-legend-stack div.cartodb-legend {
    position:relative;
    top: auto; right: auto; left: auto; bottom: auto;
    background: none;
    border:none;
    margin: 0;

    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0px;

    border-bottom: 1px solid #999;

    webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
  }

  div.cartodb-legend-stack div.cartodb-legend:last-child {
    border-bottom: none;
  }

  div.cartodb-legend {
    position:absolute;
    bottom: 35px;
    right: 20px;
    padding: 13px 15px 14px 15px;

    font:normal 13px 'univers45_light',Arial;
    color:#858585;
    text-align: left;
    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;
    -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;
    z-index: 5;
  }

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

  div.cartodb-legend ul li {
    padding: 0;
    margin: 0;
    font-size: 10px;
    color: #666666;
    font-weight:bold;
    font-family: 'univers45_light', Arial;
    text-transform: uppercase;
    line-height: normal;
  }

  /* None legend */
  div.cartodb-legend-stack div.cartodb-legend.none,
  div.cartodb-legend.none {
    display:none;
  }

  /* Custom legend */

  div.cartodb-legend.custom ul li,
  div.cartodb-legend.category ul li,
  div.cartodb-legend.color ul li {
    position:relative;
    margin: 0 0 7px 0;
    font-size: 10px;
    color: #666666;
    font-weight:bold;
    font-family: 'univers45_light', Arial;
    text-transform: uppercase;
    text-align: left;
    line-height: normal;
    height: 10px;
    line-height: 10px;
    vertical-align:middle;

  }

  div.cartodb-legend.custom ul li:last-child,
  div.cartodb-legend.color ul li:last-child { margin: 0; }
  div.cartodb-legend.category ul li:last-child { margin: 0; }

  div.cartodb-legend.custom ul li .bullet,
  div.cartodb-legend.category ul li .bullet,
  div.cartodb-legend.color ul li .bullet {
    float:left;
    margin: 0 5px 0 0;
    width: 3px; 
    height: 3px;

    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;

    padding: 2px;
    background:#fff;
    border: 1px solid rgba(0, 0, 0, .2);
    z-index: 1000;
  }
  
  /* Bubble legend */
  div.cartodb-legend.bubble {
    text-align:center;
  }

  div.cartodb-legend.bubble ul {
    clear:both;
    overflow: hidden;

    display: -moz-inline-stack;
    display: inline-block;
  }

  div.cartodb-legend.bubble ul li { 
    position:relative;
    float: left;
    top: 15px;
  }

  div.cartodb-legend.bubble ul li.graph { 
    top: 0;
    width: 120px;
    height: 40px;
    margin: 0 10px;
    background: #f1f1f1;
  }

  div.cartodb-legend.bubble ul li.graph .bubbles {
    background:url('../img/bubbles.png') no-repeat 0 0;
    width:120px; height:40px;
  }


  /* Choropleth legend */
  div.cartodb-legend.choropleth {
    padding: 13px 15px 15px 15px;
  }

  div.cartodb-legend.choropleth ul {
    min-width: 210px;
  }

  div.cartodb-legend.choropleth li.min {
    float: left;
    margin: 0 0 5px 0;
  }

  div.cartodb-legend.choropleth li.max {
    float: right;
    margin: 0 0 5px 0;
  }

  div.cartodb-legend.choropleth li.graph div {
    width: 10px;
    height: 22px;
  }

  div.cartodb-legend.choropleth li.graph .quartile { display: table-cell; }
  div.cartodb-legend.choropleth li.graph.count_7 .quartile { width: 30px; }
  div.cartodb-legend.choropleth li.graph.count_5 .quartile { width: 42px; }
  div.cartodb-legend.choropleth li.graph.count_3 .quartile { width: 70px; }

  div.cartodb-legend.choropleth li.graph .colors {
    display: table-row;
  }

  div.cartodb-legend.choropleth li.graph {
    clear:both;
    overflow:hidden;

    display: table;

    width: 100%;
    height: 22px;

    -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;
    
    /*box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.2);*/
    border: 1px solid #b3b3b3;
  }

  /* Density legend */
  div.cartodb-legend.density {
    padding: 13px 15px 15px 15px;
  }

  div.cartodb-legend.density ul {
    min-width: 210px;
  }

  div.cartodb-legend.density li.min {
    float: left;
    margin: 0 0 5px 0;
  }

  div.cartodb-legend.density li.max {
    float: right;
    margin: 0 0 5px 0;
  }

  div.cartodb-legend.density li.graph div {
    width: 10px;
    height: 22px;
  }

  div.cartodb-legend.density li.graph .quartile { display: table-cell; }
  div.cartodb-legend.density li.graph.count_7 .quartile { width: 30px; }
  div.cartodb-legend.density li.graph.count_5 .quartile { width: 42px; }
  div.cartodb-legend.density li.graph.count_3 .quartile { width: 70px; }

  div.cartodb-legend.density li.graph .colors {
    display: table-row;
  }

  div.cartodb-legend.density li.graph {
    clear:both;
    overflow:hidden;

    display: table;
    width: 100%;
    height: 22px;

    -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;

    /*box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.2);*/
    border: 1px solid #b3b3b3;
  }

  /* Intensity legend */

  div.cartodb-legend.intensity {
    padding: 13px 15px 15px 15px;
  }

  div.cartodb-legend.intensity ul {
    min-width: 210px;
  }

  div.cartodb-legend.intensity li.min {
    float: left;
    margin: 0 0 5px 0;
  }

  div.cartodb-legend.intensity li.max {
    float: right;
    margin: 0 0 5px 0;
  }

  div.cartodb-legend.intensity li.graph {
    clear:both;

    width: 100%;
    height: 22px;
    background:#f1f1f1;

    -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;*/
    -webkit-box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.2);
    -o-box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.2);
    -ms-box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.2);

  }
  
  /* CartoDB Zoom styles */

  div.cartodb-zoom {
	position: relative;
	float: left;
	display: block;
	margin: 65px 0 0 20px;
	width: 15px;
	/* [disabled]-webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 0 4px 2px; */
	/* [disabled]-moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 4px 2px; */
	/* [disabled]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;
	/* [disabled]border-radius: 4px; */
	border: 1px solid #999999;
	height: auto;
  }

  div.cartodb-zoom a {
	position: relative;
	display: block;
	width: 15px;
	height: 15px;
	/*	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.cartodb-zoom a.zoom_in {
    border-bottom: 1px solid #E6E6E6;
    background-position:-74px 3px;
    -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.cartodb-zoom a.zoom_in:hover {
	background-position: -74px 3px;
	cursor: pointer;
  }

  div.cartodb-zoom a.zoom_out {
    background-position:-100px 3px;
    -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.cartodb-zoom a.zoom_out:hover {
	background-position:-100px 3px;
	cursor: pointer;
  }

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

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


  /* CartoDB zoom info control */

  div.cartodb-zoom-info {
	position: absolute;
	display: block;
	top: 100px;
	left: 20px;
	margin: 20px 0 0 0;
	width: 15px;
	height: 15px;
	font: normal 13px 'univers45_light',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;
	/* [disabled]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;
  }


  /* Tiles loader control */

  div.cartodb-tiles-loader {
    position:relative;
    float:left;
    display:block;
    left:0;
    top:0;
  }

  div.cartodb-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;
  }


  /* CartoDB layer selector box */

  div.cartodb-layer-selector-box {
    position: relative;
    display:block;
    float:right;
    margin: 20px 20px 0 0;
    width: 142px;
    height:29px;
    color: #CCCCCC;
    font-size:13px;
    -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-layer-selector-box a.layers {
    float:left;
    width: 126px;
    padding: 6px 8px;
    line-height:20px;
    color: #CCC;
    text-decoration:none;
    font-family: "robotoregular", Helvetica, Arial, Sans-serif;
  }
  
  div.cartodb-layer-selector-box a.layers:hover {
    color:#bbb;
  }
  div.cartodb-layer-selector-box a.layers:hover .count {
    background:#ccc;
  }
  
  div.cartodb-layer-selector-box a.layers .count {
    position:absolute;
    right:6px;
    top:6px;
    width:auto;
    padding: 3px 6px;
    margin:0;
    font-size:10px;
    color: #fff;
    line-height:12px;
    background:#DDDDDD;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 2px;
  }
  
  div.cartodb-layer-selector-box div.cartodb-dropdown {
    padding:0;
    margin:0;
  }
  
  div.cartodb-layer-selector-box div.cartodb-dropdown ul {
    padding:0;
    margin:0;
    list-style:none;
    border:1px solid 999999;
  }
  
  div.cartodb-layer-selector-box div.cartodb-dropdown ul li {
    border-bottom:1px solid #EDEDED;
    position:relative;
  }

  div.cartodb-layer-selector-box div.cartodb-dropdown ul li:last-child {
    border-bottom:none;
  }
  
  div.cartodb-layer-selector-box div.cartodb-dropdown ul li:hover {
    background:#fff;
  }
  
  div.cartodb-layer-selector-box div.cartodb-dropdown ul li a.layer {
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: middle;
    width:104px;
    padding: 13px 13px 15px 13px;
    zoom: 1;
    color: #666666;
    font:normal 13px 'univers45_light',"Helvetica Neue",Arial;
    text-decoration:none;
    overflow:hidden; 
    white-space:nowrap; 
    text-overflow: ellipsis;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
  }

  div.cartodb-layer-selector-box div.cartodb-dropdown ul li:hover a.layer {
    text-decoration: underline;
    color:#545454;
  }
  
  div.cartodb-layer-selector-box div.cartodb-dropdown ul li a.switch {
    position:absolute;
  
    top: 13px;
    right: 10px;
  
    text-indent:-9999px;
    vertical-align:middle;
    width:23px;
    height:12px;
    padding: 0;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
    border-radius: 12px;
  
    -webkit-transform-style: "linear";
    -moz-transform-style: "linear";
    -ms-transform-style: "linear";
    -o-transform-style: "linear";
    transform-style: "linear";
    -webkit-transition-property: left;
    -moz-transition-property: left;
    -o-transition-property: left;
    transition-property: left;
    -webkit-transition-duration: 180ms;
    -moz-transition-duration: 180ms;
    -o-transition-duration: 180ms;
    transition-duration: 180ms;
  
    text-decoration:none;
    border:1px solid #44759E;
  }
  
  div.cartodb-layer-selector-box div.cartodb-dropdown ul li a.switch:before {
    position:absolute;
    content:' ';
    top:0;
    left:0;
    width:100%;
    height:100%;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
    border-radius: 12px;
  
    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(0, 0, 0, 0.18)), color-stop(100%, rgba(0, 0, 0, 0)));
    background: -webkit-linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0));
    background: -moz-linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0));
    background: -o-linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0));
    background: linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0));
  
    z-index:0;
  }
  
  div.cartodb-layer-selector-box div.cartodb-dropdown ul li a.switch span.handle {
    position: absolute;
    top: 0px;
    left: 12px;
    width: 10px;
    height: 10px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
    border-radius: 12px;
    border: 1px solid #44759e;
    background: #F2F2F2;
    z-index: 2;
    -webkit-transform-style: "linear";
    -moz-transform-style: "linear";
    -ms-transform-style: "linear";
    -o-transform-style: "linear";
    transform-style: "linear";
    -webkit-transition-property: left;
    -moz-transition-property: left;
    -o-transition-property: left;
    transition-property: left;
    -webkit-transition-duration: 180ms;
    -moz-transition-duration: 180ms;
    -o-transition-duration: 180ms;
    transition-duration: 180ms;
  }
  
  div.cartodb-layer-selector-box div.cartodb-dropdown ul li a.switch.enabled {
    border-color:#44759E;
    background:#56AFEF;
  }
  
  div.cartodb-layer-selector-box div.cartodb-dropdown ul li a.switch.enabled span.handle {
    left:12px;
    border-color:#44759E;
  }
  
  div.cartodb-layer-selector-box div.cartodb-dropdown ul li a.switch.disabled {
    opacity:1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=1);
    filter: alpha(opacity=100);
    border-color:#CCCCCC;
    background:#D8D8D8;
  }
  
  div.cartodb-layer-selector-box div.cartodb-dropdown ul li a.switch span.handle {
    left:0;
    border-color:#999999;
  }
  
  div.cartodb-layer-selector-box div.cartodb-dropdown ul li a.switch:hover {cursor:pointer!important;}
  
  div.cartodb-layer-selector-box div.cartodb-dropdown ul li a.switch.working {
    opacity:0.5;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=.5);
    filter: alpha(opacity=50);
  }
  
  div.cartodb-layer-selector-box div.cartodb-dropdown ul li a.switch.working:hover {cursor:default!important;}


  /* CartoDB search box control */

  div.cartodb-searchbox {
    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.cartodb-searchbox span.loader {
    position: absolute;
    display:none;
    top:3px;
    left:3px;
    width:22px;
    height:22px;
    background: url('../img/loader.gif') no-repeat center center white;
    z-index:5;
  }

  div.cartodb-searchbox 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;
    text-align:left;
    z-index:2;
  }

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

  div.cartodb-searchbox 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;
    z-index:1;
  }

  div.cartodb-searchbox input.submit:hover {
    cursor:pointer;
  }


  /* CartoDB infobox control */

  div.cartodb-infobox {
	padding: 20px;
	position: absolute;
	display: inline-block;
	-moz-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;
	text-align: left;
	z-index: 5;
	/* [disabled]border-style: solid; */
	border-width: 1px;
	border-color: #999999;
  }

  /* CartoDB dropdown */
  div.cartodb-dropdown {
    position:absolute;
    display:none;
    background:white;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    border:none;
    -webkit-box-shadow: rgba(0,0,0,0.2) 0 0 4px 1px;
    -moz-box-shadow: rgba(0,0,0,0.2) 0 0 4px 1px;
    -ms-box-shadow: rgba(0,0,0,0.2) 0 0 4px 1px;
    -o-box-shadow: rgba(0,0,0,0.2) 0 0 4px 1px;
    box-shadow: rgba(0,0,0,0.2) 0 0 4px 1px;
    z-index:50;
  }

  div.cartodb-dropdown.border {
    border:1px solid #999999;
  }

  div.cartodb-dropdown div.tail {
    position:absolute;
    top:-6px;
    right:10px;
    width:0;
    height:0;
    border-left:6px solid transparent;
    border-right:6px solid transparent;
    border-bottom:6px solid #999;
    z-index:0;
  }

  div.cartodb-dropdown div.tail span.border {
    position:absolute;
    top:1px;
    left:-6px;
    width:0;
    height:0;
    border-left:6px solid transparent;
    border-right:6px solid transparent;
    border-bottom:6px solid white;
    z-index:2;
  }


  /* CartoDB tooltip control */

  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-align:left;
    text-shadow: -1px -1px 0 #FFF, 1px -1px 0 #FFF, -1px 1px 0 #FFF, 1px 1px 0 #FFF;
  }


  /* Gmaps attribution */
  div#cartodb-gmaps-attribution {
    position:absolute;
    display:block;
    bottom:19px;
    right:0;
    height:19px;
    line-height:19px;
    padding:0 6px 0 50px;
    background: white;
    background: -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0px, rgba(255, 255, 255, 0.5) 50px);
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0px,rgba(255, 255, 255, 0.498039) 50px);
    background: linear-gradient(left, rgba(255, 255, 255, 0) 0px, rgba(255, 255, 255, 0.498039) 50px);
    background: -moz-linear-gradient(left center , rgba(255, 255, 255, 0) 0px, rgba(255, 255, 255, 0.5) 50px) repeat scroll 0% 0% transparent;
    font-family: Arial, sans-serif;
    font-size: 10px;
    color: rgb(68, 68, 68)!important;
    white-space: nowrap;
    direction: ltr;
    text-align: right;
    background-position:initial initial;
    background-repeat: initial initial;
    border:none;
    z-index:10000;
  }  

  div#cartodb-gmaps-attribution a {
    color: rgb(68,68,68);
    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 {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	-ms-touch-action: none;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container img {
	max-width: none !important;
	}
/* stupid Android 2 doesn't understand "max-width: none" properly */
.leaflet-container img.leaflet-image-layer {
	max-width: 15000px !important;
	}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	}

.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; }


/* control positioning */

.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;
	display:none;
	}


/* 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,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	     -o-transition:      -o-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.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;
	}


/* cursors */

.leaflet-clickable {
	cursor: pointer;
	}
.leaflet-container {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging,
.leaflet-dragging .leaflet-clickable,
.leaflet-dragging .leaflet-container {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	}


/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline: 0;
	}
.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;
	}


/* general typography */
.leaflet-container {
	font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
	}


/* general toolbar styles */

.leaflet-bar {
	/*box-shadow: 0 0 8px rgba(0,0,0,0.4);*/
	border: 1px solid #888;
	-webkit-border-radius: 5px;
	        border-radius: 5px;
	}
.leaflet-bar-part {
	background-color: rgba(255, 255, 255, 0.8);
	border-bottom: 1px solid #aaa;
	}
.leaflet-bar-part-top {
	-webkit-border-radius: 4px 4px 0 0;
	        border-radius: 4px 4px 0 0;
	}
.leaflet-bar-part-bottom {
	-webkit-border-radius: 0 0 4px 4px;
	        border-radius: 0 0 4px 4px;
	border-bottom: none;
	}

.leaflet-touch .leaflet-bar {
	-webkit-border-radius: 10px;
	        border-radius: 10px;
	}
.leaflet-touch .leaflet-bar-part {
	border-bottom: 4px solid rgba(0,0,0,0.3);
	}
.leaflet-touch .leaflet-bar-part-top {
	-webkit-border-radius: 7px 7px 0 0;
	        border-radius: 7px 7px 0 0;
	}
.leaflet-touch .leaflet-bar-part-bottom {
	-webkit-border-radius: 0 0 7px 7px;
	        border-radius: 0 0 7px 7px;
	border-bottom: none;
	}


/* zoom control */

.leaflet-container .leaflet-control-zoom {
	margin-left: 13px;
	margin-top: 60px;
	}
.leaflet-control-zoom a {
	width: 15px;
	height: 15px;
	text-align: center;
	text-decoration: none;
	color: #000;
	}
.leaflet-control-zoom a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-control-zoom a:hover {
	background-color: #fff;
	color: #777;
	}
.leaflet-control-zoom-in {
	font: 15px/17px 'univers45_light', Helvetica, sans-serif;
	}
.leaflet-control-zoom-out {
	font: 21px/17px 'univers45_light', Verdana, sans-serif;
	}
.leaflet-control-zoom a.leaflet-control-zoom-disabled {
	cursor: default;
	background-color: rgba(255, 255, 255, 0.8);
	/* [disabled]color: #777; */
	}

.leaflet-touch .leaflet-control-zoom a {
	width: 30px;
	height: 30px;
	}
.leaflet-touch .leaflet-control-zoom-in {
	font-size: 24px;
	line-height: 29px;
	}
.leaflet-touch .leaflet-control-zoom-out {
	font-size: 28px;
	line-height: 24px;
	}

/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 7px rgba(0,0,0,0.4);
	background: #f8f8f9;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	}
.leaflet-control-layers-toggle {
	background-image: url(images/layers.png);
	width: 36px;
	height: 36px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	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;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-selector {
	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;
	}


/* attribution and scale controls */

/*.leaflet-container .leaflet-control-attribution */{
	background-color: rgba(255, 255, 255, 0.7);
/*	box-shadow: 0 0 5px #bbb;
*/	margin-bottom: 45px;
	}
/*.leaflet-control-attribution,*/
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	}
/*.leaflet-container .leaflet-control-attribution,*/
.leaflet-container .leaflet-control-scale {
	font-size: 11px;
	}
.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.1;
	padding: 2px 5px 1px;
	font-size: 11px;
	text-shadow: 1px 1px 1px #fff;
	background-color: rgba(255, 255, 255, 0.5);
	box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.2);
	white-space: nowrap;
	overflow: hidden;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	}
.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,
.leaflet-touch .leaflet-control-zoom {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-control-zoom {
	/* [disabled]border: 4px solid rgba(0,0,0,0.3); */
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	-webkit-border-radius: 20px;
	        border-radius: 20px;
	}
.leaflet-popup-content {
	margin: 14px 20px;
	line-height: 1.4;
	}
.leaflet-popup-content p {
	margin: 18px 0;
	}
.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;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	     -o-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
	background: white;

	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.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;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover {
	color: #999;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	border-bottom: 1px solid #ddd;
	border-top: 1px solid #ddd;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}
.leaflet-editing-icon {
	-webkit-border-radius: 2px;
	        border-radius: 2px;
	}
}
#layer_selector ul .selected {
}
