/* Set widths of Okta widget container elements */
.login-card {
    width: 670px;
    text-align: left;
}

.notification-content--logout {
    width: 670px;
}

.login-message {
    width: 670px;
}

.login-contactus-card.login-contactus-card--d.login-contactus-card--m {
    width: 670px;
}

.float-container {
    display: inline-block;
    float: left;
    width: 316px;
    border-right: 1px solid #979797;
}

/*-----------------------------*/
/*  Styles for #widgetReplace  */
/*-----------------------------*/
#widgetReplace {
    display: none;
    width: 296px;
    height: 382px;
    background-color: #FBFAFA;
    padding-top: 120px;
}

    #widgetReplace.dla-login-page {
        height: 322px;
        padding-top: 84px;
    }

.loading-logo {
    display: block;
    margin: 0 auto;
    height: 100px;
    width: 100px;
}

.loading-text {
    font-family: Roboto;
    font-size: 18px;
    line-height: 24px;
    color: rgb(53, 43, 43);
    text-align: center;
    margin-top: 12px;
}

.auth-container.main-container.no-beacon {
    width: 315px;
    margin: 0 !important;
}

/* Set widths of Okta widget elements */
#okta-sign-in {
    width: 315px;
    border: none;
}

    #okta-sign-in.auth-container.main-container {
        width: 100%;
        background-color: #fff;
        border: none;
        box-shadow: none;
    }

    #okta-sign-in .auth-content {
        width: 100%;
        padding: 20px 20px 0px 20px;
    }

    #okta-sign-in .o-form-button-bar, #okta-sign-in .o-form-toolbar, #okta-sign-in .o-form-toolbar.ui-tabs {
        width: fit-content;
        margin: 0 auto;
        text-align: center;
    }

    /* Hide the header line in the Okta sign-in widget */
    #okta-sign-in .okta-sign-in-header.auth-header {
        display: none;
    }

    /* Set widths of input fields container */
    #okta-sign-in .o-form-fieldset-container {
        width: 255px;
        text-align: left;
        margin: 0 auto;
    }

    /* Log in error messsage */
    #okta-sign-in .o-form-content.o-form-theme.clearfix .o-form-error-container.o-form-has-errors p {
        text-align: left;
    }

    /* Labels for username, password fields */
    #okta-sign-in .o-form-content.o-form-theme.clearfix label {
        font-size: 16px;
        line-height: 20px;
    }

    /* Increase margin above the "Password" label */
    #okta-sign-in .o-form-content.o-form-theme.clearfix > div.o-form-fieldset-container > div.o-form-fieldset.o-form-label-top.margin-btm-30
    {
        margin-top : 16px;
    }

    /* Input fields for username, password */
    #okta-sign-in #okta-signin-username, #okta-sign-in #okta-signin-password {
        /**/
    }

    #okta-sign-in .o-form .input-fix, #okta-sign-in .o-form .textarea-fix {
        /**/
    }

    /* Show focus effect on the "show/hide password" span icon */
    #okta-sign-in span.eyeicon {
        width: 44px !important;
        height: 44px !important;
        top: 50% !important;
        right: -3px !important;
        padding: 11px 14px !important;
    }

        #okta-sign-in span.eyeicon:focus {
            border: 1px dotted blue !important;
            padding: 10px 13px !important;
        }

    /* Suppress the second/extra "show/hide password" icon that appears only when running under the Microsoft Edge browser */
    #okta-sign-in input::-ms-reveal, #okta-sign-in input::-ms-clear {
      display: none;
    }

    /* Fix the 'Remember me' checkbox */
    #okta-sign-in .custom-checkbox input {
        visibility: unset;
        width: auto;
    }

        #okta-sign-in .custom-checkbox input.checkedFocus {
            visibility: unset;
            width: auto;
        }

    #okta-sign-in .custom-checkbox label {
        font-family: Roboto;
        font-weight: 300;
        font-size: 18px !important;
        line-height: 24px !important;
        color: rgb(53, 43, 43);
        margin: 0 0 0 -18px;
        padding: 0px 0px 12px 5px;
        background: none !important;
        cursor: pointer;
    }

    /* 'Remember me' checkbox div disabled state */
    #okta-sign-in .custom-checkbox.checkbox-disabled {
        opacity: 0.5;
        color: #545454;
        pointer-events: none;
    }

    /* Hide the 'Need help signing in?' option in the Okta sign-in widget */
    #okta-sign-in .auth-content .auth-footer {
        display: none;
    }

    /* 'Log in' heading */
    #okta-sign-in .okta-form-title.o-form-head {
        font-family: Roboto;
        font-weight: 500;
        font-size: 2rem;
        line-height: 38px;
        text-align: center;
        margin: 0 0 22px 0;
        padding: 0;
        color: #352b2b;
    }

    /* 'Log in' button */
    #okta-sign-in #okta-signin-submit {
        font-family: Roboto;
        font-weight: 500;
        font-size: 1.375rem;
        line-height: 1.625rem;
        color: #fff;
        -webkit-appearance: button;
        text-decoration: none;
        border: 0;
        border-radius: 2rem;
        display: inline-block;
        text-align: center;
        background: linear-gradient(-63.43495deg, #235ec9 0, #2a78e9 100%);
        margin: 0 auto;
        padding: 0.9375rem 2.8125rem;
        height: 60px;
        width: 255px;
        cursor: pointer;
    }

        /* 'Log in' button disabled state */
        #okta-sign-in #okta-signin-submit.login-disabled {
            opacity: 0.5;
            color: #545454;
            background: #f2f2f2;
            pointer-events: none;
        }

        /* 'Log in' button hover state */
        #okta-sign-in #okta-signin-submit:hover {
            background: var(--Button-Primary-Hover, #204BD8);
        }

        /* 'Log in' button focus state */
        #okta-sign-in #okta-signin-submit:focus {
            background: var(--Button-Primary-Focus, #1F297D);
        }

        /* 'Log in' button active/pressed state */
        #okta-sign-in #okta-signin-submit:active {
            background: var(--Button-Primary-Active, #3964BF);
        }

    /* Remove padding under 'Log in' button */
    #okta-sign-in .o-form-button-bar {
        margin-bottom: 4px;
        padding-bottom: 0px;
    }

    #okta-sign-in .o-form-button-bar.focused-input {
        margin-bottom: 4px;
    }

