/* FONTS */
@font-face {
  font-family: 'Source Sans 3';
  src: url('https://chm-data-static.s3.eu-west-1.amazonaws.com/kompass/fonts/Source_Sans_3/SourceSans3-Light.ttf');
  font-weight: 300;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('https://chm-data-static.s3.eu-west-1.amazonaws.com/kompass/fonts/Source_Sans_3/SourceSans3-Regular.ttf');
  font-weight: 400;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('https://chm-data-static.s3.eu-west-1.amazonaws.com/kompass/fonts/Source_Sans_3/SourceSans3-Medium.ttf');
  font-weight: 500;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('https://chm-data-static.s3.eu-west-1.amazonaws.com/kompass/fonts/Source_Sans_3/SourceSans3-SemiBold.ttf');
  font-weight: 600;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('https://chm-data-static.s3.eu-west-1.amazonaws.com/kompass/fonts/Source_Sans_3/SourceSans3-Bold.ttf');
  font-weight: 700;
}

/* VARIABLES */
:root {
    --font-text: 'Source Sans 3', Helvetica, serif-serif;

    --border-radius: 8px;
    --border-radius-sm: 4px;

    --gutter: 1rem;
    --navigation-width: 300px;

    --bg-color-primary: #FFFFFF;
    --bg-color-secondary: #F5F5F5;
    --bg-color-tertiary: #E6EAEF;

    --color-font: #1A1D1F;
    --color-font-disabled: #6C757D;
    --color-lines: #E5E7EB;

    --color-primary: #0000F5;
    --color-primary-hover: #000066;
    --color-secondary: #E6E6FF;
    --color-secondary--hover: #D6D6FF;

    --color-positiv: #10B981;
    --color-positiv-bg: #E6F4EA;
    --color-negativ: #EF4444;
    --color-negativ-bg: #FEE2E2;
    --color-warning: #856404;
    --color-warning-bg: #FFF3CD;
    --color-orange: #FF991C;
}

/* GLOBAL STYLING */
body {
  /* Former BG-Color background: #e8e5dc; */
  font-family: var(--font-text);
  color: var(--color-font);
  margin: 0px;
  padding: 0px;
  background-color: var(--bg-color-primary);
}

h1, h2 {
  margin-top: 0;
}
h3 {
  position: relative;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  margin-top: 1.5em;
  text-align: center;
  font-size: 1.7em;
}
h3::after {
  content: "";
  position: absolute;
  top: 100%;
  left: calc(50% - 50px);
  width: 100px;
  height: 2px;
  background-color: var(--color-font);
}
a {
  text-decoration: none;
  color: inherit;
  transition: background-color 0.25s ease;
}
a:hover {
  text-decoration: underline;
}

.app-body {
  min-height: 100vh;
  height: 100%;
  overflow: hidden;
}
.app-main {
  flex: 1;
}
.app-content {
  padding: calc(39px + 1rem) 1rem 1rem;
}

/* HEADER */
.app-header {
  position: fixed;
  width: 100%;
  padding: 0.5rem 1rem;
  background-color: var(--bg-color-secondary);
  border-bottom: 1px solid var(--color-lines);
  z-index: 9999;
}
.header-hamburger {
  display: flex;
  align-items: center;
}
.header-hamburger-button {
  width: 22px;
  height: 22px;
  background-image: url('https://chm-data-static.s3.eu-west-1.amazonaws.com/kompass/icon_sidebar.svg');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  outline: none;
  border: none;
  cursor: pointer;
  background-color: var(--bg-color-primary);
}
.navigation-logo {
  display: flex;
  align-items: center;
}
.logo-link {
  display: flex;
  align-items: center;
}
.header-close-button {
  position: relative;
  margin-left: auto;
  width: 30px;
  height: 30px;
  border: 0;
  outline: none;
  background: none;
  cursor: pointer;
}
.header-close-button::before, .header-close-button::after {
  content: "";
  position: absolute;
  width: 1.15rem;
  height: 2px;
  left: 4px;
  background-color: var(--color-font);
}
.header-close-button::before {
  transform: rotate(45deg);
}
.header-close-button::after {
  transform: rotate(-45deg);
}

/* SIDE NAVIGATION */
.app-navigation {
  position: fixed;
  top: 0;
  width: var(--navigation-width);
  max-width: 100%;
  height: 100%;
  background-color: var(--bg-color-secondary);
  border-right: 1px solid var(--color-lines);
  transform: translate(-100%);
  transition: transform 0.25s ease;
  z-index: 99999;
}
.app-navigation.visible {
  transform: translate(0)
}
.navigation-container {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  height: calc(100% - 2rem);
}
.navigation-logo {
  margin-bottom: 1.5rem;
}

