:root {
    /*  --mallard-blue: rgb(51, 97, 148);
    --mallard-purple: rgb(137, 44, 80);
    --mallard-pink: rgba(216, 159, 191);
  */
    --primary: #990e5e;
    --secondary: #1b154a;
    --dark: #0d0928;
    --mallard-font-family: RobotoFallback, Verdana;
}

body {
    /*padding-top: 10px;*/
    /*padding-bottom: 20px;*/
    /*background-color: var();*/
    font-family: Verdana !important;
}

div .error-summary {
    width: auto;
    border: 7px solid #8B0000;
    background-color: #FAA0A0;
    padding: 10px;
    margin: auto !important;
    text-align: center;
    font-weight: bold;
}

@media (max-width: 300px) {
    .logo {
        width: 80%;
    }
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}
.dx-texteditor-input-container {
    min-height: 2rem;
}
    /* Set width on the form input elements since they're 100% wide by default */
    input,
    select,
    textarea {
        max-width: 280px;
    }
.pdf {
    height: 100%;
    width: 100%;
    margin: 2em auto;
    border: 1px solid #999999;
}

    .pdf .content {
        padding: 0.4rem;
        line-height: 1.5;
        font-size: 14px;
    }

        .pdf .content h1 {
            font-size: 14px;
            font-weight: bold;
            padding-bottom: 2px;
        }

        .pdf .content h2 {
            font-size: 12px;
            font-weight: bold;
            padding-bottom: 2px;
        }

        .pdf .content h3 {
            font-size: 12px;
            font-weight: bold;
            padding-bottom: 2px;
        }

        .pdf .content p {
            font-size: 14px;
            padding-bottom: 5px;
        }

        .pdf .content ol, 
        .pdf .content ul {
            list-style: display;
            padding-left: 40px;
        }

        .pdf .content li {
            font-size: 14px;
            padding: 5px 5px;
        }


        .pdf .content b {
            font-weight: bold !important;
        }

        .pdf .content strong {
            font-weight: bold !important;
        }

        .pdf .content table {
            font-size: 10px;
            padding-bottom: 2px;
            margin: 1rem;
            display: flex;
            flex-direction: column;
            overflow: scroll;
        }

            .pdf .content table tr td {
                padding: 0.1rem;
            }


#scrollview {
    height: 70vh;
}

#chkTerms {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

#SignedBy {
    width: 100%;
    font-size: 1rem;
    margin: 5px 0;
    padding: 0 5px;
    /*padding: 0.2rem;*/
    /*margin-top: 10px;*/
    /*margin-bottom: 10px;*/
}
#v5Number {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.whereToFind > img {
    width: 70svw;
}
@media (min-width: 768px) {
    .whereToFind > img {
        width: auto;
    }
    .pdf .content {
        padding: 1rem;
    }
    .pdf .content h1 {
        font-size: 18px;
        font-weight: bold;
        padding-bottom: 5px;
    }

    .pdf .content h2 {
        font-size: 16px;
        font-weight: bold;
        padding-bottom: 5px;
    }

    .pdf .content h3 {
        font-size: 16px;
        font-weight: bold;
        padding-bottom: 5px;
    }

    .pdf .content p  {
        font-size: 14px;
        padding-bottom: 5px;
    }
    .pdf .content  ul  li {
        font-size: 14px;
        padding-bottom: 5px;
    }

    .pdf .content table {
        font-size: 14px;
        padding-bottom: 5px;
        overflow: hidden;
    }
        .pdf .content table tr td {
            padding: 0.3rem;
        }
    #chkTerms {
        width: 50%;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    #SignedBy {
        width: 50%;
        font-size: 1rem;
        margin: 5px 0;
        padding: 2px 5px;
    }


    #v5Number {
        width: 50%;
        margin-top: 10px;
        margin-bottom: 10px;
    }
   
    #btnSubmit {
        width: 50%;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .half-width {
        width: 50%;
        margin-top: 10px;
        margin-bottom: 10px;
    }
}



