/* custom css rules */

#mapid { height: 500px; }

body {
	font-family: 'Roboto', sans-serif;
	background-color: #f7f7f7;
	padding-top: 70px;
    padding-bottom: 70px;
}

h1 {
	font-weight: 700;
	margin: 30px;
	text-align: center;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 2px;
}

h2 {
	font-weight: 400;
	font-size: 18px;
    margin-bottom: 20px;
	display: inline;
}

p {
	font-weight: 400;
	font-size: 16px;
}

.small {
	font-size: 12px;
}

select {
	display: inline;
}

.selectbox-div {
	padding: 20px;
	width: 400px;
	margin: auto;
	background-color: #082d6a;
    color: white;
}

.info-div {
	padding: 20px;
	display: inline-block;
	margin: auto;
    border: #082d6a 1px solid;
}

.area {
    fill: #825a5a;
}

.bar {
	fill: #3fa3de;
}

.bar:hover {
	fill: #082d6a;
}

.center {
	text-align: center;
}

.container {
    padding-top: 20px;
}

.grey {
	fill: lightgrey;
}

.detailbar {
	fill: #082d6a;
}

.d3-tip {
	line-height: 1.5;
	font-weight: 300;
	font-family: 'Roboto', sans-serif;
	font-size: 12px;
	padding: 12px;
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
	border-radius: 2px;
}

/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
	box-sizing: border-box;
	display: inline;
	font-size: 10px;
	width: 100%;
	line-height: 1;
	color: rgba(0, 0, 0, 0.8);
	content: "\25BC";
	position: absolute;
	text-align: center;
}

/* Style northward tooltips differently */
.d3-tip.n:after {
	margin: -1px 0 0 0;
	top: 100%;
	left: 0;
}

.info {
	font-size: 12px;
	font-weight: 300;
}

.navbar {
	max-height: 75px;
	width: auto;
	box-shadow: 0 5px 20px #686868;
	background-color: #082d6a;
}

.label {
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	font-size: 10px;
}

.border-bottom {
	border-bottom: #dddddd 1px solid;
	padding-top: 20px;
	padding-bottom: 20px;
}

.text {
	padding-left: 100px;
	padding-right: 100px;
}

.image-text {
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0, 0.4); /* Black w/opacity/see-through */
    border: 3px solid #f1f1f1;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 0px 50px 30px;
    transform: translate(-50%, -50%);
    color: white;
}

.title {
	font-weight: 400;
	font-size: 14px;
}
#teampic {
    border-radius: 50%;
	align-content: center;
	align: center;
}

.border-left {
    border-left: #dddddd 1px solid;
}

.row {
    padding-top: 20px;
    padding-bottom: 10px;
}

.image-dailyvis {
    height: 550px;
    background: #cccccc url("citibike-girl.jpg") no-repeat 50% 60%;
    background-size: cover;
    position: relative;
}
.leaflet-control-container .leaflet-routing-container-hide {
    display: none;
}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}

.image-about {
    height: 550px;
    background: #cccccc url("citibike-scene.jpg") no-repeat 50% 60%;
    background-size: cover;
    position: relative;
}

.axisRed line{
  stroke: #F45B69;
}

.axisRed path{
  stroke: #F45B69;
}

.axisRed text{
  fill: #F45B69;
}


#load{
    width:100%;
    height:100%;
    position:fixed;
    z-index:9999;
	background: rgb(255, 255, 255) url("https://www.creditmutuel.fr/cmne/fr/banques/webservices/nswr/images/loading.gif") no-repeat center center;
}

.load-text {
    background-color: rgb(255, 255, 255); /* Fallback color */
    text-align: center;
    position: absolute;
    top: 25%;
    left: 50%;
    padding: 0px 0px 0px;
    transform: translate(-50%, -50%);
}

/* css to customize Leaflet default styles  */
/* css to customize Leaflet default styles  */
/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	-webkit-border-radius: 20px;
	        border-radius: 20px;
	}
.leaflet-popup-content {
	margin: 14px 20px;
	line-height: 1.4;
	}
