@font-face {
    font-family: 'Hilo';
    src: url(https://stab2cqa01.blob.core.windows.net/auth-branding/hilo/assets/fonts/Hilo-Regular.woff2);
    font-weight: 400;
}
@font-face {
    font-family: 'Hilo';
    src: url(https://stab2cqa01.blob.core.windows.net/auth-branding/hilo/assets/fonts/Hilo-Medium.woff2);
    font-weight: 500;
}

html, body {
    height: 100%;
    overflow: hidden;
  }
  /** Background **/
  body {
    font-family: 'Hilo', 'sans-serif';
    font-weight: 400;
    background: linear-gradient(135deg, #5975b3 0%, #0d0f35 100%);
    color: #fff;
  }

  .logo {
    display: block;
    width: auto;
    height: 72px;
    margin: 2em auto;
  }


  /** Titles **/ 
  .heading h1 {
    text-align: center;
    font-weight: 500;
    font-size: 1.6em;
    margin-bottom: 1.3em;
  }

  .intro h2 {
    display: none;
  }

  /** Form **/
  form {
    position: relative;
  }

  #forgotPassword {
    position: absolute;
    bottom: -32px;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 0.8em;
    text-decoration: none;
  }

  #forgotPassword:focus, #forgotPassword:focus-visible {
    outline: none;
    text-decoration: underline;
  }

  .entry-item {
    position: relative;
    margin-bottom: 3.8em;
  }

  .entry-item:first-child {
    margin-bottom: 2em;
  }

  .entry-item label {
    position: absolute;
    top: 0;
    display: block;
    width: 100%;
    text-align: center;
    font-size: .9em;
    margin: 0;
    transition: top ease-out 100ms, color ease-out 100ms, font-size ease-out 100ms;
    color:rgba(255, 255, 255, .8);
  }

  /* Hack firefox: cannot group the 3 following selectors: */
  .entry-item.focused label {
    top: -1.6em;
    color: white;
    font-size: .75em;
  }

  .entry-item.filled label {
    top: -1.6em;
    color: white;
    font-size: .75em;
  }

  .entry-item:has(input:-webkit-autofill) label {
    top: -1.6em;
    color: white;
    font-size: .75em;
  }
  /* /Hack firefox */

  input:focus, 
  input:focus-within, 
  input:focus-visible {
    outline: none;
    border: 0;
  }

  input:-webkit-autofill,
  input:-webkit-autofill:hover,
  input:-webkit-autofill:focus,
  input:-webkit-autofill:active {
    transition-property: background, color;
    -webkit-transition-delay: 999999s!important;
    transition-delay: 999999s!important;
  }

  #signInName, #password {
    width: 100%;
    background: none!important; /** !important to force ios styling **/
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    border-radius: 0!important; /** !important to force ios styling **/
    color: white;
    text-align: center;
    padding: 0 2em .5em;
    text-overflow: ellipsis;
  }

  #signInName {
    text-transform: lowercase;
  }

  #signInName:active, 
  #signInName:focus, 
  #password:active, 
  #password:focus {
    border-bottom: 1px solid rgba(255, 255, 255, 8);
  }

  /** Avoid browser autofill background-color **/
  ::-webkit-input-placeholder, 
  :-moz-placeholder, 
  ::-moz-placeholder, 
  :-ms-input-placeholder, 
  input::placeholder {
    color: transparent!important;
    text-indent: -9999px;
  }

  #toggleShowPassword {
    cursor: pointer;
    position: absolute;
    bottom: 4px;
    right: 0;
    z-index: 10;
    width: 32px;
    height: 32px;
    background-position: center;
    background-size: 50% auto;
    background-repeat: no-repeat;
    background-image: url(https://stab2cqa01.blob.core.windows.net/auth-branding/hilo/assets/icons/global-eye-close.svg);
  }

  #toggleShowPassword.visible {
    background-image: url(https://stab2cqa01.blob.core.windows.net/auth-branding/hilo/assets/icons/global-eye-open.svg);
  }

  button[type="submit"] {
    position: relative;
    display: block;
    border: none;
    background-color: white;
    color: #0d0f35;
    font-size: .9em;
    padding: .75em 2em;
    border-radius: 24px;
    text-align: center;
    margin: 0 auto;
    background-position: center;
    transition: background 500ms, opacity 300ms;
    font-weight: 400;
  }

  button:hover {
    cursor: pointer;
  }

  button:disabled {
    opacity: .5;
    pointer-events: none;
  }

  button[type="submit"]:active {
    background-color: #E5E5E5;
    bottom: -2px;
  }

  /** Ripple effect **/
  @media (hover: hover) {
    button[type="submit"]:hover {
      background: #E5E5E5 radial-gradient(circle, transparent 1%, #E5E5E5 1%) center/15000%;
    }
    button[type="submit"]:active {
      background-color: #FFFFFF;
      background-size: 100%;
      transition: background 0s;
    }
  }
  /** /Ripple effect **/
  
  button[type="submit"]:focus, 
  button[type="submit"]:focus-within, 
  button[type="submit"]:focus-visible, 
  button[type="submit"]:active {
    outline: none;
  }

  /** Error messages **/
  form .error {
    position: absolute;
    text-align: center;
    color: #D1735F;
    font-size: .7em;
    margin: 0;
    width: 100%;
  }

  form .error.pageLevel {
    top: 100%;
    margin-top: 16px;
  }

  form .error.itemLevel {
    display: none!important;
    bottom: -18px;
  }

  form .error p {
    margin: 0;
  }

  /** Loader **/
  .working {
    display: none;
    background-color: rgba(0, 0, 0, .5);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
  }

  #loader {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -20px;
    margin-left: -20px;
    width: 40px;
    height: 40px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 90%;
    background-image: url(https://stab2cqa01.blob.core.windows.net/auth-branding/hilo/assets/loader.gif);
    border-radius: 20px;
  }

  .terms {
    display: none;
    padding-top: 20px;    
    text-align: center;
    font-size: small;
  }
  
  .terms a,
  .terms a:visited {
    color: white;
    text-decoration: underline;
  }
  
  .terms-google,
  .terms-alexa {
    display: none;
  }

  .displayTerms{
		display: block;
	}
