@media screen and (hover: none), screen and (pointer: coarse) {
    * {
        box-sizing: content-box;
    }

    html {
        display: inline;
        margin: 0 auto auto auto;
    }

    body {
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    html, body {
        height: 100%;
        margin-top: 0px;
        position: relative;
        background-color: #FFFFFF;
        font-family: 'SF Pro Text', Roboto, sans-serif !important;
        font-size: 14px;
        font-weight: 400;

        margin: auto;
        -webkit-font-smoothing: antialiased;
    }

    #main {
        display: flex;
        justify-content: center;
        height: 100%;
        align-content: center;
        flex-flow: row wrap;
        flex: none;
        max-height: 325px;
    }

    /*** Many hidden elements for mobile design ***/
    #logo_header {
        display: none;
    }

    #logo_header #main_image {
        display: none;
    }

    #logo_header #alt_login_header {
        display: none;
    }

    #login_header {
        display: none;
    }

    #login_container_left {
        display: none;
    }

    #login_container form button:hover {
        opacity: 1;
    }

    #login_container #hr-container {
        display: none;
    }

    #login_container #hr-container div {
        display: none;
    }

    #login_container div#alternate_logins {
        display: none;
    }

    #login_container div#login-button-container {
        display: none;
    }

    #login_container label {
        display: none;
    }

    #loading {
        display: none;
    }

    li {
        font-weight: 100;
    }

    #gpsi_logo {
        width: 300px;
        margin-top: 88px;
    }

    #login_container_wrapper::before {
        background-image: url(Lancer_logo_60.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position-y: top;
        background-position-x: left;
        display: block;
        width: 100%;
        height: 60px;
        overflow: hidden;
        margin-bottom: 16px;
        content: '';
    }

    #login_container_wrapper {
        display: flex;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
        flex-flow: row wrap;
        justify-content: center;
        align-content: flex-end;
        min-height: 325px;
    }

    #login_container_wrapper form:not(#login) p:not(.mt-2) {
        color: #000000;
        font-size: 13px;
        font-style: normal;
        font-weight: 400;
        line-height: 19px;
        letter-spacing: -0.08px;
        text-align: center;

    }

    #login_container {
        width: 290px;
        height: 280px;
        flex-flow: column nowrap;
        align-content: center;
    }

    #login_container form button {
        margin: 32px 0px 16px 0px;
        box-shadow: none;
        padding: 0;
        height: 44px;
        border-style: none;
        background-color: #222222;
        color: #FFFFFF;
        cursor: pointer;
        letter-spacing: -0.41px;
        font-size: 17px;
        line-height: 17px;
        text-align: center;
        border-radius: 2px;
        font-weight: 600;
        opacity: 1;
        width: 290px;
    }

    #login_container form:not(#login_form) button {
        margin: 12px 0px 16px 0px;
    }

    #login_container #alternate_logins a {
        display: none;
        margin-top: 10px;
        text-decoration: none;
        width: 100%;
        border-style: none;
        box-shadow: none;
        color: #F7F7F7;
        font-size: 12px;
    }

    #login_container #login-button-container a {
        display: none;
        margin-top: 10px;
        text-decoration: none;
        width: 100%;
        border-style: none;
        box-shadow: none;
        color: #F7F7F7;
        font-size: 12px;
    }

    #login_container .help {
        width: 100%;
        color: #959595;
        text-align: center;
    }

    #login_container input {
        box-shadow: none;
        padding-left: 8px;
        border: 1px solid #666666;
        box-sizing: border-box;
        border-radius: 2px;
        background-color: #FFFFFF;
    }

    #login_container label {
        display: none;
    }

    #login_container fieldset {
        text-align: right;
        border: 0;
    }

    #login_container .user_login {
        padding: 20px 0;
        clear: both;
    }

    #login_container button.hint {
        display: none;
    }

    #login_container button.hint:focus {
        border: none;
        outline: none;
    }

    #login_container .soften {
        font-size: 0.9em;
    }

    #login_container .form-row {
        width: 100%;
    }

    #login_container input:not([type=checkbox]) {
        height: 44px;
        width: 100%;
        margin: 12px 0;
        color: #333333;
        border: 1px solid #666666;
        box-sizing: border-box;
        border-radius: 2px;
        width: 290px;
        padding: 15px 16px 16px;
        font-size: 17px;
        font-style: normal;
        font-weight: 400;
        line-height: 17px;
        letter-spacing: -0.41px;
        text-align: left;
    }

    #login_container input::placeholder,
    #login_container input:-ms-input-placeholder,
    #login_container input::-webkit-input-placeholder {
        color: #666666;
        opacity: 1;
    }

    #mobile-forgot-pass-login-pin-container {
        display: flex;
        justify-content: space-between;
        color: #666666;
        border: 1px solid #666666;
        box-sizing: border-box;
        border-radius: 2px;
        background-color: #FFFFFF;
    }

    #magic_link {
        padding: 15px 0;
    }

    #magic_link .fa-magic {
        margin-right: 5px;
    }

    a:link {
        color: inherit;
        text-decoration: none;
    }

    a:visited {
        color: inherit;
        text-decoration: none;
    }

    a:hover {
        color: inherit;
        text-decoration: none;
    }

    a:active {
        color: inherit;
        text-decoration: none;
    }

    .red, .red a {
        font-weight: lighter;
        color: #E51B24 !important;
    }

    .blue, .blue a {
        font-weight: lighter;
        color: #222222;
    }

    .white, .white a {
        color: #FFFFFF;
    }

    #login_forgot a {
        font-size: 12px;
        font-style: normal;
        font-weight: 600;
        line-height: 12px;
        letter-spacing: 0.07px;
        text-align: right;
        color: #222222
    }

    #login_forgot, .form-row p {
        cursor: pointer;
        text-decoration: none;
        color: #222222;
        font-size: 12px;
        font-style: normal;
        text-align: right;
        border: none;
        font-weight: 600;
        box-sizing: border-box;
        border-radius: 2px;
        letter-spacing: 0.07px;
    }

    #login_forgot > a > i {
        display: none;
    }

    fieldset {
        margin: 0;
        padding: 0;
    }

    #footer {
        display: none;
    }


    #login_notice {
        position: relative;
        z-index: 500;
        width: 100%;
        top: 15px;
        left: 0;
    }

    #login_notice div {
        width: 100%;
        font-weight: bold;
        text-align: left;
        padding: 10px 20px;
        padding-bottom: 12px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    }

    #login_notice div.login_error {
        color: #E51B24;
        background-color: #FFFFFF;
        margin-top: -10px;
    }

    #login_notice div.login_info {
        color: #275C8D;
        background-color: #CBCBCB;
    }

    .push-less-top {
        margin-top: 10px;
    }

    .login-button-container {
        align-items: center;
        display: block;
        height: 100%;
    }

    .login-button-container .login-button .text {
        display: block;
        font-size: 17px;
        height: auto;
        overflow: hidden;
        text-align: center;
        text-overflow: clip;
        white-space: nowrap;
    }

    .login-button-container button {
        text-transform: none;
    }

    .login-button-container .login-button {
        width: 100%;
        height: 40px;
        margin: 0;
        padding: 0;
        border-radius: 3px;
        cursor: pointer;
    }

    .login-button-container .login-button .icon {
        width: 40px;
        margin: 0;
    }

}

