html {
    width: 100vw;
    height: 100vh;
    letter-spacing: 0.1vw;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    background-image: url("../img/Fundo.jpg");
    background-size: 100%;
    width: 100vw;
    height: 100vh;
    align-items: center;
    padding: 0rem;
    margin: 0rem;
}

/* ABA SUPERIOR */
.aba{
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0rem;
    left: 0rem;
    width: 100vw;
    height: 8vh;
    text-align: center;
    color: white;
}

.logado{
    background-color: rgb(17, 81, 145);
    border: 0.4vh solid rgba(0, 0, 0, 0.6);
    border-top: none;
    border-radius: 0vh 0vh 2vh 2vh;
    display: block;
    width: 40vh;
    height: 6vh;
    line-height: 6vh;
    text-align: center;
    font-size: 3vh;
    color: white;
    text-decoration: none;
    position: absolute;
    top:0vh;
    left:50vw;
    transform: translate(-50%,0%);
    cursor:default;
}

.sucesso, .erro{
    z-index: 10;
    border: 0.4vh solid rgba(0, 0, 0, 0.6);
    border-top: none;
    border-radius: 0vh 0vh 2vh 2vh;
    display: block;
    width: 60vh;
    height: 6vh;
    line-height: 6vh;
    text-align: center;
    font-size: 3vh;
    color: white;
    text-decoration: none;
    position: absolute;
    top:0vh;
    left:50vw;
    transform: translate(-50%,0%);
    cursor:default;
}

.sucesso{
    background-color: darkgreen;
}

.erro{
    background-color: darkred;
}


.bt{
    background-color: rgba(0, 0, 0, 0.4);
    border: 0.4vh solid rgba(0, 0, 0, 0.6);
    border-radius: 2vh;
    display: block;
    width: 12vh;
    height: 6vh;
    line-height: 6vh;
    text-align: center;
    font-size: 3vh;
    color: white;
    text-decoration: none;
}

.bt_left{
    position: absolute;
    top:0.7vh;
    left:1vw;
}

.bt_right{
    position: absolute;
    top:0.7vh;
    right:1vw;
}

.bt_right:hover{
    background-color: rgb(136, 6, 8);
    cursor: pointer;
}

.bt_left:hover{
    background-color: rgb(17, 81, 145);
    cursor: pointer;
}






/* TABELA */
table{
    border-radius: 1rem 1rem 0 0;
    padding: 0.2rem;
    letter-spacing: 0.1rem;
    color:white;
    text-align: center;
    width: 100%;
    cursor: default;
    font-size: 2.4vh;
}

thead{
    background: rgba(0, 0, 0, 0.7);
    display: inline-block;
    width: 100%;
    border-radius: 1rem 1rem 0 0;
}

tbody{
    display: inline-block;
    width: 100%;   
    overflow:auto;
}

thead tr, tbody tr {
    display: flex;
    flex-flow: row;
    width: 100%;
    height: 6vh;
    line-height:6vh;
    font-family: Arial, Helvetica, sans-serif;
    border-bottom:0.12rem solid white;
    float:left;
}

[aria-label]::after {
    content: attr(aria-label);
    display: none;
    z-index: 5000;
    pointer-events: none;
    text-decoration: none;
    background-color: rgb(17, 81, 145);
    border: 0.4vh solid rgba(0, 0, 0, 0.6);
    border-bottom: none;
    border-radius: 2vh 2vh 0vh 0vh;
    width: 40vh;
    height: 4vh;
    line-height: 4vh;
    text-align: center;
    font-size: 2vh;
    color: white;
    text-decoration: none;
    position: absolute;
    top:-1.5vh;
    left: 82%;
    transform: translate(-50%,-50%);
    }
    
    [aria-label]:hover::after {
    display: block;
    }


tbody tr {
    background: rgba(0, 0, 0, 0.4);
}

tbody tr:hover{
    background-color: rgba(17, 81, 145, 0.9);
}






.tam tbody{
    max-height: 70vh;
}

.position{
    width: 96vw;
    position: absolute;
    top: 17.4vh;
    left: 50%;
    transform: translate(-50%,0);
}

.position th , .position td{
    text-align: center;
    flex-grow: 0;
    flex-basis:16%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.position .spc, #barra_pesquisa .spc{
    flex-grow: 1;
    flex-basis:0vw;
}



.position .vw_3{
    flex-grow: 0;
    flex-basis:5vw;
    text-align: center;
}

.position .vw_4, #barra_pesquisa .vw_4{
    flex-grow: 0;
    flex-basis:12vw;
    text-align: center;
}

.position .vw_5, #barra_pesquisa .vw_5{
    text-align: center;
    flex-grow: 0;
    flex-basis:2%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.position_2{
    width: 60vw;
    position: absolute;
    top: 55vh;
    left: 50%;
    transform: translate(-50%,0);
}






.position_2 th , .position_2 td{
    text-align: center;
    flex-grow: 0;
    flex-basis:15vw;
}