.dx-button {
    padding: 7px 15px;
    display: flex;
    align-self: center;
    align-content: center;
    height: auto;
}
.dx-button-has-text .dx-button-content {
    overflow: visible;
}
.UPPER input {
    text-transform: uppercase;
}

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;    
}

.container-fluid {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.page-header {
    padding-bottom: 9px;
    margin: 10px 0 20px;
    border-bottom: 1px solid #eeeeee;
}

.page-footer {
    padding-top: 9px;
    /*margin: 10px 0 20px;*/
    border-top: 1px solid #eeeeee;
}


@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

.jumbotron {
    color: inherit;
    min-width: 60svw;
    max-width: 80svw;
    background-color: #fff;
    padding: 1rem;
}

    .jumbotron h1,
    .jumbotron .h1 {
        color: inherit;
        font-weight: 400;
        flex-wrap: wrap;
        font-size: 1.2rem;
    }

    .jumbotron h2,
    .jumbotron .h2 {
        color: inherit;
        font-weight: 300;
        font-size: 1rem;
    }

    .jumbotron h3,
    .jumbotron .h3 {
        color: inherit;
        font-weight: 100;
        font-size: 0.8rem;
    }

    .jumbotron p,
    .jumbotron .p {
        color: inherit;
        margin: 10px 0;
        font-size: 0.8rem;
        font-weight: 200;
    }


    .jumbotron > hr {
        border-top-color: #d5d5d5;
    }

    .jumbotron strong {
        font-weight: bold !important;
        line-height: 1.3rem;
    }

    .jumbotron .example {
        font-weight: 400;
        color: #6f777b;
    }

    .jumbotron .horizontal-center {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: left;
        width: 100%;
    }

.container .jumbotron,
.container-fluid .jumbotron {
    padding-right: 15px;
    padding-left: 15px;
    border-radius: 6px;
}

.jumbotron .container {
    max-width: 100%;
}

.container .jumbotron,
.container-fluid .jumbotron {
    padding-right: 15px;
    padding-left: 15px;
    border-radius: 6px;
}

.jumbotron .container {
    max-width: 100%;
}

.colStatus {
    width: 45px;
    vertical-align: top;
    overflow: clip;
    text-overflow: clip !important;
}

@media screen and (min-width: 768px) {
    .jumbotron {
       padding: 1rem 2rem;
    }

    .container .jumbotron,
    .container-fluid .jumbotron {
        padding-right: 40px;
        padding-left: 40px;
    }

    .jumbotron h1,
    .jumbotron .h1 {
        color: inherit;
        font-weight: 400;
        flex-wrap: wrap;
        font-size: 1.8rem;
    }

    .jumbotron h2,
    .jumbotron .h2 {
        color: inherit;
        font-weight: 300;
        font-size: 1.6rem;
    }

    .jumbotron h3,
    .jumbotron .h3 {
        color: inherit;
        font-weight: 100;
        font-size: 1.4rem;
    }

    .jumbotron p,
    .jumbotron .p {
        color: inherit;
        margin: 10px 0;
        font-size: 1rem;
        font-weight: 200;
    }


    .colStatus {
        width: 60px;
        overflow: clip;
        text-overflow: clip !important;
    }
}

.login-body {
    padding: 1rem 0;
}
    .login-body input{
        height: 2rem;
    }


.footer-buttons {
    display: flex;
    justify-content: space-between;
    align-content: center;
}
.dx-datagrid-headers .dx-datagrid-table .dx-row > td:hover:not(.dx-command-select):not(.dx-command-expand):not(.dx-editor-cell):not(.dx-command-edit):not(.dx-datagrid-group-space) {
     background-color: transparent; 
}
.dx-datagrid-headers .dx-datagrid-table .dx-row > td .dx-sort, .dx-datagrid-headers .dx-datagrid-table .dx-row > td .dx-sort-indicator, .dx-datagrid-headers .dx-datagrid-table .dx-row > td:hover .dx-datagrid-text-content {
    color:rgba(0, 0, 0, .6) ;
}

.dx-dropdownlist-popup-wrapper .dx-list:not(.dx-list-select-decorator-enabled) .dx-list-item-content {
    padding-left: 7px;
    padding-right: 7px;
}

.custom-item {
    position: relative;
    min-height: 30px;
}

.dx-dropdowneditor-input-wrapper .custom-item > img {
    padding-left: 8px;
}

.custom-item .bank-name {
    display: inline-block;
    padding-left: 70px !important;
    text-indent: 0;
    line-height: 30px;
    font-size: 15px;
    width: 100%;
}

.custom-item > img {
    left: 1px;
    position: absolute;
    top: 50%;
    margin-top: -15px;
}

.dx-theme-material #custom-templates .dx-texteditor-buttons-container {
    display: none;
}

