@import url(normalize.css);
@import url(https://fonts.googleapis.com/css?family=Work+Sans:400,900,700,200);

body{
	font-family: "Work Sans", serif;
}

ul{
	list-style: none;
	padding-left: 0;
}

li{
	margin-bottom: 8px;
}

.link{
	color: #1e1e1e;
	text-decoration: none;
	border-bottom: 2px solid #1E1E1E;
}

.link:hover{
	border-bottom: none;
}

.main_title{
	z-index: 10;
	font-size: 3em;
	position: absolute;
	top: -33px;
	left: 50px;
	width: 400px;
	font-weight: 900;
}

#loading{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	background-color: red;
	width: 100vw;
	height: 100vh;
	color: white;
	font-size: 5em;
	text-align: center;
	line-height: 100vh;
}

#map{
	height: 100vh;
	width: 100vw;
}

#infos{
	z-index: 10;
	position: absolute;
	top: 20px;
	right: 20px;
	text-indent: -9999px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: white;
	background-image: url("../images/infos.svg");
	background-position: 50%;
	border: none;
}

#infos:focus{
	outline: none;
}

.infos_box{
	z-index: 10;
	width: 50%;
	max-width: 800px;
	background-color: white;
	padding: 15px 25px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-60%);
	transition: all 500ms ease-out;
}

.case_link{
	border: 2px solid #1E1E1E;
	display: block;
	width: 30%;
	margin: 30px auto 20px auto;
	padding: 15px;
	text-align: center;
	color: #1E1E1E;
	text-decoration: none;
}

.case_link:hover{
	background-color: #1E1E1E;
	color: white;
}

.hidden{
	opacity: 0;
	transform: translateX(-50%) translateY(-170%);
	transition: all 500ms ease-out;
}

#slider1{
	display: block;
	width: 100%;
	position: absolute;
	bottom: 10px;
	z-index: 10;
}

#all{
	z-index: 10;
	display: block;
	background-color: #1E1E1E;
	color: white;
	padding: 15px 25px;
	border: none;
	border-top: 3px solid white;
	position: absolute;
	left: 0;
	bottom: 60px;
	font-family: "Work Sans", serif;
	font-weight: 700;
	font-size: 1.3em;
}

#all:hover{
	background-color: white;
	color: #1E1E1E;
	border-top: 3px solid #1E1E1E;
}

#date_container{
	font-family: "Work Sans", serif;
	font-weight: 700;
	font-size: 1.7em;
	width: 100px;
	position: absolute;
	bottom: 60px;
	right: 0;
	padding: 15px 25px;
	text-align: right;
	z-index: 10;
	background-color: white;
	border-top: 3px solid #1E1E1E;
}

#legend{
	z-index: 10;
	position: absolute;
	width: 100px;
	height: 40px;
	bottom: 150px;
	right: 10px;
	background: linear-gradient(to right, rgba(0,0,0,1) 0%,rgba(234,129,164,1) 50%,rgba(255,255,255,1) 100%);
}

.legend_mass{
	display: block;
	position: relative;
	bottom: -25px;
	float: left;
}

.legend_mass:nth-child(2){
	float: right;
}

#container{
	width: 100%;
}

.meteor{
	border-radius: 50%;
	color: #1e1e1e;
	text-align: center;
	width: 100px;
	height: 100px;
	margin-bottom: 60px;
	margin-right: 60px;
	display: block;
	float: left;
}

.leaflet-popup-content-wrapper{
	border-radius: 0;
	font-family: "Work Sans", serif;
	font-weight: 400;
	font-size: 1.2em;
	line-height: 140%;
	border-bottom: 3px solid #1E1E1E;
	box-shadow: 0 2px 10px rgba(30, 30, 30, .5);
}

.leaflet-popup-content{
	width: 100%;
}

.leaflet-popup-tip-container{
	display: none;
}

/* Slider */

	input{
	  display: block;
	  margin: auto;
	}

	input[type=range] {
	  margin-top: 30px;
	  -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
	  width: 260px; /* Specific width is required for Firefox. */
	  background-color: transparent;
	  overflow: hidden;/*la balise*/
	  /**/
	  cursor: pointer;
	  height: 50px;
	}

	.kedis {
	  position: relative;
	  z-index: 20;
	}

	input[type=range]::-webkit-slider-thumb {
	  -webkit-appearance: none;
	}

	input[type=range]:focus {
	  outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
	}

	/* la boule  */
	input[type=range]::-webkit-slider-thumb {
	  -webkit-appearance: none;
	  height: 25px;
	  width: 25px;
	  border-radius: 50%;
	  background: #2E2E2E;
	  cursor: pointer;
	  margin-top: -10px; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
	  color: red;	  
	  position: relative;
	}


	/*le remplissage*/
	input[type=range]::-webkit-slider-thumb:after {
	  content: '';
	  position: absolute;
	  right: 30px;
	  top: 15px;
	  width: 270px; /*largeur du range */
	  height: 10px;
	  box-shadow: inset 0 20px #ff5050;
	  z-index: -1;
	           
	}

	/*barre de fond*/
	input[type=range]::-webkit-slider-runnable-track {
	  height: 7px;
	  cursor: pointer;
	  background: #fff;
	  z-index: -1;  
	}

/* Case Study */

	.case_container{
		width: 60%;
		max-width: 800px;
		margin: 0 auto;
		line-height: 160%;
	}

	.case_container .title{
		font-size: 57px;
		line-height: 160%;
	}

	.case_container .subtitle{
		font-size: 32px;
		line-height: 160%;
		margin-top: 60px;
	}

	.case_container .text{
		font-size: 18px;
		line-height: 160%;
	}

	.case_container .text:last-child{
		margin-bottom: 80px;
	}

	.back{
		position: fixed;
		top: 20px;
		left: 20px;
	}