:root {
  --rb-size: 15px;
  --rb-border: 1px;
  --rb-border-color: #fff;     /* white border */
  --rb-selected: #FAB81B;      /* yellow when selected */
}
body {
  font-family: 'Roboto', 'Tahoma', sans-serif;
  background-color: #001C59;
}
.row.no-gutters {
  margin-right: 0;
  margin-left: 0;
}
.row.no-gutters > .col,
.row.no-gutters > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}
.path-frontpage .dxpr-theme-boxed-container .wrap-containers {
  background: url('../img/Earth-bg.png') #001C59;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  font-family: 'Roboto', 'Tahoma', sans-serif;
}

.path-frontpage .dxpr-theme-boxed-container hr {
  border: none;
  border-top: 1px solid white;
  opacity: initial;
}
.dxpr-theme-boxed-container header.navbar {
  background-color: #001C59!important;
  font-family: 'Roboto', 'Tahoma', sans-serif;
  min-height: 72px;
  padding-top: 10px;
}

hr {
  /*border: none!important;
  height: 2px;*/
}

#block-a6-custom-frontpagetitle p {
  font-family: 'Roboto', 'Tahoma', sans-serif;
  font-weight: 900;
  font-size: 54px;
  line-height: 60px;
  float:left;
  width: 100%;
  margin-left: 2%;
  margin-bottom: 0;
  overflow: hidden;
}

#block-a6-custom-siteheaderdescription {
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 32.4px;
}
.region-highlighted {
  overflow: hidden;
}

.region-highlighted .wrap-branding {
  float: right;
}

.hidden {
  display: none;
}

header {
  border-bottom: 1px solid white!important;
}
header .region-navigation a.name {
  font-size: 26px!important;
  color: white;
  text-transform: uppercase;
}
header nav.dxpr-theme-main-menu ul.menu li.separator,
header nav.dxpr-theme-main-menu ul.menu li a {
  font-size: 16px !important;
  font-style: normal;
  font-weight: 400;
  color: white!important;
  text-transform: capitalize!important;
  font-family: 'Roboto', 'Tahoma', sans-serif;
}
header ul.menu li.dropdown-toggle::after {
  display: none;
}

/* Make the navbar-header + nav behave like a flex container */
.container-col {
  display: flex;
  align-items: center;       /* vertical alignment */
  justify-content: space-between;
}

/* Left block: Branding */
.wrap-branding {
  flex: 0 0 20%;             /* fixed 20% width */
}

/* Right block: Menu container */
.dxpr-theme-main-menu {
  flex: 0 0 80%;             /* fixed 80% width */
  display: flex;
  justify-content: flex-end; /* push menu items to the right */
}

