.input-group-addon,
.input-group-btn,
.input-group .form-control {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center; }
  .input-group-addon:not(:first-child):not(:last-child),
  .input-group-btn:not(:first-child):not(:last-child),
  .input-group .form-control:not(:first-child):not(:last-child) {
    border-radius: 0; }

.input-group-addon,
.input-group-btn {
  white-space: nowrap; }

.input-group-addon {
  padding: 0.429rem 1rem;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.57142857;
  color: #76838f;
  text-align: center;
  background-color: #e4eaec;
  border: 1px solid #e4eaec;
  border-radius: 0.215rem; }
  .input-group-addon.form-control-sm,
  .input-group-sm > .input-group-addon,
  .input-group-sm > .input-group-btn > .input-group-addon.btn {
    padding: 0.429rem 0.858rem;
    font-size: 0.858rem;
    border-radius: 0.143rem; }
  .input-group-addon.form-control-lg,
  .input-group-lg > .input-group-addon,
  .input-group-lg > .input-group-btn > .input-group-addon.btn {
    padding: 0.715rem 1.286rem;
    font-size: 1.286rem;
    border-radius: 0.286rem; }
  .input-group-addon input[type="radio"],
  .input-group-addon input[type="checkbox"] {
    margin-top: 0; }

.input-group .form-control:not(:last-child),
.input-group-addon:not(:last-child),
.input-group-btn:not(:last-child) > .btn,
.input-group-btn:not(:last-child) > .btn-group > .btn,
.input-group-btn:not(:last-child) > .dropdown-toggle,
.input-group-btn:not(:first-child) > .btn:not(:last-child):not(.dropdown-toggle),
.input-group-btn:not(:first-child) > .btn-group:not(:last-child) > .btn {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0; }

.input-group-addon:not(:last-child) {
  border-right: 0; }

.input-group .form-control:not(:first-child),
.input-group-addon:not(:first-child),
.input-group-btn:not(:first-child) > .btn,
.input-group-btn:not(:first-child) > .btn-group > .btn,
.input-group-btn:not(:first-child) > .dropdown-toggle,
.input-group-btn:not(:last-child) > .btn:not(:first-child),
.input-group-btn:not(:last-child) > .btn-group:not(:first-child) > .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0; }

.form-control + .input-group-addon:not(:first-child) {
  border-left: 0; }

.input-group-btn {
  position: relative;
  -ms-flex-align: stretch;
      align-items: stretch;
  font-size: 0;
  white-space: nowrap; }
  .input-group-btn > .btn {
    position: relative; }
    .input-group-btn > .btn + .btn {
      margin-left: -1px; }
    .input-group-btn > .btn:hover, .input-group-btn > .btn:focus, .input-group-btn > .btn:active {
      z-index: 3; }
  .input-group-btn:first-child > .btn + .btn {
    margin-left: 0; }
  .input-group-btn:not(:last-child) > .btn,
  .input-group-btn:not(:last-child) > .btn-group {
    margin-right: -1px; }
  .input-group-btn:not(:first-child) > .btn,
  .input-group-btn:not(:first-child) > .btn-group {
    z-index: 2;
    margin-left: 0; }
    .input-group-btn:not(:first-child) > .btn:first-child,
    .input-group-btn:not(:first-child) > .btn-group:first-child {
      margin-left: -1px; }
    .input-group-btn:not(:first-child) > .btn:hover, .input-group-btn:not(:first-child) > .btn:focus, .input-group-btn:not(:first-child) > .btn:active,
    .input-group-btn:not(:first-child) > .btn-group:hover,
    .input-group-btn:not(:first-child) > .btn-group:focus,
    .input-group-btn:not(:first-child) > .btn-group:active {
      z-index: 3; }

.bootstrap-touchspin .input-group-btn-vertical {
  position: relative;
  white-space: nowrap;
  vertical-align: middle; }

.bootstrap-touchspin .input-group-btn-vertical > .btn {
  position: relative;
  display: block;
  float: none;
  width: 100%;
  max-width: 100%;
  padding: 9px 16px 8px;
  margin-left: -1px; }

.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up {
  border-bottom: none;
  border-radius: 0;
  border-top-right-radius: 0.215rem; }

.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down {
  padding: 8px 16px;
  border-radius: 0;
  border-bottom-right-radius: 0.215rem; }

.bootstrap-touchspin .input-group-btn-vertical i {
  position: absolute;
  top: 1px;
  right: 0;
  bottom: 0;
  left: 0;
  font-size: 10px;
  font-weight: 400; }

.bootstrap-touchspin .input-group-btn .btn {
  padding: 6px 16px;
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

.bootstrap-touchspin-postfix.input-group-addon {
  border-left: none;
  broder-left: 0; }

.bootstrap-touchspin-prefix.input-group-addon {
  border-right: none;
  broder-right: 0; }

.bootstrap-touchspin input[name="touchSpinVertical"] {
  border-radius: 0.215rem 0 0 0.215rem !important; }

.bootstrap-touchspin .input-group-btn:first-child > .btn, .bootstrap-touchspin .input-group-btn:first-child > .btn-group {
  margin-right: -1px; }

.bootstrap-touchspin .input-group-addon:not(:first-child):not(:last-child), .bootstrap-touchspin .input-group-btn:not(:first-child):not(:last-child) {
  border-right: none;
  border-left: none; }
  .bootstrap-touchspin .input-group-addon:not(:first-child):not(:last-child) > .btn, .bootstrap-touchspin .input-group-btn:not(:first-child):not(:last-child) > .btn {
    border-right: none;
    border-left: none; }
