.s6-impact {
  padding: 6rem;
    text-align: center;
}

.s6-impact h2.heading--topic {
  margin-bottom: 3rem;
}

.s6-impact h3 {

  font-size: 30px;
  margin-bottom: 50px;
}


.s6-impact__employees-num {
  display: block;
  margin-bottom: 2rem;
}

.s6-impact__stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

.s6-impact__stat {
  flex-basis: 30%;
  flex-flow: column;
  padding: 0 15px;
}

.s6-impact__stat-val {
  display: block;
  font-size: 2rem;
  color: #BA0C2F;
  margin-bottom: 1rem;
  line-height: 1;
}

.heading--topic.s6-impact__stat-name {
  display: block;
  color: #BA0C2F;
  margin-bottom: 1rem;
}

.s6-impact__note{
  font-size: 1rem;
  color: #7B8085;
}

.s6-impact__stat-detail {
  font-size: 18px;
}

input {
  outline: none;
}


input[type=range] {
/*   height: 40px; */
  margin-bottom: 80px;
  -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
  width: 100%; /* Specific width is required for Firefox. */
  background: transparent; /* Otherwise white in Chrome */
}

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. */
}

input[type=range]::-ms-track {
  width: 100%;
  cursor: pointer;

  /* Hides the slider so custom styles can be added */
  background: transparent; 
  border-color: transparent;
  color: transparent;
}


/* Special styling for WebKit/Blink */
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: 3px solid #fff;
  height: 40px;
  width: 70px;
  border-radius: 20px;
  background: #333333;
  cursor: pointer;
  margin-top: -15px; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  background-image: url(https://cdn2.hubspot.net/hubfs/2041286/Blog%20Assets/thumb%20slider%20arrows.svg);
  background-size: 40px 25px;
  background-repeat: no-repeat;
  background-position: center;
}



/* All the same stuff for Firefox */
input[type=range]::-moz-range-thumb {
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  border: 3px solid #fff;
  height: 40px;
  width: 70px;
  border-radius: 20px;
  background: #333333;
  cursor: pointer;
  background-image: url(https://cdn2.hubspot.net/hubfs/2041286/Blog%20Assets/thumb%20slider%20arrows.svg);
  background-size: 40px 25px;
  background-repeat: no-repeat;
  background-position: center;
}

/* All the same stuff for IE */
input[type=range]::-ms-thumb {
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  border: 3px solid #fff;
  height: 40px;
  width: 70px;
  border-radius: 20px;
  background: #333333;
  cursor: pointer;
  background-image: url(https://cdn2.hubspot.net/hubfs/2041286/Blog%20Assets/thumb%20slider%20arrows.svg);
  background-size: 40px 25px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: -7px;
}


input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  background: #e3e3e3;
  border-radius: 5px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
/*   background: #BA0C2F; */
}

input[type=range]::-moz-range-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  background: #e3e3e3;
  border-radius: 5px;
}

input[type=range]::-ms-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  border-width: 25px 0;
  color: transparent;
}


input[type=range]::-ms-fill-lower {
  background: #BA0C2F;
  border-radius: 5px;
}
input[type=range]:focus::-ms-fill-lower {
  background: #BA0C2F;
}
input[type=range]::-ms-fill-upper {
  background: #BA0C2F;
  border-radius: 5px;
}
input[type=range]:focus::-ms-fill-upper {
  background: #BA0C2F;
}


@media (max-width: 550px) {
  .s6-impact {
    padding: 3rem 0;
  }
  .s6-impact .heading--main {
        font-size: 1.6rem;
  }
  .s6-impact__slider {
    margin-top: 1rem;
  }
  .s6-impact__stats {
    flex-wrap: wrap;
  }
  
  .s6-impact__stat {
    flex-basis: 100%;
    padding: 1rem;
  }
  
  .s6-impact__stat-detail {
    font-size: 12px;
    line-height: 15px;
  }
}


  
