﻿html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: "Roboto";
}

.banner-wrapper {
    .banner-icon {
        margin-right: 0.5rem;
    }

    .banner {
        display: flex;
        position: fixed;
        width: 100%;
        justify-content: center;
        align-items: center;
        font-size: 12px;
        font-weight: 400;
        line-height: 16px;
        letter-spacing: 0px;
        padding-top: 10px;
        padding-bottom: 10px;

        background-color: #ffede0;
        color: #ff8431;
        z-index: 5;
    }
}

.container {
    min-height: 100%;
    background-size: cover;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.container-bg-admin {
    background: url(../images/care26-login-bg.jpg) no-repeat center;
}

.container-bg-student {
    background: url(../images/student-login-bg.jpg) no-repeat center;
}

main {
    width: 22.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.main__logo {
    margin-bottom: 2.75rem;
}

h1 {
    margin: 0;
    font-weight: 700;
    font-size: 1.875rem;
    line-height: 2.5rem;
    color: #6897d9;
}

h2 {
    font-size: 1.25rem;
    line-height: 1.625rem;
    margin: 0;
    font-weight: 400;
    color: #303740;
}

.form__container {
    flex-wrap: wrap;
    margin-top: 2.75rem;
    margin-top: 1.25rem;
}

.input__container {
    padding-bottom: 0.625rem;
    display: flex;
    justify-content: space-between;
    position: relative;
    align-items: center;
    flex-wrap: wrap;
}

.input__showPassword {
    margin: 0;
    padding: 0;
    border: none;
    background-color: transparent;
    position: absolute;
    right: 10px;
    top: 27px;
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.input__img-showPassword {
    width: 0.75rem;
    display: block;
}

.input__img-hidePassword {
    width: 0.75rem;
    display: none;
}

input[type="email"],
input[type="text"],
input[type="password"],
input[type="tel"],
input[type="number"] {
    width: 100%;
    box-sizing: border-box;
    outline: none;
    border: 1px solid #babcbf;
    border-radius: 0.1875rem;
    padding: 0.5625rem 0.6875rem;
    background-color: #e7f1fe;
    color: #303740;
    font-size: 0.75rem;
    line-height: 0.875rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

select[disabled="disabled"] {
    background-color: #E8E8E8;
}
select {
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='34' viewBox='0 4 24 24' width='34' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H5z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: .3rem;
    outline: none;
    border: 1px solid #babcbf;
    border-radius: 0.1875rem;
    padding: 0.5625rem 0.6875rem;
    background-color: #e7f1fe;
    color: #303740;
    font-size: 0.75rem;
    line-height: 0.875rem;
}

input.input-validation-error {
    border: 1px solid #fd263f;
    background: #fff;
}

.top-bar__wrapper {
    display: flex;
    margin-top: 1.25rem;
}

.top-bar__container {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: space-between;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    padding: 0.8125rem 0.9375rem 0.8125rem 1.5625rem;
    -webkit-animation: fadeInDown 1s ease .2s 1 both;
    animation: fadeInDown 1s ease .2s 1 both;
}

.top-bar--error {
    background-color: #ffdfe2;
    color: #fd263e;
}

.top-bar__action {
    cursor: pointer;
    width: unset;
    height: unset;
    font-size: 1.25rem;
}

.top-bar__message {
    flex-grow: 1;
    padding-right: 2.3125rem;
    font-size: .875rem;
    font-weight: 400;
}

.mat-icon {
    background-repeat: no-repeat;
    display: inline-block;
    height: 24px;
    width: 24px;
}

.material-icons {
    font-weight: 500;
    font-style: normal;
    font-size: 1.25rem;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    float: left;
    position: absolute;
    margin-left: 18rem;
}

#password {
    padding-right: 1.875rem;
}

.send {
    width: 100%;
    padding: 0.9375rem 1.5625rem;
    background-color: #3173cd;
    border: none;
    cursor: pointer;
    line-height: 1.25rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 400;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
    margin-top: 1.25rem;
}

.send:hover {
    background-color: #6897d9;
}

.send-secondary {
    width: 100%;
    padding: 0.9375rem 1.5625rem;
    background-color: #fff;
    border: 1px solid #3273cd;
    cursor: pointer;
    line-height: 1.25rem;
    color: #3273cd;
    font-size: 0.875rem;
    font-weight: 500;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
    margin-top: 1.25rem;
}

label {
    display: block;
    margin-bottom: 0.3125rem;
    text-align: left;
    line-height: 1;
    color: #76797f;
    font-size: 0.75em;
    font-weight: 400;
}

.form-check {
    display: flex;
    align-items: center;
}

    .form-check label {
        margin-bottom: 0;
        margin-left: 1.25rem;
    }

[type="checkbox"]:not(:checked) + label:before,
[type="checkbox"]:checked + label:before {
    position: absolute;
    content: "";
    left: -1.25rem;
    top: 0;
    width: 0.875rem;
    height: 0.875rem;
    border: 1px solid #76797f;
    background-color: #fff;
}

[type="checkbox"]:checked,
[type="checkbox"]:not(:checked) {
    position: absolute;
    left: -9999px;
}

    [type="checkbox"]:checked:focus + label:before,
    [type="checkbox"]:not(:checked):focus + label:before {
        border-color: #6897d9;
    }

    [type="checkbox"]:checked + label,
    [type="checkbox"]:not(:checked) + label {
        position: relative;
        display: inline-block;
        margin-bottom: 0;
        padding-left: 0;
        cursor: pointer;
        font-size: 0.688rem;
        line-height: 1rem;
        color: #303740;
    }

    [type="checkbox"]:not(:checked) + label {
        color: #76797f;
    }

    [type="checkbox"]:checked + label {
        color: #303740;
    }

        [type="checkbox"]:checked + label:after,
        [type="checkbox"]:not(:checked) + label:after {
            position: absolute;
            content: "";
            left: -0.938rem;
            width: 0.3125rem;
            height: 0.625rem;
            border: solid #6897d9;
            border-width: 0 1px 1px 0;
            transform: rotate(45deg);
            transition: all 420ms cubic-bezier(0.215, 0.61, 0.355, 1);
        }

    [type="checkbox"]:not(:checked) + label:after {
        opacity: 0;
        transform: scale(0);
    }

.forgot__password {
    margin: 0;
    color: #3173cd;
    size: 0.875rem;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    display: block;
    padding-top: .938rem;
}

.change__email {
    margin: 0;
    color: #3173cd;
    size: 0.875rem;
    font-weight: 400;
    text-decoration: none;
}

.back-arrow {
    padding-top: 0px;
    transform: scale(0.8);
    vertical-align: bottom;
}

.input__disabled {
    background-color: #e8e8e8 !important;
    border: 1px solid #e8e8e8 !important;
}

.input__check-mark {
    position: absolute;
    right: 10px;
    top: 22px;
    filter: invert(45%) sepia(81%) saturate(5672%) hue-rotate(138deg) brightness(99%) contrast(87%);
    transform: scale(0.6);
}

.registration.container {
    display: inline-flex;
    padding-right: 0;
    border: 1px solid #e8e8e8;
    margin-bottom: .938rem;
}

.registration.logo {
    flex: 1;
    border-right: 1px solid #e8e8e8;
    height: 60px
}

.registration.logo.image {
    transform: scale(0.6);
    border: none;
}

.registration.description {
    flex: 4;
    flex-grow: 7;
    padding-left: 5px;
}

.registration.text {
    overflow-wrap: break-word;
    padding-right: 5px;
    padding-left: 5px;
    line-height: 20px;
}


footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0.5rem;
}

    footer span {
        font-size: 0.688rem;
        margin: 0;
        color: #75797f;
        padding-right: 0.5rem;
    }

.error {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    width: 100%;
    line-height: 1.5;
    letter-spacing: .25px;
    color: #fd263f;
    font-size: .6875em;
    font-weight: 400;
    font-style: italic;
}

.danger {
    margin: 0;
    font-size: 0.75em;
    color: #fd263f;
}

#ReturnUrl {
    margin: 0 0.5rem;
    font-size: 0.75em;
    color: #fd263f;
    list-style: none;
}

.sso-error-header {
    width: 100%;
    position: fixed;
    background: #fff;
    padding: 10px 0;
    top: 0;
    margin: auto;
}

.sso-error-header-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.sso-error-main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1 !important;
    width: 50%;
    margin: auto;
    height: 90%;
}

