
/* PARA MOSTRAR LAPIS */
section {
    /* overflow-x: hidden; */
    height: 100vh;
    display: inline-block;
    width: 100vw;
    overflow-y: scroll;
}
/* PARA MOSTRAR LAPIS */

/* MAIN.LOGIN */
main.login {
  position: relative;
  display: block;
  width: 100vw;
  height: calc(100vh - 0px);
  margin-top: 0px;
  /* background: #e40000; */
  background: url(../images/assets/fundo_login.jpg);
  overflow: hidden;
  background-size: auto 100%;
  background-position: center;
  background-repeat: no-repeat;
}

main.login.active.box section div.login div.tops {
  /*padding-top: 150px;*/
  margin-top: -120px;
}
main.login section div.login div.tops {
  width: calc(35px * 12 - 1.5px);
  max-width: 100%;
  display: none;
  position: absolute;
  height: 300px;
  z-index: -1;
  margin-top: 0px;
  /*padding-top: 330px;*/
  -webkit-transition-delay: 4s;
  -o-transition-delay: 4s;
  transition-delay: 4s;
  -webkit-transition: all 2.0s cubic-bezier(0.57, -0.18, 0, 1.63);
  -moz-transition: all 2.0s cubic-bezier(0.57, -0.18, 0, 1.63);
  -o-transition: all 2.0s cubic-bezier(0.57, -0.18, 0, 1.63);
  transition: all 2.0s cubic-bezier(0.57, -0.18, 0, 1.63);
}
main.login.active.box section div.login span.lapis {
    /*margin-top: -100px;*/
}
main.login section div.login span.lapis {
    width: calc(100% / 12 - 0px);
    background: red;
    height: 100%;
    position: relative;
    display: block;
    float: left;
    margin-top: 0px;
    z-index: 1;
    background: url(../images/assets/lapis.png) 0px 0px;
    background-size: 360px;
    -webkit-transition: all 0.8s ease-in-out;
    -moz-transition: all 0.8s ease-in-out;
    -o-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}
