/* ============================ Notification Messages ============================ */
.header__outer-wrapper #notification-message__wrapper {
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
}
@media only screen and (min-width: 768px) {
  .header__outer-wrapper #notification-message__wrapper {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
}

@media only screen and (min-width: 0) and (max-width: 767px) {
  #notification-message .container {
    -webkit-box-align: baseline;
        -ms-flex-align: baseline;
            align-items: baseline;
  }
  #notification-message .close-btn img {
    max-width: 30px;
    height: auto;
  }
  #notification-message #block-limitlesslibraries-notificationmessages .message {
    display: block !important;
  }
  #notification-message #block-limitlesslibraries-notificationmessages .message .field--name-field-headline p {
    font-size: 13px;
  }
  #notification-message #block-limitlesslibraries-notificationmessages .message .field--name-message p {
    font-size: 12px;
  }
  #notification-message #block-limitlesslibraries-notificationmessages .message .field--name-field-read-more-url a {
    font-size: 14px;
  }
  #notification-message .col-sm-10.msg-body {
    width: 100%;
  }
  #notification-message .col-sm-2.close-btn span {
    right: 15%;
    bottom: -13px;
    font-size: 10px;
  }
  #notification-message .col-sm-2.close-btn img {
    height: 21px;
  }
}
#notification-message__wrapper {
  margin: auto;
}
#notification-message__wrapper .region-notification-message {
  position: relative;
  max-width: 1250px;
  margin: 0 auto;
}
#notification-message__wrapper .region-notification-message:after {
  content: "";
  position: absolute;
  top: -51px;
  right: 12px;
  border-bottom: 6px solid #ede721;
  border-left: 6px solid rgba(0, 0, 0, 0);
  border-right: 6px solid rgba(0, 0, 0, 0);
}
#notification-message__wrapper .msg-body {
  background: #eae71c;
  padding: 0;
}
#notification-message__wrapper .notification-messages > .message {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 20px 0;
  border-bottom: solid 1px #7c7c7c;
}
#notification-message__wrapper .notification-messages > .message:first-child {
  padding-top: 0;
}
#notification-message__wrapper .notification-messages > .message:last-child {
  border-bottom: none;
}
#notification-message__wrapper .notification-messages > .message .message__link {
  margin: 0 0 0 10px;
}

@media screen and (max-width: 767px) {
  #notification-message__wrapper .region-notification-message:after {
    display: none;
  }
}
@media screen and (max-width: 1324px) {
  #notification-message__wrapper .region-notification-message {
    padding-left: 30px;
    padding-right: 30px;
  }
}
@media screen and (min-width: 1325px) {
  #notification-message__wrapper {
    padding-left: 30px;
    padding-right: 30px;
  }
  #notification-message__wrapper .region-notification-message {
    padding-left: 30px;
    padding-right: 30px;
  }
}
@media screen and (min-width: 980px) {
  #notification-message__wrapper .region-notification-message:after {
    top: -76px;
    right: 28px;
  }
}
@media screen and (min-width: 1280px) {
  #notification-message__wrapper .region-notification-message:after {
    top: -66px;
    right: 12px;
  }
}
.message__content {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  color: #292929;
  font-size: 16px;
  line-height: 1.5;
}
.message__content p {
  color: #292929;
  font-size: 16px;
  line-height: 1.5;
}
.message__content a {
  color: #292929;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: underline;
}

.message__content .field--name-field-headline {
  -webkit-box-flex: 3;
      -ms-flex: 3;
          flex: 3;
}

.message__content .field--name-field-read-more-url {
  margin-top: 16px;
}

.field--type-text-long {
  width: 100%;
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
}

#notification-message__wrapper {
  display: none;
  position: relative;
}
#notification-message__wrapper.notification-open {
  display: block;
}
@media screen and (max-width: 768px) {
  #notification-message__wrapper:after {
    right: 72px;
  }
  #notification-message__wrapper.notification-open {
    margin-bottom: 20px;
  }
}
@media screen and (min-width: 769px) {
  #notification-message__wrapper.notification-open {
    margin-bottom: -50px;
  }
}
#notification-message__wrapper {
  z-index: 11;
  width: calc(100% - 30px);
  background-color: #ede721;
  position: relative;
}
#notification-message__wrapper.notification-open .msg-body {
  width: 100%;
  left: 0;
}

@media screen and (min-width: 768px) {
  .message__content {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .message__content .field--name-field-read-more-url {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    text-align: right;
    margin-top: 0;
  }
}
@media screen and (min-width: 768px) and (max-width: 1279px) {
  #notification-message__wrapper {
    padding-top: 45px;
    padding-bottom: 0;
  }
  #notification-message__wrapper:after {
    right: 12px;
  }
  #notification-message__wrapper.notification-open {
    top: -50px;
  }
}
@media screen and (min-width: 980px) {
  #notification-message__wrapper {
    padding-top: 70px;
    padding-bottom: 0;
  }
}
@media screen and (min-width: 1280px) {
  #notification-message__wrapper {
    padding-top: 60px;
  }
}
@media screen and (min-width: 1278px) {
  #notification-message__wrapper.notification-open {
    top: -50px;
  }
}
@media screen and (max-width: 767px) {
  .mobile-notification-bar {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    background-color: #ede721;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 5px 10px 5px 15px;
    position: relative;
  }
  .mobile-notification-bar .text-wrapper {
    margin: 0 0 0 5px;
    font-weight: 500;
  }
  .mobile-notification-bar .image-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 36px;
    height: 36px;
  }
  .mobile-notification-bar .close-btn {
    -webkit-box-flex: 0;
        -ms-flex: none;
            flex: none;
    width: 100%;
    height: 36px;
    padding: 0;
    border: 0;
    font-weight: 700;
    color: #000;
    background-color: #ede721;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .mobile-notification-bar .close-btn img {
    width: auto;
  }
  .mobile-notification-bar .close-btn img.opened {
    display: block !important;
  }
  .mobile-notification-bar .close-btn img.closed {
    display: none !important;
  }
  .mobile-notification-bar .close-btn.closed img.opened {
    display: none !important;
  }
  .mobile-notification-bar .close-btn.closed img.closed {
    display: block !important;
  }
  .region-notification-message {
    padding-top: 35px;
  }
}
@media screen and (min-width: 768px) {
  .mobile-notification-bar {
    display: none;
  }
}