/* SCROLLBAR CUSTOM*/
*::-webkit-scrollbar {
    width: 6px; /* width of the entire scrollbar */
    height: 6px;
}

*::-webkit-scrollbar-track {
    background: #cecece; /* color of the tracking area */
}

*::-webkit-scrollbar-thumb {
    background-color: #606060; /* color of the scroll thumb */
    border-radius: 20px; /* roundness of the scroll thumb */
    /*border: 3px solid orange; !* creates padding around scroll thumb *!*/
}

a.disabled {
    pointer-events: none;
    cursor: default;
    color: #8a8d91;
}

.hidden {
    display: none !important;
}

form .d-flex .form-group {
    margin: 5px;
}

#containerBody {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    flex-direction: column;
    margin: auto;
    padding: 10px;
}

#menuBar {
    background-image: linear-gradient(to left, #cecece, #676767);
    border-right: solid grey 1px;
    overflow: auto;
}

.greyBtn {
    background-image: linear-gradient(to right, #cecece, #ffffff);
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s;
    margin: 0.5rem;
    display: block;
}

.menu-btn-notif {
    margin: 0 0.5rem;
}

.menu-btn-notif .greyBtn {
    margin: 0px;
}

.menu-btn-notif .greyBtn:last-child {
    margin-left: 0.125rem;
}

.greyBtn:hover {
    background-image: linear-gradient(to right, #efefef, #ffffff);
    color: #212529;
    font-weight: 600;
    text-decoration: none;
}

#content {
    background-size: cover;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.viewTitle {
    width: fit-content;
    margin: auto;
    padding: 7px;
    border: solid lightgray 1px;
    border-radius: 5px;
    background-color: #f5f5f5;
    margin-top: 5px;
    margin-bottom: 5px;
}

.listBox {
    display: flex;
    flex-wrap: wrap;
    max-width: 60%;
}

.box {
    background-color: #f5f5f5;
    margin: 5px;
    padding: 14px;
    border: lightgrey solid 1px;
    border-radius: 5px;
    font-size: larger;
    width: 200px;
    color: black;
}

.box:hover {
    color: black;
    text-decoration: none;
    border-color: black;
}

#sidePanel {
    height: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #fff;
    overflow-x: hidden;
    padding-top: 60px;
    padding: 30px;
    border: solid 1px #000000;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    visibility: hidden;
}

#sidePanel.sidePanelOpen {
    width: 60%;
    visibility: visible;
}

#sidePanel.sidePanelOpen.sidePanelExtended {
    width: 70%;
}

#sidePanelIframe {
    overflow: auto;
    width: 100%;
    height: 98%;
    border: none;
}

#minorWorksList div {
    border: solid grey 1px;
    margin: 2px;
    background-color: #f1f1f1;
    padding: 5px;
    border-radius: 5px;
}
#minorWorksList div:hover {
    cursor: pointer;
    background-color: white;
}

#majorWorkList div button {
    justify-self: flex-end;
    margin-left: auto;
}
#majorWorkList div {
    border: solid grey 1px;
    margin: 2px;
    background-color: #f1f1f1;
    padding: 5px;
    border-radius: 5px;
}
#majorWorkList div:hover {
    cursor: pointer;
    background-color: white;
}

