#notification_li {
    position: relative
}

#notificationContainer {
    background-color: #fff;
    border: 1px solid rgba(100, 100, 100, .4);
    -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, .25);
    overflow: visible;
    position: absolute;
    top: 47px;
    margin-left: -170px;
    width: 400px;
    padding: 0px;
    z-index: 1;
    display: none;
}

#notificationContainer:before {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    color: transparent;
    border: 10px solid black;
    border-color: transparent transparent white;
    margin-top: -20px;
    margin-left: 188px;
}

#notificationTitle {
    z-index: 1000;
    font-weight: bold;
    padding: 8px;
    font-size: 13px;
    background-color: #ffffff;
    width: 398px;
    border-bottom: 1px solid #dddddd;
}

#notificationsBody {
    min-height: 160px;
    color: #000;
    font-size: 14px;
    overflow-y: scroll;
    max-height: 300px;
}

#notificationFooter {
    background-color: #e9eaed;
    text-align: center;
    font-weight: bold;
    padding: 8px;
    font-size: 12px;
    border-top: 1px solid #dddddd;
}

#notification_count {
    padding: 3px 7px 3px 7px;
    background: #cc0000;
    color: #ffffff;
    font-weight: bold;
    margin-left: 32px;
    border-radius: 9px;
    position: absolute;
    margin-top: 3px;
    font-size: 11px;
}

#messagebody {
    padding: 20px 10px;
    background-color: #f6f6f6;
    cursor: pointer;
    border-bottom: 1px solid #EEE
}

#messagebody:hover {
    background-image: linear-gradient(rgba(209, 209, 210, 0.04), rgba(184, 188, 195, 0.04));
    cursor: pointer;
}

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

    #notificationContainer:before {
        margin-left: 0px;
    }

    #notificationContainer {
        margin-left: 0px;
        width: 300px;
    }

    #notificationTitle {
        width: 298px;
    }
}


.icon-close_1 {
    font-size: 14px;
    top: 15px;
    right: 25px;
    width: 15px;
    height: 15px;
    color: #FFF;
    cursor: pointer;
    position: absolute;
    text-align: center;
    line-height: 15px;
    z-index: 1000;
    text-decoration: none;
}

.glyphicon-bell {
    font-size: 22px;
    top: 8px;
    color: #FFF;
}
