.kb-news-ticker-body_open {
  padding-bottom: var(--ticker-height);
}

.kb-news-ticker-alert {
  margin: 0;
}
body:not(.has-control-menu) .kb-news-ticker-alert, .controls-hidden .kb-news-ticker-alert {
  display: none;
}

.kb-news-ticker {
  background: var(--ticker-background);
  height: 0;
  transition: height 0.1s ease-in-out;
  overflow: hidden;
}
.kb-news-ticker_global {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
}
body.open .kb-news-ticker_global {
  left: 320px;
}
body.open-admin-panel .kb-news-ticker_global {
  right: 320px;
}
.kb-news-ticker_open {
  height: var(--ticker-height);
}

.kb-news-ticker__fader {
  height: 100%;
}

.kb-news-ticker__news-list {
  position: relative;
  box-sizing: border-box;
  height: 100%;
  margin: 0;
  padding: var(--ticker-padding);
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  transition-duration: 0.2s;
  font-size: var(--ticker-font-size);
}

.kb-news-ticker__news-item {
  flex-shrink: 0;
}
.kb-news-ticker__news-item a, .kb-news-ticker__news-item a:focus, .kb-news-ticker__news-item a:active, .kb-news-ticker__news-item a:hover {
  color: var(--ticker-color);
}
.kb-news-ticker__news-item a:hover {
  text-decoration: underline;
}

.kb-news-ticker__separator {
  flex-shrink: 0;
  width: var(--ticker-separator-width);
}

body:not(.has-control-menu) .ticker-portlet .portlet, .controls-hidden .ticker-portlet .portlet {
  margin: 0 !important;
}