#err-message {
    margin: 0 6px 16px 0 !important;
    color: red;
}

.login {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #fff;
padding: 20px;
border: 1px solid #ccc;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
z-index: 1000;
max-width: 400px;
width: 90%;
}
#login {
width: 320px;
padding: 5% 0 0;
margin: auto;
}

.login h1 {
text-align: center;
}

.login * {
    margin: 0;
    padding: 0;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 999;
}

#closePopupButton {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

#loginform {
margin-bottom: 20px;
}

.login form {
margin-top: 20px;
margin-left: 0;
padding: 26px 24px 34px;
font-weight: 400;
overflow: hidden;
background: #fff;
border: 1px solid #c3c4c7;
box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

#login form p {
margin-bottom: 0;
}
#login form p.submit {
margin: 0;
padding: 0;
border:none;
}

.wp-core-ui .button-group.button-large .button, .wp-core-ui .button.button-large {
min-height: 32px;
line-height: 2.30769231;
padding: 0 12px;
}
.wp-core-ui p .button {
vertical-align: baseline;
}
.login .button-primary {
float: right;
}
.wp-core-ui .button-primary {
background: #2271b1;
border-color: #2271b1;
color: #fff;
text-decoration: none;
text-shadow: none;
}
.wp-core-ui .button, .wp-core-ui .button-primary, .wp-core-ui .button-secondary {
display: inline-block;
text-decoration: none;
font-size: 13px;
line-height: 2.15384615;
min-height: 30px;
margin: 0;
padding: 0 10px;
cursor: pointer;
border-width: 1px;
border-style: solid;
-webkit-appearance: none;
border-radius: 3px;
white-space: nowrap;
box-sizing: border-box;
}
form input[type=submit] {
border: none;
width: auto;
cursor: pointer;
margin-top: 50px;
padding-bottom: 0px;
border-bottom: 1px solid transparent;
}

.login .forgetmenot label, .login .pw-weak label {
line-height: 1.5;
vertical-align: baseline;
}

.login form .input, .login form input[type=checkbox], .login input[type=text] {
background: #fff;
}
.login form .input, .login form input[type=checkbox], .login input[type=text] {
background: #fff;
}

input[type=checkbox], input[type=radio] {
border: 1px solid #8c8f94;
border-radius: 4px;
background: #fff;
color: #50575e;
clear: none;
cursor: pointer;
display: inline-block;
line-height: 0;
height: 1rem;
margin: -0.25rem 0.25rem 0 0;
outline: 0;
padding: 0!important;
text-align: center;
vertical-align: middle;
width: 1rem;
min-width: 1rem;
-webkit-appearance: none;
box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
transition: .05s border-color ease-in-out;
}

.login label {
font-size: 14px;
line-height: 1.5;
display: inline-block;
margin-bottom: 3px;
}
.login form .input, .login form input[type=checkbox], .login input[type=text] {
background: #fff;
}

.login form .input, .login input[type=password], .login input[type=text] {
font-size: 24px;
line-height: 1.33333333;
width: 100%;
border-width: 0.0625rem;
padding: 0.1875rem 0.3125rem;
margin: 0 6px 16px 0;
min-height: 40px;
max-height: none;
}
input[type=date], input[type=datetime-local], input[type=datetime], input[type=email], input[type=month], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=time], input[type=url], input[type=week] {
padding: 0 8px;
line-height: 2;
min-height: 30px;
}
input[type=color], input[type=date], input[type=datetime-local], input[type=datetime], input[type=email], input[type=month], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=time], input[type=url], input[type=week], select, textarea {
box-shadow: 0 0 0 transparent;
border-radius: 4px;
border: 1px solid #8c8f94;
background-color: #fff;
color: #2c3338;
}
.login h1 a {
background-position: center top;
background-repeat: no-repeat;
color: #3c434a;
height: 84px;
font-size: 20px;
font-weight: 400;
line-height: 1.3;
margin: 0 auto 0px;
padding: 0;
text-decoration: none;
text-indent: -9999px;
outline: 0;
overflow: hidden;
display: block;
}

#login form p.submit {
margin-top: 10px;
}