.account-creation-wrap {
	transition-property: all;
	transition-duration: 0.5s;
	transition-delay: 0s;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    min-width: 240px;
    max-width: 575px;
    height: fit-content;
    background-color: var(--brookens-white);
    padding: 1rem;
    border-radius: 3px;
    box-shadow: 0px 0px 15px rgb(0 0 0 / 30%);
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin-top: auto;
    margin-bottom: auto;
}

.page-template-brookens-login-modal main {
    min-height: calc(max(70vh, 700px + 2rem));
    display: block;
    margin-bottom: unset;
    position: relative;
}

.login-page .account-creation-wrap {
    box-shadow: none;
    margin-top: 2rem;
}

.account-creation-wrap .branding-wrap {
    width: 50%;
    min-width: 160px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    text-align: center;
    display: none; /* comment this line out to put logo back in */
}

.login-page .account-creation-wrap .branding-wrap {
    display: none;
}

#login-wrap .form-title,
#lostpass-wrap .form-title,
#createaccount-wrap .form-title,
#checkstatus-wrap .form-title {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

#login-wrap,
#lostpass-wrap,
#createaccount-wrap,
#checkstatus-wrap {
    overflow: hidden;
    transition-property: max-height, opacity;
    transition-duration: 0.33333s;
    transition-timing-function: ease-in-out;
}

#loginform p,
#lostpasswordform p,
#createaccountform p,
#checkstatusform p {
    display: flex;
    flex-direction: column;
    width: calc(max(80%, 177px));
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
}

#nav {
    text-align: center;
    margin-bottom: 2rem;
}

#loginform .login-submit,
#lostpasswordform .login-submit,
#createaccountform .login-submit,
#checkstatusform .login-submit {
    margin-top: 3rem;
}

body.page-template-brookens-login-modal {
	background-color: var(--brookens-light-grey) !important;
	transition-property: background-color;
	transition-duration: 0.5s;
	transition-delay: 0s;
}

label {
	color: var(--brookens-red);
    font-weight: 700;
}

input {
    padding: 0.5rem !important;
    margin-top: 0.25rem !important;
}

input::placeholder {
    color: var(--brookens-grey);
}

#wp-submit,
#pass-submit,
#account-submit,
#status-submit {
	transition-property: all;
	transition-duration: 0.5s;
	transition-delay: 0s;
    border: 0px;
    padding: 1rem !important;
    background-color: var(--brookens-red);
    text-transform: uppercase;
    color: var(--brookens-white);
    font-weight: 500;
    box-shadow: 0px 2px 3px rgb(0 0 0 / 10%);
    cursor: pointer;
}

#wp-submit:hover,
#pass-submit:hover,
#account-submit:hover,
#status-submit:hover {
	background-color: var(--brookens-red-hover);
    box-shadow: 2px 3px 5px rgb(0 0 0 / 25%);
}

#error_message,
.user-message {
    display: block;
    width: calc(max(80%, 177px));
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    border: 1px solid var(--brookens-red);
    background-color: rgba(215, 25, 33, 0.2);
    padding: 0.75rem;
    border-radius: 0.25rem;
	font-size: 0.9rem;
}

.user-message {
    border-color: forestgreen;
    background-color: rgba(34, 139, 34, 0.2);
}

#loginform,
#lostpasswordform,
#createaccountform,
#checkstatusform {
	margin-top: 2rem;
}

#login > h1 > a {
	display: none;
}

#login form p {
    width: 100%;
}

body.login .button.wp-hide-pw {
    margin-top: 0.5rem;
}

/* "Remember Me" is always on and forced server-side (see functions.php),
   so the checkbox is removed from the login form. */
#login #loginform .forgetmenot {
    display: none !important;
}

#login > h1 {
    width: 260px;
    height: 100px;
    background-image: url('../images/brookens_logo_19-transparent.png');
    background-position: center;
    background-size: 260px;
    background-repeat: no-repeat;
    margin-left: auto;
    margin-right: auto;
}

#login #loginform #wp-submit,
#login #lostpasswordform #wp-submit,
#login #createaccountform #account-submit,
#login #checkstatusform #status-submit {
    margin-top: 1rem !important;
    background-color: rgba(215, 25, 33, 1);
    color: white;
    padding: 0.5rem !important;
}

