#viz p.legend {
}

#viz #main-map {
  margin: 10px;
	height: 510px;
	border: 1px solid #ddd;
}
@media (min-width: 500px) {
	#viz #main-map {
    width: 100%;
		height:640px;
		border-top: 1px solid #ddd;
		border-bottom: 1px solid #ddd;
	}
}
@media (min-width: 750px) {
	#viz #main-map { height: 670px; }
}
@media (min-width: 1000px) {
	#viz #main-map { height: 720px; }
}

#viz .map .leaflet-control-attribution a {
	color: #01AEEF;
}

/* Map features */
.popup-trigger {
	fill: yellow;
	fill-opacity: 0;
}
circle.station {
	fill: #CC333F;
	fill:  #FFF;
	fill-opacity: 0.9;
	stroke: #444;
	stroke-width: 2px;
	stroke-opacity: 0;
	
	visibility: hidden;
}
circle.stats {
	fill:  #FFF;
	fill-opacity: 0.8;
	stroke: #000;
	stroke-width: 1px;
	stroke-opacity: 0.8;
}
circle.stats.selected {
	stroke: #000;
	stroke-width: 1px;
	fill-opacity: 0.5;
}
circle.dot {
	fill:  #000;
}
text.stats {
	fill: #000;
	font-family: 'epocapro', sans-serif;
	font-weight: 500;
	font-size: 0.9rem;
	visibility: hidden;
}
text.name {
	fill: #000;
	font-family: 'dharmaGothicE', sans-serif;
	font-weight: 500;
	font-size: 2.3rem;
}
.ligne {
	fill: none;
	stroke-width: 40px;
	stroke: #AAA;
	stroke-opacity: 0.8;
	stroke-linecap: round;
}
.ligne.orange {
	stroke: #ED7F00;
}
.ligne.verte {
	stroke:  #008F36;
}
.ligne.jaune {
	stroke:  #FFD400;
}
.ligne.bleue {
	stroke:  #007CC1;
}

#categories svg {
	background-color: #fcfcfc;
	border: 1px solid #eee;
}

#categories path.line {
	fill: none;
	stroke: #000;
	stroke-width: 5px;
	stroke-opacity: 1;
}


/* #main-map popup */
#viz .map .leaflet-popup-content-wrapper {
	box-shadow: 0px 3px 5px #444;
}
#viz .map .leaflet-popup-content-wrapper {
	border-radius: 5px!important;
}
#viz .map .leaflet-popup-content {
	max-width: 250px;
}
#viz #main-map .popup .station {
	font-family: 'DharmaGothicE', sans-serif;
	font-size: 2rem;
	font-style: normal;
	text-align: center;
	background-color: #000;
	color: #FFF;
	text-shadow: 0px 0px 3px rgba(0,0,0,0.25);
	padding: 5px;
	margin-top: 10px;
	text-transform: uppercase;
}
#viz #main-map .station.orange {
	background-color: #ED7F00;
}
#viz #main-map .station.verte {
	background-color:  #008F36;
}
#viz #main-map .station.jaune {
	background-color:  #FFD400;
}
#viz #main-map .station.bleue {
	background-color:  #007CC1;
}
#viz #main-map .station.orange.verte.jaune {
	background: repeating-linear-gradient(
	  45deg,
	  #ED7F00,
	  #ED7F00 20px,
		#008F36 20px,
		#008F36 40px,
		#FFD400 40px,
		#FFD400 60px
	 );
}
#viz #main-map .station.bleue.orange {
	background: repeating-linear-gradient(
	  45deg,
	  #ED7F00,
	  #ED7F00 20px,
	  #007CC1 20px,
	  #007CC1 40px
	 );
}
#viz #main-map .station.orange.verte {
	background: repeating-linear-gradient(
	  45deg,
	  #ED7F00,
	  #ED7F00 20px,
		#008F36 20px,
		#008F36 40px
	 );
}

#viz #main-map .popup ul.stats {
	padding-left: 20px;
}
#viz #main-map .popup ul.stats li {
	list-style-type: disc;
	font-family: 'epocapro', sans-serif;
	font-size: 0.8rem;
	line-height: 1.2;
	padding-bottom: 0;
}
#viz #main-map .popup table th {
	padding: 0.5rem;
	border-bottom: 1px solid #333;
	text-align: right;
}
#viz #main-map .popup table td {
	padding: 5px;
	text-align: left;
}
#viz #main-map .popup table tr:nth-of-type(even) {
	background-color: #fafafc;
}
#viz #main-map .popup table td:not(:first-child) {
	text-align: right;
}

#viz #main-map .popup .info {
	max-height: 250px;
	overflow: auto;
}

@media (min-width: 550px) {
	#viz #main-map .popup .info {
		max-height: 320px;
	}
}

#viz #main-map .popup .info .temoin {
	font-family: 'epocapro', sans-serif;
	font-style: italic;
	line-height: 1.25;
	font-size: 0.75rem;
	font-weight: 500;
	color: #000;
	padding: 5px;
	margin: 0;
	margin-bottom: 5px;
}

#viz #main-map .popup .info table {
	font-family: 'epocapro', sans-serif;
	font-style: normal;
	width: 100%;
	border-collapse: separate!important;
	border-spacing: 1px;
}

#viz #main-map .popup .info table th, .popup .info table td {
	font-weight: 500;
	font-size: 0.8rem;
	line-height: 1.2;
}

#viz #main-map .popup .info table th {
	font-family: 'DharmaGothicE', sans-serif;
	font-style: normal;
	font-weight: 600;
	font-size:  1rem;

	text-align: center;
	letter-spacing: 1px;

	background-color: #000;
	color: #FFF;
	
	text-align: center;
	text-transform: uppercase;
	padding: 3px 0;
	width: 50%;
}

#viz #main-map .popup .info table td {
	vertical-align: top;
	text-align: left;
	padding: 3px;
}

#viz #main-map .popup .info table:not(:first-child) {
	margin-bottom: 10px;
}

#viz #main-map .popup .info p.description {
	font-family: 'Droid Serif', serif;
	font-weight: 500!important;
	font-size: 1rem;
	line-height: 1.3;
	color: #000;
	padding: 5px 10px;
	background-color: #EEE;
}
