@keyframes appear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes disappear {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.notification-nav {
    padding-right: 0.3em;
}

.notification-item {
    display: inline-block;
    position: relative;
    cursor: pointer;
    color: #ffffff;
    padding: 0 0.15em;
}

.notification-item>div {
    top: 140%;
    right: 0px;
    z-index: 999;
}

.notification-item>div>span {
    display: block;
    padding: 0 .5em;
}

.notification-item:focus {
    outline: none;
}

.notification-item.fa.fa-bell {
    font-size: 1.5em;
}

.notification-item.fa:hover {
    color: rgba(52, 73, 94, 1)
}

.notification-item.fa:hover .notification-count {
    color: rgba(255, 255, 255, 1)
}

.notification-item.menuSelected.fa {
    color: rgba(52, 73, 94, 1);
}

.notification-item.menuSelected.fa .notification-count {
    color: rgba(255, 255, 255, 1);
}

.notification-count {
    position: absolute;
    width: 1.5em;
    height: 1.5em;
    border-radius: 15%;
    top: -0.8em;
    right: -0.3em;
    padding-right: 1px;
    background-color: red;
    color: #fff;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 0.5em;
    text-align: center;
    line-height: 1.55em;
}

.notifications::before {
    position: absolute;
    display: block;
    content: '';
    border: .5em solid transparent;
    border-bottom-color: rgba(52, 73, 94, 1);
    height: 0;
    width: 0;
    top: -1em;
    right: .45em;
}

.notifications {
    font: 1rem/1.45 'Open Sans', Helvetica, Arial, sans-serif;
    -moz-border-radius: 3px 0 3px 3px;
    -webkit-border-radius: 3px 0 3px 3px;
    border-radius: 3px 0 3px 3px;
    -moz-background-clip: padding-box;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    background-color: #fff;
    -webkit-box-shadow: rgba(159, 172, 183, 0.7) 0px 0px 2px 0px;
    -moz--box-shadow: rgba(159, 172, 183, 0.7) 0px 0px 2px 0px;
    box-shadow: rgba(159, 172, 183, 0.7) 0px 0px 2px 0px;
    border-top: none;
    position: absolute;
    -webkit-transition: 0.1s linear 0.01s opacity;
    -moz-transition: 0.1s linear 0.01s opacity;
    -o-transition: 0.1s linear 0.01s opacity;
    transition: 0.1s linear 0.01s opacity;
}

.notifications.ng-hide {
    opacity: 0;
}

.notifications>.title,
.notifications .show-all {
    -moz-border-radius: 3px 0 0 0;
    -webkit-border-radius: 3px 0 0 0;
    border-radius: 3px 0 0 0;
    background: rgba(52, 73, 94, 1);
    color: #fefefe;
    margin: 0;
    padding: 7px;
    width: 100%;
}

.notifications>.title {
    cursor: default;
    font-size: 1.03em;
    font-weight: normal;
}

.notifications .notifications-list {
    -moz-border-radius: 0 0 3px 3px;
    -webkit-border-radius: 0 0 3px 3px;
    border-radius: 0 0 3px 3px;
    list-style: none;
    margin: 0;
    overflow: hidden;
    padding: 0;
    max-height: 336px;
    overflow-y: auto;
    overflow-x: hidden;
}

.notifications .notifications-list .item.no-data {
    display: block;
    padding: 7px;
    text-align: center;
    background-color: #fff;
}

.notifications .notifications-list .item {
    -webkit-transition: transform 0.2s linear 0.1s;
    -moz-transition: transform 0.2s linear 0.1s;
    -o-transition: transform 0.2s linear 0.1s;
    transition: transform 0.2s linear 0.1s;
    background-color: #ecf0f1;
    border-top: 1px solid #bdc3c7;
    color: #000;
    cursor: default;
    display: block;
    padding: 2px;
    position: relative;
    white-space: nowrap;
    width: 350px;
}

.notifications .notifications-list .item .details {
    margin-left: 10px;
    white-space: normal;
    width: 303px;
}

.notifications .notifications-list .item .details,
.notifications .notifications-list .item .button-dismiss {
    display: inline-block;
    vertical-align: middle;
}

.notifications .notifications-list .item .details .title,
.notifications .notifications-list .item .details .date {
    display: block;
}

.notifications .notifications-list .item .details .date {
    color: #95a5a6;
    font-size: 0.75em;
    margin-top: 2px;
}

.notifications .notifications-list .item .button-dismiss {
    color: #999999;
    font-size: 1em;
    opacity: 0;
}

.notifications .notifications-list .item .button-dismiss:hover,
.notifications .notifications-list .item .button-dismiss:focus {
    color: #4c4c4c;
}

.notifications .notifications-list .item:hover {
    cursor: pointer;
    background-color: #dde4e6;
}

.notifications .notifications-list .item:hover .button-dismiss {
    opacity: 1;
}

.notifications .notifications-list .item.read {
    background-color: #ffffff;
}

.notifications .notifications-list .item.read:hover {
    cursor: pointer;
    background-color: #f0f0f0;
}

.notifications .notifications-list .item.ng-leave.ng-leave-active {
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
}

.notifications .notifications-list .item.ng-enter {
    animation: 1s appear;
}
