/* ------------------------------------------------------------

    * Custom Login CSS
    * Custom Wordpress login page and styling.
    * John Ranby
    * https://www.johnranby.me
    * Version: 1.0.0

/* ------------------------------------------------------------

	Table of Contents:

	01 - Base
	02 - Forms
	03 - Links & Typography
	04 - Messages 
	05 - Inputs
	06 - Registration Custom
    07 - Privacy Policy
    08 - Admin Confirm Email

/* ------------------------------------------------------------
	01: Base
------------------------------------------------------------ */
* {
  margin: 0;
  padding: 0;
}

html {
  background: #ffffff;
  display: block;
  height: 100%;
}

body {
  height: 100%;
  font-size: 14px;
  font-family: "Helvetica Neue", "Helvetica", Arial, sans-serif;
  min-height: 100%;
  background-color: #dd0333;
}

body:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 40px;
  background-color: #dd0333;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

h1 {
  margin-top: 10px !important;
  margin-bottom: 20px !important;
}

h1 a {
  background: url(../img/logo/logo-login.svg) no-repeat !important;
  background-size: contain !important;
  width: 148px !important;
  height: 80px !important;
  text-indent: -9999px;
  display: block;
  margin: 0px auto 0px auto !important;
}

/* ------------------------------------------------------------
	02: Forms
------------------------------------------------------------ */
#login {
  width: 300px;
  max-width: 480px !important;
}

#loginform,
#registerform,
#lostpasswordform {
  border: none !important;
  margin-top: 0px !important;
  box-shadow: none !important;
  padding: 20px 20px 20px 20px;
  background: rgba(255, 255, 255, 0.0725);
}

#loginform:before,
#loginform:after,
#registerform:before,
#registerform:after,
#lostpasswordform:before,
#lostpasswordform:after {
  content: "";
  display: table;
}

#loginform:after,
#registerform:after,
#lostpasswordform:after {
  clear: both;
}

/* ------------------------------------------------------------
	03: Links & Typography
------------------------------------------------------------ */
#login a {
  transition: color 0.3s ease;
}

#backtoblog {
  position: absolute;
  top: 0;
  left: 10px;
  height: 25px;
  margin: 10px 0 !important;
}

#backtoblog a {
  color: #dd0333 !important;
  text-decoration: none;
  font-weight: 600;
}

#backtoblog a:hover {
  color: #efa339;
}

#nav {
  position: absolute !important;
  top: 0;
  right: 10px;
  height: 25px;
  text-align: right;
  color: #3d3935;
  margin: 10px 0 !important;
}

#nav a {
  color: #dd0333 !important;
  text-decoration: none;
  margin: 0 5px;
  font-weight: 600;
}

#nav a:hover {
  color: #efa339;
}

#registerform a {
  color: #dd0333 !important;
  text-decoration: none;
}

#registerform a:hover {
  color: #efa339;
}

#loginform p {
  margin: 0 0 10px 0;
}

#loginform label,
#registerform label,
#lostpasswordform label {
  display: inline-block;
  line-height: 1.5;
  color: #FFFFFF;
}

#lostpasswordform label {
  text-align: center;
}

/* ------------------------------------------------------------
	04: Messages
------------------------------------------------------------ */
#login_error {
  color: #858585;
  border-left: 4px solid #ea5241;
  padding: 12px;
  margin-left: 0;
  margin-bottom: 20px;
  background-color: #ECE4E1;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
}

#login_error a {
  color: #ea5241;
  text-decoration: none;
}

#login_error a:hover {
  color: #bc2a20;
}

#reg_passmail {
  text-align: center;
  margin-top: 20px;
  color: #858585;
}

.message {
  color: rgb(32, 32, 32);
  border-left: 4px solid #00a0d2;
  padding: 12px;
  margin-left: 0;
  margin-bottom: 20px;
  background-color: #fff;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
}

.forgetmenot {
  float: left;
  color: #1D1D1B;
  margin: 10px 0 0 !important;
  display: inline-block;
}

.forgetmenot label {
  margin: 0 !important;
  line-height: 0 !important;
  font-weight: 400 !important;
}

.forgetmenot input#rememberme {
  vertical-align: middle;
  margin-right: 5px;
  margin-top: -4px;
}

