/**
 * Pega New Documentation Gateway Printing Stylesheet File
 */

@media print {
    
    /**********************************/
    /* Hide blocks that we don't need */
    /**********************************/
    
    #site_title,
    #headerNavi,
    #siteInfo,
    #breadcrumbs,
    #whatsnew,
    #navigation-bar,
    #menuResize,
    #menuResize div,
    #search-dropdown-list,
    #searchbutton-dropdown-list,
    #articleTitlepage #pageSettings,
    .navtable, #whatsnewBox {
        display: none;
    }


    /*****************/
    /* Content block */
    /*****************/
    
    .article, .part, .book, .set, .setindex {
        padding: 0px;
        margin: 0px;
        color: black;
        font-family: 'Lucida Grande', 'Segoe UI', Tahoma, Helvetica, sans-serif;
        white-space: normal;
        width: inherit !important;
    }

    p, div, h1, h2, h3 {
        color: black;
    }
        
    
    /**********/
    /* Header */
    /**********/
    div.setindex hr {
        display: none;
    }
    #articleTitlepage hr {
        display: block !important;
        border-color: black;
    }
    .title a {
        text-decoration: none;
    }
    
    
    /**********************/
    /* Note, tip, caution */
    /**********************/
    
    div.note, div.tip, div.caution {
        border: 1px solid #000;
        border-radius: 10px;
        -moz-border-radius: 10px;
        margin: 5px 0px;
        padding: 0;
        background: #f6f6f6;
        page-break-after: auto;
        page-break-before: auto;
        page-break-inside: avoid;
        background: white;
    }
    
    div.note h3.title, div.tip h3.title, div.caution h3.title {
        display: block;
        margin: 0 !important;
        padding: 5px 10px;
        border-radius: 10px 10px 0 0 ;
        -moz-border-radius: 10px 10px 0 0 ;
        border-bottom: 1px solid #000;
        color: black;
        background: white;
        font-size: 10pt;
    }
    
    div.note p, div.tip p, div.caution p {
        padding-left: 20px !important;
        padding-right: 20px;
    }
    
    
    /****************/
    /* Inline codes */
    /****************/
    
    code.code, 
    code.filename,
    code.parameter,
    code.uri,
    code.property {
        border-radius: 3px;
        border: 1px solid #eee;
        font-size: 110%;
        padding: 0 3px;
        color: #000;
    }
        
    code.code span {
        font-style: italic;
    } 
    
    /**********/
    /* Tables */
    /**********/
    
    table.simplelist,
    table.simplelist tr,
    table.simplelist th,
    table.simplelist td {
        border: none !important;
    }
    
    table.common {
        margin-top:5px;
        border-collapse: collapse;
        width: 100%;
        border: solid 1px #000 !important;
        page-break-after: auto;
        page-break-before: auto;
        page-break-inside: avoid;
    }
        
    tr {
        page-break-after: auto;
        page-break-before: auto;
        page-break-inside: avoid;
    }    
    
    th {
        vertical-align: top;
        text-align: left;
        color: inherit;
        padding: 5px 10px;
        border-right: solid 1px #000;
        border-bottom: solid 1px #000;
        page-break-after: auto;
        page-break-before: auto;
        page-break-inside: avoid;
    }
    
    td {
        vertical-align: top;
        padding:3px;
        padding: 5px 10px;
        border-right: solid 1px #000;
        border-bottom: solid 1px #000;
        font-size: 12px;
        page-break-after: auto;
        page-break-before: auto;
        page-break-inside: avoid;
    }
    

}
