[hidden] {
    display: none !important;
}

.display-none {
    display: none;
}

.dekstop {
    display: block;
}

.mobile {
    display: none;
}

html {
    --primary-deep-blue: #2a2f49;
    --primary-money-green: #6ec064;
    --primary-warm-gray: #6d6e71;
    --secondary-deep-purple: #64297f;
    --secondary-magenta: #9e2e71;
    --secondary-soft-red: #d55e61;
    --secondary-soft-orange: #f68e50;
    --secondary-soft-yellow: #fda144;
    --tertiary-deep-purple: #64297f;
    --tertiary-magenta: 9e2e71;
    --tertiary-soft-red: #d55e61;
    --tertiary-soft-orange: #f68e50;
    --tertiary-soft-yellow: #fda144;
    --main-background-color: var(--primary-deep-blue);
    font-family: Grifter, sans-serif;
    /* font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif; */
    /*width: 100%;*/
    height: 100%;

}

body {
    display: grid;
    grid-template-areas:
        "header header"
        "side content";
    margin: 0;
    grid-template-columns: min-content auto;
    height: 100%;
}

/* Blazor error div */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* errors */
div.errors {
    color: #ff0000;
    font-weight: bold;
    margin-bottom: 16px;
}

/* wait */
div.wait {
    display: flex;
    flex-grow: 1;
    align-content: center;
    align-items: center;
    justify-content: center;
    justify-items: center;
}

div.wait img {
    width: 80px;
}

/* checkbox switch */
.checkbox-switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 28px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.checkbox-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 34px;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .checkbox-slider:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 4px;
        bottom: 4px;
        border-radius: 50%;
        background-color: #777;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .checkbox-slider {
    background-color: #ccc;
}

input:focus + .checkbox-slider {
    box-shadow: 0 0 1px #ccc;
}

input:checked + .checkbox-slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* headings */
h1 {
    /*font-family: Montserrat;*/
    line-height: 48px;
    font-weight: 800;
    font-style: normal;
    font-size: 42px;
}

    h1:focus {
        outline: none;
    }

h2 {
    /*font-family: Montserrat;*/
    line-height: 36px;
    font-weight: 800;
    font-style: normal;
    font-size: 32px;
}

h3 {
    /*font-family: Montserrat;*/
    line-height: 26px;
    font-weight: 700;
    font-style: normal;
    font-size: 26px;
}

p {
    /*font-family: Montserrat;*/
    line-height: 28px;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
}

/* standard a */
a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

/* buttons */
.buttons {
    display: flex;
}

a.button {
    cursor: pointer;
    display: inline-block;
    position: relative;
    line-height: 32px;
    padding: 14px 35px;
    border: 6px solid #6ec063;
    border-radius: 30px;
    white-space: nowrap;
    font-size: 14pt;
    text-decoration: none;
    font-weight: bold;
    background-color: #6ec063;
    color: #fff;
}

    a.button.light {
        border: 6px solid #6ec063;
        background-color: #2a2f49;
        color: #6ec063;
    }

    a.button:hover {
        border: 6px solid rgba(80,162,69,1);
        background-color: rgba(80,162,69,1);
    }

    a.button.light:hover {
        color: #fff;
    }

    a.button.invalid {
        cursor: default;
        background-color: #bbb;
        border: 6px solid #bbb;
    }

    a.button.medium {
        margin: 0;
        line-height: 20px;
        padding: 12px 21px;
        font-size: 14px;
    }

    a.button.small {
        border-radius: 12px;
        font-size: 14px;
        line-height: 14px;
        margin: 0;
        padding: 8px 14px;
    }

    a.button.medium {
        border-radius: 12px;
        font-size: 14px;
        line-height: 14px;
        margin: 0;
        padding: 8px 14px;
    }

    a.button.icon {
        border-radius: 8px;
        display: block;
        font-size: 14pt;
        line-height: 32px;
        margin: 0;
        padding: 0;
        text-align: center;
        height: 32px;
        width: 32px;
    }
    a.button.icon.medium {
        border-radius: 8px;
        display: block;
        font-size: 14pt;
        line-height: 32px;
        margin: 0;
        padding: 0;
        text-align: center;
        height: 32px;
        width: 48px;
    }

        a.button.icon:not(:first-of-type) {
            margin-left: 4px;
        }

    a.button.debt-freedom {
        margin: 12px 0;
    }

    a.button.intro {
        padding: 14px 35px;
    }

/* enhancements */
.hidden {
    display: none;
}

.required {
    color: red;
}

