html {
    height: 100%;
}

body {
    line-height: 20px;
    background-size: 100%;
    font-size: 15px;
    font-weight: 400;
    font-style: normal;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

@media (min-width: 3840px) {
    body {
        background-image: url("../images/redesign/bg.png");
    }
}

@media (min-width: 1281px) and (max-width: 3839px) {
    body {
        background-image: url("../images/redesign/bg1080.png");
    }
}

@media (max-width: 1280px) {
    body {
        background-image: url("../images/redesign/bg720.png");
    }
}

.bold-subheading {
    margin-bottom: 4px;
    font-weight: bold;
}

h1 {
    line-height: normal;
    color: rgb(81, 40, 136);
    margin: 0;
    font-weight: normal;
    font-size: 24px;
    padding-bottom: 0px;
}

h2 {
    line-height: normal;
    color: rgb(81, 40, 136);
    margin: 0;
    font-weight: normal;
    font-size: 24px;
    padding-bottom: 0px;
    margin-bottom: 7px;
}

.logo {
    height: 74px;
    display: flex;
    margin-left: auto;
    margin-right: auto;

    padding: 15px 0px 15px 0px;
    width: 75%;
}

input[type='text'],
input[type='password'],
select {
    border-radius: 3px;
    border: 1px solid rgb(167, 167, 167);
    background-color: white;
    display: block;
    margin: 0;
    padding: 0;

    width: 230px;
    height: 47px;
    padding-left: 12px;
    padding-right: 48px;
    font-size: 14px;
}

input[type='radio']:checked {
    background: rgb(81, 40, 136);
    border: 6px solid white;
}

input[type='radio'] {
    appearance: none;
    -webkit-appearance: none;
    border-radius: 50%;
    width: 27px;
    height: 27px;
    box-shadow: 0 0 0 1px rgb(167, 167, 167);
    background: white;
    margin-left: 0;
}

input[type='text']:focus,
input[type='password']:focus,
select:focus {
    box-shadow: 0px 0px 5px 3px rgba(81, 40, 136, .35);
    outline: none !important;
    border: 1px solid rgb(81, 40, 136);
}

.below-input {
    margin-top: 5px;
    text-align: left;
    font-size: 13px;
}

.input-wrapper {
    display: flex;
    flex-flow: column;
    position: relative;
}

.input-wrapper>button.toggle-password {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: rgb(81, 40, 136);
    cursor: pointer;
    font-size: 14px;
    position: absolute;
    left: 176px;
    top: 1px;
    border-radius: 8px;
    width: 52px;
    height: 45px;
}

.ifta-label {
    white-space: nowrap;
    position: absolute;
    left: 13px;
    top: 23px;
    transform: translateY(-50%);
    color: rgb(122, 121, 121);
    pointer-events: none;
    font-size: 16px;
    transition: font .2s ease, top .2s ease, transform .2s ease
}

input:autofill+label,
input:-webkit-autofill+label,
.ifta:not(:placeholder-shown)+label,
.ifta:focus+label {
    top: 15px;
    left: 15px;
    font-size: 12px;
}

.ifta:focus+label {
    color: rgb(81, 40, 136);
}

.ifta:focus,
.ifta:not(:placeholder-shown) {
    padding-top: 14px;
}

/* passprotect likes to insert this .help-block between the input and label */
.ifta:not(:placeholder-shown)+.help-block+label,
.ifta:focus+.help-block+label {
    top: 16px;
    font-size: 12px;
}

.ifta:focus+.help-block+label {
    color: rgb(81, 40, 136);
}


input[type='text'].ifta,
input[type='password'].ifta {
    font-size: 16px;
    padding-left: 12px;
}

input[type='text'].ifta::placeholder,
input[type='password'].ifta::placeholder,
select.ifta::placeholder {
    color: transparent;
}

select {
    font-size: 16px;
    padding-left: 8px;
}

.purple-button {
    border-radius: 3px;
    background-color: rgb(81, 40, 136);
    color: white;
    text-align: center;
    border: 0;
    display: block;
    padding: 0;
    margin: 0;
    cursor: pointer;
    width: 230px;
    height: 47px;
    font-size: 18px;
}

.card {
    display: flex;
    flex-direction: column;
    flex: 1;
    border-width: 0px;
    border-style: solid;
    border-color: rgb(204, 204, 204);
    height: auto;
    border-radius: 0px 0px 8px 8px;
    background-color: rgba(255, 255, 255, 0.902);
    padding: 16px 25px 0 25px;
}

/* override material design style in CAS, use ours */
.card.mdc-card {
    background-color: transparent;
    margin: 0;
    padding: 0;
}

.card-sm {
    width: 280px;
}

.card-bottom-pad {
    padding-bottom: 30px;
}

.pass-graybar {
    left: 0px !important;
    width: 100% !important;
    position: absolute !important;
    top: 44px !important;
    border-bottom-right-radius: 3px !important;
    border-bottom-left-radius: 3px !important;
}

.help-block {
    width: 100% !important;
    position: absolute !important;
    top: 45px !important;
    left: 0px !important;
}

.card-header {
    overflow: hidden;
    background-color: white;
    border-radius: 8px 8px 0px 0px;
    border-bottom: 1px solid rgb(204, 204, 204);
}


hr {
    margin: 0;
    background-color: rgb(204, 204, 204);
    height: 0.06rem;
    color: rgb(204, 204, 204);
    border: none;
    width: 100%;
}

ul {
    line-height: normal;
    padding-left: 28px;
    margin-bottom: 0px;
}

ul li {
    line-height: 20px;
}

ul li a {
    margin-left: 2px;
}

.purple-bold {
    color: rgb(81, 40, 136);
    font-weight: bold;
}

.purple-text {
    color: rgb(81, 40, 136);
}

.radio-wrapper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 17px;
}

