/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

.announcementBar {
  position: relative;
  width: 100%;
  background-color: var(--ifm-color-primary);
  color: var(--ifm-color-black);
}

.announcementBarClose {
  position: absolute;
  right: 0;
  top: 0;
  width: 55px;
  font-size: 1.25rem;
  padding: 0;
  border: none;
  cursor: pointer;
  background: none;
  color: inherit;
  height: 100%;
}

.announcementBarContent {
  font-size: 85%;
  width: 100%;
  text-align: center;
  padding: 5px 0;
  margin-right: 55px;
}

@media screen and (max-width: 576px) {
  .announcementBarClose {
    width: 35px;
  }
  .announcementBarContent {
    width: auto;
    margin-right: 35px;
  }
}

.announcementBarContent a {
  color: inherit;
  text-decoration: underline;
}
