.ifc-container {
    max-width: 400px;
    margin: 1rem auto;
    display: block;
    padding:1rem;
    border: 1px solid black;
    color: white;
    border-radius: 3px;
    background-color: #363647;
    border-bottom-left-radius: var(--ingham-border-radius-bottom-left);
    border-bottom-right-radius: var(--ingham-border-radius-bottom-right);
    border-top-left-radius: var(--ingham-border-radius-top-left);
    border-top-right-radius: var(--ingham-border-radius-top-right);
    box-shadow: var(--ingham-drop-shadow);
}

.ifc-container hr {
    border-color: #4F4F69;
}

.ifc-row {
    /* padding: 0.5rem; */
    padding-bottom: 0.75rem;
    padding-top: 0.75rem;
}

.ifc-row-heading {
    display: block;
    width: 100%;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.ifc-per-payment-heading {
    display: inline-block;
    width: initial;
    margin-right: 2rem;
}

.ifc-per-payment-heading:after {
    content: ':*';
}

.ifc-per-payment-value:before {
    content: '$';
}

.ifc-input {
    width: 100%;
    display: block;
    border: none;
    padding: 0.5rem;
    background-color: #21212B;
    color: white;
    height: 2.5rem;
    border-bottom: 1px solid #4F4F69;
    border-right: 1px solid #4F4F69;
    border-radius: 3px;
    font-size: 1rem;
    line-height: 2.5rem;
}

.ifc-input[type=number] {
    padding-left: 2rem;
}

.ifc-input::-webkit-outer-spin-button,
.ifc-input::-webkit-inner-spin-button {
    display: none;
}

.ifc-input-number-container:before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.ifc-input-number-container {
    position: relative;
}

.ifc-input-number-container::before {
    font-family: "Font Awesome 5 Pro"; font-weight: 900; content: "\f155";
    position: absolute;
    top: 0.6rem;
    left: 0.7rem;
}

.ifc-container small {
    font-size: 0.7rem;
    line-height: 0.7rem;
    color: silver;
}

/* Range Slider */

input[type=range].ifc-input {
  -webkit-appearance: none;
  margin: 18px 0;
  width: 100%;
}

input[type=range].ifc-input:focus {
  outline: none;
}

input[type=range].ifc-input::-webkit-slider-runnable-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  background: #363647;
  border-radius: 1.3px;
  border: 0.2px solid #010101;
}

input[type=range].ifc-input::-webkit-slider-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 2rem;
  width: 1.5rem;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -14px;
}

input[type=range].ifc-input:focus::-webkit-slider-runnable-track {
  background: #363647;
}

input[type=range].ifc-input::-moz-range-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  background: #363647;
  border-radius: 1.3px;
  border: 0.2px solid #010101;
}

input[type=range].ifc-input::-moz-range-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 2rem;
  width: 1.5rem;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
}

input[type=range].ifc-input::-ms-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  border-width: 16px 0;
  color: transparent;
}

input[type=range].ifc-input::-ms-fill-lower {
  background: #2a6495;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}

input[type=range].ifc-input::-ms-fill-upper {
  background: #3071a9;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}

input[type=range].ifc-input::-ms-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 2rem;
  width: 1.5rem;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
}

input[type=range].ifc-input:focus::-ms-fill-lower {
  background: #3071a9;
}

input[type=range].ifc-input:focus::-ms-fill-upper {
  background: #367ebd;
}
