.field-validation-error .input--error {
    /*position: absolute;*/
    bottom: -18px;
    left: 0;
    color: var(--error-color);
    font-weight: 300;
    font-size: 11px;
    line-height: 11px;
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 767px) {
    .partner-logo {
        max-height: 40px;
        display: block;
        width: 110px;
    }

    .logo-mobile-index {
        height: 40px;
        background: url('/_content/Aprila.Web.Ui/assets/images/logo/mobile-logo.svg') no-repeat;
        background-size: contain;
        width: 110px;
    }

    .partner-logo-lg {
        display: none;
        text-align: right;
    }

    .logo-wrapper-index {
        display: flex;
        justify-content: space-evenly;
    }

    .logo-desktop-index {
        display: none;
    }
}

@media (min-width: 768px) {
    .partner-logo {
        max-height: 40px;
        max-width: 120px;
        background-size: contain;
        left: 25px;
        top: 100px;
    }

    .partner-logo-sm {
        display: none;
    }

    .partner-logo-lg {
        margin-left: 75px;
    }

    .partner-logo-wrapper {
        display: flex;
        align-items: center;
        height: 40px;
        margin-top: 40px;
    }
}

:root {
    --main-content-width: 550px;
}

.input {
    background-color: white;
    padding: 8px 8px 4px 8px;
}

.label {
    font-weight: 500;
    line-height: 38px;
    text-indent: 6px;
}


.input-wrapper label {
    padding: 8px 48px !important;
}

input[type='radio'],
input[type='checkbox'] {
    top: 12px !important;
}

.list {
    margin: 16px 0 16px 0;
    padding-left: 20px;
}

.card-button-wrapper {
    display: flex;
    justify-content: center;
    padding-right: 40px;
}

.card-button {
    min-width: 0px !important;
}

/*COLOR STYLING TEXT*/
.text-soft-black {
    color: var(--text-color-dark, #706B59);
}

.text-disabled {
    color: var(--text-color-disabled, #B3B3B3);
}

/*PLAN*/

@media (min-width: 950px) {
    .plan {
        width: 380px;
    }
}

@media (max-width: 950px) {
    .plan {
        overflow-x: scroll;
        padding-right: 2px;
        padding-left: 15px;
        width: 340px !important;
        overflow-x: hidden;
    }

    .plan__col .card-button-wrapper {
        padding-right: 15px;
    }
}

.plan--active .card-button:disabled {
    background-color: var(--input-border-color-active);
    border-color: var(--input-border-color-active);
}

.plan {
    padding-right: 0px;
}
/*Stack due to wide cards*/
@media (max-width: 1870px) {
    .product-plan {
        flex-direction: column;
    }
}

/*Card-label*/
.card-label {
    background-color: var(--accent-color);
    max-width: 80px;
    height: 35px;
    border-radius: 10px;
}

.card-label-text {
    text-align: center;
    color: white;
    padding-top: 7px;
}

.card-campaign-container {
    background-color: var(--accent-color);
    margin-left: -20px;
    margin-right: 44px;
    border-radius: 4px;
    padding: 10px 10px 10px 10px;
    display: table;
}

    .card-campaign-container p {
        color: #FFFFFF;
        display: table-cell;
        vertical-align: middle;
    }

@media (min-width: 950px) {
    .card-campaign-container {
        margin-left: -42px;
    }
}


/*PLANNER*/
.planer-list {
    margin-bottom: 34px;
    /*avoid horizontal scroll-bar in firefox*/
    overflow-x: hidden;
}

/*Override invalid-plan to avoid empty-space on mobile*/
@media (max-width: 767px) {
    .plan--invalid {
        transform: scale(1);
    }

    .plan--active img {
        float: none;
    }
}

@media (min-width: 768px) {
    .small-margintop {
        margin-top: 64px !important;
    }
}

.switches-wrapper .form__item {
    margin-bottom: 8px !important;
    margin-top: 8px !important;
}

@media (max-width: 767px) {
    .input-wrapper {
        margin-bottom: 6px !important;
    }
}

.label {
    color: var(--text-color-dark) !important;
}

@media (max-width: 767px) {
    .static-label-mobile {
        top: -14px;
        opacity: 1;
        font-size: 12px;
        line-height: 12px;
        text-indent: 0px;
    }
}

.static-label {
    top: -14px;
    opacity: 1;
    font-size: 12px;
    line-height: 12px;
}

    .input:focus ~ .label,
    .input--filled ~ .label,
    .static-label input:placeholder-shown ~ .label {
        padding-left: 0px !important;
        padding-top: 0px !important;
        text-indent: 0px;
    }

.input-contrast {
    background-color: white;
    border-radius: 4px;
    text-indent: 4px;
    padding: 4px 4px 4px;
}

.input-label-contrast {
    padding-top: 4px;
    padding-left: 6px;
}

.select-input-contrast {
    border-radius: 4px;
    background-color: white;
    border-bottom: var(--input-border-color-active);
    padding-left: 6px;
}

p {
    color: var(--text-color-darken);
}

.input-wrapper label {
    color: var(--text-color-darken);
}

.list__item {
    color: var(--text-color-darken) !important;
}

.checkpoint-list-item {
    list-style-image: url(/assets/creditline/check-icon-small.svg)
}

.form__row-description {
    color: var(--text-color-darken);
}

.steps__item-content {
    background-color: var(--input-border-color-active);
    font-weight: 400;
}

/*DROPZONE*/
.dropzone .dz-preview.dz-error .dz-error-message {
    top: 150px !important;
}

/*/Override radio button color-profile form shared CL/IS partial/*/
.custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--accent-color);
}