main.login section div.login span.lapis:nth-child(1) {
  background-position: 0px top;
  background-size: 415px;
}
main.login.active.box section div.login span.lapis:nth-child(1) {
  
  -webkit-animation: lapis1 2.5s ease-in 8;
  -o-animation: lapis1 2.5s ease-in 8;
  animation: lapis1 2.5s ease-in 8;


  -webkit-animation-delay: 1.2s;
  -o-animation-delay: 1.2s;
  animation-delay: 1.2s;
}
main.login.active.box2 section div.login span.lapis:nth-child(1) {
  -webkit-transform: translate3d(0px,-5px,0px);
  -ms-transform: translate3d(0px,-5px,0px);
  -o-transform: translate3d(0px,-5px,0px);
  transform: translate3d(0px,-5px,0px);
}
main.login section div.login span.lapis:nth-child(2) {
  background-position: -34px top;
  background-size: 415px;
}
main.login.active.box section div.login span.lapis:nth-child(2) {

  -webkit-animation: lapis2 2.5s ease-in 8;
  -o-animation: lapis2 2.5s ease-in 8;
  animation: lapis2 2.5s ease-in 8;


  -webkit-animation-delay: 1.4s;
  -o-animation-delay: 1.4s;
  animation-delay: 1.4s;
}
main.login.active.box2 section div.login span.lapis:nth-child(2) {
  -webkit-transform: translate3d(0px,-25px,0px);
  -ms-transform: translate3d(0px,-25px,0px);
  -o-transform: translate3d(0px,-25px,0px);
  transform: translate3d(0px,-25px,0px);
}
main.login section div.login span.lapis:nth-child(3) {
  background-position: -70px top;
  background-size: 415px;
}
main.login.active.box section div.login span.lapis:nth-child(3) {
  -webkit-animation: lapis3 2.5s ease-in 8;
  -o-animation: lapis3 2.5s ease-in 8;
  animation: lapis3 2.5s ease-in 8;


  -webkit-animation-delay: 1.6s;
  -o-animation-delay: 1.6s;
  animation-delay: 1.6s;
}
main.login.active.box2 section div.login span.lapis:nth-child(3) {
  -webkit-transform: translate3d(0px,-25px,0px);
  -ms-transform: translate3d(0px,-25px,0px);
  -o-transform: translate3d(0px,-25px,0px);
  transform: translate3d(0px,-25px,0px);
}
main.login section div.login span.lapis:nth-child(4) {
    background-position: -104px top;
    background-size: 415px;
}
main.login.active.box section div.login span.lapis:nth-child(4) {
  -webkit-animation: lapis4 2.5s ease-in 8;
  -o-animation: lapis4 2.5s ease-in 8;
  animation: lapis4 2.5s ease-in 8;


  -webkit-animation-delay: 1.8s;
  -o-animation-delay: 1.8s;
  animation-delay: 1.8s;
}
main.login.active.box2 section div.login span.lapis:nth-child(4) {
  -webkit-transform: translate3d(0px,-55px,0px);
-ms-transform: translate3d(0px,-55px,0px);
-o-transform: translate3d(0px,-55px,0px);
transform: translate3d(0px,-55px,0px);
}
main.login section div.login span.lapis:nth-child(5) {
      background-position: -139px top;
    background-size: 415px;
}
main.login.active.box section div.login span.lapis:nth-child(5) {
  -webkit-animation: lapis5 2.5s ease-in 8;
  -o-animation: lapis5 2.5s ease-in 8;
  animation: lapis5 2.5s ease-in 8;


  -webkit-animation-delay: 2s;
-o-animation-delay: 2s;
animation-delay: 2s;
}
main.login.active.box2 section div.login span.lapis:nth-child(5) {
-webkit-transform: translate3d(0px,-65px,0px);
-ms-transform: translate3d(0px,-65px,0px);
-o-transform: translate3d(0px,-65px,0px);
transform: translate3d(0px,-65px,0px);
}
main.login section div.login span.lapis:nth-child(6) {
    background-position: -173px top;
    background-size: 415px;
}
main.login.active.box section div.login span.lapis:nth-child(6) {
  -webkit-animation: lapis6 2.5s ease-in 8;
  -o-animation: lapis6 2.5s ease-in 8;
  animation: lapis6 2.5s ease-in 8;

  -webkit-animation-delay: 2.2s;
-o-animation-delay: 2.2s;
animation-delay: 2.2s;
}
main.login.active.box2 section div.login span.lapis:nth-child(6) {
-webkit-transform: translate3d(0px,-75px,0px);
-ms-transform: translate3d(0px,-75px,0px);
-o-transform: translate3d(0px,-75px,0px);
transform: translate3d(0px,-75px,0px);
}
main.login section div.login span.lapis:nth-child(7) {
    background-position: -207px top;
    background-size: 415px;
}
main.login.active.box section div.login span.lapis:nth-child(7) {
  -webkit-animation: lapis6 2.5s ease-in 8;
  -o-animation: lapis6 2.5s ease-in 8;
  animation: lapis6 2.5s ease-in 8;

  -webkit-animation-delay: 2.4s;
-o-animation-delay: 2.4s;
animation-delay: 2.4s;
}
main.login.active.box2 section div.login span.lapis:nth-child(7) {
-webkit-transform: translate3d(0px,-65px,0px);
-ms-transform: translate3d(0px,-65px,0px);
-o-transform: translate3d(0px,-65px,0px);
transform: translate3d(0px,-65px,0px);
}
main.login section div.login span.lapis:nth-child(8) {
      background-position: -240px top;
    background-size: 415px;
}
main.login.active.box section div.login span.lapis:nth-child(8) {
  -webkit-animation: lapis5 2.5s ease-in 8;
  -o-animation: lapis5 2.5s ease-in 8;
  animation: lapis5 2.5s ease-in 8;

  -webkit-animation-delay: 2.6s;
-o-animation-delay: 2.6s;
animation-delay: 2.6s;
}
main.login.active.box2 section div.login span.lapis:nth-child(8) {
-webkit-transform: translate3d(0px,-55px,0px);
-ms-transform: translate3d(0px,-55px,0px);
-o-transform: translate3d(0px,-55px,0px);
transform: translate3d(0px,-55px,0px);
}
main.login section div.login span.lapis:nth-child(9) {
  background-position: -276px top;
    background-size: 415px;
}
main.login.active.box section div.login span.lapis:nth-child(9) {
  -webkit-animation: lapis4 2.5s ease-in 8;
  -o-animation: lapis4 2.5s ease-in 8;
  animation: lapis4 2.5s ease-in 8;

  -webkit-animation-delay: 2.8s;
-o-animation-delay: 2.8s;
animation-delay: 2.8s;
}
main.login.active.box2 section div.login span.lapis:nth-child(9) {
-webkit-transform: translate3d(0px,-45px,0px);
-ms-transform: translate3d(0px,-45px,0px);
-o-transform: translate3d(0px,-45px,0px);
transform: translate3d(0px,-45px,0px);

}
main.login section div.login span.lapis:nth-child(10) {
  background-position: -311px top;
  background-size: 415px;
}
main.login.active.box section div.login span.lapis:nth-child(10) {
  -webkit-animation: lapis3 2.5s ease-in 8;
  -o-animation: lapis3 2.5s ease-in 8;
  animation: lapis3 2.5s ease-in 8;

  -webkit-animation-delay: 3.0s;
-o-animation-delay: 3.0s;
animation-delay: 3.0s;
}
main.login.active.box2 section div.login span.lapis:nth-child(10) {
-webkit-transform: translate3d(0px,-35px,0px);
-ms-transform: translate3d(0px,-35px,0px);
-o-transform: translate3d(0px,-35px,0px);
transform: translate3d(0px,-35px,0px);

}
main.login section div.login span.lapis:nth-child(11) {
  background-position: -346px top;
  background-size: 415px;
}
main.login.active.box section div.login span.lapis:nth-child(11) {
  -webkit-animation: lapis2 2.5s ease-in 8;
  -o-animation: lapis2 2.5s ease-in 8;
  animation: lapis2 2.5s ease-in 8;

  -webkit-animation-delay: 3.2s;
-o-animation-delay: 3.2s;
animation-delay: 3.2s;
}
main.login.active.box2 section div.login span.lapis:nth-child(11) {
-webkit-transform: translate3d(0px,-25px,0px);
-ms-transform: translate3d(0px,-25px,0px);
-o-transform: translate3d(0px,-25px,0px);
transform: translate3d(0px,-25px,0px);
}
main.login section div.login span.lapis:nth-child(12) {
    background-position: -380px top;
    background-size: 415px;
}
main.login.active.box section div.login span.lapis:nth-child(12) {
  -webkit-animation: lapis1 2.5s ease-in 8;
  -o-animation: lapis1 2.5s ease-in 8;
  animation: lapis1 2.5s ease-in 8;

  -webkit-animation-delay: 3.4s;
-o-animation-delay: 3.4s;
animation-delay: 3.4s;
}
main.login.active.box2 section div.login span.lapis:nth-child(12) {
-webkit-transform: translate3d(0px,-5px,0px);
-ms-transform: translate3d(0px,-5px,0px);
-o-transform: translate3d(0px,-5px,0px);
transform: translate3d(0px,-5px,0px);


}


