.inbank-container {
    margin-top: 40px;
    margin-bottom: 40px;
    display: block;
    width: 100%;
    height: auto;
    border-top: 2px solid #21093A;
    background-color: #F6F5F7;
    position: relative;
    padding-left: 15px;
    padding-right: 35px;
    padding-bottom: 14px;
    font-size: 0;
    font-family: Arial;
    position: relative;
}

.inbank-container.inbank-calc .small-label {
    color: #9B9B9B;
    font-size: 10px;
    position: absolute;
    bottom: calc(100% + 4px);
    right: 0;
    line-height: 10px;
    text-transform: uppercase;
}

.inbank-heading {
    font-size: 14px;
    line-height: 18px;
    color: #21093A;
    font-weight: bold;
    margin: 0 0 15px;
    text-transform: uppercase;
}

.inbank-logo {
    width: 70px;
    height: 24.5px;
    pointer-events: none;
    top: 20px;
    right: 35px;
    position: absolute;
}

.inbank-slogan {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 17px;
    color: #333;
}

.inbank-runningrow-wr {
    overflow: hidden;
    left: 0;
    color: #999999;
    position: absolute;
    top: 100%;
    top: calc(100% + 2px);
    width: 100%;
}

.inbank-runningrow {
    white-space: nowrap;
    display: inline-block;
    animation: floatText 100s infinite linear;
    font-family: Arial;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 16px;
}

.inbank-runningrow :hover {
    animation-play-state: paused
}

.inbank-controls-flex {
    display: flex;
    margin-top: 20px;
    gap: 20px;
    align-items: flex-end;
    position: relative;
}

.inbank-controls-flex .label {
    font-size: 12px;
    line-height: 14px;
    color: #666;
    margin-bottom: 3.5px;
}

.inbank-controls-flex input {
    border: none;
    background: white;
    height: 28px;
    line-height: 28px;
    padding: 0;
    color: #21093A;
    font-size: 14px;
    -webkit-appearance: none !important;
    margin: 0 !important;
    -moz-appearance: textfield !important;
    font-family: Arial;
}

.inbank-controls-flex .amount-container input {
    width: 55px;
    padding-left: 10px;
}

.inbank-controls-flex .months-container input {
    width: 35px;
    padding-left: 10px;
}

.inbank-controls-flex .amount-container select,
.inbank-controls-flex .amount-container .clickArea {
    width: 42px;
}

.inbank-controls-flex .monthlyPayment-container input {
    width: 120px;
    background-color: rgba(33,9,58,0.1);
    font-family: Arial;
}

.inbank-controls-flex .actionButton-container {
    margin-left: 25px;
}

.inbank-controls-flex .actionButton-container .actionButton {
    width: 230px;
    height: 40px;
    background-color: #21093A;
    font-size: 16px;
    line-height: 18px;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    line-height: 40px;
    text-align: center;
}

.inbank-controls-flex .inbank-amount,
.inbank-controls-flex .inbank-months {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-repeat: no-repeat;
    background-position: right 10px top 7.5px;
    text-align: justify;  /* For Edge */
    text-align-last: left;
}

.inbank-controls-flex .inbank-amount-select,
.inbank-controls-flex .inbank-months-select {
    border: none;
    background: white;
    height: 26px;
    width: 50px;
    padding: 0;
    color: #21093A;
    font-size: 14px;
    cursor: pointer;
}

.inbank-controls-flex .inbank-months-select {
    width: 60px;
}

.inbank-controls-col {
    font-size: 0;
    flex-grow: 0;
    height: 48px;
    display:flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    position: relative;
}

.inbank-controls-col .clickArea {
    position:absolute;
    right: 2px;
    bottom: 2.5px;
    height: 25px;
    cursor: pointer;
    background: white;
    z-index: 2;
    font-size: 14px;
    line-height: 25px;
    color: #21093A;
    pointer-events: none;
}

.inbank-controls-col.months-container .clickArea {
    width: 60px;
}

.inbank-controls-col .input-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100px;
    color: #DDDDDD;
    border: 1px solid #ddd;
    border-radius: 3px;
    height: 30px;
    line-height: 30px;
    background: white;
    gap: 1px;
}

.inbank-controls-col.monthlyPayment-container,
.inbank-controls-col.monthlyPayment-container .input-container {
    width: 120px;
    color: #21093A;
}

.inbank-controls-col.monthlyPayment-container .input-container {
    background-color: rgba(33,9,58,0.1);
}

.inbank-controls-flex input.inbank-monthlyPayment {
    padding-left: 10px;
    background-color: unset;
}


.inbank-controls-col.amount-container .clickArea:after,
.inbank-controls-col.months-container .clickArea:after {
    content: ' ';
    position: absolute;
    z-index: 3;
    pointer-events: none;
    display: block;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("/static/svg/inbank_dropdown.svg");
    background-repeat: no-repeat;
    background-repeat: no-repeat;
    background-position: right 0px top 11px;
    height: 30px;
    width: 30px;
    bottom: 0;
    right: 10px;
}

.inbank-controls-col.monthlyPayment-container .clickArea {
    width: 70px;
    cursor: auto;
    pointer-events: none;
    background-color: unset;
}

/* marquee */
.marquee-inbank span {
    display: inline-block;
    width: max-content;

    padding-left: 100%;
    /* show the marquee just outside the paragraph */
    will-change: transform;
    animation: marquee 100s linear infinite;
    cursor: pointer;
}


.marquee-inbank span:hover {
    animation-play-state: paused
}

@keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}


/* Respect user preferences about animations */
@media (prefers-reduced-motion: reduce) {
    .marquee-inbank span {
        animation-play-state: paused;
        /* instead of animation: none, so an animationend event is
         * still available, if previously attached.
         */
        width: auto;
        padding-left: 0;
    }

    .marquee-inbank span:hover {
        animation-play-state: running
    }
}

/** remove number input carets */
.inbank-controls-flex input::-webkit-inner-spin-button,
.inbank-controls-flex input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.inbank-controls-flex input:hover::-webkit-inner-spin-button,
.inbank-controls-flex input:hover::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.inbank-controls-flex input {
    -moz-appearance: textfield;
}

.inbank-controls-flex input:focus,
.inbank-controls-flex select:focus {
    outline: none;
}

.inbank-container.inbank-calc.bordered-panel {
    margin-bottom: 40px !important;
}

.div-focused {
    outline: 1px solid #21093A;
}