.navigation-main-link {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  transition: background-color 0.25s ease;
}
.navigation-main-link.active {
  background-color: var(--color-secondary);
  font-weight: 600;
}
.navigation-main-link:not(:last-child) {
  margin-bottom: 0.25rem;
}
.navigation-main-link:hover {
  text-decoration: none;
}
.navigation-main-link:hover:not(.active) {
  color: #000;
}
.navigation-sub-menu {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-lines);
}
.navigation-sub-link {
  display: block;
  padding: 0 0.75rem;
  font-size: 0.9rem;
  color: var(--color-font-disabled);
  text-decoration: none;
  transition: color 0.25s ease;
}
.navigation-sub-link:not(:last-child) {
  margin-bottom: 0.65rem;
}
.navigation-sub-link:hover {
  color: var(--color-font);
  text-decoration: none;
}

.navigation-info {
  margin-top: auto;
  padding-top: 1rem;
}
.navigation-info-inner {
  padding: 0.75rem;
  background-color: var(--color-warning-bg);
  border-radius: var(--border-radius-sm);
  color: var(--color-warning);
  font-size: 0.925rem;
}
.navigation-info-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.navigation-info-inner a {
  text-decoration: underline;
  transition: color 0.25s ease;
}
.navigation-info-inner a:hover {
  color: var(--color-font);
}

/* CONTENT */
/* Home */
.home-content {
  max-width: 1000px;
}
.home-hero {
  margin: 1.5rem 0 1.5rem;
}
.home-subtitle {
  margin: 0;
}
.home-tiles {
  display: flex;
  flex-wrap: wrap;
  margin: -0.5rem;
}
.home-tile {
  display: block;
  width: 100%;
  margin: 0.5rem;
  padding: 1rem;
  border-radius: var(--border-radius);
  background-color: var(--bg-color-secondary);
  color: var(--color-font);
  text-decoration: none;
  transition: background-color 0.25s ease;
}
.home-tile:hover {
  background-color: var(--color-secondary);
  text-decoration: none;
}
.home-tile-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.home-tile-subtitle {
  color: var(--color-font-disabled);
  line-height: 1.35;
}

/* Artikeltabelle */
.artikeltabelle-container {
  margin-top: 1.5rem;
}
.dash-table-container * {
  font-size: 1rem;
  font-family: var(--font-text) !important;
}

/* KPI-Report */
/* Report Navigation */
.reporting-nav {
  max-width: 1000px;
}
.reporting-nav-title {
  margin-bottom: 2.5rem;
}
.reporting-header-nav {
  display: flex;
  flex-wrap: wrap;
  margin: -0.5rem;
  padding-bottom: 2rem;
}
.reporting-header-nav-link {
  font-family: var(--font-text);
  font-size: 1rem;
  margin: 0.25rem;
  padding: 0.25rem 0.75rem;
  background-color: var(--color-secondary);
  border-radius: 1rem;
  border: 0;
  outline: none;
  cursor: pointer;
}
.reporting-header-nav-link:hover {
  text-decoration: none;
  background-color: var(--color-secondary--hover);
}
.reporting-header-nav-link.active {
  background-color: var(--color-primary);
  color: #FFFFFF;
}
.reporting-header-nav-link.active:hover {
  background-color: var(--color-primary);
}
.reporting-options-nav-container {
  display: none;
  margin-bottom: 1rem;
  padding: 1rem;
  background-color: var(--bg-color-secondary);
  border-radius: var(--border-radius);
}
.reporting-options-nav-container.active {
  display: block;
}
.reporting-options-nav-wrapper.level-2 {
  display: none;
  margin-bottom: 1rem;
  margin-left: 1.5rem;
  border-left: 2px solid var(--color-primary);
}
.reporting-options-nav-wrapper.level-2 * {
  font-size: 0.9rem;
}
.reporting-options-nav-wrapper.level-2.visible {
  display: block;
}
.reporting-options-nav-inner.hasSubmenu > .reporting-options-nav-option {
  cursor: pointer;
}
.reporting-options-nav-inner.hasSubmenu > .reporting-options-nav-option > .reporting-options-nav-label::before {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background-image: url('https://chm-data-static.s3.eu-west-1.amazonaws.com/kompass/icon_chevron_down.svg');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 0.5rem;
}
.reporting-options-nav-inner.hasSubmenu.active > .reporting-options-nav-option > .reporting-options-nav-label::before {
  rotate: 180deg;
}
.reporting-options-nav-inner.hasSubmenu > .reporting-options-nav-option > .reporting-options-nav-links {
  margin-left: 1.5rem;
}
.reporting-options-nav-inner.active > .reporting-options-nav-option {
  font-weight: 600;
}
.reporting-options-nav-option {
  padding: 0.35rem 0.5rem;
  border-radius: var(--border-radius-sm);
  cursor: context-menu;
  transition: background-color 0.25s ease;
}
.reporting-options-nav-option:hover {
  background-color: var(--bg-color-tertiary);
}
.reporting-options-nav-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.reporting-options-nav-label {
  display: flex;
  align-items: center;
  margin-bottom: 0.25rem;
}
.reporting-options-nav-links {
  margin-left: auto;
}
.reporting-options-nav-link {
  font-size: 0.95rem;
  padding: 0.1rem 0.4rem;
  background-color: var(--bg-color-primary);
  border: 1px solid var(--color-lines);
}
.reporting-options-nav-link:not(:last-child) {
  border-right: 0;
}
.reporting-options-nav-link:first-child {
  border-top-left-radius:  var(--border-radius-sm);
  border-bottom-left-radius: var(--border-radius-sm);
}
.reporting-options-nav-link:last-child {
  border-top-right-radius:  var(--border-radius-sm);
  border-bottom-right-radius: var(--border-radius-sm);
}
.reporting-options-nav-link:hover {
  text-decoration: none;
  background-color: var(--bg-color-secondary);
  color: #000000;
}

