:host {
  display: block;
  font-size: var(--font-body-1-bold-font-size, 1rem);
  /*This is here to fix the issue of setting font-size on parent and having it override the component styling*/
  line-height: var(--line-height-base, 1.5rem);
  /*This is here to fix the issue of setting line-height on parent and having it override the component styling*/
  text-align: center;
}

:host([tag]) {
  display: inline-block;
  font-size: var(--font-body-2-bold-font-size, 0.875rem);
  /*This is here to fix the issue of setting font-size on parent and having it override the component styling*/
  line-height: var(--line-height-base, 1.5rem);
  /*This is here to fix the issue of setting line-height on parent and having it override the component styling*/
  text-align: left;
}

:host([hidden]) {
  display: none;
}

.rux-classification {
  padding: 0 var(--spacing-2, 0.5rem);
  font-family: var(--font-body-1-bold-font-family, 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif);
  font-size: var(--font-body-1-bold-font-size, 1rem);
  font-weight: var(--font-body-1-bold-font-weight, 700);
  letter-spacing: var(--font-body-1-bold-letter-spacing, 0.005em);
  line-height: var(--font-body-1-bold-line-height, calc(24 / 16));
  color: var(--color-text-white, #ffffff);
  background-color: var(--classification-banner-color-background-unclassified, #007a33);
  text-transform: uppercase;
}

.rux-classification--banner {
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: var(--spacing-6, 1.5rem);
  overflow-wrap: anywhere;
  color: var(--color-text-white, #ffffff);
  background-color: var(--classification-banner-color-background-unclassified, #007a33);
  position: sticky;
  top: 0;
  left: 0;
  flex-wrap: nowrap;
  flex-grow: 1;
}
.rux-classification--banner__footer {
  bottom: 0;
  top: inherit;
  position: sticky;
}

.rux-classification--tag {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  padding: var(--spacing-1, 0.25rem) var(--spacing-3, 0.75rem);
  line-height: var(--font-body-2-bold-line-height, calc(20 / 14));
  border-radius: var(--radius-base, 3px);
  font-family: var(--font-body-2-bold-font-family, 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif);
  font-size: var(--font-body-2-bold-font-size, 0.875rem);
  font-weight: var(--font-body-2-bold-font-weight, 700);
  letter-spacing: var(--font-body-2-bold-letter-spacing, 0.005em);
}

:host([classification=top-secret-sci]) .rux-classification {
  background-color: var(--classification-banner-color-background-topsecretsci, #fce83a);
  color: var(--color-text-black, #000000);
}

:host([classification=top-secret]) .rux-classification {
  background-color: var(--classification-banner-color-background-topsecret, #ff8c00);
  color: var(--color-text-black, #000000);
}

:host([classification=secret]) .rux-classification {
  background-color: var(--classification-banner-color-background-secret, #c8102e);
}

:host([classification=confidential]) .rux-classification {
  background-color: var(--classification-banner-color-background-confidential, #0033a0);
}

:host([classification=cui]) .rux-classification,
:host([classification=controlled]) .rux-classification {
  background-color: var(--classification-banner-color-background-cui, #502b85);
}

:host([classification=unclassified]) .rux-classification {
  background-color: var(--classification-banner-color-background-unclassified, #007a33);
}