body, html {
    height: 100%;
}

.bg {
    background-image: url("../img/poly_aduaneiro_07.png");

    height: 100%;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


.modal-backdrop {
    background: #b4b4b4;
}

.blur{
    -webkit-filter: blur(7px);
    -moz-filter: blur(15px);
    -o-filter: blur(15px);
    -ms-filter: blur(15px);
    filter: blur(15px);
}

.modal-text {
  color: white;
}

.btn-square {
  border-radius: 0px;
}

tr {
    text-decoration-color: #244a93;
}

/* Transparante Form */

.box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  padding: 40px;
  background: rgba(240, 240, 240, .9);
  box-sizing: border-box;
  box-shadow: 0 15px 15px rgba(0, 0, 0, .5 );
  max-height: 95%;
  overflow: auto;
}

.bg-box {
  background: rgba(240, 240, 240, .9);
}

.box h1 {
  margin: 0 0 30px;
  padding: 0;
  text-align-last: center;
}

.box .inputBox {
  position: relative;
}

.box .inputBox input {
  width: 100%;
  padding: 8px 0;
  font-size: 16px;
  margin-bottom: 35px;
  transition: all 0.5s ease-in-out;
}

.box .inputBox input:hover {
  transition: all 0.5s ease-in-out;
  padding: 8px 8px;
}

.box .inputBox input:focus {
  transition: all 0.5s ease-in-out;
  padding: 8px 8px;
}

.box .inputBox label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 8px 0;
  font-size: 16px;
  pointer-events: none;
  transition: .5s;

}

.box .inputBox input:focus ~ label,
.box .inputBox input:valid ~ label  {
  top: -28px;
  left: 0;
  /* color: #3498DB; */
  /* color: #198FBE; */
  font-size: 14px;
}

.box button {
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  margin-top: 25px;
}

.table-head-button-login {
  color: #fff;
  padding: 25px 5px 25px 5px;
  width: 40%;
  margin: 10px 20px 15px 0px;
  cursor: pointer;
  font-size: 17px;
  display: inline;
  background: none;
  border-left: none;
  border-right: none;
  border-top: 2px solid;
  border-bottom: 2px solid;
  /* border: 2px solid; */
  transition: color 1.1s;
  position: relative;
  overflow: hidden;
}

.table-head-button-login.th-addon {
  padding: 0px 10px;
  margin: 0px;
  border: none;
}

.table-head-button-login:hover,
.table-head-button-login-active:hover {
  /* color: #198FBE; */
  color: #073888;
  /* color: #2C3E50; */
  transition: 1.1s;
}

.table-head-button-login::before {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 0%;
  background: #E9F4F9;
  /* background: #FDFDFD; */
  z-index: -1;
  transition: 1.1s;
  bottom: 0;
  border-radius: 0% 0% 0 0;
  border-right: 1px solid;
  border-left: 1px solid;
  /* border: none; */
}

.table-head-button-login-active::before {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 0%;
  background: #E9F4F9;
  z-index: -1;
  transition: 1.1s;
  bottom: 0;
  border-radius: 0% 0% 0 0;
}

.table-head-button-login-active {
  padding: 10px 5px 10px 5px;
  margin: 10px 20px 15px 0px;
  cursor: pointer;
  font-size: 17px;
  display: inline;
  background: none;
  border-top: 2px solid;
  border-bottom: 2px solid;
  /* border: 2px solid; */
  transition: 1.1s;
  position: relative;
  overflow: hidden;

  content: '';
  background: #E9F4F9;
  /* color: #0DA85D; */
  /* color: #18bc9c; */
  color: #2c3e50;
  /* background: #FDFDFD; */
  transition: 1.1s;
  bottom: 0;
  border-radius: 0% 0% 0 0;
  border-right: 1px solid;
  border-left: 1px solid;
}

.table-head-button-login:hover::before,
.table-head-button-login-active:hover::before,
.data-container:hover::before {
  height: 180%;
}