.radio-wrapper>div:first-child {
    margin-right: 7px;
}

.radio-wrapper>div:last-child>div:first-child {
    margin-bottom: 0;
}

.radio-wrapper>div:nth-child(2)>div:nth-child(2)>label {
    font-style: italic;
}

.padded-hr {
    width: calc(100% + 50px);
    margin-left: -25px;
}

.header-stripe-container {
    border-radius: 8px 8px 0px 0px;
    overflow: hidden;
}

.grey-top-border {
    background-color: rgb(167, 167, 167);
    height: 5px;
}

.purple-link,
a {
    color: rgb(81, 40, 136);
    text-decoration: none;
}

.wordmark {
    height: 41px;
    width: 210px !important;
    margin-left: auto;
    margin-right: auto;
}

fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

* {
    box-sizing: border-box;
    font-family: myriad-pro, "Open Sans", Helvetica, Arial, sans-serif;
}

.app,
body,
html {
    margin: 0
}

body,
html {
    overflow: hidden;
    height: 100%
}

p {
    margin: 0;
    padding: 0;
}

.app {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    height: 100vh;
    padding: 1rem
}

.main {
    margin-bottom: auto;
    margin-top: 13vh;
    border-radius: 8px 8px 8px 8px;
    box-shadow: 8px 8px 8px rgb(0, 0, 0, 0.25);
}

.sso-input-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 26px;
    margin-bottom: 26px;
}

.sso-input-group:first-of-type {
    margin-top: 18px;
}

.sso-input-group>.input-wrapper {
    margin-top: 5px;
    margin-bottom: 5px;
}

.sso-input-group>.input-wrapper:first-of-type {
    margin-top: 0;
}

.sso-input-group>.input-wrapper:last-of-type {
    margin-bottom: 0;
}

.sso-input-group-md>.input-wrapper {
    margin-top: 15px;
    margin-bottom: 15px;
}

.sso-form-submit-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 18px;
    margin-bottom: 30px
}

.sso-form-submit-options>a.purple-link {
    padding-top: 12px
}

.js-help__toggle {
    display: none;
}

.link-icon {
    font-size: 13px !important;
    vertical-align: middle;
}

.redesign-footer>a>span {
    margin-left: 2px;
    font-size: 13px !important;
    padding-top: 1.5px;
}

.redesign-footer {
    line-height: normal;
    margin-top: 45px;
    display: flex;
    color: white;
    align-self: flex-end;
    font-size: 12px;
}

.text-group {
    margin-bottom: 20px;
}

.redesign-footer>a {
    color: white;
    text-decoration: none;
    display: flex;
}

.redesign-footer>.footer-vr {
    margin-right: 6px;
    margin-left: 6px;
}

@media only screen and (max-width: 767px) {
    .redesign-footer {
        align-self: center;
    }
}

.header-steps {
    position: relative;
    padding-left: 25px;
    padding-top: 3px;
    padding-bottom: 3px;
    border-bottom: 1px solid rgb(204, 204, 204);
}

.header-steps>div {
    margin-right: 0px;
    margin-left: 0px;
    font-size: 13px;
}

.header-steps>*,
.header-steps {
    color: rgb(81, 40, 136);
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
}

/* left arrow icon */
.header-steps>span:first-child {
    left: 17px;
    top: 6px;
    position: absolute;
    margin-left: -3px;
    padding-top: 1px;
    font-size: 12px;
}

/* right arrow icon */
.header-steps>span:last-child {
    margin-left: -3px;
    padding-top: 2px;
    font-size: 12px;
}