@keyframes lapis1 {
    0%   {  transform: translate3d(0px,0px,0px);}
    50%   { transform: translate3d(0px,-5px,0px);}
    100% {  transform: translate3d(0px,0px,0px); }
}
@-webkit-keyframes lapis1 {
    0%   {  transform: translate3d(0px,0px,0px);}
    50%   { transform: translate3d(0px,-5px,0px);}
    100% {  transform: translate3d(0px,0px,0px); }
}
@-o-keyframes lapis1 {
    0%   {  transform: translate3d(0px,0px,0px);}
    50%   { transform: translate3d(0px,-5px,0px);}
    100% {  transform: translate3d(0px,0px,0px); }
}

@keyframes lapis2 {
    0%   {  transform: translate3d(0px,0px,0px);}
    50%   { transform: translate3d(0px,-25px,0px);}
    100% {  transform: translate3d(0px,0px,0px); }
}
@-webkit-keyframes lapis2 {
    0%   {  transform: translate3d(0px,0px,0px);}
    50%   { transform: translate3d(0px,-25px,0px);}
    100% {  transform: translate3d(0px,0px,0px); }
}
@-o-keyframes lapis2 {
    0%   {  transform: translate3d(0px,0px,0px);}
    50%   { transform: translate3d(0px,-25px,0px);}
    100% {  transform: translate3d(0px,0px,0px); }
}

