﻿body:has(.login-form.active) {
  overflow: hidden;
}

#login-form {
  position: fixed;
  top: 90px;
  right: 0;
  transform: translateX(100%);
  opacity: 0;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  padding: 24px 32px 22px;
  background-color: #fff;
  border-bottom: 5px solid #e21285;
  transition: transform 0.5s cubic-bezier(0.42, 0, 0.58, 1), opacity 0.5s ease-in-out;
  z-index: 10;
}
@media (min-width: 1051px) {
  #login-form {
    top: 133px;
    width: 324px;
    height: auto;
    box-shadow: -5px 0 5px rgba(50, 50, 50, 0.075);
  }
}
@media (min-width: 1201px) {
  #login-form {
    top: 121px;
  }
}
#login-form.active {
  transform: translateX(0);
  opacity: 1;
}
#login-form .title {
  font-family: "Whitney-Medium";
  /*color: #787878;*/
  color: #003a70; /* JG */
  font-size: 24px;
  line-height: 1;
  margin-top: 0;
  margin-bottom: 10px;
}
#login-form .close-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  display: inline-flex;
  padding: 0;
  font-size: 28px;
  color: #787878;
  cursor: pointer;
  background-color: transparent;
  border: 0;
}
#login-form .close-icon-icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
}
#login-form .form-group {
  margin-bottom: 4px;
}
#login-form .form-group label,
#login-form .checkbox label {
  color: #787878;
}
#login-form .form-control {
  width: 100%;
  max-width: 100%;
  height: 46px;
  margin-top: 3px;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 0;
  background-color: transparent;
}
#login-form .form-control:focus-visible {
  outline: 2px solid rgb(0, 95, 204) !important;
  border-radius: 2px;
}
#login-form .links {
  margin-top: -4px;
  margin-bottom: 8px;
}
#login-form .links a {
  display: inline-block;
  font-size: 14px;
  color: #003a70;
  text-decoration: none;
  line-height: 1;
}
#login-form .links a:first-of-type {
  position: relative;
  padding-right: 10px;
}
#login-form .links a:first-of-type::after {
  content: "";
  position: absolute;
  right: 0;
  width: 2px;
  height: 100%;
  display: inline-block;
  background-color: #d1d5db;
}
#login-form .links a:last-of-type {
  padding-left: 10px;
}
#login-form .custom-checkbox {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
}
#login-form .custom-checkbox input[type=checkbox] {
  opacity: 0;
  position: absolute;
  cursor: pointer;
  width: 18px;
  height: 18px;
}
#login-form .custom-checkbox input[type=checkbox]:checked + label::before {
  background-color: #003a70;
  border-color: #003a70;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='white' d='M16.7 5.3a1 1 0 0 1 0 1.4l-8 8a1 1 0 0 1-1.4 0l-4-4a1 1 0 0 1 1.4-1.4l3.3 3.3 7.3-7.3a1 1 0 0 1 1.4 0z'/%3e%3c/svg%3e");
  background-size: 18px;
  background-repeat: no-repeat;
  background-position: center;
}
#login-form .custom-checkbox input[type=checkbox]:focus + label::before {
  border-color: #003a70;
  outline: 2px solid rgb(0, 95, 204) !important;
}
#login-form .custom-checkbox label {
  margin-left: 26px;
}
#login-form .custom-checkbox label::before {
  content: "";
  position: absolute;
  top: 10px; /* 4 */
  left: 8px;
  width: 12px;
  height: 12px;
  border: 1px solid #ccc;
  background-color: #fff;
  border-radius: 3px;
}
#login-form .buttons {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}
#login-form .btn-primary {
  padding: 7px 28px;
}
#login-form .cancel {
  color: #003a70;
  text-decoration: none;
  margin-left: 16px;
  font-size: 14px;
}
#login-form .cancel:hover {
  text-decoration: underline;
}
#login-form .signup {
  font-size: 16.9px;
}
#login-form .signup a {
  color: inherit;
}