.table-body-input:focus {
  border: 2px solid;
  background: #fff;
  transition: 2.1;
  -webkit-box-shadow: inset 0 2px 2px rgba(0,0,0,.075), 0 0 8px rgba(44, 62, 80, 0.6);
  box-shadow: inset 0 2px 2px rgba(0,0,0,.075), 0 0 8px rgba(44, 62, 80, 0.6);
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill,
.tb-login-input {
  width: 60%;
  padding: 20px;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border-left: none;
  border-top: none;
  border-right: none;
  border-bottom: 1px solid;
  color: white;
  transition: 1.1;
  /* text-align-last: center; */
  /* text-align: center; */
}

.tb-login-input-addon {
  background: none;
  font-size: 25px;
}


/* input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus */
.tb-login-input:focus {
  /* background: #fff; */
  transition: 2.1;
  -webkit-box-shadow: inset 0 2px 2px rgba(240,240,240,.075), 0 0 8px rgba(44, 62, 80, 0.6);
  box-shadow: inset 0 2px 2px rgba(240,240,240,.075), 0 0 8px rgba(44, 62, 80, 0.6);
}

.box-login {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  padding: 30px 40px 0px 40px;
  /* padding: 40px; */
  /* background: rgba(240, 240, 240, 0); */
  background: rgba(7, 56, 137, .5);
  box-sizing: border-box;
  /* box-shadow: 0 15px 15px rgba(255, 255, 255, .5 ); */
  /* box-shadow: 0 0px 15px rgba(255, 255, 255, 0 ); */
  box-shadow: 0 0px 15px rgba(255, 255, 255, .5 );
  transition: 1.1s;
 }

 .box-login:hover {
  box-shadow: 0 0px 15px rgba(255, 255, 255, 1 );
  /* background: rgba(100, 100, 100, .6); */
  background: rgba(7, 56, 137, .9);
  transition: 2.1s;
 }

.box-login h1 {
  margin: 0 0 30px;
  padding: 0;
  text-align-last: center;
}

.box-login .input-box-login {
  position: relative;
}

.box-login .input-box-login input {
  width: 100%;
  padding: 15px 0;
  font-size: 16px;
  margin-bottom: 35px;
}

.box-login .input-box-login label {
  position: absolute;
  color: white;
  top: 0;
  /* left: 0; */
  float: right;
  right: 0;
  padding: 8px 0;
  font-size: 25px;
  pointer-events: none;
  transition: .5s;
}

.box-login .input-box-login input:focus ~ label,
.box-login .input-box-login input:valid ~ label  {
  top: -28px;
  right: 0;
  font-size: 14px;
}

/* .input-box-login-label {
  position: absolute;
  color: white;
  top: 0;
  left: 0;
  padding: 8px 0;
  font-size: 25px;
  pointer-events: none;
  transition: .5s;
}

.input-box-login-float {
  top: -28px;
  left: 0;
  font-size: 14px;
  transition: .5s;
  position: absolute;
  color: white;
  left: 0;
  padding: 8px 0;
  pointer-events: none;
  transition: .5s;
} */

.box-login button {
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  margin-top: 25px;
}

@media screen and (max-width: 500px) {
  .box-login {
    width: 350px;
    top: 59%;
   }

   .box-login .input-box-login label {
    position: absolute;
    color: white;
    top: 0;
    right: 0;
    float: right;
    padding: 0px 0;
    font-size: 15px;
    pointer-events: none;
    transition: .5s;
  }

  .box-login .input-box-login input:focus ~ label,
  .box-login .input-box-login input:valid ~ label  {
    top: -28px;
    right: 0;
    /* color: #3498DB; */
    /* color: #198FBE; */
    font-size: 10px;
  }

  .box-login .input-box-login input {
    width: 100%;
    padding: 5px 0;
    font-size: 16px;
    margin-bottom: 35px;
  }
}

@media screen and (min-width: 501px) and (max-height: 736px) {
  .box-login {
    top: 63%;
   }
}

@media screen and (max-width: 500px) and (min-height: 745px) {
  .box-login {
    top: 59%;
   }
}

@media screen and (min-width: 501px) and (min-height: 745px) {
  .box-login {
    top: 64%;
   }
}

@media screen and (min-width: 501px) and (min-height: 737px) {
  .box-login {
    top: 63%;
   }
}

@media screen and (min-width: 501px) and (min-height: 805px) {
  .box-login {
    top: 59%;
   }
}
