
.change-delta .change-pos { color: green }
.change-delta .change-neg { color: red }

.context-indicator .epi-results-header--epilogo img {
    display: none;
}

.row--greater-middle-east .reg-rank { background-color: #009E73; color: white;}
.row--eastern-europe .reg-rank { background-color: #F0E442; }
.row--southern-asia .reg-rank { background-color: #6C757D; color: white;}
.row--sub-saharan-africa .reg-rank { background-color: #CC79A7; color: white;}
.row--latin-america-amp-caribbean .reg-rank { background-color: #D55E00; color: white;}
.row--former-soviet-states .reg-rank { background-color: #56B4E9; color: white;}
.row--asia-pacific .reg-rank { background-color: #CC79A7; E69F00: white;}
.row--global-west .reg-rank { background-color: #286DC0; color: white;}


.table--epi-results td {font-size: large;}
.table--epi-results--region .reg-rank,
.table--epi-results--indicator .reg-rank { border-left: 24px solid white; padding-right: 12px; font-weight: 600; }

.epi-results-header--epilogo img {
    width: 220px;
}

html, body { font-family: 'Mukta Malar', mallory-compact, sans-serif; }
table caption { visibility: hidden; }

table { font-family: 'Mukta Malar', mallory-compact-light; font-size: large; width: 100%; border-collapse: collapse; border-top: 0; border-bottom: 0;}
thead, th, tr, td { border-left: 0; border-right: 0;}
td, th { padding: 0em .25em; }
table tr { border-bottom: 0; }
table th { background: unset; }

.row--issuecategory td { border-top: 1px grey solid; }
.row--epi td:first-child { font-weight: bold; }
.row--issuecategory td:first-child { font-weight: bold; }
.row--policyobjective td:first-child { font-weight: bold; }

.row--epi td, .row--epi td a { color: white; background-color: #286DC0 !important;  -webkit-print-color-adjust: exact; print-color-adjust: exact; }

.row--po-hlt td, .row--po-hlt td a { color: white; background-color: #1b6f8cFF !important;  -webkit-print-color-adjust: exact; print-color-adjust: exact;}
.row--po-eco td, .row--po-eco td a { color: white; background-color: #8fbf8fFF !important;  -webkit-print-color-adjust: exact; print-color-adjust: exact;}
.row--po-pcc td, .row--po-pcc td a { color: white; background-color: #f4a522FF !important;  -webkit-print-color-adjust: exact; print-color-adjust: exact;}

.row--in-hlt td { background-color: #1b6f8c1a!important;  -webkit-print-color-adjust: exact; print-color-adjust: exact;}
.row--in-eco td { background-color: #8fbf8f1a!important;  -webkit-print-color-adjust: exact; print-color-adjust: exact;}
.row--in-pcc td { background-color: #f4a5221a!important;  -webkit-print-color-adjust: exact; print-color-adjust: exact;}
 
 .row--indicator td, .row--issuecategory td, .row--policyobjective td { font-size: large; }
 
.row--epi .change-delta .change-pos,
.row--po-hlt .change-delta .change-pos,
.row--po-eco .change-delta .change-pos,
.row--po-pcc .change-delta .change-pos
 { color: #E7FEEB !important; }

.row--epi .change-delta .change-neg,
.row--po-hlt .change-delta .change-neg,
.row--po-eco .change-delta .change-neg,
.row--po-pcc .change-delta .change-neg
 { color: #FEEBE7 !important; }


.table--epi-results tr td:not(:first-child) { text-align: right;}
.table--epi-results tr th:not(:first-child) { text-align: right;}

.table--epi-results tr.row--redundancy td:not(:first-child) { color: transparent !important; user-select: none;}
.table--epi-results tr.row--redundancy .change-delta .change-neg,
.table--epi-results tr.row--redundancy .change-delta .change-pos
 { color: transparent !important; user-select: none; }

.epi-results-header--leftside { float: left; width: 60%;  line-height: 1.1; padding-top: 10px; padding-bottom: 10px; }
.epi-results-header--leftside .epi-results-header--country { margin-bottom: 6px; scroll-margin-top: 40px;}
.epi-results-header--leftside .epi-results-header--country .epi-header-label { display: inline-block; width: 242px; margin-right: 10px; text-align: left; font-size: large; font-weight: bold; color: #286DC0;}
.epi-results-header--leftside .epi-results-header--country .epi-header-value { font-size: large; font-weight: bold; display: inline-block;}
.epi-results-header--leftside .epi-results-header--stats .epi-header-label { display: inline-block; width: 242px; margin-right: 10px; text-align: left; font-size: medium; font-weight: bold; color: #286DC0;}
.epi-results-header--leftside .epi-results-header--stats .epi-header-value { font-size: large; display: inline-block; width: 50px; }


.epi-results-header--rightside { float: right; width: 35%; text-align: right; }
.epi-results-header--rightside div { padding-right: 10px; }
.epi-results-header--rightside .epi-header-label { display: inline-block;
    width: 190px;
    margin-right: 10px;
    text-align: left;
    font-size: small;
    font-weight: bold;
    color: #286DC0;}
.epi-results-header--rightside .epi-header-value { font-size: small;
    display: inline-block;
    width: 50px; }

.epi-results-header--instructions { width: 60%; float: left; font-family: 'mallory-compact-light'; font-size: medium; }

tr.epi-results--page-footer th {
    border-top: 1px solid grey;
    padding-top: 3px;
}

.epi-results--page-unit {
    padding: 10px;
}


@media print {
  @page {
    size: letter; /* or A4 */
    margin: 0.25in; /* 0.5-inch margin on all sides */
  }

   .epi-results--page-unit {
    width: 100%;
   // break-after: page; /* Forces a crisp layout break onto the next sheet */
     break-after: always;
     page-break-after: always;
  }



  
.row--greater-middle-east .reg-rank { background-color: #009E73 !important; color: white !important; -webkit-print-color-adjust: exact; print-color-adjust: exact;}
.row--eastern-europe .reg-rank { background-color: #F0E442 !important;  -webkit-print-color-adjust: exact; print-color-adjust: exact;}
.row--southern-asia .reg-rank { background-color: #6C757D !important; color: white !important; -webkit-print-color-adjust: exact; print-color-adjust: exact;}
.row--sub-saharan-africa .reg-rank { background-color: #CC79A7 !important; color: white !important; -webkit-print-color-adjust: exact; print-color-adjust: exact;}
.row--latin-america-amp-caribbean .reg-rank { background-color: #D55E00 !important; color: white !important; -webkit-print-color-adjust: exact; print-color-adjust: exact;}
.row--former-soviet-states .reg-rank { background-color: #56B4E9 !important; color: white !important; -webkit-print-color-adjust: exact; print-color-adjust: exact;}
.row--asia-pacific .reg-rank { background-color: #E69F00 !important; color: white !important; -webkit-print-color-adjust: exact; print-color-adjust: exact;}
.row--global-west .reg-rank { background-color: #286DC0 !important; color: white !important; -webkit-print-color-adjust: exact; print-color-adjust: exact;}
  


  .row--epi td { color: white !important; background-color: #286DC0 !important;  -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  .row--po-hlt td { color: white !important; background-color: #1b6f8cFF !important;  -webkit-print-color-adjust: exact; print-color-adjust: exact;}
  .row--po-eco td { color: white !important; background-color: #8fbf8fFF !important;  -webkit-print-color-adjust: exact; print-color-adjust: exact;}
  .row--po-pcc td { color: white !important; background-color: #f4a522FF !important;  -webkit-print-color-adjust: exact; print-color-adjust: exact;}

  .row--in-hlt td { background-color: #1b6f8c1a!important;  -webkit-print-color-adjust: exact; print-color-adjust: exact;}
  .row--in-eco td { background-color: #8fbf8f1a!important;  -webkit-print-color-adjust: exact; print-color-adjust: exact;}
  .row--in-pcc td { background-color: #f4a5221a!important;  -webkit-print-color-adjust: exact; print-color-adjust: exact;}

  .change-delta .change-pos { color: green !important; }
  .change-delta .change-neg { color: red !important; }

  .row--epi .change-delta .change-pos,
  .row--po-hlt .change-delta .change-pos,
  .row--po-eco .change-delta .change-pos,
  .row--po-pcc .change-delta .change-pos
  { color: #E7FEEB !important; }

  .row--epi .change-delta .change-neg,
  .row--po-hlt .change-delta .change-neg,
  .row--po-eco .change-delta .change-neg,
  .row--po-pcc .change-delta .change-neg
  { color: #FEEBE7 !important; }

.table--epi-results tr.row--redundancy td:not(:first-child) { color: transparent !important; user-select: none;}
.table--epi-results tr.row--redundancy .change-delta .change-neg,
.table--epi-results tr.row--redundancy .change-delta .change-pos
 { color: transparent !important; user-select: none; }

  h1 {
    font-size: 24pt; /* Points are ideal for print typography */
  }
}

.epitopline2020 tr.odd, tr:nth-child(2n+1) { background-color: unset; }
tr.odd, tr:nth-child(odd) {    background-color: unset; }
