	
/* General Styles */

body {
	font-family: 'Open Sans', Arial, sans-serif;
	margin: 0;
	padding: 0;
	line-height: 1.6;
	color: #333;
	background-color: #f7f7f7;
}

h1 {
	margin: 20px 0 20px 0;
	font-size: 1.75rem;
	font-weight: bold;
	color: #2c3e50;
    line-height: 40px;
}

h2 {
	padding: 60px 0 40px 0;
    margin: 0;
	font-size: 1.25rem;
	font-weight: bold;
	color: #34495e;
	line-height: 40px;
}

h2.h2_about_page {
	padding: 40px 0 0 0;
    margin: 0;
	font-size: 1.25rem;
	font-weight: bold;
	color: #34495e;
	line-height: 40px;
}

/* Header */

header {
	background-color: #2c3e50; /* Muted navy */
	color: #ecf0f1; /* Light grey */
	padding: 20px 0;
	text-align: center;
	height: 140px;
}

header .container {
	max-width: 800px;
	margin: auto;
}

header .site-name {
	font-size: 2.5rem;
	font-weight: bold;
	margin-bottom: 10px;
}

header .site-name a {
	color: #ecf0f1;
	text-decoration: none;
}

header .site-name a:hover {
	text-decoration: none;
}

header p {
	font-size: 1.2rem;
	color: #bdc3c7; /* Subtle grey tone */
}


/* Homepage Description Div */

.home_page_description {
	text-align: center;
	margin-bottom: 40px;
}


/* Topic Description Div */

.topic_description {
	text-align: center;
	margin-bottom: 0;
}

.topic_description p {
	font-size: 1.1rem;
	color: #555;
	max-width: 800px;
	margin: 0 auto 0 auto;
	line-height: 40px;
}


/* Dataset Description Div */

.dataset-description {
	text-align: center;
	margin: 0;
}

.dataset-description p {
	font-size: 1.1rem;
	color: #555;
	max-width: 800px;
	margin: 20px auto 20px auto;
	line-height: 30px;
}

.download-button, .download-button:visited {
	display: inline-block;
	padding: 5px 25px 5px 25px;
	background-color: #3498db; /* Muted blue */
	color: #fff;
	border-radius: 5px;
	text-decoration: none;
	font-size: 1rem;
	transition: background-color 0.2s ease;
	line-height: 40px;
	margin: 5px 5px 15px 5px;
}

.download-button:hover {
	background-color: #2c81ba; /* Slightly darker muted blue */
}


/* Series Description Div */

.series_page_description {
	text-align: center;
	margin-bottom: -50px;
}

p.series-news:nth-of-type(1), p.series-news:nth-of-type(4) {
    text-align: left;
    max-width: 1000px;
    font-size: 1rem;
    color: #555;
    line-height: 30px;
    margin: 60px auto 0px auto;
    background-color: rgb(242, 242, 242);
    padding: 10px 10px 10px 10px;
}

p.series-news:nth-of-type(2), p.series-news:nth-of-type(3), p.series-news:nth-of-type(5) {
    text-align: left;
    max-width: 1000px;
    font-size: 1rem;
    color: #555;
    line-height: 30px;
    margin: 0px auto 0px auto;
    background-color: rgb(242, 242, 242);
    padding: 10px 10px 10px 10px;
}

span.updates-bold {
    font-weight: bold;
}

span.updates-bold-disclaimer {
    color: #e74c3c;
    font-weight: bold;
}


/* Footer */

footer {
	background-color: #2c3e50; /* Muted navy */
	color: #ecf0f1; /* Light grey */
	text-align: center;
	padding: 10px 0;
	margin-top: 80px;
}

footer .container {
	max-width: 800px;
	margin: auto;
	font-size: 0.9rem;
	color: #bdc3c7; /* Subtle grey tone */
}


/* Main Content */

main {
	padding: 20px;
}

main .home_page_container {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 20px 30px 20px;
}

main .dataset_page_container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

main .series_page_container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}


/* Topic cards on home page */

.home-page-breadcrumb {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 0 auto;
    text-align: center;
    line-height: 40px;
}

.main-topic {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #34495e;
    margin: 80px 0 20px 0;
}

h2.main-topic {
    line-height: 40px;
    margin: 0;
    padding: 60px 0 40px 0;
}

.topic-list {
    max-width: 1200px; 
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; 
}

.topic-list h3 {
	margin: 0 0 0 0;
	font-size: 1.25rem;
	font-weight: bold;
	color: #34495e;
	line-height: 40px;
}