#majorWorkList div button {
    justify-self: flex-end;
    margin-left: auto;
}
.messageList > div {
    margin-bottom: 1rem;
}
.messageRowContainer {
    display: flex;
    flex-direction: column;
}
.messageRowContainer.sent {
    align-items: flex-end;
}
.messageRowContainer.received {
    align-items: flex-start;
}
.messageRowContainer .messageContainer {
    position: relative;
    width: 100%;
}
.messageRowContainer.sent .messageContainer {
    display: flex;
    align-items: flex-end;
    flex-direction: row-reverse;
}
.messageRowContainer.received .messageContainer {
    display: flex;
    align-items: flex-start;
}
.messageRowContainer .repliedToContainer {
    background-color: #f0f2f5;
    padding: 0px 12px 21px 12px;
    border-radius: 10px;
    z-index: 1;
    margin-bottom: -21px;
}
.messageRowContainer .repliedToContainer .message {
    color: #65676b;
    font-size: 0.8275rem;
    margin: 8px 0;
}
.messageRowContainer.sent .messageContent {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.messageRowContainer.received .messageContent {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.messageRowContainer.sent .messageContainer .message {
    background-color: #0084ff;
    padding: 8px 12px;
    border-radius: 10px;
    color: #fff;
    border-top-right-radius: 0;
    z-index: 2;
    font-size: 0.9375rem;
    max-width: 480px;
    word-break: break-word;
}
.messageRowContainer.received .messageContainer .message {
    background-color: #e4e6eb;
    padding: 8px 12px;
    border-radius: 10px;
    color: #333;
    border-top-left-radius: 0;
    z-index: 2;
    font-size: 0.9375rem;
    max-width: 480px;
    word-break: break-word;
}
.messageRowContainer .imageContent,
.messageRowContainer .videoContent {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 432px;
}
.messageRowContainer.sent .imageContent,
.messageRowContainer.sent .videoContent {
    justify-content: flex-end;
}
.messageRowContainer .imageContent.two-items > figure,
.messageRowContainer .videoContent.two-items > figure {
    width: 212px;
    height: 212px;
}
.messageRowContainer .imageContent.three-items > figure,
.messageRowContainer .videoContent.three-items > figure {
    width: 140px;
    height: 140px;
}
.messageRowContainer .imageContent > figure,
.messageRowContainer .videoContent > figure {
    width: 100%;
    height: 100%;
    background: #000000de;
    margin: 2px;
    border-radius: 8px;
    position: relative;
}
.messageRowContainer .imageContent > figure img,
.messageRowContainer .videoContent > figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 1;
}
.chat-container .videoContent > figure::after {
    font-family: "Font Awesome 5 Free";
    content: "\f04b";
    font-weight: 900;
    font-size: 26px;
    position: absolute;
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%);
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    line-height: 52px;
    padding-left: 16px;
    background-color: #00000052;
    pointer-events: none;
}
.messageRowContainer .imageContent > figure:hover img,
.messageRowContainer .videoContent > figure:hover img {
    opacity: 0.9;
}
.messageRowContainer .messageInfos {
    display: flex;
    justify-content: flex-end;
    font-size: 0.75rem;
    color: #8a8d91;
    font-weight: 600;
}
.messageRowContainer .messageActionButton {
    display: none;
    width: 32px;
    height: 32px;
    margin: 0 5px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 6;
    border: none;
    outline: none;
    background-color: #f9f9f9;
    transition: all 0.3s;
}
.messageRowContainer .messageActionButton.remove:hover {
    background-color: #ff0000;
    border-color: #ff0000;
    color: white;
}
.messageRowContainer .messageActionButton.favorite:hover {
    background-color: #c7cc00 !important;
    border-color: #c7cc00 !important;
}
.messageRowContainer .messageActionButton.favorite.active {
    background-color: #ffff00;
    border-color: #ffff00;
    display: flex;
}
.messageRowContainer .messageActionButton.important:hover {
    background-color: #f01818 !important;
    border-color: #f01818 !important;
}
.messageRowContainer .messageActionButton.important.active {
    background-color: #e01414;
    border-color: #e01414;
    display: flex;
}
.messageRowContainer:hover .messageActionButton {
    display: flex;
}
#messageListInConstructionSite {
    height: 80vh;
}
.messageList,
#messageListInConstructionSite {
    flex-basis: 0px;
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column-reverse;
}
.messagerie {
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 1;
}
.chat {
    display: flex;
    height: 100vh;
}
.chat-subjects {
    display: flex;
    flex-direction: column;
    flex: 2;
    border-right: 1px solid #e0e0e0;
    width: 25rem;
    max-width: 25rem;
    min-width: 25rem;
}
.chat-subjects .subject-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}
.chat-subjects #searchSubjectList {
    display: none;
    position: absolute;
    top: 0;
    z-index: 6;
}
.chat-subjects .subject-list-container {
    flex: 1;
    overflow: auto;
    position: relative;
}
.chat-header {
    padding: 0 1rem;
}
.chat-subjects .search-container,
.chat-header {
    box-shadow: 0px 4px 5px -2px #80808033;
    height: 60px;
    position: relative;
    display: flex;
    align-items: center;
    z-index: 10;
}
.chat-subjects .search-container .fa-search {
    font-size: 16px;
    pointer-events: none;
    color: #8c8c8c;
    margin-left: 15px;
}
.chat-subjects .search-container #subjectSearchClearButton {
    display: none;
    position: absolute;
    font-size: 32px;
    right: 16px;
    color: #3e3e3e;
    line-height: 32px;
    height: 38px;
    cursor: pointer;
}
.chat-subjects.focused #subjectSearchClearButton {
    display: block;
}
.chat-subjects.focused #subjectList {
    display: none;
}
.chat-subjects.focused #searchSubjectList {
    display: block;
}
.chat-subjects .search-container input {
    width: 100%;
    border: 0;
    outline: none;
    height: 100%;
    padding: 0 3.3rem 0 3rem;
    color: #3e3e3e;
    font-weight: 500;
}
.chat-subjects .search-container input::placeholder {
    color: #8c8c8c;
}
.chat-subjects .subject-list::-webkit-scrollbar-track {
    background-color: #f5f5f5;
}
.chat-subjects .subject-list::-webkit-scrollbar {
    width: 10px;
}
.chat-subjects .subject-list::-webkit-scrollbar-thumb {
    background-color: #7b7b7b;
}

