@font-face {
  font-family: 'Poppins-Light';
  src: url('../fuentes/Poppins/Poppins-Light.ttf');
}
@font-face {
  font-family: 'Poppins-Regular';
  src: url('../fuentes/Poppins/Poppins-Light.ttf');
}
@font-face {
  font-family: 'Poppins-Bold';
  src: url('../fuentes/Poppins/Poppins-Light.ttf');
}


*{
  padding: 0;
  margin: 0;
}
body{
  font-family: 'Poppins-Regular';

}
.xn-body{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  background-image: url('https://xentra-rack.s3.amazonaws.com/img/sistema/login_fondo.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}
/* --- */
#particles-js{
  width: 100%;
  height: 100%;
  position: absolute;

}

/* --- */

.xn-form{
  width: 400px;
  height: auto;
  /*background-color: rgba(48,54,65, 0.8);*/
  margin-left: 8%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 3px;
  padding: 10px;
  flex-wrap: wrap;
  z-index: 1;
  position: relative;
}

/* --- */
.xn-form__logo{
  width: 85%;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 5px 25px 5px;
}

/* --- */
.xn-form__input{
  width: 85%;
  margin: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.xn-form__input > input{
  width: calc(100% - 40px);
  height: 35px;
  font-size: 1em;
  padding: 5px 5px 5px 16px;
  border-radius: 3px;
  border: none;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),
              0 3px 1px -2px rgba(0,0,0,.2),
              0 1px 5px 0 rgba(0,0,0,.12);
  background-color:  hsl(220, 16%, 11%, .6);
  color:white;
}

.xn-form__input > div{
  width: 35px;
    height: 35px;
    margin-right: 5px;
    background-color:  hsl(220, 16%, 11%, .6);
    display: flex;
    color: white;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
}
.xn-form__checkbox, .xn-form__forget--pasword{
  position: relative;
  color: #fff;
  font-size: 1em;
  width: calc(42.5% - 5px);
  margin: 5px;
}
.xn-form__forget--pasword{
  text-align: right;
}
.xn-form__forget--pasword > a{
  color: #fff;
  font-size: 12px;

}

/* ---- */
.cbx {
  margin: auto;
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
}
.cbx span {
  display: inline-block;
  vertical-align: middle;
  transform: translate3d(0, 0, 0);
}
.cbx span:first-child {
  position: relative;
  width: 15px;
  height: 15px;
  border-radius: 2px;
  transform: scale(1);
  vertical-align: middle;
  border: 2px solid #FFFFFF;
  transition: all 0.2s ease;
  background-color: #FFFFFF;
}
.cbx span:first-child svg {
  position: absolute;
  top: 3px;
  left: 2px;
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16px;
  stroke-dashoffset: 16px;
  transition: all 0.3s ease;
  transition-delay: 0.1s;
  transform: translate3d(0, 0, 0);
}
.cbx span:first-child:before {
  content: "";
  width: 100%;
  height: 100%;
  background: #506EEC;
  display: block;
  transform: scale(0);
  opacity: 1;
  border-radius: 50%;
}
.cbx span:last-child {
  padding-left: 2px;
}
.cbx:hover span:first-child {
  border-color: #506EEC;
}

.inp-cbx:checked + .cbx span:first-child {
  background: #506EEC;
  border-color: #506EEC;
  animation: wave 0.4s ease;
}
.inp-cbx:checked + .cbx span:first-child svg {
  stroke-dashoffset: 0;
}
.inp-cbx:checked + .cbx span:first-child:before {
  transform: scale(3.5);
  opacity: 0;
  transition: all 0.6s ease;
}

@keyframes wave {
  50% {
    transform: scale(0.9);
  }
}

/* --- */
.xn-form__button{
  width: 85%;
  display: flex;
  justify-content: flex-end;
  margin: 25px 5px 10px 5px;
}
.xn-form__button > button{
  background: #009FE5;
  padding: 10px 16px;
  border-radius: 3px;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
  border: none;
  color: #fff;
  cursor: pointer;
}

/* --- */
.login-lock{
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 3px;
  display: none;
}
/* --- */
.login-lock__message{
  color: #fff;
  width: 75%;
  margin: 45px  auto 0px auto;
  display: block;
  text-align: center;
  font-family: 'Poppins-Bold';
}
/* --- */
.btn-lock {
  position: absolute;
  top: calc(50% - 32px);
  left: calc(50% - 32px);
  display: inline-block;
  /* background: #20cca5; */
  width: 64px;
  height: 64px;
  box-sizing: border-box;
  padding: 12px 0 0 18px;
  border-radius: 50%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  pointer-events: none;
}
.btn-lock svg {
  fill: none;
  transform: translate3d(0, 0, 0);
}
.btn-lock svg .bling {
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 3;
  stroke-dashoffset: 15;
  transition: all 0.3s ease;
}
.btn-lock svg .lock {
  stroke: #fff;
  stroke-width: 4;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 36;
  transition: all 0.4s ease;
}
.btn-lock svg .lockb {
  fill: #fff;
  fill-rule: evenodd;
  clip-rule: evenodd;
  transform: rotate(8deg);
  transform-origin: 14px 20px;
  transition: all 0.2s ease;
}
#inpLock {
  display: none;
}