@media screen and (any-hover: hover) and (pointer: fine) {
    @font-face {
        font-family: "Roboto Condensed";
    }

    @font-face {
        font-family: "Roboto Condensed";
        font-weight: bold;
    }

    @font-face {
        font-family: "Roboto Condensed";
        font-style: italic;
    }

    * {
        box-sizing: border-box;
    }

    html, body {
        height: 100%;
        width: 100%;
        margin: 0;
        position: relative;
        background-color: #FFFFFF;
        font: 12px/18px "Roboto Condensed", "Segoe UI", "Helvetica", Arial, sans-serif;
        overflow-x: hidden;
        -webkit-font-smoothing: antialiased;
    }

    #main {
        text-align: center;
        background-position: center 190px;
        margin-bottom: 0;
        background-repeat: no-repeat;
        overflow: auto;
        line-height: normal;
    }

    #logo_header {
        height: 200px;
        margin-left: 88px;
    }

    #logo_header #main_image {
        width: 300px;
        position: absolute;
    }

    #logo_header {
        font-size: 24px;
        color: #FFFFFF;
        display: block;
        text-align: left;
    }

    #main_image::after {
        background-image: url(Lancer_logo_225.jpg);
        background-repeat: no-repeat;
        position: absolute;
        margin-left: 88px;
        margin-top: 88px;
        height: 225px;
        width: 1013px;
        content: '';
    }

    #alt_login_header {
        display: none;
    }

    li {
        font-weight: 100;
    }

    #gpsi_logo {
        width: 300px;
        margin-top: 88px;
    }

    #login_container_wrapper {
        width: 100%;
        color: #FFFFFF;
        margin-top: 122px;
        margin-left: auto;
        margin-right: auto;
        position: relative;
    }

    #login_container {
        display: inline-table;
        position: relative;
        margin: 0 auto;
        z-index: 2;
        padding: 0;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
        Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol' !important;
        background-color: white;
    }

    #login_container.widened::after {
        right: -233px;
    }

    #login_header {
        color: #505050;
        font-size: 18px;
        margin: 35px;
    }

    #login_container p {
        margin: 20px 20px;
    }

    #login_container button {
        margin: 10px 0;
        box-shadow: none;
        padding: 0 8px;
        height: 32px;
        width: 230px;
        border-style: none;
        background-color: #222222;
        color: #FFFFFF;
        cursor: pointer;
        letter-spacing: normal;
        font-weight: normal;
        font-size: 12px;
        text-align: center;
        border-radius: 2px;
    }

    #login_container #hr-container {
        horiz-align: center;
        text-align: center;
        width: 230px;
        margin: 20px auto;
        padding: 0;
    }

    #login_container #hr-container hr {
        width: 230px;
        border-width: 1px 0 0 0;
        border-style: solid;
        border-color: #C1C1C1;
        margin: 20px auto;
        z-index: 5;
    }

    #login_container #hr-container div {
        display: block;
        position: relative;
        color: #8F9AA6;
        margin-top: -25px;
        margin-left: auto;
        margin-right: auto;
        background-color: #EBEBEB;
        width: 45px;
        line-height: 1em;
        z-index: 6;
    }

    #login_container div#alternate_logins {
        width: 100%;
        margin: 0;
        text-align: center;
    }

    #login_container div#login-button-container {
        width: 100%;
        margin: 0;
        text-align: center;
    }

    #login_container #alternate_logins a {
        display: block;
        padding: 10px 15px;
        margin: 15px auto;
        text-decoration: none;
        width: 230px;
        border-style: none;
        box-shadow: none;
        background-color: #222222;
        color: #FFFFFF;
        font-size: 12px;
        border-radius: 2px;
    }

    #login_container #login-button-container a {
        display: block;
        padding: 10px 15px;
        margin: 15px auto;
        text-decoration: none;
        width: 230px;
        border-style: none;
        box-shadow: none;
        background-color: #222222;
        color: #FFFFFF;
        font-size: 12px;
        border-radius: 2px;
    }

    #login_container .help {
        margin: 10px auto;
        width: 230px;
        color: #505050;
        text-align: center;
    }

    #login_container input {
        margin: 5px 0 10px 0;
        box-shadow: none;
        padding-left: 8px;
        border: 1px solid #D4D4D4;
        background-color: #FFFFFF;
    }

    #login_container input:not([type=checkbox]) {
        height: 32px;
        width: 230px;
    }

    #login_container label {
        color: #8F9AA6;
        font-weight: bold;
        white-space: nowrap;
    }

    #login_container fieldset {
        padding: 10px 10px;
        border: 0;
    }

    #login_container_left {
        text-align: left;
        vertical-align: top;
        display: inline-block;
        margin: 10px 20px;
        padding: 0;
        background-color: #FFFFFF;
        color: #505050;
        width: 220px;
    }

    #login_container_left iframe {
        overflow: hidden;
        overscroll-behavior: none;
    }
    #login_container_left img {
        margin: 25px;
    }
    #login_container_left h3 {
        margin: 20px 0 12px 0;
        font-size: 1.2em;
        font-weight: 600;
        line-height: 18px;
    }
    #login_container_left p {
        margin: 5px 0;
        padding: 0;
    }
    #login_container_left ul {
        list-style-type: none;
        font-size: 14.5px;
        font-weight: lighter;
        margin: 0 0 15px 2px;
    }
    #login_container_left ul li {
        padding-top: 4px;
    }
    #login_container_left ol li {
        font-weight: 400;
    }
    #login_container_left .callout {
        border: 2px solid #E51824;
        background-color: #E51824;
        color: #FFFFFF;
        border-radius: 5px;
        padding: 10px 20px;
        margin: 5px;
        font-size: 1.2em;
    }
    #login_container_left .callout i {
        color: #FFFFFF;
    }

    #login_container_left a {
        color: #222222;
        text-decoration: underline;
    }

    #login_container_dialog {
        vertical-align: middle;
        text-align: center;
        display: inline-block;
        width: 360px;
        min-height: 195px !important;
        background-color: #EBEBEB;
        font-size: 12px;
        overflow: visible;
        color: black;
        padding: 20px 0;
        flex: 1;
    }

    #login_container_dialog a {
        cursor: pointer;
        text-decoration: none;
        color: #222222;
    }

    #loading {
        display: none;
    }

    #login_container .user_login {
        padding: 20px 0;
        clear: both;
    }

    #login_container .user_image {
        display: inline;
        position: relative;
        clip-path: circle(40px at center);
        width: 80px;
        height: 80px;
        float: left;
    }

    #login_container button.user {
        width: 140px;
        height: 50px;
        margin: 0 0 5px 10px;
        font-size: 1.2em;
        overflow: hidden;
        float: left;
    }

    #login_container button.hint {
        width: 60px;
        height: 20px;
        margin: 0 0 5px 10px;
        background-color: #666;
        font-size: 0.9em;
        float: left;
    }

    #login_container button#Yes, #login_container button#No {
        width: 100px;
        height: 32px;
        float: left;
        margin: 5px 10px;
    }

    #login_container button.hint:hover {
        color: #5581d4;
    }

    #login_container button.hint:focus {
        border: none;
        outline: none;
    }

    #login_container .soften {
        color: #999;
        font-size: 0.9em;
    }

    #login_form {
        display: flex;
        flex-direction: column;
        width: 230px;
        text-align: left;
        margin: 0 auto;
        padding: 0;
    }

    a:link {
        color: inherit;
        text-decoration: none;
    }

    a:visited {
        color: inherit;
        text-decoration: none;
    }

    a:hover {
        color: inherit;
        text-decoration: none;
    }

    a:active {
        color: inherit;
        text-decoration: none;
    }

    .red, .red a {
        font-weight: lighter;
        color: #64a233 !important;
    }

    .blue, .blue a {
        font-weight: lighter;
        color: #222222;
    }

    .white, .white a {
        color: #505050;
    }

    #login_forgot {
        width: 230px;
        text-align: center;
        margin: 0;
        padding: 15px;
        cursor: pointer;
        text-decoration: none;
        color: #222222;
        position: relative;
        font-size: 12px;
    }

    #footer {
        text-align: center;
        font-size: 14px;
        margin-top: 24px;
        color: #707070;
    }

    #footer a:link {
        color: #A0A0A0;
        text-decoration: underline;
    }

    #footer .soften {
        color: #A0A0A0;
        margin-top: 15px;
    }

    #footer .soften a {
        color: #A0A0A0;
    }

    #login_notice {
        position: relative;
        z-index: 500;
    }

    #login_notice div {
        width: 340px;
        font-weight: bold;
        text-align: left;
        padding: 10px 20px;
        margin-top: 10px;
        padding-bottom: 12px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
        margin-left: -20px;
    }

    #login_notice div.login_error {
        color: #ffffff;
        background-color: #E51B24;
    }

    #login_notice div.login_info {
        color: #275C8D;
        background-color: #CBCBCB;
    }
}
