#login input[type=checkbox]:checked::before {
  content: url(data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%233582c4%27%2F%3E%3C%2Fsvg%3E);
}

#login {
  max-width: 320px;
  margin: auto;

  padding: 20px;

  color: #122B46;

  padding-top: 5%;
  padding-bottom: 5%;

  font-size: 14px;
  line-height: 1.4em;
}

#login h1 {
  line-height: 42px;

  text-align: center;
}

#login h1 img {
  height: auto;
  max-width: 100%;
  vertical-align: middle;

  visibility: visible;
  display: inline-block;

  width: 70px;
}

#login .login-heading {
  margin: 35px 0 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#login #login_error {
  padding: 12px;
  margin-left: 0;
  margin-bottom: 20px;
  word-wrap: break-word;

  margin-top: 15px;
  border: 0;
  box-shadow: none;
  border-radius: 6px;

  border-left-color: #EF3E46;
  background-color: #EF3E46;
  color: #fff;
}

#login form {
  margin-top: 20px;
  font-weight: 400;
  overflow: hidden;
  background: #fff;

  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 2px;
  margin-left: -2px;
  margin-right: -2px;

  animation: shake .2s cubic-bezier(.19,.49,.38,.79) both;
  animation-iteration-count: 3;
  transform: translateX(0);
}

#login form label {
  cursor: pointer;

  vertical-align: middle;

  font-size: 14px;
  line-height: 1.5;

  margin-bottom: 1px;

  display: block;
  position: relative;

  white-space: nowrap;
}

#login form label.icon {
  position: absolute;
  top: 10px;
  left: 10px;
}

#login form .user-pass-wrap label.icon {
  left: 15px;
}

#login form input[type="text"],
#login form input[type="password"] {

  display: inline-block;
  font-family: inherit;
  font-style: inherit;
  height: 41px;
  outline: 0;

  vertical-align: baseline;

  line-height: 1.33333333;
  width: 100%;
  margin: 0 6px 16px 0;
  min-height: 40px;
  max-height: none;

  background-color: #FFFFFF;
  border: 1px solid #E7E9EC;
  box-shadow: none;
  border-radius: 6px;
  font-size: 16px;
  color: #4D5C6D;

  padding: 10px 10px 10px 40px;
}

#login form p {
  margin-bottom: 0;
}

#login form p.forgetmenot {
  font-weight: 400;
  float: left;

  font-size: 14px;
  line-height: 20px;
  vertical-align: bottom;
  padding-top: 4px;
  position: relative;
}

#login form input[type="checkbox"] {
  font-family: inherit;
  font-style: inherit;
  font-size: 15px;

  z-index: 10;

  border: 1px solid #8c8f94;
  border-radius: 4px;
  color: #50575e;
  clear: none;
  cursor: pointer;
  line-height: 0;
  outline: 0;
  padding: 0!important;
  text-align: center;
  min-width: 1rem;
  -webkit-appearance: none;
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 10%);
  transition: .05s border-color ease-in-out;

  vertical-align: baseline;

  background: #fff;

  margin: 0;
  width: 20px;
  height: 20px;

  float: left;
  margin-right: 10px;
}

#login form .lostmenot {
  padding: 5px 0 0;

  margin-bottom: 0;
}

.login form .lostmenot a {
  outline: 0;
  box-shadow: none;

  text-decoration: none;
  color: #5A5A5A;
}

#login form p.submit .button-primary {
  vertical-align: baseline;

  min-height: 32px;
  line-height: 2.30769231;

  background-color: #385DFF;
  color: #ffffff;
  border: 1px solid #385DFF;
  border-radius: 100px;
  box-shadow: none;
  text-shadow: none;
  height: auto;
  padding: 4px 30px;
  -webkit-transition: all linear .2s;
  transition: all linear .2s;
  float: none;
  width: 100%;
  margin: 20px 0 0;
  font-size: 14px;
}

#login #backtoblog {
  margin-top: 20px;
  text-align: center;
}
