@media screen {
  #printSection {
    display: none;
  }
}

body {
  background-color: #f9fafb !important;
  color: #000 !important;
}

@media print {
  .rodape {
    display: none !important;
  }

  small {
    font-size: 0.85em !important;
  }

  @page port {
    size: portrait;
  }

  @page land {
    size: landscape;
  }

  .portrait {
    page: port;
  }

  .landscape {
    page: land;
    width: 100%;
    height: 100%;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(Rotation=3);
  }

  @page {
    size: A4;
    margin: 0.7cm !important;
  }

  @page :first {
    margin-top: 1cm;
  }

  body {
    /* font-size: 10pt */
    color: #000 !important;
  }

  img {
    max-width: 100% !important;
  }

  .table > tbody > tr > td,
  .table > tbody > tr > th,
  .table > tfoot > tr > td,
  .table > tfoot > tr > th,
  .table > thead > tr > td,
  .table > thead > tr > th {
    /* line-height: 1 !important; */
  }

  .table > thead > tr > td,
  .table > thead > tr > th {
    background: #ebeff2 !important;
  }

  .table-bordered {
    border: 1px solid #888 !important;
  }

  .table-bordered > thead > tr > th,
  .table-bordered > tbody > tr > th,
  .table-bordered > tfoot > tr > th,
  .table-bordered > thead > tr > td,
  .table-bordered > tbody > tr > td,
  .table-bordered > tfoot > tr > td {
    border: 1px solid #888;
  }

  #topnav,
  #container {
    display: none;
  }

  .rodape-impressao {
    border-top: 1px solid #ccc;
    position: fixed !important;
    width: 100%;
    margin-top: 20px;
    bottom: 0 !important;
  }

  .rodape-impressao h5 {
    font-size: 12px !important;
  }

  .cabecalho-impressao,
  .rodape-impressao {
    display: table-row !important;
  }

  label {
    float: left;
    clear: both;
    /* white-space: nowrap; */
    margin: 0 !important;
    font-size: 0.875rem !important;
    padding-bottom: 3px;
    display: inline-block !important;
  }

  h1,
  h2,
  h3,
  h4,
  h5 {
    float: left;
    clear: both;
    margin: 0 !important;
    width: 100%;
  }

  h1 {
    /*Equivale a 15 pt*/
    font-size: 21px !important;
  }

  h2 {
    /*Equivale a 14 pt*/
    font-size: 19px !important;
  }

  h3 {
    /*Equivale a 12 pt*/
    font-size: 16px !important;
    font-weight: 600;
  }

  h4 {
    /*Equivale a 10 pt*/
    font-size: calc(1.25625rem + 0.075vw);
  }

  .cabecalho-relatorio {
    display: table-row !important;
  }

  .tabela-relatorio-selecao {
    padding: 0 15px;
  }

  .legend-print {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 5px !important;
    font-size: 21px;
    line-height: inherit;
    color: #000;
    border: 0;
    border-bottom: 1px solid #e5e5e5;
  }

  legend {
    margin-bottom: 0;
  }

  .boxCaixa {
    border: 1px solid #888 !important;
    outline: none !important;
  }

  .btn {
    display: none !important;
  }

  .t-b-0 {
    border: none !important;
  }

  .t-b-r-0 {
    border-right: 0px !important;
  }

  .t-b-l-0 {
    border-left: 0px !important;
  }

  .t-b-t-0 {
    border-top: 0px !important;
  }

  .t-b-b-0 {
    border-bottom: 0px !important;
  }

  .t-b-r-0 {
    border-right: 0px !important;
  }
}

.cabecalho-relatorio {
  display: none;
  padding-bottom: 20px;
}

.tabela-relatorio thead * {
  border: none !important;
}

.cabecalho-bloco {
  margin-top: 20px;
  margin-bottom: 5px;
  padding: 0 4px;
}

.linha {
  clear: both;
  display: flex !important;
  font-size: 0.875rem;
}

.cabecalho-impressao *,
.rodape-impressao *,
.cabecalho-bloco *,
.cabecalho-relatorio * {
  outline: none !important;
}

