nav#header_notifications {
    display: flex;
    align-items: center;    
    position: relative;    
}

#header_notifications .notifications_icon{
    position: relative;
    cursor: pointer;    
}
#header_notifications .notifications_icon span{
    background: #f00;
    padding: 7px;
    border-radius: 50%;
    color: #fff;
    vertical-align: top;
    margin-left: -25px
}


#header_notifications #notification_bell .qty {
    position: absolute;
    background-color: #f00;
    color: #FFF;
    border-radius: 100%;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    overflow: hidden;
    font-size: 12px;
    font-weight: bold;
    right: -11px;
    top: -13px;
    display: none;
    z-index: 9;
}

#header_notifications #notification_bell,
#header i.fas.fa-gift {
    color: #444;
}

#notification_box{
    width: 350px;
    height: auto;
    position: absolute;
    top: 40px;
    right: 15px;
    border-radius: 8px;
    border-top-left-radius:10px;
    border-top-right-radius:10px;
    background-color: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    display: none;
    z-index: 9;

}

#header_notifications .notifications .n_header {
    font-size: 14px;
    padding: 10px;
    border: #444 solid 1px;
    border-bottom: 1px solid #eee;
    color: #fff;
    background-color: #444;
    border-top-left-radius:8px;
    border-top-right-radius:8px;
}

#header_notifications .notifications .n_header > div > .settings {
    float: right !important;
}

#header_notifications .notifications .n_header > div > .settings > a {
    font-size: 18px;
}

#header_notifications .notifications .n_header > div > .settings_content {
    padding: 10px 0;
    display: none;
}

#header_notifications .notifications .n_header > div > .settings_content > a {
    color: #ddd;
    font-size: 13px;
    line-height: 20px;
    text-decoration: underline;
}

#header_notifications .notifications .n_header a {
    color: #fff;
}

#header_notifications .notifications .n_header > .counter {
    text-align: left;
    padding-top: 10px;
}

#header_notifications .notifications .n_header span.title {
    font-size: 16px;
    font-weight: bold;
}

#header_notifications .notifications-item {
    display: block;
    border-bottom: 1px solid #eee;
    padding: 6px 9px;
    margin-bottom: 0px;
}

#header_notifications .notifications-item:hover{
    background-color: #eee
}

#header_notifications .notifications-item > .text,
#header_notifications .notifications-item > .text a {
    color: #333;
    font-size: 13px;
    line-height: 13px !important;
}

#header_notifications .notifications .notifications-item > .title .notification_delete {
    float: right;
    font-size: 13px;
}

#header_notifications .notifications-item img{
    display: block;
    width: 50px;
    height: 50px;
    margin-right: 9px;
    border-radius: 50%;
    margin-top: 2px
}
#header_notifications .notifications-item > .title > h4{
    color: #555;
    font-size: 14px;
    margin-top: 3px;
    font-weight: bold;
}

#header_notifications .notifications-item.not_viewed .text {
    font-weight: bold;
}

#header_notifications .notifications-item.not_viewed .text p {
    color: #000;
}

#header_notifications .notifications-item .text p {
    color: #999;
    font-size: 12px;
    padding: 5px 0;

}

#header_notifications .notifications-item .text p.date_time {
    color: #444;
}

#notification_box .notifications_list {
    max-height: 600px;
    overflow-y: auto;
}

#notification_box .notifications_list p.notifications_loader {
    text-align: center;
    padding: 20px 0;
    font-size: 20px;
    color: #444;
}

#notification_box .notifications_list .none_notification_msg {
    font-size: 14px;
    color: #666;
    padding: 15px;
    text-align: center;
}

#notification_box .notifications_list .notifications-period-title {
    background-color: #DDD;
    color: #444;
    font-weight: normal;
    padding: 13px 10px;
    font-size: 13px;
}

.bell_ringing {
    -webkit-animation: ring 4s .7s ease-in-out infinite;
    -webkit-transform-origin: 50% 4px;
    -moz-animation: ring 4s .7s ease-in-out infinite;
    -moz-transform-origin: 50% 4px;
    animation: ring 4s .7s ease-in-out infinite;
    transform-origin: 50% 4px;
}

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

  43% { -webkit-transform: rotateZ(0); }
  100% { -webkit-transform: rotateZ(0); }
}

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

  43% { -moz-transform: rotate(0); }
  100% { -moz-transform: rotate(0); }
}

@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); }
}

#header .btn-theme {
    background-color: transparent;
    border: none;
    padding: 0;
}

#header .btn-theme i {
    font-size: 24px;
}

@media(max-width:767px) {
    #header_notifications .notifications{
        right: -66px;
    }
}