/**
 *  Bootstrap print 3.x-1.2 for Bootstrap v3.
 *
 *  Mange grids using Bootstrap v3 for printed media.
 *  This will help controlling grid columns size on printed pages.
 *  https://github.com/Natshah/bootstrap-print
 *
 */

@media print {
  *{
    /* print fonts all to SimSun, which saves costs when priting; */
    font-family: "SimSun" !important;
  }
  .left{
    float: left;
    text-align: center;
  }
  .border-top{
    border-top: 2px solid #000;
    border-right: 2px solid #000;
  }
  .border-bottom{
    border-bottom: 2px solid #000;
  }
  .border-left{
    border-left: 2px solid #000;
  }
  .border-right{
    border-right: 2px solid #000;
    min-height: 24px;
  }
  /* 清除padding 或者margin */
  .clear_padding{
    padding: 0px 2px !important;
  }
  .clear_margin{
    margin: 0px !important;
  }
  /*打印用的标题， 配合title-thin使用，可以使标题不加粗*/
  .title{
    text-align: center;
    font-size: 24px;
    font-weight: bold;
  }
  .title-thin{
    font-weight: normal;
  }
  .padding2px{
    padding:2px;
  }
  .padding1px{
    padding:1px;
  }
  /* 不同的字体大小设置，20160906， 目前大部分客户接受 font14px的设置；*/
  .font12px{
    font-size: 12px;
    line-height: 14px;
    padding-top:2px !important;
    padding-bottom: 2px !important;
  }
  .font14px{
    font-size: 14px;
    line-height: 16px;
    padding-top:2px !important;
    padding-bottom: 2px !important;
    height: 20px; /* 16 + 2 + 2 */
  }
  .font16px{
    font-size: 16px;
    line-height: 18px;
    padding-top:2px !important;
    padding-bottom: 2px !important;
    height: 22px; /* 18 + 2 + 2 */
  }
  /* 不同的字体大小设置，20160906， 目前大部分客户接受 font14px的设置；*/
  .align-right{
    text-align: right;
  }
  .align-left{
    text-align: left;
  }
  .align-center{
    text-align: center;
  }



  .col-p-1, .col-p-2, .col-p-3, .col-p-4, .col-p-5, .col-p-6, .col-p-7, .col-p-8, .col-p-9, .col-p-10, .col-p-11, .col-p-12 {
    float: left;
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .col-p-12 {
    width: 100%;
  }
  .col-p-11 {
    width: 91.66666667%;
  }
  .col-p-10 {
    width: 83.33333333%;
  }
  .col-p-9 {
    width: 75%;
  }
  .col-p-8 {
    width: 66.66666667%;
  }
  .col-p-7 {
    width: 58.33333333%;
  }
  .col-p-6 {
    width: 50%;
  }
  .col-p-5 {
    width: 41.66666667%;
  }
  .col-p-4 {
    width: 33.33333333%;
  }
  .col-p-3 {
    width: 25%;
  }
  .col-p-2 {
    width: 16.66666667%;
  }
  .col-p-1 {
    width: 8.33333333%;
  }

  .col-p-pull-12 {
    right: 100%;
  }
  .col-p-pull-11 {
    right: 91.66666667%;
  }
  .col-p-pull-10 {
    right: 83.33333333%;
  }
  .col-p-pull-9 {
    right: 75%;
  }
  .col-p-pull-8 {
    right: 66.66666667%;
  }
  .col-p-pull-7 {
    right: 58.33333333%;
  }
  .col-p-pull-6 {
    right: 50%;
  }
  .col-p-pull-5 {
    right: 41.66666667%;
  }
  .col-p-pull-4 {
    right: 33.33333333%;
  }
  .col-p-pull-3 {
    right: 25%;
  }
  .col-p-pull-2 {
    right: 16.66666667%;
  }
  .col-p-pull-1 {
    right: 8.33333333%;
  }
  .col-p-pull-0 {
    right: auto;
  }
  .col-p-push-12 {
    left: 100%;
  }

  .col-p-push-11 {
    left: 91.66666667%;
  }
  .col-p-push-10 {
    left: 83.33333333%;
  }
  .col-p-push-9 {
    left: 75%;
  }
  .col-p-push-8 {
    left: 66.66666667%;
  }
  .col-p-push-7 {
    left: 58.33333333%;
  }
  .col-p-push-6 {
    left: 50%;
  }
  .col-p-push-5 {
    left: 41.66666667%;
  }
  .col-p-push-4 {
    left: 33.33333333%;
  }
  .col-p-push-3 {
    left: 25%;
  }
  .col-p-push-2 {
    left: 16.66666667%;
  }
  .col-p-push-1 {
    left: 8.33333333%;
  }
  .col-p-push-0 {
    left: auto;
  }

  .col-p-offset-12 {
    margin-left: 100%;
  }
  .col-p-offset-11 {
    margin-left: 91.66666667%;
  }
  .col-p-offset-10 {
    margin-left: 83.33333333%;
  }
  .col-p-offset-9 {
    margin-left: 75%;
  }
  .col-p-offset-8 {
    margin-left: 66.66666667%;
  }
  .col-p-offset-7 {
    margin-left: 58.33333333%;
  }
  .col-p-offset-6 {
    margin-left: 50%;
  }
  .col-p-offset-5 {
    margin-left: 41.66666667%;
  }
  .col-p-offset-4 {
    margin-left: 33.33333333%;
  }
  .col-p-offset-3 {
    margin-left: 25%;
  }
  .col-p-offset-2 {
    margin-left: 16.66666667%;
  }
  .col-p-offset-1 {
    margin-left: 8.33333333%;
  }
  .col-p-offset-0 {
    margin-left: 0%;
  }

  /* Always insert a page break after the element */
  .always-page-break-after,
  .always-pba {
    page-break-after: always;
  }

  /* Avoid page break after the element (if possible) */
  .avoid-page-break-after,
  .avoid-pba {
    page-break-after: avoid;
  }

  /* Insert page breaks after the element so that the next page is formatted as a left page */
  .left-page-break-after,
  .left-pba {
    page-break-after: left;
  }

  /* Insert page breaks after the element so that the next page is formatted as a right page */
  .right-page-break-after,
  .right-pba {
    page-break-after: right;
  }

  /* Always insert a page break before the element */
  .always-page-break-before,
  .always-pbb {
    page-break-before: always;
  }

  /* Avoid page break before the element (if possible) */
  .avoid-page-break-before,
  .avoid-pbb {
    page-break-before: avoid;
  }

  /* Insert page breaks before the element so that the next page is formatted as a left page */
  .left-page-break-before,
  .left-pbb {
    page-break-before: left;
  }

  /* Insert page breaks before the element so that the next page is formatted as a right page */
  .right-page-break-before,
  .right-pbb {
    page-break-before: right;
  }

  /* Avoid page break inside the element (if possible) */
  .avoid-page-break-inside,
  .avoid-pbi {
    page-break-inside: avoid;
  }


  .bs-example>.table-bordered>thead>tr>th,.bs-example>.table-bordered>tbody>tr>td{
    padding:3px 5px !important;
    font-size:12px !important;
    border:solid 1px #555 !important;
  }
  .col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{
    padding:0 !important;
  }
}