.position_2 .spc{
    flex-grow: 1;
    flex-basis:0vw;
}

.position_2 .vw_3{
    flex-grow: 0;
    flex-basis:5vw;
    text-align: center;
}

.tam_2 tbody{
    max-height: 31vh;
}






#barra_pesquisa .vw_1{
    flex-grow: 0;
    flex-basis:1vw;
    background-color: aquamarine;
}

#barra_pesquisa td{
    text-align: center;
    flex-grow: 0;
    flex-basis:16%;
}

#barra_pesquisa .vw_3{
    flex-grow: 0;
    flex-basis:5vw;
    text-align: center;
    background-color: aqua;
}








#barra_pesquisa .spc_pes{
    flex-grow: 0;
    flex-basis:1.5vw;
}

#barra_pesquisa .spc_pes_2{
    flex-grow: 0;
    flex-basis:0.5vw;
}




#rem_05{
    flex-grow: 0;
    flex-basis:0.35vw;
}



/* BARRA DE ROLAGEM */

tbody::-webkit-scrollbar {
    width: 0.5vw;
}
   
tbody::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

tbody::-webkit-scrollbar-thumb {
    background-color: rgba(197, 2, 2, 0.6);
    border-radius: 0.5rem;
    border: 0.1rem solid black;
}






/* BOTÃO DE MANIPULAÇÕES */
a{
    text-decoration: none;
}

/* #btn-primary, #btn-danger, #btn-pesquisar{ */
svg {
    display:inline-block;
    color:white;
    cursor: pointer;
    width: 3vh;
    height: 3vh;
    line-height:3vh;
    border-radius: 0.2rem;
    text-align: center;
    padding: 0.7vh;
    vertical-align: middle;
}

.svg {
    display:inline-block;
    color:white;
    cursor: pointer;
    width: 3vh;
    height: 3vh;
    line-height:3vh;
    border-radius: 0.2rem;
    text-align: center;
    padding: 0.7vh;
    vertical-align: middle;
}


#btn-primary{
    background-color: rgba(5, 134, 209, 0.452);
}

#btn-danger{
    background-color: rgba(197, 2, 2, 0.6);
}

#btn-paginar{
    background-image: linear-gradient(to right,rgb(0, 92, 197), rgb(90, 20, 220));
}

#btn-pesquisar{
    background-image: linear-gradient(to right,rgb(0, 92, 197), rgb(90, 20, 220));
    position: relative;
    left: 1.4vw;
    top:-.07rem;
}

#btn-pesquisar:hover, #btn-paginar:hover{
    background-image: linear-gradient(to right,rgb(0, 80, 172), rgb(80, 19, 195));
}

#barra_pesquisa .br_limpar_pesquisa{
    text-align: center;
    flex-grow: 0;
    flex-basis:10.5%;
}


#cliente{
    position: relative;
    left: 1.8vw;
}


#btn_limpar_pesquisa{
    border-radius: 1vh;
    width: 8vw;
    height: 3.6vh;
    line-height: 3.6vh;
    font-size: 1.5vh;
    background-image: linear-gradient(to right,rgb(0, 92, 197), rgb(90, 20, 220));
    position: relative;
    left: 1vw;
}

#btn_limpar_pesquisa:hover{
    background-image: linear-gradient(to right,rgb(0, 80, 172), rgb(80, 19, 195));
}


#btn-primary:hover{
    background-color: dodgerblue;
}

#btn-danger:hover{
    background-color: rgba(197, 2, 2, 0.9);
}

a{
    text-decoration: none;
    color:white;
}

.paginas{
    display:block;
    width: 30vw;
    height: 6vh;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    font-size: 2.4vh;
    font-weight: 700;
    border-radius: 2vh;
    color:white;
    position: relative;
    top: 10vh;
    left: 50%;
    transform: translate(-50%,0%);
}

.pagina_atual{
    background: rgba(0, 0, 0, 0.6);
    display:inline-block;
    cursor:default;
    width: 4vw;
    height: 6vh;
    line-height: 6vh;
    vertical-align: middle;
}


.pagina_texto{
    display:inline-block;
    vertical-align: middle;
    cursor: pointer;
    width: 8vw;
    height: 6vh;
    line-height: 6vh;
}




.qtd_pagina{
    background-color: rgb(17, 81, 145);
    border: 0.4vh solid rgba(0, 0, 0, 0.6);
    border-top: none;
    border-radius: 0vh 0vh 2vh 2vh;
    display: block;
    width: 16vh;
    height: 6vh;
    line-height: 6vh;
    text-align: center;
    font-size: 2vh;
    color: white;
    text-decoration: none;
    position: absolute;
    top:0vh;
    left:74vw;
    transform: translate(-50%,0%);
    cursor:default;
}

