/* Connect2me — Announcement bar slider */

div.c2m-announcement-bar {
  --c2m-bar-bg: #1a122f;
  --c2m-bar-text: #ffffff;
  --c2m-bar-arrow: rgba(255, 255, 255, 0.55);
  --c2m-bar-arrow-hover: #ffffff;
  --c2m-bar-link-hover: #00bfa5;

  position: relative;
  display: flex;
  align-items: center;
  max-width: 710px;
  width: 100%;
  margin: 0 auto;
  background: var(--c2m-bar-bg);
  color: var(--c2m-bar-text);
  height: 38px;
  overflow: hidden;
  font-family:
    var(--secondary-font-family), 'Inter', Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 500;
  box-sizing: border-box;
}

div.c2m-announcement-bar * {
  box-sizing: border-box;
}

div.c2m-announcement-bar button.c2m-announcement-bar__arrow {
  flex: 0 0 32px !important;
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  font-size: 0 !important;
  line-height: 0 !important;
  cursor: pointer;
  z-index: 2;
  appearance: none !important;
  -webkit-appearance: none !important;
}

div.c2m-announcement-bar button.c2m-announcement-bar__arrow svg {
  width: 13px !important;
  height: 13px !important;
  fill: var(--c2m-bar-arrow) !important;
  transition: fill 0.15s ease;
  flex-shrink: 0 !important;
}

div.c2m-announcement-bar button.c2m-announcement-bar__arrow:hover svg,
div.c2m-announcement-bar button.c2m-announcement-bar__arrow:focus-visible svg {
  fill: var(--c2m-bar-arrow-hover) !important;
}

div.c2m-announcement-bar div.c2m-announcement-bar__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  height: 100%;
  position: relative;
  touch-action: pan-y;
  cursor: grab;
}

div.c2m-announcement-bar div.c2m-announcement-bar__viewport.is-dragging {
  cursor: grabbing;
}

div.c2m-announcement-bar div.c2m-announcement-bar__track {
  display: flex;
  height: 100%;
  width: 100%;
  transform: translateX(calc(-100% * var(--c2m-index, 0)));
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

div.c2m-announcement-bar div.c2m-announcement-bar__track.is-dragging,
div.c2m-announcement-bar div.c2m-announcement-bar__track.is-snapping {
  transition: none;
}

div.c2m-announcement-bar div.c2m-announcement-bar__slide {
  flex: 0 0 100%;
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 8px;
  user-select: none;
  -webkit-user-select: none;
}

div.c2m-announcement-bar p.c2m-announcement-bar__text,
div.c2m-announcement-bar a.c2m-announcement-bar__link {
  margin: 0 !important;
  padding: 0 !important;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

div.c2m-announcement-bar a.c2m-announcement-bar__link {
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

div.c2m-announcement-bar a.c2m-announcement-bar__link:hover,
div.c2m-announcement-bar a.c2m-announcement-bar__link:focus-visible {
  text-decoration: none;
}

@media (max-width: 600px) {
  div.c2m-announcement-bar {
    height: 34px;
    max-width: 400px;
  }

  div.c2m-announcement-bar button.c2m-announcement-bar__arrow {
    flex-basis: 26px !important;
    width: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
  }

  div.c2m-announcement-bar p.c2m-announcement-bar__text,
  div.c2m-announcement-bar a.c2m-announcement-bar__link {
    white-space: normal;
  }
}
