/*
  Font family is Nunito Sans. Its fallback is Helvetica
*/
/*
  Font sizes have been converted to rem considering a base size of 16px.
*/
/*
*  Z-Index
*  
*  The z-index CSS property sets the z-order of a positioned element and its descendants or flex items. 
*  Overlapping elements with a larger z-index cover those with a smaller one.
*  
*  REF: https://developer.mozilla.org/en-US/docs/Web/CSS/z-index
*  REF: https://www.smashingmagazine.com/2019/04/z-index-component-based-web-application/  
*/
/**
* Define media query values
*/
:host {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: fit-content;
  font-family: "Nunito Sans", "Carbona", "Tahoma", "Helvetica", "Arial", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
}
:host .banner__holder {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 8px 16px;
  min-height: 40px;
  color: var(--color-content-default, rgb(40, 40, 40));
}
:host .banner__holder--context--inside {
  border-radius: 8px;
}
:host .banner__holder--align--left {
  justify-content: flex-start;
}
:host .banner__holder--align--right {
  justify-content: flex-start;
}
:host .banner__holder--warning {
  background-color: var(--color-warning, rgb(253, 233, 155));
}
:host .banner__holder--system {
  background-color: var(--color-system, rgb(178, 223, 253));
}
:host .banner__holder--info {
  background-color: var(--color-info, rgb(128, 227, 235));
}
:host .banner__holder--error {
  background-color: var(--color-error, rgb(250, 190, 190));
}
:host .banner__holder--success {
  background-color: var(--color-success, rgb(132, 235, 188));
}
:host .banner__content {
  display: flex;
  align-items: center;
  width: 100%;
}
:host .banner__content--left {
  justify-content: flex-start;
}
:host .banner__content--center {
  justify-content: flex-start;
}
:host .banner__content--right {
  justify-content: flex-start;
}
:host .banner__content .slot {
  display: flex;
  justify-content: space-between;
  margin-left: 8px;
  width: 100%;
  color: var(--color-content-default, rgb(40, 40, 40));
}
:host .banner__action {
  display: inline-flex;
  align-items: center;
}
:host .banner__action .close {
  cursor: pointer;
  display: flex;
  margin-left: 8px;
}

.space_left {
  display: flex;
}

:host(.banner--hide) {
  display: none;
}