.chat-subjects .subject-list li {
    display: flex;
}

.chat-subjects .subject-list .subject-button {
    flex: 1;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    font-size: 12px;
    padding: 10px 15px;
    text-align: left;
    background-color: white;
    outline: none;
    position: relative;
}
.chat-subjects .subject-list .subject-button:hover,
.chat-subjects .subject-list .subject-button.active {
    background-color: #eaeaea;
}
.chat-subjects .subject-list .subject-button.new {
    font-weight: 600;
}
.chat-subjects .subject-list .subject-button .info-ligne {
    display: flex;
    align-items: center;
}
.chat-subjects .subject-list .subject-button .title {
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    max-width: 18rem;
}
.chat-subjects .subject-list .subject-button .message-date {
    margin-left: 10px;
}
.chat-subjects .subject-list .subject-button .content {
    display: flex;
    align-items: center;
}
.chat-subjects .subject-list .subject-button .content .message-preview {
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.chat-subjects .subject-list .subject-button .content .notifications {
    display: flex;
    align-items: center;
}
.chat-subjects .subject-list .subject-button .content .notifications span {
    font-size: 14px;
    width: 22px;
    height: 22px;
    text-align: center;
    border-radius: 50%;
    font-weight: 600;
    margin: 0 2px;
}
.chat-subjects .subject-list .subject-button .content .notifications span.tagged {
    color: #32d077;
    font-weight: 600;
    font-size: 20px;
    line-height: 18px;
}
.chat-subjects .subject-list .subject-button .content .notifications span.unread-message-count {
    background-color: #32d077;
    color: white;
    line-height: 22px;
}
.chat #toggleSubjectMenuButton {
    background: #f8f9fa;
    border: none;
    outline: none;
    height: 35px;
    width: 35px;
    text-align: center;
    margin-right: 10px;
    border-radius: 0.25rem;
    transition: all 0.3s;
}
.chat #toggleSubjectMenuButton:hover {
    background: #dae0e5;
}
.chat #toggleSubjectMenuButton > .fa-bars,
.chat #toggleSubjectMenuButton.active > .fa-chevron-left {
    display: none;
}
.chat #toggleSubjectMenuButton.active > .fa-bars {
    display: block;
}
.chat-container {
    display: flex;
    flex-direction: column;
    flex: 6;
}
.chat-container .input-files {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.chat-container #filesPreviewContainer {
    display: flex;
    align-items: center;
    overflow-x: auto;
}
.chat-container #filesPreviewContainer > .file-container,
.chat-container #replyMessageContainer .file-container,
.chat-container .replied-files .file-container {
    position: relative;
    margin: 1rem 10px 0.5rem 10px;
}
.chat-container #filesPreviewContainer > .file-container.picture,
.chat-container #filesPreviewContainer > .file-container.video,
.chat-container #replyMessageContainer .file-container.picture,
.chat-container #replyMessageContainer .file-container.video,
.chat-container .replied-files .file-container.picture,
.chat-container .replied-files .file-container.video {
    width: 60px;
    min-width: 60px;
    height: 60px;
}
.chat-container #filesPreviewContainer > .file-container.picture img,
.chat-container #filesPreviewContainer > .file-container.video img,
.chat-container #replyMessageContainer .file-container.picture img,
.chat-container #replyMessageContainer .file-container.video img,
.chat-container .replied-files .file-container.picture img,
.chat-container .replied-files .file-container.video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.chat-container #filesPreviewContainer > .file-container.video::after,
.chat-container #replyMessageContainer .file-container.video::after,
.chat-container .replied-files .file-container.video::after {
    font-family: "Font Awesome 5 Free";
    content: "\f04b";
    font-weight: 900;
    font-size: 11px;
    position: absolute;
    right: 17px;
    top: 17px;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    line-height: 24px;
    padding-left: 8px;
    background-color: #00000052;
}
.chat-container #filesPreviewContainer > .file-container.pdf,
.chat-container #replyMessageContainer .file-container.pdf,
.chat-container .pdfContent > button,
.chat-container .replied-files .file-container.pdf {
    background-color: #d21919;
    color: #fff;
    width: 220px;
    min-width: 220px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 10px;
    height: 60px;
    outline: none;
    border: none;
}
.chat-container .pdfContent > button {
    margin: 5px 0;
}
.chat-container .pdfContent > button:hover {
    background-color: #af1717;
}
.chat-container .pdfContent > button:hover .pdf-icon {
    color: #af1717;
}
.chat-container #filesPreviewContainer > .file-container.pdf .pdf-icon,
.chat-container .pdfContent > button .pdf-icon,
.chat-container #replyMessageContainer .file-container.pdf .pdf-icon,
.chat-container .replied-files .file-container.pdf .pdf-icon {
    background-color: #fff;
    color: #d21919;
    border-radius: 50%;
    min-width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}