@keyframes lapis3 {
    0%   {  transform: translate3d(0px,0px,0px);}
    50%   { transform: translate3d(0px,-45px,0px);}
    100% {  transform: translate3d(0px,0px,0px); }
}
@-webkit-keyframes lapis3 {
    0%   {  transform: translate3d(0px,0px,0px);}
    50%   { transform: translate3d(0px,-45px,0px);}
    100% {  transform: translate3d(0px,0px,0px); }
}
@-o-keyframes lapis3 {
    0%   {  transform: translate3d(0px,0px,0px);}
    50%   { transform: translate3d(0px,-45px,0px);}
    100% {  transform: translate3d(0px,0px,0px); }
}
@keyframes lapis4 {
    0%   {  transform: translate3d(0px,0px,0px);}
    50%   { transform: translate3d(0px,-55px,0px);}
    100% {  transform: translate3d(0px,0px,0px); }
}
@-webkit-keyframes lapis4 {
    0%   {  transform: translate3d(0px,0px,0px);}
    50%   { transform: translate3d(0px,-55px,0px);}
    100% {  transform: translate3d(0px,0px,0px); }
}
@-o-keyframes lapis4 {
    0%   {  transform: translate3d(0px,0px,0px);}
    50%   { transform: translate3d(0px,-55px,0px);}
    100% {  transform: translate3d(0px,0px,0px); }
}
@keyframes lapis5 {
    0%   {  transform: translate3d(0px,0px,0px);}
    50%   { transform: translate3d(0px,-65px,0px);}
    100% {  transform: translate3d(0px,0px,0px); }
}
@-webkit-keyframes lapis5 {
    0%   {  transform: translate3d(0px,0px,0px);}
    50%   { transform: translate3d(0px,-65px,0px);}
    100% {  transform: translate3d(0px,0px,0px); }
}
@-o-keyframes lapis5 {
    0%   {  transform: translate3d(0px,0px,0px);}
    50%   { transform: translate3d(0px,-65px,0px);}
    100% {  transform: translate3d(0px,0px,0px); }
}
@keyframes lapis6 {
    0%   {  transform: translate3d(0px,0px,0px);}
    50%   { transform: translate3d(0px,-75px,0px);}
    100% {  transform: translate3d(0px,0px,0px); }
}
@-webkit-keyframes lapis6 {
    0%   {  transform: translate3d(0px,0px,0px);}
    50%   { transform: translate3d(0px,-75px,0px);}
    100% {  transform: translate3d(0px,0px,0px); }
}
@-o-keyframes lapis6 {
    0%   {  transform: translate3d(0px,0px,0px);}
    50%   { transform: translate3d(0px,-75px,0px);}
    100% {  transform: translate3d(0px,0px,0px); }
}