.sso-error-msg-title {
    color: #1A212B;
    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;
/*    font-family: 'Roboto';*/
    font-size: 1.875rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2.5rem; 
    margin-top: 1.2rem;
}

.sso-error-msg {
    text-align: center;
    width: 75%;
    color: #81848B;
    font-feature-settings: 'clig' off, 'liga' off;
    /*font-family: 'Roboto';*/
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.625rem;
    margin-top: 1.2rem;
}

.sso-error-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    flex-flow: column;
}

.sso-error-img {
    width: 50%;
    justify-content: center;
    align-items: center;
}

.sso-error-a {
    display: flex;
    padding: 0.9375rem 1.875rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    border-radius: 0.25rem;
    background: #3372CD;
    margin-top: 1.88rem;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}

.sso-error-footer {
    display: flex !important;
    flex-grow: 1 !important;
    background: white !important;
    position: fixed !important;
    bottom: 0 !important;
    width: 95% !important;
    padding: 15px 30px !important;
    justify-content: space-between !important;
    font-size: 0.6875rem !important;
}

    .sso-error-footer .copyright {
        color: #76797f;
        font-feature-settings: 'clig' off, 'liga' off;
        font-size: 0.6875rem;
        font-weight: 400;
        line-height: 0.875rem;
    }

    .sso-error-footer .divider {
        width: 0.25rem;
        height: 0.24725rem;
        background: #BABCBF;
        display: inline-block;
        border-radius: 50%;
        margin: 0 5px;
    }
    .sso-error-footer .terms-privacy {
        right: 0px;
        position: absolute;
        margin-right: 0px;
    }

    .sso-error-footer a {
        color: #3273CD;
        font-feature-settings: 'clig' off, 'liga' off;
        /*font-family: 'Roboto';*/
        font-size: 0.6875rem;
        line-height: 0.875rem;
        cursor: pointer;
        background-color: transparent;
        text-decoration: none
    }
        .sso-error-footer a:hover {
            color: #3372CD;
            text-decoration: underline;
        }


