#viz {
	background: #FFF;
	padding: 10px 20px;
}

#viz h2 {
	font-size: 3rem!important;
	line-height: 1em!important;
	margin-bottom: 10px;
}

#viz h3 {
	font-size: 2rem!important;
	line-height: 1em!important;
	margin-bottom: 10px;
}

/* INTRO */
#viz #intro {
    margin-top: 0px;
}

#viz #intro p {
	font-size: 1.1em;
	line-height: 1.5em;
	margin-bottom: 10px;
}

/* MAPS */
#viz .map .leaflet-bar, #viz .leaflet-control-layers {
	border: 1px solid #111;
	border-radius: 0;
}

#viz .map .leaflet-control-attribution {
	font-family: 'epocapro', sans-serif;
	font-weight: 500!important;
	font-style: italic!important;
	color: #000;
}

#viz .map .leaflet-control-attribution a {
	color: #00549E;
	font-weight: 500;
	font-style: normal;
}

#viz .map img {
	padding: 0!important;
}


/* MAIN MAP */
#viz #main-map {
	height: 320px;
	background-color: hsl(198,54%,90%);
	background-color: hsl(197,5%,25%);
	obox-shadow: -3px 1px 3px #222;

	box-sizing: content-box;
	oborder-bottom: 10px solid #000;
	margin-bottom: 0;
}


/* MAP FEATURES */
#viz circle.disc {
	fill: #FFF;
	fill-opacity: 0.5;
	stroke: #000;
	stroke-width: 5px;
	stroke-opacity: 1;
}
#viz circle.disc.categorie-4 {
	fill: #CC333F;
}
#viz circle.disc.categorie-5 {
	fill: #7FDBFF;
}
#viz circle.popup-trigger {
	fill: yellow;
	fill-opacity: 0;
}


/* MAP LEGEND */
#viz .legend .cursor {
	background: #CC0000;
	color: #FFF;
}

#viz .label.omnipraticien {
	background-color: hsl(42,100%,60%);
	background-color: hsl(197,100%,75%);
}

#viz .label.specialiste {
	background-color: #FF8C61;
}

#viz .label.specialiste {
	background-color: #DC2D2D;
	background-color: hsl(210,100%,12%);
	background-color: #D13141;
}

#viz .label.curseur {
	background-color: #D10010;
}


/* MAP POPUP */
#viz .leaflet-popup-content-wrapper {
	width: 270px;

	/* Rounded Corners */
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px;

	box-shadow: 0 0 7px 1px hsla(0,0%,0%,0.5);
}

#viz .leaflet-popup-content {
	padding: 0;
	color: #444;
	text-align: center;
}

#viz .leaflet-popup-content {
	margin-top: 5px;
	padding:10px;
}

#viz .popup {
	width: 250px;
	max-height: 520px;
	overflow: auto;
}

#viz .popup p {
	font-family: 'epocapro', sans-serif;
	font-weight: 600!important;
	font-size: 1em;
	line-height: 1.4em;
	margin: 0;
}
/*.popup .date::before {
	content: 'Date de désaffiliation';
	font-size: 0.6em;
	line-height: 1.4em;
	font-weight: 500;
	display: block;
}*/

#viz .popup.omnipraticien .date::before {
}

#viz .popup.specialiste .date::before {
}
#viz .popup .date {
	padding: 10px;
	margin-bottom: 10px;
	background-color: #eee;
	color: #000;
	font-size: 1.5em;
	font-weight: 500;
	border-radius: 1px;
	background-color: #eee;
	color: #000;
	margin: 0;
}

#viz .popup .nom-adresse {
	padding: 15px;
	text-align: left;
	text-align: center;
	background-color: #D13141;
	color: white;
	margin: 0;
	line-height: 1.3em;
}
#viz .popup .nom {
	font-size: 1.3em;
	font-weight: 600;
}
#viz .popup .adresse {
	font-size: 1.1em;
	font-weight: 600;
	font-style: italic;
}
#viz .popup .municipalite {
	font-size: 1.3em;
	font-weight: 600;
}