.cabecalho-impressao h2 {
  border: none;
}

.rodape-impressao {
  border-top: 1px solid #ccc;
  position: relative;
  width: 100%;
  margin-top: 20px;
}

.print-preview label {
  float: left;
  clear: both;
  /* white-space: nowrap; */
  margin: 0 !important;
  /* font-size: 11px; */
  padding-bottom: 3px;
}

.print-preview i {
  display: inline-block !important;
}

.print-preview h1,
.print-preview h2,
.print-preview h3,
.print-preview h4,
.print-preview h5 {
  float: left;
  clear: both;
  margin: 0 !important;
  width: 100%;
}

.print-preview h1 {
  /*Equivale a 15 pt*/
  font-size: 21px !important;
}

.print-preview h2 {
  /*Equivale a 14 pt*/
  font-size: 19px !important;
}

.print-preview h3 {
  /*Equivale a 12 pt*/
  font-size: 16px !important;
  font-weight: 600;
  padding-top: 3px;
}

.print-preview h4 {
  /*Equivale a 10 pt*/
  font-size: calc(1.25625rem + 0.075vw);
}

.print-preview p {
  font-size: 0.875rem !important;
}

.titulo-relatorio * {
  outline: none !important;
}

.panel-border-internal-print {
  display: block !important;
  padding: 9px 18px;
  margin: 0 -4px 20px -4px;
}

/*.pagebreak {
    page-break-before: always !important;
    padding-top: 170px;
}*/

.print-preview .modal {
  position: absolute;
  z-index: 9999 !important;
  overflow: auto;
}

.print-preview .modal-dialog {
  margin-top: 35px;
  padding-left: 0;
}

.print-preview .modal-backdrop {
  z-index: 9998 !important;
}

.print-preview .print-bar {
  padding: 15px 15px 0 15px;
  margin-bottom: -15px;
  border-bottom: 1px solid #ddd;
}

.print-preview .print-bar .col-md-6 {
  min-height: 55px;
}

.print-bar * {
  outline: none !important;
}

.boxCaixa {
  border: 1px solid #e4e2e2;
  padding: 5px;
  display: flex;
  flex-direction: column;
  outline: none !important;
  margin-bottom: 10px;
  clear: none;
  min-height: 50px;
}

.boxForm {
  border-bottom: 1px solid #888;
  border-left: 1px solid #888;
  border-right: 1px solid #888;
  padding: 5px;
  display: flex;
  outline: none !important;
  margin-bottom: 10px;
  clear: none;
  min-height: 50px;
}

.boxBeneficiario {
  outline: none;
}

.tabela-estadocivil {
  width: 100%;
}

.tabela-estadocivil tr {
  height: 40px;
}

.tabela-estadocivil td {
  border: 1px solid #000;
  padding-left: 5px;
}

@media print {
  hr {
    opacity: 1 !important;
    border: 1px solid #888 !important;
    border-bottom: 0 !important;
  }

  tfoot {
    display: table-footer-group;
  }

  .print-mode table label {
    width: 100%;
    /* line-height: 1; */
    display: block !important;
    margin: 0 !important;
    padding: 0;
  }

  .print-mode table ul li {
    font-size: 0.875rem;
  }

  .print-mode table p {
    font-size: 0.875rem;
    width: 100%;
    display: block !important;
  }

  .print-mode table .form-check-input {
    display: inline-block !important;
  }

  .print-mode table .form-check.form-check-inline {
    margin: 0;
    padding-right: 2rem;
    padding-left: 0;
  }

  .print-mode table .form-check .form-check-input {
    /*float: none;*/
    margin: 0;
    padding: 0;
    display: inline !important;
  }

  .print-mode table .form-check .form-check-label {
    display: inline !important;
  }

  .print-mode table tbody {
    overflow: hidden !important;
  }

  .print-mode table.table-personalizada > thead > tr > th,
  .print-mode table.table-personalizada > tbody > tr > td {
    border: 1px solid #dee2e6;
  }
}

@media print {
  .modal {
    padding: 0 !important;
  }

  .modal-dialog {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .modal-content {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* .modal-body hr {
        display: none !important;
    } */
}
