@charset "utf-8";
@import url(https://fonts.googleapis.com/css?family=Lato);
*{
  outline: none;
}

:root{
  --peter-river: #ffffff;
  --clouds: #036ab0;
}

/*body {
  width: 95%;
  height: 80vh;
  background: var(--peter-river);
}*/

#contentp {
  background: url(../image/BACKUPN.png) repeat fixed;
	/*color: #222;
	text-align: center;
	margin: 50px auto 0;
	padding: 40px;*/
  max-height: 95%;
  height: 95%;
  overflow: auto;
	/*border: 3px solid #036ab0;*/
}

#preloader {
    /*position: fixed;*/
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background-color: var(--peter-river);*/
    background: url(../image/BACKUPN.png) repeat fixed;
    z-index: 99999;
    height: 100%;
}

#status {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    padding: 0;
}

/*CUADERNO*/
.book {
  top: 50%;
  transform: translateY(-40%);
  position: relative;
  margin: 0 auto;
  border: 5px solid var(--clouds);
  width: 100px;
  height: 60px;
}

.book__page {
  position: absolute;
  left: 50%;
  top: -5px;
  margin: 0 auto;
  border-top: 5px solid var(--clouds);
  border-bottom: 5px solid var(--clouds);
  border-right: 5px solid var(--clouds);
  background: var(--peter-river);
  width: 50px;
  height: 60px;
  transform-origin: 0% 50%;
  animation: flip 1.2s infinite linear;
  animation-fill-mode: forwards;

  /*background: url(../image/upn2.png) no-repeat center center ;*/

  /*@for $i from 1 through 3 {
    &:nth-child(#{$i}) {
      z-index: -$i;
      animation-delay: 2s*$i;
    }
  }*/
}



@keyframes flip {
  0% {
    transform: perspective(600px) rotateY(-0deg);
  }

  20% {
    background: darken(var(--peter-river), 10%);
  }

  29.9% {
    background: darken(var(--peter-river), 10%);
  }

  30% {
    transform: perspective(200px) rotateY(-90deg);
    background: var(--peter-river);
  }

  54.999% {
    opacity: 1;
  }

  55% {
    opacity: 0;
  }

  60% {
    transform: perspective(200px) rotateY(-180deg);
    background: var(--peter-river);
  }

  100% {
    transform: perspective(200px) rotateY(-180deg);
    background: var(--peter-river);
  }
}


/*LOGO ROTANDO*/
/*----------------------------------------------*/

.lds-circle {
  display: inline-block;
  transform: translateZ(1px);
}
.lds-circle > div {
  display: inline-block;
  width: 64px;
  height: 64px;
  margin: 1px 17px;
  border-radius: 50%;
  background: #fff;
  animation: lds-circle 4.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  background: url(../image/UPN2.png) no-repeat center center ;
}
@keyframes lds-circle {
  0%, 100% {
    animation-timing-function: cubic-bezier(0.5, 0, 1, 0.5);
  }
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(1800deg);
    animation-timing-function: cubic-bezier(0, 0.5, 0.5, 1);
  }
  100% {
    transform: rotateY(3600deg);
  }
}

/*----------------------------------------------------------------------*/

.modalBody {
  position: absolute;
  top: 54%;
  left: 50%;
  width: 70%;
  transform: translate(-50%,-50%);
  color: #fff;
  margin: 0 auto;
  padding: 5px 5px;
}


h1{
  margin: 5px 5px;
  padding: 5px 5px;
  font-size: 46px;
  font-weight: bold;
  text-align: center;
  border: 6px solid #036ab0;
}


p.errorUsuario{
  width: 100%;
  height: 45px;
  padding-top: 10px;
  text-align: center;
  box-sizing: border-box;
  background: rgba(212, 63, 63, 0.70);
  box-shadow: 0 8px 6px -6px black;
  -webkit-box-shadow: 0 8px 6px -6px black;
  -moz-box-shadow: 0 8px 6px -6px black;
  font-size: 18px;
  color: #ffffff;
}


/**/

