/******************************************************************************
* ldsntfStyleFront.css
*******************************************************************************

*******************************************************************************
*                                                                             *
* Copyright 2021									                          *
*                                                                             *
******************************************************************************/

/* CSS pour le bouton du header */
.rcloud-header-notifications {
    display: block;
    width: 40px;
    position: relative;
    overflow: visible;
    height: 40px;
    cursor: pointer;
    margin-top: 5px;
    margin-bottom: 45px;
    margin-left: 11px;
}
.rcloud-header-notifications:hover {
    box-shadow: inset 0 -3px 0 0 #0079c1;
}
.ldsntfIconType {
    color: #4c4c4c;
    font-size: 23px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.ldsntfNotificationsSpan {
    position: absolute;
    top: 37%;
    left: 60%;
    border: 2px solid white;
    background: #E32525;
    border-radius: 5px;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 10px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.4em;
    padding: 0px 3px;
}
.ldsntfNotificationsPopup {
    display: none;
    position: absolute;
    top: calc(100% - 0px);
    right: 0;
    background: #ffffff;
    z-index: 111;
    box-shadow: 2px 2px 3px 0px #9e9e9e, -2px 2px 3px #9e9e9e;
    overflow: auto;
}
.ldsntfPopupToggle {
    display: block;
}

/* CSS media queries */
/* format LG */
@media screen and (min-width: 1200px) {
    .ldsntfNotificationsPopup {
        width: 300px;
        max-height: 80vh;
    }
}

/* format MD */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .ldsntfNotificationsPopup {
        width: 300px;
        max-height: 80vh;
    }
}

/* format SM */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .ldsntfNotificationsPopup {
        width: 300px;
        max-height: 80vh;
    }
}

/* format XS */
@media screen and (max-width: 767px) {
    .ldsntfNotificationsPopup {
        width: 300px;
        right: calc(0px - 94%);
        max-height: 70vh;
    }
}


/* CSS pour la fenêtre popup + effet hover */
.ldsntfNotificationTile {
    height: 70px;
    width: 100%;
    border-bottom: 1px solid #ececec;
    position: relative;
}
.ldsntfNotificationTile:hover {
    background-color: #d0e9ff;
}

.ldsntfNotifLeftBlock {
    display: inline-block;
    width: 20px;
    height: 100%; 
    position: relative;
    vertical-align: top;
}
.ldsntfNotifLeftBContent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffd700;
    width: 7px;
    height: 7px;
    border-radius: 100%;
    box-shadow: 0 0 4px 2px #ffd700;
    display: none;
}

.ldsntfNotifRightBlock {
    display: inline-block;
    height: 100%;
    width: calc(100% - 25px);
    vertical-align: top;
    overflow: hidden;
    position: relative;
}
.ldsntfNotifRightBlock:hover {
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: center;
    background-size: 20px;
}

.ldsntfNotifRightTitle {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #484848;
    padding: 6px 10px 0 10px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 20px;
    width: 90%;
}
.ldsntfNotifRightSubTitle {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 11px;
    color: #484848;
    padding: 0 10px 0 10px;
    margin: 0;
    line-height: 1.2em;
    height: 2.4em;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 90%;
}
.ldsntfNotifRightDate {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 9px;
    color: #484848;
    position: absolute;
    bottom: -3px;
    left: 10px;
}
.ldsntfPrioFontAwe {
    font-size: 11px;
    color: #000000;
    position: absolute;
    top: 5px;
    right: 5px;
}

/* CSS additionnelle pour les notifications non lues */
.ldsntfNotifLeftBNL {
    background: #d0e9ff;
}
.ldsntfNotifLBNLContent {
    display: block;
}