/* Make sure UL inside the nav aligns properly */
.dxpr-theme-main-menu ul.menu {
  display: flex;
  justify-content: flex-end; /* right align menu */
  width: 100%;
}
/* Force horizontal menu */
.dxpr-theme-main-menu ul.menu {
  display: flex !important;   /* force row layout */
  flex-direction: row !important; /* horizontal */
  justify-content: flex-end;  /* push to right */
  align-items: center;        /* vertical centering */
  flex-wrap: nowrap;          /* prevent wrapping */
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Make sure li doesn’t break the row */
.dxpr-theme-main-menu ul.menu > li {
  display: inline-flex;  /* make li shrink to fit */
  width: 170px;
  margin: 0 10px;        /* optional spacing */
}
.dxpr-theme-main-menu ul.menu > li.separator {
  width: 50px;
}
.dxpr-theme-header--sticky {
  position: sticky!important;
}

.wrap-containers .region-highlighted {
  display: flex;
  //justify-content: space-between;
  align-items: start; /* optional: vertical alignment */
  flex-wrap: wrap;     /* allows wrapping on small screens */
  gap: 1rem;           /* optional spacing between items */
  padding: 1rem 0;
}

.wrap-containers .region-highlighted section {
  margin-top: 8rem;
}
.wrap-containers .region-highlighted section:first-child {
  width: 50%;
  padding-left: 1%;
  margin-top:4rem;
}

.wrap-containers .region-highlighted .wrap-branding {
  margin-left: auto;
  margin-top:4rem;
}
.wrap-containers .region-highlighted .wrap-branding a {
  float:right;
}
.header-dropdown {
  background: #001545;
  color: white;
}
.header-dropdown .form-control,
.header-dropdown a,
.header-dropdown h2 {
  color: white;
}
.header-dropdown .view-la .views-field-title {
  font-weight: bold;
  font-size: 20px;
  font-family: 'Roboto', 'Tahoma', sans-serif;
}
.header-dropdown .view-la .views-field-title::after {
  content: url("../img/arrow_right_white.png");
  margin-left: 10px;
}
.header-dropdown .view-la .views-row {
  float: left;
  width: 50%;
  border-left: 1px solid white;
  padding-left: 1rem;
}
.region-header-dropdown {
  padding: 1rem;
  overflow: hidden;
}
.region-header-dropdown .search-block-form {
  width: 100%;
}

.region-header-dropdown>section {
  width: 50%;
  float: left;
}

footer.dxpr-theme-footer {
  background-color: #001545;
}

.paragraph--type--bp-columns .paragraph__column .row h4 {
  font-size: 24px;
  font-family: 'Roboto', 'Tahoma', sans-serif;
}

.paragraph--type--bp-columns .paragraph__column .row .paragraph--type--bp-columns:first-child h4 {
  color: white!important;
  line-height: 32px;
  letter-spacing: 0.08em;
  font-size:26px;
  text-transform: uppercase;
}
.paragraph--type--bp-columns .paragraph__column .row .paragraph--type--bp-columns:first-child p {
  font-style: italic;
}

.paragraph--type--bp-columns .paragraph__column .row .paragraph--type--bp-columns:last-child h4::after {
  content: url("../img/arrow_right_yellow.png");
  color:#FAB81B;
  font-weight: bolder;
  vertical-align: middle;
  margin-left: 20px;
}

.region-footer .paragraph ul li {
  margin-bottom: 0.7rem;
}
.region-footer .paragraph ul li .nav-link::before {
  display: none;
}

.region-footer ul li .nav-link {
  font-size: 1rem!important;
  text-transform: uppercase!important;
  color: white!important;
  font-family: 'Roboto', 'Tahoma', sans-serif;
}

.region-footer .block hr,
.region-footer .paragraph hr {
  border: 1px solid #54648C;
}

body.path-admin .wrap-containers {
  background-color: #fff;
}
.wrap-containers {
  background-color: #001C59;
}

.block-field-blocknodepagechanged h2,
.block-field-blocknodepagechanged .field--name-changed {
  font-size: 12px;
  line-height: 16px;
  float: left;
  margin-right: 5px;
  margin-top: 5px;
  font-family: 'Roboto', 'Tahoma', sans-serif;
  color: #99A1B5;
}

.block-views-exposed-filter-blockworld-map-block-1 {
  margin-top: 2rem;
}
.block-views-exposed-filter-blockworld-map-block-1 h2,
.block-views-exposed-filter-blockworld-map-block-1 form input {
  font-size: 18px;
  line-height: 22px;
  float: left;
  margin-right: 5px;
  margin-top: 5px;
  font-family: 'Roboto', 'Tahoma', sans-serif;
  color: #99A1B5;
  height:30px!important;
  margin-top: 0;
  border:0!important;
}
.block-views-exposed-filter-blockworld-map-block-1 h2 {
  padding-top:3px;
  margin-right:10px;
}
.block-views-exposed-filter-blockworld-map-block-1 form .form-type-textfield {
  margin: 0;
}
.block-views-exposed-filter-blockworld-map-block-1 form input:focus,
.block-views-exposed-filter-blockworld-map-block-1 form input::placeholder {
  color: #99A1B5;
}

.a6-autocomplete-form {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #5B6B93;
  margin-bottom: 1rem;
}
.a6-autocomplete-form:hover {
  background: #001545;
}
.a6-autocomplete-form:hover .form-item-search label,
.a6-autocomplete-form:hover .form-item-search input,
.a6-autocomplete-form:hover .form-item-search input::placeholder {
  color: #ffffff!important;
}
.a6-autocomplete-form .form-item-search label,
.a6-autocomplete-form .form-item-search input,
.a6-autocomplete-form .form-item-search input::placeholder {
  color: #99A1B5!important;
}
.a6-autocomplete-form .form-item-search label {
  float: left;
  width: 20%;
  text-align: left;
  padding-top: 10px;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.42px;
  text-transform: uppercase;
}
.a6-autocomplete-form .form-item-search input {
  float: left;
  width: 75%;
  border: none;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  color: #99A1B5;
}
.a6-autocomplete-form .form-submit {
  display: none;
}

.ui-autocomplete li.autocomplete-country a,
.ui-autocomplete li.autocomplete-region a,
.ui-autocomplete li.autocomplete-group a {
  font-weight: bold;
}

.block-world-map-options-block {

}
.block-world-map-options-block .title {
  color: #99A1B5;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .06em;
  float: left;
  width: 20%;
  font-size: 14px;
  padding-top: 5px;
}
.block-world-map-options-block .view-options {
  margin-left: 1rem;
}
.sankey-tabs .sankey-nav .view-option {
  font-size: 14px!important;
}
.sankey-tabs .sankey-nav .view-option,
.block-world-map-options-block .view-options .view-option {
  text-decoration: underline;
  text-underline-offset: 10px;
  font-size: 14px;
  color: #99A1B5;
  margin-right: 1rem;
  font-family: 'Roboto', 'Tahoma', sans-serif;
}
.sankey-tabs .sankey-nav .view-option.active,
.block-world-map-options-block .view-options .view-option.active {
  color: #fff;
}
.block-world-map-options-block .view-by-region {
  border-bottom: 1px solid #5B6B93;
  margin-bottom: 1rem;
}
.block-world-map-options-block .overview-region {
  padding-right: 2rem;
}
.block-world-map-options-block .overview-region h2 {
  color: #FFFFFF;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 2.08px;
  font-weight: 400 !important;
  font-size: 26px !important;
  padding-top: 5px;
}
.sankey-nav {
  list-style: none;
  padding: 0;
  //margin: 0 0 1em 0;
  display: flex;
  gap: 1em;
}
.sankey-nav .tab-link {
  cursor: pointer;
  text-decoration: none;
  padding: 0.5em 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.sankey-nav .tab-link.active {
  background: #0074bd;
  color: #fff;
}
.sankey-tab {
  display: none;
}
.sankey-tab.active {
  display: block;
}

.a6-progress-block {
  font-family: sans-serif;
  margin: 1rem 0;
}

.a6-total {
  margin-bottom: 1.5rem!important;
  padding-bottom: 1.5rem!important;
  border-bottom: 1px solid #5B6B93;
}
.progress-bar-item-value {
  display: table;
  width: 100%;
}

.progress-bar-item-value .progress-bar-plus-icon,
.progress-bar-item-value .a6-empty-item {
  display: table-cell;
  vertical-align: middle;
}

.progress-bar-item-value .progress-bar-plus-icon {
  width: 4%;       /* shrink to content */
  white-space: nowrap;
  text-align: center;
}

.progress-bar-item-value  .a6-empty-item {
  width: 96%;
}
.a6-total-values {
  height:26px;
  overflow: hidden;
  font-size:0;
}
.a6-total-item {
  height: 1.5rem;
  display: inline-block;
}

.two-sides-group .a6-total-item {
  height: 0.875rem;
}
.a6-sector-total-values {
  overflow: visible;
  font-size:0;
  display: flex;
  width: 96%;
  height: 20px; /* adjust bar height */
  position: relative;
}
.a6-sector-total-values .a6-total-item {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
/* Tooltip bubble */
.a6-sector-total-values .a6-total-item::after {
  content: attr(data-title) "\A" attr(data-value);
  white-space: pre; /* allow line break from \A */
  position: absolute;
  left: 50%;
  bottom: 120%; /* place above the bar */
  transform: translateX(-50%);

  background: var(--tooltip-color); /* same color as the span, or fixed */
  color: #fff;
  padding: 6px 25px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.3;
  text-align: left;
  font-weight: 500;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 100;
}

/* Tooltip arrow */
.a6-sector-total-values .a6-total-item::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(120% - 6px); /* align arrow with box */
  transform: translateX(-50%);

  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: var(--tooltip-color) transparent transparent transparent;

  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 99;
}

/* Show tooltip on hover/focus */
.a6-sector-total-values .a6-total-item:hover::after,
.a6-sector-total-values .a6-total-item:hover::before,
.a6-sector-total-values .a6-total-item:focus::after,
.a6-sector-total-values .a6-total-item:focus::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

.sub-progress-bar-item-value .a6-total-item-remain {
  background: #253457;
}
.sub-progress-bar-item-value .comparison-value {
  background: #99A1B5;
}

.a6-group {
  margin-bottom: 2rem;
}
.scatter-chart-item-caption h3,
.a6-total h3,
.a6-groups h3 {
  color: #99A1B5;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: bold!important;
}
.progress-bar-item {
  overflow:hidden;
  margin-bottom: 1rem;
}
.sub-progress-bar-item {
  overflow:hidden;
}
.a6-list-progressbar .sub-progress-bar-left-side {
  padding-bottom: 1rem;
}
.a6-total .progress-bar-plus-icon {
  line-height: 1.5rem;
  float:left;
  font-weight: bold;
  font-size: 1.25rem;
  color: #fff;
}
.two-sides-group .progress-bar-plus-icon {
  line-height: 1rem;
}
.a6-total .a6-empty-item {
  background: #253457;
  padding: 0 1rem;
  float: left;
  font-size: 1rem;
  height: 1.5rem;
  line-height: 1.5rem;
}
.a6-groups .progress-bar-title,
.a6-groups .progress-bar-subtitle {
  width: 100%;
  float:left;
  clear:both;
  height: 26px;
}
.progress-bar-top-item .extended .progress-bar-subtitle {
  padding-left:1.5rem;
}
.scatter-chart-item-caption h4,
.a6-groups .progress-bar-subtitle h4 {
  font-size:14px;
  color:#fff;
}
.a6-groups .progress-bar-subtitle h4:first-child {
  float:left!important;
}
.a6-groups .a6-expanded-bar-item .progress-bar-subtitle h4 {
  color: #99A1B5!important;
}
.a6-groups .extended .progress-bar-subtitle h4:last-child {
  float:right;
 }
.a6-groups .group h4 {
  color: #fff;
  font-size: 0.75rem;
}
.a6-block-content-wrapper .section-info {
  margin-bottom: 2rem;
  overflow: hidden;
  clear:both;
}
.a6-block-content-wrapper .section-info .title{
  float: left;
  width: 100%;
  text-transform: uppercase;
  color: #99A1B5;
}

.a6-block-content-wrapper .section-info .subtitle {
  float: left;
  color: #fff;
  width: auto;
  margin-right: 2rem;
  line-height: 3rem;
}
.a6-block-content-wrapper .section-info .subtitle.empty {
  color: #99A1B5;
  clear: both;
  width: 100%;
}
.a6-block-content-wrapper .section-filter label {
  font-size: 1rem;
  text-transform: uppercase;
  color: #99A1B5;
  font-weight: normal;
}
.a6-block-content-wrapper .section-filter #filter-values {
  color: #fff;
  width: auto;
  text-decoration: underline;
  min-width: max-content;
  appearance: none;        /* remove default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url("data:image/svg+xml;utf8,<svg fill='%23fff' height='24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 0px center;
  padding-right: 20px;
  border: none;
  outline: none;
}
.a6-block-content-wrapper .section-filter #filter-values option{
  background: #071b3a;
  border: none;
}

.a6-block-content-wrapper .national-target-table-wrapper {
  float: left;
  padding-right: 2rem;
}
.a6-block-content-wrapper .national-target-table td {
  background: none;
  font-size: 0.875rem;
  border: none;
  color: #99A1B5;
  padding-left: 0;
}
.a6-block-content-wrapper .national-target-table caption {
  color: #99A1B5;
  text-transform: uppercase;
}
.a6-block-content-wrapper .national-target-table td:first-child,
.a6-block-content-wrapper .national-target-table td:nth-child(3) {
  color: #fff;
  font-size: 1rem;
}

.countries-national-targets-datatable-wrapper .table-bottom-text {
  width: 50%;
  clear:both;
  float: left;
  color: #fff;
  font-size: 1.5rem;
  font-style: italic;
}
.a6-block-content-wrapper .goals-section {
  border-top: 1px solid #5B6B93;
  padding-top: 2rem;
}

.a6-block-content-wrapper .goals-section .section-goals-title {
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: #99A1B5;
}
.a6-block-content-wrapper .goals-section .goal-wrapper {
  float: left;
}
.a6-block-content-wrapper .goals-section .goal-wrapper .submitted,
.a6-block-content-wrapper .goals-section .goal-wrapper .link,
.a6-block-content-wrapper .goals-section .goal-wrapper .year,
.a6-block-content-wrapper .goals-section .goal-wrapper .status {
  color: #fff;
}
.a6-country-name {
  width: 120px;
  font-weight: 500;
  color: #fff;
}

.a6-progress-bar {
  flex: 1;
  height: 16px;
  background: #eee;
  border-radius: 8px;
  margin: 0 0.5rem;
  overflow: hidden;
}

.a6-progress-fill {
  height: 100%;
  border-radius: 8px;
}

.a6-country-value {
  width: 50px;
  text-align: right;
}

.total-title {
  display: flex;
  justify-content: space-between; /* pushes children to edges */
  align-items: center;
}
.total-title h3 {
  color: #cdd7e1;
}

.region-content .layout.layout--twocol-section,
.region-content .layout section.block-pacm-progress-bar-block,
.region-content .layout section.block-sector-progress-bar-block,
.region-content .layout section.block-sankey-tabs-block {
  margin-bottom: 7rem;
}

.region-content .layout section.block .block-title {
  color: #fff;
  text-transform: uppercase;
  font-family: 'Roboto', 'Tahoma', sans-serif;
  font-size: 26px;
  line-height: 32px;
  letter-spacing: 0.08em;
}

.region-content .layout section.block#last-updated .block-title{
  color: #99A1B5;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  text-transform: none;
  line-height: 16px;
}

