html, body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
}

#container {
  width: 100%;
  height:100%;
  position:absolute;
}


#petit_cont{
  width:100%;
  height:13%;
}

#legende{
  text-align:center;
  width: 100%;
  margin-top: 1%;
  position: absolute;
}

#defile_semaines{
  position:absolute;
  width:100%;
  margin-top: 6%;
}

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

input[type="range"]:focus{
  outline:none;
}

input[type="range"]::-webkit-slider-runnable-track {
  background: "#cfd8d1";
  cursor:pointer;
}

input[type="range"]::-webkit-slider-thumb {
  background: "#3f6148";
  cursor:pointer;
}

input[type="range"]:focus::-webkit-slider-runnable-track {
  background: "#cfd8d1";
}

input[type="range"]::-moz-range-track {
  background: "#cfd8d1";
  cursor:pointer;
}

input[type="range"]::-moz-range-thumb {
  background: "#3f6148";
  cursor:pointer;
}

input[type="range"]::-ms-track {
  background: transparent;
  color:transparent;
}

input[type="range"]::-ms-fill-lower {
  background: "#cfd8d1";
}

input[type="range"]::-ms-fill-upper {
  background: "#cfd8d1";
}

input[type="range"]::-ms-thumb {
  background: "#3f6148";
  cursor:pointer;
}

input[type="range"]:focus::-ms-fill-lower {
  background: "#cfd8d1";
}

input[type="range"]:focus::-ms-fill-upper {
  background: "#cfd8d1";
}

#fader {
  border-radius: 10px;
  box-shadow: -2px -2px 8px white, 2px 2px 8px rgba(black, 0.5);
  opacity:.95;

}

#grand_cont{
  width:100%;
  height:87%;
  margin-top:5%;
}


#histogramme{
  width: 20%;
  position: absolute;
}

#carte{
  width: 80%;
  float:right;
}

.contours{
  fill:none;
  stroke:#fff;
  stroke-width:.09%;
}

.bar {
  stroke: #fff;
  stroke-width:.04%;
  stroke-opacity:.9;
}

.bar:hover, .ba.bar--hover {
  cursor: pointer;
  opacity: .4;
}

.communes {
  stroke: #fff;
  stroke-width:.04%;
  stroke-opacity:.9;
}

.communes:hover, .communes.communes--hover {
  cursor: pointer;
  opacity: .4;
}

.ville {
  background: none repeat scroll 0 0 black;
  fill: #fff;
  font-family: Arial;
  fill-opacity: 1;
  letter-spacing: 0em;
  text-anchor: middle;
  pointer-events: none;
  text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000;
}

#source{
  width: 100%;
  margin-left: 1.5%;
  height:2%;
  clear: both;
}

@media screen and (min-width: 1600px) {

  input[type="range"]{
    width: 80%;
    margin-left:10%;
    margin-right:10%;
  }

  #source{
    font-size: 1.6em;
  }

  #legende{
    margin-top: 1%;
    font-size: 1.35em;
  }

  #legende .titre{
    font-size: 1.65em;
  }

}

@media screen and (min-width: 1400px)  and (max-width: 1599px) {

  #source{
    font-size: 1.55em;
    margin-top: 112%;
  }


  input[type="range"]{
    width: 80%;
    margin-left:10%;
    margin-right:10%;
  }


  #legende{
    margin-top: 1%;
    font-size: 1.25em;
  }

  #legende .titre{
    font-size: 1.35em;
  }

}

@media screen and (min-width: 1200px)  and (max-width: 1399px) {

  #source{
    font-size: 1.5em;
  }

  input[type="range"]{
    width: 80%;
    margin-left:10%;
    margin-right:10%;
  }


  #legende{
    margin-top: 1%;
    font-size: 1.25em;
  }

  #legende .titre{
    font-size: 1.35em;
  }

}

@media screen and (min-width: 1000px)  and (max-width: 1199px) {

  #source{
    font-size: 1.15em;
  }

  #defile_semaines{
    margin-top: 8%;
  }

  input[type="range"]{
    width: 80%;
    margin-left:10%;
    margin-right:10%;
  }

  #legende{
    margin-top: 2%;
    font-size: 1.15em;
  }

  #legende .titre{
    font-size: 1.2em;
  }

  .ville{
    font-size: .83em;
  }

}

@media screen and (min-width: 800px)  and (max-width: 999px) {

  #source{
    font-size: 1.05em;
  }


  #defile_semaines{
    margin-top: 11%;
  }

  input[type="range"]{
    width: 80%;
    margin-left:10%;
    margin-right:10%;
  }


  #legende{
    margin-top: 2%;
    font-size: 1.05em;
  }

  #legende .titre, .ville{
    font-size: .74em;
  }

}

@media screen and (min-width: 600px)  and (max-width: 799px) {

  #source{
    font-size: .9em;
  }

  #defile_semaines{
    margin-top: 13%;
  }

  input[type="range"]{
    width: 80%;
    margin-left:10%;
    margin-right:10%;
  }


  #legende{
    margin-top: 4%;
    font-size: .8em;
  }

  #legende .titre, .ville{
    font-size: .63em;
  }

}

@media screen and (max-width: 599px) {

  #source{
    font-size: .7em;
  }

  #defile_semaines{
    margin-top: 16%;
  }

  input[type="range"]{
    width: 80%;
    margin-left:10%;
    margin-right:10%;
  }


  #legende{
    margin-top: 4%;
    font-size: .7em;
  }

  #legende .titre, .ville{
    font-size: .45em;
  }

}