.breadcrumbs-wrapper {
  display: flex;
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
}
.breadcrumbs {
  position: relative;
  display: flex;
  align-items: center;
}
.breadcrumbs::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1.125rem;
  margin: 0 0.5rem;
  background-color: var(--color-font);
  opacity: 0.8;
}

/*
.title-highlight {
  padding: 0.25rem 0.5rem;
  background-color: var(--color-secondary);
  border-radius: var(--border-radius);
}
*/

.window-toggle-container {
  margin-bottom: 1.5rem;
}
.week-toggle {
  width: 120px;
}
.month-toggle {
  width: 105px;
}
.SingleDatePickerInput, .DateInput, .DateInput_input {
  width: 100px !important;
  border-radius: var(--border-radius-sm);
}
.DateInput_input {
  font-family: var(--font-text) !important;
  font-weight: 400 !important;
  font-size: 1rem !important;
  color: var(--color-font) !important;
  line-height: 1 !important;
  padding: 0.3rem 0.75rem !important;
}
.DateInput_input__focused {
  border-color: var(--color-primary);
}
.CalendarDay__selected, .CalendarDay__selected:active, .CalendarDay__selected:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.subscribe-wrapper {
  padding: 1.5rem 1rem;
  background-color: var(--bg-color-secondary);
  border-radius: var(--border-radius);
  text-align: center;
}
.subscribe-text {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.subscribe-button {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 1.25rem;
  background-color: var(--color-primary);
  border-radius: 32px;
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.subscribe-button:hover {
  background-color: var(--color-primary-hover);
  text-decoration: none;
}
.subscribe-success {
  position: relative;
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.35rem 0.5rem 0.35rem 2rem;
  background-color: var(--color-positiv-bg);
  color: var(--color-positiv);
  border-radius: var(--border-radius-sm);
  font-weight: 500;
}
.subscribe-success::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 9px;
  width: 5px;
  height: 10px;
  border: solid var(--color-positiv);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.disclaimer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 1rem;
  background-color: var(--bg-color-secondary);
  border-radius: var(--border-radius);
}
.disclaimer-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3.5rem;
  min-width: 3.5rem;
  height: 3.5rem;
  font-weight: 800;
  font-size: 2.5rem;
  text-align: center;
  color: var(--color-warning);
  background-color: var(--color-warning-bg);
  border-radius: 100%;
}
.disclaimer-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin-left: 1rem;
}
.disclaimer-title {
  font-size: 1.2rem;
  font-weight: 600;
}
.disclaimer-link {
  display: inline-block;
  margin-top: 0.15rem;
}

.header {
  height: 80px;
  width: 100%;
}
.header td {
  margin: 0px;
}

.container {
  width: 900px;
  margin: 0px auto;
  max-width: 100%;
}
.wrapper {
  margin-bottom: 100px;
}
.wrapper-header {
  margin-bottom: 75px;
}
.wrapper-header.benchmark {
  margin-bottom: 50px;
}
.wrapper-header.benchmark h1 {
  margin-bottom: 0.5rem;
}
.error-msg {
  margin-top: 40px;
}

/* Highlights */
.highlights-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 500px;
}
.highlights-image-wrapper {
  width: 100%;
  max-width: 500px;
}
.highlights-image {
  width: 100%;
  height: 100%;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
  object-fit: cover;
}
.highlights-text {
  max-width: 700px;
  flex: 1;
  padding: 1rem;
  background-color: var(--bg-color-secondary);
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
  font-size: 1.1rem;
}
.highlights-text-label {
  display: inline-block;
  padding: 0.25rem 0.35rem;
  border-radius: var(--border-radius-sm);
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-weight: 500;
}
.highlights-text > div > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.highlights-text > div > ul > li {
  margin-top: 1rem;
}

