.nav-notifications .notifications-container {
  display: none;
  position: absolute;
  width: 430px;
  right: 0;
}
.menu-item-notifications-open .nav-notifications .notifications-container {
  z-index: 1000;
  display: block;
}

.notifications-wrapper {
  position: relative;
}
.notifications-wrapper .clearfix::after {
  display: block;
  content: "";
  clear: both;
}
.notifications-wrapper .ns-count {
  font-size: 14px;
  display: none;
  z-index: 101;
  top: -50px;
  position: absolute;
  right: 0;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  text-align: center;
  border: 1px solid #fff;
  color: #fff;
  padding-top: 4px;
}
.notifications-wrapper .ns-count.has-count {
  display: block;
}
.notifications-wrapper .ns-count .ns-unseen {
  display: none;
}
.notifications-wrapper .ns-count .ns-count-icon {
  display: none;
}
#et_mobile_nav_menu .notifications-wrapper .ns-count {
  left: 110px;
  right: auto;
  top: -35px;
  border: none;
}
#et_mobile_nav_menu .notifications-wrapper .ns-unread {
  display: none;
}
#et_mobile_nav_menu .notifications-wrapper .ns-count-icon {
  color: red;
  display: block;
}
.notifications-wrapper .notifications-container {
  z-index: -1;
  background: transparent;
  border: 1px solid rgba(100, 100, 100, 0.4);
  border-radius: 0 0 2px 2px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  color: #1d2129;
  overflow: visible;
}
.notifications-wrapper .ns-link {
  padding: 6px 30px 5px 12px;
  color: #1d2129;
  position: relative;
  text-decoration: none;
  display: block;
  cursor: pointer;
  font-weight: normal;
}
.notifications-wrapper .ns-card .ns-icon {
  float: left;
  width: 80px;
}
.notifications-wrapper .ns-card .ns-icon img {
  height: 70px;
  width: 70px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 0 0;
     object-position: 0 0;
}
.notifications-wrapper .ns-card .ns-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: -1px;
  min-height: 50px;
  word-wrap: break-word;
  font-size: 14px;
}
.notifications-wrapper .notifications-header {
  background-clip: padding-box;
  background-color: #fff;
  border-bottom: solid 1px #dddfe2;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  padding: 8px 12px 6px;
  position: relative;
  z-index: 100;
}
.notifications-wrapper .notifications-header .ns-title {
  color: #333;
  font-size: 12px;
  margin: 0;
  padding: 0;
}
.notifications-wrapper .notifications-header .ns-actions {
  float: right;
  font-size: 11px;
}
.notifications-wrapper .notifications-body {
  background: transparent;
  height: 300px;
  overflow-y: auto;
}
.notifications-wrapper .notifications-body .ns-lm-btn {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  background-color: #ff0000;
  padding-top: 5px;
  padding-right: 25px;
  padding-bottom: 5px;
  padding-left: 25px;
  border-top: 0px solid #ff0000;
  border-bottom: 0px solid #ff0000;
  border-left: 0px solid #ff0000;
  border-right: 0px solid #ff0000;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}
.notifications-wrapper .notifications-body .notifications-lm {
  text-align: center;
  padding: 20px;
}
.notifications-wrapper .notifications-body .notifications-lm .ns-icon-reload {
  cursor: pointer;
}
.notifications-wrapper .notifications-body .notifications-lm .ns-loading-icon, .notifications-wrapper .notifications-body .notifications-lm .ns-icon-reload {
  margin: 10px auto;
  display: block;
}
.notifications-wrapper .notifications-body .notifications-list ul, .notifications-wrapper .notifications-body .notifications-list li {
  margin: 0 !important;
  padding: 0 !important;
}
.notifications-wrapper .notifications-body .notifications-list ul.notifications:after {
  content: none;
  position: unset;
}
.notifications-wrapper .notifications-body .notifications-list ul {
  list-style-type: none;
  position: relative;
  background-color: transparent;
}
.notifications-wrapper .notifications-body .notification-item {
  background-color: #fff;
  border-bottom: 1px solid #dddfe2;
  overflow: hidden;
  position: relative;
}
.notifications-wrapper .notifications-body .notification-item .ns-title {
  font-weight: bold;
}
.notifications-wrapper .notifications-body .notification-item .ns-time {
  color: #90949c;
}
.notifications-wrapper .notifications-body .notification-item .ns-body {
  font-weight: normal;
  white-space: pre;
  white-space: pre-line;
  line-height: 1.2;
}
.notifications-wrapper .notifications-body .notification-item.ns-unread {
  background-color: #edf2fa;
}
.notifications-wrapper .notifications-footer {
  background-color: #fff;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  border-top: 1px solid #dddfe2;
  display: block;
  font-weight: 600;
  padding: 8px 12px;
  position: relative;
  text-align: center;
  z-index: 100;
}
.notifications-wrapper .notifications-footer a {
  font-size: 11px;
}
.notifications-wrapper .ns-loading-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
}
.notifications-wrapper .ns-icon-reload {
  width: 20px;
  height: 20px;
  background-image: url("../images/reload.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
}
.notifications-wrapper .ns-loading-icon:after {
  content: " ";
  display: block;
  width: 16px;
  height: 16px;
  margin: 2px;
  border-radius: 50%;
  border: 1.6px solid #ddd;
  border-color: #ddd transparent #ddd transparent;
  animation: ns-loading-icon 1.2s linear infinite;
}
@keyframes ns-loading-icon {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.notifications-wrapper.notifications-page .ns-count {
  display: none;
}
.notifications-wrapper.notifications-page .notifications-container {
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.notifications-wrapper.notifications-page .notifications-body {
  height: 100%;
  height: unset;
}

.primary-menu .nav-notifications ul {
  left: 0;
  opacity: 1;
  width: 100%;
}
