/*@page{margin: 0.5in 0.5in 0.5in 0.5in;}*/

@media screen {
    body {
    	background-color: inherit;
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    	font-size: 12px;
    }

    .cewReportTable {
    	width: 100%;
    	border: 1px;
    	border-collapse: collapse;
    }
    
    .cewReportTable thead {
        position: -webkit-sticky;
        position: sticky;
        background-color: white;
        top: 50px;
    }
    
    .cewReportTable th {        
        position: sticky;
        padding: 3px;
    	vertical-align: top;
    	border-top: 1px solid #999999;
    	border-bottom: 2px solid #999999;
    	border-right: 2px solid #FFFFFF;
        background-clip: padding-box;
    }
    
    .cewReportTable th:after,
    .cewReportTable th:before {
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
    }
    
    .cewReportTable th:before {
        top: -1px;
        border-top: 1px solid #999999;
    }
    
    .cewReportTable th:after {
        bottom: -2px;
        border-bottom: 2px solid #999999;
    }
    
    .cewReportTable td {
    	padding: 3px;
    	border-right: 2px solid #FFFFFF;
    }
    
    .cewReportTable .cewGroupHeader td {
    	border-bottom: 1px solid #CCCCCC;
    	vertical-align: bottom;
    	padding-top: 10px;
    	font-style: italic;
    	font-weight: bold;
    }
    
    .cewReportTable .cewSubHeader td {
    	border-bottom: 1px solid #CCCCCC;
    	vertical-align: bottom;
    	padding-top: 8px;
    	font-weight: bold;
    }
    
    .cewReportTable .cewReportRow td {
    	border-bottom: 1px solid #CCCCCC;
    	vertical-align:top;
    }
    
    .cewReportTable .cewSubFooter td {
        
    	border-top: 1px solid #CCCCCC;
    	padding-bottom: 8px;
        font-weight: bold;
    }
    
    .cewReportTable .cewSubSummary td {
    	border-top: 1px solid #CCCCCC;
    	font-weight: bold;
    }
    
    .cewReportTable .cewGroupSummary td {
    	border-top: 1px solid #CCCCCC;
    	font-style: italic;
    	font-weight: bold;
    }
    
    .cewReportTable .cewGrandSummary td {
    	border-top: 2px double #999999;
    	font-weight: bold;
    }

    .dateDM{
        mso-number-format: "dd/mm/yyyy";
    }

    .dateMD{
        mso-number-format: "mm/dd/yyyy";
    }

    .numericNone{
        mso-number-format: "0.00;-0.00";
    }

    .numericComma{
        mso-number-format: "#,##0.00;-#,##0.00";
    }

    .numericIsDecimal{
        mso-number-format: "#,##0.##;-#,##0.##";
    }

    .numericDrCr{
        mso-number-format: "#,##0.00 \"Dr\";#,##0.00 \"Cr\"";
    }

    .numericNegativeBracket{
        mso-number-format: "#,##0.00;(#,##0.00)";
    }

    .TablePrint {
    	width: 100%;
        max-width: 100%;
        overflow-y: hidden;
        overflow-x: hidden;
    	border: 1px;
    	border-collapse: collapse;
    }
    
    .TablePrint th {
    	vertical-align: top;
    	border-top: 1px solid #999999;
    	border-bottom: 2px solid #999999;
    	border-right: 2px solid #FFFFFF;
    }
    
    .TablePrint td {
    	padding: 3px;
    	border-right: 2px solid #FFFFFF;
        border-bottom: 1px solid silver;
    }
}

@media only screen and (max-width: 767px) {
	.cewReportTable thead {
        top: 0;
    }
}

@media print {
    body {
    	background-color: inherit; /* background color */
    	font-family: Verdana, Arial, Helvetica, sans-serif; /* font name */
    	font-size: 12px; /* font size - DO NOT CHANGE! */
    }
    
    /* table for report */
    .cewReportTable {
    	width: 100%;
    	border: 1px;
    	border-collapse: collapse;
    }
    
    .cewReportTable th {        
        padding: 3px;
    	vertical-align: top;
    	border-top: 1px solid #999999;
    	border-bottom: 2px solid #999999;
    	border-right: 2px solid #FFFFFF;
        background-clip: padding-box;
    }
    
    .cewReportTable td {
    	padding: 3px;
    	border-right: 2px solid #FFFFFF;
    }
    
    .cewReportTable .cewGroupHeader td {
    	border-bottom: 1px solid #CCCCCC;
    	vertical-align: bottom;
    	padding-top: 10px;
    	font-style: italic;
    	font-weight: bold;
    }
    
    .cewReportTable .cewSubHeader td {
    	border-bottom: 1px solid #CCCCCC;
    	vertical-align: bottom;
    	padding-top: 8px;
    	font-weight: bold;
    }
    
    .cewReportTable .cewReportRow td {
    	border-bottom: 1px solid #CCCCCC;
    	vertical-align:top;
    }
    
    .cewReportTable .cewSubFooter td {
        
    	border-top: 1px solid #CCCCCC;
    	padding-bottom: 8px;
        font-weight: bold;
    }
    
    .cewReportTable .cewSubSummary td {
    	border-top: 1px solid #CCCCCC;
    	font-weight: bold;
    }
    
    .cewReportTable .cewGroupSummary td {
    	border-top: 1px solid #CCCCCC;
    	font-style: italic;
    	font-weight: bold;
    }
    
    .cewReportTable .cewGrandSummary td {
    	border-top: 2px double #999999;
    	font-weight: bold;
    }

    
    .TablePrint {
    	width: 100%;
        max-width: 100%;
        overflow-y: hidden;
        overflow-x: hidden;
    	border: 1px;
    	border-collapse: collapse;
    }
    
    .TablePrint th {
    	vertical-align: top;
    	border-top: 1px solid #999999;
    	border-bottom: 2px solid #999999;
    	border-right: 2px solid #FFFFFF;
    }
    
    .TablePrint td {
    	padding: 3px;
    	border-right: 2px solid #FFFFFF;
        border-bottom: 1px solid silver;
    }

    a[href]:after {
        content: none !important;
    }
    a[href] {
        content: '' !important;
    }
    
    .logo{
        display: block !important;
        position: absolute;
        left: 0px;
        top: 0px;
        -ms-interpolation-mode: nearest-neighbor; /*IE 7+ (non-standard property)*/
        image-rendering: -webkit-optimize-contrast; /*Safari 6, UC Browser 9.9*/
        image-rendering: -webkit-crisp-edges; /*Safari 7+*/
        image-rendering: -moz-crisp-edges; /*Firefox 3.6+*/
        image-rendering: -o-crisp-edges; /*Opera 12*/
        image-rendering: pixelated; /*Chrome 41+ and Opera 26+*/
    }
}


