.sm-login-overlay {
  position: fixed;
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.8);
  display: none;
}

.sm-login-overlay .loading{
  position: absolute;
  display: block;
  height: 80px;
  text-align: center;
  color: #000000c7;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  font-size: 18px;
}

.sm-login-overlay .loading .spinner{
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 2px solid #00000038;
  border-right-color: transparent;
  border-radius: 50%;
  -webkit-animation: .75s linear infinite spinner;
  animation: .75s linear infinite spinner;
}

@keyframes spinner {
  to {
      transform: rotate(360deg);
  }
}

.or {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #dcdcdc;
    line-height: 0.1em;
    margin: 30px 0;
  }

.or span {
  background: #ffffff;
  padding: 0 10px;
}

.customGPlusSignIn {
    text-align: center;
    border: 1px;
    display: inline-block;
    background: #f7f7f7;
    width: 100%;
    border-radius: 0px;
    border: thin solid #e4e4e4;
    white-space: nowrap;
    cursor: pointer;
    margin-top: 15px;
}

.customGPlusSignIn .icon {
    background: url(./../../g-normal.png) transparent 5px 50% no-repeat;
    display: inline-block;
    vertical-align: middle;
    width: 42px;
    height: 42px;
}

.customGPlusSignIn .buttonText {
    display: inline-block;
    vertical-align: middle;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}

@media screen and (min-width: 320px) and (max-width: 640px) {	
  .login.bb-login #login{
    padding-top: 20% !important;
  }
}

.guestSignIn i.bb-icon-user-avatar{
  display: inline-block;
  vertical-align: middle;
  width: 50px;
  height: 42px;
}

.guestSignIn i.bb-icon-user-avatar:before{
  font-size: 2.3rem;
  margin: 3px 0 0;
  color: #122b46;
}

.guestSignIn .buttonText{
  padding-left: 4px;
}

.bb-logo.tbn-logo{
  width: 180px;
}

/* .site-title img.tbn-mobile-logo {
  width: 220px !important;
} */

.bb-mobile-panel-inner>.bb-mobile-panel-header>.logo-wrap>a>.bb-mobile-logo.tbn-mobile-logo{
  width: 132px !important;
}

@media screen and (min-width: 800px) and (max-width: 992px) {
  .site-title img.tbn-mobile-logo {
    width: 170px !important;
  }
}

.guest-login-text{
  text-align: center;
  font-size: 9pt;
  margin: 7px 0 35px;
  color: #6b6969;
}

.bp_register .checkbox-options{
  padding: 10px 0;
}

.bp_register .bs-styled-checkbox+label{
  font-size: 11pt !important;
  font-weight: normal;
  line-height: 1.3;
}

#login .bs-styled-checkbox+label{
  font-size: 9pt !important;
}

#login .checkbox-options{
  padding: 7px 0 10px;
  text-align: center;
}

#login .bs-styled-checkbox+label:before,
.bp_register .bs-styled-checkbox+label:before{
  vertical-align: sub !important;
  width: 15px !important;
  height: 15px !important;
  margin-right: 5px !important;
}

.bp_register .error-message{    
  border-color: #ef3e46;
  background-color: #ef3e46;
  color: #fff;
  margin-top: 10px;
  display: none;
  margin: 10px 0 0 !important;
  padding: 5px 15px !important;
  font-size: 14px;
  border-radius: 5px;
}

.bp_register .bs-styled-checkbox:checked+label:after{
  left: 1px !important;
  font-size: 13px !important;
}

#login .bs-styled-checkbox:checked+label:after{
  left: 1px !important;
  top: 1px !important;
  font-size: 13px !important;
}

#login .error-message {
  background-color: #ef3e46;
  color: #fff;
  margin-top: 10px;
  margin: 10px 0 0 !important;
  padding: 5px 10px 3px !important;
  font-size: 9pt;
}

/* Dark mode for OPA and OPAB */
body.opa-dark-mode,
body.opa-dark-mode .or span{
	background-color: #121218 !important;
	color: #f0f0f5;
}
body.opa-dark-mode .customGPlusSignIn{
  background: #2a2141;
  color: #f0f0f5;
  border-color: #352e4d;
}
body.opa-dark-mode.login input[type=email], 
body.opa-dark-mode.login input[type=password], 
body.opa-dark-mode.login input[type=text]{
  background-color: #272438;
  border: 1px solid #352e4d;
  color: #ffffff;
}
body.opa-dark-mode .guestSignIn i.bb-icon-user-avatar:before,
body.opa-dark-mode.login h1.admin-email__heading,
body.opa-dark-mode.login.login-action-lostpassword.bb-login #login>p.message>div,
body.opa-dark-mode.login .login-heading h2,
body.opa-dark-mode.login #login, body.opa-dark-mode.login p.forgetmenot label{
   color: #f0f0f5;
}
body.opa-dark-mode .bs-bp-container-reg a, body.opa-dark-mode.buddypress.register .register-section-logo a,
body.opa-dark-mode.login a.privacy-policy-link, 
body.opa-dark-mode.login form .lostmenot a, 
body.opa-dark-mode form#lostpasswordform a.bs-sign-in,
body.opa-dark-mode.login .login-heading a,
body.opa-dark-mode.login a{
   color: #b491e5 ;
}
body.opa-dark-mode .bs-bp-container-reg a:hover, 
body.opa-dark-mode.buddypress.register .register-section-logo a:hover,
body.opa-dark-mode.login a:hover,
body.opa-dark-mode.login .login-heading a:hover {
   color: #aa86c6 !important;
}
body.opa-dark-mode .guest-login-text,
body.opa-dark-mode.login form#loginform label[for=user_login]:before, 
body.opa-dark-mode.login form#loginform label[for=user_pass]:before, 
body.opa-dark-mode .user-pass-wrap .wp-pwd:before,
body.opa-dark-mode.login .user-pass-wrap .wp-pwd .dashicons {
    color: #c4c6c9;
}
body.opa-dark-mode.login.bb-login .button-primary, 
body.opa-dark-mode.login.bb-login .wp-generate-pw, 
body.opa-dark-mode.login.wp-core-ui .button-primary,
body.opa-dark-mode.login.login-action-lostpassword .message>.message, 
body.opa-dark-mode.login:not(.login-action-lostpassword) .message:not(.reset-pass),
body.opa-dark-mode span.checkbox.on  {
  border-color: #e6c200 !important;
  color: #121219;
  background-color: #e6c200 !important;
}
body.opa-dark-mode.login.bb-login .button-primary:hover, 
body.opa-dark-mode.login.bb-login .wp-generate-pw:hover, 
body.opa-dark-mode.login.wp-core-ui .button-primary:hover {
  background-color: #121218 !important;
  color: #ffffff;
}
body.opa-dark-mode.bb-template-v2.login input[type=email]:focus, 
body.opa-dark-mode.bb-template-v2.login input[type=password]:focus, 
body.opa-dark-mode.bb-template-v2.login input[type=text]:focus {
  border-color: #e6c200;
}
body.opa-dark-mode .admin-email__actions .admin-email__actions-primary a.button{
  border-color: #e6c200;
  color: #ffffff;
}
body.genai .wp-login-logo{
  padding: 10px 5px;
  background-color: #0e0626;
  display: block;
  margin: 0 auto 15px;
  width: 150px;
  text-align: center;
  border-radius: 3px;
}
body.genai .wp-login-logo a{
  background-color: #0e0626;
  width: 110px;
  border-radius: 3px;
  margin: 0 auto;
  margin-bottom: 0 !important;
}
