/*
put any CSS shared by all instances
of this component here. Also be sure to add this file
to the styleRefs array in elastic
*/

section#legacy .login-tout {
    /*height: 280px;*/
    background-color: #F4F7FA;
}

section#legacy .alert-hide {
    display: none;
}

section#legacy .hidden {
    display: none;
}

section#legacy .login-tout .alert.alert-danger {
    width: 100%;
    top: 0;
    padding: 5px 5px;
}

section#legacy .login-tout #forgot label, section#legacy .login-tout #resendForgot label {
    width: 300px;
    font-size: 15px;
}

section#legacy .login-tout .forgot-link, section#legacy .login-tout .backToLogin-link {
    display: block;
    width: 220px;
    margin: 5px auto;
    border: 1px solid;
    text-decoration: none;
    font-size: 13px;
}

section#legacy .login-tout .resendForgot-text{
    font-size: 13px;
}

section#legacy .login-tout .login-text{
    font-size: 26px;
}

section#legacy .login-tout .username-text, section#legacy .login-tout .password-text, section#legacy .login-tout .phone-text, section#legacy .login-tout .forgot-text{
    font-size: 13px;
}

section#legacy .login-tout button.signin-btn i.fa{
  float: right;
  margin: 3px 0;
}

section#legacy .login-tout .username-text, section#legacy .login-tout .password-text{
    width: 220px;
    margin-bottom: 10px;
    min-height: calc(1.5em + 0.75rem + 2px);
    padding: 3px 8px;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    appearance: none;
    border-radius: 0;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

section#legacy .signin-btn {
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    line-height: 1.5;
    color: #ffffff;
    text-decoration: none;
    text-align: left;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: #407EC9;
    border: 1px solid #407EC9;
    width: 220px;
    padding: 0.15rem 0.45rem; 
    font-size: 13px;
    border-radius: 0;
}

section#legacy .login-tout hr {
  height: 1px;
  margin: 10px 0;
  color: #D8D8D8;
}

@media only screen and (max-width: 576px) {
  section#legacy .login-tout {
    min-height: 320px;
  }

}

@media only screen and (min-width: 1200px) {
  section#legacy .login-tout {
    /* height: 30vw; */ /* This creates an unnecessary bottom gap*/
  }

  section#legacy .login-tout .alert.alert-danger {
    padding: 0.41vw 0.41vw;
  }

  section#legacy .login-tout #forgot label, section#legacy .login-tout #resendForgot label {
    width: 25vw;
    font-size: 1.25vw;
  }

  section#legacy .login-tout .forgot-link, section#legacy .login-tout .backToLogin-link {
    width: 18.3vw;
    margin: 0.41vw auto;
    font-size: 1.08vw;
  }

  section#legacy .login-tout .resendForgot-text{
    font-size: 1.08vw;
  }

  section#legacy .login-tout .login-text{
    font-size: 2.16vw;
  }

  section#legacy .login-tout .username-text, section#legacy .login-tout .password-text, section#legacy .login-tout .phone-text, section#legacy .login-tout .forgot-text{
    font-size: 1.08vw;
  }

  section#legacy .login-tout button.signin-btn i.fa{
    margin: 0.25vw 0;
  }

  section#legacy .login-tout .username-text, section#legacy .login-tout .password-text{
    width: 18.3vw;
    margin-bottom: 0.83vw;
    padding: 0.25vw 0.66vw;
  }

  section#legacy .signin-btn {
      width: 18.3vw;
      padding:  0.25vw 0.66vw; 
      font-size: 1.08vw;
  }

  section#legacy .login-tout hr {
    margin: 0.83vw 0;
  }

}


/* Here starts check mark animation */
section#legacy .checkmark-display-block {
    display: block !important;
  }
  
  section#legacy .circle-loader {
    margin-top: 1em;  
    margin-bottom: 1em;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-left-color: #5cb85c;
    animation: loader-spin 1.2s infinite linear;
    position: relative;
    display: inline-block;
    vertical-align: top;
    border-radius: 50%;
    width: 4em;
    height: 4em;
  }
  section#legacy .load-complete {
    -webkit-animation: none;
    animation: none;
    border-color: #5cb85c;
    transition: border 500ms ease-out;
  }
  section#legacy .checkmark {
    display: none;
  }
  section#legacy .checkmark.draw:after {
    animation-duration: 800ms;
    animation-timing-function: ease;
    animation-name: checkmark;
    transform: scaleX(-1) rotate(135deg);
  }
  section#legacy .checkmark:after {
    opacity: 1;
    height: 2em;
    width: 1em;
    transform-origin: left top;
    border-right: 3px solid #5cb85c;
    border-top: 3px solid #5cb85c;
    content: '';
    left: 1em;
    top: 2em;
    position: absolute;
  }
  @keyframes loader-spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  @keyframes checkmark {
    0% {
      height: 0;
      width: 0;
      opacity: 1;
    }
    20% {
      height: 0;
      width: 1em;
      opacity: 1;
    }
    40% {
      height: 2em;
      width: 1em;
      opacity: 1;
    }
    100% {
      height: 2em;
      width: 1em;
      opacity: 1;
    }
  }
  