@import url('https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@300&display=swap');


/*-------------------------------- ESTILOS LOGIN ------------------------------*/

/**----------------------------------------------
 *                VARIABLES DEL LOGIN 2
 *---------------------------------------------**/

/* 
    Hay que sustituir únicamente estas "variables" para personalizar los colores corporativos
    aparte de modificar la configuración de tailwind con los mismos colores corporativos

    Color primario:     #24356c 
    Color inputs:       #111827;
    Gris placeholder:   #9CA3AF;
    Color fondo cuando form está enviado #041E43;
*/


 *, *:before, *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  #app {
    height: 100%;
  }
  
  html, body {
    /* font-size: 62.5%; */
    height: 100%;
    overflow: hidden;
    color: #373736;
  }
  
  html * {
    font-family: "Nunito", sans-serif;
  }
  
  svg {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    overflow: visible;
  }
  
  .svg-icon {
    cursor: pointer;
  }
  
  .svg-icon path {
    stroke: rgba(255, 255, 255, 0.9);
    fill: none;
    stroke-width: 1;
  }
  
  .cont {
    position: relative;
    height: 100%;
    background-size: cover;
    overflow: auto;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
  }
  
  .title {
    /* padding-top: 40px; */
  }
  
  span.help-block {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    color: tomato;
    display: block;
  }
  
  .demo {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    width: 400px;
    height: 550px;
    overflow: hidden;
  }
  .demo input:-webkit-autofill,
  .demo input:-webkit-autofill:hover,
  .demo input:-webkit-autofill:focus,
  .demo textarea:-webkit-autofill,
  .demo textarea:-webkit-autofill:hover,
  .demo textarea:-webkit-autofill:focus,
  .demo select:-webkit-autofill,
  .demo select:-webkit-autofill:hover,
  .demo select:-webkit-autofill:focus {
    border: none;
    -webkit-text-fill-color: #111827;
    -webkit-box-shadow: none;
    transition: background-color 5000s ease-in-out 0s;
    color: #9CA3AF;
    border: none;
    border-bottom: 1px solid #AAA;
  }
  .demo *:focus {
    outline: none !important;
  }
  .demo .login {
    position: relative;
    height: 100%;
    /* background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 1)), to(rgba(0, 0, 0, 0.6))); */
    /* background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0.8) 100%); */
    /* background: rgba(0, 0, 0, 0.8); */
    -webkit-transition: opacity 0.1s, -webkit-transform 0.3s cubic-bezier(0.17, -0.65, 0.665, 1.25);
    transition: opacity 0.1s, -webkit-transform 0.3s cubic-bezier(0.17, -0.65, 0.665, 1.25);
    transition: opacity 0.1s, transform 0.3s cubic-bezier(0.17, -0.65, 0.665, 1.25);
    transition: opacity 0.1s, transform 0.3s cubic-bezier(0.17, -0.65, 0.665, 1.25), -webkit-transform 0.3s cubic-bezier(0.17, -0.65, 0.665, 1.25);
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  .demo .login * {
    font-family: "Open Sans Condensed", sans-serif !important;
  }
  .demo .login .title {
    font-family: "Open Sans Condensed", sans-serif;
    color: white;
    text-align: center;
  }
  .demo .login .title h2 {
    font-size: 40px;
  }
  .demo .login .title h5 {
    font-size: 24px;
  }
  .demo .login.inactive {
    opacity: 0;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  .demo .login__check {
    position: absolute;
    top: 16rem;
    left: 13.5rem;
    width: 14rem;
    height: 2.8rem;
    background: #fff;
    -webkit-transform-origin: 0 100%;
    transform-origin: 0 100%;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .demo .login__check:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 100%;
    width: 2.8rem;
    height: 5.2rem;
    background: #fff;
    -webkit-box-shadow: inset -0.2rem -2rem 2rem rgba(0, 0, 0, 0.2);
    box-shadow: inset -0.2rem -2rem 2rem rgba(0, 0, 0, 0.2);
  }
  .demo .login__form {
    /* position: absolute;
    top: 37%;
    left: 0; */
    width: 100%;
    /* height: 50%; */
    padding: 1.5rem 2.5rem;
    text-align: center;
  }

  .demo .login__form form{
    background-color: rgba(255,255,255,0.8);
  }

  .demo .login__row {
    height: 5rem;
    padding-top: 1rem;
    /* border-bottom: 1px solid rgba(0, 0, 0, 0.2); */
  }
  .demo .login__icon.name path {
    stroke-dasharray: 73.5019607544;
    stroke-dashoffset: 73.5019607544;
    -webkit-animation: animatePath 3s 0.5s forwards;
    animation: animatePath 3s 0.5s forwards;
    animation-delay: 1s;
    stroke: #24356c;
  }
  .demo .login__icon.pass path {
    stroke-dasharray: 92.106628418;
    stroke-dashoffset: 92.106628418;
    -webkit-animation: animatePath 3s 0.5s forwards;
    animation: animatePath 3s 0.5s forwards;
    animation-delay: 1s;
    stroke: #24356c;
  }
  .demo .login__input {
    display: inline-block;
    width: 17rem;
    /* height: 100%; */
    padding-left: 1.5rem;
    font-size: 1.5rem;
    background: transparent;
    color: #111827;
    margin-top: 10px;
    border: none;
    border-bottom: 1px solid #AAA;
  }
  .demo .login__submit {
    position: relative;
    /* width: 100%; */
    height: 4rem;
    margin: 5rem 0 2.2rem;
    color: rgba(255, 255, 255, 0.8);
    background: #009b3e;
    font-size: 1.5rem;
    border-radius: 3rem;
    cursor: pointer;
    overflow: hidden;
    -webkit-transition: width 0.3s 0.15s, font-size 0.1s 0.15s;
    transition: width 0.6s 0.3s, font-size 0.1s 0.15s;
  }
  .demo .login__submit.enviando {
    width: 64px !important;
    background-color: #041E43;
    
  }
  .demo .login__submit.enviando .spinner:before {
    border-top: 2px solid white;
  }
  .demo .login__signup {
    font-size: 1.2rem;
    color: #ABA8AE;
  }
  .demo .login__signup a {
    color: #fff;
    cursor: pointer;
  }
  
  @-webkit-keyframes animatePath {
    to {
      stroke-dashoffset: 0;
    }
  }
  @keyframes animatePath {
    to {
      stroke-dashoffset: 0;
    }
  }

  /*------------------ SPINNER -----------------*/
  .spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    border-radius: 50%;
    border-right: 2px solid transparent;
    animation: spinner .6s ease infinite;
}

@keyframes spinner {
    to {transform: rotate(360deg);}
}
  

  /*-------------------------------- FIN ESTILOS LOGIN ------------------------------*/
  
  