.region-content .layout section.block p {
  color: #cdd7e1;
  font-family: 'Roboto', 'Tahoma', sans-serif;
  font-size: 16px;
}

/* Sticky ToC block */
#taxonomy-toc.block,
#toc.block {
  position: sticky;
  top: 80px;            /* distance from top of viewport */
  z-index: 100;
}
#taxonomy-toc.block p,
#toc.block p {
  color: #99A1B5!important;
  font-size: 12px!important;
}
#taxonomy-toc.block ul,
#toc.block ul {
  padding-left: 0;
}
#taxonomy-toc.block ul li,
#toc.block ul li {
  list-style: none;
  line-height: 3rem;
}
#taxonomy-toc.block ul li a,
#toc.block ul li a {
  color: #fff;
}
.a6-progress-block {
  background: #071b3a;
  padding: 1rem;
}

.hr-block-wrapper {
  margin: 0;
}
.diagrams-hr {
  border: 1px solid #ccc;
  padding:0;
  margin: 0;
}
.region-content .layout__region--first {
  padding-top: 50px;
  flex-basis:37%!important;
}
.region-content .layout__region--second {
  flex-basis:63%!important;
}


.region-content .layout__region--first section h2{
  font-size: 54px;
  font-style: normal;
  line-height: 60px;
}
.region-content .layout__region--first section#title h2{
  font-weight: 900 !important;
}