/* statsbox */
.stats-wrapper {
  display: flex;
  flex-wrap: wrap;
  margin: -0.5rem;
}
.stat-item {
  width: 100%;
  max-width: calc(500px - 2rem) ;
  margin: 0.5rem;
  padding: 1rem;
  background-color: var(--bg-color-secondary);
  border-radius: var(--border-radius);
}
.kpi-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-font-disabled);
  margin-bottom: 0.5rem;
}
.kpi-value-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.kpi-value {
  font-size: 3rem;
  font-weight: 700;
}

.trend {
  width: 100%;
  font-size: 0.9rem;
  color: var(--color-font-disabled);
}
.trend-label {
  display: inline-block;
  font-weight: 600;
  margin-right: 0.15rem;
  padding: 0.15rem 0.35rem;
  border-radius: var(--border-radius-sm);
}
.trend-label.positive {
  background-color: var(--color-positiv-bg);
  color: var(--color-positiv);
}
.trend-label.negative {
  background-color: var(--color-negativ-bg);
  color: var(--color-negativ);
}
.trend-label.neutral {
  /* TODO: style neutral label */
}
.trend-label-icon {
  width: 0.625rem;
  height: 0.625rem;
  margin-right: 0.3125rem;
}

.kpi-fig {
  height: 10rem;
  margin-top: 2rem;
}

/* table */
.table-mobile-sorting {
  margin-bottom: 1rem;
  padding: 0 var(--border-radius);
}
.table-mobile-sorting-column-wrapper {
  position: relative;
}
.table-mobile-sorting-column-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  white-space: nowrap;
}
.table-mobile-sorting-column-label::after {
  content: "";
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url('https://chm-data-static.s3.eu-west-1.amazonaws.com/kompass/icon_chevron_down.svg');
  margin-left: 0.5rem;
}
.table-mobile-sorting-column-label-value {
  font-weight: 600;
  margin-left: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.table-mobile-sorting-column-options {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  width: 100%;
  background-color: var(--bg-color-primary);
  border: 1px solid var(--color-lines);
  border-radius: var(--border-radius-sm);
  z-index: 10;
}
.table-mobile-sorting-column-options.active {
  display: block;
}
.table-mobile-sorting-column-option {
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  transition: background-color 0.25s ease;
}
.table-mobile-sorting-column-option:hover {
  background-color: var(--bg-color-secondary);
}
.table-mobile-sorting-column-option.active {
  background-color: var(--color-secondary);
  font-weight: 600;
  pointer-events: none;
}
.table-mobile-sorting-column-option-label {
  margin-left: 0.25rem;
  padding: 0.05rem 0.25rem;
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-color-tertiary);
  font-size: 0.775rem;
  font-weight: 500;
}