#viz .popup .description {
	padding: 10px;
	margin-bottom: 10px;
	background-color: #eee;
	color: #000;
	font-size: 1.3em;
	font-weight: 500;
	border-radius: 1px;
}
#viz .popup.omnipraticien .nom-adresse {
	background-color: hsla(197,100%,65%,0.8);
}
#viz .popup.specialiste .nom-adresse {
	background-color: #D13141;
}
/*
.popup.omnipraticien .description {
	background-color: hsla(197,100%,65%,0.8);
	color:  hsla(0,100%,0%,0.7);
}

.popup.specialiste .description {
	background-color: hsla(210,100%,12%,0.8);
	background-color: #D13141;
	color:  hsla(0,100%,100%,0.9);
}
*/

/* CHARTS */
#viz #charts {
	position: relative;
}

/* CURSOR */
#viz #charts .bar {
	width: 100%;
	height: 50px;
	0background-color: #fff;
	border-bottom: 1px solid #333;
}

#viz #charts .cursor {
	position: absolute;
	left: 0;
	top: 0;
	width: 60px;
	height: 149px;
	z-index: 10;
	background-color: hsla(90,0%,50%,0.2);
}

#viz #charts .cursor .value {
	font-family: 'epocapro', sans-serif;
	position: absolute;
	display: inline-block;
	color: #000;
	height: 40px;
	width: 60px;
	text-align: center;
}

#viz #charts .cursor .value.month {
	font-size: 1.0em;
	font-weight: 500;
	top:  0px;
}

#viz #charts .cursor .value.omnis {
	font-size: 1.5em;
	font-weight: 400;
	top: 60px;
}

#viz #charts .cursor .value.specs {
	font-size: 1.5em;
	font-weight: 400;
	top: 110px;
}

#viz #charts .cursor .vline {
	position: absolute;
	width:  1px;
	left: 29px;
	background-color: hsla(0,0%,0%,1);
}
#viz #charts .cursor .vline.top {
	height: 5px;
	top:  50px;
}
#viz #charts .cursor .vline.bottom {
	height: 5px;
	top:  144px;
}

/* CHART */
#viz .chart {
	margin: 0;
	position: relative;
	height: 50px;
	border-bottom: 1px solid #444;
}

#viz .chart p {
	font-family: 'epocapro', sans-serif;
	font-weight: 500!important;
	font-size: 11px!important;
	position: absolute;
	top: 5px;
	left: 0px;
}

/* AXIS */
#viz #axis-chart {
	margin-bottom: 0px;
	background-color: #FFF;
	border-bottom: 1px solid #ddd;
	height: 25px;
}

#viz #axis-chart text {
	font-size: 10px;
	font-style: normal;
	fill: #111;
}

#viz .chart path, #viz .chart line {
	shape-rendering: crispEdges;
}

#viz #axis-chart path, #viz #axis-chart line {
	fill: none;
	stroke: #000;
	shape-rendering: crispEdges;
}

#viz #charts .cursg circle {
	fill: none;
	stroke-width: 2px;
	stroke: #000;
}

/* TIMELINE */
#viz #timeline {
	margin-top: 0px;
	margin-bottom: 40px;
}

#viz #timeline .dragdealer {
	height: 50px;
	background-color: #eee;
}

#viz #timeline .dragdealer .handle {
	width: 60px;
	text-align: center;
	height: 50px;
	line-height: 40px;
	border: 5px solid #000;
}

#viz #timeline .dragdealer .handle span {
	color: hsla(0,0%,100%,1);
}

#viz #timeline p.legend {
}

/* TABLE */
#viz table {
	font-family: 'epocapro', sans-serif;
	font-size: 0.9em;
	font-weight: 300;
	margin-bottom: 30px;
	width: 100%;
}

#viz table th {
	background: #444;
	color: #FFF;
	font-weight: 500;
}

#viz table tr:nth-of-type(even) {
	background: #eee;
}

#viz table td:nth-child(2) {
	text-align: right;
	padding-right: 15%;
}

/* Notes */
#viz .msg {
	background: #EEE;
	padding: 10px;
	border-left: 5px solid #DDD;
	margin-bottom: 30px;
}


@media screen and (min-width:768px) {
	#viz #intro {
	}
	#viz #main-map {
		height: 480px;
	}
	#viz div#chart {
		height:  120px;
	}
}