.chat-container #filesPreviewContainer > .file-container.pdf .pdf-name,
.chat-container .pdfContent > button .pdf-name,
.chat-container #replyMessageContainer .file-container.pdf .pdf-name,
.chat-container .replied-files .file-container.pdf .pdf-name {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    font-weight: 600;
    font-size: 12px;
    text-align: left;
}
.chat-container #filesPreviewContainer > .file-container button {
    top: -9px;
    right: -14px;
    position: absolute;
    z-index: 3;
    background-color: white;
    border: 1px solid #a2a2a2;
    color: #404040;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    outline: none;
}
.chat-container #filesPreviewContainer > .file-container button:hover {
    background-color: #efefef;
}
.chat-container #replyMessageContainer {
    position: relative;
    background-color: #f5f5f5;
    margin: 5px;
    border-radius: 5px;
    padding: 8px;
}
.chat-container #replyMessageContainer .reply-file-preview-more,
.chat-container .replied-files .reply-file-preview-more {
    background-color: #dadada;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    border-radius: 8px;
    margin: 0 3px;
}
.chat-container #replyMessageContainer .file-container,
.chat-container .replied-files .file-container {
    margin: 0 3px;
}
.chat-container #replyMessageContainer .file-container.picture,
.chat-container #replyMessageContainer .file-container.video,
.chat-container .replied-files .file-container.picture,
.chat-container .replied-files .file-container.video {
    width: 40px;
    min-width: 40px;
    height: 40px;
}
.chat-container #replyMessageContainer .file-container.pdf,
.chat-container .replied-files .file-container.pdf {
    height: 40px;
    width: 160px;
    min-width: 160px;
}
.chat-container #replyMessageContainer .file-container.pdf .pdf-icon,
.chat-container .replied-files .file-container.pdf .pdf-icon {
    min-width: 25px;
    height: 25px;
}
.chat-container #replyMessageContainer .file-container.video::after,
.chat-container .replied-files .file-container.video::after {
    font-size: 8px;
    right: 8px;
    top: 8px;
    width: 24px;
    height: 24px;
    line-height: 22px;
}
.chat-container .reply-file-preview,
.chat-container .replied-files {
    display: flex;
}
.chat-container .replied-files {
    margin: 8px 0;
}
.chat-container .messageRowContainer.sent .replied-files {
    justify-content: flex-end;
}
.chat-container .reply-title {
    font-size: 18px;
    margin-bottom: 5px;
}
.chat-container .reply-message-content {
    margin: 0;
    font-size: 14px;
    color: #6e6e6e;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    word-wrap: break-word;
}
.chat-container .cancel-reply {
    position: absolute;
    top: 5px;
    right: 5px;
    border: none;
    outline: none;
    background: none;
    padding: 5px 12px;
    border-radius: 50%;
}
.chat-container .cancel-reply:hover {
    background-color: #e4e4e4;
}
.chat-container #mentionInputMenu {
    position: absolute;
    bottom: 45px;
    margin: 0;
    box-shadow: 0px 2px 10px #b5b5b5;
    border-radius: 4px;
    padding: 0;
    list-style-type: none;
    z-index: 8;
    background-color: #fff;
    max-height: 15rem;
    overflow: auto;
}
.chat-container #mentionInputMenu::-webkit-scrollbar {
    width: 5px;
}
.chat-container #mentionInputMenu::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #9c9c9c;
}
.chat-container #mentionInputMenu li {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}
.chat-container #mentionInputMenu li.focused {
    background-color: #efefef;
}
.chat-container #mentionInputMenu li:hover {
    background-color: #eaeaea;
}
.chat-header .chat-header-action {
    display: flex;
    align-items: center;
    flex: 1;
}
.chat-header .chat-header-action h3 {
    margin: 0;
    margin-right: auto;
    font-size: 22px;
}