.forgot-username-or-password {
    text-align: center;
    padding: 12px 0px 6px;
}

/*---------------------*/
/* RESPONSIVE - TABLET */
/*---------------------*/
@media all and (min-width: 767px) and (max-width: 1024px) { /* tablet */
    #okta-sign-in .o-form-head {
        font-size: 20px;
    }

    #okta-sign-in .auth-header {
        padding: 30px 50px 75px;
    }

    .login-card {
        padding-top: 18px;
    }

    .form-actions {
        width: 100%;
    }

        .form-actions .btn-size-medium {
            padding-top: 5px;
        }

        .form-actions .btn-size-medium, .btn-primary, input[type=submit].btn-primary {
            width: 47%;
            font-size: 20px !important;
            float: left;
        }

    .no-mobile-tablet-display {
        height: 0px;
    }

    .login-contactus-card.login-contactus-card--d.login-contactus-card--m {
        width: 100%;
    }

    input[type=submit] {
        padding-top: 0px;
        margin-left: 0px;
    }

    .mobile-only {
        height: 0px;
    }
}

/*---------------------*/
/* RESPONSIVE - MOBILE */
/*---------------------*/
@media all and (max-width: 767px) { /* mobile */
    .okta-sign-in-header auth-header {
        padding: 30px 45px 75px;
    }

    .notification-content--logout {
        width: 100%;
    }

    .login-message {
        width: 100%;
    }

    .login-card {
        width: 100%;
        padding-bottom: 0px;
    }

    .float-container {
        width: 100%;
        padding: 24px 0px 0px;
        border-right: none;
    }

    .form-actions {
        width: 100%;
        margin-top: -28px;
    }

    .form-actions .btn-size-medium, .btn-primary, input[type=submit].btn-primary {
        width: 100%;
        font-size: 20px !important;
    }

    .loading-logo {
        width: 80px;
        height: 80px;
    }

    #widgetReplace {
        width: 100%;
        border: none;
        box-shadow: none;
    }

    .forgot-username-or-password {
        width: 100%;
        margin-top: 24px;
        margin-bottom: 8px;
    }

    .no-mobile-tablet-display {
        height: 0px;
    }

    .login-contactus-card.login-contactus-card--d.login-contactus-card--m {
        width: 100%;
    }

    input[type=submit] {
        padding-top: 10px;
    }

    .mobile-hide {
        height: 0px;
    }

    .mobile-only{
        height: 20px;
    }
}
