@page {
    /*size: auto;*/
    margin: 10mm 5mm 5mm 5mm;
    /*@top-center  {
        content: element(header) 
    }*/
}
body {
    margin: 0mm 0mm 0mm 0mm;
    overflow:visible;
    -webkit-print-color-adjust: exact;
}
table.SummaryTable {
    page-break-inside:avoid;
}
table.SummaryTable tr {
    page-break-inside:avoid;
    page-break-after:auto; 
}
table.optSummaryItems {
    page-break-inside:auto !important;
}
thead {
    display:table-header-group; 
}
tfoot {
    display:table-footer-group; 
}
a {
    text-decoration: none !important; 
    color: inherit !important; 
}
input, select {
    border: thin solid gray;
    /*box-sizing: content-box;     
    -moz-box-sizing:content-box;
    -webkit-box-sizing:content-box; */
}

.DataFormHeader, .DialogHeader, .DialogFooter {
    display: none; 
}
.DataForm  {
    background-color:inherit;
}
table.NavBar, td.MenuBackGround, tr.PageButtons { display: none; }
 
div.DialogBody {
    /*overflow-x: auto;*/
    position: relative;
    overflow:visible;
    margin: 0;
}
.DialogBackground {
    BACKGROUND-COLOR: #ffffff;
}

div.MenuBackGround { display: none;}
td.SystemNavigation { display: none;}

/*div.PrintHeader {
    display: block;
    position: running(header);
}*/

.ReportTable {
    color: #66736c;
}
.ReportBanner th {
    background-color: transparent;
    color: #B8C0BC;
}
.ReportHeader th, th.ReportHeader, .ReportTitle th {
    background-color: transparent;
    color: #66736c;
    font-weight:bold;
}
th.ReportHeader {
    border: 1px solid #E0E0E0;
}
.ReportTotal td, td.ReportTotal {
    background-color: transparent;
    color: #66736c;
    font-weight:bold;
}
td.ReportTotal {
    border: 1px solid #E0E0E0;
}
.ReportSubTotal, .ReportSubTotal2 {
    font-weight: bold; /*background-color:#8DBC8F;*/
    background-color: transparent;
    color: #66736c;
}
td.ReportSubTotal {
    border: 1px solid #C0C0C0;
}
tr.ReportSubTotal {
    padding-bottom: 10px;
}
td.ReportSubTotal2 {
    border: 1px solid #E0E0E0;
}
tr.ReportSubTotal2 {
    padding-bottom: 5px;
}
.ReportLine, .ReportLineAlt {
    background-color: transparent;
}
td.ReportLine, td.ReportLineAlt {
    border: 1px solid #E0E0E0;
}
.ReportLine a, .ReportLineAlt a {
    color: #66736c;
}
.ReportSubHeader, .ReportSubHeader a, .ReportSubHeader2, .ReportSubHeader2 a {
    background-color: transparent;
    color: #66736c;
}
td.ReportSubHeader {
    border: 1px solid #C0C0C0;
    height: 40px;
    vertical-align: bottom;
}
td.ReportSubHeader2 {
    border-bottom: 1px solid #E0E0E0;
    height: 30px;
    vertical-align: bottom;
}

div.ReportSelections {
	/*padding: 5px;
    background-color: #81aed8;
    color: #ffffff;*/
    display: inline !important;
    margin-top: 30px;
    padding: 10px;
    font-size: smaller;
    color: #66736c;
}
div.ReportSelections h4 {
    padding-top: 30px;
    display: inline !important;
/*    margin-top: 10px;*/
}
div.ReportPrintTrailer {
    page-break-before: always;
    display: inline !important;
    padding-top: 30px;
}

/*th.ReportHeader {
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
}
th.ReportSelections {
     font-weight:normal;
}*/

div.PWReport {
    overflow: visible;
    position:relative;
}