#toggleOnlySubscribe.denied {
    color: #bf1010;
    background-color: #ffbebe;
    position: relative;
}
#toggleOnlySubscribe.denied:after {
    content: "Vos notifications navigateurs sont désactivées, veuillez les réactiver en cliquant en haut à gauche de votre navigateur.";
    background-color: #000000;
    display: block;
    position: absolute;
    left: 10rem;
    top: 40px;
    transform: translateX(-50%);
    width: 20rem;
    font-size: 12px;
    line-height: 14px;
    color: white;
    padding: 10px;
    border-radius: 4px;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
}
#toggleOnlySubscribe.denied:hover:after {
    visibility: visible;
    opacity: 1;
}
.chat-header .chat-header-action .dropdown-menu,
.menu-btn-notif .dropdown-menu {
    width: 35rem;
    min-width: 35rem;
    max-width: 35rem;
    padding: 0.5rem;
    background-color: #f1f1f1;
    z-index: 10;
}
.chat-header .chat-header-action .dropdown-menu .list-group-item,
.menu-btn-notif .dropdown-menu .list-group-item {
    margin-bottom: 0.5rem;
    border: none;
    box-shadow: 0px 0px 5px #e0e0e0;
    border-radius: 4px;
    padding: 10px;
    outline: none;
    background-color: white;
}
.chat-header .chat-header-action .dropdown-menu .list-group-item:last-of-type,
.menu-btn-notif .dropdown-menu .list-group-item:last-of-type {
    margin-bottom: 0;
}
.chat-header .chat-header-action .dropdown-menu .list-group-item .message,
.menu-btn-notif .dropdown-menu .list-group-item .message {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    font-size: 12px;
    margin-bottom: 5px;
}
.chat-header .chat-header-action .dropdown-menu .dropdown-title,
.menu-btn-notif .dropdown-menu .dropdown-title {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}
.chat-header .chat-header-action .dropdown-menu .no-data,
.menu-btn-notif .dropdown-menu .no-data {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    background-color: white;
    box-shadow: 0px 0px 5px #e0e0e0;
    border-radius: 4px;
}
.chat-header .chat-header-action .list-group,
.menu-btn-notif .list-group {
    max-height: 25rem;
    overflow-y: auto;
}
.chat-header .chat-header-action .list-group::-webkit-scrollbar,
.menu-btn-notif .list-group::-webkit-scrollbar {
    width: 5px;
}
.chat-header .chat-header-action .list-group::-webkit-scrollbar-thumb,
.menu-btn-notif .list-group::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #9c9c9c;
}

