.header-notification-bell {
  width: 30px;
  height: 30px;
  margin: 20px 0;
  transition: all 0.2s ease;
  z-index: 1;
  cursor: pointer;
  border-radius: 50%;
  background-color: #fff;
  order: 2;
  display: flex;
  position: relative;
}

.header-notification-list {
  /*display: none;*/
  position: absolute;
  height: 0;
  width: 270px;
  opacity: 0;
  visibility: hidden;
  margin-top: 40px;
  margin-left: -220px;
  background-color: #FFF;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
  z-index: -1;
  border: 1px solid #E3E6ED;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 4px;
  /* future proofing */
  -khtml-border-radius: 8px;
  /* for old Konqueror browsers */
  transition: all 0.2s ease-in;
  display: flex;
  flex-direction: column;
}

.header-notification-bell:hover .header-notification-list {
  visibility: visible;
  opacity: 1;
  z-index: 1111;
  height: auto;
}

.header-notification-list:after {
  content: "";
  display: block;
  position: absolute;
  left: 223px;
  bottom: 100%;
  width: 0;
  height: 0;
  border-bottom: 10px solid #E3E6ED;
  border-top: 10px solid transparent;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
}

#header-notification-wrapper {
  order: 2;
  margin-left: 10px;
}

.notifications-wrapper {
  font-family: var(--font-regular);
  font-style: normal;
  font-weight: 200;
  font-size: 12px;
  line-height: 18px;
}

.notifications-wrapper div:last-child {
  border-bottom: 0 !important;
}

.notification-dropdown-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #fff6cd;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 3px 1rem;
}

/*.notification-dropdown-text {
	width: 153px;
}*/
.notification-dropdown-text > a {
  width: 100%;
  display: flex;
  font-weight: var(--medium-font-weight);
  color: var(--blueish-dark-grey);
  font-size: 0.9rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  transition: all 300ms ease-in-out;
}

.notification-dropdown-read {
  display: flex;
  justify-content: center;
  align-items: start;
  padding-top: 6px;
  cursor: pointer;
}
.notification-dropdown-read .ico-check {
  line-height: 0;
  margin-top: -4px;
  color: #7B8290;
}

.notification-time-prompt {
  display: inline-block;
  color: var(--blueish-dark-grey);
  font-family: var(--font-regular);
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.notification-dropdown-new {
  width: 10px;
  height: 10px;
  background-color: var(--info-blue);
  border-radius: 50%;
  border: 2px solid #c8d9ff;
  transition: all 300ms ease-in-out;
}

.notification-dropdown-new.read {
  width: 8px;
  height: 8px;
  background-color: #c8d9ff;
  border: 2px solid transparent;
}

.notification-dropdown-new:hover {
  width: 10px;
  height: 10px;
  border: 2px solid #c8d9ff;
}

.notification-blank {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 4rem;
  font-size: large;
  color: var(--blueish-dark-grey);
}
.notification-blank .clean-icon {
  width: 44px;
  margin-bottom: 1rem;
}
.notification-blank p {
  font-family: var(--font-regular);
}

.notification-count {
  position: absolute;
  background-color: var(--button-red);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  left: 1.5rem;
  top: 0.2rem;
}

/*.tooltip--triangle::after {
    left: -29px !important;
    min-width: max-content !important;
}*/
.notification-badge {
  font-weight: var(--medium-font-weight);
  display: inline-block;
  background: rgba(236, 83, 115, 0.1);
  color: var(--primary-pink);
  padding: 0.15rem 0.4rem;
  margin-right: 0.25rem;
  border-radius: 4px;
  margin-top: 0.75rem;
  font-size: 0.75rem;
}
.notification-badge.opened {
  background: rgba(236, 83, 115, 0.1);
  color: var(--primary-pink);
}
.notification-badge.signed {
  background: rgba(45, 116, 255, 0.1);
  color: var(--info-blue);
}
.notification-badge.paid {
  background: rgba(65, 211, 127, 0.12);
  color: #37c172;
}
.notification-badge.forward {
  background: rgba(129, 65, 211, 0.1);
  color: var(--purple);
}

.notification-end-wrapper {
  text-align: center;
  padding: 0 1rem;
}
.notification-end-wrapper img {
  width: 32px;
  margin-top: 1rem;
}
.notification-end-wrapper p {
  width: 100%;
  display: flex;
  font-weight: var(--medium-font-weight);
  color: #546B77;
  font-size: 0.9rem;
  transition: all 300ms ease-in-out;
  line-height: 1.5;
  margin-top: 0.5rem;
}

.notification-item {
  border-bottom: 1px solid rgba(227, 230, 237, 0.5);
  padding: 1rem;
}
.notification-item.read .notification-dropdown-text,
.notification-item.read .notification-time-prompt {
  opacity: 0.6;
}
.notification-item.read .notification-badge {
  opacity: 0.5;
}
.notification-item.read .notification-dropdown-new {
  width: 8px;
  height: 8px;
  background-color: #c8d9ff;
  border: 2px solid #c8d9ff;
  transition: all 250ms ease-in-out;
}
.notification-item.read .notification-dropdown-new:hover {
  border: 1px solid var(--info-blue);
}
.notification-item .tooltip--triangle::after {
  left: 0;
  margin-left: -32px;
}

.menu,
#js-notifications-menu-wrapper {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}
.menu::-webkit-scrollbar,
#js-notifications-menu-wrapper::-webkit-scrollbar {
  display: none;
}

.transition-second-sidebar {
  /* Rounded sliders */
}
.transition-second-sidebar .toggle-show-unread {
  font-family: var(--font-regular);
  color: var(--main-dark);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  padding-left: 1rem;
}
.transition-second-sidebar .toggle-show-unread span {
  margin-right: -8px;
}
.transition-second-sidebar .switch {
  position: relative;
  display: inline-block;
  width: 55px;
  height: 34px;
  transform: scale(0.5);
}
.transition-second-sidebar .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.transition-second-sidebar .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
.transition-second-sidebar .slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
.transition-second-sidebar input:checked + .slider {
  background-color: var(--green);
}
.transition-second-sidebar input:focus + .slider {
  box-shadow: 0 0 1px var(--green);
}
.transition-second-sidebar input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
.transition-second-sidebar .slider.round {
  border-radius: 34px;
}
.transition-second-sidebar .slider.round:before {
  border-radius: 50%;
}

.notifications-container p.mark-all-read {
  font-weight: var(--medium-font-weight);
  padding-left: 1rem;
  font-size: 0.82rem;
  margin-top: 0.25rem;
  text-align: left;
  padding-right: 1rem;
  color: #546b77;
  text-decoration: underline;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(83, 93, 125, 0.1);
  cursor: pointer;
  transition: all 250ms ease-in-out;
}
.notifications-container p.mark-all-read:hover {
  color: var(--info-blue);
}