@media (min-width: 576px) {
  .form-inline .input-group2, .form-inline .custom-select {
    width: auto;
  }
}

.btn-toolbar .input-group2 {
  width: auto;
}

.input-group2 {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: stretch;
  align-items: stretch;
  width: 100%;
}
.input-group2 > .form-control, .input-group2 > .form-control-plaintext, .input-group2 > .custom-select, .input-group2 > .custom-file {
  position: relative;
  -ms-flex: 1 1 0%;
  flex: 1 1 0%;
  min-width: 0;
  margin-bottom: 0;
}

.input-group2 > .form-control + .form-control, .input-group2 > .form-control + .custom-select, .input-group2 > .form-control + .custom-file, .input-group2 > .form-control-plaintext + .form-control, .input-group2 > .form-control-plaintext + .custom-select, .input-group2 > .form-control-plaintext + .custom-file, .input-group2 > .custom-select + .form-control, .input-group2 > .custom-select + .custom-select, .input-group2 > .custom-select + .custom-file, .input-group2 > .custom-file + .form-control, .input-group2 > .custom-file + .custom-select, .input-group2 > .custom-file + .custom-file {
  margin-left: -1px;
}

.input-group2 > .form-control:focus, .input-group2 > .custom-select:focus, .input-group2 > .custom-file .custom-file-input:focus ~ .custom-file-label {
  z-index: 3;
}

.input-group2 > .custom-file .custom-file-input:focus {
  z-index: 4;
}

.input-group2 > .form-control:not(:last-child), .input-group2 > .custom-select:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group2 > .form-control:not(:first-child), .input-group2 > .custom-select:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.input-group2 > .custom-file {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
}

.input-group2 > .custom-file:not(:last-child) .custom-file-label, .input-group2 > .custom-file:not(:last-child) .custom-file-label::after {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group2 > .custom-file:not(:first-child) .custom-file-label {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.input-group2-prepend, .input-group2-append {
  display: -ms-flexbox;
  display: flex;
}

.input-group2-prepend .btn, .input-group2-append .btn {
  position: relative;
  z-index: 2;
}

.input-group2-prepend .btn:focus, .input-group2-append .btn:focus {
  z-index: 3;
}

.input-group2-prepend .btn + .btn, .input-group2-prepend .btn + .input-group2-text, .input-group2-prepend .input-group2-text + .input-group2-text, .input-group2-prepend .input-group2-text + .btn, .input-group2-append .btn + .btn, .input-group2-append .btn + .input-group2-text, .input-group2-append .input-group2-text + .input-group2-text, .input-group2-append .input-group2-text + .btn {
  margin-left: -1px;
}

.input-group2-prepend80 {
  margin-right: -1px;
  width : 80px;
}
.input-group2-prepend90 {
  margin-right: -1px;
  width : 80px;
}
.input-group2-prepend100 {
  margin-right: -1px;
  width : 80px;
}

.input-group2-prepend110 {
  margin-right: -1px;
  width : 110px;
}

.input-group2-prepend120 {
  margin-right: -1px;
  width : 120px;
}

.input-group2-prepend150 {
  margin-right: -1px;
  width : 150px;
}

.input-group2-prepend170 {
  margin-right: -1px;
  width : 170px;
}
.input-group2-prepend200 {
  margin-right: -1px;
  width : 200px;
}

.input-group2-append {
  margin-left: -1px;
}

.input-group2-text {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  padding: 0.375rem 0.75rem;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  text-align: center;
  white-space: nowrap;
  background-color: #e9ecef;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  width: 100%;
}

.input-group2-text input[type="radio"], .input-group2-text input[type="checkbox"] {
  margin-top: 0;
}

.input-group2-lg > .form-control:not(textarea), .input-group2-lg > .custom-select {
  height: calc(1.5em + 1rem + 2px);
}

.input-group2-lg > .form-control, .input-group2-lg > .custom-select, .input-group2-lg > .input-group2-prepend > .input-group2-text, .input-group2-lg > .input-group2-append > .input-group2-text, .input-group2-lg > .input-group2-prepend > .btn, .input-group2-lg > .input-group2-append > .btn {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0.3rem;
}

.input-group2-sm > .form-control:not(textarea), .input-group2-sm > .custom-select {
  height: calc(1.5em + 0.5rem + 2px);
}

.input-group2-sm > .form-control, .input-group2-sm > .custom-select, .input-group2-sm > .input-group2-prepend > .input-group2-text, .input-group2-sm > .input-group2-append > .input-group2-text, .input-group2-sm > .input-group2-prepend > .btn, .input-group2-sm > .input-group2-append > .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

.input-group2-lg > .custom-select, .input-group2-sm > .custom-select {
  padding-right: 1.75rem;
}

.input-group2 > .input-group2-prepend > .btn, .input-group2 > .input-group2-prepend > .input-group2-text, .input-group2 > .input-group2-append:not(:last-child) > .btn, .input-group2 > .input-group2-append:not(:last-child) > .input-group2-text, .input-group2 > .input-group2-append:last-child > .btn:not(:last-child):not(.dropdown-toggle), .input-group2 > .input-group2-append:last-child > .input-group2-text:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group2 > .input-group2-append > .btn, .input-group2 > .input-group2-append > .input-group2-text, .input-group2 > .input-group2-prepend:not(:first-child) > .btn, .input-group2 > .input-group2-prepend:not(:first-child) > .input-group2-text, .input-group2 > .input-group2-prepend:first-child > .btn:not(:first-child), .input-group2 > .input-group2-prepend:first-child > .input-group2-text:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

