body { margin:0; }

#mapid { height: 100%; }

.leaflet-container {
	background-color: #222;
}

g #points circle:hover,
g #infection path:hover,
g #points circle:hover {
	cursor: pointer;
}

/***********
 * PATHS
 ***********/
g #move path {
	fill: transparent;
	stroke-width: 2px;
	stroke: steelblue;
	pointer-events: visible;
}
g #infection path {
	fill: transparent;
	stroke-width: 2px;
	stroke: red;
	pointer-events: visible;
}

/***********
 * CONTROL
 ***********/

.maptt-control {
	background: rgba(255,255,255,0.8);
	border: 2px solid rgba(0,0,0,0.2);
	border-radius: 5px;
}

.maptt-control-close-button {
	cursor: pointer;
	background-color: transparent;
	border: 0;
	/*float: right;*/
	position: absolute;
	top: 0;
	right: 0;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
	color: #000;
	text-shadow: 0 1px 0 #fff;
	opacity: .5;
	text-transform: none;
	transition: opacity .3s;
}

.maptt-control-close-button:hover {
	opacity: .7;
}

.maptt-control-toggle {
	cursor: pointer;
	text-align: center;
	padding: 0.1em .2em .25em;
	font-family: 'Glyphicons Halflings';
	font-size: 3em;
	line-height: 100%;
	color: #aaa;
	vertical-align: middle;
	transition: color .5s;
}

.maptt-control-toggle:before {
	content: '\e019';
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.maptt-control-toggle:hover {
	color: #666;
}

.maptt-control-expanded .maptt-control-toggle {
	display: none;
}

.maptt-control-content {
	display: none;
	padding: 6px 8px;
	font: 12px/16px Arial, Helvetica, sans-serif !important;
	color: #333;
}

.maptt-control-expanded .maptt-control-content {
	display: block;
}

.maptt-control-content .options-section {
	margin: 0 -8px;
	padding: 5px 8px;
}

.maptt-control-content .options-section + .options-section {
	border-top: 1px solid #aaa;
}

.maptt-control-content > h4 {
	font-weight: normal;
	font-size: large;
	margin: 2px 0 2px 0;
}

.maptt-control-content .options-section h4 {
	margin: 2px 4px 4px 0;
}

.maptt-control-content .checkbox input {
	margin-top: 4px !important;
	position: relative !important;
	top: 3px !important;
	position: relative !important;
	margin-left: 0 !important;
	margin-right: 3px !important;
}

.maptt-control label {
	display: block;
}

/********************/
/* GRADIENT CONTROL */
/********************/

.maptt-control .main-container {
	margin: 0 auto;

	width: 400px;
	padding: 1em;

	background-color: #222;
	border: 1px solid #555;
	border-radius: 4px;
}

/*.maptt-control label {
	color: #ddd;
}*/

.maptt-control .doubleRange {
	height: 25px;
	width: 200px;
	background-color: #888;
	border: 1px solid #000;
	padding: 0;
	box-sizing: border-box;
	margin: 10px auto;
}

/*.maptt-control .colorsRangeContainer {
	background: linear-gradient(0.25turn, #0f0, #f00);
}
*/
.maptt-control .doubleRange, .doubleRange input {
	box-sizing: border-box;
	padding: 0;
}

.maptt-control .doubleRange input {
	width: 100%;
	height: 100%;
	margin: 0;
	pointer-events: none;
	background-color: transparent;
	display: block;
	z-index: 1000;
}

.maptt-control .doubleRange input + input {
	margin-top: -23px !important;
}

.maptt-control .doubleRange .slider {
	-webkit-appearance: none;
	width: 100%;
	height: 100%;
	background: transparent;
	border-width: 0px;
	padding: 0;
	margin: 0;
	pointer-events: none;
}

.maptt-control .doubleRange .slider::-webkit-slider-thumb {
	/*-webkit-appearance: none;*/
	appearance: none;
	width: 15px;
	height: calc(100% - 2px);
	background: #fff5;
	border: 1px solid #fff9;
	border-radius: 0;
	padding: 0;
	margin: 0;
	z-index: 1000;
	cursor: pointer;
	pointer-events: all;
}

.maptt-control .doubleRange .slider::-moz-range-thumb {
	width: 15px;
	height: calc(100% - 2px);
	background: #fff5;
	border: 1px solid #fff9;
	border-radius: 0;
	padding: 0;
	margin: 0;
	z-index: 1000;
	cursor: pointer;
	pointer-events: all;
}

.maptt-control .nbColors {
	margin-top: 10px;
	width: 4.5em;
	text-align: right;
}

.maptt-control .value {
	width: 60px;
	text-align: center;
}

.maptt-control .doubleRangeContainerr {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;

	width: 350px;

	margin: 0 auto;
}


.info {
    padding: 6px 8px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
}
.info h4 {
    margin: 0 0 5px;
    color: #777;
}

.legend {
    line-height: 18px;
    color: #555;
}
.legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 8px;
    opacity: 0.7;
}
