/**
* Print Stylesheet fuer Deinewebsite.de
* @version         1.0
* @lastmodified    16.06.2016
*/

@media print {
    @page {
        size: A4;
        margin-left : 15mm;
        margin-right: 20mm;
        /*page-break-inside: avoid;*/
        background: white;
        display: block;
        box-shadow: 0 0 0.5cm rgba(0,0,0,0.5);
    }
    .A5 {
        width:  135mm;
        height: 210mm;
        break-after: always;
        page-break-after: always;
    }
    .larger{
        font-size: larger;
    }

    body {
        margin: 0;
        padding: 0;
        font-size: 10pt;
        font-family: "B Zar", "B Mitra","A Mitra_1",vazir;
        line-height: 1;
        background: white !important;
        color: black;
        direction: rtl;
        box-shadow: 0;
    }

    .break{
        position: relative;
        page-break-after: always;
        page-break-before: always;
    }

    /*fix firefox problems with bootstrap when page=break is used*/
    /*
    div { float: none !important; position: static !important; display: inline;
          box-sizing: content-box !important;
    }
    .clearfix:before, .clearfix:after{
        display: block!important;
    }
    */

    .print-page {
        float: none !important;
        display: block;
        margin: auto;
        position: relative;
        overflow: visible;
        /*overflow: hidden; if parent has float*/
        break-after : auto;
        break-before : auto;
        /*fix for google-chrome when page-break is used*/
        page-break-inside: avoid; -webkit-region-break-inside: avoid;
    }

    /*fix for showing scroll and incomplete page*/
    .app-body-inner, .row-inner{
        display: block;
        width: auto;
        height: auto;
        overflow: visible;
    }

    h1 { font-size: 24pt; }
    h2 { font-size: 20pt; }
    h3 { font-size: 18pt; }
    h4 { font-size: 16pt; }
    h5 { font-size: 14pt; }
    h6 { font-size: 12pt; }

    h1,h2,h3,h4,h5,h6 {
        page-break-after: avoid;
        page-break-inside: avoid
    }

    a,blockquote {
        page-break-inside: avoid;
    }
    img {
        page-break-inside: avoid;
        page-break-after: avoid;
        border: 0;
    }
    table , pre {
        page-break-inside: avoid
    }
    ul , ol , dl {
        /* page-break-before: avoid */
    }

    /* Linkfarbe und Linkverhalten darstellen */
    a:link, a:visited, a {
        background: transparent;
        color: #520;
        font-weight: bold;
        text-decoration: underline;
        text-align: left;
    }
    a {
        page-break-inside: avoid
    }
    .entry iframe, ins {
        display: none;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        line-height: 0pt !important;
        white-space: nowrap;
    }

    /*hidden parts in print*/
    .app-aside, .app-header, .app-footer, .aside,
    .hide, .print_ignore,.arrow,.print-none,
    .switcher, nav ,aside,#list,#subnav {
        display: none;
    }

    p,
    address,
    li,
    dt,
    dd,
    blockquote {
        font-size: 100%
    }
    /* Zeichensatz fuer Code Beispiele */

    code , pre {
        font-family: "Courier New", Courier, mono
    }

    /*from php my admin*/
    .showbox{ border:1px solid red; }
    .nowrap {
        white-space: nowrap;
    }
    .break-inside{
        page-break-inside: auto;
        -webkit-region-break-inside: auto;
    }
    .table {
        border: thin double black ;
    }
    .table > tbody > tr > td,
    .table > tbody > tr > th,
    .table > tfoot > tr > td,
    .table > thead > tr > th,
    .table > tfoot > tr > th {
        border: thin solid black;
        padding: 0.5rem;
        /*vertical-align: top;*/
    }
    .table-striped > tbody > tr:nth-child(odd) {
      background-color: rgba(0, 0, 0, 0.025);
      background-clip: padding-box;
    }
    .table-striped > thead > th {
      background-color: rgba(0, 0, 0, 0.025);
      border-right: 1px solid rgba(120, 130, 140, 0.045);
    }
    .table-striped > thead > th:last-child {
        border-right: none;
    }

    /* Table specific */
    table, thead ,tr, th,td {
        border: .1em solid black;
        background-color: white;
    }

    .label {
        background-color: transparent;
        color: inherit;
        border : thin solid black ;
     }

     .text-success,.text-muted,.text-danger{color: black}

}