/* Handle the positioning */
#map-controls {
	z-index: 2;
	position: fixed;
	right: 0;
	height: 0;
	/*bottom: 8px;*/
	top:60px;
}
#map-controls>ol {
	position: absolute;
	/*bottom: 0;*/
	top: 0;
	right: 16px;
	
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}
#map-controls>ol>li {
	position: relative;
	
	display: block;
	margin-bottom: 8px;
	padding: 4px;
	width: 350px;
	
	background: url("../images/shading.png");
	
	-moz-box-shadow: 0px 3px 4px #334C56; /* Firefox/Mozilla */  
	-webkit-box-shadow: 0px 3px 4px #334C56; /*Safari/Chrome */  
	box-shadow: 0px 3px 4px #334C56; /* Opera & hoe het zou moeten */  
	/* Voor IE 8 */  
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=90, Color='#334C56')";  
	/* Voor IE 5.5 - 7 */  
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=90, Color='#334C56');  
}

/* Control markup */
#map-controls .header{
	position: relative;
}
#map-controls .header>h3 {
	margin:0;
	margin-right: 24px; /* For help icon */
	padding-left: 24px; /* For control icon */
	
	color: #FFFFFF;
	font-size: 1.2em;
	font-weight: bold;
}
#map-controls .header>h3:hover {
	cursor: pointer
}
#map-controls .header .help {
	position:absolute;
	top:0;
	right:0;
	
	display: block;
	width: 24px;
	height: 16px;
	
	background: url("../images/icon-small-question-mark.png") no-repeat center center;
}
#map-controls .content {
	margin: 8px 0;
	color: #FFFFFF;
}
#map-controls .panel-help {
	display: none;
	font-size: larger;
}
#map-controls .panel-help p {
	margin: 1em;
}
#map-controls .panel-help h4 {
	color: #FFFFFF;
}
#map-controls .panel-help .sub p {
	font-size: 0.8em;
	margin-top: 0;
}
#map-controls .panel-help .sub h4 {
	font-size: 0.9em;
	margin: 0;
}

/* HE Index Legend control markup */
#map-controls .he-index .header {
	background: url("../images/icon-small-list.png") 2px 0px no-repeat;
}
#map-controls .he-index .histogram {
	/*background: url("https://metrics.sissden.eu/images/histogram.png") no-repeat top center;*/
	height: 34px;
}
#map-controls .he-index .histogram div{
	width:300px;
	height: 34px;
	margin:0px auto;
}
#map-controls .he-index .histogram .line {
	/*background: url("https://metrics.sissden.eu/images/histogram.png") no-repeat top center;*/
	stroke: #FFFFFF;
	stroke-width:2;
}
#map-controls .he-index .histogram .axes {
	display: none;
}
#map-controls .he-index .gradient {
	background: url("../images/gradient.png") no-repeat top center;
	padding-top: 22px;
	position: relative;
	height: 12px;
}
#map-controls .he-index .gradient .left, #map-controls .he-index .gradient .right{
	position: absolute;
	color: #FFFFFF;
	top: 22px;
	left: 16px;
}
#map-controls .he-index .gradient .right{
	position: absolute;
	left: auto;
	right: 16px;
}

/* Cyber Security Filter control markup */
#map-controls .filter .header{
	background: url("../images/icon-small-equalizer.png") 2px 0px no-repeat;
}
#map-controls .filter form {
	margin: 0px 24px;
	border-top: 1px solid #FFFFFF;
}
#map-controls .filter .checkbox {
	float: left;
	padding-left: 16px;
	width: 126px;
	height: 20px;
	
	color:#FFFFFF;
	
	cursor: pointer;
}
#map-controls .checkbox label {
	cursor: pointer;
}
#map-controls .filter .hover {
	background: url("../images/check-semi.png") 0px 4px no-repeat; 
}
#map-controls .filter .checked {
	background: url("../images/check.png") 0px 4px no-repeat; 
}
#map-controls .filter .after {
	clear: both;
	
	margin: 0px 24px;
	padding-top: 4px;
	
	border-top: 1px solid #FFFFFF;	
	text-align: center;
}
#map-controls .filter .check-all, #map-controls .filter .check-none {
	margin-right: 16px;
	padding-left:16px;
	
	color:#FFFFFF;
	font-weight: bold;
	text-decoration: none;
	background: url("../images/check-all.png") 0px 2px no-repeat; 
}
#map-controls .filter .check-none {
	background: url("../images/check-none.png") 0px 2px no-repeat; 
}
#map-controls .filter #filter {
	text-align: left;
}

/* Country List control markup */
#map-controls .country-list .header{
	background: url("../images/icon-small-list.png") 2px 0px no-repeat;
}
#map-controls .country-list table {
	border-top: 1px solid #FFFFFF;
}
#map-controls .country-list table thead td {
	background: rgba(0, 0, 0, 0.1);
	color: white;
}
#map-controls .country-list table tbody tr {
	background: none;
}
#map-controls .country-list table tbody tr:hover {
	background: rgba(255, 255, 255, 0.2);
}
#map-controls .country-list table tbody tr td {
	background: none;
	color: white;
}
#map-controls .country-list table tbody tr:nth-child(odd) td{
	background: rgba(255, 255, 255, 0.1);
}

/* ASN List control markup */
#map-controls .asn-list .header{
	background: url("../images/icon-small-list.png") 2px 0px no-repeat;
}
#map-controls .asn-list table {
	border-top: 1px solid #FFFFFF;
}
#map-controls .asn-list table thead td {
	background: rgba(0, 0, 0, 0.1);
	color: white;
}
#map-controls .asn-list table tbody tr {
	background: none;
}
#map-controls .asn-list table tbody tr:hover {
	background: rgba(255, 255, 255, 0.2);
}
#map-controls .asn-list table tbody tr td {
	background: none;
	color: white;
}
#map-controls .asn-list table tbody tr:nth-child(odd) td{
	background: rgba(255, 255, 255, 0.1);
}



#map-controls a {
	color: white;
	text-decoration: none;
}
#map-controls a:hover {
	text-decoration: underline;
}


/* Snapshots */
#map-controls .snapshot .header{
	background: url("../images/icon-small-clock.png") 2px 0px no-repeat;
	padding-top:2px;
	height:16px;
}