.leaflet-popup-content p {
	margin: 18px 0;
	}
.leaflet-popup-tip-container {
	margin: 0 auto;
	width: 40px;
	height: 20px;
	position: relative;
	overflow: hidden;
	}
.leaflet-popup-tip {
	width: 15px;
	height: 15px;
	padding: 1px;
	opacity: 0;
	position: absolute;

	margin: 0px auto 0;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	     -o-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
	background: blue;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	padding: 4px 5px 0 0;
	text-align: center;
	width: 18px;
	height: 14px;
	font: 16px/14px Tahoma, Verdana, sans-serif;
	color: #c3c3c3;
	text-decoration: none;
	font-weight: bold;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover {
	color: #999;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	border-bottom: 1px solid #ddd;
	border-top: 1px solid #ddd;
	}
.axis_label{
	font-size: 11px
}

/*Timeline*/
*, *::before, *::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.section {
	background: #F45B69;
	padding: 50px 0;
}

.section .container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;

}

.section h1 { font-size: 2.5rem; }

.section h2 { font-size: 1.3rem; }

/* TIMELINE
–––––––––––––––––––––––––––––––––––––––––––––––––– */


.timeline {
	white-space: nowrap;
	overflow-x: auto;
}

.timeline ol {
	font-size: 0;
	width: 100vw;
	padding: 250px 0;
	transition: all 1s;
}

.timeline ol li {
	position: relative;
	display: inline-block;
	list-style-type: none;
	width: 160px;
	height: 3px;
	background: #082d6a;
}

.timeline ol li:last-child { width: 280px; }

.timeline ol li:not(:first-child) { margin-left: 14px; }

.timeline ol li:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 50%;
	left: calc(100% + 1px);
	bottom: 0;
	width: 12px;
	height: 12px;
	transform: translateY(-50%);
	border-radius: 50%;
	background: #F45B69;
}

.timeline ol li div {
	position: absolute;
	left: calc(100% + 7px);
	width: 280px;
	padding: 15px;
	font-size: 1rem;
	white-space: normal;
	color: black;
	background: lightgrey;
}

.timeline ol li div::before {
	content: '';
	position: absolute;
	top: 100%;
	left: 0;
	width: 0;
	height: 0;
	border-style: solid;
}

.timeline ol li:nth-child(odd) div {
	top: -16px;
	transform: translateY(-100%);
}

.timeline ol li:nth-child(odd) div::before {
	top: 100%;
	border-width: 8px 8px 0 0;
	border-color: lightgrey transparent transparent transparent;
}

.timeline ol li:nth-child(even) div { top: calc(100% + 16px); }

.timeline ol li:nth-child(even) div::before {
	top: -8px;
	border-width: 8px 0 0 8px;
	border-color: transparent transparent transparent lightgrey;
}

.timeline time {
	display: block;
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 8px;
}

/* GENERAL MEDIA QUERIES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (max-width: 599px) {

	.timeline ol,  .timeline ol li { width: auto; }

	.timeline ol {
		padding: 0;
		transform: none !important;
	}

	.timeline ol li {
		display: block;
		height: auto;
		background: transparent;
	}

	.timeline ol li:first-child { margin-top: 25px; }

	.timeline ol li:not(:first-child) { margin-left: auto; }

	.timeline ol li div {
		width: 94%;
		height: auto !important;
		margin: 0 auto 25px;
	}

	.timeline ol li div { position: static; }

	.timeline ol li:nth-child(odd) div { transform: none; }

	.timeline ol li:nth-child(odd) div::before,  .timeline ol li:nth-child(even) div::before {
		left: 50%;
		top: 100%;
		transform: translateX(-50%);
		border: none;
		border-left: 1px solid white;
		height: 25px;
	}

	.timeline ol li:last-child,  .timeline ol li:nth-last-child(2) div::before,  .timeline ol li:not(:last-child)::after,  .timeline .arrows { display: none; }
}

.border-top {
	border-top: lightgrey 1px solid;
}