.error, .preselected-value .card h4 {
    color: #006ba2
}

.form-control.error {
    border-color: #ff7272
}

.reg-msg {
    margin: -20px 0 20px;
    background: #e2e0ea;
    border-radius: 4px;
    padding: 15px 20px
}

    .reg-msg p {
        margin-bottom: 0;
        font-size: 16px;
        line-height: 20px
    }

    .reg-msg a:active, .reg-msg a:link, .reg-msg a:visited {
        text-decoration: underline
    }

.donation-process {
    background: #d4e6f2
}

.multi-step-form button, .section-head {
    color: #fff
}

.header-overlay {
    background: #005e85;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .8;
    z-index: 1
}

.section-page-header {
    padding: 60px 0 140px;
    margin-top: 52px;
    margin-bottom: -140px
}

    .section-page-header h1 {
        font-size: 24px
    }

.preselected-value .card {
    border-radius: 0 0 15px 15px;
    border: 2px solid #d4e6f2
}

.preselected-value.selectedvalue .card, .preselected-value.selectedvalue:hover .card {
    border: 2px solid #ffe271
}

.preselected-value:hover .card {
    cursor: pointer;
    border: 2px solid #ffe271
}

.preselected-value .card img {
    border-radius: 0
}

.preselected-value:hover .card h4 {
    color: #000
}

@media (min-width:480px) {
    .section-page-header h1 {
        font-size: 28px
    }
}

@media (min-width:768px) {
    .section-page-header {
        padding: 150px 0 160px;
        margin-top: 30px;
        margin-bottom: -180px
    }

        .section-page-header h1 {
            font-size: 36px
        }
}

@media (min-width:1200px) {
    .section-page-header {
        padding: 150px 0 200px;
        margin: 52px 0 -220px
    }
}

.multi-step-form-progress {
    margin-bottom: 20px;
    color: #006ba2;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 33.3% 33.3% 33.3%;
    grid-template-columns: 33.3% 33.3% 33.3%;
    grid-template-columns: repeat(auto-fit,minmax(0,1fr));
    width: 100%
}

    .multi-step-form-progress > :nth-child(2) {
        -ms-grid-column: 2
    }

    .multi-step-form-progress > :nth-child(3) {
        -ms-grid-column: 3
    }

    .multi-step-form-progress > :nth-child(4) {
        -ms-grid-row: 2
    }

    .multi-step-form-progress > :nth-child(5) {
        -ms-grid-row: 2;
        -ms-grid-column: 2
    }

    .multi-step-form-progress > :nth-child(6) {
        -ms-grid-row: 2;
        -ms-grid-column: 3
    }

    .multi-step-form-progress > :nth-child(7) {
        -ms-grid-row: 3
    }

.multi-step-form-progress-btn {
    transition: .15s linear;
    position: relative;
    padding-bottom: 35px;
    text-align: center;
    text-indent: 0;
    border: none;
    background-color: transparent;
    outline: 0 !important;
    cursor: pointer
}

    .multi-step-form-progress-btn span {
        color: #006ba2;
        display: block;
        font-size: 14px;
        line-height: 15px;
        padding-bottom: 10px
    }

    .multi-step-form-progress-btn em {
        font-style: normal;
        font-weight: 700;
        color: #005e85;
        position: absolute;
        bottom: 3px;
        z-index: 4;
        margin-left: -6px;
        font-size: 20px;
        line-height: 22px
    }

    .multi-step-form-progress-btn.js-active em {
        margin-left: -4px;
        color: #fff
    }

@supports (-webkit-overflow-scrolling:touch) {
    .multi-step-form-progress-btn em {
        bottom: 3px
    }
}

@media all and (-ms-high-contrast:none) {
    .multi-step-form-progress-btn em, ::-ms-backdrop {
        margin-left: 45%
    }
}

.multi-step-form-progress-btn:before {
    position: absolute;
    bottom: 0;
    left: 50%;
    display: block;
    width: 30px;
    height: 30px;
    content: '';
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    transition: .15s linear,transform .15s cubic-bezier(.05, 1.09, .16, 1.4),-webkit-transform .15s cubic-bezier(.05, 1.09, .16, 1.4);
    border: 2px solid transparent;
    border-radius: 50%;
    background-color: #fff;
    box-sizing: border-box;
    z-index: 3
}

.multi-step-form-progress-btn:after {
    position: absolute;
    bottom: 15px;
    left: calc(-50% - 30px / 2);
    transition: .15s linear;
    display: block;
    width: 100%;
    height: 2px;
    content: '';
    background-color: currentColor;
    z-index: 1
}

.multi-step-form-progress-btn.js-active {
    color: currentColor
}

.multi-step-form-progress-btn:first-child:after {
    display: none
}

.multi-step-form-progress-btn.js-active:before {
    -webkit-transform: translateX(-50%) scale(1.2);
    transform: translateX(-50%) scale(1.2);
    background-color: currentColor
}

.multi-step-form-form {
    position: relative;
    height: 100% !important
}

