/* Font: Noto Sans */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@300;400;500;700&display=swap');
body {
  font-family: "Noto Sans", sans-serif;
}

/* Header formatting */
h1, h2, h3, h4, h5, h6 {
  font-family: "Noto Sans", sans-serif;
  color: #3F22B2;
}

/* No underlines on URLs */
a {
  text-decoration: none;
}

/* In-text reference links */
a[href*="references.html#ref-"] {
  color: #000;
  text-decoration: none;
  font-style: italic;
}

/* Wrap long URLs */
main a[href^="http://"],
main a[href^="https://"] {
  overflow-wrap: break-word;
}

/* Background colour */
.background {
  background-color: #F0ECF6;
  padding-top: 1em;
	padding-right: 1em;
	padding-left: 1em;
	padding-bottom: 1em;
}

/* Main box background */
.mainbox1 {
	position: relative;
	padding-top: 1em;
	padding-right: 1em;
	padding-left: 1em;
	padding-bottom: 1em;
	margin-top: 30px;
	margin-bottom: 30px;
	background-color: #E6F7F6;
	border-radius: 5px;
	border-top: 2px solid #0DACA8;
	border-bottom: 2px solid #0DACA8;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Box content */
.mainbox1 p {
	color: #000;
	line-height: 1.6;
}

/* Box label */
.box-label {
	display: inline;
	font-weight: bold;
	font-variant: small-caps;
	color: #0DACA8;
	margin-right: 0.5em;
}

/* Box title */
.box-title {
	display: inline;
	font-weight: bold;
	color: #000;
}

/* White box */
.whitebox {
  width: 85%;
  margin: 0 auto;
  background-color: #ffffff;
  padding-top: 1em;
	padding-right: 1em;
	padding-left: 1em;
	padding-bottom: 1em;
	border-radius: 5px;
	border-top: 2px solid #0DACA8;
	border-bottom: 2px solid #0DACA8;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.whitebox-background {
  background-color: #F0ECF6;
}

/* Important pop-out text */
.importanttext {
	font-family: 'Noto Sans Condensed';
	font-size: 1.1rem;
	border-top: 2px solid #001F4B;
	border-bottom: 2px solid #001F4B;
	background: none;
	text-align: center;
	color: #001F4B;
	border-radius: 4px;
	padding-top: 1.2em;
	padding-right: 1.2em;
	padding-left: 1.2em;
	margin-top: 2em;
  margin-bottom: 2em;
}

/* White background */
.white-background {
	background-color: white;
	padding-top: 1em;
	padding-right: 1em;
	padding-left: 1em;
	padding-bottom: 0.5em;
	margin-bottom: 15px;
}

/* Figure/table notes */
.notes {
	font-size: 0.75rem;
	margin-top: 0;
	margin-bottom: 0;
}

/*Footnotes */
.footnotes {
  font-size: 0.75rem;
}

/*Figure block padding */
.figure-block {
  margin-top: 2.5em;
  margin-bottom: 2.5em;
}

/* Table with right-aligned cells */
.table-right table {
	width: 100%;
	border-collapse: collapse;
	border: none;
}
.table-right th, 
.table-right td {
	padding: 8px;
	text-align: right;
	border-bottom: 1px solid #ddd;
}
.table-right th {
	background-color: transparent;
	font-weight: bold;
}
.table-right thead tr:nth-child(2) th {
	font-weight: normal;
}
.table-right th:first-child, 
.table-right td:first-child {
  text-align: left;
}
 
/* Table with center-aligned cells */
.table-center table {
	width: 100%;
	border-collapse: collapse;
	border: none;
}
.table-center th, 
.table-center td {
	padding: 8px;
	text-align: center;
	border-bottom: 1px solid #ddd;
}
.table-center th {
	background-color: transparent;
	font-weight: bold;
}
.table-center thead tr:nth-child(2) th {
	font-weight: normal;
}
.table-center th:first-child, 
.table-center td:first-child {
  text-align: left;
}

/* Table with left-aligned cells */
.table-left table {
	width: 100%;
	border-collapse: collapse;
	border: none;
}
.table-left th, 
.table-left td {
	padding: 8px;
	text-align: left;
	border-bottom: 1px solid #ddd;
}
.table-left th {
	background-color: transparent;
	font-weight: bold;
}
.table-left thead tr:nth-child(2) th {
	font-weight: normal;
}
.table-left th[rowspan] {
  vertical-align: top !important;
}
.table-left th[colspan] {
  font-weight: bold;
}
.table-left table tbody tr.purple-band > td {
  background-color: #F0ECF6;
}
.table-left table tbody tr.white-band > td {
  background-color: #FFF;
}
.table-left table tbody tr.header-band > td {
  background-color: #826FCD;
  color: #FFF; 
}
.table-left table tbody tr.global-band > td {
  background-color: #3F22B2;
  color: #FFF; 
  font-weight: bold;
}
.table-left tbody tr:nth-child(odd) td {
  background-color: #F0ECF6;
}
.section-row th {
  background-color: transparent;
  text-align: left;
}

/* Scrollable table */
.scrollable-table {
	overflow-x: auto;
	width: 130%;
	font-size: 0.75rem;
	max-height: 600px;
}
.scrollable-table table {
	width: 100%;
	border-collapse: collapse;
}
/*Cell formatting*/
.scrollable-table table th, 
.scrollable-table table td {
	padding: 8px;
	border-bottom: 1px solid #ddd;
}
/* Header row 1 */
.scrollable-table thead tr:first-child th:not([rowspan]) {
  position: sticky;
  top: 0;
  z-index: 50;
  background: white;
}
/* Header row 2 */
.scrollable-table thead tr:nth-child(2) th {
  position: sticky;
  top: 30px;
  z-index: 50;
  background: white;
}
/* Country header cell */
.scrollable-table thead th[rowspan] {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
}
/*First column*/
.scrollable-table td:first-child,
.scrollable-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 20;
  background: white;
}
/*Border between sticky header and table body*/
.scrollable-table tbody tr:first-child td {
    border-top: 2px solid #ddd;
}
/*Background shading */
.scrollable-table tbody tr:nth-child(odd) td {
  background-color: #F0ECF6;
}

/* White text for index */
.white-text h6 {
  color: white !important;
}