/* 
    Created on : 23 févr. 2023
    Author     : vincent.cesar
*/

.main-content-wrap {
    padding-top: 7rem !important;
    margin-top: 0 !important;
    margin-bottom: 30px;
}

.cursor-pointer {
    cursor: pointer;
}

.confirm-button {
    border: none;
    cursor: pointer;
    background: transparent;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* semi-transparent background */
    z-index: 9999; /* ensure it covers everything */
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

.mentionTrumbowyg {
    font-weight: bold;
    color: #f44336;
}

.avatar {
    margin: 4px;
    width: 50px;
    --height: 32px;
    border-radius: 5%;
}

.form-check-input {
    height: 20px;
    width: 20px;
}
.form-check-label {
    line-height: 20px;
    padding: 5px;
}

.date-input {
    width: 160px;
}

.demande-active {
    background-color: #f3f3f3;
}

.badge-lg{
    font-size: 0.8rem;
    min-width: 48px;
}

/* DATA TABLE */

table.dataTable tbody th, table.dataTable tbody td {
    padding: 4px 4px !important;
}

table.dataTable>thead .sorting:before, table.dataTable>thead .sorting:after, table.dataTable>thead .sorting_asc:before, table.dataTable>thead .sorting_asc:after, table.dataTable>thead .sorting_desc:before, table.dataTable>thead .sorting_desc:after, table.dataTable>thead .sorting_asc_disabled:before, table.dataTable>thead .sorting_asc_disabled:after, table.dataTable>thead .sorting_desc_disabled:before, table.dataTable>thead .sorting_desc_disabled:after {
    display: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0 !important;
}

/*  DATA TABLE - liste contrat*/

td.soldeHeureZero {
    font-weight: bold;
    color: orange;
}

html.dark td.soldeHeureZero {
    color: white;
}

td.soldeHeureNegatif {
    font-weight: bold;
    color: red;
}
html.dark td.soldeHeureNegatif {
    color: white;
}

td.soldeHeurePositif {
    font-weight: bold;
    color: green;
}
html.dark td.soldeHeurePositif {
    color: white;
}


.badge-0 {
    background-color: #868e96;
    width: 115px;
}

.badge-1 {
    background-color: #c9302c;
    width: 115px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.badge-2 {
    background-color: #f0ad4e;
    width: 115px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.badge-3 {
    background-color: #f39c12;
    width: 115px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.badge-4 {
    background-color: #f1c40f;
    width: 115px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.badge-5 {
    background-color: #28a745;
    width: 115px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.badge-6 {
    background-color: #218838;
    width: 115px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.badge-7 {
    background-color: #17a2b8;
    width: 115px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.badge-8 {
    background-color: #007bff;
    width: 115px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.badge-9 {
    background-color: #6f42c1;
    width: 115px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.badge-10 {
    background-color: #868e96;
    width: 115px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.badge-priorite-1 {
    background-color: #28a745;
    width: 56px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.badge-priorite-2 {
    background-color: #f1c40f;
    width: 56px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.badge-priorite-3 {
    background-color: #c9302c;
    width: 56px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.alert hr {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

tbody > tr {
    height: 40px;
}

tbody th, tbody td {
    vertical-align: middle !important;
}

.modal-xl {
    max-width: 1350px;
}

.card-body-commentaire-initial p, .reponse-paginee p {
    margin-bottom: 0 !important;
}

.dtsb-add, .buttons-csv {
    display: inline-block !important;
    font-weight: 400 !important;
    color: #fff !important;
    text-align: center !important;
    vertical-align: middle !important;
    cursor: pointer !important;
    background-color: #6c757d !important; /* gris secondaire */
    border: 1px solid #6c757d !important;
    padding: 0.25rem 0.5rem !important; /* plus petit */
    font-size: 0.875rem !important; /* plus petit texte */
    line-height: 1.25 !important;
    border-radius: 0.25rem !important; /* angles un peu moins arrondis */
    transition: color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}

.dtsb-add:hover, .buttons-csv:hover {
    background-color: #5c636a !important;
    border-color: #565e64 !important;
}

.dtsb-add:focus, .buttons-csv:focus {
    outline: 0 !important;
    box-shadow: 0 0 0 0.25rem rgba(108, 117, 125, 0.5) !important;
}

.dtsb-add:disabled, .buttons-csv:disabled {
    opacity: 0.65 !important;
    pointer-events: none !important;
}

.dt-info {
    margin-top: 5px;
}


@media (max-width: 767px) {
    .hide-on-mobile {
        display: none !important;
    }

    .main-content-wrap {
        padding-top: 5rem !important;
        margin-top: 0 !important;
        padding-left: 0;
        padding-right: 0;
    }

    .container-fluid {
        padding-right: 5px;
        padding-left: 5px;
    }

    .inbox-main-sidebar-container .inbox-secondary-sidebar-container .inbox-secondary-sidebar-content .inbox-details {
        padding: 0.5rem 0.5rem;
    }
}