.topic {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 300px; 
    padding: 20px 15px 20px 15px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.topic:hover {
	transform: translateY(-4px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.topic ul {
	list-style: none;
	padding: 0;
	margin: 10px 0 10px 0;
}

.topic ul li {
	line-height: 20px;
    margin: 0 0 10px 0;
}

.topic ul li a, .topic ul li a:visited {
	text-decoration: none;
	color: #34495e; /* Dark gray-blue */
}

.topic ul li a:hover {
	color: #2980b9; /* Muted blue hover */
}

.view-more, .view-more:visited {
	display: inline-block;
	margin: 10px;
	padding: 0 15px 0 15px;
	color: #ffffff; /* White text */
	background-color: #3498db; /* Muted blue */
	border-radius: 4px;
	text-decoration: none;
	font-size: 0.9rem;
	transition: background-color 0.2s ease;
	line-height: 40px;
}

.view-more:hover {
	background-color: #2c81ba; /* Slightly darker muted blue */
	text-decoration: none;
}


/* Tables */

.tables {
	max-width: 1000px;
	margin: 0 auto;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 0;
	font-size: 0.8rem;
}

th, td {
	padding: 12px 15px;
	text-align: left;
	border-bottom: 1px solid #ddd;
}

th {
	background-color: #f2f2f2;
	color: #333;
}

tr {
    line-height: 15px;
}

tr:nth-child(even) {
	background-color: #f9f9f9;
}

tr:hover {
	background-color: #f1f1f1;
}

.tables a, .tables a:visited {
	color: #3498db;
	text-decoration: none;
}

.tables a:hover {
	text-decoration: underline;
}


/* Series Chart */
.series-chart {
    max-width: 800px;
    margin: 0 auto 40px;
}

#chart_div {
    width: 100%;
    height: 400px;
}

#filter_div {
    padding: 20px 0 20px 0; 
    width: 100%;
}

/* Dataset Reference */

.dataset-reference {
    text-align: center;
    margin-bottom: -10px;
}

.dataset-reference p {
    font-size: 1.1rem;
    color: #555;
    line-height: 20px;
    margin: 20px auto 20px auto;
}

.dataset-reference a.download-button, .dataset-reference a.download-button:visited {
    display: inline-block;
    padding: 5px 25px 5px 25px;
    background-color: #3498db; /* Muted blue */
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.2s ease;
    line-height: 40px;
    margin: 5px 5px 15px 5px;
}

.dataset-reference a.download-button:hover {
    background-color: #2c81ba; /* Slightly darker muted blue */
}


/* Links Styling */

a, a:visited {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


/* Topic cards */

.subsection {
    margin-bottom: 0;
}

.subsection h2 {
	margin: 0;
	padding: 60px 0 40px 0;
	font-size: 1.5rem;
	font-weight: bold;
	color: #34495e;
	text-align: center;
	line-height: 40px;
}

.card-container {
    max-width: 1200px; 
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; 
}

.card {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 300px; 
    padding: 19px 15px 19px 15px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin: 0;
    line-height: 40px;
}

.card p {
    font-size: 0.9rem;
    color: #555;
    margin: 5px 0 5px 0;
    line-height: 30px;
}

.card a, .card a:visited {
    display: inline-block;
    padding: 0 15px 0 15px;
    color: #ffffff;
    background-color: #3498db;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
    line-height: 40px;
    margin: 10px;
}

.card a:hover {
    background-color: #2c81ba;
}

.footer-anchor {
  color: #bdc3c7; 
  text-decoration: none; 
}

.footer-anchor:hover {
  text-decoration: none;
}

.footer-anchor:visited {
  color: #bdc3c7; 
}

/* Container for the search box */
#search_box_div {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 10px 40px 10px;
}

/* The text input inside the search box */
#search_input {
  width: 300px;
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#search_input:focus {
  border-color: #3498db;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* The search button */
#search_button {
  margin-left: 10px;
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  background-color: #007BFF;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  outline: none;
  transition: background-color 0.2s, opacity 0.2s;
}

#search_button:hover {
  background-color: #0056b3;
}

/* Initially hide the results container */
#search_results_div {
  display: none;
  margin: 20px 10px 100px 10px;
  font-size: 16px;
}

/* Styles for each search result item */
#search_results_div ul {
  list-style-type: none;
  padding: 0;
}

.search-result-item {
  margin-bottom: 10px;
  padding: 10px 0 0 33px;
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAATCAYAAACQjC21AAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAjElEQVR4nNyTYQqAIAyFPY4/9Lh6REUvsXhCMGpbRQbVYCqT97E3y9HkcGNxbuQ/ga01yjlfA0KElOohhKFNKZ0D9t4pxkjeeyql7OrQ4a7WegzkolUIqAYzgdwOdu28HYUIlDqQuuWdqUDLDp+nBBOBeC3NzjoKqW5axndliax435/yceCdfBY4MxYAAAD//1ww1zUAAAAGSURBVAMAsh+80NjAOlIAAAAASUVORK5CYII=) no-repeat  0 14px;
  background-size: 20px 19px;
}

.search-result-item a {
  font-size: 1.1rem;
  color: #3498db;
  text-decoration: none;
}

.search-result-item a:hover {
  text-decoration: underline;
}	