.AvatarPicker-base {
  text-align: center;
}

.AvatarPicker-base input[type=range] {
  display: inline-block;
}

.AvatarPicker-base input[type=range] {
  /*removes default webkit styles*/
  -webkit-appearance: none;
  /*fix for FF unable to apply focus style bug */
  padding: 20px 0;
  border: 1px solid white;

  /*required for proper track sizing in FF*/
  width: 400px;
}
.AvatarPicker-base input[type=range]::-webkit-slider-runnable-track {
  width: 400px;
  height: 5px;
  background: #ddd;
  border: none;
  border-radius: 3px;
}
.AvatarPicker-base input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #454545;
  margin-top: -4px;
}
.AvatarPicker-base input[type=range]:focus {
  outline: none;
}
.AvatarPicker-base input[type=range]:focus::-webkit-slider-runnable-track {
  background: #ccc;
}

.AvatarPicker-base input[type=range]::-moz-range-track {
  width: 400px;
  height: 5px;
  background: #ddd;
  border: none;
  border-radius: 3px;
}
.AvatarPicker-base input[type=range]::-moz-range-thumb {
  border: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #454545;
}

/*hide the outline behind the border*/
.AvatarPicker-base input[type=range]:-moz-focusring{
  outline: 1px solid white;
  outline-offset: -1px;
}

.AvatarPicker-base input[type=range]::-ms-track {
  width: 400px;
  height: 5px;

  /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
  background: transparent;

  /*leave room for the larger thumb to overflow with a transparent border */
  border-color: transparent;
  border-width: 6px 0;

  /*remove default tick marks*/
  color: transparent;
}
.AvatarPicker-base input[type=range]::-ms-fill-lower {
  background: #777;
  border-radius: 10px;
}
.AvatarPicker-base input[type=range]::-ms-fill-upper {
  background: #ddd;
  border-radius: 10px;
}
.AvatarPicker-base input[type=range]::-ms-thumb {
  border: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #454545;
}
.AvatarPicker-base input[type=range]:focus::-ms-fill-lower {
  background: #888;
}
.AvatarPicker-base input[type=range]:focus::-ms-fill-upper {
  background: #ccc;
}
.AvatarPicker-base canvas {
  cursor: move;
}
.AvatarPicker-base .modal-footer {
  background: white;
  margin: 0 auto 0 auto;  
}