.strong {
    font-weight: bold;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.clickable {
    cursor: pointer;
}

.warning {
    color: red;
}

/* inputs */
input {
    font-family: Grifter, sans-serif;
}

    input[type=text] {
        padding: 4px;
        width: 200px;
    }

    input[type=number] {
        padding: 4px;
        text-align: right;
        width: 70px;
    }

    input.numeric {
        text-align: right;
    }

    input.readonly {
        pointer-events: none;
    }

    input.street {
        max-width: 366px;
        width: calc(100% - 8px);
    }

    input.city {
        width: 200px;
    }

    input.postal-code {
        width: 75px;
    }

    input.phone {
        width: 200px;
    }

    input.email {
        width: 200px;
    }

    input.branding-info {
        width: 300px;
    }

.upload-files {
    background-color: palegreen;
}

select {
    padding: 4px;
    width: 212px;
}

    select.state {
        width: 64px;
    }

textarea {
    font-family: Grifter, sans-serif;
    padding: 4px;
    vertical-align: top;
}

    textarea.professional-info {
        width: 700px;
        max-width: 700px;
        min-width: 700px;
        height: 120px;
        max-height: 120px;
        min-height: 120px;
    }

/* form overrides */
.form .label-value .value::deep select.state:invalid {
    color: gray;
}

/* dialog */
.dialog {
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    overflow: hidden;
    transform: translate(-50%, -50%);
    z-index: 20;
}

    .dialog .title-bar {
        background-color: #2a2f49;
        color: #fff;
        height: 32px;
        line-height: 32px;
        text-align: center;
    }

    .dialog .form {
        background-color: #fff;
        padding: 24px;
    }

    .dialog .error {
        color: #ff0000;
        margin-top: 8px;
    }

    .dialog .buttons {
        bottom: 0;
        display: flex;
        justify-content: right;
        left: 0;
        padding: 12px;
        position: absolute;
        right: 0;
    }

        .dialog .buttons .button {
            text-align: center;
        }

            .dialog .buttons .button:not(:first-of-type) {
                margin-left: 4px;
            }

/* label-value */
.label-value-set {
    display: table;
    width: fit-content;
}

.label-value {
    display: table-row;
}

    .label-value .label {
        display: table-cell;
        white-space: nowrap;
        /*vertical-align: top;*/
    }

        .label-value .label.indent {
            padding-left: 16px;
        }

    .label-value .value {

        display: table-cell;
        padding: 0 0 8px 16px;
    }

        .label-value .value .note {
            margin: 8px 0;
        }

            .label-value .value .note:first-of-type {
                margin-top: 32px;
            }

    .label-value .buttons {
        display: table-cell;
        padding: 0 0 8px 16px;
    }

.label-value-set:not(:first-child) .key, .label-value-set:not(:first-child) .value {
    padding-bottom: 8px;
}

/* rounded container */
.rounded-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

    .rounded-container.graph {
        align-items: center;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        margin: 10px;
        padding: 24px;
    }

    .rounded-container.input {
        align-items: flex-start;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        margin: 10px;
        padding: 24px;
    }

.graph {
    /*width: calc(100% - 48px);*/
    /*overflow: hidden;*/
    align-items: center;
/*    background-color: #484560;*/
    background-color: #fff;
    display: flex;
    flex-direction: column;
    margin: 10px;
    padding: 24px;
    /*height: 100%;*/
    flex: 1;
}

/* page header */
#page-header {
    background-color: #808285;
    color: #fff;
    padding: 0 18px;
}

/* banner and content-box */
.banner, .content-box {
    /*margin-bottom: 1em;*/
    padding: 24px 40px;
    /*overflow: hidden;*/
}

.banner {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 24px 12px;
}

    .banner .left-column {
        min-width: 420px;
        display: flex;
        flex-direction: column;
        flex: 1;
        padding: 40px;
        font-family: Grifter, sans-serif;
    }

    .banner .right-column {
        width: 40%;
        /*background-attachment: fixed;*/
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        margin: -24px -40px -24px 0;
    }

        .banner .right-column .left-edge {
            position: absolute;
            top: 0;
            height: 100%;
            left: 0;
        }

    .banner h1 {
    }

    .banner h2 {
        margin: 0 0 12px 0;
    }

    .banner h3 {
        margin: 15px 0;
    }

    .banner p {
        margin: 12px 0 0 0;
    }

    .content-box h3 {
        margin-bottom: 1em;
        text-align: center;
    }

    .content-box h2 {
        text-align: center;
    }

.content-row {
    display: flex;
}

