body{
  justify-items: center;
}

h1 {
  font-size: 50px;
  font-weight: bold;
  margin: 20px;
}

#menu {
  display: flex;
  direction: row;
  height: 150px;
  width: 100%;
  align-items: center;
  background-color: rgb(248, 202, 117);
}

#tamanho-margem{
  height: auto;
}

.folha {
  height: auto;
  width: 210mm;
  border: 2px solid green;
  display: flex;
  max-height: 297mm;
  
}

.conteudo {
  min-width: 160mm;
  min-height: 247mm;
  margin: 25mm;
  border: 2px solid red;
  flex-grow: 1;
  height: 100%;
  
}

.cabecalho {
  margin: 1px;
  width: auto;
  height: 140px;
  border: 1px solid yellow;
  display: flex;
  direction: row;
  justify-content: space-between;
}

.info-box {
  border: 1px solid purple;
  margin: 1px;
  --largura-info-box: calc(160mm - 140px);
  min-width: var(--largura-info-box);
  max-width: 210mm;
  width: auto;
  padding: 2px;
  padding-right: 4px;
  left: 0;
  flex-grow: 1;
  
}

.pessoais{
  flex-grow: 1;
  display: flex;
  direction: row;
  border: 1px solid green ;
  padding: 1px;
}

.pessoais, .pessoais *{
  max-height: 20px;
}

.pessoais label {
  font-size: 14px;
}

#pessoais-rascunho{
  margin-bottom: 10px;
  margin-top: 10px;
  justify-content: left;
}

#campo-idade {
  width: 30px;
  
}



.foto {
  width: 120px;
  min-width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid orange;
  margin: 1px;
  right: 0;
  /*display: none;*/
}

#foto-formulario {
  justify-content: space-between;
  align-items: center;
}

#botao-adicionar-remover-foto {
  border-radius: 50%;
  box-sizing: border-box;
  height: 120px;
  width: 120px;
  background-color: transparent;
}

#botao-adicionar-remover-foto:hover {
  background-color: rgba(0, 100, 0, 0.6);
  transform: ;
  transition: background-color 0.5s ease-in-out;
}

#botao-oculto-procurar {
  display: none;
}

.campo {
  min-width: inherit;
  width: 100%;
  margin: 2px;
  flex-basis: 1;
  flex-grow: 1;
  box-sizing: border-box;
  
}

#campo-nome  {
  font-size: 50px;
   
}

#campo-cargo {
  font-size: 22px;
}

.caixa-sessoes{
  
  min-height: calc(247mm - 130px); 
  border: 1px solid pink;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  
  
}

.sessao {
  background-color: rgb(200, 200, 200);
  display: flex;
  flex-direction: column;
  
  margin-right: 6mm;
  margin-bottom: 6mm;
  flex: 1 1 48%;
}

.sessao-par{
  margin-right: 0;
}
 
.campo-titulo, .titulo-sessao{
  font-size: 18px;
  color: rgb(50, 50, 250);
  font-weight: bold;
}

.titulo-sessao{
  margin-bottom: 2mm;
}

.botao-add-formulario {
  background-color: green;
  margin: 40%;
  margin-top: 5%;
  margin-bottom: 5%;
}

#paragrafo-objetivo {
  width: 100%;
}

#campo-objetivo{
  resize: none;
}

.caixa-itens {
  display: flex;
  flex-direction: column;
}

.sessao-fim {
  margin-bottom: 0;
}






#label-nome {
  font-size: 50px;
  font-weight: bold;
}

#label-cargo {
  font-size: 22px;
  font-weight: bold;
}














#gerar-pdf {
  margin: 20px;
  font-size: 48px;
  color: white;
  background-color: red;
  font-weight: bold;
}


























@media print {
  /* Esconde tudo que não faz parte do conteúdo que você deseja imprimir */
  * {
    /*outline: 1px solid red !important; */
    -webkit-print-color-adjust: exact !important; /*Chrome, Safari */
    color-adjust: exact !important;  /*Firefox*/
    
  }

  *:not(#conteudo-rascunho, #conteudo-rascunho *){
    margin: 0;
    padding: 0;
    height: 0;
    border: 0;
  }

  body *{
    display: none;
  }

  #conteudo-rascunho, #conteudo-rascunho * {
    display: inherit;
    border: 0;
  }

  #conteudo-rascunho{
    display: flex;
    flex-direction: column;
  }

  .info-box{
    display: flex;
    flex-direction: column;
  }

  .foto {
    background-image: inherit;
  }

  #caixa-infocontato-rascunho {
    display: flex;
    flex-direction: column;
  }

  @page {
    margin: 0mm 0mm 0mm 0mm;
    size: auto;
    margin-bottom: 0;
  }
}  