/* fixed announcement */
body.show-announcement .announcement {
  display: inherit;
}
body.show-announcement .navbar.fixed-top {
  top: 70px;
}
@media screen and (min-width: 992px) {
  body.show-announcement #cbed-glossary-panel .handle {
    top: 300px;
  }
  body.show-announcement #cbed-glossary-list_wrapper {
    padding-top: 100px;
  }
}

.announcement {
  position: absolute;
  top: -70px;
  left: 0;
  width: 100%;
  height: 70px;
  background: #ff9400;
  background-size: cover;
  background-position: top right;
  display: none;
  font-size: 20px;
}
.announcement:before {
  content: '';
  position: absolute;
  background: url(../images/announcement-left.jpg) no-repeat;
  background-size: cover;
  left: 0;
  height: 100%;
  width: 250px;
}
.announcement:after {
  content: '';
  position: absolute;
  background: url(../images/announcement-right.jpg) no-repeat;
  background-size: cover;
  right: 0;
  height: 100%;
  width: 300px;
}
#announcement-close {
  position: absolute;
  top: 50%;
  right: 34px;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 10;
}
.announcement-container {
  margin: auto;
  width: 100%;
  z-index: 9;
}
.announcement-container p {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  height: 100%;
}
.announcement-container p span {
  height: 30px;
  display: inline-block;
  margin-left: 10px;
  margin-right: 10px;
}
.announcement-container p a {
  color: #fff;
  font-family: Rubik, sans-serif;
  font-size: 20px;
}
@media screen and (max-width: 1023px) and (min-width: 992px) {
  .announcement-container p a {
    color: #fff;
    font-size: 24px;
    line-height: 34px;
  }
}

@media screen and (max-width: 991px) {
  .cbed-glossary-item-modal .modal-dialog {
    max-width: inherit;
  }
  body.show-announcement .navbar.fixed-top {
    top: 60px;
  }
  .announcement {
    height: 60px;
    top: -60px;
  }
  .announcement-container p a {
    color: #fff;
    font-size: 24px;
    line-height: 34px;
  }
  body.show-announcement .cbed-glossary-item-modal .modal-dialog {
    margin-top: 165px !important;
  }

  body.show-announcement #cbed-glossary-reveal {
    /* 60px is announcement height */
    top: calc(128px + 60px);
  }
  body.show-announcement #cbed-glossary-list_wrapper {
    padding-top: 110px;
  }
  body.show-announcement #cbed-glossary-wrapper {
    height: 55vh;
  }
}

@media screen and (max-width: 767px) {
  body.show-announcement #cbed-glossary-reveal {
    /* 60px is announcement height */
    top: calc(68px + 60px);
  }
  body.show-announcement #cbed-glossary-list_wrapper {
    padding-top: 50px;
  }
  body.show-announcement #cbed-glossary-wrapper {
    height: 55vh;
  }
  body.show-announcement #cbed-signup-block {
    margin-top: 128px !important;
  }
  body.show-announcement #cbed-main-block .cbed-main-block-wrapper {
    margin-top: 80px;
  }
}

@media screen and (max-width: 767px) {
  .announcement-container svg:first-of-type {
    width: 16px;
    height: 16px;
  }
  .announcement-container svg:last-of-type {
    width: 10px;
    height: 17px;
  }
  .announcement-container p a {
    font-size: 14px;
  }
  #announcement-close {
    width: 18px;
    right: 15px;
  }
}
