body div.p_login{
  display:flex;
  width: 100%;
  flex-direction: row-reverse;
  min-height: calc(100vh);
  font-family: 'Hind', sans-serif;
}
body div.p_login .error{
  border-radius: 0px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
}
#sistem-logo img{
  width: 350px;
}

#sistem-logo img.dark {
  display: none;
}

[data-theme="dark"] #sistem-logo img.light {
  display: none;
}

[data-theme="dark"] #sistem-logo img.dark {
  display: block;
}

.p_login_background{
  background: url('../../Common/images/login-background.jpeg');
  width: 100%;
  max-width: 500px;
  background-size: cover;
  background-position: center;
}
div.p_login .p_login_middle{
  background-color: var(--background-white);
}
#login-welcome{
  font-weight: 600;
  font-size: 30px;
  margin-top: 45px;
  color: var(--t-dark);
}
#login-instructions{
  font-weight: 300;
  font-size: 13px;
  margin-top: 7px;
  color: var(--t-dark);
}
div.p_login #loginform #bigbutton {
  font-size: 20px;
  padding: 0;
  border-radius: 3px;
  letter-spacing: 3px;
  line-height: 50px;
  height: 43px;
  background-color: #7979BA;
}
div.p_login #loginform #bigbutton:hover, div.p_login #loginform #bigbutton:focus {
  background-color: var(--p-300);
  border: unset;
  outline: unset;
}
/* body div.p_login input[type="text"].form-control, body div.p_login input[type="text"]:-internal-autofill-selected {
  background: unset;
  background-color: #fff;
  color: #000;
} */
.form-signin{
  margin-bottom: 100px;
}

/* Para forzar el color cuando chrome rellena los campos */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px var(--background-gray) inset !important;
    color: var(--text);
}

/*Change text in autofill textbox*/
input:-webkit-autofill{
  -webkit-text-fill-color: var(--t-dark) !important;
}


@keyframes loginloadingeffect {
  0%   { background-color: var(--p-300); }
  15%  {background-color: var(--p-100);}
  100% { background-color: var(--p-300); }
}
.login-loading-effect{
  animation-name: loginloadingeffect;
  animation-duration: 1.3s;
  animation-iteration-count: infinite;
}


@media (max-width: 980px){
  body div.p_login{
    flex-direction: column;
  }
  .p_login_background{
    height: 300px;
    width: 100%;
    max-width: unset;
  }
}