/* clinical advice popups  */

#current-event-popup {
  padding: 0;
  background: none;
  border: 0;
  overflow: hidden;
}

#current-event-popup .popup-content h3 {
  margin-bottom: 10px;
}

#current-event-popup .popup-content .event-details > p {
  margin-bottom: 10px;
}

#current-event-popup .popup-content .event-details + a {
  border-bottom: none;
}

#current-event-popup .popup-content .event-details > p:nth-of-type(2) {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  

#current-event-popup .popup-content .latest-entry {
    display: flex;
    gap: 20px;
}

#current-event-popup .popup-content {
  background: #fff;
  border: 2px solid #d9c6f1;
  border-top-width: 0;
  border-bottom-width: 0;
  overflow: auto;
  max-height: 60vh;
  padding: 25px;
}

#current-event-popup .popup-content > p {
  margin-bottom: 1em;
}

#current-event-popup .gradient-footer {
  height: 50px;
  background: rgb(100,41,173);
  background: radial-gradient(circle farthest-corner at 0% -150%, rgba(100,41,173,1) 0%, rgba(100,41,173,1) 55%, #61c0bc 80%);
}

#current-event-popup .gradient-wrapper {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: 935px;
  top: 0;
}

#current-event-popup .clipped-gradient {
  background: rgb(100,41,173);
  background: radial-gradient(circle farthest-corner at 0% -150%, rgba(100,41,173,1) 0%, rgba(100,41,173,1) 55%, #61c0bc 80%);
  clip-path: url(#path1);
  height: 100%;
}

#current-event-popup .popup-title {
  position: relative;
  padding: 0 30px;
}

#current-event-popup .popup-title h2 {
  margin-bottom: 0;
  color: #fff;
  text-align: center;
}

#current-event-popup .top-section {
  position: relative;
  overflow: hidden;
  padding: 60px 0 30px; 
}

#current-event-popup .top-section > i {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  color: #fff;
  font-size: 25px;
  z-index: 2;
}

#current-event-popup .top-section .popup-title{
  position: relative;
}

#current-event-popup .top-section .popup-title > i {
  position: absolute;
  right: 20px;
  top: 5px;
  float: right;
  cursor: pointer;
  color: #fff;
  font-size: 25px;
}

#current-event-popup .top-section .popup-title > i:hover {
  color: #290a4e;
}

#current-event-popup form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#current-event-popup form .form-item {
  flex-basis: calc(50% - 15px);
}

#current-event-popup .hidden {
  display: none;
}

#current-event-popup strong {
  font-weight: 700;
}

#current-event-popup .popup-content form .modal-actions {
  margin-bottom: 30px;
  width: 100%;
  margin-top: 30px;
}

@media screen and (max-width: 900px) {

  #current-event-popup .popup-content .latest-entry {
    flex-direction: column;
  }
 
}

@media screen and (max-width: 560px) {

  #current-event-popup .popup-content .latest-entry img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top;
  }
 
  #current-event-popup .popup-title h2 {
    width: 180px;
    overflow: hidden;
    white-space: nowrap;
    direction: rtl;
    margin: 0 auto;
  }
  
}