/* login.css serves the default, legacy, and upgrade affiliate templates */
@import url(https://storage.googleapis.com/rm-fonts/v2/noto/light/index.css);
@import url(https://storage.googleapis.com/rm-fonts/v2/noto/regular/index.css);
@import url(https://storage.googleapis.com/rm-fonts/v2/noto/medium/index.css);
@import url(https://storage.googleapis.com/rm-fonts/v2/noto/semibold/index.css);
@import url(https://storage.googleapis.com/rm-fonts/v2/noto/bold/index.css);

@font-face {
  font-family: "PatternFlyIcons-webfont";
  src: url("../fonts/PatternFlyIcons-webfont.eot");
  src: url("../fonts/PatternFlyIcons-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/PatternFlyIcons-webfont.ttf") format("truetype"), url("../fonts/PatternFlyIcons-webfont.woff") format("woff"), url("../fonts/PatternFlyIcons-webfont.svg#PatternFlyIcons-webfont") format("svg");
  font-weight: normal;
  font-style: normal;
}

[class^="pficon-"],
[class*=" pficon-"] {
  display: inline-block;
  font-family: "PatternFlyIcons-webfont";
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: 1;
  speak: none;
  text-transform: none;
  /* Better Font Rendering =========== */
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}

body {
  font-family: Noto Sans, sans-serif;
  line-height: 1.75;
  font-weight: 300;

  padding: 0;
  margin: 0;
  overflow: hidden;

  min-height: 100vh;
  min-height: -moz-available;
  min-height: -webkit-fill-available;
  min-height: fill-available;

  background-color: #8529cd;
}

#upgradeBlock {
  display: none !important;
}

.bg-corner {
  position: absolute;
  width: 11rem;
  height: 11rem;
  left: 2rem;
  z-index: -1;
}

.bg-corner-top {
  top: 2.25rem;
  -ms-transform: scaleY(-1);
  -webkit-transform: scaleY(-1);
  transform: scaleY(-1);
}

.bg-corner-bottom {
  bottom: 2.25rem;
}

@media (max-height: 540px) {
  .bg-corner-top {
    display: none;
  }
}

@media (max-width: 700px) {
  .bg-corner-top {
    display: none;
  }

  .bg-corner-bottom {
    left: 1.5rem;
    bottom: 1.5rem;
  }
}

#login {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#center-panel {
  width: 19.25rem;
  min-height: 18.75rem;
  background: white;
  border-radius: 3px;
  padding: 1.5rem;
  z-index: 50;
}

#center-panel p.instruction {
  font-size: 0.8em;
  text-align: center;
}

#center-panel .logo-area {
  width: 100%;
  padding-top: 0.5rem;
  padding-bottom: 1.5rem;
  align-items: start;
  display: flex;
}

#center-panel .logo-area>img {
  width: 100%;
}

#center-panel .info,
#center-panel .error {
  padding: 1rem;
  line-height: 1rem;
  font-weight: 300;
  font-size: 0.7rem;
  margin-bottom: 1rem;
}

#center-panel .info {
  background-color: #edf2fc;
  color: #123c90;
}

#center-panel .info a,
#center-panel a {
  text-decoration: none;
  color: #7141d8;
}

#center-panel .login-password {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#center-panel .forgot-password {
  display: flex;
  flex-direction: row-reverse;
  padding-top: 0.25rem;
}
#center-panel .eye {
  display: flex;
  align-items: center;
}

#center-panel .login-input-label {
  display: flex;
  font-size: 0.8rem;
  font-weight: 400;
  color: #3b474d
}

#center-panel .eye > .Icon {
  color: #7141d8;
  margin-right: 0.25rem;
}

#center-panel .super-text {
  color: #8529cd;
  font-size: 0.75rem;
}

#center-panel .login-input,
#center-panel .password-input {
  border-color: #3b474d;
  width: 100%;
  height: 1.5rem;
  margin-top: 0;
  font-size: 0.8rem;
}

@media (max-width: 700px) {
  #center-panel .login-input,
  #center-panel .password-input {
    height: 2.5rem;
  }
}

#center-panel .login-button-container {
  clear: both;
  margin-top: 2.5rem;
}

#center-panel .login-button {
  width: 100%;
  padding: 0.3rem 1.2rem;
}

@media (max-width: 700px) {
  #center-panel .login-button {
    padding: 0.6rem 1.2rem;
  }
}

#center-panel .login-button-container .update-button {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  clear: both;
  margin-top: 0.5rem;
  margin-bottom: -1rem;
}