.section-title {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 300;
}

.sankey-tabs .filter-name {
  float: left;
  padding-right: 1rem;
  padding-top: 4px;
  color: #99A1B5;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 14px;
}
.world-map-container-wrapper {
  height: 650px;
}

.dxpr-theme-boxed-container {
  max-width:1440px!important;
}

/* The actual custom radio */
.form-check-input[type="radio"] {
  appearance: none;            /* remove native style */
  -webkit-appearance: none;
  width: var(--rb-size);
  height: var(--rb-size);
  border-radius: 50%;
  border: var(--rb-border) solid var(--rb-border-color);
  background: none;     /* transparent by default */
  display: inline-block;
  position: relative;
  outline: none;
  transition: background-color .15s ease, box-shadow .15s ease;
}

/* Yellow background when checked */
.form-check-input[type="radio"]:checked {
  background-image: none;
  background-color: var(--rb-selected);
  border-color: var(--rb-border-color); /* keep white border */
}

/* Focus ring for accessibility */
.form-check-input[type="radio"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.5);
}

/* Disabled state (optional) */
.form-check-input[type="radio"]:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.country-title-wrapper {
  font-family: "Roboto", "Tahoma", sans-serif;
  border-bottom: 1px solid #5B6B93;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}
.country-title-wrapper .country-title {
  font-size:54px;
  font-weight: bold;
  color: #fff;
  line-height: 60px;
  margin-bottom: 2rem;
}
.country-title-wrapper .country-title img {
  margin-right: 1rem!important;
}
.country-title-wrapper .country-description {
  font-size:16px;
  color: #fff;
  line-height: 25px;
  margin-bottom: 1rem;
}
.country-title-wrapper .country-updated {
  font-size:12px;
  line-height: 16px;
  color: #99A1B5;
}

.country-details-wrapper .label {
  font-size: 14px;
  text-transform: uppercase;
  color: #99A1B5;
  float: left;
  margin-right: 1rem;
}
.country-details-wrapper .value {
  font-size: 14px;
  color: #fff;
  float: left;
}
.country-details-wrapper .country-terms-values-wrpapper a {
  margin-right: 1rem;
  color: #fff;
  text-decoration: underline;
}

.country-details-wrapper > div {
  width: 100%;
  overflow: hidden;
  margin-bottom: 1rem;
}
section.block-country-title-block {
  margin-bottom: 2rem!important;
}
.blocks-section .block-a6 {
  padding-top: 7rem;
}

section.block-a6 .a6-block-content-wrapper {
  background: #071b3a;
  padding:1.5rem;
  overflow: hidden;
}

.block-country-agreement-block .a6-sector-total-values {
  overflow: visible;
  font-size:0;
  display: flex;
  width: 97%;
  height: 20px; /* adjust bar height */
  position: relative;
}
.block-country-agreement-block .a6-total-item {
  position: relative;
  display: inline-block;
  height: 14px;
  cursor: pointer;
  border-right: 1px solid white;
}
/* Tooltip bubble */
.block-country-agreement-block .a6-total-item::after {
  content: attr(data-title) "\A" attr(data-total) "\A" attr(data-percent);
  white-space: pre; /* allow line break from \A */
  position: absolute;
  left: 50%;
  bottom: 120%; /* place above the bar */
  transform: translateX(-50%);

  background: var(--tooltip-color); /* same color as the span, or fixed */
  color: #fff;
  padding: 6px 25px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.3;
  text-align: left;
  font-weight: 500;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 100;
}

/* Tooltip arrow */
.block-country-agreement-block .a6-total-item::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(120% - 6px); /* align arrow with box */
  transform: translateX(-50%);

  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: var(--tooltip-color) transparent transparent transparent;

  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 99;
}