@media only screen and (min-width: 768px) {
    .container {
        padding-right: 9rem;
        justify-content: flex-end;
    }

    main {
        padding: 2.75rem 4rem;
    }

    .main__logo {
        width: 16rem;
    }
}

@media only screen and (max-width: 768px) {
    .container {
        background: url(../images/care26-login-bg-tablet.jpg) no-repeat center;
        padding-right: 0rem;
        justify-content: center;
    }

    main {
        padding: 0 10% 0;
    }

    .main__logo {
        width: 16rem;
    }
}

@media only screen and (max-width: 300px) {
    .main__logo {
        width: 100%;
    }
}

.no-right-margin {
    margin-right: 0;
}

.no-left-margin {
    margin-left: 0;
}

/* 2FA */
.mfa-title-description {
    font-size: 14px;
    line-height: 1.25rem;
    margin-top: 0.75rem;
}

.mfa-number-note {
    font-size: 12px;
    color: #75797F;
}

.mfa-verification-code-container {
    display: flex;
}

.mfa-verification-code-container > input {
    height: 3.5rem;
    margin: 0.3rem;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
}

.resend-label {
    font-size: 14px;
    margin-top: 3rem;
    text-align: center;
}

.resend-link {
    cursor: pointer;
    color: #3173cd;
    text-decoration: none;
}

.back-button {
    font-size: 14px;
    text-align: center;
    margin-top: 1.25rem;
    margin-bottom: 3rem;
}

.back-button-link {
    color: #3173cd;
    text-decoration: none;
}

.alternateemail_note {
    /* Paragraph/Smallest/Regular Italic */
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 400;
    font-size: .7rem;
    line-height: 14px;
    /* identical to box height, or 127% */
    /* Primary/Secondary Blue */
    color: #6695D9;
}

/* Input Icon */
.datepicker__container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.datepicker__container input[type="text"],
.datepicker__container input.form-control {
    padding-right: 2.5rem; /* make room for the icon */
}

.datepicker__container svg {
    position: absolute;
    right: 0.1rem; /* adjust horizontal alignment */
    top: 55%;
    transform: translateY(-50%);
    pointer-events: none; /* allow clicking inside input */
    width: 32px;
    height: 36px;
    fill: #6c757d; /* bootstrap gray */
}

.datepicker {
    position: absolute !important;
    z-index: 9999 !important;
    background-color: #fff;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,.1);
}

.datepicker-dropdown {
    padding: .5rem;
}

.datepicker table {
    width: 100%;
    margin: 0;
}

.datepicker table tr td,
.datepicker table tr th {
    width: 2.5rem;
    height: 2.5rem;
    text-align: center;
    border-radius: .25rem;
}

.datepicker table tr td.day:hover {
    background-color: #f8f9fa;
}

.datepicker table tr td.active,
.datepicker table tr td.active:hover {
    background-color: #007bff !important;
    color: #fff !important;
}

.datepicker table tr td.today {
    background-color: #ffeeba !important;
    border-color: #ffc107 !important;
    color: #212529 !important;
}

.datepicker table tr td.disabled,
.datepicker table tr td.disabled:hover {
    color: #6c757d !important;
    opacity: 0.6;
}

.datepicker-switch,
.prev,
.next {
    cursor: pointer;
    font-weight: 500;
}

.datepicker .prev:hover,
.datepicker .next:hover,
.datepicker .datepicker-switch:hover {
    background-color: #e9ecef;
    border-radius: .25rem;
}

.centered {
    text-align: center;
}

.field-validation-error {
    color: #fd263f;
    font-size: .7rem;
}

.padding-top {
    padding-top: .25rem;
}