/* tabs */
.tabs {
    border-radius: 8px;
    /*overflow: hidden;*/
    width: 100%;
    height: 100%;
}

.tab-titles {
    background-color: #6ec063;
    color: white;
    display: flex;
    flex-wrap: wrap;
}

.tab-title {
    cursor: pointer;
    height: 48px;
    line-height: 48px;
    padding: 0 24px;
}

    .tab-title.active {
        background-color: #555;
    }

.tab {
    background-color: #f3f3f3;
    display: flex;
    flex-direction: column;
    padding: 32px;
    height: 100%;
}

    .tab.report {
        align-items: center;
        padding: 32px 64px;
    }

    .tab h3 {
        margin: 16px 0 16px 0;
    }

    .tab h4 {
        margin: 16px 0 8px 0;
    }

/* rainbow */
.rainbow {
}

    .rainbow .title {
        font-size: calc(1.3rem + 0.4vw);
        font-weight: bold;
    }

    .rainbow .value {
        
    }

    .rainbow .highlight {
        padding: 0 8px;
        border-radius: 8px;
    }

    .rainbow:nth-child(n) {
        background-color: #660083;
    }

        .rainbow:nth-child(n) .highlight {
            background-color: #761a90;
        }

    .rainbow:nth-child(2n) {
        background-color: #a12e71;
    }

        .rainbow:nth-child(2n) .highlight {
            background-color: #ab437f;
        }

    .rainbow:nth-child(3n) {
        background-color: #d65d60;
    }

        .rainbow:nth-child(3n) .highlight {
            background-color: #da6e70;
        }

    .rainbow:nth-child(4n) {
        background-color: #f98f50;
    }

        .rainbow:nth-child(4n) .highlight {
            background-color: #fa9a62;
        }

    .rainbow:nth-child(5n) {
        background-color: #ffa143;
    }

        .rainbow:nth-child(5n) .highlight {
            background-color: #ffab56;
        }

    .rainbow:nth-child(6n) {
        background-color: #7d75ba;
    }

        .rainbow:nth-child(6n) .highlight {
            background-color: #857bba;
        }

/* tiles */
.tiles-summary {
    background: linear-gradient(90deg, rgba(194,238,196,1) 0%, rgba(98,209,98,1) 100%);
    color: #000;
    /*font-size: 32px;*/
    font-size: calc(1rem + 0.75vw);
    font-weight: bold;
    padding: 38px 16px;
    text-align: center;
}

    .tiles-summary .highlight {
        background-color: #bbfcbc;
        font-weight: normal;
    }

    .tiles-summary .tile {
        color: #000;
    }

.tiles {
    display: flex;
    flex-wrap: wrap;
    border-radius: 8px;
    margin: 0 -4px;
}

    .tile-set {
        /*background-color: #dcdcdc;*/
        /*border-radius: 8px;*/
        display: flex;
        /*flex-direction: row;*/
        flex-wrap: wrap;
        /*overflow: hidden;*/
        justify-content: center;
        flex: 1;
        /*width: 900px;*/
    }

    .tile-set.column {
        flex-direction:column;
    }
        .tile-set.column {
            border-right: 4px solid #fff;
            border-left: 4px solid #fff;
        }
/*    .tile-set.column:nth-child(odd) {
        border-right: 4px solid #fff;
    }*/

   

    .tile {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        padding: 38px 16px;
        align-items: center;
        color: white;
    }

        .tile.half {
            flex: 1;
            /*width: calc(50% - 32px);*/
        }

        .tile.third {
            flex: 1;
            /*width: calc(33.33333% - 32px);*/
        }

        .tile .title {
            margin-bottom: 12px;
            text-align: center;
            white-space: nowrap;
        }

        .tile .content .value.highlight {
            align-items: center;
            border-radius: 12px;
            display: flex;
            flex-direction: column;
            font-size: calc(1rem + 0.5vw);
            min-width: 100px;
            padding: 2px 16px;
            white-space: nowrap;
        }

        .tile .tile-table {
            display: table;
            width: 100%;
            border-collapse: collapse;
        }

            .tile .tile-table .tile-row {
                display: table-row;
            }

        .tile .tile-row .label, .tile .tile-row .value {
            display: table-cell;
            padding: 4px;
            font-size: 9pt;
        }

        .tile:nth-child(n) .tile-row .label, .tile:nth-child(n) .tile-row .value {
            border: 1px solid #8600ac;
        }

        .tile:nth-child(2n) .tile-row .label, .tile:nth-child(2n) .tile-row .value {
            border: 1px solid #c2478e;
        }

        .tile:nth-child(3n) .tile-row .label, .tile:nth-child(3n) .tile-row .value {
            border: 1px solid #df8183;
        }

        .tile:nth-child(4n) .tile-row .label, .tile:nth-child(4n) .tile-row .value {
            border: 1px solid #fbaf82;
        }

        .tile:nth-child(5n) .tile-row .label, .tile:nth-child(5n) .tile-row .value {
            border: 1px solid #ffba77;
        }

        .tile:nth-child(6n) .tile-row .label, .tile:nth-child(6n) .tile-row .value {
            border: 1px solid #cecae3;
        }

        .tile .tile-row .label {
        }

        .tile .tile-row .value {
        }