#loginform .submit {
  float: right;
  display: inline-block;
  text-align: center !important;
  margin-bottom: 0 !important;
}

#registerform .submit {
  text-align: center;
}

/* ------------------------------------------------------------
	05: Inputs
------------------------------------------------------------ */
#loginform select,
#loginform input[type=text],
#loginform input[type=password],
#registerform select,
#registerform input[type=text],
#registerform input[type=email],
#registerform input[type=password],
#lostpasswordform input[type=text] {
  display: block;
  margin: 2px 0px 20px 0px;
  padding: 5px 8px;
  font-size: 1em;
  color: #858585 !important;
  border: none;
  background-color: #ffffff !important;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 0px 2px;
  border-radius: 2px;
}

#loginform input[type=password],
#registerform input[type=password] {
  margin-bottom: 20px;
}

#loginform input[type=submit],
#registerform input[type=submit],
#lostpasswordform input[type=submit] {
  float: right;
  text-shadow: none !important;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: #1D1D1B;
  border: none !important;
  box-shadow: none;
  background-color: #dd0333;
  cursor: pointer;
  border-radius: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

#lostpasswordform input[type=submit] {
  float: none;
}

#loginform input[type=submit]:hover,
#registerform input[type=submit]:hover,
#lostpasswordform input[type=submit]:hover {
  background-color: #efa339;
}

#loginform input[type=text]:focus,
#loginform input[type=password]:focus,
#loginform input[type=text]:hover,
#loginform input[type=password]:hover,
#registerform input[type=text]:focus,
#registerform input[type=password]:focus,
#registerform input[type=text]:hover,
#registerform input[type=password]:hover,
#lostpasswordform input[type=text]:hover {
  outline: none;
  -webkit-box-shadow: 0 0 0px 1000px #f8f9fa inset;
}

#registerform input[type=submit] {
  float: none;
}

/* ------------------------------------------------------------
	06: Registration Custom
------------------------------------------------------------ */
#registerform .description {
  line-height: 11px;
  font-size: 11px;
  margin: 10px;
  color: #858585;
  display: none !important;
}

#registerform .agree {
  color: #eb3c2f;
  font-weight: 600;
  text-decoration: none;
}

#registerform .agree:hover {
  color: #34424c;
}

/* ------------------------------------------------------------
    07: Privacy Policy
------------------------------------------------------------ */
.privacy-policy-page-link {
  margin: 15px 0 0 !important;
  text-align: center;
}

.privacy-policy-page-link .privacy-policy-link {
  color: #dd0333;
  text-decoration: none;
  font-size: 12px !important;
}

/* ------------------------------------------------------------
    08: Admin Confirm Email
------------------------------------------------------------ */
.login {
  margin: 0 auto !important;
}

.login form {
  border: none !important;
  box-shadow: none !important;
  padding: 20px 30px 20px 30px;
  background: rgba(255, 255, 255, 0.0725);
}

.login form a {
  color: #dd0333;
  text-decoration: none;
}

.login p {
  margin-bottom: 10px;
  color: rgb(255, 255, 255) !important;
}

.message p {
  color: #202020 !important;
  margin-bottom: 0px !important;
}

.login .admin-email__heading {
  color: rgb(255, 255, 255) !important;
}

.login h1 {
  margin-bottom: 20px;
}

.login .button.wp-hide-pw {
  display: none !important;
}

.admin-email__actions-primary .button {
  font-size: 13px;
  color: rgb(32, 32, 32);
}

.admin-email__actions-primary .button-primary {
  background: #dd0333;
  border-color: #dd0333;
  color: rgb(32, 32, 32);
}

.admin-email__actions-primary .button-primary:hover,
.admin-email__actions-primary .button-primary:focus {
  background: #efa339;
  border-color: #efa339;
  color: rgb(32, 32, 32);
}

/* ------------------------------------------------------------
    09: Language Switcher
------------------------------------------------------------ */
#language-switcher label {
  color: #dd0333;
}

#language-switcher .button {
  color: #1D1D1B;
  box-shadow: none;
  border: none !important;
  background-color: #dd0333;
}

#language-switcher .button:hover,
#language-switcher .button:focus {
  background-color: #efa339;
}
