/* ===========================
   Base
   =========================== */

:root {
  --bs-body-bg: #f2f5f8;
}

body {
  background-color: var(--bs-body-bg) !important;
}



body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;           /* better readability than 1.0 */
  font-weight: 400;
  background: #f2f5f8;
}

.bignumber {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 30px;
}
/* Headings per style guide */
h1 { font-size: 3rem !important; line-height: 1.285; font-weight: 700; }
@media (min-width: 992px) { h1 { font-size: 3rem; line-height: 1.3; } }

h2 { font-size: 24px; line-height: 1.333; font-weight: 400; padding-top: 0.5em; }
@media (min-width: 992px) { h2 { font-size: 25px; line-height: 1.32; } }

h3 { font-size: 21px; line-height: 1.143; font-weight: 400; }
@media (min-width: 992px) { h3 { font-size: 24px; line-height: 1.25; } }

h4 { font-size: 18px; line-height: 1.333; font-weight: 400; }
@media (min-width: 992px) { h4 { font-size: 21px; line-height: 1.286; } }

a {color: #0e6bb3}
a:hover, a:focus {color: #B400F0; text-decoration-thickness: 2px;}

.survey-link {
  color: white;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.survey-link:hover,
.survey-link:focus {
  color: white; /* keep it white */
  text-decoration-thickness: 3px;
}

/* Page background (main content area) */
main { 
  background: transparent !important;
}

main .container {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Border around main content */
main .bg-white {
  border: 1px solid #d0d0d0;
}

/* Align navbar with main content width */
.navbar .container-fluid {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Align footer with main content width */
.footer .container {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
/* External link indicator (scope to main so footer links aren’t doubled) */
main a[target="_blank"]::after {
  content: "";
  width: 14px; height: 11px;
  margin: 5px; vertical-align: text-bottom; display: inline-block;

  /* Use the SVG as a mask; then color it with Bootstrap’s variable */
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="11" viewBox="0 0 14 11"><g fill="none" stroke="%23000" stroke-width="1"><path d="M0 3h2V0h12v8h-2v3H0zm13-2H3v6h10zM2 4H1v4h1zm-1 6h10V8H1z"/></g></svg>') no-repeat center / contain;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="11" viewBox="0 0 14 11"><g fill="none" stroke="%23000" stroke-width="1"><path d="M0 3h2V0h12v8h-2v3H0zm13-2H3v6h10zM2 4H1v4h1zm-1 6h10V8H1z"/></g></svg>') no-repeat center / contain;
  background-color: var(--bs-secondary-color, #6c757d); /* follows Bootstrap’s text-secondary */
}

/* table styling */
table, th, td  {
  border: 1px solid #000;
  border-collapse: collapse;
  padding: 10px;
  margin-bottom: 1rem;
}

.num {
  text-align: right;
}

/* ===========================
   Brand & misc.
   =========================== */
.app-title { font-weight: 700; letter-spacing: 0.2px; }
.img-50 { width: 50px; height: 50px; }
.img-chart {
  display: block;
  max-width: 90%;
  height: auto;
  margin: 0 auto 50px auto;
}

/* ===========================
   Footer
   =========================== */

 .footer-header {
  font-size: 1.25rem;
  margin-top: 0;
  line-height: 1.2;
  font-weight: 500;
  text-align: left;
}

.footer {
  background-color: #00205b;
  color: #fff;
  border-top: 4px solid #3878c5;
}
.footer a {
  color: #fff;
  text-underline-offset: 3px;
}
.footer a:hover,
.footer a:focus {
  color: #fff;
  text-decoration-thickness: 2px;
}
.footer-links { list-style: none; padding-left: 0; }
.footer-links .list-inline-item { margin: 0 .5rem; }

/* More vertical spacing in vertical lists */
.footer ul.list-unstyled li { margin-bottom: 0.5rem; }

/* Social icon hover */
.footer .list-inline-item img {
  transition: box-shadow 0.2s ease, border 0.2s ease;
}
.footer .list-inline-item img:hover {
  border: 2px solid #fff;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
  border-radius: 4px;
}

nav a {
  color: #fff;
}

nav a[target="_blank"]::after {
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="11" viewBox="0 0 14 11"><g fill="none" stroke="white" stroke-width="1"><path d="M0 3h2V0h12v8h-2v3H0zm13-2H3v6h10zM2 4H1v4h1zm-1 6h10V8H1z"/></g></svg>');
  display: inline-block;
  width: 14px;
  height: 11px;
  margin: 0 5px 0 5px;
  vertical-align: text-top;
}

#cookie-banner {
	top: 0;
	left: 0;
	width: 100%;
	background-color:#142062;
	color:#FFF;
	padding: 10px;
	text-align: left;
    display: none;
}

.cookies-infobar {
    color: #fff;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    padding: 10px;
    text-align: left;
}

.cookies-infobar.cookies-infobar_accepted {
    display: none;
}

.cookies-infobar_wrapper {
    margin: 10px;
}

.cookies-infobar a {
    color: inherit;
}

.cookies-infobar_btn {
  display: inline-block;
  padding: 5px 10px;
  background: #0f8243;
  text-decoration: none;
  color: #fff;
  text-transform: none;
  font-size: 1.2em;
}

a.cookies-infobar_btn, a.cookies-infobar_btn_reject {
	color: #fff !important;
}

a.cookiesbarlink {
    color: #2990FF;
}

.cookies-infobar_btn_reject {
  display: inline-block;
  padding: 5px 10px;
  background: #6d6e72;
  text-decoration: none;
  border-radius: 3px;
  color: #fff;
  text-transform: none;
  font-size: 1.2em;
}