.sentImage {
    max-width: 200px !important;
    border-radius: 10px;
    border-top-right-radius: 0;
    cursor: pointer;
}
.sentImageDiv {
    display: flex;
    justify-content: flex-end;
    width: fit-content;
    z-index: 1;
}
.sentMessageContainer2 {
    display: flex;
    flex-direction: column;
    max-width: 70%;
}
.whoReplied {
    margin: 0;
    font-size: 0.75rem;
    color: #8a8d91;
}
.whoReplied .fa-reply {
    margin-right: 5px;
}
.receivedImage {
    max-width: 200px !important;
    border-radius: 10px;
    border-top-left-radius: 0;
    cursor: pointer;
}
.sentImage:hover,
.receivedImage:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
}
#imagePreview {
    width: 100%;
}
.chat-container .message-text-input-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-end;
    margin-bottom: 5px;
}
.chat-container .message-text-input-container .input-files-label {
    background-color: #0084ff;
    cursor: pointer;
    color: #fff;
    height: 38px;
    width: 38px;
    margin: 0 8px;
    text-align: center;
    line-height: 38px;
    border-radius: 50%;
}
.chat-container .message-text-input-container .input-files-label:hover {
    background-color: #0072dc;
}
.chat-container .input-text-container {
    position: relative;
    flex: 1;
    background-color: #ececec;
    border-radius: 20px;
}
.chat-container .send-message-button {
    background: none;
    border: none;
    color: #0084ff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 4px;
    outline: none;
    font-size: 20px;
    transition: transform 0.3s;
}
.chat-container .send-message-button:hover {
    transform: scale(1.2);
}
#messageInput {
    user-select: text;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 22px;
    outline: none;
    padding: 8px 15px;
    font-size: 16px;
    color: #333;
}
#messageInput:empty::after {
    content: "Aa";
    color: #8e8e8e;
    cursor: text;
}
#messageInput span {
    background-color: #c5daf4;
    border-radius: 4px;
    padding: 2px 4px;
}
.messageResponseButton,
.messageDeleteButton {
    display: none;
    margin-left: 15px;
    border-radius: 50%;
}
.receivedMessageContainer:hover .messageResponseButton {
    display: block;
}
.dayTimeClockFirstRow td {
    border-top-color: black;
}

.dayTimeClockLastRow td {
    border-bottom-color: black;
}

.redPastelBg {
    background-color: #f39797 !important;
}

.greenPastelBg {
    background-color: #a6e4b5 !important;
}

.sortByRole {
    display: flex;
    list-style-type: none;
}

.sortByRole li {
    margin: 0 10px;
}
.panelLoader {
    background-color: white;
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chat-container #imagePreview {
    border-radius: 0.3rem;
}
.messageLoader {
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 6rem;
    height: 6rem;
}
.removeDayTimeClock {
    margin-bottom: 1rem;
    margin-left: auto;
    display: block;
}
.resetFilterButton {
    align-self: flex-end;
    margin-right: 80px;
}
.ouvrageCloture {
    background-color: #c5c1c1 !important;
    font-style: italic;
}
.constructionSiteCloture {
    background-color: grey !important;
    font-style: italic;
}
.sticky-head > th {
    position: sticky;
    top: 0;
}
.second-sticky-head > th {
    position: sticky;
    top: 22px;
}

.divCheckReception {
    border-top: solid black 1px;
    padding: 5px;
    align-items: center;
}

.divCheckReception > div {
    display: flex;
    align-items: center;
}

.divCheckReceptionText > div {
    width: 60%;
}

.divCheckReception > div > .form-group {
    margin: 10px;
}

.divCheckReceptionText > div > .form-group:nth-child(2) {
    width: 70%;
}
.form-control.form-control-sm.dropdown-toggle {
    min-height: 100%;
}

#loaderListingWork {
    position: absolute;
    left: 14%;
    bottom: 15px;
}
.messageDeleteButton,
.messageActionButton {
    display: none;
    margin-right: 15px;
    border-radius: 50%;
    align-self: center;
}

.sentMessageContainer:hover .messageDeleteButton {
    display: block;
}

.receivedMessageContainer:hover .messageDeleteButton {
    display: block;
}
.sentMessageContainer:hover .messageActionButton {
    display: block;
}
.receivedMessageContainer:hover .messageActionButton {
    display: block;
}
.checkPrintImage {
    max-width: 300px;
    max-height: 600px;
}
.requiredError {
    margin-left: 5px;
    position: relative;
    top: -5px;
}

td.center {
    text-align: center;
    vertical-align: middle;
}

.rfs {
    font-size: calc(8px + (14 - 8) * ((100vw - 1200px) / (2100 - 1200)));
}