@media only screen and (max-width: 767px) {
    @supports(height: 100dvh) {
        .main {
            margin-top: 4dvh;
        }

        .app {
            height: 100dvh;
        }
    }

    .card-header {
        width: 280px;
    }

    .redesign-footer {
        align-items: center;
    }

    .card-row {
        display: flex;
        flex-flow: column;
        width: 230px;
    }

    .card-col-mismatch:first-of-type {
        width: 230px;
        padding-top: 23px;
        padding-bottom: 23px;
    }

    .card-col-mismatch:last-of-type {
        padding-bottom: 30px;
        margin-left: -25px;
        margin-right: -25px;
        padding-left: 25px;
        padding-right: 25px;
        padding-top: 23px;
        border-top: 1px solid rgb(204, 204, 204);
    }

    .mobile-anchor {
        display: block;
        text-decoration: none;
        color: rgb(81, 40, 136);
        padding-bottom: 24px;
    }

    .card-col-mismatch:first-of-type>h1:first-of-type {
        padding-bottom: 6px
    }

    .desktop-only {
        display: none;
    }
}

@media only screen and (min-width: 768px) {
    @supports(height: 100dvh) {
        .main {
            margin-top: 13dvh;
        }

        .app {
            height: 100dvh;
        }
    }

    .card-row {
        display: flex;
        flex-flow: row;
    }

    .card-col-mismatch:first-of-type {
        width: 230px;
        margin-right: 25px;
        padding-top: 26px;
        margin-bottom: 26px;
    }

    .card-col-mismatch:last-of-type {
        width: 280px;
        padding-left: 25px;
        padding-top: 27px;
        border-left: 1px solid rgb(204, 204, 204);
    }

    .mobile-anchor {
        display: none !important;
        text-decoration: none;
        color: rgb(81, 40, 136);
    }

    .card-col-mismatch:first-of-type>h1:first-of-type {
        padding-bottom: 30px;
    }
}

span.purple-link>* {
    color: rgb(81, 40, 136);
    text-decoration: none;
}


/* styling for error messages */

div.field-error>p {
    font-size: 13px;
    color: #d93025;
}

.page-error {
    color: #d93025;
    display: flex;
}

input.field-error:not(:focus) {
    border: 1px solid #d93025 !important;
}

div.field-error {
    position: absolute;
    top: 49px;
}

.field-error>span {
    padding-bottom: 2px;
    color: #d93025;
    vertical-align: middle;
    font-size: 13px;
}

.page-error>span {
    color: #d93025;
    font-size: 24px;
    vertical-align: top;
}

.page-error-message>.js-help>span.material-symbols-rounded {
    margin-top: -1px;
    margin-left: -3px;
    font-size: 14px;
    vertical-align: middle;
}

div.page-error {
    margin-top: 9px;
    margin-bottom: 16px;
}

.field-error>p,
.page-error>p {
    display: inline-block;
}

/* end styling error messages */


/* styling for containers of errors (spacing on these changes based on whether there is an error message displayed) */

.page-error-message {
    line-height: 18px;
    font-size: 14px;
    display: inline-block;
    margin-top: 1px;
    margin-left: 5px;
}

h1.page-error-heading {
    margin-bottom: 0px !important;
}


div.input-wrapper-error:not(:last-child) {
    margin-bottom: 32px !important;
}

div.input-wrapper-error:last-child {
    margin-bottom: 22px;
}

.page-error-message>ul {
    padding-left: 0px;
}

.input-wrapper-error>input[type='text']:focus,
.input-wrapper-error>input[type='password']:focus,
.input-wrapper-error>select:focus {
    box-shadow: 0px 0px 5px 3px rgba(217, 48, 37, .35);
    outline: none !important;
    border: 1px solid #d93025;
}

#id_confirm_password~.help-block {
    display: none !important;
}

/* end styling error containers */

input[type='password'] {
    font: small-caption;
    letter-spacing: 2px;
    padding-bottom: 4px;
}

.pass-warning-spacing {
    margin-top: 16px;
    margin-bottom: 16px;
}

.pass-warning-spacing:last-of-type {
    margin-bottom: 0px;
}

.agreement {
    line-height: 18px;
    font-size: 12px;
    margin-top: -6px;
    margin-bottom: 16px;
    text-align: center
}

div.generate-password {
    margin-top: -13px;
}

.generate-password>a {
    font-size: 13px;
}

ul ul {
    padding-left: 26px;
    list-style-type: disc;
}

/* nested ul > li is closer to the bullet point */
li>span {
    position: relative;
    width: 210px;
    left: -4px
}

input[type=submit].purple-link {
    color: rgb(81, 40, 136);
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

input[type=submit].purple-link:hover {
    background-color: transparent;
    color: rgb(81, 40, 136);
}

a.purple-button {
    padding-top: 13px;
}

.back-to-top {
    font-size: 13px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 23px;
    padding-bottom: 0px;
    margin-bottom: -14px
}

.back-to-top>span {
    top: 27px;
    left: 150px;
    position: absolute;
}

*,html {
    scroll-behavior: smooth;
}