#cuadrologin{
    position: absolute;
    top: 110px;
    left: 112%;
    background: #5170ad;
    background: -moz-radial-gradient(center, ellipse cover, #5170ad 0%, #355493 100%);
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #5170ad), color-stop(100%, #355493));
    background: -webkit-radial-gradient(center, ellipse cover, #5170ad 0%, #355493 100%);
    background: -o-radial-gradient(center, ellipse cover, #5170ad 0%, #355493 100%);
    background: -ms-radial-gradient(center, ellipse cover, #5170ad 0%, #355493 100%);
    background: radial-gradient(ellipse at center, #5170ad 0%, #355493 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5170ad', endColorstr='#355493',GradientType=1 );
    border: 1px solid #2d416d;
    box-shadow: 0 1px #5670A4 inset, 0 0 10px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    width: 400px;
    min-height: 320px;
    margin: 10px auto 30px auto;
    padding: 50px 30px 30px 30px;
    text-align: center;
  }

  #cuadrologin form{
    margin-top: 5px;
    padding-bottom:5px;
  }
  #cuadrologin form input[type="text"],
  #cuadrologin form input[type="password"]{
    width: 100%;
    height: 43px;
    background-color: #FFF;
    border:0;
    text-align: center;
    padding: 12px 20px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 16px;
    cursor: pointer;
  }
  #cuadrologin form input[type="text"]{
    border-radius: 5px 5px 0 0;
    box-shadow: 0 -1px 0 #E0E0E0 inset, 0 1px 2px rgba(0, 0, 0, 0.23) inset;
  }
  #cuadrologin form input[type="password"]{
    border-radius: 0 0 5px 5px;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.23) inset, 0 1px 2px rgba(255, 255, 255, 0.1);
  }
  
  ::-webkit-input-placeholder {
     color: #ccc;
  }
  :-moz-placeholder { /* Firefox 18- */
     color: #ccc;  
  }
  ::-moz-placeholder {  /* Firefox 19+ */
     color: #ccc;  
  }
  :-ms-input-placeholder {  
     color: #ccc;  
  }
  #cuadrologin form button,
  .botonregreso{
    display: block;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    background: #e0e0e0;
    background: -moz-linear-gradient(top, #e0e0e0 0%, #cecece 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #e0e0e0), color-stop(100%, #cecece));
    background: -webkit-linear-gradient(top, #e0e0e0 0%, #cecece 100%);
    background: -o-linear-gradient(top, #e0e0e0 0%, #cecece 100%);
    background: -ms-linear-gradient(top, #e0e0e0 0%, #cecece 100%);
    background: linear-gradient(to bottom, #e0e0e0 0%, #cecece 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0e0e0', endColorstr='#cecece',GradientType=0 );
    display: block;
    margin: 20px auto 0 auto;
    width: 100%;
    border: none;
    border-radius: 3px;
    padding: 8px;
    font-size: 17px;
    color: #636363;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
    font-weight: 700;
    box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.17), 0 1px 0 rgba(255, 255, 255, 0.36) inset;
  }
  #cuadrologin form button:hover,
  .botonregreso:hover{
    background: #DDD;
    text-decoration: none;
    color: #636363;
  }
  #cuadrologin form button:active,
  .botonregreso:active{
    padding-top: 9px;
    padding-bottom: 7px;
    background: #C9C9C9;
    text-decoration: none;
    color: #636363;
  }
  .botonregreso:focus{
    text-decoration: none;
    color: #636363;
  }
  .link{
    margin:1px 0;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    border:0;
    background-color:transparent;
    font-family: "Lato", sans-serif;
  }
  .copy{
    font-family: "Lato", sans-serif;
    font-size: 10px;
    text-align: center;
    margin-top: 10px;
    font-weight: 200;
  }
  .usuario{
    font-family: "Lato", sans-serif;
    font-size: 16px;
    text-align: center;
    margin-top: 15px;
    font-weight: 200;
    color: #FFF;
  }
  .usuario b{
    font-size: 18px;
  }
  
  
  @media(max-width:390px){
    #cuadrologin{
      width:100%;
    }
  }
  
