* {
  box-sizing: border-box;
}
/* for chrome autofill */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
}

.error_row {
  position: absolute;
  width: 100%;
  background-color: #f23e44;
  padding: 24px 0;
  z-index: 99;
}
.error_row.info {
  background-color: #98CA02;
}
.error-text {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  color: #ffffff;
}

#update_browser {
  color: white;
}

#back-link {
  cursor: pointer;
  font-size: 14px;
  line-height: 1.57;
  color: #98ca02;
  margin-top: 24px;
  display: inline-block;
}

#back-link:hover {
  color: #65b300;
}

.update_browser-links {
  color: black;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.login {
  background: #fff;
  margin: 0;
  height: 100vh;
  font-family: "MuseoSans", sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.image {
  background-image: url("../img/imagen_login.png");
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  width: 50%;
  float: left;
}

.title {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.33;
  color: #4c5459;
  margin: 14px 0 4px 0;
}

.sub-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.57;
  color: #797f82;
  margin: 0;
  word-break: break-word;
}

.form {
  background: white;
  height: 100vh;
  width: 50%;
  float: left;
  padding: 0px 15px;
  overflow: scroll;
}

.login-wrapper {
  margin: 0 auto;
  height: auto;
  max-width: 462px;
  position: relative;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  min-height: 291px;
}

#form-wrapper {
  position: relative;
}

/* input field styles */

.input-group {
  position: relative;
  margin: 40px auto;
}

.form-control {
  filter: none;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 35px;
  font-size: 16px;
  border: none;
  box-shadow: inset 0 -1px 0 0 #bbbec0;
  -moz-box-shadow: inset 0 -1px 0 0 #bbbec0;
  -webkit-box-shadow: inset 0 -1px 0 0 #bbbec0;
  background-color: transparent !important;
  -webkit-appearance: none;
  border-radius: 0px;
}

button::-moz-focus-inner {
    border: 0;
}

input[type=email] {
  outline: none;
}

input[type=password] {
  padding-right: 32px;
}

input::-ms-clear, input::-ms-reveal {
  display: none;
  height: 0;
  width: 0;
}

.form-control + label {
  position: absolute;
  top: 10px;
  left: 0;
  font-family: "MuseoSans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #bbbec0;
  transition: all 0.2s ease-out;
}

.form-control:focus {
  outline: none;
  border-width: 2px;
  box-shadow: inset 0 -1px 0 0 #98ca02;
  -moz-box-shadow: inset 0 -1px 0 0 #98ca02;
  -webkit-box-shadow: inset 0 -1px 0 0 #98ca02;
  transition: all 0.2s ease-out;
}

.form-control:-webkit-autofill + label {
  top: -15px;
  color: #bbbec0;
  font-size: 16px;
}

.form-control.has-value + label {
  top: -15px;
  color: #bbbec0;
  font-size: 16px;
}

.form-control:focus + label {
  color: #98ca02;
  top: -15px;
  font-size: 16px;
}

.error-input {
  box-shadow: inset 0 -1px 0 0 #f23e44;
  -moz-box-shadow: inset 0 -1px 0 0 #f23e44;
  -webkit-box-shadow: inset 0 -1px 0 0 #f23e44;
}

.error-input:focus {
  box-shadow: inset 0 -1px 0 0 #f23e44;
  -moz-box-shadow: inset 0 -1px 0 0 #f23e44;
  -webkit-box-shadow: inset 0 -1px 0 0 #f23e44;
}

.error-input + label {
  /* color: #f23e44; */
  color: #bbbec0;
}

.error-input.has-value + label {
  /* color: #f23e44; */
  color: #bbbec0;
}

.error-input:focus + label {
  /* color: #f23e44; */
  color: #bbbec0;
}

.error-input:-webkit-autofill + label {
  /* color: #f23e44; */
  color: #bbbec0;
}

/* end of input field styles */

#forgot-pass {
  color: #98ca02;
  position: absolute;
  top: 60px;
  cursor: pointer;
  pointer-events: auto;
  right: 0;
  z-index: 2;
  outline: 0;
}

#forgot-pass:hover {
  color: #65b300;
}

#toggle-show-pass {
  position: absolute;
  top: 85px;
  cursor: pointer;
  pointer-events: auto;
  right: 0;
  z-index: 2;
}

#toggle-show-re-pass {
  position: absolute;
  top: 160px;
  cursor: pointer;
  pointer-events: auto;
  right: 0;
  z-index: 2;
}

