﻿.announcement-bar.announcement-wrapper {
  position: relative;
  z-index: 110;
  background: var(--active-color);
  color: var(--white);
}

.announcement-wrapper .swiper {
  padding: 0;
}

.announcement-minimized .swiper {
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden;
}

.announcement-minimized #announcement-close {
  display: none;
}

#announcement-slider .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 35px;
  padding: 8px 48px;
  background: var(--active-color);
  color: var(--white);
  text-align: center;
}

#announcement-slider .announcement-item {
  display: block;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14px;
  line-height: 1.25;
}

#announcement-slider .announcement-item .announcement-title {
  display: inline;
  max-width: none;
  text-align: center;
}

#announcement-slider a {
  color: var(--white);
  font-weight: 600;
}

#announcement-slider .announcement-toggle {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-weight: 600;
  margin-left: 8px;
  vertical-align: middle;
}

#announcement-close,
#announcement-minimize {
  border: none;
  cursor: pointer;
  color: var(--white);
  padding: 0;
}

#announcement-close {
  position: absolute;
  top: 50%;
  right: 12px;
  z-index: 10;
  width: 32px;
  height: 32px;
  background: transparent;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

#announcement-close .icon,
#announcement-minimize .icon {
  display: none;
}

#announcement-close::before {
  font-family: 'icomoon';
  content: "\eac6";
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-size: 12px;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#announcement-minimize {
  position: absolute;
  top: 100%;
  right: 56px;
  z-index: 110;
  width: 28px;
  height: 14px;
  background: var(--active-color);
  border-radius: 0 0 8px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#announcement-minimize::before {
  font-family: 'icomoon';
  content: "\e992";
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-size: 12px;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.announcement-minimized #announcement-minimize::before {
  content: "\e98b";
}

.announcement-description {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 0;
  padding: 60px 15px;
  color: var(--black);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.announcement-description .announcement-description-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--black);
  cursor: pointer;
}

.announcement-description .announcement-description-close .icon {
  display: none;
}

.announcement-description .announcement-description-close::before {
  font-family: 'icomoon';
  content: "\e998";
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.announcement-description.show {
  display: block;
  max-height: 100vh;
  background: var(--white);
  opacity: 1;
  visibility: visible;
  z-index: 100;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

@media (max-width: 769px) {
  #announcement-slider .swiper-slide {
    min-height: 35px;
    padding: 8px 40px;
  }

  #announcement-slider .announcement-item {
    font-size: 12px;
  }

  #announcement-slider .announcement-toggle {
    margin-left: 4px;
  }

  #announcement-close {
    right: 8px;
    width: 28px;
    height: 28px;
  }

  #announcement-close::before {
    font-size: 18px;
  }

  #announcement-minimize {
    right: 40px;
  }
}