/*Increase hit area form custom input buttons*/
.custom-control-input::before {
    width: 40px !important;
    height: 30px !important;
    transform: translate(-30px, -15px);
}

.custom-control-label::before {
    border-color: var(--accent-color);
    background-color: transparent !important;
}

.custom-control-label::after {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-color);
    transform: translate(2px, 2px);
    opacity: 0;
    transition: opacity 0.3s;
    border: solid 2px var(--body-background-color);
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::after {
    opacity: 1 !important;
    background-image: none !important;
}

.custom-control-label {
    padding-bottom: 10px !important;
    padding-top: 2px !important;
    font-size: 14px;
    cursor: pointer;
}


#select-year {
    width: 148px;
    border-style: none;
}

#select-document {
    width: 190px;
    border-style: none;
}

#existing_closure_request {
    margin-top: 1em;
}

#existing_closure_request_actions {
    width: 25%;
    display: flex;
    justify-content: space-between;
}

#existing_closure_request_text {
    font-weight: 400;
}

#close_account_action {
    font-weight: 500;
    font-size: 11px;
    line-height: 16px;
    color: #CF6833;
    margin-bottom: 0;
}

.aprila-orange {
    color: var(--accent-color) !important;
}

#annual_statement_content {
    margin-top: 3em;
}

.annual_statement_content_financials {
    display: flex;
    justify-content: space-between;
}

#annual_statement_information_header {
    margin-top: 3em;
    margin-bottom: 0.5em;
}

#annual_statement_footer {
    margin-top: 4em;
}

.product-overview-table {
}

.product-overview-table-row {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 70% 30%;
    font-size: 12px;
    line-height: 16px;
    color: #706B59;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 6px;
    margin-bottom: 8px;
}

.product-overview-table-header {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 70% 30%;
    font-size: 14px;
    line-height: 24px;
    color: #706B59;
    padding-bottom: 8px;
}

.product-overview-table-header-title {
    padding: 12px 16px;
}

.product-overview-table-header-title-1 {
    padding: 12px 0;
}

.form-error__img {
    background: url("../images/online-banking/pop-up-image.svg") no-repeat;
    display: block;
    width: 220px;
    height: 135px;
    margin: auto;
}

.icon-img.img-5 {
    background: url("../images/icons/icon5.svg") 50% 50% no-repeat;
}

/* Customer portal overrides */
.customer-portal-content__item {
    margin-top: 50px;
}

.customer-portal-list__item {
    font-size: 16px;
}

.background-light {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 8px;
}

.customer-portal-cart-4__table-row {
    font-size: 15px;
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 66% 1% 33%;
    line-height: 16px;
    color: #706B59;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 6px;
    margin-bottom: 8px;
}

.override-link a {
    color: #FFFFFF;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .customer-portal-content__item {
        margin-top: 20px;
    }
}

@media (min-width: 1200px) and (max-width: 1600px) {
    .allow-large {
        max-width: 33.3333%;
        flex: 0 0 33.333333%;
    }

    .large-content {
        max-width: 66.666667%;
        flex: 0 0 66.666667%;
    }
}
/* Customer portal overrides end */


/*form layout overides*/
.form-layout__wrapper .mobile-logo {
    display: none;
}

@media screen and (max-width: 768px) {
    .form-layout__wrapper .mobile-logo {
        position: absolute;
        top: 24px;
        left: 26px;
        display: block;
    }
}

@media screen and (max-width: 375px) {
    .form-layout__wrapper .mobile-logo {
        left: 16px;
    }
}
/*form layout overides end*/


.cart-1_action_portal {
    width: 352px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 16px 48px 16px 24px;
    margin-bottom: 40px;
}

.cart-1__part1_action_portal {
    display: flex;
    flex-direction: column;
    margin-bottom: 35px;
}

@media screen and (max-width: 575px) {
    .custom-form__title-wrapper {
        border-bottom: 1px solid #E6E3DB;
        font-weight: 500;
        font-size: 11px;
        line-height: 16px;
        padding: 23px 24px 0px 24px;
        height: 215px;
        display: block;
    }
}

@media (min-width: 575px) {
    .custom-form__title-wrapper {
        border-bottom: 1px solid #E6E3DB;
        font-weight: 500;
        font-size: 11px;
        line-height: 16px;
        padding: 23px 0px 0px 0px;
        height: 85px;
        display: flex;
        justify-content: space-evenly;
    }
}

.page-link {
    color: var(--accent-color);
}

.active > .page-link, .page-link.active {
    color: none !important;
    background-color: var(--accent-color) !important;
    border-color: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color) !important;
}