.table-legend {
  display: none;
  color: var(--color-font-disabled);
  font-size: 0.9rem;
  padding: var(--border-radius);
}
.table-rows {
  overflow: auto;
  max-height: 850px;
}
.table-wrapper {
  width: 100%;
  margin-bottom: 2rem;
  border: 1px solid var(--color-lines);
  border-radius: var(--border-radius);
}
.table-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.5rem;
  border-bottom: 1px solid var(--color-lines);
}
.table-row:last-of-type {
  border-bottom: 1px solid transparent;
}
.table-row:nth-child(even) {
  background-color: var(--bg-color-secondary);
}
.table-header {
  display: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-font-disabled);
  padding: 0.5rem;
  background-color: var(--bg-color-secondary);
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
}
.table-header-meta, .table-row-meta {
  flex: 1;
  padding: 0.25rem;
}
.table-row-meta {
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 0.25rem;
}
.table-header-metric, .table-row-metric {
  width: 100%;
  padding: 0.25rem;
}
.table-header-meta, .table-header-metric {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.table-header-value-short {
  display: none;
}
.table-header-sorting {
  display: flex;
  flex-direction: column;
  margin-left: 0.25rem; 
}
.table-header-sorting::before, .table-header-sorting::after {
  content: "";
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.5;
}
.table-header-cell.asc > .table-header-sorting::before {
  opacity: 1;
}
.table-header-cell.desc > .table-header-sorting::after {
  opacity: 1;
}
.table-header-sorting::before {
  background-image: url('https://chm-data-static.s3.eu-west-1.amazonaws.com/kompass/icon_chevron_down.svg');
  transform: rotate(180deg);
}
.table-header-sorting::after {
  background-image: url('https://chm-data-static.s3.eu-west-1.amazonaws.com/kompass/icon_chevron_down.svg');
}
.table-row-value-label {
  font-weight: 500;
  color: var(--color-font-disabled);
}
.table-row-value {
  font-weight: 600;
}
.table-row-image {
  width: 50px;
  height: 50px;
  margin-right: 0.5rem;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
}
.table-row-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.table-row-title {
  font-weight: 500;
}
.table-row-labels {
  display: flex;
  align-items: center;
  margin-top: 0.15rem;
}
.premium-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  margin-right: 0.25rem;
  padding: 0.05rem 0.2rem;
  background-color: var(--color-secondary);
  border-radius: var(--border-radius-sm);
  text-align: center;
}
.sonderformat-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  margin-right: 0.25rem;
  padding: 0.05rem 0.2rem;
  background-color: var(--color-secondary);
  border-radius: var(--border-radius-sm);
  text-align: center;
}
.window-label {
  position: relative;
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  background-color: var(--color-secondary);
  border-radius: 100%;
}
.window-label::after {
  content: "";
  position: absolute;
  width: 0.8rem;
  height: 0.8rem;
  top: 0.2rem;
  left: 0.2rem;
  background-image: url("https://chm-data-static.s3.eu-west-1.amazonaws.com/kompass/icon_calendar.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}


.articletable {
  display: flex;
  flex-wrap: wrap;
}
.toparticle-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 1rem;
  background-color: var(--bg-color-secondary);
  border: 1px solid var(--color-lines);
  border-radius: var(--border-radius);
}
.toparticle-imageWrapper {
  position: relative;
}
.toparticle-image {
  width: 100%;
  height: 100%;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
  object-fit: cover;
}
.toparticle-label {
  position: absolute;
  top: var(--border-radius);
  left: var(--border-radius);
  padding: 0.25rem 0.35rem;
  border-radius: var(--border-radius-sm);
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 500;
} 
.toparticle-dataWrapper {
  padding: 1rem;
}
.toparticle-title {
  font-size: 1.1rem;
  font-weight: 500;
}

.articles-wrapper {
  width: 100%;
}


/* toplists */
.toplists-header {
  position: relative;
}
.section.toggle {
  position: absolute;
  top: 0px;
  right: 0px;
}
.toggle-container.section {
  width: 200px;
}
.tab-container {
  margin-bottom: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: row !important;
}
.toplists-tab {
  width: auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0.25rem;
  padding: 0.25rem 0.75rem !important;
  border: 0 !important;
  border-radius: 1rem !important;
  background-color: var(--color-secondary) !important;
  font-size: 1rem !important;
  transition: background-color 0.25s ease;
}
.toplists-tab:hover {
  background-color: var(--color-secondary--hover) !important;
}
.tab--selected {
  background: var(--color-primary) !important;
  color: #FFFFFF !important;
}
.tab--selected:hover {
  background: var(--color-primary) !important;
}
.tab-content {
  border: 1px solid var(--color-lines);
  border-radius: var(--border-radius);
}
.toplists-table {
  background-color: var(--bg-color-primary);
  border-radius: var(--border-radius);
}
.toplists-labels {
  display: flex;
  background-color: var(--bg-color-secondary);
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
}
.toplists-value-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--color-lines);
}
.toplists-value-row:last-of-type {
  border-bottom: 1px solid transparent;
}
.toplists-labels-index, .toplists-value-index {
  display: none !important;
}
.toplists-labels-article, .toplists-value-article {
  width: calc(100% - 0.25rem - 65px);
  padding: 0.25rem 0.25rem 0.25rem 65px;
}
.toplists-labels-article {
  display: flex;
}
.toplists-labels-ressort {
  display: none;
}
.toplists-value-ressort {
  width: calc(80% - 0.25rem - 65px);
  padding: 0.25rem 0.25rem 0.25rem 65px;
}
.toplists-labels-metric {
  width: 100%;
  text-align: right;
  white-space: pre-line;
  overflow: hidden;
  text-overflow: ellipsis;
}
.toplists-value-metric {
  width: calc(20% - 0.5rem);
  padding: 0.25rem;
  text-align: right;
}
.toplists-labels-index, .toplists-labels-article, .toplists-labels-ressort, .toplists-labels-metric {
  font-weight: 600;
  color: var(--color-font-disabled);
  padding: 0.5rem 0.25rem;
  align-items: center;
}
.toplists-value-index, .toplists-value-article, .toplists-value-ressort, .toplists-value-metric {
  display: flex;
  align-items: center;
  /*padding: 0.25rem;*/
}
.toplists-value-indexValue {
  font-weight: 600;
}
.toplists-value-article {
  overflow: hidden;
}
.toplists-value-image {
  position: absolute;
  width: 50px;
  height: 50px;
  top: calc(50% - 25px);
  left: 4px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
}
.toplists-value-title-wrapper {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.toplists-value-title {
  font-weight: 500;
}
.toplists-value-labels {
  display: flex;
  align-items: center;
  margin-top: 0.15rem;
}
.toplists-value-metric {
  justify-content: flex-end;
}

/* Region-Comparison */
.regioncomp-table {

}
.regioncomp-labels, .regioncomp-value-row {
  display: flex;
  flex-wrap: wrap;
  border-radius: var(--border-radius);
}
.regioncomp-value-row {
  align-items: center;
}
.regioncomp-value-row:nth-child(odd) {
  background-color: var(--bg-color-secondary);
}
.regioncomp-labels-entity, .regioncomp-value-entity {
  width: 100%;
  padding: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
}
.regioncomp-labels-metric, .regioncomp-value-metric-wrapper {
  flex: 1;
  padding: 0.5rem;
}
.regioncomp-labels-metric {
  display: flex;
  align-items: flex-end;
  font-weight: 600;
}
.regioncomp-value-metric-label {
  display: none;
}
.regioncomp-value-metric {
  font-size: 2rem;
  font-weight: 700;
}
.regioncomp-value-metric-wrapper > .trend {
  margin-top: 0.25rem;
  margin-left: 0;
  font-size: 0.85rem;
}

/* Benchmarks */
.benchmark-info {
  font-size: 1.15rem;
  font-weight: 300;
}
.benchmark-card, .benchmark-main-header {
  padding: 0.25rem 1rem;
}
.benchmark-card {
  background-color: var(--bg-color-secondary);
  border: 1px solid var(--bg-color-secondary);
}
.benchmark-card:nth-child(2) {
  padding-top: 0.5rem;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
}
.benchmark-card:last-child {
  padding-bottom: 0.5rem;
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
}
.benchmark-card.active {
  margin: 0.75rem 0;
  border-color: var(--color-lines);
}
.benchmark-card:nth-child(2).active {
  margin-top: 0;
}
.benchmark-card-element.ressorts {
  height: 0;
  opacity: 0;
  visibility: hidden;
}
.benchmark-card-element.ressorts.active {
  height: auto;
  opacity: 1;
  visibility: visible;
}
.benchmark-main-header-inner, .benchmark-entity-wrapper, .benchmark-card-header, .benchmark-entity-group-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding: 0.35rem 0.5rem;
  transition: background-color 0.25s ease;
}
.benchmark-card-header {
  display: none;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-font-disabled);
  cursor: pointer;
}
.benchmark-card.active .benchmark-card-header {
  display: flex;
}
.benchmark-card.active .benchmark-entity-group-wrapper  {
  cursor: auto !important;
}
.benchmark-entity-group-wrapper {
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
}
.benchmark-entity-wrapper, .benchmark-entity-group-wrapper {
  border-radius: var(--border-radius-sm);
}
.benchmark-entity-wrapper:hover, .benchmark-entity-group-wrapper:hover {
  background-color: var(--bg-color-tertiary);
}
.benchmark-main-header-inner .benchmark-element-name, .benchmark-card-header .benchmark-element-name {
  display: none;
}
.benchmark-element-name {
  width: calc(100% - 1.2rem);
}
.benchmark-element-value-wrapper {
  width: calc(33.33% - 0.4rem);
}
.benchmark-element-value {
  display: inline-block;
  line-height: 1;
}
.benchmark-element-value.success {
  color: var(--color-positiv);
}
.benchmark-element-value.warning {
  color: var(--color-orange);
}
.benchmark-element-value.error {
  color: var(--color-negativ);
}
.benchmark-element-trend {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 300;
  margin-left: 0.5rem;
  line-height: 1;
}
.benchmark-element-trend.success {
  color: var(--color-positiv);
}
.benchmark-element-trend.warning {
  color: var(--color-orange);
}
.benchmark-element-trend.error {
  color: var(--color-negativ);
}
.benchmark-element-sparkline-wrapper {
  display: none;
}
.benchmark-element-sparkline {
  width: 100%;
}
.benchmark-element-ressort-toggle-wrapper {
  width: 1.2rem;
  display: flex;
  align-items: center;
}
.benchmark-element-ressort-toggle {
  width: 1rem;
  height: 1rem;
  background-image: url('https://chm-data-static.s3.eu-west-1.amazonaws.com/kompass/icon_chevron_down.svg');
  background-position: center;
  background-size: 1rem;
  background-repeat: no-repeat;
  border-radius: 100%;
  cursor: pointer;
  transition: background-color 0.25s ease;
}
.benchmark-card-header .benchmark-element-ressort-toggle {
  transform: rotate(180deg);
}
.benchmark-card.active .benchmark-entity-group-wrapper .benchmark-element-ressort-toggle {
  display: none;
}