/* Show tooltip on hover/focus */
.block-country-agreement-block .a6-total-item:hover::after,
.block-country-agreement-block .a6-total-item:hover::before,
.block-country-agreement-block .a6-total-item:focus::after,
.block-country-agreement-block .a6-total-item:focus::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

.block-country-agreement-block .a6-total-values .a6-total-item:last-child {
  border-right: none;
}
.countries-agreement-datatable-wrapper .countries-overview-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  width: 50%;
  border-top: 1px solid #5B6B93;
  color: #99A1B5;
  float:left;
  clear: both;
  overflow: hidden;
  font-size: 12px;
}
.countries-agreement-datatable-wrapper .countries-overview-bottom .text-caption {
  font-weight: bold;
}
.block-a6 .a6-block-title-wrapper {
  border-bottom: 1px solid #5B6B93;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.block-a6 .a6-block-filters-wrapper .filter-label,
.block-a6 .a6-block-filters-wrapper .filter-option {
  float: left;
  margin-right: 1rem;
  color: #fff;
}
.block-a6 .a6-block-filters-wrapper {
  width: 100%;
  clear: right;
  overflow: hidden;
  padding-bottom: 1rem;
}
.block-a6 .a6-block-filters-wrapper .filter-label {
  color:#99A1B5!important;
}
.block-a6 .a6-block-filters-wrapper .filter-option {
  border: none;
  text-decoration: underline;
  height: 26px;
  width: auto;
  min-width: max-content;
  appearance: none;        /* remove default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #001C59 url("data:image/svg+xml;utf8,<svg fill='%23fff' height='24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 10px center;
  background-size: 16px;   /* size of arrow */
  padding-right: 30px;     /* space for arrow */
}
.block-a6 .a6-block-filters-wrapper .filter-option .filter-value{
  background: #001C59;
  outline: none;
  border: none;
  appearance: none;       /* hides default arrow in some browsers */
  -webkit-appearance: none;
  -moz-appearance: none;
}
.a6-block-content-wrapper .countries-sustainable-development-region {
  margin-bottom: 4rem;
  border-bottom: 1px solid #5B6B93;
}
.a6-block-content-wrapper .countries-sustainable-development-region:last-child {
  border-bottom: none;
  margin-bottom: 1rem;
}
.a6-block-content-wrapper .countries-sustainable-development-region .sustainable-development-region-title-wrapper {
  margin-bottom: 1rem;
}
.a6-block-content-wrapper .countries-sustainable-development-region .sustainable-development-region-title-wrapper h3.title {
  text-transform: uppercase;
  color: #99A1B5;
  font-size: 0.875rem;
  font-weight: bold!important;
}
.a6-block-content-wrapper .countries-sustainable-development-region .sustainable-development-region-title-wrapper h4.subtitle {
  color: #fff;
  font-size: 0.875rem;
}
.a6-block-content-wrapper .countries-sustainable-development-region .sustainable-development-region-content-wrapper {
  color: #fff;
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 1rem;
  margin-top: 1rem;
}
.a6-block-content-wrapper .countries-sustainable-development-region .sustainable-development-region-content-wrapper .sustainable-development-region-description {
  color: #fff;
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 1rem;
  width:75%;
  clear:both;
}
.a6-block-content-wrapper .countries-sustainable-development-region .sustainable-development-region-content-wrapper .sustainable-development-region-empty {
  padding: 3rem 1rem;
  background: #253457;
  font-size: 1rem;
  color: #99A1B5;
}

.a6-block-content-wrapper .countries-sustainable-development-region .sustainable-development-region-table-wrapper {
  overflow: hidden;
  color: #fff;
  font: 1rem bold;
  text-transform: uppercase;
  display: flex;
  flex-direction: column; /* rows stacked */
  gap: 6px;
  width: 420px; /* adjust */
  font-family: Arial, sans-serif;
  margin-bottom: 2rem;
}

.a6-block-content-wrapper .countries-sustainable-development-region .sustainable-development-region-table-wrapper .sustainable-development-region-table-row {
  display: flex;
  align-items: center; /* plus + block aligned */
}

.a6-block-content-wrapper .countries-sustainable-development-region .sustainable-development-region-table-wrapper .plus {
  color: #fff;
  font-weight: bold;
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

.sustainable-development-region-table-item {
  display: flex;
  align-items: center;
  flex: 1; /* take remaining space */
  padding: 0 14px;
  border-radius: 4px;
  color: #fff;
  min-height: 50px;
}

.sustainable-development-region-table-item .number {
  font-weight: bold;
  margin-right: 10px;
  font-size: 1rem;
  padding-right: 0.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  line-height:3rem;
}

.sustainable-development-region-table-item .text {
  flex: 1;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: bold;
}

.sustainable-development-region-table-item .image img {
  width: auto;
  height: 24px;
  object-fit: contain;
}
.a6-country a {
  color: #fff;
}
.a6-country a:hover {
  text-decoration: none;
}
.a6-expanded-bar-item {
  width: 100%;
  margin-top: 2rem;
  padding-left: 4%;
}
.a6-expanded-bar-item .title {
  color: #fff;
  font-weight: normal;
  font-size: 1rem;
}
.a6-expanded-bar-item.subrow .title {
  font-size: 12px;
}
.a6-expanded-bar-item .a6-total-item,
.a6-expanded-bar-item .a6-subtotal-item {
  float:left;
  height: 0.5rem;
  background: transparent;
}
.a6-expanded-bar-item .a6-total-item-remain,
.a6-expanded-bar-item .a6-subtotal-item-remain {
  background: #253457;
  display: inline-block;
  height: 0.5rem;
  float: left;
}
.progress-bar-item-expanded-list {
  display: none;
}
.progress-bar-item-expanded-list.is-visible {
  display: block;
}

.sub-progress-bar-item-value .sub-progress-bar-left-side {
  width: 80%;
  float: left;
}
.sub-progress-bar-item-value .sub-progress-bar-right-side {
  width: 18%;
  margin-left: 2%;
  float: left;
  height: 3.6rem;
  display: block;
  overflow: hidden;
  position: relative;
  padding-bottom: 1rem;
}
.sub-progress-bar-item-value .sub-progress-bar-right-side:has(.progress-bar-item-expanded-list.is-visible) {
  height: 100%;
}
.sub-progress-bar-item-value .sub-progress-bar-right-side .comparison-left {
  padding-right: 1px;
}
.sub-progress-bar-item-value .sub-progress-bar-right-side .comparison-right {
  padding-left: 1px;
}
.sub-progress-bar-item-value .sub-progress-bar-right-side .comparison-left,
.sub-progress-bar-item-value .sub-progress-bar-right-side .comparison-right {
  float: left;
  height: 100%;
  width: 50%;               /* each half takes space – adjust if needed */
  position: relative;
}
.sub-progress-bar-item-value .a6-list-progressbar:first-child .sub-progress-bar-right-side .progress-bar-item-right .comparison-title {
  height: 26px;
  display: block;
  color: #99A1B5;
  font-size: 0.875rem;
  text-align: center;
  text-transform: uppercase;
}
.sub-progress-bar-item-value .a6-list-progressbar .sub-progress-bar-right-side .comparison-title {
  display:none;
}
.sub-progress-bar-item-value .a6-list-progressbar:first-child .sub-progress-bar-right-side .progress-bar-item-right {
  margin-top: 0;
}
.sub-progress-bar-item-value .a6-list-progressbar .sub-progress-bar-right-side .progress-bar-item-right {
  margin-top: 1.625rem;
}
.sub-progress-bar-item-value .sub-progress-bar-right-side .progress-bar-item-expanded-list-element span {
  height: 0.5rem;
}
.sub-progress-bar-item-value .sub-progress-bar-right-side span {
  display: block;
  height: 0.875rem;
  float: left;
}
.sub-progress-bar-right-side .progress-bar-item-expanded-list-element:first-child {
  margin-top: 3.625rem;
}
.sub-progress-bar-right-side .progress-bar-item-expanded-list-element {
  margin-top: 3.125rem;
  padding:0!important;
}
.sub-progress-bar-right-side .progress-bar-item-expanded-list-element,
.sub-progress-bar-right-side .progress-bar-item-right {
  overflow: hidden;
}
.sub-progress-bar-right-side .progress-bar-item-expanded-list-element {
  padding-top: 0.5rem;
}
.sub-progress-bar-right-side .progress-bar-item-expanded-list-element:first-child {
  padding-top: 1.3rem;
}
.sub-progress-bar-right-side::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;         /* center */
  width: 1px;
  background-color: #5B6B93;
  transform: translateX(-50%); /* perfect center */
}
.sub-progress-bar-item-value .a6-total-values:last-child .sub-progress-bar-right-side::before {
  bottom: 1.1rem;
}
.sub-progress-bar-item-value .a6-total-values:first-child .sub-progress-bar-right-side::before {
  top: 1.65rem;
}