.qtd_registros{
    background-color: rgb(17, 81, 145);
    border: 0.4vh solid rgba(0, 0, 0, 0.6);
    border-top: none;
    border-radius: 0vh 0vh 2vh 2vh;
    display: block;
    width: 22vh;
    height: 6vh;
    line-height: 6vh;
    text-align: center;
    font-size: 2vh;
    color: white;
    text-decoration: none;
    position: absolute;
    top:0vh;
    left:26.5vw;
    transform: translate(-50%,0%);
    cursor:default;
}


select:invalid {
    color: rgb(231, 14, 14);
  }

.invisivel{
    display: none;

}












/* CAIXA DE LOGIN */
.box_entrar, .box_criar, .box_criar_grupo, .box_edit{
    transform: translate(-50%,0%);
    background-color: rgba(17, 81, 145, 0.9);
    border-radius: 2vh;
    padding: 4vh;
    position: absolute;
    left: 50vw;
}

/* CAIXA DE LOGIN */
.box_entrar{
    width: 20vw;
    top: 20vh;
}

/* CAIXA DE CRIAR_DATABOOK_E_GRUPO */
.box_criar, .box_criar_grupo, .box_edit{
    width: 40vw;
    top: 12vh;
}

.titulo_login{
    position: relative;
    top:-2vh;
    width: 100%;
    height: 6vh;
    font-size: 5vh;
    text-align: center;
    transform: translate(0%,0%);
    color: white;
}

.inputBox{
    position: relative;
    border-bottom: 0.3vh solid white;
    margin-bottom: 6vh;
    margin-top: 4vh;
    width: 99%;
    height: 4vh;
    text-align: 4vh;
    font-size: 2.4vh;
    letter-spacing: 0.2vw;
    font-weight: 600;
}

.box_criar .inputBox, .box_edit .inputBox{
    margin-bottom: 6vh;
    margin-top: 1vh;
}

.inputUser{
    background: none;
    border: none;
    outline: none;
    width: 99%;
    height: 4vh;
    text-align: 4vh;
    font-size: 2.4vh;
    letter-spacing: 0.2vw;
    font-weight: 600;
}

.labelInput{
    position: absolute;
    top: 0vh;
    left: 0vw;
    pointer-events: none;
    transition: .5s;
    color: whitesmoke;
}

.inputUser:focus ~ .labelInput,
.inputUser:valid ~ .labelInput{
    top: -1.9vh;
    font-size: 1.8vh;
    font-weight: 700;
}

.inputUser:focus ~ .labelInput{
    color: rgb(7, 197, 0);
}

#cmp_pedido_cliente, #cmp_certificado, #cmp_rastreabilidade, #cmp_nota_fiscal, #cmp_link_pdf,#cmp_nome, #cmp_senha {
    background: none;
    border: none;
    outline: none;
    text-align: left;
}

  #submit{
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.5);
    display: block;
    width: 100%;
    height: 8vh;
    line-height: 7vh;
    color: white;
    font-size: 4vh;
    cursor: pointer;
    border-radius: 1vh;
    text-align: center;
    font-weight: 500;
    border: 0.4vh solid rgba(0, 0, 0, 0.6);
    position: relative;
    left: 50%;
    transform: translate(-50%,0%);
}

#submit:hover{
    background-color: rgba(1, 129, 10, 0.7);
}





 


#position_barra_pesquisa{
    width: 96vw;
    position: absolute;
    bottom: 1.4vh;
    left: 2vw;
}

#barra_pesquisa{
    background-color: rgba(0, 0, 0, 0.3);
    height: 6vh;
    line-height: 5.4vh;
    border-radius: 2vh;
}


.form-control{
    background-color: rgba(0, 0, 0, 0.6);
    color: whitesmoke;
    font-size: 2vh;
    text-align: center;
    border-radius: 0.2vw;
    border: none;
    width: 70%;
    height: 4.6vh;
    letter-spacing: 0.1rem;
    position: relative;
    left: 1.4vw;
}

.form-control:focus, input:focus {
    box-shadow: 0 0 0 0;
    outline: 0;
    border: .1rem solid rgba(0, 0, 0, 0.3);
}











#excluir_data_book{
    display: block;
    background-color: darkred;
    z-index: 10;
    border: 0.4vh solid rgba(0, 0, 0, 0.6);
    border-top: none;
    border-radius: 0vh 0vh 2vh 2vh;
    width: 5vw;
    height: 6vh;
    line-height: 6vh;
    text-align: center;
    font-size: 3vh;
    color: white;
    text-decoration: none;
    position: absolute;
    top:0vh;
    left:37vw;
    transform: translate(0%,0%);
    cursor:default;
}

#excluir_data_book_2{
    display: none;
    z-index: 12;
    border: 0.4vh solid rgba(0, 0, 0, 0.6);
    border-top: none;
    border-radius: 0vh 0vh 2vh 2vh;
    width: 5vw;
    height: 6vh;
    line-height: 6vh;
    text-align: center;
    font-size: 3vh;
    color: white;
    text-decoration: none;
    position: absolute;
    top:0vh;
    left:20vw;
    transform: translate(0%,0%);
    cursor:default;
}