#center-panel .empty-input-error {
  border: 1px solid #d73955;
}

#center-panel .m0 {
  margin: 0;
}

#center-panel .heading {
  color: rgb(90, 107, 116);
  font-size: 1.2rem;
  margin: 0;
  font-weight: 300;
}

#center-panel .body-text {
  font-size: 0.8rem;
  color: #596b74;
  font-family: Noto Sans, sans-serif;
  font-weight: 300;
  line-height: 1.5;
  margin: 0 0 1rem;
}


#center-panel .update-pw-ui .password-reqs {
  margin-top: 0px;
  margin-bottom: 10px;
}

#center-panel .update-pw-ui .password-reqs p {
  display: inline-block;
  vertical-align: -1px;
  margin: 0 0 0 0.5rem;
  font-size: 0.8rem;
}

#center-panel .update-pw-ui .password-reqs .Icon.inactive {
  color: #bbc7cd;
}

#center-panel .update-pw-ui .password-reqs .Icon.active {
  color: #8bca2f;
}

#center-panel .update-pw-ui .form-group {
  margin-top: 1.5rem;
}

/* keycloak alert boxes */
.alert {
  flex-grow: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  font-family: Noto Sans, sans-serif;
  line-height: 1.5;
  border: 1px solid;
  border-radius: 5px;
  padding: 1rem;
  margin-bottom: 1rem;
  font-size: 0.7rem;
}

.alert>.pficon {
  position: initial;
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  fill: currentColor;
  flex-shrink: 0;
  font-size: 1.5em;
  margin-right: 10px;
}

.alert-error,
.alert-warning {
  color: #b5253e;
  background-color: #f9eef2;
}

.alert-success {
  color: #363636;
  border-color: #3f9c35;
  background-color: #efffed;
}

.alert-warning {
  color: #596b74;
  border-color: #ffa002;
}

.alert-error {
  border-color: #b5253e;
}

.alert .kc-feedback-text {
  flex-grow: 1;
  margin-bottom: -0.1rem;
}

.pficon-ok:before {
  color: #3f9c35;
  content: "\e602";
}

.pficon-warning-triangle-o:before {
  color: #ec7a08;
  content: "\e913";
}

.pficon-error-circle-o:before {
  color: #b5253e;
  content: "\e926";
}


/* TODO : clean up styles below as many are not used */
.upgrade-header {
  margin-top: 3rem;
  margin-bottom: 1rem;
  line-height: 2.5rem;
  font-size: 24px;
}

.gray-text {
  color: gray;
}

.description {
  margin: 3rem 0;
  font-size: 0.9rem;
  text-align: justify;
}

.2fadescription {
  margin: 3rem 0;
  font-size: 0.8rem;
  text-align: justify;
}

.error-text {
  font-size: 0.7rem;
  color: #db4c4c;
  display: flex;
  margin-top: 0.1rem;
}

.username-input-error {
  margin-top: -1.4rem;
}

.password-input-error {
  display: inline-flex;
}

.login-input,
.password-input {
  display: block;
  width: 100%;
  border: 1px solid #788f9c;
  border-radius: 4px;
  margin: 0.7rem 0 1.5rem;
  padding: .7rem;
  color: #596b74;
  font-size: 1rem;
}

.login-input.input-pw {
  margin-top: 1rem;
}

::placeholder {
  color: #bbbbbb;
  opacity: 1;
}

.submit-button {
  background: #7141d8;
  border-radius: 4px;
  border: none;
  color: white;
  font-size: 0.9rem;
}

.submit-button:hover {
  background: #4e23ab;
  cursor: pointer;
}

.submit-button:focus {
  outline: none;
}

.forgot {
  margin-top: -.5rem;
  margin-right: 1rem;
  padding: .4rem;
  padding-left: 0;
  color: #6D46D5;
  line-height: 1.1rem;
  font-size: 1rem;
}

.isDisabled {
  border: 1px solid gray;
  color: gray;
  cursor: not-allowed;
  opacity: 0.5;
  text-decoration: none;
}

.isDisabled>a {
  color: currentColor;
  display: inline-block;
  pointer-events: none;
  text-decoration: none;
}

.troubleshoot {
  display: block;
  margin-top: 2rem;
  color: #6D46D5;
  text-decoration: none;
  font-size: 0.7rem;
  text-align: center;
}

.email-error {
  margin-top: 10px;
  color: red !important;
}

.invisible {
  visibility: hidden;
  width: 0;
  height: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.Icon {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  fill: currentColor;
  flex-shrink: 0;
}

.center-text {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 400;
}