.messagebox-container .event-modal {
  position: absolute;
  margin: auto;
  width: 600px;
  background: #00a1e0;  /* keep your blue */
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  padding: 20px;
  overflow-y: auto;
  color: #fff;          /* white text */
  font-family: "Segoe UI", Arial, sans-serif;
  overflow: visible;
}

.messagebox-container .modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  transition: opacity .2s;
}
.messagebox-container .modal-close:hover { opacity: 0.7; }

.event-modal .event-card {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

.event-modal .event-card:last-of-type {
  /* styles for only the last .event-card */
  border:none;
  margin-bottom:0px;
}

.messagebox-container .event-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.event-modal .event-card__head span.date-chip {
/*    font-size:0.8em;*/
opacity: 0.8;
}
/*.event-modal .event-card__head h3 {
    line-height:0.8rem;
}*/





.messagebox-container .event-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.messagebox-container .event-date {
  font-size: 13px;
  opacity: 0.85;
}

.messagebox-container .event-messages {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.messagebox-container .event-messages li {
  font-size: 15px;
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}

/* custom bullet */
.messagebox-container .event-messages li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #fff;
  opacity: 0.7;
}

.messagebox-container .event-title{
    color: #fff;
    text-transform: uppercase;
}



#mpMessaging,
#hideMessaging {
    display: block;
    color: #ddd;
    font-size: 15px;
    font-weight: 400;
    height: 50px;
}
#notificationCount {
    display: block;
    background: #c00;
    border-radius: 50%;
    text-align: center;
    color: #fff;
    position: absolute;
    left: 10px;
    top: -5px;
    font-size: 0.7rem;
    font-weight: 600;
    -webkit-animation-name: pop;
    -webkit-animation-duration: 1s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 14px;
    width: 14px;
    line-height: 14px;
}

.mpHeaderIcons {
    font-size: 1rem;
}

.messagebox-container .event-modal{
    right: 0;
    z-index: 999;
    right: -14px;
    top: 35px;
    padding: 40px 25px 15px 25px ;
    border-radius: 4px;
}

.messagebox-container .event-modal::before {
    content: '';
    height: 15px;
    width: 15px;
    background: #00a1e0;
    position: absolute;
    top: -8px;
    right: 19px;
    transform: rotate(45deg);
}

.messagebox-container {
    position: fixed;
    right: 25px;
    z-index: 9999;
    width: 20px;
}

.messagebox-container .message-container {
    padding-bottom:25px;
}

.ringBell {
    -webkit-animation-name: ring;
    -webkit-animation-duration: 1.2s;
    -webkit-animation-iteration-count: 10;
    -webkit-animation-timing-function: linear;
    transition: all 0.2s linear;
}



.messagebox-container,
.messagebox-container .event-modal,
#hideMessaging {
    display: none;
}

.box-message{
    padding-top: 10px;
    font-weight:600;
}


@media(max-width: 767px) {
    .messagebox-container .event-modal {
        width: 100%;
        position: fixed;
        left: 0;
        padding: 2px;
    }

    .messagebox-container {
        left: 15px;
        top: 2px;
        position: absolute;
    }

    .messagebox-container .event-modal {
        top: 40px;
        padding-top: 50px;
        /*display: inline-table;*/
        inset: 0px;
        padding-left: 15px;
        padding-right: 15px;
        
    }
    .messagebox-container .event-modal, .messagebox-container .event-modal h3 {
        font-size:1.3em;
    }

    .messagebox-container .event-modal:before {
        left: 30px;
        right: unset;
        top: 3px;
    }

    .notification-group {
        padding: 10px;
        margin-bottom: 1px;
        /*border-radius: 5px;*/
        /* border-bottom: 1px white solid;*/
    }
}