@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap');

body.login {
  background-color: #FFF;
  color:#646464;
}

#login {
  display: flex;
  flex-direction: column;
  font-family: 'Roboto', sans-serif;
  grid-template: "logo logo" auto "form form" auto "backToPage lostPassword" auto / 50% 50%;
  max-width: 600px;
  width: 95%;
}

.login input[type=text], .login input[type="password"]{
  min-height:52px;
  font-size:14px;
  color:#646464;
  margin-bottom:20px !important;
  padding-top:20px;
  padding-left:9px;
}

#login a {
  color: #000;
  transition: color .25s;
}

#login a:hover {
  color: #333 !important;
}

#login h1 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  grid-area: logo;
}

#login h1::after {
  content: "Sign in to your BOOM Library account to proceed";
  font-size: 1rem;
  line-height: 16px;
  color:#000;
}

#login h1 a {
  background-image: url(/wp-content/themes/wr-nitro-child_dev/images/boom_library-logo_black_centered.svg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center center;
  border-radius: 3px;
  box-sizing: border-box;
  color: transparent;
  width: 100%;
}

.login .button.wp-hide-pw {
  height:100%;
}

#loginform > div > div > button.wp-hide-pw{
  color:#646464;
}

#loginform > div > div > button.wp-hide-pw:hover{
  color:#222;
}

#loginform label[for=user_login], #loginform label[for=user_pass]{
    position: absolute;
    margin-left: 10px;
    /* top: 10px; */
    margin-top: 8px;
    font-size: 12px;
    color: #aeaeae;
    z-index:99;
}

#loginform p:focus-within label, #loginform div.user-pass-wrap:focus-within label{
  color:#646464;
}

#login #loginform {
  border-color: #cecece;
  border-bottom: none;
  border-radius: 2px 2px 0 0;
  box-shadow: none;
  grid-area: form;
  padding:20px 20px 20px;
  display: flex;
  flex-direction: column;
  min-height:272px;
}

#login #loginform .input {
  background-color: #f9f9f9;
  border-color: #cecece;
  border-radius: 2px;

}

#login #loginform p.forgetmenot {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  order:2;
}

#login #rememberme {
  border-radius: 0;
}

#login #loginform p.submit {
  width: 100%;
  display:flex;
  order:1;
}

input[type="checkbox"]:checked::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/%3E%3C/svg%3E");
    margin: 4px;
    height: 10px;
    width: 10px;
}



.button-primary {
    font-size: 14px;
    letter-spacing:2px;
}

#login #loginform #wp-submit {
  background-color: #222;
  border: 1px solid #222;
  float: unset;
  height: 45px;
  text-transform: uppercase;
  transition: background-color .25s, color .25s;
  width: 100%;
  border-radius:2px;
  margin-bottom:20px;
  font-size:14px !important;
  font-weight:300 !important;
}

#login #loginform #wp-submit:hover {
  background-color: #000;

}

#login #backtoblog,
#login p#nav {
  background-color: #f2f2f2;
  border-bottom: 1px solid #cecece;
  margin: 0 0;
  padding: .5rem 1rem;
}

#login #backtoblog a,
#login p#nav a {
  color: #ff5050;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size:14px;
}

#login #backtoblog {
  display:none;
  border-bottom-left-radius: 2px;
  border-left: 1px solid #cecece;
  grid-area: backToPage;
  text-align: right;
}

#login p#nav {
  border-bottom-right-radius: 2px;
  border-right: 1px solid #cecece;
  border-left: 1px solid #cecece;
  grid-area: lostPassword;
  text-align: center;
}

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

input[type="checkbox"], input[type="radio"] {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    color: #646464;
    clear: none;
    cursor: pointer;
    display: inline-block;
    line-height: 0;
    height: 20px;
    margin: -.25rem 13px 0 0;
    outline: 0;
    padding: 0!important;
    text-align: center;
    vertical-align: middle;
    width: 20px;
    min-width: 1rem;
    -webkit-appearance: none;
    box-shadow: none;
    transition: .05s border-color ease-in-out;
}