body.login #login_error,
body.login .message,
body.login .success {
    border-left: 4px solid rgba(215, 25, 33, 1);
    margin-top: 1rem;
}

#login #loginform .submit {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

#login #loginform p {
	margin-top: 0rem;
}

body.login {
	background-color: whitesmoke !important;
}

.login-password {
    flex-direction: row-reverse !important;
    flex-wrap: wrap;
    justify-content: space-between;
}

#user_pass {
    flex-basis: 100%;
}

#job-status {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    margin-bottom: 2rem;
    text-align: center;
}

#pass-strength-result {
    background-color: #666666 !important;
    border-color: #555555 !important;
    color: white !important;
}

#pass1 {
    border-color: #555555 !important;
}

#pass1.good,
#pass1.bad,
#pass1.strong,
#pass1.short {
    border-radius: 5px 5px 0px 0px;
}

.button.wp-generate-pw {
    border: 1px solid #555555;
    background: #666666;
    color: white;
    text-transform: uppercase;
    width: 49%;
    font-size: 0.7rem;
    line-height: 0.7rem;
    height: 1.2rem;
    padding: 0px !important;
    font-weight: 400;
    min-height: 40px;
}

#wp-submit[value="Save Password"],
#wp-submit[value="Register"] {
    border: 1px solid rgba(215, 25, 33, 1);
    background-color: rgba(215, 25, 33, 0.9);
    color: white;
    text-transform: uppercase;
    width: 49%;
    font-size: 0.7rem;
    height: 1.2rem;
    line-height: 0.7rem;
    padding: 0px !important;
    margin-top: 0px !important;
    font-weight: 400;
    min-height: 40px;
}

#wp-submit[value="Save Password"]:hover,
#wp-submit[value="Register"]:hover {
    background-color: rgba(215, 25, 33, 0.1);
    color: rgba(215, 25, 33, 1);
}

#create-account-wrapper {
    text-align: center;
    border-bottom: 2px solid var(--brookens-light-gray);
    padding-bottom: 0.8rem;
    margin-bottom: -0.8rem;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
}

#create-account:hover,
#job-status:hover,
#lostpass:hover {
    color: var(--brookens-red-hover) !important;
}

#or-block {
    width: fit-content;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 300;
    background-color: white;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

#backtoblog {
    display: none;
}

#login_error a, p#nav a {
    display: none !important;
}

p#nav::after {
    content: 'Please login using your JobNimbus email and password.';
    display: flex;
    height: 7rem;
    background-image: url(/wp-content/themes/brookens_portal/images/jn-logo.png);
    background-repeat: no-repeat;
    background-size: 50%;
    padding-top: 3.5rem;
    background-position-y: 1.5rem;
    width: 120%;
    margin-left: -10%;
    background-position-x: 50%;
}

#login_error::after {
    content: ' Please use the same email and password that you log into JobNimbus with.'
}

@media screen and (max-width: 750px) {
	#login-wrap .form-title,
    #lostpass-wrap .form-title,
    #createaccount-wrap .form-title,
    #checkstatus-wrap .form-title {
		font-size: 1.4rem;
		line-height: 1.5rem;
	}

	.account-creation-wrap {
		width: 80%;
	}
}

@media screen and (max-width: 550px) {
    .page-template-brookens-login-modal main {
        min-height: unset;
        height: fit-content;
    }

	#login-wrap .form-title,
    #lostpass-wrap .form-title,
    #createaccount-wrap .form-title,
    #checkstatus-wrap .form-title {
		font-size: 1.1rem;
		line-height: 1.2rem;
	}

	.account-creation-wrap {
		width: 100%;
		box-shadow: none;
		margin: 0px;
        position: relative;
        top: unset;
        bottom: unset;
        left: unset;
        right: unset;
        margin-top: 2rem;
        margin-bottom: 2rem;
	}

    .branding-wrap {
        display: none;
    }

	body.page-template-brookens-login-modal {
		background-color: var(--brookens-white) !important;
	}

    #wp-submit,
    #pass-submit,
    #account-submit,
    #status-submit {
        padding: 0.75rem !important;
        font-size: 0.9rem;
    }

    #loginform .login-submit {
        margin-top: 2rem !important;
    }
}

@media screen and (max-width: 350px) {
    .login-password {
        justify-content: left;
    }
    
    #lostpass {
        flex-basis: 100%;
    }
}