/* Article-Table */
#articles {
  width: calc(100% - 8px);
  padding: 4px;
  background-color: var(--bg-color-secondary);
  border: 1px solid var(--color-lines);
  border-radius: var(--border-radius);
}

.dash-table-tooltip {
  background-color: var(--bg-color-tertiary) !important;
  padding: 10px !important;
  border-radius: var(--border-radius-sm);
  border-color: transparent;
  color: var(--color-font);
  font-size: 13px;
}
.dash-tooltip:after{
  border-bottom-color: var(--bg-color-tertiary) !important;
}
.tooltip-inner ul {
  padding-left: 1.5rem;
}

.tooltip, .tooltip-arrow {
  background: var(--bg-color-tertiary);
  position: absolute;
}
.tooltip {
  display: none;
  max-width: 500px;
  padding: 0.75rem;
  border-radius: var(--border-radius);
  margin: 10px 0;
  font-size: 0.9rem;
}
.tooltip-arrow {
  margin-top: -10px;
  background: var(--bg-color-tertiary);
}
.tooltip-inner {
  color: var(--color-font);
}
code {
  font-size: 0.75rem !important;
  padding: 0 0.15rem;
  background-color: var(--bg-color-secondary);
}

.report-button{
  color: white;
  background: #003493;
  border-radius: 30px;
  font-size: 1.5em;
  padding: 15px 30px;
  width: 160px;
  display: inline-block;
}
.column-header--sort {
  margin-right: 2px;
}
.top-col-label {
  cursor: pointer;
  font-size: 14px;
}
.bs-tooltip-top .tooltip-arrow{
  bottom:-5px;
  left:50%;
  margin-left:-5px;
  border-left:5px solid transparent;
  border-right:5px solid transparent;
  border-top:5px solid var(--bg-color-tertiary);
  background: transparent;
}
.bs-tooltip-bottom .tooltip-arrow{
  top:5px;
  left:50%;
  margin-left:-5px;
  border-left:5px solid transparent;
  border-right:5px solid transparent;
  border-bottom:5px solid var(--bg-color-tertiary);
  background: transparent;
}
thead{
  height: 52px;
}
.info.icon {
  display: none;
  font-style: italic;
  background: var(--bg-color-tertiary);
  color: var(--color-font);
  margin-left: 5px;
  width: 13px;
  height: 13px;
  border-radius: 10px;
  font-family: times;
  font-size: 11px;
  cursor: pointer;
  top: 0px;
  vertical-align: top;
  text-align: center;
}

