/*
  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, #282828);
}
: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, #fde99b);
}
:host .banner__holder--system {
  background-color: var(--color-system, #b2dffd);
}
:host .banner__holder--info {
  background-color: var(--color-info, #80e3eb);
}
:host .banner__holder--error {
  background-color: var(--color-error, #fabebe);
}
:host .banner__holder--success {
  background-color: var(--color-success, #84ebbc);
}
: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, #282828);
}
: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;
}