.contract-withdrawal-page {
    box-sizing: border-box;
    max-width: 920px;
    margin: 20px auto 60px;
    color: #333;
    font-size: 14px;
    line-height: 1.55;
}

.contract-withdrawal-page *,
.contract-withdrawal-page *:before,
.contract-withdrawal-page *:after {
    box-sizing: border-box;
}

.contract-withdrawal-page .page-title {
    float: none;
    width: 100%;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
}

.contract-withdrawal-page .page-title h1 {
    margin: 0;
    padding: 0 0 12px;
    border-bottom: 1px solid #e6e6e6;
    color: #333;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.25;
    text-transform: none;
}

.cw-page-header {
    margin-bottom: 24px;
}

.cw-intro,
.cw-confirm-intro {
    max-width: 760px;
    color: #666;
    font-size: 15px;
}

.cw-submissions-link {
    display: inline-block;
    margin-top: 12px;
    color: #d4a3a9;
    font-weight: 700;
    text-decoration: underline;
}

.cw-submissions-link:hover,
.cw-submissions-link:focus {
    color: #333;
}

.cw-process {
    display: flex;
    margin: 0 0 18px;
    padding: 0;
    overflow: hidden;
    list-style: none;
    border: 1px solid #e2e2e2;
    background: #fff;
}

.cw-process__step {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 112px;
    padding: 20px 18px 18px 56px;
    flex: 1 1 33.333%;
    flex-direction: column;
    border-top: 3px solid transparent;
}

.cw-process__step + .cw-process__step {
    border-left: 1px solid #e7e7e7;
}

.cw-process__step--active {
    border-top-color: #d4a3a9;
    background: #fbf7f8;
}

.cw-process__step--complete {
    border-top-color: #3689C3;
    background: #f6fbff;
}

.cw-process__number,
.cw-declaration > span,
.cw-information-icon,
.cw-privacy__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
}

.cw-process__number {
    position: absolute;
    top: 19px;
    left: 18px;
    width: 27px;
    height: 27px;
    background: #3689C3;
    font-size: 12px;
}

.cw-process__step--active .cw-process__number {
    background: #d4a3a9;
}

.cw-process__step strong {
    display: block;
    margin-bottom: 6px;
    color: #333;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.cw-process__step > span:last-child {
    color: #777;
    font-size: 12px;
    line-height: 1.45;
}

.cw-section {
    margin: 30px 0 18px;
    padding: 0;
    border: 0;
    background: transparent;
}

.cw-section__title {
    display: block;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    color: #333;
    font-size: 30px;
    font-weight: 300;
    line-height: 1.25;
    text-transform: none;
}