.unsubscribe{
  text-align: center;
  margin-top: 90px;
  margin-bottom: 20px;
  color: #b4a664;
}
.unsubscribe a {
  text-decoration: underline;
}
.dt-table-container__row-0{
  z-index: 0;
}
.dash-header:nth-child(n+2) .column-header-name{
  text-align: right;
}
.window_links a{
  width: 82px;
  padding: 1px;
  background: #828282;
  border-radius: 18px;
  text-align: center;
  color: white;
  float: right;
  margin-right: 7px;
  cursor: pointer;
  font-size: 11px;
  margin-top: 2px;
}
.window_links a:hover{
  text-decoration: none;
}

.item.error{
  display: flex;
  justify-content: center;
}
.item.error.error-options {
  justify-content: flex-start;
}
.error-inner {
  width: 100%;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
  color: var(--color-warning);
  background-color: var(--color-warning-bg);
  border-radius: var(--border-radius);
}

/* RESPONSIVE */
/* SM: ≥576px */
@media only screen and (min-width: 576px) {
  .reporting-options-nav-wrapper.level-2 {
    margin-left: 2rem;
  }
  .reporting-options-nav-option {
    display: flex;
  }
  .reporting-options-nav-label {
    margin-bottom: 0;
  }
  .reporting-options-nav-links {
    margin-left: auto;
  }
  .reporting-options-nav-inner.hasSubmenu > .reporting-options-nav-option > .reporting-options-nav-links {
    margin-left: auto;
  }
  .toparticle-wrapper {
    display: flex;
  }
  .toparticle-image {
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: 0;
    border-bottom-left-radius: var(--border-radius);
  }
  .kpi-value-wrapper {
    flex-wrap: nowrap;
  }
  .trend {
    margin-left: 1.5rem;
  }
  .error-inner {
    width: 400px;
  }
  .home-tile {
    width: calc(50% - 3rem);
  }

  .benchmark-main-header-inner, .benchmark-entity-wrapper, .benchmark-card-header, .benchmark-entity-group-wrapper {
    justify-content: flex-start;
    flex-wrap: nowrap;
  }
  .benchmark-main-header-inner .benchmark-element-name, .benchmark-card-header .benchmark-element-name {
    display: block;
  }
  .benchmark-element-name {
    width: 34%;
  }
  .benchmark-element-value-wrapper {
    width: 22%;
  }
}

