@import url(../css/fontes.css);

:root {
  --bg-color: #F8FAF9;
  --fonte-padrao: 'Blinker';
  --primary-color: #4CA585;
  --preto-color: #3d4543;
  --branco-color: #fff;
  --cinza-color: #97A19D;
  --border-radius: 0.5rem;
  --padding: 1rem;
  --shadow-pesada: 0px 34px 20px -20px rgba(61, 69, 67, 0.40);
  --shadow-media: 0px 8px 24px rgba(61, 69, 67, 0.15);
  --shadow-leve: 0px 4px 16px rgba(61, 69, 67, 0.08);

  /*Fontes*/
  --font-size-h2: 67px;
  --font-line-height-h2: 80px;
  --font-size-h6: 21px;
  --font-line-height-h6: 25px;
}

body {
  background: var(--bg-color);
  color: var(--preto-color);
  font-family: var(--fonte-padrao);
  font-weight: 400;

}

h2 {
  color: var(--preto-color);
  font-size: 24px;
  line-height: 33px;
  font-weight: 200;
}

h6 {
  font-size: var(--font-line-height-h6);
  line-height: var(--font-line-height-h6);
  font-weight: 200;
}

.grosso {
  font-weight: 400;
  color: var(--primary-color);
}
.invisible{
  display: none;
}

.card-descricao{
  margin-top: 2rem;
  line-height: 0.5rem;
}
.descricao{
  font-size: 12px;
  color: var(--cinza-color);
}


.text-destaque {
  display: block;
  color: var(--primary-color);
  font-weight: 600;
}

.card-titulo {
  /* background: var(--preto-color); */
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.card-dados {
  background: var(--branco-color);
  padding: var(--padding);
  border-radius: var(--border-radius);
  /*box-shadow: var(--shadow-pesada);*/
  height: 26vh;
  position: relative;
  margin-bottom: 1rem;
}

.versao{
  position: absolute;
  color: var(--cinza-color);
  font-size: 0.75rem;
  bottom: 0;
}

.card-resultados {
  background: var(--branco-color);
  padding: var(--padding);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-leve);
  /* height: 30vh; */
  margin-bottom: 1rem;
}

/* Formularios */

.form-control{
  border: 1px solid #C7D4CF;
}
.form-control:focus{
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgb(76 165 133 / 25%);
}
/* .form-floating>label{

} */

/* Tabela */

table{
  margin-top: 2rem;
  font-size: 14px;
}

thead th{
  text-align: center;
  /* color: var(--primary-color); */
}
.center{
  text-align: right;
  vertical-align: middle;
}
.destaque{
  color: var(--primary-color);
  font-weight: 600;
}
tbody th{
  color: var(--preto-color);
  font-weight: 400;
}

tbody tr{
  color: var(--preto-color);
  font-weight: 400;
}

.invalido-cpf {
  color: darkred;
}

.resultado {  
  background-color: var(--primary-color) !important;
  color: #fff !important;
  font-size: 20px;  
}

/* table {
  font-weight: 400;
  min-width: 420px;
  width: 100%;
}

thead {
  display: none;
  font-weight: 500;
} 


tbody tr {
  border: 1px solid #dad6eb;
  border-radius: 5px;
  display: block;
  padding: 30px;
  margin-bottom: 30px;

}

tbody tr:before {
  color: #8a8a87;
  content: attr(data-label);
  font-weight: 400;
  left: 5px;
  position: absolute;
}        

tbody td {
  display: block;
  font-weight: 500;
  padding: 5px;
  position: relative;
  text-align: right;
}
tbody td::before {
  display: block;
  font-weight: 500;
  padding: 5px;
  position: relative;
  text-align: right;
}
tbody td:nth-of-type(1)::before{ content: "Teste";}

@media all and (min-width: 768px) {
  table {
    border: 1px solid #eee;
    border-collapse: collapse;
    max-width: 992px;
    text-align: left;
    width: 100%;
  }

  thead {
    display: table-header-group;
  }

  th {
    padding: 10px;
  }

  tbody {
    font-size: .875em;
  }

  tbody tr {
    border: none;
    display: table-row;
  }

  tbody tr:nth-child(odd) {
    background: #eee;
  }

  tbody td {
    display: table-cell;
    font-weight: 400;
    padding: 10px;
    text-align: left;
  }

  tbody td:before {
    display: none;
  }

  tbody td:last-child {
    text-align: right;
  }


} */


.spinner-border, .spinner-grow {
  -webkit-animation-duration: 1.5s;
  animation-duration: 1.5s;
  position: absolute;
  top: 300px;
  z-index: 100;
  margin: 0 auto;
}

.content-spinner {
  position: fixed;
  display: block;
  top: 0;
  left: 0;
  text-align: center;
  opacity: 0.7;
  background-color: #000;
  z-index: 99;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

	
/* Mobile */
@media all and (min-width: 768px) {
  h2 {
    color: var(--preto-color);
    font-size: var(--font-size-h2);
    line-height: var(--font-line-height-h2);
    font-weight: 200;
  }

  .card-titulo {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  .card-dados {
    background: var(--branco-color);
    padding: var(--padding);
    border-radius: var(--border-radius);
   /* box-shadow: var(--shadow-pesada);*/    
    position: relative;
  }
  table{
    margin-top: 2rem;
    font-size: var(--fonte-padrao);
  }
}