#remember-me-wrapper {
  float: left;
  margin-top: 12px;
  outline: 0;
}
#remember_me {
  min-width: 43%;
}

/* chekboxe style */
input[type="checkbox"] {
  display: none;
}
input[type="checkbox"] + label {
  cursor: pointer;
  width: 100%;
  color: #4c5459;
}

input[type="checkbox"] + label::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  border: 2px solid #dcdee0;
  border-radius: 3px;
  margin: -2px 16px 0 0;
}

input[type="checkbox"]:checked + label::before {
  border: 2px solid #98ca02;
  background: url("../img/login/check.svg") #98ca02;
  background-position: center;
  background-repeat: no-repeat;
}

#sign-in-wrapper {
  outline: 0;
}

#sign-in-wrapper-login {
  float: right;
  outline: 0;
}

#login {
  width: 190px;
  height: 46px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  background-color: #98ca02;
  color: #fff;
  font-family: "MuseoSans", sans-serif;
  font-size: 18px;
  outline: none;
}

#login:disabled {
  background-color: #f4f4f4;
  color: #BBBEC0;
}

#login:hover {
  background: #65b300;
}

#add-account-wrapper {
  float: right;
}

#add {
  width: 190px;
  height: 46px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  background-color: #98ca02;
  color: #fff;
  font-family: "MuseoSans", sans-serif;
  font-size: 18px;
  outline: none;
}

#add:hover {
  background-color: #65b300;
}

#cancel-wrapper {
  float: left;
}

#cancel {
  width: 122px;
  height: 46px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  background-color: #e4e5e6;
  color: #797f82;
  font-family: "MuseoSans", sans-serif;
  font-size: 18px;
  outline: none;
}

#cancel:hover {
  background: #e7eaee;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.16);
  -moz-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.16);
  -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.16);
  border: solid 1px #bbbec0;
}

#privacy {
  display: inline-block;
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.57;
  color: #797f82;
}

a {
  color: #98ca02;
  text-decoration: none;
}

.accounts-title {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.33;
  color: #4c5459;
  margin-bottom: 16px;
}

.multi-sign-in-item-title {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.33;
  color: #4c5459;
}

.multi-sign-in-item {
  font-size: 14px;
  line-height: 1.57;
  font-weight: 500;
  color: #797f82;
}

.multi-sign-in-company-title {
  margin-top: 12px;
}

.delete {
  vertical-align: sub;
  float: right;
}

.g-recaptcha {
  transform: scale(0.8);
  transform-origin: 0 0;
}

/* MOBILE */

@media only screen and (max-width: 425px) {

  .g-recaptcha {
    transform: scale(0.5);
    transform-origin: 0 0;
  }
  .image {
    display: none;
  }
  .form {
    width: 100%;
  }
  #login_logo {
    text-align: center;
  }
  #sign-in-wrapper {
    width: 100%;
  }
  #login {
    width: 100%;
  }
  .login-wrapper {
    /* top: 30%;
    -ms-transform: translateY(-30%);
    transform: translateY(-30%); */
    top: 20%;
    -ms-transform: translateY(0);
    transform: translateY(0);
    width: 80%;
   
  }
  .login-error {
    margin: 35px 0;
  }
  #remember-me-wrapper {
    margin-top: 0;
  }
  #add {
    width: 122px;
  }
  #cancel {
    width: 80px;
  }
}

/* TABLET */

@media only screen and (max-width: 780px) and (min-width: 425px)  {
  .g-recaptcha {
    transform: scale(0.7);
    transform-origin: 0 0;
  }
  .image {
    display: none;
  }
  .form {
    width: 100%;
  }
  #login_logo {
    text-align: center;
  }
  #sign-in-wrapper {
    width: 100%;
  }
  #login {
    width: 100%;
  }
  .login-wrapper {
    top: 35%;
    -ms-transform: translateY(-35%);
    transform: translateY(-35%);
    min-height: 333px;
  }
  #remember-me-wrapper {
    margin-top: 0;
  }
  #add {
    width: 122px;
  }
  #cancel {
    width: 80px;
  }
}

/* Firefox support on win */

@supports (-moz-appearance:none) {
  .form-control {
    border-bottom: 1px solid #bbbec0;
  }
  .form-control:focus {
    border-bottom: 1px solid #98ca02;
  }
  .error-input {
    border-bottom: 1px solid #f23e44;
  }
  
  .error-input:focus {
    border-bottom: 1px solid #f23e44;
  }
}