#inpLock:checked + label svg {
  opacity: 1;
}
#inpLock:checked + label svg .bling {
  animation: bling 0.3s linear forwards;
  animation-delay: 0.2s;
}
#inpLock:checked + label svg .lock {
  stroke-dasharray: 48;
  animation: locked 0.3s linear forwards;
}
#inpLock:checked + label svg .lockb {
  transform: rotate(0);
  transform-origin: 14px 22px;
}
@-moz-keyframes bling {
  50% {
    stroke-dasharray: 3;
    stroke-dashoffset: 12;
  }
  100% {
    stroke-dasharray: 3;
    stroke-dashoffset: 9;
  }
}
@-webkit-keyframes bling {
  50% {
    stroke-dasharray: 3;
    stroke-dashoffset: 12;
  }
  100% {
    stroke-dasharray: 3;
    stroke-dashoffset: 9;
  }
}
@-o-keyframes bling {
  50% {
    stroke-dasharray: 3;
    stroke-dashoffset: 12;
  }
  100% {
    stroke-dasharray: 3;
    stroke-dashoffset: 9;
  }
}
@keyframes bling {
  50% {
    stroke-dasharray: 3;
    stroke-dashoffset: 12;
  }
  100% {
    stroke-dasharray: 3;
    stroke-dashoffset: 9;
  }
}
@-moz-keyframes locked {
  50% {
    transform: translateY(1px);
  }
}
@-webkit-keyframes locked {
  50% {
    transform: translateY(1px);
  }
}
@-o-keyframes locked {
  50% {
    transform: translateY(1px);
  }
}
@keyframes locked {
  50% {
    transform: translateY(1px);
  }
}

/* ----- page error ----- */
.xn-pageError{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: auto;
}
.xn-pageError > img{
  opacity: 0.8;
  margin-top: 20px;
}
.xn-pageError > p{
  margin-bottom: 20px;
  width: 85%;
  text-align: center;
  color: #fff;
  font-size: 24px;
  margin: 10px;
  padding: 5px;
  text-shadow: 1px 1px 2px black;
  max-width: 650px;
}


/* alert */
.alert{
  padding: 10px;
  color: white;
  opacity: 1;
  transition: opacity 0.6s;
  position: fixed;
  top: -100%;
  left: calc(50% - 150px);
  z-index: 200;
  width: 300px;
  border-radius: 1px;
  font-size: 16px;
  box-shadow: 0 4px 5px 0 rgba(0,0,0,.14),
              0 1px 10px 0 rgba(0,0,0,.12),
              0 2px 4px -1px rgba(0,0,0,.2);
}
.alertTopIn{
  top:10px;
  display: block !important;
  animation: alertTopIn 0.8s;
  -webkit-animation: alertTopIn 0.8s;
}
.alertTopOut{
  top:-100%;
  animation: alertTopOut 0.5s;
  -webkit-animation: alertTopOut 0.5s;
}
.alert > strong{
  font-size: 12px;
}
.alert.error {background-color: rgba(244,67,54, 0.9)}
.alert.success {background-color: #4CAF50;}
.alert.info {background-color: #2196F3;}
.alert.warning {background-color: #ff9800;}
.alert > .closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.alert > .closebtn:hover {
  color: black;
}
@media only screen and (max-width: 470px) {
  .alert{
    width: 90%;
    left: 2.5%;

  }
}

@-webkit-keyframes alertTopIn {
  0%{top: -100%;}
  75%{top: 5%;}
  100%{top: 10px;}
}
@keyframes alertTopIn {
  0%{top: -100%;}
  75%{top: 5%;}
  100%{top: 10px;}
}
@-webkit-keyframes alertTopOut {
  0%{top: 10px;}
  75%{top: 5%;}
  100%{top: -100%;}
}
@keyframes alertTopOut {
  0%{top: 10px;}
  75%{top: 5%;}
  100%{top: -100%;}
}

/* ----- responsive ----- */
@media only screen and (max-width: 800px) {
  .xn-body {
    justify-content: center;
  }
  .xn-form {
    margin: 0px;
  }
}

@media only screen and (max-width: 470px) {
  .xn-form {
    width: 90%;
  }
  .xn-form__checkbox,.xn-form__forget--pasword{
    width: 85%;
    text-align: center;
  }
  .xn-form__forget--pasword > a{
    font-size: 16px;
  }
}