.multi-step-form-panel {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #d4e6f2;
    opacity: 0;
    display: none;
    visibility: hidden
}

    .multi-step-form-panel.js-active {
        height: auto;
        opacity: 1;
        visibility: visible;
        display: block
    }

    .multi-step-form-panel[data-animation=scaleOut] {
        -webkit-transform: scale(1.1);
        transform: scale(1.1)
    }

        .multi-step-form-panel[data-animation=scaleIn].js-active, .multi-step-form-panel[data-animation=scaleOut].js-active {
            transition: .2s linear;
            -webkit-transform: scale(1);
            transform: scale(1)
        }

    .multi-step-form-panel[data-animation=slideHorz] {
        left: 50px
    }

        .multi-step-form-panel[data-animation=slideHorz].js-active {
            transition: .25s cubic-bezier(0.2,1.13,0.38,1.43);
            left: 0
        }

    .multi-step-form-panel[data-animation=slideVert] {
        top: 30px
    }

        .multi-step-form-panel[data-animation=slideVert].js-active {
            transition: .2s linear;
            top: 0
        }

    .multi-step-form-panel[data-animation=fadeIn].js-active {
        transition: .3s linear
    }

    .multi-step-form-panel[data-animation=scaleIn] {
        -webkit-transform: scale(.9);
        transform: scale(.9)
    }

    .multi-step-form-panel .button-row {
        padding: 20px
    }

.multi-step-form {
    padding-top: 50px;
    padding-bottom: 50px;
    z-index: 3;
    position: relative
}

.donation-details .nav-pills .nav-link {
    display: block;
    padding: 1rem;
    color: #005e85;
    background: #fff;
    margin: 0 1px;
    font-size: 16px;
    line-height: 18px;
    border-radius: 0;
    font-weight: 600
}

    .donation-details .nav-pills .nav-link:first-child {
        border-top-left-radius: 15px !important;
        border-bottom-left-radius: 15px !important
    }

    .donation-details .nav-pills .nav-link:last-child {
        border-top-right-radius: 15px !important;
        border-bottom-right-radius: 15px !important
    }

.donation-details .nav-pills {
    border-bottom: 0 solid #e5e4ea;
    margin: 0 5px;
    padding-bottom: 18px
}

    .donation-details .nav-pills .nav-link.active, .donation-details .nav-pills .show > .nav-link {
        background: #005e85;
        color: #fff
    }

.donation-details .card p {
    font-size: 18px;
    line-height: 24px
}

.donation-details .no-gutters > .col, .donation-details .no-gutters > [class*=col-] {
    padding-right: 5px;
    padding-left: 5px
}

.donation-banner .info .base-text {
    max-width: 800px
}

@media (max-width:991px) {
    .class-donate .section-page-header {
        padding: 90px 0 0;
        margin-top: 52px
    }

        .class-donate .section-page-header h1 {
            padding-bottom: 130px
        }

    .class-donate .multi-step-form {
        margin-top: 0
    }
}

.preselected-value.selectedvalue .card, .preselected-value.selectedvalue:hover .card {
    border-color: #006ba2
}

.paymethod {
    border: 2px solid transparent;
    padding: 20px;
    border-radius: 4px;
    background-color: #fff;
    text-align: center;
    margin-bottom: 20px
}

    .paymethod:hover {
        cursor: pointer
    }

    .paymethod img {
        width: 70px;
        display: block;
        margin: 0 auto 15px
    }

    .paymethod.paymethod-active {
        border: 2px solid #006ba2
    }

.separator {
    text-align: center;
    height: 18px;
    border-bottom: 2px solid #006ba2;
    margin-top: 30px;
    margin-bottom: 35px;
    font-size: 18px
}

    .separator:first-line {
        background-color: #d4e6f2
    }

    .separator:after, .separator:before {
        content: "__";
        color: #d4e6f2
    }

.donateform-heights .form-control {
    height: 50px;
    padding: .75rem 1.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #005e85;
    border: 2px solid #006ba2;
    border-radius: 50px
}

.donateform-heights select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") no-repeat #fff;
    background-position-x: calc(100% - 15px);
    background-position-y: 10px
}

.btn-primary {
    color: #fff;
    background-color: #006ba2;
    border-color: #006ba2
}

.multi-step-form-panel .button-row .btn-primary {
    color: #fff;
    background-color: #009c8a !important;
    border-color: #009c8a !important
}

    .btn-primary:hover, .multi-step-form-panel .button-row .btn-primary:hover {
        color: #fff;
        background-color: #2e2e2e !important;
        border-color: #2e2e2e !important
    }

.dd-pay .btn.btn-primary.disabled {
    background: #e1e1e1;
    color: #bdbdbd;
    border-bottom: 3px solid #d2d2d2;
    pointer-events: none
}

.dd-statement {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    font-size: 16px
}

    .dd-statement ul {
        margin: 20px;
        padding: 0
    }

        .dd-statement ul li {
            margin: 0;
            padding: 0
        }

.dd-pay input[type=checkbox] {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-top: 20px
}

.donation-form-header-container {
    display: flex;
    flex-direction: column
}

.donation-form-header-logo {
    flex: 1;
    margin-top: 3rem;
}

    .donation-form-header-logo img {
        max-width: 11em;
    }

.donation-form-header-text {
    display: flex;
    justify-content: space-between;
    flex-direction: row
}

.donation-form-header-secure {
    display: flex;
    gap: 0.5rem;
    align-items: center
}

.donation-secure-icon::before {
    content: url(../images/lock-icon.svg);
    width: 25px;
    height: 25px;
    top: -10px;
    position: relative;
    display: block
}