/*.box-wide {
    width: 1384px;
}*/
    /* spreadsheet */
    .spreadsheet {
        border-collapse: collapse;
        margin-bottom: 18px;
        position: relative;
    }

        .spreadsheet thead {
            position: sticky;
            top: 0;
        }

        .spreadsheet tr {
            color: #000;
        }

            .spreadsheet tr:nth-child(n) {
                background-color: #f5f5f5;
            }

            .spreadsheet tr:nth-child(2n) {
                background-color: #fff;
            }

            .spreadsheet tr.super-header {
                background-color: transparent;
                text-align: center;
            }

                .spreadsheet tr.super-header th {
                    background-color: #fff;
                    border-top: none;
                }

                    .spreadsheet tr.super-header th.empty {
                        background-color: transparent;
                    }

            .spreadsheet tr.header {
                background-color: #2a2141;
                color: #fff;
                text-align: center;
            }

            .spreadsheet tr.total {
                background-color: #6ec063;
                color: #fff;
                font-weight: bold;
            }

            .spreadsheet tr td, .spreadsheet tr th {
                padding: 8px;
                border: 1px solid #f1f1f1;
                font-weight: normal;
                vertical-align: middle;
                font-size: 11pt;
            }

                .spreadsheet tr td input {
                    font-size: 9pt;
                }

    /* form */
    .form {
        background-color: rgb(230, 231, 231);
    }

        .form .columns {
            display: flex;
            justify-content: space-between;
        }

        .form .step-buttons {
            display: flex;
            margin: 12px 0;
            justify-content: flex-end;
        }

            .form .step-buttons .button {
                margin-left: 12px;
                text-align: center;
            }

        .form .step {
            border-radius: 0.8em;
            border: 1px solid #999;
            padding: 32px;
            /*min-height: 300px;*/
        }

            .form .step .title {
                margin-bottom: 8px;
                font-size: 20px;
                font-weight: bold;
            }

            .form .step .description {
                margin-bottom: 32px;
            }

            .form .step .step-error {
                margin-bottom: 16px;
                color: red;
            }

        .form .column {
            display: flex;
            flex-direction: column;
        }

            .form .column > :not(:first-child) {
                margin-top: 4px;
            }

        .form .row {
            display: flex;
            margin: 0;
            flex-direction: row;
            /*padding-top: 12px;*/
        }

            .form .row > :not(:first-child) {
                margin-left: 4px;
            }

    /* feature */
    .feature {
        margin: 60px auto;
        max-width: 1200px;
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
    }

        .feature h3 {
            max-width: 640px;
            font-size: 20px;
        }

        .feature .separator {
            margin-bottom: 80px;
            width: 75px;
            border-top: 5px solid #000;
        }

    /* icon-box */
    .icon-boxes {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .icon-box {
        margin: 20px 8px;
        align-items: center;
        display: flex;
        flex-direction: column;
        text-align: center;
        width: 275px;
    }

        .icon-box img {
            height: 70px;
            margin-bottom: 12px;
        }

        .icon-box .icon span {
            font-size: 48px;
            font-weight: 400;
        }

        .icon-box .title {
            font-weight: bold;
            height: 32px;
            margin-bottom: 8px;
        }

        .icon-box .description {
            font-size: 16px;
        }

    .icon-boxes.fixed-col-3 .icon-box {
        width: 33.333333333%;
        flex-direction: row;
        align-items: start;
        text-align: left;
    }

    .icon-boxes.fixed-col-3 h3 {
        text-align: left;
    }

    .icon-boxes.fixed-col-3 .icon {
        margin-right: 16px;
    }

    .image-frame.branding {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 200px;
        width: 200px;
        border-radius: 125px;
        overflow: hidden;
    }

    img.branding {
        height: 250px;
    }

    img.logo {
        height: 45px;
    }

    .swal-modal {
        font-family: Grifter, sans-serif;
    }

    .swal-button {
        background-color: var(--primary-money-green);
        font-family: Grifter, sans-serif;
    }

        .swal-button:not([disabled]):hover {
            background-color: rgba(80,162,69,1);
        }

        .swal-button:focus {
            outline: none;
            box-shadow: 0 0 0 1px #fff,0 0 0 3px rgba(80,162,69,1);
        }

    .swal-icon {
        width: 40px;
        height: 40px;
        border-width: 4px;
        border-style: solid;
        border-radius: 50%;
        padding: 0;
        position: relative;
        box-sizing: content-box;
        margin: 20px auto;
        top: 5px;
    }

    .swal-icon--warning__body {
        width: 5px;
        height: 20px;
        top: 5px;
        border-radius: 2px;
        margin-left: -2px;
    }

    .swal-icon--info {
        border-color: rgba(80,162,69,1);
    }

        .swal-icon--info:after, .swal-icon--info:before {
            content: "";
            position: absolute;
            left: 50%;
            background-color: rgba(80,162,69,1);
        }

        .swal-icon--info:before {
            top: 5px;
            height: 20px;
        }

        .swal-icon--info:after {
            top: 27px;
        }

    /* Widgets */
    .widgets {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .widget {
        align-items: flex-start;
        display: flex;
        flex-direction: column;
        margin: 0 16px 32px 16px;
    }

        .widget .title {
            margin: 0 0 8px 16px;
            font-size: 10pt;
        }

        .widget iframe, .widget .iframe-placeholder {
            border: 1px solid #bbb;
            border-radius: 8px;
        }

    .widget-companion {
        align-items: flex-start;
        border: 1px solid #bbb;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        margin: 0 16px 32px 16px;
    }

        .widget-companion .text {
            padding: 16px;
        }
.mobile {
    display: none;
}

@media (max-width: 1125px) {
    .form .column > :not(:first-child) {
        margin-top: 0;
    }

    .rounded-container.graph {
        margin: 0;
        padding: 0;
    }

    #carousel {
        display: none;
    }
    .step {
        color: white;
    }
    .step input {
        width: 100%;
        box-sizing: border-box;
    }
    #debtEntry .description {
        margin: 0;
    }
    .divider {
        border-top: 8px solid white;
        border-radius: 5px;
        width: 80%;
        margin: 16px auto;
    }

    .form {
        background-color: #484560;
    }
    .form .step {
        padding: 0;
        border: 0;
    }

        .form .step .title {
            padding: 8px 18px;
            font-weight: 800;
            font-size: 18pt;
            white-space: normal;
        }


    .form .step-buttons {
        justify-content: space-evenly;
        margin: 12px;
    }
    body {
        grid-template-columns: 1fr;
        grid-template-areas: "header"
            "content";
        grid-template-rows: min-content;
    }

    .tab-title {
        padding: 0 12px;
    }

    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

    .banner .right-column {
        display: none;
    }

    h2 {
        font-size: 18pt;
        line-height: 22pt;
    }

    h3 {
        font-size: 14pt;
        line-height: 18pt;
    }

    p {
        line-height: 16pt;
        font-size: 12pt;
    }

    textarea.professional-info {
        width: 200px;
        max-width: 200px;
        min-width: 200px;
        height: 400px;
        max-height: 400px;
        min-height: 400px;
    }

    .banner .left-column {
        align-items: center;
        min-width: unset;
        padding: 16px;
        text-align: center;
    }

        .banner .left-column h2 {
            margin-bottom: 12px;
        }

        .banner .left-column h3 {
            margin-bottom: 12px;
        }

        .banner .left-column p {
            margin-bottom: 12px;
        }

    a.button.sign-in {
        font-size: 10pt;
    }

    a.button {
        margin: 4px 0;
        padding: 8px 16px;
    }

        a.button.intro {
            margin: 4px 0;
            padding: 8px 65px 8px 15px;
        }

            a.button.intro img {
                height: 32px;
                position: absolute;
                top: 8px;
                right: 16px;
            }

    .content-box {
        border-radius: 0;
        padding: 0 8px;
    }

    .contenxt-box::after {
        padding: 12px 24px;
    }

    .highlight {
        margin: 0 auto;
    }

    .box-wide {
        width: 100%;
    }

    .graph {
        background-color: var(--main-background-color);
        padding: 8px;
    }

    .tiles {
        flex-wrap: wrap;
        flex-direction: column;
    }

    .tile-set {
        flex-direction: column;
    }

        .tile-set.column {
            border-right: unset;
            border-left: unset;
        }
}

