.secondary-items.notifications{
    justify-content: center;
    align-items: center;
     display: none;
}

.notifications{
    margin-right: 0;
    position: relative;

}
.notifications.mobile{
    display: block !important;
    position: absolute;
    right: 60px;
    top: 0;
    height: 57px;
}

button.notifications-btn{
    appearance: none;
    border: none;
    background: transparent;
    color:rgba(0,0,0,0.5);
    font-size:20px;
    position: relative;

}

.notifications.mobile button.notifications-btn{
    line-height: 57px;
}

button.notifications-btn .notification-counter{
    border-radius: 10px;
    width: 19px;
    height: 19px;
    font-size: 11px;
    align-items: center;
    justify-content: center;
    background: #e74c3c;
    display: flex;
    color: white;
    position: absolute;
    right: 0;
    top: -8px;
    border: 2px solid #f4f4f4;
}

.notifications.mobile button.notifications-btn .notification-counter{
    top: 8px;
    border-color:white;
}

.notification-ring {
    animation: ring 4s .7s ease-in-out infinite;
    transform-origin: center top;
}


.notifications-container {
    position: absolute;
    background: white;
    top: 49px;
    margin: 0;
    padding: 1rem 0 0 0;
    min-width:400px;
    right:-100px;
    box-shadow: 2px 7px 15px 7px rgba(0,0,0,0.25);
    max-height: 0;
    opacity: 0;
    transition: all .2s ease-in;
    overflow: hidden;
}

.mobile .notifications-container{
    top: 60px;
    width: 100vw;
    right: 0;
    position: fixed;
    min-width: auto;

}

.active .notifications-container{
    max-height: 450px;
    overflow-y: auto;
    opacity: 1;
/*   	max-width: -webkit-fill-available; */
}


.notifications .notification-item{
    display: block;
  	padding: 1rem 2rem 1rem 2.5rem;
  	border-bottom: 1px solid rgba(0,0,0,0.2);
  	position: relative;
}

.notifications .notification-item:after{
  content: '';
  height: 6px;
  width: 6px;
  position: absolute;
  background-color: #dee2e6;
  top: 50%;
  display:block;
  margin-top: -3px;
  left: .9rem;
  border-radius: 10px;
}

.notifications .notification-item.new:after{
  background-color: #00ADC3;
}

.notifications .notification-item.no-items:after{
  display:none;
}
.notifications .notification-item.no-items{
  padding: 1rem 1.5rem;
}
.notifications .notification-item.no-items p{
  text-align: center;
}

.notification-item > a{
    display: block;
    flex-direction: column;
    text-align: left;
    padding: 0;	
    margin: 0;
    overflow: visible;
  	position: static;	
}
.notification-item > a::after{
    display: none;
}
.notification-item  h5{
    text-align: left;
    width: 100%;
    font-size: 18px;
    color: #333;
  	white-space: initial;
}

.notification-item p{
    font-size: 15px;
    color: #838383;
    margin-bottom: 0;
  	white-space: initial;
}

.notification-item a svg{
    position: absolute;
    right: 1rem;
    top: 50%;
    margin-top: -7px;
  	transition: all .2s ease-out;
  	vertical-align: -2%;
}

@media screen and (min-width: 768px){
    .notification-item{
        transition: all .2s ease-in;
    }
    .notification-item:hover svg{
        transition: all .2s ease-out;
        right: .5rem;
    }
    .notifications{
        display: flex !important;
    }
    .notifications.mobile{
        display: none !important;
    }
}

@keyframes ring {
  0% { transform: rotate(0); }
  1% { transform: rotate(30deg); }
  3% { transform: rotate(-28deg); }
  5% { transform: rotate(34deg); }
  7% { transform: rotate(-32deg); }
  9% { transform: rotate(30deg); }
  11% { transform: rotate(-28deg); }
  13% { transform: rotate(26deg); }
  15% { transform: rotate(-24deg); }
  17% { transform: rotate(22deg); }
  19% { transform: rotate(-20deg); }
  21% { transform: rotate(18deg); }
  23% { transform: rotate(-16deg); }
  25% { transform: rotate(14deg); }
  27% { transform: rotate(-12deg); }
  29% { transform: rotate(10deg); }
  31% { transform: rotate(-8deg); }
  33% { transform: rotate(6deg); }
  35% { transform: rotate(-4deg); }
  37% { transform: rotate(2deg); }
  39% { transform: rotate(-1deg); }
  41% { transform: rotate(1deg); }
  43% { transform: rotate(0); }
  100% { transform: rotate(0); }
}