.cw-section__title > span {
    display: inline;
    width: auto;
    height: auto;
    margin-right: 8px;
    background: none;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.cw-grid {
    display: flex;
    margin: 0 -10px -18px;
    flex-wrap: wrap;
}

.cw-field {
    position: relative;
    width: 50%;
    margin-bottom: 18px;
    padding: 0 10px;
}

.cw-field--full {
    width: 100%;
}

.cw-field label {
    display: block;
    margin: 0 0 7px;
    color: #555;
    font-size: 13px;
    font-weight: 700;
}

.cw-field label em,
.cw-submit .required em {
    margin-right: 4px;
    color: #d4a3a9;
    font-style: normal;
}

.contract-withdrawal-page .cw-field input.input-text,
.contract-withdrawal-page .cw-field select,
.contract-withdrawal-page .cw-field textarea {
    display: block;
    width: 100%;
    max-width: none;
    min-height: 44px;
    margin: 0;
    padding: 10px 13px;
    border: 1px solid #d7d7d7;
    border-radius: 0;
    background: #fff;
    color: #333;
    font-size: 14px;
    line-height: 1.45;
    box-shadow: none;
}

.contract-withdrawal-page .cw-field textarea {
    min-height: 100px;
    resize: vertical;
}

.contract-withdrawal-page .cw-field input:focus,
.contract-withdrawal-page .cw-field select:focus,
.contract-withdrawal-page .cw-field textarea:focus,
.cw-products input.input-text:focus {
    border-color: #d4a3a9;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(212, 163, 169, .18);
}

.cw-lookup-message {
    margin-top: 7px;
    padding: 8px 10px;
    font-size: 12px;
}

.cw-table-wrap {
    width: 100%;
    margin-bottom: 20px;
    overflow-x: auto;
}

.cw-products {
    width: 100%;
    table-layout: fixed;
    border: 1px solid #ddd;
    border-collapse: collapse;
}

.cw-products th,
.cw-products td {
    padding: 8px;
    border: 1px solid #ddd;
    vertical-align: middle;
}

.cw-products th {
    background: #f5f5f5;
    color: #444;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
}

.cw-products th:nth-child(1) { width: 39%; }
.cw-products th:nth-child(2) { width: 20%; }
.cw-products th:nth-child(3) { width: 11%; }
.cw-products th:nth-child(4) { width: 20%; }
.cw-products th:nth-child(5) { width: 10%; }

.cw-products input.input-text {
    width: 100%;
    min-width: 0;
    height: 38px;
    margin: 0;
    padding: 7px 9px;
    border: 1px solid #d7d7d7;
    background: #fff;
    box-shadow: none;
}

.cw-products .cw-remove.button {
    display: block;
    width: 36px;
    min-width: 0;
    height: 36px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    overflow: hidden;
    line-height: 36px;
}

.cw-products .cw-remove.button:focus {
    outline: 0;
}

.cw-products .cw-remove.button > span,
.cw-products .cw-remove.button > span > span {
    display: block;
    width: 36px;
    height: 36px;
    min-width: 0;
    padding: 0;
    line-height: 36px;
    text-align: center;
}

.cw-products .cw-remove.button .fa {
    display: block;
    font-size: 15px;
    line-height: 36px;
}

@media only screen and (min-width: 771px) {
    .cw-products td:last-child {
        text-align: center;
    }
}

@media only screen and (max-width: 770px) {
    .cw-products .cw-remove.button {
        display: block;
        width: 36px;
        min-width: 0;
        height: 36px;
        margin: 0;
        padding: 0;
        line-height: 36px;
    }

    .cw-products .cw-remove.button > span,
    .cw-products .cw-remove.button > span > span {
        width: 36px;
        height: 36px;
        padding: 0;
        line-height: 36px;
    }

    .cw-products .cw-remove.button .fa {
        line-height: 36px;
    }
}

.cw-submit {
    clear: both;
    margin: 10px 0 0;
    padding: 5px 0 28px;
    text-align: right;
}

.cw-submit .required {
    margin: 0 0 11px;
    color: #777;
    font-size: 12px;
}

.contract-withdrawal-page button.button > span {
    line-height: 36px;
    padding: 0 18px;
}

.contract-withdrawal-page .cw-add-button {
    margin-top: 14px;
}

.cw-products .cw-remove.button > span,
.cw-products .cw-remove.button > span > span {
    padding: 0;
}

.cw-important,
.cw-privacy,
.cw-declaration {
    display: flex;
    align-items: flex-start;
}

.cw-important {
    margin-bottom: 14px;
    padding: 18px 20px;
    border: 1px solid #d8e6ef;
    border-left: 4px solid #3689C3;
    background: #f6fbff;
}

.cw-important strong {
    display: block;
    color: #333;
    font-size: 17px;
    font-weight: 400;
}

.cw-important p,
.cw-privacy p {
    margin: 5px 0 0;
}

.cw-information-icon,
.cw-privacy__icon {
    width: 30px;
    height: 30px;
    margin: 0 13px 0 0;
    flex: 0 0 30px;
}

.cw-information-icon {
    background: #3689C3;
    font-family: Georgia, serif;
    font-size: 19px;
    font-style: italic;
}

.cw-privacy {
    padding: 18px 20px;
    border: 1px solid #efd3e1;
    border-left: 4px solid #d4a3a9;
    background: #fbf7f8;
}

.cw-privacy__icon {
    background: #d4a3a9;
    font-size: 14px;
}

.cw-privacy a {
    color: #d4a3a9;
    font-weight: 700;
    text-decoration: underline;
}

.cw-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}

.cw-declaration {
    margin: 0 0 14px;
    padding: 17px 19px;
    align-items: center;
    border: 1px solid #efd3e1;
    background: #fbf7f8;
}

.cw-declaration > span {
    width: 30px;
    height: 30px;
    margin-right: 12px;
    flex: 0 0 30px;
    background: #d4a3a9;
}

.cw-declaration p {
    margin: 0;
}

