/**     Notification widget BEGIN    **/

.messages-count{

    margin-left: -10px;
    padding-left: 1px;
    top: -6px;
    position: relative;

    background: #fb4a42;
    border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    color: #ffffff;
    display: inline-block;
    font-size: xx-small;

    line-height: 1.6em;
    margin-right: 5px;
    text-align: center;
    width: 1.6em;
}

#messages-notification-dropdown {
    left: auto;
    right: -16px;
}


.messages-visited-link:visited:not(.btn){
    color: #428bca;
}

#messages-empty-row {
    display: none;
}

.nav-messages-notifications .messages-empty-row {
    display: none;
    height: 100px;
    width: 100%;
    text-align: center;
    color: #868e96;
    padding: .5rem 12px;
}
.nav-messages-notifications .messages-empty-row:only-child {
    display: table;
}
.nav-messages-notifications .messages-empty-row>span {
    display: table-cell;
    vertical-align: middle;
}
.nav-messages-notifications .label {
    position: absolute;
    top: 7px;
    right: 0;
}

#messages-notification-dropdown {
    font-size: 14px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    background-clip: padding-box
}
.open>.dropdown-menu {
    display: block
}



.nav-messages-notifications .dropdown-menu {
    width: 335px;
    padding: 0;
    margin-top: 3px !important;
}
.nav-messages-notifications .header {
    border-bottom: 1px solid #e5e5e5;
    display: block;
    padding: 8px 12px;
    color: #4c4c4c;
    white-space: nowrap;

}

.nav-messages-notifications .footer {
    background-color: #f5f5f5;
    white-space: nowrap;
    border-top: 1px solid #e5e5e5;
    text-align: center;
    height: unset;
    padding-top: unset;
}

.notif-messages-icon{
    height: 1.4em;
}

#messages-list .notification-thumb-container{
    text-align: center;
    vertical-align: middle;
    display: table-cell;
    padding: 0;
    margin: 0;
    width: 55px;
    height: 40px;
    border-radius: 2px;
}
@media only screen and (max-width:770px) {
    .nav-messages-notifications .dropdown-menu {
        width: 250px;
        padding: 0;
        margin-top: 3px !important;
    }
    .nav-messages-notifications .header {
        font-size: 0.9em;
    }
    .message-item {
        min-width: 245px; !important;
    }
    .message-text {
        max-width: 170px !important;
    }
    .msg-width-80 {

        width: 75% !important;
    }
}
@media only screen and (max-width:380px) {
    .nav-messages-notifications .dropdown-menu {
        width: 240px;
    }
    #messages-notification-dropdown {
        right: -45px;
    }
    .nav-messages-notifications .header {
        font-size: 0.85em;
    }
    .message-item {
        min-width: 235px;
    }
}
@media only screen and (max-width:280px) {
    .nav-messages-notifications .dropdown-menu {
        width: 210px; !important;
    }
    .nav-messages-notifications .header {
        font-size: 0.8em;
    }
    .message-item {
        min-width: 205px; !important;
    }
}

.messages-list-scroll {
    overflow-y: scroll;
    max-height: 500px;
    overflow-x: hidden;
}

.messages-count-hidden{
    visibility: hidden!important
}

.message-pseudo {
    font-weight: bold;
}


.div-enveloppe{
    float: right;
    cursor: pointer;
}

.message-icon {
    width:45px;
    height:19px;
    margin-bottom: 3px;
}

.blocked {
    border-left: 4px solid red !important;
    background-color: #fad7db !important;
    opacity: 0.5;
}