main.login section span.fundo {
  background: url(../images/logo-red.svg) no-repeat top center;
  display: block;
  background-size: 100% 50vh;
  background-position: center bottom;
  height: 280px;
  min-width: 350px;
  position: absolute;
  left: calc(50% - 350px/2);
  top: calc(25% + 30px);
  opacity: 0.1;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
main.login.active section span.fundo {
  opacity: 1;
  top: calc(25% - 190px);
  background-size: 100% 400px;
  height: 200px;
  background-position: center bottom;
}
main.login.active.box section div.login form{
  -webkit-box-shadow: 0px -15px 56px -22px #290509e3;
  box-shadow: 0px -15px 56px -22px #290509e3;
}
main.login.active.box section div.login {
  /*box-shadow: inset 0 7em 3em -7em rgba(255,255,255,0.6), 0 0.1em 0.1em -0.2em rgb(247, 30, 30), 0 0em 1em -0.75em rgba(100,100,100,0.75), 0 1em 2em -0.5em rgba(130, 55, 55, 0.5), 0 2em 3em -0.25em rgba(100,100,100,0.2), 0px -15px 70px -20px #290509e3;*/
  transform: translate(0px, 0px, 0px);
}
main.login section div.login form {
    height: 370px;
    display: inline-block;
    padding-top: 130px;
    background: url(../images/assets/logo_login.png) center 40px no-repeat #e30317;
    position: relative;
    z-index: 2;
    -webkit-transition: all 0.8s ease-in-out;
    -moz-transition: all 0.8s ease-in-out;
    -o-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}
main.login.active section div.login {
  /* margin-top: calc(50vh - 500px / 2 + 20px); */
  height: 500px;
  margin-top: calc(100vh / 2 - 250px);
  -webkit-transform: translate3d(0px, 0px, 0px);
  -ms-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate3d(0px, 0px, 0px);
  transform: translate3d(0px, 0px, 0px);
  opacity: 1;
}
main.login section div.login {
  display: block;
  /* background: #e30317; */
  width: 415px;
  height: 500px;
  margin: -100% auto 0px;
  -webkit-transition: all 0.6s ease-in-out;
  -moz-transition: all 0.6s ease-in-out;
  -o-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;

  -webkit-transition-delay: 0.4s;
  -o-transition-delay: 0.4s;
  transition-delay: 0.4s;
  opacity: 0;
  position: relative;
  z-index: 1;
  /*border-radius: 5px;*/
  /*border: 1px solid #e30317;*/
  /*overflow: hidden;*/
  /* box-shadow: 0px -4px 40px 0px rgba(177, 177, 177, 0.41); */
  box-shadow: inset 0 7em 3em -7em rgba(255,255,255,0), 0 0.1em 0.1em -0.2em rgba(247, 30, 30,0), 0 0em 1em -0.75em rgba(100,100,100,0), 0 1em 2em -0.5em rgba(130, 55, 55, 0), 0 2em 3em -0.25em rgba(100,100,100,0);


  -webkit-transform: translate3d(0px, -1400px, 0px);
  -ms-transform: translate3d(0px, -1400px, 0px);
  -o-transform: translate3d(0px, -1400px, 0px);
  transform: translate3d(0px, -1400px, 0px);



}
main.login.active section div.login span.top {
  /* padding-top: 130px; */
}
main.login section div.login span.top {
  width: 100%;
  text-align: center;
  display: inline-block;
  color: #fff;
  font-size: 26px;
  font-family: 'Lato-Regular';
  margin-bottom: 15px;
  position: relative;
}
main.login.active section div.login div.esq{
  margin-left: 60px;
  float: left;
}
main.login.active section div.login div.esq a.esq:hover:before{
  bottom: -3px;
}
main.login.active section div.login div.esq a.esq:before{
  content: "";
  width: 100%;
  height: 1px;
  background: #fb8c9b;
  display: inline-block;
  position: absolute;
  bottom: -1px;
  left: 0px;
  -webkit-transition: all 0.6s ease-in-out;
  -moz-transition: all 0.6s ease-in-out;
  -o-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
}
main.login.active section div.login div.esq a.esq{
  color: #fff;
  font-family: 'Lato-Regular';
  font-size: 12px;
  margin-top: 15px;
  display: inline-block;
  position: relative;
}
main.login.active section div.login span.top.b{
    margin-top: 15px;
    padding-top: 15px;
}
main.login.active section div.login span.top.b:before {
  content: "";
  width: calc(100% - 140px);
  height: 1px;
  display: inline-block;
  position: absolute;
  left: 70px;
  top: 0px;
  background: #b01216;
}
main.login section div.login .linha {
  width: calc(100% - 2px);
  float: left;
  margin-right: 0px;
}
main.login section div.login .linha:nth-child(3) {
  margin-bottom: 15px;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #b9c0c7;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #b9c0c7;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #b9c0c7;
}
:-moz-placeholder { /* Firefox 18- */
  color: #b9c0c7;
}

main.login section div.login .linha input {
  font-size: 13px;
  color: #b9c0c7;
  line-height: 15px;
  height: auto;
  float: left;
  outline: none;
  padding: 15px 15px;
  width: calc(100% - 165px);
  background: #fff;
  border-radius: 5px;
  margin: 0px 55px;
  font-family: 'Lato-Bold';
  padding-left: 40px;
  border: 0px;
}
main.login section div.login .linha input#email  {
  background: url(../images/assets/login_email.png) 12px center no-repeat #fff;
}
main.login section div.login .linha input#senha {
  background: url(../images/assets/login_senha.png) 12px center no-repeat #fff;
}
main.login section div.login .linha input#email {
  /* border-radius: 8px 8px 0px 0px;
  border-bottom: 0px; */
  margin-bottom: 10px;
}
main.login section div.login .linha input#senha {
  /* border-radius: 0px 0px 8px 8px; */
}
main.login section div.login button.entrar.active {
  background: #06a306;
  border: 1px solid #06a306;
}
main.login section div.login button.entrar.erro {
  background: #e8b20c;
  border: 1px solid #e8b20c;
}

