/**
 * Bootstrap TouchSpin - v4.3.0
 * A mobile and touch friendly input spinner component for Bootstrap 3 & 4.
 */

.bootstrap-touchspin .input-group-btn-vertical {
  position: absolute;
  right: 0;
  height: 100%;
  z-index: 11;
}

.bootstrap-touchspin .input-group-btn-vertical > .btn {
  position: absolute;
  right: 0;
  height: 50%;
  padding: 0;
  width: 2em;
  text-align: center;
  line-height: 1;
}

.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up {
  border-radius: 0 4px 0 0;
  top: 0;
}

.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down {
  border-radius: 0 0 4px 0;
  bottom: 0;
}

.bootstrap-touchspin .input-group-text {
  padding: .375rem .75rem;
}

.bootstrap-touchspin-down, .bootstrap-touchspin-up {
  padding: 0;
  border: none;
  background: none;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.bootstrap-touchspin-down:hover, .bootstrap-touchspin-up:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.bootstrap-touchspin-down-btn, .bootstrap-touchspin-up-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
}

.bootstrap-touchspin .input-group {
  flex-wrap: nowrap;
}

.bootstrap-touchspin input {
  text-align: center;
} 