div.btn-group.btn-group-stretched a,
div.btn-group.btn-group-stretched button {
  width: 100%;
}

div.btn-group a,
div.btn-group button {
  margin: 0;
}

div.btn-group button {
  border-radius: 0;
}

div.btn-group > button:first-child,
div.btn-group > a:first-child > button:first-child {
  border-top-right-radius: .5rem;
  border-bottom-right-radius: .5rem;
}

div.btn-group > button:last-child,
div.btn-group > a:last-child > button:last-child {
  border-top-left-radius: .5rem;
  border-bottom-left-radius: .5rem;
}
