@media print {
  /*html,
  body {
      overflow: hidden;
  }*/

  body{
    font-size: 10px;
  }

  * {
     -webkit-print-color-adjust: exact !important;
     print-color-adjust: exact !important;
  }

  /*[background-color] {
        z-index: 0;
        position: relative;
        -webkit-print-color-adjust: exact !important;
    }

   [background-color] canvas {
        display: block;
        position:absolute;
        z-index: -1;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }*/

  .row{
    page-break-inside: avoid;
  }

  legend {
    font-size: 15px;
  }

  .cabecalho_relatorio h3{
    font-size: 12px;
    margin-top: 5px;
    margin-bottom: 0;
  }

  .cabecalho_relatorio strong{
    font-size: 10px;
  }

  .wrap > .container{
    padding-top: 10px !important;
  }

  .wrap{
    padding-bottom: 0 !important;
  }

  a[href]:after {
    content: none !important;
  }

  footer.footer{
    display: none;
  }

  .container{
    width: 100%;
  }

  .col-md-1,
  .col-md-2,
  .col-md-3,
  .col-md-4,
  .col-md-5,
  .col-md-6,
  .col-md-7,
  .col-md-8,
  .col-md-9,
  .col-md-10,
  .col-md-11,
  .col-md-12 {
    float: left;
  }
  .col-md-12 {
    width: 100%;
  }
  .col-md-11 {
    width: 91.66666666666666%;
  }
  .col-md-10 {
    width: 83.33333333333334%;
  }
  .col-md-9 {
    width: 75%;
  }
  .col-md-8 {
    width: 66.66666666666666%;
  }
  .col-md-7 {
    width: 58.333333333333336%;
  }
  .col-md-6 {
    width: 50%;
  }
  .col-md-5 {
    width: 41.66666666666667%;
  }
  .col-md-4 {
    width: 33.33333333333333%;
  }
  .col-md-3 {
    width: 25%;
  }
  .col-md-2 {
    width: 16.666666666666664%;
  }
  .col-md-1 {
    width: 8.333333333333332%;
  }
  .col-md-pull-12 {
    right: 100%;
  }
  .col-md-pull-11 {
    right: 91.66666666666666%;
  }
  .col-md-pull-10 {
    right: 83.33333333333334%;
  }
  .col-md-pull-9 {
    right: 75%;
  }
  .col-md-pull-8 {
    right: 66.66666666666666%;
  }
  .col-md-pull-7 {
    right: 58.333333333333336%;
  }
  .col-md-pull-6 {
    right: 50%;
  }
  .col-md-pull-5 {
    right: 41.66666666666667%;
  }
  .col-md-pull-4 {
    right: 33.33333333333333%;
  }
  .col-md-pull-3 {
    right: 25%;
  }
  .col-md-pull-2 {
    right: 16.666666666666664%;
  }
  .col-md-pull-1 {
    right: 8.333333333333332%;
  }
  .col-md-pull-0 {
    right: 0;
  }
  .col-md-push-12 {
    left: 100%;
  }
  .col-md-push-11 {
    left: 91.66666666666666%;
  }
  .col-md-push-10 {
    left: 83.33333333333334%;
  }
  .col-md-push-9 {
    left: 75%;
  }
  .col-md-push-8 {
    left: 66.66666666666666%;
  }
  .col-md-push-7 {
    left: 58.333333333333336%;
  }
  .col-md-push-6 {
    left: 50%;
  }
  .col-md-push-5 {
    left: 41.66666666666667%;
  }
  .col-md-push-4 {
    left: 33.33333333333333%;
  }
  .col-md-push-3 {
    left: 25%;
  }
  .col-md-push-2 {
    left: 16.666666666666664%;
  }
  .col-md-push-1 {
    left: 8.333333333333332%;
  }
  .col-md-push-0 {
    left: 0;
  }
  .col-md-offset-12 {
    margin-left: 100%;
  }
  .col-md-offset-11 {
    margin-left: 91.66666666666666%;
  }
  .col-md-offset-10 {
    margin-left: 83.33333333333334%;
  }
  .col-md-offset-9 {
    margin-left: 75%;
  }
  .col-md-offset-8 {
    margin-left: 66.66666666666666%;
  }
  .col-md-offset-7 {
    margin-left: 58.333333333333336%;
  }
  .col-md-offset-6 {
    margin-left: 50%;
  }
  .col-md-offset-5 {
    margin-left: 41.66666666666667%;
  }
  .col-md-offset-4 {
    margin-left: 33.33333333333333%;
  }
  .col-md-offset-3 {
    margin-left: 25%;
  }
  .col-md-offset-2 {
    margin-left: 16.666666666666664%;
  }
  .col-md-offset-1 {
    margin-left: 8.333333333333332%;
  }
  .col-md-offset-0 {
    margin-left: 0;
  }
  a[href]::after {
    content: " (" attr(href) ")"
  }

  .dados_obra_header{
    margin-top: 0;
  }

  .dados_obra_header hr {
    display: none;
  }

  .dados_obra_header h4 {
    font-size: 9px !important;
  }

  .dados_obra_header legend {
    margin-bottom: 0;
    font-size: 11px;
  }

  .saldos .col-md-3 {
    width: 50%;
    page-break-inside: avoid;
  }

  .saldos h4{
    font-size: 12px;
    margin: 4px;
  }

  .control-label{
    font-size: 12px;
    margin-bottom: 0;
  }

  input.form-control{
    padding: 0;
    font-size: 11px;
    border: none;
    height: 21px;
  }

  .form-group{
    margin-bottom: 0;
  }

  object{
    display: none;
  }

  .grid-view th {
    white-space: normal !important;
  }

  .grid-view tr {
    white-space: nowrap;
  }

  .grid-view td.big {
    white-space: pre-wrap;
  }

  .btn,
  .filters{
    display: none;
  }

  hr.little{
    margin: 1px 0;
    border-color: #000;
  }

  .cabecalho h3{
    margin-top: 0;
  }

  .table-condensed > thead > tr > th, .table-condensed > tbody > tr > th, .table-condensed > tfoot > tr > th, .table-condensed > thead > tr > td, .table-condensed > tbody > tr > td, .table-condensed > tfoot > tr > td{
    padding: 1px 5px;
  }
}
