html, body {
    width: 100%;
    height: 100%;
}

.navbar{
    background: linear-gradient(to bottom, #444444 1%,#343a40 100%);
}

#mapCrash {
    height: calc(100% - 56px);
    width: auto;
    left: 0;
    position: relative;
    top: 0;
}

.navbar-inverse {
    background-color: rgba(0,0,0,.7);
}

.player {
    position: fixed;
    bottom: 5px;
    z-index: 99999999;
    margin-left: auto;
    margin-right: auto;
    left: 30%;
    transform: translateX(-50%);
    padding : 10px;
}

.right-info {
    float:right;
    width:600px;
    padding: 10px;
    height:calc(100% - 56px);
    border-top: 1px solid black;
    background: linear-gradient(to bottom, #232323 2px,#343a40 11px,#41464c 33%);
    overflow: scroll;
}

.table-count td{
    vertical-align: top;
    padding: 5px;
}

.form-control {
    max-width: 170px;
    margin-left: 4px;
    display: inline;
}

#currentDateElement {
    font-family: monospace;
    font-weight: bold;
    background: #ffffffee;
}

.circle {
    position: absolute;
    border-radius: 50%;
    width: 1px;
    height: 1px;
    background: red;
    opacity: 0.5;
    transform: translate(-50%, -50%);
    border: 1px solid rgb(133, 0, 0);
    z-index: 99999999;
}

#histogram {
    z-index: -1;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 3px;   
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
  
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%; 
    background: rgb(4, 37, 99);
    cursor: pointer;

    z-index:99;
}

.slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgb(4, 37, 99);
    cursor: pointer;

    z-index:99;
}

output {
    position: absolute;
    /*background-image: linear-gradient(#444444, #999999);*/
    width: 200px;
    margin-left:-84px !important;
    height: 30px;
    text-align: center;
    color: black;
    border-radius: 10px;
    display: inline-block;
    top:68px;
}

#barSlider {
    height: 70px;
    /* top: -10px; */
    margin-top: -10px;
    margin-left: 50px;
    position: absolute;
    width: 3px;
    background: #516792;
    display: inline-block;
}

.clusterRed {
    border-radius: 30px;
    width: 60px;
    height: 60px;
    background-color: #E8914A;
    text-align: center;
    vertical-align: middle;
    font-size: 24px;
    padding-top: 13px;
    box-sizing: border-box;
    opacity: 0.7;
  }
.clusterYellow {
    border-radius: 30px;
    width: 60px;
    height: 60px;
    background-color: #E4C63B;
    text-align: center;
    vertical-align: middle;
    font-size: 24px;
    padding-top: 7px;
    box-sizing: border-box;
    opacity: 0.7;
}
.clusterGreen {
    border-radius: 30px;
    width: 60px;
    height: 60px;
    background-color: #8BD168;
    text-align: center;
    vertical-align: middle;
    font-size: 24px;
    padding-top: 2px;
    box-sizing: border-box;
    opacity: 0.7;
}

.right-info a{
    color : white;
}

.leaflet-popup-content {
    max-height: 400px;
    overflow-y: scroll;
}

/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 999999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }
  
  /* Transparent Overlay */
  .loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
  }
  
  /* :not(:required) hides these rules from IE9 and below */
  .loading:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
  }
  
  .loading:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 1500ms infinite linear;
    -moz-animation: spinner 1500ms infinite linear;
    -ms-animation: spinner 1500ms infinite linear;
    -o-animation: spinner 1500ms infinite linear;
    animation: spinner 1500ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
    box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
  }
  
  /* Animation */
  
  @-webkit-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @-moz-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @-o-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }

  #nbAccidents{
    position: absolute;
    background-color: #3a3e41;
    padding: 4px;
    margin: auto;
    color: white;
    z-index: 900;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 120px;
    text-align: center;
    margin-top: -4px;
  }