.rfs.btnConstructionSite {
    text-align: left !important;
    font-size: calc(10px + (14 - 10) * ((100vw - 1200px) / (2100 - 1200)));
}

#constructionSites {
    overflow-y: auto;
    max-height: 30rem;
    height: 100%;
}

table.admin-users input[type="checkbox"] {
    width: 2rem;
    height: 2rem;
    margin: 0 auto;
}

table.admin-users td {
    vertical-align: middle !important;
}

.card-rounded {
    border-radius: 15px;
    border: 1px solid rgb(190, 190, 190);
    background-color: #f8f9fa;
}

.card-top-radius {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-color: rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgb(190, 190, 190);
}

.card-bottom-radius {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    background-color: #f8f9fa;
}

.bg-grey {
    background-color: rgba(0, 0, 0, 0.12);
}

.phase.clotured {
    background-color: #d3d3d3;
}

.phase.clotured a {
    text-decoration: none;
    color: #3e444a;
}
/** Autocomplete **/
.autocomplete {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
}
.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
}
.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: #e9e9e9;
}
.autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: DodgerBlue !important;
    color: #ffffff;
}
/** fin autocomplete **/
tag-user {
    background-color: #dcdcdc;
}
.chat-container .message-date {
    position: relative;
    width: 100%;
    margin: 10px 0 15px 0;
    z-index: 7;
}
.chat-container .message-date .date-text {
    position: absolute;
    font-size: 0.75rem;
    color: #8a8d91;
    font-weight: 600;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 0 5px;
}
.chat-container .messageRowContainer.new .message-date {
    border-top: thin solid red;
    margin-bottom: 15px;
}
.chat-container .messageRowContainer.new .message-date .date-text {
    color: #de1818;
    font-weight: 700;
}
.chat-container .message-date span.new-text {
    display: none;
}
.chat-container .messageRowContainer.new .message-date span.new-text {
    display: block;
    position: absolute;
    top: -10px;
    right: 0;
    border-radius: 4px 4px 4px 4px;
    background-color: #de1818;
    color: white;
    padding: 0px 4px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.7px;
}
.chat-container .messageRowContainer.new .message-date span.new-text::after {
    content: "";
    border-style: solid;
    border-width: 9px 10px 9px 0;
    border-color: transparent #de1818 transparent transparent;
    position: absolute;
    left: -8px;
    top: 0px;
}
.day-separator {
    border-top: thin solid #72767d;
    position: relative;
}

.day-separator span {
    position: absolute;
    /* top: -13px; */
    border-radius: 4px 4px 4px 4px;
    background-color: white;
    color: #36393f;
    padding: 0px 4px;
    left: 50%;
    transform: translate(-50%, -50%);
}

#btn-messagerie {
    position: relative;
}
#btn-messagerie::after {
    content: attr(data-unread-notif-number);
    background-color: red;
    position: absolute;
    top: -6px;
    right: -6px;
    font-size: 14px;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    border-radius: 50%;
    color: white;
    font-weight: 600;
}
#btn-messagerie[data-unread-notif-number="0"]::after {
    display: none;
}

#buttonOpenImportantMessagesContainer::after {
    content: attr(data-important-message-number);
    background-color: red;
    position: absolute;
    top: -6px;
    right: -6px;
    font-size: 14px;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    border-radius: 50%;
    color: white;
    font-weight: 600;
}
#buttonOpenImportantMessagesContainer[data-important-message-number="0"]::after {
    display: none;
}

/* Styles pour les radio buttons de destination */
.destination-radio-group {
    margin: 10px 0;
}

.destination-radio-group .form-check {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 5px;
}

.destination-radio-group .form-check-input {
    margin-right: 5px;
}

.destination-radio-group .form-check-label {
    font-weight: normal;
    color: #495057;
}

.destination-radio-group .form-check-input:checked + .form-check-label {
    font-weight: 600;
    color: #007bff;
}

/* Amélioration de l'apparence des radio buttons */
.destination-radio-group .form-check-input {
    width: 16px;
    height: 16px;
    border: 2px solid #ced4da;
    border-radius: 50%;
    background-color: #fff;
    transition: all 0.2s ease-in-out;
}

.destination-radio-group .form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.destination-radio-group .form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Styles pour les radio buttons de destination */
.destination-radio-group label {
    font-weight: 600;
    color: #495057;
}
