/*
* {
    padding: 0;
    margin: 0;
}

body {
    font-family: sans-serif;
}
*/
nav {
    display: flex;
    align-items: center;
    background: #7f85ca;
    height: 35px;
    position: relative;
}

#divnotifikasi .icon {
    cursor: pointer;
    /*margin-right: 8px;*/
    /* line-height: 60px; */
    /* width: 38; */
    float: right;
    position: relative;
    /* height: 28px;*/
}

#divnotifikasi .icon span {
    background: #f00;
    padding: 2px 4px;
    border-radius: 50%;
    color: #fff;
    vertical-align: top;
    margin-left: -7px;
    font-size: 10px;
    display: none;
    /* top: -54px; */
    position: absolute;
    margin-top: -3px;
    left: 18px;
    /*top: -3px;*/
    top: 0px;
}


#divnotifikasi .icon img {
    display: inline-block;

    height: 22px;
    margin-top: 2px;
}

#divnotifikasi .icon :hover {
    opacity: .7;
}

#divnotifikasi .logo {
    flex: 1;
    /*margin-right: 50px;*/
    color: #eee;
    font-size: 20px;
    font-family: monospace;
}

#divnotifikasi .notifi-box {
    width: 350px;
    height: 0px;
    opacity: 0;
    position: absolute;
    transition-property: 63px;
    top: 37px;
    right: 12px;
    /*transition: 1s opacity, 250ms height;*/
    transition: visibility 1s opacity, 250ms height;
    /*transition: visibility 1s, opacity 0.5s linear;*/
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    z-index: 999;
    background-color: white;
    border-radius: 8px;
    /*overflow: hidden;*/
    /*padding: 4px;*/
    /*display: none;*/
    visibility: hidden;
}

#divnotifikasi .notifi-box:before {
    content: "";
    position: absolute;
    top: -20px;
    right: 124px;
    border: 10px solid;
    border-color: transparent transparent #fff transparent;

}


#divnotifikasi .notifi-box.mode2 {
    right: -109px;
}


#divnotifikasi .notifi-box h2 {
    font-size: 14px;
    padding: 0px 10px;
    /*padding-top: 12;*/
    /*border-bottom: 1px solid #eee;*/
    color: #999;
    color: #111;
}

#divnotifikasi .notifi-box h2 span {
    color: #f00;
}

#divnotifikasi .notifi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-right: 8px;
}

#divnotifikasi .notifi-item {
    display: flex;
    border-bottom: 1px solid #eee;
    /*padding: 5px 10px;*/
    margin-bottom: 6px;
    margin: 4px;
    /*cursor: pointer;*/
    word-break: break-word;
    background-color: white;

}

#divnotifikasi .notifi-item:hover {
    background-color: #ddd;
}

#divnotifikasi .notifi-item img {
    display: block;
    width: 50px;
    margin-right: 10px;
    border-radius: 50%;

}

#divnotifikasi .notifi-item .text {
    width: 100%;
}

#divnotifikasi .notifi-item .text h4 {
    color: #777;
    font-size: 16px;
    /*margin-top: 10px;*/
}

#divnotifikasi .notifi-item .text p {
    color: #888;
    font-size: 12px;
    text-align: justify;
    font-weight: normal;
    padding: 0 8px;
}

#divnotifikasi .notifi-item .text-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-weight: initial;
    font-size: 12;
    /*margin-bottom: 4px;*/
    border-bottom: 1px solid #ddd;
    padding: 6px;
    cursor: pointer;
    color: black;
}

#divnotifikasi .text-title .title {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /*color: black;*/
    max-width: 240px;
}

#divnotifikasi .icon-read {
    width: 10px !important;
}

#divnotifikasi .notifi-list {
    overflow: auto;
    height: 434px;
    background-color: #efefef;
}

#divnotifikasi .notifi-footer {
    display: flex;
    justify-content: center;
    border-top: 1px solid #eee;
    align-items: center;
    height: 34px;
}

#divnotifikasi .notifi-footer a {
    color: black;
    font-size: 14px;
    font-weight: bold;
}

@media (max-width: 500px) {
    #divnotifikasi .notifi-box.mode2 {
        right: -25px;
    }

    #divnotifikasi .notifi-box.mode2:before {
        right: 41px;
    }
}