/* MD: ≥768px */
@media only screen and (min-width: 768px) {
  .app-header {
    width: auto;
    height: 100%;
    padding: 1rem 0.75rem;
    border-bottom: 0;
    border-right: 1px solid var(--color-lines);
  }  
  .app-content {
    padding: 1rem 1rem 1rem calc(44px + 2rem);
  }

  .highlights-wrapper {
    flex-wrap: nowrap;
    max-width: 100%;
  }
  .highlights-image-wrapper {
    width: 40%;
  }
  .highlights-image {
    border-radius: var(--border-radius);
  }
  .highlights-text {
    margin-left: 1rem;
    border-radius: var(--border-radius);
  }

  .stat-item {
    width: calc(33.33% - 3rem);
  }
  .kpi-value-wrapper {
    flex-wrap: wrap;
  }
  .trend {
    margin-left: 0;
  }

  .toplists-labels-index, .toplists-value-index {
    display: flex !important;
    width: 25px;
  }
  .toplists-labels-article, .toplists-value-article {
    flex: 1;
  }
  .toplists-labels-ressort, .toplists-value-ressort {
    display: flex !important;
    width: 125px;
  }
  .toplists-labels-metric, .toplists-value-metric {
    width: 175px;
    text-align: right;
  }
  .toplists-value-index, .toplists-value-article, .toplists-value-ressort, .toplists-value-metric {
    padding: 0.25rem;
  }
  .toplists-value-image {
    position: relative;
    width: 40px;
    height: 40px;
    top: unset;
    left: unset;
    margin-right: 0.5rem;
  }

  .regioncomp-labels, .regioncomp-value-row {
    flex-wrap: nowrap;
  }
  .regioncomp-labels-entity, .regioncomp-value-entity {
    max-width: 300px;
    width: 20%;
  }
  .regioncomp-labels-metric, .regioncomp-value-metric-wrapper {
    border-left: 1px solid var(--color-lines);
  }
  .regioncomp-value-metric-wrapper > .trend {
    font-size: 0.9rem;
  }

  .table-mobile-sorting {
    display: none;
  }
  .table-legend {
    display: block;
  }
  .table-header {
    display: flex;
    align-items: center;
    padding: 0 15px 0 0;
  }
  .table-rows {
    max-height: 600px;
  }
  .table-row {
    flex-wrap: nowrap;
    padding: 0;
  }
  .table-row:nth-child(even) {
    background-color: transparent;
  }
  .table-header-meta, .table-row-meta {
    min-width: 350px;
    margin-bottom: 0;
  }
  .table-header-metric, .table-row-metric {
    width: 150px;
    text-align: right;
  }
  .table-header-metric {
    justify-content: flex-end;
  }
  .table-row-value-label {
    display: none;
  }
  .table-row-value {
    font-weight: 400;
  }
  .table-row-image {
    width: 40px;
    height: 40px;
  }
  .table-header-metric {
    overflow: hidden;
  }
  .table-header-value {
    display: none;
  }
  .table-header-value-short {
    display: block;
  }

  .tooltip {
    display: block;
  }
  .info.icon {
    display: inline-block;
  }

  .home-tile {
    width: auto;
  }

  .benchmark-element-name {
    width: 30%;
  }
  .benchmark-element-value-wrapper {
    width: 15%;
  }
  .benchmark-element-sparkline-wrapper {
    display: block;
    width: calc(25% - 2rem);
  }
  .benchmark-element-ressort-toggle-wrapper {
    width: 2rem;
  }
  .benchmark-element-ressort-toggle {
    width: 1.5rem;
    height: 1.5rem;
    background-size: 1.15rem;
  }
}

/* LG: ≥992px */
@media only screen and (min-width: 992px) {
  .table-legend {
    display: none;
  }
  .table-header-value {
    display: block;
  }
  .table-header-value-short {
    display: none;
  }
  .table-header-value {
    overflow: hidden;
  }
  .table-header-value-element {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .table-header-meta, .table-row-meta {
    min-width: 425px;
  }
  .table-header-metric.small, .table-row-metric.small {
    width: 120px;
    text-align: right;
  }
}

/* XL: ≥1300px */
@media only screen and (min-width: 1285px) {
  .app-header {
    display: none;
  }
  .app-navigation {
    transform: none;
  }
  .app-content {
    padding: 1rem 2rem 1rem calc(var(--navigation-width) + 2rem);
  }
  .header-close-button {
    display: none;
  }
}

/* XXL: ≥1500px */
@media only screen and (min-width: 1500px) {
  .stats-wrapper {
    margin: -1rem;
  }
  .stat-item {
    width: calc(33.33% - 4rem);
    margin: 1rem;
  }
  .toparticle-wrapper {
    display: block;
    width: calc(30% - 4rem);
    margin-right: 1rem;
    margin-bottom: 0;
  }
  .toparticle-dataWrapper {
    padding: 0.5rem;
  }
  .toparticle-image {
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    border-bottom-left-radius: 0;
  }

  .kpi-value-wrapper {
    flex-wrap: nowrap;
  }
  .trend {
    margin-left: 1.5rem;
  }

  .toplists-labels-ressort, .toplists-value-ressort {
    width: 200px;
  }
}
