@import url("https://p.typekit.net/p.css?s=1&k=gha7xto&ht=tk&f=7986.7987.7988.7989.7996.7997&a=942866&app=typekit&e=css");

@font-face {
  font-family: "omneslight";
  src: url("https://sctiprodb2cstorage.blob.core.windows.net/uicontainer/content/Fonts/Omnes-Light.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "omnesregular";
  src: url("https://sctiprodb2cstorage.blob.core.windows.net/uicontainer/content/Fonts/Omnes-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "omnesmedium";
  src: url("https://sctiprodb2cstorage.blob.core.windows.net/uicontainer/content/Fonts/Omnes-Medium.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "omnessemibold";
  src: url("https://sctiprodb2cstorage.blob.core.windows.net/uicontainer/content/Fonts/Omnes-Semibold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  /* Color Variables */

  --blue: rgb(0, 154, 222);
  --blue-low-fade: rgba(0, 154, 222, 0.4);
  --dark-grey: #4a4a4a;
  --light-grey: #bebcbc;
  --white: #ffffff;
  --blue-var: #00435f;
  --pink: #f6598e;
  --error-bg: #f0dede;
  --error-text: #964739;
  --blue-info: #cfe2ff;
  --blue-info-text: #084298;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "omnesregular", sans-serif;
}

html,
body,
.container {
  height: 100%;
}

.container {
  display: flex;
  height: 100%;
}

::-ms-reveal,
.fa-eye {
  display: none;
}

.logo-container {
  flex: 0 0 auto;
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.625em 30px;
}

.logo-container > a > img {
  width: 200px;
  height: auto;
}

.form-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25em;
}

.form-container > h1 {
  color: var(--blue);
  text-align: center;
  margin-bottom: 2.4rem;
  font-family: "omnessemibold", sans-serif;
}

.form-container > h1 > span {
  display: block;
  font-family: "omneslight", sans-serif;
  margin-top: 0.6rem;
  font-size: 1.4rem;
}

.image-container {
  flex: 1 0;
}

.image-container > img.desktop-banner {
  object-fit: cover;
  min-height: 80%;
  width: 100%;
  object-position: left;
}

@media screen and (min-width: 990px) {
  .image-container > img.mobile-banner {
    display: none;
  }
}

@media screen and (max-width: 990px) {
  .image-container > img.desktop-banner {
    display: none;
  }

  .container {
    flex-direction: column;
  }

  .form-container {
    order: 2;
    justify-content: flex-start;
  }

  .image-container {
    order: 1;
    flex: 0 0 auto;
    margin-bottom: 2rem;
  }

  .image-container > img.mobile-banner {
    max-height: 35vh;
    width: 100%;
    object-fit: cover;
    object-position: bottom;
  }

  .logo-container {
    padding: 0.625em 15px;
  }

  .logo-container > a > img {
    width: 160px;
    height: auto;
  }
}

/*  B2C classes  */

form {
  width: 20rem;
}

.heading,
.intro,
.divider,
.itemLevel {
  display: none;
}

label {
  color: var(--dark-grey);
  font-family: "omnesmedium", sans-serif;
}

label[for="email"] {
  display: block;
}

input:not(input[type="checkbox"]) {
  width: 100%;
  padding: 1rem 2.2rem 1rem 1rem;
  margin: 0.4rem 0;
  border: 1px solid var(--light-grey);
  border-radius: 0.4rem;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  outline: none;
  background: transparent;
  font-family: "omnesmedium", sans-serif;
}

input:not(input[type="checkbox"]):focus {
  border: 1px solid var(--blue) !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--dark-grey);
  -webkit-box-shadow: 0 0 0px 1000px var(--white) inset;
  transition: background-color 5000s ease-in-out 0s;
}
.itemLevel,
.pageLevel {
  pointer-events: none;
}

.password-container {
  position: relative;
}

.password-label {
  display: flex;
  justify-content: space-between;
  margin-top: 0.8rem;
}

.password-label > a {
  color: var(--light-grey);
  text-decoration: none;
}

.password-label > a:hover {
  color: var(--blue);
}

.password-container input[type="password"],
.password-container input[type="text"] {
  width: 100%;
  padding: 16px 36px 16px 16px;
}

.pageLevel > .error-icon {
  position: absolute;
  top: 0.5rem;
  left: 1rem;
}

.error-icon {
  position: absolute;
  top: 2.4rem;
  right: 0.7rem;
  color: var(--error-text);
  font-size: 1.4rem;
}

.rememberMe {
  display: flex;
  margin: 0.3rem 0;
  align-items: center;
}

.rememberMe > label {
  font-family: "omnesmedium" !important;
  color: var(--blue);
}

input[type="checkbox"] {
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  -o-appearance: none;
  outline: none;
  content: none;
  order: 1;
  cursor: pointer;
}

input[type="checkbox"]:before {
  font-family: "FontAwesome";
  content: "\f00c";
  font-size: 13px;
  color: transparent !important;
  display: block;
  width: 12px;
  height: 12px;
  border: 2px solid var(--blue);
  margin: 0.22rem 0.7rem;
  border-radius: 3px;
  margin-right: 7px;
}

input[type="checkbox"]:checked:before {
  color: var(--white) !important;
  background-color: var(--blue);
}

.buttons > button[type="submit"] {
  margin: 2rem auto;
  display: block;
  padding: 0.8rem 2.4rem;
  border: none;
  background: var(--blue);
  letter-spacing: 0.1rem;
  border-radius: 2rem;
  box-shadow: 0;
  cursor: pointer;
  color: var(--white);
  -webkit-transition: 0.5s;
  transition: 0.5s;
  pointer-events: auto;
  z-index: 1;
  font-family: "omnesmedium", sans-serif;
}

.buttons > button[type="submit"]:enabled:hover {
  box-shadow: 0 0 2rem var(--blue-low-fade);
}

.create {
  text-align: center;
  color: var(--light-grey);
}

.create > p {
  font-family: "omnesmedium", sans-serif;
}

.create > p > a {
  font-family: "omnessemibold", sans-serif;
  display: inline-block;
  height: 1.8rem;
  text-decoration: none;
  transition: 0.5s;
  margin: 0 0.3rem;
  color: var(--blue);
  border-bottom: 1px solid var(--blue);
}

.entry-item {
  position: relative;
}

.invalid-input-msg,
.itemLevel,
.pageLevel {
  color: var(--error-text);
  position: absolute;
  background: var(--error-bg);
  z-index: 10;
  display: block;
  padding: 0.6rem 1rem 0.6rem 0.6rem;
  border-radius: 0.2rem;
  font-family: "omnesmedium", sans-serif;
}

.itemLevel {
  width: 20rem;
  top: 5.5rem;
  animation: fadeIn 0.5s, fadeOut 0.5s 4s forwards;
}

.pageLevel {
  width: 20rem;
  transform: translate(0, -3rem);
  padding: 0.6rem 0.8rem 0.6rem 2.8rem;
  animation: fadeIn 0.5s, fadeOut 0.5s 4s forwards;
  background: var(--error-bg);
}

@keyframes fadeIn {
  from {
    opacity: 0%;
  }
  to {
    opacity: 100%;
  }
}
@keyframes fadeOut {
  from {
    opacity: 100%;
  }
  to {
    opacity: 0%;
  }
}

.invalid-input-msg::before,
.itemLevel::before {
  position: absolute;
  content: "";
  top: -0.8rem;
  left: 3rem;
  z-index: 20;
  border-top: 10px solid var(--error-bg);
  border-bottom: 5px solid transparent;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  transform: rotate(180deg);
}

input:focus ~ .invalid-input-msg {
  display: none;
}

input:focus ~ .error-icon {
  display: none;
}

.close-button {
  background: transparent;
  border: none;
  color: var(--error-text);
  position: absolute;
  right: 0.8rem;
  top: 0.4rem;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  pointer-events: auto;
}

.tooltip {
  display: inline-block;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  padding: 0.2rem 0.5rem;
  position: absolute;
  top: -0.2rem;
  right: 15.6rem;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: "omnesmedium", sans-serif;
}

.tooltip:hover::before {
  content: "Enter the email you used to register for My SCTI.";
  position: absolute;
  background: var(--blue-info);
  display: block;
  width: 18rem;
  left: -3rem;
  top: 1.8rem;
  padding: 1rem 1rem 1rem 1rem;
  border-radius: 0.2rem;
  text-align: left;
  z-index: 100;
  pointer-events: none;
  color: var(--blue-info-text);
}

.tooltip:hover::after {
  position: absolute;
  content: "";
  border-top: 10px solid var(--blue-info);
  border-bottom: 5px solid transparent;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  z-index: 20;
  left: 0rem;
  top: 1.1rem;
  transform: rotate(180deg);
}

button:disabled,
button[disabled] {
  opacity: 0.4;
  filter: grayscale(100);
}

.eye-container {
  position: absolute;
  top: 52%;
  right: 4%;
}

.eye {
  cursor: pointer;
}