.cw-summary {
    display: flex;
    margin: 0 -12px -20px;
    flex-wrap: wrap;
}

.cw-summary > div {
    width: 50%;
    margin: 0 0 20px;
    padding: 0 12px;
}

.cw-summary > .cw-summary__full {
    width: 100%;
}

.cw-summary dt {
    margin: 0 0 4px;
    color: #777;
    font-size: 12px;
    font-weight: 700;
}

.cw-summary dd {
    margin: 0;
    color: #333;
    font-size: 15px;
}

.cw-summary__account-number {
    overflow-wrap: anywhere;
}

.cw-confirm-actions {
    padding-top: 12px;
}

.cw-confirm-actions .back-link,
.cw-view-actions .back-link {
    float: left;
    margin: 0;
}

.cw-view-header {
    display: flex;
    margin-bottom: 24px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.contract-withdrawal-page .cw-view-header .page-title {
    margin-bottom: 0;
    flex: 1 1 auto;
}

.cw-status {
    display: inline-flex;
    min-height: 34px;
    margin-bottom: 13px;
    padding: 7px 16px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 17px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.cw-view-overview {
    display: flex;
    margin-bottom: 14px;
    border-top: 3px solid #d4a3a9;
    background: #333;
}

.cw-view-overview > div {
    width: 33.333%;
    min-width: 0;
    padding: 18px 20px;
}

.cw-view-overview > div + div {
    border-left: 1px solid #555;
}

.cw-view-overview span,
.cw-view-overview strong {
    display: block;
}

.cw-view-overview span {
    margin-bottom: 6px;
    color: #ccc;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.cw-view-overview strong {
    overflow-wrap: anywhere;
    color: #fff;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.35;
}

.cw-view-actions {
    padding-top: 8px;
}

@media only screen and (max-width: 770px) {
    .contract-withdrawal-page {
        margin: 10px auto 40px;
        padding: 0 15px;
    }

    .contract-withdrawal-page .page-title h1 {
        font-size: 26px;
    }

    .cw-process {
        display: block;
    }

    .cw-process__step {
        min-height: 0;
        border-top: 1px solid #e5e5e5;
        border-left: 4px solid transparent;
    }

    .cw-process__step:first-child {
        border-top: 0;
    }

    .cw-process__step + .cw-process__step {
        border-left: 4px solid transparent;
    }

    .cw-process__step--active {
        border-left-color: #d4a3a9;
    }

    .cw-process__step--complete {
        border-left-color: #3689C3;
    }

    .cw-section {
        margin-top: 26px;
        padding: 0;
    }

    .cw-section__title {
        font-size: 26px;
        line-height: 1.25;
    }

    .cw-grid {
        display: block;
        margin: 0;
    }

    .cw-field {
        width: 100%;
        padding: 0;
    }

    .cw-products,
    .cw-products tbody,
    .cw-products tr,
    .cw-products td {
        display: block;
        width: 100%;
    }

    .cw-products {
        border: 0;
    }

    .cw-products thead {
        display: none;
    }

    .cw-products tr {
        margin-bottom: 13px;
        padding: 9px 11px;
        border: 1px solid #ddd;
        background: #fafafa;
    }

    .cw-products td {
        display: flex;
        padding: 6px 0;
        align-items: center;
        border: 0;
        text-align: left;
    }

    .cw-products td:before {
        width: 88px;
        padding-right: 10px;
        flex: 0 0 88px;
        color: #444;
        content: attr(data-label);
        font-size: 12px;
        font-weight: 700;
    }

    .cw-summary {
        display: block;
        margin-right: 0;
        margin-left: 0;
    }

    .cw-summary > div {
        width: 100%;
        padding: 0;
    }

    .contract-withdrawal-page button.button {
        width: 100%;
        min-width: 0;
    }

    .cw-products .cw-remove.button {
        width: 36px;
        min-width: 0;
    }

    .cw-confirm-actions .back-link,
    .cw-view-actions .back-link {
        float: none;
        display: block;
        margin: 10px 0 0;
        text-align: left;
    }

    .cw-view-header,
    .cw-view-overview {
        display: block;
    }

    .cw-view-header .cw-status {
        margin: 14px 0 0;
    }

    .cw-view-overview > div {
        width: 100%;
        padding: 16px 18px;
    }

    .cw-view-overview > div + div {
        border-top: 1px solid #555;
        border-left: 0;
    }
}
