/* stylelint-disable selector-no-qualifying-type */

:root {
  --input-btn-padding-y: 0.375rem;
  --input-btn-padding-x: 0.75rem;
  --input-btn-padding-y-sm: 0.25rem;
  --input-btn-padding-x-sm: 0.5rem;
  --input-btn-padding-y-lg: 0.5rem;
  --input-btn-padding-x-lg: 1rem;
  --input-btn-line-height: 1.5;
  --input-btn-border-width: 1px;
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.25rem;
  --font-weight-normal: 400;
  --input-group-addon-color: #495057;
  --input-group-addon-bg: #e9ecef;
  --input-group-addon-border-color: #ced4da;
  --input-border-radius: 0.25rem;
  --input-border-radius-sm: 0.2rem;
  --input-border-radius-lg: 0.3rem;
}

/*
 * Base styles
 */
.input-group-wrapper{
    margin: 10px 0;
}
.input-group {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
    margin-bottom: 5px;
}

.input-group .form-control {
  /* Ensure that the input is always above the appended addon button for proper border colors. */
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  /* Add width 1% and flex-basis auto to ensure that button will not wrap out the column. */
  width: 1%;
  margin-bottom: 0;
}

.input-group .form-control:hover,
.input-group .form-control:focus,
.input-group .form-control:active {
  /* Bring the active form control to the front. */
  z-index: 3;
}

.input-group-addon,
.input-group-btn,
.input-group .form-control {
  display: flex;
  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;
}

/*
 * Sizing options
 */

.input-group-lg > .form-control,
.input-group-lg > .input-group-addon,
.input-group-lg > .input-group-btn > .btn {
  padding: var(--input-btn-padding-y-lg) var(--input-btn-padding-x-lg);
  font-size: var(--font-size-lg);
  line-height: var(--input-btn-line-height);
  border-radius: var(--input-border-radius-lg);
}

.input-group-sm > .form-control,
.input-group-sm > .input-group-addon,
.input-group-sm > .input-group-btn > .btn {
  padding: var(--input-btn-padding-y-sm) var(--input-btn-padding-x-sm);
  font-size: var(--font-size-sm);
  line-height: var(--input-btn-line-height);
  border-radius: var(--input-border-radius-sm);
}

/*
 * Text input groups
 */

.input-group-addon {
  padding: var(--input-btn-padding-y) var(--input-btn-padding-x);
  margin-bottom: 0; /* Allow use of <label> elements by overriding our default margin-bottom */
  font-size: var(--font-size-base); /* Match inputs */
  font-weight: var(--font-weight-normal);
  line-height: var(--input-btn-line-height);
  color: var(--input-group-addon-color);
  text-align: center;
  background-color: var(--input-group-addon-bg);
  border: var(--input-btn-border-width) solid var(--input-group-addon-border-color);
  border-radius: var(--input-border-radius);
}

/* Sizing */
.input-group-addon.form-control-sm {
  padding: var(--input-btn-padding-y-sm) var(--input-btn-padding-x-sm);
  font-size: var(--font-size-sm);
  border-radius: var(--input-border-radius-sm);
}

.input-group-addon.form-control-lg {
  padding: var(--input-btn-padding-y-lg) var(--input-btn-padding-x-lg);
  font-size: var(--font-size-lg);
  border-radius: var(--input-border-radius-lg);
}

/* Nuke default margins from checkboxes and radios to vertically center within. */
.input-group-addon input[type="radio"],
.input-group-addon input[type="checkbox"] {
  margin-top: 0;
}

/*
 * Reset rounded corners
 */

.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;
}

/*
 * Button input groups
 */

.input-group-btn {
  position: relative;
  align-items: stretch;
  /* Prevent input button groups from wrapping. */
  font-size: 0;
  white-space: nowrap;
}

/* Negative margin for spacing, position for bringing hovered/focused/active element above siblings. */
.input-group-btn > .btn {
  position: relative;
}

.input-group-btn > .btn + .btn {
  margin-left: calc(-1 * var(--input-btn-border-width));
}

.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;
}

/* Negative margin to only have a single, shared border between the two. */
.input-group-btn:not(:last-child) > .btn,
.input-group-btn:not(:last-child) > .btn-group {
  margin-right: calc(-1 * var(--input-btn-border-width));
}

.input-group-btn:not(:first-child) > .btn,
.input-group-btn:not(:first-child) > .btn-group {
  z-index: 2;
  /* Remove negative margin to solve overlapping issue with button. */
  margin-left: 0;
}

.input-group-btn:not(:first-child) > .btn:first-child,
.input-group-btn:not(:first-child) > .btn-group:first-child {
  margin-left: calc(-1 * var(--input-btn-border-width));
}

.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;
}

.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-image: none;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.max150 {
    max-width: 150px;
}