
.notifications-box {
    width: 25em;
    background-color: white;
    border-radius: 6px;
    /*box-shadow: 0px 11px 20px rgba(0, 0, 0, 0.1);*/
}

.notifications-top {
    padding: 1.1em 1.2em;
    font-weight: 500;
    font-size: 16px;
    border-bottom: 1px solid #ECECEC;
}

.notifications-body {
    font-size: 15px;
    max-height: 14.4em;
    overflow: auto;
    overflow-x: hidden;
}

.notification-element {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #ECECEC;
    height: 3.8em;
    cursor: pointer;
    transition: 0.2s;
}

.no-notifications-text {
    padding-left: 1.2em;
    color: #A2A2A2;
}
.notification-element.dry {
    cursor: inherit;
}


.notification-element:hover:not(.dry) {
    background-color: #ECECEC;
    transition: 0.2s;
}

.notification-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 18%;
}

.notification-image-wrapper {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
}

.notification-image {
    width: 2.7em;
    height: 2.7em;
    border-radius: 100%;
    object-fit: cover;
}

.notification-right {
    width: 82%;
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.notification-top-right {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 0.7em;
}

.notification-user {
    font-weight: 500;
}

.notification-date {
    font-size: 13px;
    color: #A2A2A2;
    padding-right: 1em;
}

.notification-message {
    margin-bottom: 0.4em;
    margin-right: 1em;
    overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notification-gray {
    color: #A2A2A2;
}

.notification-highlight {
    width: 0.5em;
    height: 0.5em;
    z-index: 1;
    background-color: #E04d46;
    border-radius: 100%;
    border: 2px solid white;
    margin-right: -0.92em;
}

.notification-highlight-bell {
    position: absolute;
    margin-top: 0.3em;
    margin-left: 0.1em;
    width: 0.5em;
    height: 0.5em;
    background-color: #E04d46;
    border-radius: 100%;
    cursor: pointer;
    border: 2px solid white;
}

@media screen and (max-width: 785px) {
    .notifications-box {
        width: 40%;
    }
}

@media screen and (max-width: 640px) {
    .notifications-box {
        width: 55%;
        right: 3em;
    }

    .notification-left {
        padding-right: 1em;
        width: 15%;
    }
}

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

    .notification-left {
        display: none;
    }

    .notification-right {
        padding-left: 1em;
    }

}