main.login section div.login button.entrar {
  color: #fff;
  /* background: #b51b21; */
  font-size: 13px;
  line-height: 10px;
  padding: 14px 30px;
  display: block;
  width: auto;
  margin: 0 auto;
  text-align: center;
  border-radius: 9px;
  background: #70d445;
  border: 1px solid #b51b21;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  outline: none;
  position: relative;
  float: right;
  margin-right: 56px;
  margin-top: 5px;
  font-family: 'Lato-Bold';
  text-transform: uppercase;
  letter-spacing: 2px;
  padding-right: 35px;
}
main.login section div.login a.cadastro {
  color: #fff;
  /* background: #b51b21; */
  font-size: 13px;
  line-height: 10px;
  padding: 14px 30px;
  display: block;
  width: auto;
  margin: 0 auto;
  text-align: center;
  border-radius: 9px;
  background: #0384df;
  border: 1px solid #b51b21;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  outline: none;
  position: relative;
  float: right;
  margin-right: 56px;
  margin-top: 5px;
  font-family: 'Lato-Bold';
  text-transform: uppercase;
  letter-spacing: 2px;
  padding-right: 35px;
}
main.login section div.login a.cadastro:hover {
  /* background: #d91018; */
  color: #fff;
  border: 1px solid #a31117;
  /* background: transparent; */


  background: rgb(181,27,33); /* Old browsers */
  background: -moz-linear-gradient(top, rgba(181,27,33,1) 0%, rgba(217,16,24,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(181,27,33,1) 0%,rgba(217,16,24,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(181,27,33,1) 0%,rgba(217,16,24,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b51b21', endColorstr='#d91018',GradientType=0 ); /* IE6-9 */
}
main.login section div.login button.entrar i,
main.login section div.login a.cadastro i{
  font-size: 20px;
  position: absolute;
  right: 17px;
  top: 8px;
}
main.login section div.login button.entrar:hover {
  /* background: #d91018; */
  color: #fff;
  border: 1px solid #a31117;
  /* background: transparent; */


  background: rgb(181,27,33); /* Old browsers */
  background: -moz-linear-gradient(top, rgba(181,27,33,1) 0%, rgba(217,16,24,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(181,27,33,1) 0%,rgba(217,16,24,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(181,27,33,1) 0%,rgba(217,16,24,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b51b21', endColorstr='#d91018',GradientType=0 ); /* IE6-9 */
}
main.login section div.login .erro {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-flex-flow: column;
  -moz-flex-flow: column;
  -ms-flex-flow: column;
  -o-flex-flow: column;
  flex-flow: column;
  position: relative;
  bottom: 0px;
  width: 100%;
  padding-top: 0px;
}
main.login section div.login .erro span{
  width: 100%;
  display: inline-block;
  padding: 0px 0px 0px;
  font-size: 16px;
  color: #494949;
  font-family: 'arial';
}
main.login section div.login .erro strong {
  font-family: 'Lato-Regular';
  background: #e40000;
  padding: 4px 20px;
  margin-top: 5px;
  width: calc(100% - 40px);
  color: #fff;
  font-size: 14px;
}
main.login .logo-ag {
  position: fixed;
  width: 180px;
  height: 50px;
  display: block;
  float: left;
  bottom: 0px;
  right: -50px;
}
main.login .logo-ag span {
  font-family: 'arial';
  font-size: 12px;
  float: left;
  position: relative;
  left: 5px;
  top: 18px;
  color: #fff;
  text-shadow: 1px 1px 1px #000;
}
main.login .logo-ag a {
  width: 100%;
  height: 28px;
  background: url(../images/logo-red.svg) no-repeat bottom center;
  background-size: 50px;
  display: block;
  margin: 12px 5px 0;
  text-decoration: none;
  text-indent: -9999px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -ms-transform: scale(0.9);
  -o-transform: scale(0.9);
  transform: scale(0.9);
}
main.login .logo-ag a:hover {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}
/* FIM MAIN.LOGIN */



/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-width : 0px) 
and (max-width : 414px) {
  div.boxFormulario div.cont form .linha {
      width: calc(100% - 0px);
      display: inline-block;
      position: relative;
      margin: 0 0px 10px;
      float: left;
  }
  main.login.active section div.login form {
    height: calc(100% - 130px);
  }
}


/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-width : 415px) 
and (max-width : 768px) {
  main.login.active section div.login form {
      height: calc(100% - -50px);
  }
}



@media only screen 
and (min-width : 0px) 
and (max-width : 768px) {
  body{
    height: 100vh;
    width: 100vw;
    display: inline-block;
    overflow: none;
  }
  main.login section{
    margin-bottom: -4px;
  }
  main.login section div.login{
    /* width: 100vw;
    height: calc(100vh - 60px);
    overflow-y: auto;
    margin: 0px!important;
    padding-bottom: 30px;
    padding-top: 30px; */


    /* PARA MOSTRAR LAPIS */
    width: 100vw;
    height: calc(100vh - 0px)!important;
    overflow-y: auto;
    margin: 0px!important;
    padding-bottom: 0px;
    /* padding-top: 200px; */
    margin-bottom: 10px;
    position: relative;
    z-index: 100000;
  }

  main.login section div.login a.cadastro{
      margin: 0px 15%;
      float: none;
      max-width: 60%;
      line-height: 18px; 
  }
  main.login section div.login button.entrar {
    margin: 0px 15%;
    float: none;
    width: 70%;
    line-height: 18px;
    margin-top: 20px;
    display: inline-block;
  }
  div.boxFormulario div.cont{
    width: 100vw;
    height: 100vh;
  }
  div.boxFormulario div.cont {
    width: 100vw;
    height: 100vh;
    top: 0px;
    left: 0px;
    max-height: 100vh!important;
  }

}