:root {
  --news-dark-gray: #384043;
  --news-light-gray: #A9ABAC;
  --news-blue: #009AD9;
}

#news-market{
  position: absolute;
  left: 0;
  right: 0;
  z-index: 10;
}


.news-market {
  padding: 12px 0;
  background: #00577A;
  position: relative;
  z-index: 10;
}

#news-market.active .news-market{
  background: #fff;
}

.news-market .container {
  position: relative;
}

.news-teaser {
  display: flex;
  min-width: 100%;
  height: 0;
  overflow: hidden;
}

.news-teaser__left {
  position: relative;
  color: var(--news-blue);
  padding-right: 20px;
}

.news-teaser__date {
  margin-left: 10px;
  white-space: nowrap;
  color: var(--news-light-gray);
}

.news-teaser__right {
  margin-left: 10px;
}

.news-teaser__link {
  display: flex;
  flex-wrap: nowrap;
  text-decoration: none;
  border: 0;
}

.news-teaser__link:hover .news-teaser__title,
.news-teaser__link:hover .news-teaser__description{
  color: #ff6317 !important;
}

.news-teaser__title {
  flex: 1;
  white-space: nowrap;
  margin-right: 25px;
  font-size: 18px;
  line-height: 22px;
  color: var(--news-dark-gray);
  transition: color 0.2s;
}

.news-teaser__description {
  flex: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 20px;
  color: var(--news-dark-gray);
  transition: color 0.2s;
}

.news-teaser__more {
  color: var(--news-blue);
  /*min-width: 140px;*/
}

.news-teaser--top {
  height: auto;
}

.news-teaser .news-market__category {
  visibility: hidden;
}

.news-teaser--top .news-teaser__left {
  cursor: pointer;
}

.news-teaser--top .news-teaser__left::after {
  content: '';
  background-image: url(chevron-up.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  right: 0;
  top: 9px;
  width: 11px;
  height: 6px;
  opacity: 0.55;
  transform: rotate(-180deg);
  transition: transform 0.3s;
}

.news-teaser--top .news-teaser__date{
  color: var(--news-blue);
}

.news-teaser--top .news-market__category {
  visibility: visible;
  white-space: nowrap;
}

.news-teaser--top .news-teaser__title {
  color: #FFFFFF;
}

.news-teaser--top .news-teaser__description {
  color: #99BCCA;
}

#news-market.active .news-teaser {
  margin-bottom: 8px;
  height: auto;
}

#news-market.active .news-teaser:last-child {
  margin-bottom: 0;
}


#news-market.active .news-teaser--top .news-teaser__date{
  color: var(--news-light-gray);
}
#news-market.active .news-teaser--top .news-teaser__left::after {
  transform: rotate(0);
}

#news-market.active .news-teaser--top .news-teaser__title,
#news-market.active .news-teaser--top .news-teaser__description {
  color: var(--news-dark-gray);
}

#news-market .overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9;
  opacity: 0.5;
  background: #000;
}

#news-market.active .overlay {
  display: block;
}
