/*                      *
 *  Announcement Banner *
 *                      */ 
@keyframes slideDown {
    0% { transform: translateY(-100%); visibility: visible; height: auto; }
    100% { transform: translateY(0); }
}
@keyframes slideUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); visibility: hidden; height: 0; }
}
.global-announcement-bar {
    animation: slideDown 0.5s ease-in-out forwards;
}
.global-announcement-bar.hidden {
    animation: slideUp 0.5s ease-in-out forwards;
    overflow: hidden;
}
.global-announcement-bar {
  position: relative;
  background-color: #221f54;
  width: 100%;
  min-height: 240px;
  z-index: 9;
  top: 70px;
  display: flex;
  align-items: center;
  flex-direction: column;
  visibility: visible;
  transition: height 0.5s ease-in-out, visibility 0.5s ease-in-out;
}
.global-announcement-bar .announcement {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 180px;
  flex-direction: column;
  width: 100%;
  padding: 10px;
}
.global-announcement-bar .announcement p {
  color: #fff;
  font-size: 16px;
  margin-top: inherit;
  margin-bottom:.5rem;
}
.global-announcement-bar .close-button {
  width: 40px;
  height: 40px;
  cursor: pointer;
  margin-top: -1rem;
  margin-bottom: 2rem;
  background: url('/wp-content/themes/Quorum-Theme/dist/images/announcementbar_close.png');
  background-size: contain;
  background-repeat: no-repeat;
}
.global-announcement-bar.alt {
  background-color: var(--bg-color-cool-gray);
}
.global-announcement-bar.alt .announcement p {
  color: var(--bg-color-indigo);
}
.global-announcement-bar.alt .close-button {
  background: url('/wp-content/themes/Quorum-Theme/dist/images/announcementbar_alt_close.png');
  background-size: contain;
  background-repeat: no-repeat;
}
.global-announcement-bar.alt .readmore_btn {
  background-color: var(--bg-color-indigo);
  border-color: var(--bg-color-indigo);
  min-width: fit-content;
}
.global-announcement-bar.alt .readmore_btn:hover {
  background-color: var(--bg-color-plum);
  border-color: var(--bg-color-plum);
}
@media screen and (min-width: 768px) {
  .global-announcement-bar {
    flex-direction: row;
    min-height: 70px;
  }
  .global-announcement-bar .announcement {
    flex-direction: row;
    justify-content: center;
    min-height: 70px;
    max-width: 1077px;
    margin: 0 auto;
    padding: 0;
  }
  .global-announcement-bar .announcement p {
    margin-bottom: inherit;
    margin-right: 2.5rem;
    margin-left: 0;
  }
  .global-announcement-bar .close-button {
    margin-top: 0;
    margin-right: 1rem;
    margin-left: 1rem;
    margin-bottom: 0;
    display: flex;
    width: 30px;
    height: 30px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1200px) {
  .global-announcement-bar .announcement {
    padding: 20px;
  }
  .global-announcement-bar .readmore_btn,
  .global-announcement-bar.alt .readmore_btn {
    min-width: 30%;
  }
}