body.login {
    background-color: #fff;
    display: flex;
}

body.login::before {
    content: "";
    background-image: url("./images/CMA-Logo-Horizontal.svg");
    background-size: contain;
    background-repeat: no-repeat;
    position: fixed;
    top: 6rem;
    left: 0;
    margin: auto;
    right: 0;
    width: 16rem;
    height: 100%;
    z-index: -1;
}

body.login::after {
    content: "";
    background-image: url("./images/Canon-Logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: fixed;
    top: 2.5rem;
    left: 0;
    margin: auto;
    right: 0;
    width: 12rem;
    height: 100%;
    z-index: -1;
}

@media (max-width: 565px) {
    body.login::before {
        width: 12rem;
    }
    body.login::after {
        width: 12rem;
    }
}
@media (max-width: 450px) {
    body.login::before {
        width: 8rem;
    }
    body.login::after {
        width: 7rem;
    }
}

.login #login {
    width: 90%;
    max-width: 410px;
    padding-bottom: 4rem;
    margin-top: 100px;
}

#mo_saml_button {
    max-width: 16rem;
    margin: 0 auto;
}

.login label:not([for="rememberme"]) {
    display: none;
}

label[for="rememberme"] {
    font-family: "Pulp Display", Helvetica, Arial, sans-serif;
    font-size: 1rem;
}

#mo_saml_login_sso_button img {
    display: none;
}

#mo_saml_login_sso_button::after {
    content: "Login with Canon";
    color: white;
    font-size: 16px;
    font-weight: bold;
    font-family: "Pulp Display", Helvetica, Arial, sans-serif;
    position: absolute;
    top: 50%;
    left: 53%;
    transform: translate(-50%, -50%);
}
.login h1 a {
    display: none;
    width: 100%;
    font-family: "Pulp Display", Helvetica, Arial, sans-serif;
    height: 80px;
}
.login form {
    background: #fff;
    border: 1px solid #ccc;
    font-family: "Pulp Display", Helvetica, Arial, sans-serif;
}

@media (max-height: 550px) {
    .login form {
        margin-top: 100px;
    }
}

.login .language-switcher {
    display: none;
}

.login input[type="submit"].button {
    border-radius: 25px;
    display: inline-block;
    border: none;
    vertical-align: middle;
    font-size: 16px;
    font-weight: bold;
    font-family: inherit;
    line-height: 22px;
    padding: 14px 32px;
    font-family: "Pulp Display", Helvetica, Arial, sans-serif;
    transition: all 0.3s ease;
    position: relative;
    background: #de0000;
    background: linear-gradient(
        0deg,
        rgba(151, 22, 17, 1) 0%,
        rgba(205, 13, 20, 1) 100%
    );
}

.login input[type="submit"].button:hover {
    opacity: 0.75;
}

a.wp-login-lost-password {
    transition: all 0.3s ease;
    font-family: "Pulp Display", Helvetica, Arial, sans-serif;
}
a.wp-login-lost-password:hover {
    color: #de0000 !important;
}

#backtoblog a {
    transition: all 0.3s ease;
    font-family: "Pulp Display", Helvetica, Arial, sans-serif;
    font-size: 1rem !important;
}

#backtoblog {
    text-align: center;
}

.login #nav {
    text-align: center;
}

#backtoblog a:hover {
    color: #de0000 !important;
}

#rememberme + label {
    transition: all 0.3s ease;
    font-family: "Pulp Display", Helvetica, Arial, sans-serif;
}

input[type="checkbox"]:checked::before {
    content: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M14.83 4.89l1.34.94-5.81 8.38H9.02L5.78 9.67l1.34-1.25 2.57 2.4z' fill='%23de0000'/%3E%3C/svg%3E");
}
.login input[type="checkbox"]:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #000 !important;
}

#rememberme:checked + label {
    color: #de0000;
}

.login input[type="text"]#user_login {
    border-radius: 99px;
    margin: 1.5rem 0;
    font-family: "Pulp Display", Helvetica, Arial, sans-serif;
    font-size: 16px;
    padding: 1rem;
    font-weight: 400;
}

.login input[type="text"]::placeholder {
    color: #c2c0c0;
}

.login #user_pass {
    border-radius: 99px;
    font-size: 16px;
    padding: 1rem;
    font-family: "Pulp Display", Helvetica, Arial, sans-serif;
    font-weight: 400;
}
.login input[type="password"]::placeholder {
    color: #c2c0c0;
}
.dashicons-visibility:before {
    color: #c2c0c0;
}
.dashicons-hidden:before {
    color: #c2c0c0;
}

.register-button {
    display: block;
    text-align: center;
    max-width: 10rem;
    border-radius: 25px;
    border: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    padding: 14px 32px;
    color: #fff;
    margin: 16px auto 0 auto;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    background: #de0000;
    background: linear-gradient(
        0deg,
        rgba(151, 22, 17, 1) 0%,
        rgba(205, 13, 20, 1) 100%
    );
}

.register-button:hover {
    opacity: 0.75;
    color: #fff;
}

#mo_saml_login_sso_button {
    border-radius: 25px;
    display: inline-block;
    border: none;
    vertical-align: middle;
    font-size: 16px;
    line-height: 22px;
    color: transparent;
    padding: 14px 32px;
    transition: all 0.3s ease;
    position: relative;
    background: #de0000;
    background: linear-gradient(
        0deg,
        rgba(151, 22, 17, 1) 0%,
        rgba(205, 13, 20, 1) 100%
    );
}

#mo_saml_login_sso_button:hover {
    opacity: 0.75;
}

.login #loginform {
    border: none;
    box-shadow: none;
}

.login .privacy-policy-page-link {
    display: none;
}
.login .wp-login-lost-password {
    font-size: 1rem;
}
.wp-login-register {
    padding: 0 0 0 24px;
    text-decoration: none;
    color: #50575e;
    transition: all 0.3s ease;
    font-family: "Pulp Display", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    display: block;
    text-align: center;
}

.wp-login-register:hover {
    color: #de0000 !important;
}