.current-value {
    padding: 10px 0;
}

    .current-value > span {
        font-weight: bold;
    }

.dx-theme-material .dx-selectbox-container .bank-name {
    padding-left: 58px;
}

/* [COOKIE BANNER] */
#cookie-law {
    position: fixed;
    z-index: 99999;
    background: white;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    text-align: center;
    padding: 30px 0;
    right: 0;
    bottom: 0;
    left: 0;
}

    #cookie-law p {
        margin: 0;
    }

.close-cookie-banner span {
    position: absolute;
    top: 0;
    color: black;
    font-size: 25px;
}
/* [/COOKIE BANNER] */
#dgProofList .dx-data-row{
    cursor: pointer;
}


/****New Website CSS****
******WITH CHANGES*****/
html,
body,
/*div,*/
span,
applet,
object,
iframe,
/*p,*/
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
/*strong,*/
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
/*ol,*/
/*ul,*/
/*li,*/
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

body {
    line-height: 1;
    font-family: "body-font", sans-serif;
}

/*ol,
ul {
    list-style: none;
}*/

blockquote,
q {
    quotes: none;
}

    blockquote:before,
    blockquote:after,
    q:before,
    q:after {
        content: "";
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

@font-face {
    font-family: "body-font";
    font-display: swap;
    src: url("./fonts/Manrope-VariableFont_wght.ttf") format("truetype");
}


.container {
    max-width: 1320px;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-right: auto;
    margin-left: auto;
}

header {
    display: flex;
    padding: 1rem 0;
}

    header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.logo img {
    width: 150%;
    max-width: 300px;
}

@media (max-width: 500px) {
    .logo img {
        max-width: 200px;
    }
}

.contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .contact p {
        font-size: 0.85rem;
        text-align: center;
        margin-bottom: 0;
    }

    .contact a {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        text-decoration: none;
        text-align: center;
        color: var(--primary);
    }

    .contact svg {
        width: 0.85rem;
        height: 0.85rem;
        fill: var(--primary);
    }

.main {
    background-color: var(--secondary);
    display: flex;
    align-items: start;
    justify-content: center;
    padding: 3rem 0;
    min-height: 80svh;
}

    .main .container {
        display: flex;
    }

    .main .form-wrap {
        background-color: white;
        max-width: 1000px;
        width: 100%;
        margin-inline: auto;
        border-radius: 0.5rem;
        padding: clamp(1rem, 4vw, 3rem);
    }

.divider {
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    display: flex;
}

    .divider svg {
        height: 30px;
    }

footer {
    background-color: var(--dark);
    position: relative;
    padding: 3rem 0;
    display: flex;
}

    footer .container .footer-main {
        color: white;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        footer .container .footer-main:before {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 400px;
            height: 80%;
            background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMiIgZGF0YS1uYW1lPSJMYXllciAyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMTYuOSAxNTguOTIiPgogIDxkZWZzPgogICAgPHN0eWxlPgogICAgICAuY2xzLTEgewogICAgICAgIGZpbGw6ICNmZmY7CiAgICAgICAgb3BhY2l0eTogLjA1OwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8ZyBpZD0iTGF5ZXJfMi0yIiBkYXRhLW5hbWU9IkxheWVyIDIiPgogICAgPGc+CiAgICAgIDxwb2x5Z29uIGNsYXNzPSJjbHMtMSIgcG9pbnRzPSIyMTYuOSAxMDcuMDEgMjE2LjkgMTU4LjkyIDE2My42NiAxNTguOTIgMTYzLjY2IDE0Mi40OCAyMTYuOSAxMDcuMDEiLz4KICAgICAgPHBvbHlnb24gY2xhc3M9ImNscy0xIiBwb2ludHM9IjAgMTA3LjAxIDAgMTU4LjkyIDUzLjI0IDE1OC45MiA1My4yNCAxNDIuNDggMCAxMDcuMDEiLz4KICAgICAgPHBvbHlnb24gY2xhc3M9ImNscy0xIiBwb2ludHM9IjIxNi45IDcxLjY0IDIxNi45IDAgMTA4LjQ1IDY1LjczIDAgMCAwIDcxLjY0IDEwOC40NSAxNDkuODQgMjE2LjkgNzEuNjQiLz4KICAgICAgPHBvbHlnb24gY2xhc3M9ImNscy0xIiBwb2ludHM9IjEwOC45OCAzMi41OSAxNjMuOTEgMCA1Mi45NiAwIDEwOC45OCAzMi41OSIvPgogICAgPC9nPgogIDwvZz4KPC9zdmc+);
            background-position: left bottom;
            background-size: contain;
            background-repeat: no-repeat;
            z-index: 0;
        }

@media (max-width: 500px) {
    footer .container .footer-main {
        flex-direction: column;
    }

    .copy-legal {
        margin-top: 2rem;
    }

    footer .logo img {
        max-width: 300px;
    }
}

.copy-legal {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: end;
    opacity: 0.76;
    font-size: 0.85rem;
}

    .copy-legal a {
        color: white;
        text-decoration: none;
    }
    .copy-legal a:hover{
        color: white;
        text-decoration: underline;
    }

.main {
    background-color: var(--secondary);
    display: flex;
    align-items: start;
    justify-content: center;
    padding: 3rem 0;
    min-height: 80svh;
}
.cls-1 {
    fill: #981f60;
}
.text-content-center {
    display: flex;
    flex-direction: column;
    /*min-height: 70svh;*/
    text-align: center;
    align-items: center;
    margin: 1rem 0 0 0;
}

.dx-fileuploader-button > .dx-button-content {
    display: flex
}
a {
    color: var(--primary);
}

    a:hover {
        color: var(--dark);
    }

.dx-button.dx-button-default {
    border-radius: 5px;
    margin: 1rem 0;
}


.dx-button.dx-button-success,
.dx-button.dx-button-success.dx-state-focused {
    border-radius: 5px;
    background-color: var(--primary)
}

    .dx-button.dx-button-success:hover {
        background-color: #990e5e;
    }

    .dx-button-content {
        display: flex;
        align-self: center;
    }


    .title-center {
        display: flex;
        justify-content: center;
    }

    .affordability-description {
        display: flex;
        flex-direction: column;
        justify-items: start;
        align-items: flex-start;
        margin: 1rem 0;
    }

        .affordability-description > span {
            margin: 0.5rem 0;
        }
@media (min-width: 793px) {
    .affordability.jumbotron {
        min-width: 60svw;
        max-width: 60svw;
    }
}
@media (min-width: 900px) {
    .affordability.jumbotron {
        min-width: 55svw;
        max-width: 55svw;
    }
}
@media (min-width: 1200) {
    .affordability.jumbotron {
        min-width: 65svw;
        max-width: 65svw;
    }
}
.dx-item-content.dx-box-item-content.dx-box-flex.dx-box.dx-widget.dx-collection {
    align-items: flex-end !important;
}
.affordability-submit {
    float: right; 
}
.affordability-menu {
    float: left;
}

.consumer-duty-download {
    color: var(--primary);
    text-decoration: underline;
    cursor: pointer;
}