/* Legends */

.my-legend, .my-legend-vertical {
	margin: auto;
	text-align: center;
}

.my-legend .legend-title {
	text-align: center;
	margin-bottom: 8px;
}

.my-legend .legend-scale-3 {
	width: 150px;
}

.my-legend .legend-scale-4 {
	width: 200px;
}

.my-legend .legend-scale-5 {
	width: 250px;
}

.my-legend .legend-scale-6 {
	width: 300px;
}

.my-legend .legend-scale {
	display:inline-block;
	margin: auto;
	text-align: center;
	padding: 0;
	list-style: none;
}

.my-legend .legend-scale ul {
	margin: auto;
	text-align: center;
	padding: 0;
	list-style: none;
}

.my-legend .legend-scale ul li {
	margin-bottom: 6px;
	font-size: 80%;
	list-style: none;
	text-align: left;
}

.my-legend .legend-scale ul li.rectangle {
	display: block;
	float: left;
	width: 50px;
	text-align: center;
}

.my-legend .legend-scale ul li.circle {
	display: inline-block;
	width: auto;
	text-align: left;
}

/* Rectangle */

.my-legend ul.legend-labels li.rectangle span { 
	display: block;
	float: left;
	height: 15px;
	width: 50px;
	text-align: center;
}

/* Circle */

.my-legend ul.legend-labels li.circle span { 
	display: block;
	float: left;
	height: 0.9em;
	width: 0.9em;
	border-radius: 50%;
	text-align: left;
}

/* Source */

.my-legend div.legend-source {
	font-size: 70%;
	color: #333;
	clear: both;
}

.my-legend div.legend-source.light {
	color: #333;
}

.my-legend div.legend-source.dark {
	color: #EAEEF3;
}

.my-legend div.legend-source a {
  text-decoration: none;
}

.my-legend div.legend-source.light a {
  color: #EAEEF3;
}

.my-legend div.legend-source.dark a {
  color: #333;
}

/* unvisited link */
.my-legend div.legend-source a:link {
   color: inherit;
}

/* visited link */
.my-legend div.legend-source a:visited {
   color: inherit;
}

/* mouse over link */
.my-legend div.legend-source a:hover {
   color: #888;
}

/* selected link */
.my-legend div.legend-source a:active {
   color: inherit;
}

/* Vertical */

.my-legend-vertical .legend-scale ul {
	margin: 0;
	margin-bottom: 5px;
	padding: 0;
	float: left;
	list-style: none;
}

.my-legend-vertical .legend-scale ul li {
	text-align: left;
	font-size: 80%;
	list-style: none;
	margin-left: 0;
	line-height: 18px;
	margin-bottom: 2px;
}

.my-legend-vertical .legend-title {
	text-align: left;
	margin-bottom: 5px;
	font-weight: bold;
	font-size: 90%;
}

.my-legend-vertical ul.legend-labels li span {
    display: block;
    float: left;
    height: 16px;
    width: 30px;
    margin-right: 5px;
    margin-left: 0;
    border: none;
}

.my-legend-vertical ul.legend-labels li span.description {
    width: 200px;
}

.my-legend-vertical .legend-source {
	font-size: 70%;
	color: #999;
	clear: both;
}

.my-legend-vertical a {
	color: #777;
}
