/**
 * SAB-ASSOCIADOS
 * » Folha de estilos.
 * 
 */


/* Variáveis
-------------------------------------------------- */

:root {
    --azul-claro: #6EBEC3;
    --azul-escuro: #0b8ac0;
    --cinza-claro: #f8f8f8;
    --cinza: #8e8d8d;
    --cor-borda: #8e8d8d;
    --cor-fundo-rodape: var(--cinza-claro);
}

/* Padronização */

a {
    text-decoration: none !important;
}

p {}

/* Tipografia
-------------------------------------------------- */

html {
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1rem;

}

h1,
h2,
h3,
h4,
h5 {
    margin: 2em 0 1em;
}

/* Tela de acesso
-------------------------------------------------- */

.page-header {
    text-align: center;
}

.page-header-info {
    margin: 1em auto 0;
    width: 80%;
}

.nova-senha-texto {
    font-size: 0.9rem;
    margin-top: 1em;
    text-align: center;
}

/* Barra de navegação
-------------------------------------------------- */

.navbar-nav li {
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
}

.navbar-text {
    font-size: 0.9rem;
    float: right;
}

.quit-btn {
    float: right;
    margin-left: 24px;
}

.navbar-brand img {
    max-height: 20px;
}

/* Painel
-------------------------------------------------- */

.painel-controle {
    display: flex;
    justify-content: space-between;
}

.controle-cartao {
    border: 1px solid var(--azul-escuro);
    border-radius: 4px;
    margin: 0 1em;
    padding: 10px;
    text-align: center;
    width: 200px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

.controle-cartao:hover {
    background-color: var(--azul-escuro);
    cursor: pointer;
    color: white;
    text-decoration: none;
}

.controle-cartao:hover h2 {
    color: white;
    text-decoration: none;
}

.controle-cartao a:hover {
    color: white;
    text-decoration: none;
}

.controle-cartao h2 {
    margin: 0;
    text-decoration: none;
}

.controle-cartao .fa {
    font-size: 3rem;
    line-height: 1.5;
}

/* Rodapé fixo
-------------------------------------------------- */

html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: var(--cor-fundo-rodape);

    /* Set the fixed height of the footer here */
    height: 60px;

}

.footer .container {

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 0.7rem;

    height: 100%;
    width: 100%;

}

/* Container
-------------------------------------------------- */

.container .text-muted {
    margin: 20px 0;
}

.container {
    padding-top: 60px;
}

footer .container {
    padding-top: 0;
}



/* Erros
-------------------------------------------------- */

.erro {
    z-index: 999;
    border: solid 1px #f0f0f0;
    background: whitesmoke;
}

#msgErro {
    display: none;
}

.msgErro {
    border-left: 1em solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    color: white;
    padding: 10px;
    width: 75%;
    margin: 4px 0;
    background-color: #dd4132;
}

.msgAlerta {
    border-left: 1em solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    color: white;
    padding: 10px;
    width: 75%;
    margin: 4px 0;
    background-color: #e4bf45;
}


/* CLIENTES
-------------------------------------------------- */

.action-bar {
    margin: 1rem auto 2rem;
}

#buscaCNPJ {
    margin-bottom: 1rem;
}

#grupoCNPJ>div.form-group.mt-0>label {
    margin-top: 1rem;
}

#tipoCadastroCliente {
    margin-bottom: 1rem;
}

#grupoCPF {
    margin-bottom: 1rem;
}

#CPFClienteAlertas.alert {
    font-size: 0.8rem;
    padding: 8px;
    margin: 0.5rem auto;
}





/* Laudos
-------------------------------------------------- */

.laudos-lista a {
    display: block;
}

.laudos-lista tr:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

#form-cria-laudo {
    max-width: 800px;
}

.cria-laudo-cabecalho {
    line-height: 1.5;
}

.form-botoes {
    display: flex;
    justify-content: space-between;
}

::placeholder {
    color: #aaa;
    font-weight: normal;
}


legend {
    display: block;
    margin-top: 1em;
    margin-bottom: 0.1em;
}

input[type="date"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {}

input[type="email"],
input[type="text"],
select,
textarea {
    width: 100%;
}

input[type="text"] {
    border-radius: 4px;
    border: 1px solid #ccc;
}

.form-linha {
    display: flex;
    justify-content: space-between;
    align-content: center;
}

.um-terco {
    width: 32%;
}

.dois-tercos {
    width: 66%;
}

.um-meio {
    width: 49%;
}

/* REGULAMENTO
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.regulamento-janela {
    border: 1px solid var(--cor-borda);
    border-radius: 16px;
    height: 50vh;
    overflow: auto;
    margin: 3em auto;
    padding: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.regulamento-miolo {
    overflow: auto;
    max-height: 100%;
}

.form-aceite .caixa-aceite {
    margin: 1em;
}

.form-aceite .botao {
    font-weight: bold;
    padding: 8px 16px 4px;
}

.regulamento-estilo-titulo {
    font-size: 1.2rem;
    font-weight: bold;
}

.regulamento-estilo-subtitulo {
    font-size: 1rem;
    font-weight: bold;
    margin-top: 24px;
}

.regulamento-estilo-normal code {
    color: var(--azul-claro);
}


/* ASSOCIADOS
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Listagem de associados */

#lista-associados {
    padding-bottom: 4rem;
}

.table-associados-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    width: 100%;
}

#cadastro-associados {
    padding-bottom: 4rem;
}