.components-panel__body.is-opened.img-admin-finance {
    padding-top: 0;
}

:root, ::marker, ::before, ::after {
    --fa-family: 'Font Awesome 6 Pro';
}

.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%;
    font-weight:    600;
    margin-bottom:  0.25rem;
}

.ifc-per-payment-heading {
    display:        inline-block;
    width:          64%;
    font-size:      20px;
}
.ifc-per-payment-value {
    display:        inline-block;
    width:          36%;
    text-align:     right;
    font-size:      20px;
}

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

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

.inghamdriven-finance-calculator .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;
}
.inghamdriven-finance-calculator .ifc-input:focus {
    color: white;
}

.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:    var(--fa-family);
    font-weight:    900;
    content:        "\f155";
    position:       absolute;
    top:            12px;
    line-height:    17px;
    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;
  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;
}


.ifc-row.buttons .btn {
    display: block;
}
    .ifc-row.buttons .btn:hover {
        border-color: #4F4F69;
    }
    .ifc-row.buttons .btn.preapproved {
        --px:       1.5rem;
    }

@media only screen and (max-width: 370px) {
    .ifc-row.buttons .btn.preapproved {
        --f:        18px;
        --g:        0.5rem;
        --px:       0.5rem;
    }
}
@media only screen and (min-width: 371px) and (max-width: 450px) {
    .ifc-row.buttons .btn.preapproved {
        --f:        19px;
        --g:        0.75rem;
        --px:       0.5rem;
    }
}
@media only screen and (min-width: 801px) and (max-width: 1164px) {
    .ifc-row.buttons .btn.preapproved {
        --f:        19px;
        --g:        0.75rem;
        --px:       0.5rem;
    }
}
