@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,800");

/*
    Bleu clair  : #3246bc   rgb(50,70,188)
    Bleu foncé  : #27348b   rgb(39,52,139)
    Vert clair   : #853ea5  rgb(0, 135, 145);
    Violet foncé : #502d87  rgb(80,45,135)
    Gris clair   : #4a4a49
    Gris foncé   : #3c3c3b
*/

.light-theme {
    --btn-login_background: #428994;
    /*rgb(0, 135, 145);*/
    --btn-login_color: white;
    --forgot_password: #a0a0a0;
    /*rgb(0, 135, 145);*/
    --main_background: #f0f2f5;
    /* div.main */
    --menu_background: rgba(133, 62, 165, 0.8);
    /* #cssmenu */
    --menu_background_hide_menu: white;
    /* #hide_menu */
    --menu_toggle: #4a4a49;
    /* #hide_menu #toggle */
    --menu_label_color: white;
    /* #cssmenu ul li a */
    --menu_sub_background: whitesmoke;
    /* #cssmenu ul ul li a */
    --menu_sub_color: #4a4a49;
    /* #cssmenu ul ul li a */
    --menu_icon_color: white;
    /* #cssmenu ul li a span */
    --menu_active_icon_color: white;
    /* #cssmenu ul li a.active_li span */
    --dashboard_h4: #333333;
    /* .sub-header h4 */
    --dashboard_box_background: white;
    /* .dashboard-box */
    --dashboard_text_color: black;
    /* .horizontal-list */
    --dashboard_footer_color: #333333;
    /* .sub-footer span */
    /* div.rightblock */
    --rightblock_background: white;
    /* div.rightblock */
    --header_background: #4a4a49;
    /* div.header */
    --header_color: white;
    /* div.topleft */
    --select_background: white;
    /* div.styled-select select */
    --select_color: black;
    /* div.styled-select select */
    --lnr: #27348b;
    /* lnr */
    --lnr_title: black;
    /* lnr-title */
    --list_background: white;
    /* listBackground*/
    --list_color: black;
    /* listBackground*/
    --list_header_color: black;
    /* div.listHeader */
    --detail_background: white;
    /* div.detail */
    --detail_color: black;
    /* div.detail */
    --list_body_background: white;
    /* div.listBody */
    --list_body_color: black;
    /* div.listBody */
    --input_background: white;
    /* input */
    --input_color: black;
    /* input */
    --person_forms_link: #1a0dab;
    /* person_forms_link */
    --dropdown-background: white;
    /* dropdown */
    --dropdown-color: rgb(0, 135, 145);
    /* dropdown */
    --action_background: #f6f6f6;
    /* div.actionmenu */
    --action_color: black;
    /* div.actionmenu ul li */
    --dialog_background: white;
    /* .ui-widget-content */
    --dialog_color: black;
    /* .ui-widget-content */
    --event_color: black;
    /* .event */
    --calendar_top_date_color: black;
    /* .calendar_top_date */
    --placeholder_color: #555555;
    /* placeholder */
    --welcome_tile_color: black;
    /* div.welcome_tile */
    --welcome_tile_background: white;
    /* div.welcome_tile */
    --divmsg_tile_color: #333333;
    /* div.welcome_tile */
    --divmsg_tile_background: white;
    /* div.welcome_tile */
    --mytile_background: white;
    /* div.mytile */
    --mytile_color: black;
    /* div.mytile */
    --mytile_hover_background: rgba(134, 63, 166, 0.25);
    /* div.tiledivover */
    --mytile_hover_color: black;
    /* div.tiledivover */
    --mygroup_manager_header_background: white;
    /* mygroup_manager_header */
    --mygroup_manager_header_color: black;
    /* mygroup_manager_header */
    --mygroup_manager_body_background: white;
    /* mygroup_manager_header */
    --mygroup_manager_body_color: black;
    /* mygroup_manager_header */
    --grid_odd_background: #eee;
    /* .tablesorter-metro-dark tr:nth-child(odd) > td */
    --grid_even_background: #fff;
    /* .tablesorter-metro-dark tr:nth-child(odd) > td */
    --grid_odd_color: #000000;
    /* .tablesorter-metro-dark tr:nth-child(odd) > td */
    --grid_even_color: #000000;
    /* .tablesorter-metro-dark tr:nth-child(odd) > td */
    --filterboximg: #502d87;
    /* span.filterboximg */
    --cross_delete_blue: blue;
    /* lnr-cross-delete-blue */
    --spinner_color: #333;
    --help_background: rgb(0, 135, 145);
    --help_border: rgb(0, 135, 145);
    /* plus foncé ? */
    --help_header_border: rgb(0, 135, 145);
    /* plus foncé ? */
    --help_header_background: rgb(0, 135, 145);
    --help_header_color: #fff;
    --help_header_button_background: rgb(0, 135, 145);
    --help_header_button_hover_background: rgb(0, 135, 145);
    /* plus foncé ? */
    --help_result_background: #fff;
    --help_result_delimiter: #888;
    --help2: rgba(0, 135, 145, 0.7);
    --help2_hover: rgba(0, 135, 145, 1);
    --h3_color: #bbbbbb;
    --button_color: rgba(0, 135, 145, 1);
    --button_color_hover: rgba(0, 105, 115, 1);
    --button_background_color: rgba(0, 135, 145, 1);
    --button_background_color_hover: rgba(0, 135, 145, 0.7);
    --button_text_color: #fff;
    --button_text_color_hover: #fff;
    --button_background_color_active: rgba(0, 135, 145, 1);
}

.dark-theme {
    --btn-login_background: #428994;
    /*rgb(0, 135, 145);*/
    --btn-login_color: white;
    --forgot_password: #a0a0a0;
    /*rgb(0, 135, 145);*/
    --main_background: #2b2b2b;
    /* div.main */
    --menu_background: #2b2b2b;
    /* #cssmenu */
    --menu_background_hide_menu: #2b2b2b;
    /* #hide_menu */
    --menu_toggle: #bbbbbb;
    /* #hide_menu #toggle */
    --menu_label_color: #bbbbbb;
    /* #cssmenu ul li a */
    --menu_sub_background: #2b2b2b;
    /* #cssmenu ul ul li a */
    --menu_sub_color: #bbbbbb;
    /* #cssmenu ul ul li a */
    --menu_icon_color: white;
    /* #cssmenu ul li a span */
    --menu_active_icon_color: #2b2b2b;
    /* #cssmenu ul li a.active_li span */
    --dashboard_h4: #bbbbbb;
    /* .sub-header h4 */
    --dashboard_box_background: #2b2b2b;
    /* .dashboard-box */
    --dashboard_text_color: #bbbbbb;
    /* .horizontal-list */
    --dashboard_footer_color: #bbbbbb;
    /* .sub-footer span */
    --rightblock_background: #2b2b2b;
    /* div.rightblock */
    --header_background: #2b2b2b;
    /* div.header */
    --header_color: #bbbbbb;
    /* div.topleft */
    --select_background: #2b2b2b;
    /* div.styled-select select */
    --select_color: #ffffff;
    /* div.styled-select select */
    --lnr: #bbbbbb;
    /* lnr */
    --lnr_title: #bbbbbb;
    /* lnr-title */
    --list_background: #2b2b2b;
    /* listBackground*/
    --list_color: #bbbbbb;
    /* listBackground*/
    --list_header_color: #bbbbbb;
    /* div.listHeader */
    --detail_background: #2b2b2b;
    /* div.detail */
    --detail_color: #bbbbbb;
    /* div.detail */
    --list_body_background: #2b2b2b;
    /* div.listBody */
    --list_body_color: #bbbbbb;
    /* div.listBody */
    --input_background: #2b2b2b;
    /* input */
    --input_color: #ffffff;
    /* input */
    --person_forms_link: #ffffff;
    /* person_forms_link */
    --dropdown-background: #2b2b2b;
    /* dropdown */
    --dropdown-color: #bbbbbb;
    /* dropdown */
    --action_background: #2b2b2b;
    /* div.actionmenu */
    --action_color: #bbbbbb;
    /* div.actionmenu ul li */
    --dialog_background: #2b2b2b;
    /* .ui-widget-content */
    --dialog_color: #bbbbbb;
    /* .ui-widget-content */
    --event_color: #2b2b2b;
    /* .event */
    --calendar_top_date_color: #2b2b2b;
    /* .calendar_top_date */
    --placeholder_color: #bbbbbb;
    /* placeholder */
    --welcome_tile_color: #bbbbbb;
    /* div.welcome_tile */
    --welcome_tile_background: #2b2b2b;
    /* div.welcome_tile */
    --divmsg_tile_color: #bbbbbb;
    /* div.welcome_tile */
    --divmsg_tile_background: #2b2b2b;
    /* div.welcome_tile */
    --mytile_background: #2b2b2b;
    /* div.mytile */
    --mytile_color: #bbbbbb;
    /* div.mytile */
    --mytile_hover_background: rgba(59, 59, 59, 0.75);
    /* div.tiledivover */
    --mytile_hover_color: black;
    /* div.tiledivover */
    --mygroup_manager_header_background: #2b2b2b;
    /* mygroup_manager_header */
    --mygroup_manager_header_color: #bbbbbb;
    /* mygroup_manager_header */
    --mygroup_manager_body_background: #2b2b2b;
    /* mygroup_manager_header */
    --mygroup_manager_body_color: #bbbbbb;
    /* mygroup_manager_header */
    --grid_odd_background: #2b2b2b;
    /* .tablesorter-metro-dark tr:nth-child(odd) > td */
    --grid_even_background: #2b2b2b;
    /* .tablesorter-metro-dark tr:nth-child(odd) > td */
    --grid_odd_color: #bbbbbb;
    /* .tablesorter-metro-dark tr:nth-child(odd) > td */
    --grid_even_color: #bbbbbb;
    /* .tablesorter-metro-dark tr:nth-child(odd) > td */
    --filterboximg: #bbbbbb;
    /* span.filterboximg */
    --cross_delete_blue: #bbbbbb;
    /* lnr-cross-delete-blue */
    --spinner_color: #502d87;
    --help_background: rgb(0, 135, 145);
    --help_border: rgb(0, 135, 145);
    /* plus foncé ? */
    --help_header_border: rgb(0, 135, 145);
    /* plus foncé ? */
    --help_header_background: rgb(0, 135, 145);
    --help_header_color: #fff;
    --help_header_button_background: rgb(0, 135, 145);
    --help_header_button_hover_background: rgb(0, 135, 145);
    /* plus foncé ? */
    --help_result_background: #fff;
    --help_result_delimiter: #888;
    --help2: rgba(0, 135, 145, 0.7);
    --help2_hover: rgba(0, 135, 145, 1);
    --h3_color: #bbbbbb;
    --button_color: rgba(0, 135, 145, 1);
    --button_color_hover: rgba(0, 105, 115, 1);
    --button_background_color: rgba(0, 135, 145, 1);
    --button_background_color_hover: rgba(0, 135, 145, 0.7);
    --button_text_color: #fff;
    --button_text_color_hover: #fff;
    --button_background_color_active: rgba(0, 135, 145, 1);
}

@font-face {
    font-family: "Exo2.0";
    font-style: normal;
    font-weight: normal;
    src: url("Exo2.0-Medium.otf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400;
    src: local("Roboto Regular"), local("Roboto-Regular"),
        url(Roboto.woff) format("woff");
}

@font-face {
    font-family: "exo";
    font-style: normal;
    font-weight: normal;
    src: url("Exo2.0-Medium.otf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: normal;
    src: url(Roboto.woff) format("woff");
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: normal;
    src: url("OpenSans-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Ubuntu";
    font-style: normal;
    font-weight: normal;
    src: url("Ubuntu/Ubuntu-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Material Icons";
    font-style: normal;
    font-weight: 400;
    src: url("material-design-icons/MaterialIcons.woff2") format("woff2");
}

.material-icons {
    font-family: "Material Icons";
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: "liga";
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

::placeholder {
    /* Firefox */
    font-style: normal;
}

#overlay {
    height: 100%;
    min-height: 60px;
    padding-top: 15px;
    width: 0;
    position: absolute;
    z-index: 1003;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.1);
    overflow-x: hidden;
}

#loader {
    z-index: 110;
    display: none;
    position: absolute;
    top: calc(50vh - 40px);
    left: calc(50vw - 40px);
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #27348b;
    width: 80px;
    height: 80px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

#loader2 {
    z-index: 110;
    display: none;
    position: sticky;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 15px solid #f3f3f3;
    border-radius: 50%;
    border-top: 15px solid #27348b;
    width: 30px;
    height: 30px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

/***********/
/* SPINNER */
/***********/
.spinner {
    margin: 100px auto 0;
    width: 70px;
    text-align: center;
}

.spinner > div {
    width: 18px;
    height: 18px;
    background-color: var(--spinner_color);
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@keyframes sk-bouncedelay {
    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

body {
    display: flex;
    flex-direction: row;
    margin: 0;
    font-family: Roboto, sans-serif;
    height: 100vh;
    overflow: hidden;
    background-size: 100%;
    background-repeat: no-repeat;
    scrollbar-width: none;
    --tw-gradient-to-position: ;
    --tw-gradient-from-position: ;
    --tw-gradient-to: #93c5fd var(--tw-gradient-to-position);
    --tw-gradient-from: #fbcfe8 var(--tw-gradient-from-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

/* Chrome, Safari, Opera */
body::-webkit-scrollbar {
    width: 0 !important;
}

p {
    margin: 0;
}

div {
    box-sizing: border-box;
}

h1 {
}

h2 {
}

h3 {
}

h4 {
    margin-top: 0;
    margin-bottom: 0.66em;
}

form {
    height: 100%;
}

@media screen and (max-width: 360px) {
    body {
    }

    div.login {
        display: block;
        width: auto;
        left: 2px;
        right: 2px;
        margin-left: auto;
        bottom: 100px;
    }
}

/********************/
/*   Common Header  */
/********************/
div.rightblock {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* prend toute la place restante */
    min-width: 0;
    /* obligatoire pour que les elements enfants ne dépassent pas */
    background: var(--rightblock_background);
    background-color: transparent;
}

div.header {
    height: 50px;
    display: block;
    box-sizing: border-box;
    margin: 10px;
    padding-top: 3px;
    border-radius: 10px;
    background-color: transparent;
}

div.topleft {
    display: block;
    box-sizing: border-box;
    float: left;
    max-width: calc(100% - 550px);
    height: 40px;
    margin-left: 20px;
    line-height: 35px;
    color: white;
    font-size: x-large;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

div.topcenter {
    margin-left: 50px;
    float: left;
    height: 40px;
    width: 300px;
    overflow: hidden;
    cursor: pointer;
}

.magicsearch {
    width: calc(100% - 25px);
    background-color: white;
    box-shadow: inset 2px 5px 4px -1px rgba(0, 0, 0, 0.35);
    color: rgb(0, 135, 145);
    height: calc(100% - 4px);
    border-radius: 25px;
    padding: 0 20px 0 20px;
    margin: 2px;
}

.magicsearch::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: lightgray;
    opacity: 1;
    /* Firefox */
}

.searchhighlight {
    color: red;
    font-weight: bold;
    text-decoration: underline;
}

.magicsearch-type {
    font-weight: bold;
    font-size: 1.5em;
    margin-top: 10px !important;
}

.magicsearch_go {
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 8px !important;
}

.magicsearch_status {
    background-color: #00ff80;
    border-radius: 8px;
    padding: 0 5px 0 5px;
    margin-left: 10px;
}

.magicsearch_status_PENDING_VALIDATION {
    background-color: rgba(55, 136, 216, 0.4) !important;
    /* bleu */
}

.magicsearch_status_VALIDATED {
    background-color: rgba(30, 130, 76, 0.4) !important;
    /* vert */
}

.magicsearch_status_IN_PROGRESS {
    background-color: rgba(128, 128, 128, 0.4) !important;
    /* vert */
}

.magicsearch_PARTLY_DELIVERED {
    background-color: rgba(255, 249, 222, 1) !important;
    /* vert */
    text-decoration: line-through !important;
    /* barré */
}

.magicsearch_status_FULLY_DELIVERED {
    background-color: rgba(248, 148, 6, 0.4) !important;
    /* vert */
    text-decoration: line-through !important;
    /* barré */
}

.magicsearch_status_ENTRY_MODE {
    background-color: rgba(255, 255, 255, 1) !important;
    /* vert */
}

.magicsearch_status_0 {
    background-color: rgba(255, 0, 0, 1) !important;
    /* vert */
}

.magicsearch_status_1 {
    background-color: rgba(0, 255, 0, 1) !important;
    /* vert */
}

div.topcenter span.lnr-magnifier {
    color: rgb(0, 135, 145);
    font-weight: bold;
    line-height: 40px;
    position: relative;
    right: 35px;
    top: 0;
}

div.topright {
    display: block;
    float: right;
    height: 40px;
    line-height: 40px;
    text-align: right;
    padding-right: 10px;
    box-sizing: border-box;
}

img.avatar {
    position: relative;
    object-fit: cover;
    width: 34px;
    height: 34px;
    top: -1px;
    border-radius: 50%;
}

div.avatar {
    position: relative;
    top: -1px;
    color: white;
    text-align: center;
    overflow: hidden;
    border-radius: 50%;
    background-color: #428994;
    border: 3px solid white;
    height: 50px;
    width: 50px;
    font-size: 25px;
    line-height: 40px;
}

div.main {
    display: flex;
    overflow: auto;
    box-sizing: border-box;
    margin: 10px;
    background-color: var(--main_background);
    border-radius: 10px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.4);
}

form.BOForm {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
}

div.buttonbar {
    position: fixed;
    top: 0;
    left: 220px;
    height: 40px;
    z-index: 10;
    display: block;
}

.show_hide {
    display: none;
    cursor: pointer;
}

/* END */

.fieldlabel {
    font-size: 100%;
    text-align: right;
    white-space: nowrap;
}

.fieldlabel2 {
    font-size: small;
    text-align: left;
    white-space: nowrap;
    color: #ababb8;
    color: gray;
}

.required::before {
    content: "* ";
    color: red;
}

a,
a:link,
a:visited,
a:active {
    color: black;
    text-decoration: none;
    font-family: Roboto, sans-serif;
    font-style: normal;
    font-weight: normal;
    cursor: pointer;
}

/********/
/* FORM */
/********/
div.listBackground {
    position: relative;
    display: block;
    float: left;
    width: 100%;
    color: black;
    background-color: white;
    overflow: auto;
}

div.detail {
    position: relative;
    display: block;
    width: 100%;
    color: black;
    background-color: white;
    overflow: auto;
    height: calc(100vh - 60px);
}

div.fullscreen {
    height: calc(100vh - 60px);
}

div.fullscreen-ng {
    display: flex;
    flex-direction: column;
}

div.listHeader {
    font-size: 16px;
    line-height: 30px;
    padding-left: 4px;
    color: black;
    background-color: white;
    box-sizing: border-box;
    overflow: auto;
    border: 1px solid #c5c5c5;
    border-radius: 4px;
    margin-bottom: 5px;
    flex-shrink: 0;
}

div.listFilter {
    box-sizing: border-box;
    padding: 10px 15px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

div.detail2 {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    padding-left: 4px;
    padding-right: 4px;
    border-left: 2px solid grey;
    border-right: 2px solid grey;
    width: 860px;
    height: 100px;
    text-align: left;
    color: #000000;
    background-color: white;
    overflow: auto;
}

div.detail3 {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    padding-left: 4px;
    padding-right: 4px;
    border-left: 2px solid grey;
    border-right: 2px solid grey;
    border-bottom: 2px solid grey;
    width: 860px;
    height: 60px;
    text-align: left;
    color: #000000;
    background-color: white;
    overflow: auto;
}

div.newdetail {
    position: relative;
    margin-left: 4px;
    margin-right: 4px;
    margin-top: 0;
    padding-left: 4px;
    padding-right: 4px;
    border: 2px solid grey;
    text-align: left;
    color: #000000;
    background-color: white;
    overflow: auto;
}

table.detail {
    font-size: 10pt;
    text-align: center;
    overflow: scroll;
}

/*************/
/* LIST FORM */
/*************/
div.listBody {
    padding-left: 4px;
    padding-right: 4px;
    font-size: 16px;
    color: black;
    background-color: white;
/*    height: calc(100vh - 170px);*/
    flex-grow: 1;
    min-height: 300px;
    overflow: auto;
}

/********/
/* TABS */
/********/
td.faketabup {
    cursor: default;
    width: 100px;
    padding-left: 1em;
    padding-right: 1em;
    height: 2em;
    line-height: 2em;
    border-left: 2px solid white;
    border-radius: 4px 4px 0 0;
    background-color: #27348b;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
    color: white;
    white-space: nowrap;
}

td.faketabdown {
    cursor: default;
    width: 100px;
    padding-left: 1em;
    padding-right: 1em;
    height: 2em;
    line-height: 2em;
    border-top: 2px solid white;
    border-left: 2px solid white;
    border-radius: 4px 4px 0 0;
    background-color: #008791;
    font-size: 14px;
    text-align: center;
    font-weight: normal;
    color: white;
    white-space: nowrap;
}

td.faketabdown:hover {
    background-color: #008791;
    cursor: pointer;
}

td.faketabline {
    cursor: default;
    border-bottom: 2px solid #27348b;
}

div.tab {
    display: flex;
}

div.fakeTabUp {
    cursor: default;
    width: 100px;
    padding-left: 1em;
    padding-right: 1em;
    height: 2em;
    line-height: 2em;
    border-left: 2px solid white;
    border-radius: 4px 4px 0 0;
    background-color: #27348b;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
    color: white;
    white-space: nowrap;
}

div.fakeTabDown {
    cursor: default;
    width: 100px;
    padding-left: 1em;
    padding-right: 1em;
    height: 2em;
    line-height: 2em;
    border-top: 2px solid white;
    border-left: 2px solid white;
    border-radius: 4px 4px 0 0;
    background-color: #008791;
    font-size: 14px;
    text-align: center;
    font-weight: normal;
    color: white;
    white-space: nowrap;
}

div.fakeTabDown:hover {
    background-color: #008791;
    cursor: pointer;
}

div.fakeTabLine {
    flex-grow: 1;
    cursor: default;
    border-bottom: 2px solid #27348b;
    margin-left: 2px;
}

.fakeTab-header {
    display: flex;
    width: 100%;
}

button.fakeTabUp {
    min-width: 100px;
    padding: 0 1em;
    height: 2em;
    line-height: 2em;
    border: none;
    border-radius: 4px 4px 0 0;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
    transition: all 0.2s ease;
    background-color: #27348b;
    color: white;
    font-weight: bold;
    border-left: 2px solid white;
    cursor: default;
}

button.fakeTabDown {
    min-width: 100px;
    padding: 0 1em;
    height: 2em;
    line-height: 2em;
    border: none;
    border-radius: 4px 4px 0 0;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
    transition: all 0.2s ease;
    background-color: #008791;
    color: white;
    font-weight: normal;
    border-top: 2px solid white;
    border-left: 2px solid white;
    cursor: pointer;
}

button.fakeTabDown:hover {
    background-color: #008791;
    cursor: pointer;
}

div.fakeTabLine {
    flex-grow: 1;
    border-bottom: 2px solid #27348b;
    margin-left: 2px;
}

div.faketabcontentup {
    display: block;
}

div.faketabcontentdown {
    display: none;
}

/************/
/*  BUTTON  */
/************/
button,
input.bouton {
    cursor: pointer;
}

div.menubar {
    height: 30px;
    width: auto;
    text-align: center;
    vertical-align: middle;
    padding-right: 2px;
    padding-left: 2px;
    background-color: #f5f5f5;
    border: 1px solid #888;
}

a.menubarbtn {
    color: black;
    text-decoration: none;
    font-style: normal;
    font-weight: normal;
    font-size: 8pt;
    cursor: pointer;
}

a.menubarbtn:link {
    color: black;
    text-decoration: none;
    font-style: normal;
    font-weight: normal;
    font-size: 8pt;
}

a.menubarbtn:visited {
    color: black;
    text-decoration: none;
    font-style: normal;
    font-weight: normal;
    font-size: 8pt;
}

a.menubarbtn:active {
    color: black;
    text-decoration: none;
    font-style: normal;
    font-weight: normal;
    font-size: 8pt;
}

a.flatmenubar,
a.flatmenubar:hover {
    float: left;
    font-size: 16px;
    font-weight: normal;
    vertical-align: middle;
    border-radius: 3px;
    width: 100px;
    height: 30px;
    line-height: 30px;
    /* centrage vertical */
    text-align: center;
    /* centrage horizontal */
    margin-left: 3px;
    margin-right: 3px;
}

div.ImageZoom {
    cursor: pointer;
    width: 20px;
    height: 16px;
    background-image: url("../pictures/zoom.gif");
    background-repeat: no-repeat;
    background-position: center center;
}

.pagesize {
    font-size: 8pt;
}

.toolbarfilterbtn {
    width: 120px;
    height: 22px;
    border-radius: 4px 4px 4px 4px;
}

a.menu,
a.menu:link,
a.menu:visited,
a.menu:active,
a.menu:hover {
    font-size: 11pt;
}

/* START */
/* Contact */
#office {
    margin: 5px;
    border: solid 1px black;
    padding: 10px;
}

div.assists {
    display: inline-flex;
    flex-wrap: wrap;
}

div.assist {
    display: table;
    position: relative;
    border: solid 1px black;
    height: 220px;
    width: 175px;
    margin-left: 5px;
    margin-bottom: 5px;
    padding: 5px;
}

div.assist-content {
    float: left;
    width: 175px;
    height: 225px;
    border: 1px solid black;
    margin: 2.5px;
}

div.assist-content2 {
    float: left;
    width: 175px;
    height: 190px;
    border: 1px solid black;
    margin: 2.5px;
}

div.manager {
    margin-bottom: 10px;
}

div.workers {
    display: inline-block;
    margin: 5px 82px 10px;
}

/* END */

div.calendar {
    position: static;
    display: block;
    background: whitesmoke;
}

table.calendar {
    border: solid grey 1px;
    border-collapse: collapse;
    border-spacing: 0;
}

tr.calhead {
    border: 1px solid #ccc;
    height: 25px;
    font-style: normal;
    font-weight: normal;
    font-size: 10pt;
}

th.calhour {
    border: 1px solid #ccc;
    border-right: 1px solid black;
    width: 50px;
}

th.caldayWeek {
    text-align: center;
    border: 1px solid #ccc;
    border-right: 1px solid black;
    width: 90px;
    background-color: gainsboro;
    cursor: pointer;
}

th.caldayDay {
    text-align: center;
    border: 1px solid #ccc;
    border-right: 1px solid black;
    width: 927px;
    background-color: gainsboro;
    cursor: pointer;
}

tr.calbody {
    border: 1px solid #ccc;
    height: 20px;
    font-style: normal;
    font-weight: normal;
    font-size: 10pt;
}

td.calbody {
    border: 1px solid #ccc;
    text-align: right;
}

div.event1 {
    display: block;
    position: absolute;
    cursor: pointer;
    /* default position */
    top: 26px;
    left: 54px;
    width: 80px;
    height: 97px;
    margin-left: 5px;
    background-color: lightpink;
    border: 1px solid red;
    color: black;
    border-radius: 4px 4px 4px 4px;
}

div.event1head {
    width: 100%;
    height: 16px;
    background-color: red;
    font-style: normal;
    font-weight: bold;
    font-size: 7pt;
    text-align: center;
    padding-top: 2px;
    color: white;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
}

div.eventbody {
    display: block;
    font-style: normal;
    font-weight: normal;
    font-size: 8pt;
    text-align: left;
    padding-top: 2px;
    padding-left: 2px;
    color: black;
    overflow: hidden;
}

div.event2 {
    display: block;
    position: absolute;
    cursor: pointer;
    /* default position */
    top: 26px;
    left: 54px;
    width: 80px;
    height: 97px;
    margin-left: 5px;
    background-color: #aed0ea;
    border: 1px solid royalblue;
    color: black;
    border-radius: 4px 4px 4px 4px;
}

div.event2head {
    width: 100%;
    height: 16px;
    font-style: normal;
    font-weight: bold;
    font-size: 7pt;
    text-align: center;
    padding-top: 2px;
    color: white;
    background-color: royalblue;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
}

div.event3 {
    display: block;
    position: absolute;
    cursor: pointer;
    /* default position */
    top: 26px;
    left: 54px;
    width: 80px;
    height: 97px;
    margin-left: 5px;
    background-color: lightyellow;
    border: 1px solid black;
    color: black;
    border-radius: 4px 4px 4px 4px;
}

div.event3head {
    width: 100%;
    height: 16px;
    font-style: normal;
    font-weight: bold;
    font-size: 7pt;
    text-align: center;
    padding-top: 2px;
    background-color: yellow;
    color: black;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
}

div.event4 {
    display: block;
    position: absolute;
    cursor: pointer;
    /* default position */
    top: 26px;
    left: 54px;
    width: 80px;
    height: 97px;
    margin-left: 5px;
    background-color: lightgreen;
    border: 1px solid green;
    color: black;
}

div.event4head {
    width: 100%;
    height: 16px;
    font-style: normal;
    font-weight: bold;
    font-size: 7pt;
    text-align: center;
    padding-top: 2px;
    color: white;
    background-color: mediumseagreen;
    overflow: hidden;
}

div.event5 {
    display: block;
    position: absolute;
    cursor: pointer;
    /* default position */
    top: 26px;
    left: 54px;
    width: 80px;
    height: 97px;
    margin-left: 5px;
    background-color: black;
    border: 1px solid black;
    color: white;
    border-radius: 4px 4px 4px 4px;
}

div.event5head {
    width: 100%;
    height: 16px;
    font-style: normal;
    font-weight: bold;
    font-size: 7pt;
    text-align: center;
    padding-top: 2px;
    background-color: black;
    color: white;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
}

div.warning16 {
    position: absolute;
    background-image: url("/pictures/warning16.png");
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
    top: 3px;
    width: 18px;
    display: none;
}

span {
    font-family: Roboto, sans-serif;
    font-style: normal;
    font-weight: normal;
}

select {
    font-family: Roboto, sans-serif;
}

input,
textarea {
    font-family: Roboto, sans-serif;
    overflow: hidden;
    width: 100%;
    height: 25px;
    border: solid 1px lightgrey;
    box-sizing: border-box;
}

input {
    padding-left: 3px;
    padding-right: 3px;
}

div.filter {
    position: absolute;
    float: left;
    width: 150px;
    text-align: center;
    font-size: 12pt;
    font-style: normal;
    font-weight: normal;
    background-color: lightgrey;
}

div.filtertitle {
    background-color: grey;
    height: 22px;
}

div.calendartoolbar {
    position: relative;
    top: 0;
    left: 0;
    height: 40px;
    width: 1075px;
    display: block;
    background-color: white;
    padding-top: 2px;
}

.file-wrapper {
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    position: relative;
}

.file-wrapper .button {
    background-color: black;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    padding: 4px 18px;
}

.file-wrapper input {
    cursor: pointer;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
}

.ui-dialog {
    z-index: 1001 !important;
    max-width: 100%;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4);
}

.ui-autocomplete {
    z-index: 99999 !important;
    font-size: 12px !important;
    padding: 5px !important;
}

.ui-widget {
    font-family: Roboto, sans-serif;
}

.ui-widget input {
    font-family: Roboto, sans-serif;
    font-size: 15px;
}

.ui-corner-all {
    border-radius: 4px;
}

.jqte {
    margin: 0;
    border: 1px solid lightgrey;
    border-radius: 0;
    box-shadow: none;
}

.jqte_editor,
.jqte_source {
    min-height: 300px;
}

.jqte_editor h2 {
    font-family: "Exo2.0", sans-serif;
}

div.styled-select select {
    background: var(--select_background);
    color: var(--select_color);
    width: 320px;
    border: 0;
    border-radius: 0;
    height: 25px;
    float: left;
    padding-bottom: 5px;
    padding-left: 2px;
    appearance: none;
}

div.styled-select.active,
a.skill_label.active {
    border: 2px solid #f99da4 !important;
}

.styled-select {
    position: relative;
    width: 300px;
    height: 25px;
    overflow: hidden;
    background-color: var(--select_background);
    border: 1px solid #bdc3c7;
    float: left;
}

select.select {
    color: #4a4a49;
}

span.filterboximg {
    color: #27348b !important;
}

.blue {
    color: blue;
}

::-webkit-input-placeholder {
    font-style: italic;
    color: #555;
}

::-moz-placeholder {
    font-style: italic;
    color: #555;
}

/*
    Violet clair : #853ea5
    Violet foncé : #502d87
    Gris clair   : #4a4a49
    Gris foncé   : #3c3c3b
*/

.require_callback {
    background-color: #f8e0e0 !important;
}

.event .error {
    border: 2px solid red;
}

.tablesorter-header-inner {
    text-align: center;
    white-space: nowrap;
}

.tablesorter {
    border-color: #27348b;
    border-style: solid;
    border-width: 1px 0 0 1px;
    font-family: "Roboto", sans-serif !important;
}

.tablesorter th,
.tablesorter td {
    border-color: #27348b;
    border-style: solid;
    border-width: 0 1px 1px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tablesorter tr.type1,
.tablesorter tr.type2 {
    cursor: pointer;
    height: 25px;
}

.tablesorter.tablesorter-metro-dark .tablesorter-header-inner {
    padding: 0;
    font-weight: 500;
}

.tablesorter tfoot {
    text-align: center;
}

.tablesorter-footer {
    font-weight: bold;
    font-size: 120%;
}

.tablesorter-pager div {
    cursor: pointer;
    color: #fff;
}

.pager > div:not(.pagelist),
.pager > .pagelist > .goto {
    width: 28px;
    height: 30px;
    display: inline-block;
    text-align: center;
    line-height: 28px;
    background-color: #333;
    margin-right: 3px;
}

.pager .current {
    text-shadow: 1px 0 0 #fff;
    background-color: #27348b !important;
}

/* Table search */

#search_2 tr > td,
#search_1 tr > td {
    padding-bottom: 10px;
}

/* Table Catering */

table#tablescroll {
    width: 100%;
    border-spacing: 0;
    border: 2px solid black;
}

table#tablescroll th,
table#tablescroll td,
table#tablescroll tr,
table#tablescroll thead,
table#tablescroll tbody,
table#tablescroll tfoot {
    display: block;
}

table#tablescroll thead tr,
table#tablescroll tfoot tr {
    /* minus scroll bar width */
    width: calc(100% - 11px);
}

table#tablescroll tr th {
    cursor: pointer;
    color: white;
    font-weight: normal;
    font-size: 0.9em;
    text-align: center;
    box-sizing: border-box;
}

table#tablescroll tr.type1 {
    background-color: white;
    color: black;
    font-size: 0.9em;
    cursor: pointer;
}

table#tablescroll tr.type2 {
    background-color: whitesmoke;
    color: black;
    font-size: 0.9em;
    cursor: pointer;
}

table#tablescroll tr:after {
    content: " ";
    display: block;
    visibility: hidden;
    clear: both;
}

table#tablescroll tbody {
    max-height: 150px;
    overflow-y: auto;
    text-align: center;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
}

table#tablescroll thead {
    background-color: #4a4a49;
}

table#tablescroll tfoot {
    text-align: center;
}

table#tablescroll tbody td,
table#tablescroll thead th,
table#tablescroll tfoot td {
    width: 16%;
    float: left;
    border-right: 1px solid black;
    box-sizing: border-box;
}

table#tablescroll thead tr th,
table#tablescroll tfoot tr {
    height: 30px;
    line-height: 30px;
}

table#tablescroll tbody td:last-child,
table#tablescroll thead th:last-child,
table#tablescroll tfoot td:last-child {
    border-right: none !important;
}

span.info {
}

div.ImageWait {
    text-align: center;
    background-image: url("../pictures/ajax.gif");
    background-repeat: no-repeat;
    background-position: center center;
}

.dialogNoTitle .ui-dialog-titlebar {
    display: none;
}

.ui-dialog-titlebar {
    background-color: rgba(0, 135, 145, 0.9);
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
    background-color: rgba(0, 135, 145, 0.9);
}

.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus,
.ui-button:hover,
.ui-button:focus {
    background-color: rgba(0, 135, 145, 0.9);
}

input.form_radio {
    width: auto;
    height: auto;
}

/*************/
/* DASHBOARD */
/*************/

.dsWidgetContainer {
    float: left;
    display: flex;
    flex-flow: column;
    border: 1px solid grey;
    width: calc((100% - 20px) / 2);
    min-width: 600px;
    height: 300px;
    margin: 5px;
}

.dsWidgetTitle {
    text-align: center;
    height: 40px;
    line-height: 40px;
}

.dsWidgetContent {
    flex: 1 1 auto;
    overflow: auto;
}

.customTable {
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    line-height: 18px;
    color: #000;
    background-color: #333;
    border-spacing: 0;
    margin: 10px 0 15px;
    text-align: left;
    border-color: #27348b;
    border-style: solid;
    border-width: 1px 0 0 1px;
}

.customTable thead th,
.customTable tfoot td {
    font-weight: 500;
    font-size: 15px;
    color: #fff;
    background-color: #333;
    padding: 4px;
    border-color: #27348b;
    border-style: solid;
    border-width: 0 1px 1px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.tablesorter-metro-dark tr.odd > td {
    background-color: #eee;
}

.customTable tbody td {
    background-color: #fff;
    vertical-align: top;
    border-color: #27348b;
    border-style: solid;
    border-width: 0 1px 1px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 5px;
}

.poweredScroll {
    float: right;
    width: 110px;
    margin-bottom: 10px;
    text-align: center;
}

.poweredNoScroll {
    position: absolute;
    right: 0;
    bottom: 10px;
    width: 110px;
    text-align: center;
}

input.error {
    border: 2px solid red;
}

div.myghosttile {
    min-width: 350px;
    width: calc(30% - 20px);
    height: 150px;
    margin-bottom: 40px;
    flex-grow: 1;
    margin-right: 20px;
    margin-left: 20px;
}

.button-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; /* Permet de faire revenir les boutons à la ligne si l'espace est insuffisant */
    justify-content: space-between; /* Répartit les boutons avec un espacement entre eux */
    gap: 10px; /* Ajoute un espacement constant entre les boutons */
}

@media (max-width: 600px) {
    .button-container {
        flex-direction: column; /* Sur les petits écrans, les boutons s'aligneront verticalement */
    }
}

button img {
    max-width: 100px; /* Taille de l'image */
    max-height: 50px;
    margin-top: 15px; /* Espace entre l'image et le texte */
}

button.myTile {
    display: flex;
    cursor: pointer;
    /* Quentin :
    min-width: 350px;
    width: calc(30% - 20px);
    height: 150px;
    line-height: 130px;
    */
    flex-direction: column; /* Place l'image au-dessus du texte */
    align-items: center; /* Centre l'image et le texte */
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    color: rgba(0, 135, 145, 0.9);
    overflow: hidden;
    transition: transform 0.25s ease;
    transform: scale(1);
    /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
    padding: 1.5rem;
    width: 400px;
    --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3),
        0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
        var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    border: 1px solid hsl(220 13% 94%);
    border-radius: 0.5rem;
}

button.myTile:hover {
    color: white;
    background-color: rgba(0, 135, 145, 0.9);
    transition: transform 0.1s ease;
    transform: scale(1.05);
    /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
    z-index: 1000;
    border: none;
}

span.tilebutton {
    text-align: center;
    margin: 10px;
    background-color: white;
    padding: 20px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #dae2e6;
}

div.mytile hr {
    height: 1px;
    border: 0;
    background-color: #bbb;
}

div.mytile img.avatar {
    position: relative;
    object-fit: cover;
    width: 80px;
    height: 80px;
    top: 5px;
    border-radius: 50%;
}

div.mytile div.avatar {
    position: relative;
    width: 80px;
    height: 80px;
    line-height: 80px;
    top: 5px;
    background-color: lightgray;
    color: white;
    text-align: center;
    overflow: hidden;
    border-radius: 50%;
}

div.divlist {
    height: calc(100vh - 120px);
}

span.doctile {
    display: inline-block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
    font-size: 13px;
}

ul.doctile {
    list-style: none;
    margin: 0;
    padding: 5px 0 0 10px;
    cursor: default;
}

span.cateringtile {
    display: inline-block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
    font-size: 13px;
}

ul.cateringtile {
    list-style: none;
    margin: 0;
    padding: 5px 0 0 10px;
    cursor: default;
}

span.infotile {
    display: inline-block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
    font-size: 13px;
}

ul.infotile {
    list-style: none;
    margin: 0;
    padding: 5px 0 0 10px;
    cursor: default;
}

div.mymessagestile,
div.welcome_tile {
    position: relative;
    margin: 20px 10px;
    padding: 10px;
    background-color: rgba(0, 135, 145, 0.9);
    color: white;
    font-family: Helvetica, sans-serif;
    border-radius: 0.5rem;
}

div.actionmenu {
    display: none;
    position: absolute;
    right: 1px;
    top: 36px;
    z-index: 100;
    background-color: var(--action_background);
    color: var(--action_color);
    padding: 10px 0 10px 0;
    border: 1px solid #c5c5c5;
    border-radius: 0 0 4px 4px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4);
    min-width: 130px;
}

ul.actionmenu {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 12px;
    line-height: 25px;
}

div.actionmenu ul li {
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
}

div.actionmenu ul li:hover {
    border-left: 5px solid #008791;
    background-color: rgba(154, 154, 153, 0.5);
    padding-left: 5px;
}

div.filterTag {
    float: left;
    background-color: royalblue;
    color: white;
    height: 20px;
    line-height: 20px;
    border-radius: 10px;
    font-size: 11px;
    margin-top: 6px;
    margin-right: 10px;
    padding-right: 10px;
    padding-left: 10px;
    cursor: default;
    white-space: nowrap;
}

div.greyTag {
    background-color: grey;
}

div.blueTag {
    background-color: royalblue;
}

div.redTag {
    background-color: red;
}

div.greenTag {
    background-color: green;
}

div.filterTagClose {
    float: right;
    margin-left: 10px;
    height: 19px;
    line-height: 19px;
    font-weight: bold;
    cursor: pointer;
}

div.filterTagClose::after {
    content: " x";
}

div.filtermenu {
    display: none;
    position: absolute;
    right: 1px;
    top: 33px;
    z-index: 100;
    background-color: #f6f6f6;
    padding: 10px 10px 10px 10px;
    border: 1px solid #c5c5c5;
}

div.indicatorTag {
    cursor: pointer;
    max-width: 400px;
    background-color: rgba(0, 135, 145, 0.8);
    color: white;
    height: 40px;
    line-height: 20px;
    border-radius: 10px;
    font-size: 22px;
    margin-top: 6px;
    margin-right: 10px;
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 10px;
}

div.indicatorTag:hover {
    background-color: rgba(0, 135, 145, 0.4);
    color: #2b2b2b;
}

span.indicatorLabel {
    float: left;
    font-weight: bold;
}

span.indicatorValue {
    float: right;
    font-weight: bold;
    padding-right: 5px;
}

div.notificationTag {
    float: left;
    background-color: rgb(255, 0, 0);
    color: white;
    line-height: 10px;
    border-radius: 10px;
    margin-top: 5px;
    margin-right: 5px;
    margin-left: 5px;
    padding: 5px;
}

.notification_div {
    width: 50px;
    height: 40px;
    cursor: pointer;
}

.notification_icon {
    position: absolute;
    line-height: 40px;
    color: white;
    opacity: 0.3;
    font-size: 30px;
    transform: rotate(-30deg);
}

.notification_icon_on {
    opacity: 1;
}

#notification_counter {
    display: none;
    position: relative;
    top: 3px;
    left: 20px;
    color: white;
    background: red;
    border-radius: 8px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 12px;
}

.messageslist {
    display: none;
    position: absolute;
    top: 40px;
    width: 300px;
    min-height: 100px;
    z-index: 10000;
    background-color: #f2f3f5;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.message_item {
    background: #f2f3f5;
    padding-bottom: 10px;
    cursor: pointer;
    padding-left: 5px;
    padding-top: 5px;
}

.message_item:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.message_no_new_message {
    display: block;
    text-align: center;
    height: 100px;
    line-height: 100px;
    font-style: italic;
    opacity: 0.5;
}

.message_age {
    display: block;
    font-size: 12px;
    line-height: 10px;
}

input[type="checkbox"] {
    width: auto;
    height: auto;
    box-sizing: initial;
}

.message_read {
    color: rgba(0, 0, 0, 0.5);
}

.slideshow {
    width: calc(100% - 100px);
    height: 200px;
    overflow: hidden;
    border: 3px solid #f2f2f2;
}

.slideshow ul {
    width: 100%;
    height: 200px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.slideshow li {
    float: left;
    width: 100%;
}

#message-box * {
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.divmsg {
    display: none;
}

.divmsg:first-of-type {
    display: block;
}

div.message_next {
    position: absolute;
    top: 60px;
    left: calc(100% - 30px);
    width: 30px;
    opacity: 0.8;
}

span.message_next {
    margin-right: 5px;
    font-size: 40px;
    background: white;
    color: rgba(39, 52, 139, 0.3);
}

.message_next:hover {
    color: rgba(39, 52, 139, 1);
}

div.message_full {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(256, 256, 256, 0.8);
    text-align: center;
    cursor: pointer;
}

div.message_full:hover {
    background: rgba(50, 70, 188, 0.6);
}

div.message_full:hover span {
    color: rgba(256, 256, 256, 1);
}

span.message_full {
    margin-right: 5px;
    font-size: 30px;
    color: rgba(39, 52, 139, 1);
}

div.message_min {
    display: none;
    position: absolute;
    bottom: -32px;
    width: 100%;
    background: rgba(256, 256, 256, 1);
    text-align: center;
    cursor: pointer;
    border-left: 1px solid #dae2e6;
    border-right: 1px solid #dae2e6;
    border-bottom: 1px solid #dae2e6;
}

div.message_min:hover {
    background: rgba(50, 70, 188, 0.6);
}

div.message_min:hover span {
    color: rgba(256, 256, 256, 1);
}

span.message_min {
    margin-right: 5px;
    font-size: 30px;
    color: rgba(39, 52, 139, 1);
}

#clear_translation_lang1 {
    color: red;
    font-weight: bold;
    position: absolute;
    display: none;
    right: 3px;
    bottom: 3px;
    cursor: pointer;
}

#clear_translation_lang2 {
    color: red;
    font-weight: bold;
    position: absolute;
    display: none;
    right: 3px;
    bottom: 3px;
    cursor: pointer;
}

#clear_translation_lang1:hover {
    display: block;
}

#clear_translation_lang2:hover {
    display: block;
}

#n_translation_lang1:hover + #clear_translation_lang1 {
    display: block;
}

#n_translation_lang2:hover + #clear_translation_lang2 {
    display: block;
}

.search_list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    clear: both;
    font-size: 10px;
    width: 300px;
}

#recap_list .search_list {
    clear: initial;
}

#recap_list p {
    clear: both;
    min-height: 25px;
}

.search_list .item {
    background-color: #9d64b7;
    border: 1px solid gray;
    border-radius: 3px 3px 3px 3px;
    padding: 2px;
    color: white;
    margin-right: 5px;
    margin-bottom: 5px;
}

.search_list .item .text {
    vertical-align: top;
}

.search_list .item .del {
    float: initial;
    cursor: pointer;
    color: white;
    margin-left: 2px;
    font-size: 12px;
}

.input_error {
    background-color: #f8e0e0;
}

.customTable td.selected {
    color: #008791 !important;
    background-color: #d9d9d8 !important;
}

input.readonly {
    background-color: #f6f6f6;
    border: none;
}

#headerTile {
    width: 250px;
    height: 150px;
    cursor: pointer;
}

#headerOver {
    display: none;
    position: absolute;
    width: 100%;
    height: calc(100% - 25px);
    color: white;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.4);
}

#headerImg {
    max-width: 200px;
    max-height: 100px;
}

#headerTile:hover #headerOver {
    display: block;
}

#headerTile:hover #headerImg {
}

.fancybox-content {
    height: 90vh !important;
}

#d_message p {
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

#d_message table {
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

.mce-tinymce .char_count {
    margin: 2px 0 2px 2px !important;
    padding: 8px !important;
}

/* Optional: Remove the html path code from the status bar. */
.mce-path {
    display: none !important;
}

input[type="radio"] {
    width: auto;
    height: auto;
}

.select_list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    float: left;
    font-size: 12px;
    max-width: 300px;
}

.select_list .item {
    /* Style de base */
    display: inline-flex;
    align-items: center;
    line-height: 1;
    padding: 2px 12px;
    margin: 0 6px 10px;

    /* Option 1 : Fond clair, texte foncé */
    background-color: #e8f7f7;
    color: #006d75;

    /* Bordures et forme */
    border: 1px solid #00979e;
    border-radius: 20px; /* Plus arrondi pour un style "tag" */

    /* Ombres et effets */
    box-shadow: 0 1px 2px rgba(0, 151, 158, 0.1);
}

.select_list .item .text {
    line-height: normal;
}

.select_list .item .del {
    float: initial;
    cursor: pointer;
    color: #006d75;
    margin-left: 5px;
    font-size: 10px;
}

/*****************/
/* Button switch */
/*****************/
.switch:not(:checked),
.switch:checked {
    position: absolute;
    left: -9999px;
}

.switch:not(:checked) + label,
.switch:checked + label {
    position: relative;
    padding-left: 75px;
    cursor: pointer;
}

.switch:not(:checked) + label:before,
.switch:checked + label:before,
.switch:not(:checked) + label:after,
.switch:checked + label:after {
    content: "";
    position: absolute;
}

.switch:not(:checked) + label:before,
.switch:checked + label:before {
    left: 0;
    top: -3px;
    width: 100px;
    height: 30px;
    /* le container 65/30 par défaut*/
    background: #dddddd;
    border-radius: 15px;
    -webkit-transition: background-color 0.2s;
    -moz-transition: background-color 0.2s;
    -ms-transition: background-color 0.2s;
    transition: background-color 0.2s;
}

.switch:not(:checked) + label:after,
.switch:checked + label:after {
    width: 20px;
    height: 20px;
    /* la bille 20/20 */
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    transition: all 0.2s;
    border-radius: 50%;
    background: #7f8c9a;
    top: 1.5px;
    left: 5px;
    /* position initiale 2/5 */
}

/* on checked */
.switch:checked + label:before {
    background: #34495e;
}

.switch:checked + label:after {
    background: #39d2b4;
    top: 1.5px;
    left: 75px;
    /* déplacement de la bille 2/40 par défaut */
}

.switch:checked + label .ui,
.switch:not(:checked) + label .ui:before,
.switch:checked + label .ui:after {
    position: absolute;
    left: 6px;
    width: 100px;
    /* le texte à l'intérieur */
    border-radius: 15px;
    font-size: 14px;
    font-weight: bold;
    line-height: 22px;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    transition: all 0.2s;
}

.switch:not(:checked) + label .ui:before {
    left: 32px;
}

.switch:checked + label .ui:after {
    color: #39d2b4;
}

.switch:focus + label:before {
    border: 1px dashed #777;
    box-sizing: border-box;
    margin-top: -1px;
}

/************/
/* Calendar */
/************/
.task_todo {
    background-color: rgba(0, 128, 0, 1) !important;
    /* vert */
    border-color: rgba(0, 128, 0, 1) !important;
    /* vert */
    color: white !important;
    /* white */
}

.task_todo:hover {
    color: #3e3e3e !important;
    color: rgba(0, 128, 0, 1) !important;
    background-color: white !important;
    cursor: pointer;
}

.task_done {
    background-color: rgba(0, 128, 0, 0.3) !important;
    /* vert */
    border-color: rgba(0, 128, 0, 0.6) !important;
    /* vert */
    text-decoration-line: line-through;
    color: white;
}

.request_todo {
    background-color: rgba(55, 136, 216, 1) !important;
    /* bleu */
    color: white !important;
    border-color: rgba(55, 136, 216, 1) !important;
    /* bleu */
}

.request_done {
    background-color: rgba(55, 136, 216, 0.2) !important;
    /* bleu */
    color: rgb(150, 80, 80) !important;
    /* light grey */
    border-color: rgba(55, 136, 216, 0.4) !important;
    /* bleu */
}

.request_PENDING_VALIDATION {
    background-color: rgba(55, 136, 216, 0.4) !important;
    /* bleu */
    border-color: rgba(55, 136, 216, 1) !important;
    /* bleu */
}

.request_PENDING_VALIDATION:hover {
    background-color: rgba(128, 128, 128, 0.4) !important;
    /* bleu */
}

.request_VALIDATED {
    background-color: rgba(30, 130, 76, 0.4) !important;
    /* vert */
    border-color: rgba(55, 136, 216, 1) !important;
    /* bleu */
}

.request_VALIDATED:hover {
    background-color: rgba(128, 128, 128, 0.4) !important;
    /* bleu */
}

.request_IN_PROGRESS {
    background-color: rgba(128, 128, 128, 0.4) !important;
    /* vert */
    border-color: rgba(55, 136, 216, 1) !important;
    /* bleu */
}

.request_IN_PROGRESS:hover {
    background-color: rgba(128, 128, 128, 0.4) !important;
    /* bleu */
}

.request_PARTLY_DELIVERED {
    background-color: rgba(255, 249, 222, 1) !important;
    /* vert */
    border-color: rgba(55, 136, 216, 1) !important;
    /* bleu */
    text-decoration: line-through !important;
    /* barré */
}

.request_PARTLY_DELIVERED:hover {
    background-color: rgba(128, 128, 128, 0.4) !important;
    /* bleu */
}

.request_FULLY_DELIVERED {
    background-color: rgba(248, 148, 6, 0.4) !important;
    /* vert */
    border-color: rgba(55, 136, 216, 1) !important;
    /* bleu */
    text-decoration: line-through !important;
    /* barré */
}

.request_FULLY_DELIVERED:hover {
    background-color: rgba(128, 128, 128, 0.4) !important;
    /* bleu */
}

.request_ENTRY_MODE {
    background-color: rgba(255, 255, 255, 1) !important;
    /* vert */
    border-color: rgba(55, 136, 216, 1) !important;
    /* bleu */
}

.request_ENTRY_MODE:hover {
    background-color: rgba(128, 128, 128, 0.4) !important;
    /* bleu */
}

.incident_done {
    background-color: rgba(255, 0, 0, 0.8) !important;
    /* rouge */
    border-color: rgba(255, 0, 0, 0.8) !important;
    /* rouge */
    color: white !important;
}

.reolinNumber {
    text-align: right;
}

/* Fullcalendar */
.fc .fc-toolbar-title {
    font-size: 1em;
}

.fc .fc-today-button {
    font-size: 0.75em;
}

.fc .fc-prev-button {
    font-size: 0.75em;
}

.fc .fc-next-button {
    font-size: 0.75em;
}

.fc .fc-dayGridMonth-button {
    font-size: 0.75em;
}

.fc .fc-timeGridDay-button {
    font-size: 0.75em;
}

.fc .fc-listMonth-button {
    font-size: 0.75em;
}

.fc .fc-daygrid-week-number {
    font-size: 0.5em;
}

.fc .fc-col-header-cell-cushion {
    font-size: 0.75em;
}

.fc .fc-daygrid-day-number {
    font-size: 0.75em;
}

.fc .fc-timegrid-axis-cushion,
.fc .fc-timegrid-slot-label-cushion {
    font-size: 0.75em;
}

.fc-theme-standard .fc-list,
.fc .fc-scroller-liquid {
    border-radius: 14px;
}
#asset_need,
#asset_request,
#return_asset,
#external_return_asset,
#toprepare_asset,
.commodities_list, .equipment_list {
    border-spacing: 0;
}

#asset_need thead tr,
#asset_request thead tr,
#return_asset thead tr,
#external_return_asset thead tr,
#toprepare_asset thead tr,
.commodities_list thead tr, .equipment_list thead tr{
    background: #cacaca;
}

#asset_need tbody,
#asset_request tbody,
#return_asset tbody,
#external_return_asset tbody,
#toprepare_asset tbody,
.commodities_list tbody, .equipment_list tbody {
    overflow: auto;
}

#asset_need tbody tr:nth-child(even),
#asset_request tbody tr:nth-child(even),
#return_asset tbody tr:nth-child(even),
#external_return_asset
    tbody
    tr:nth-child(even)
    #toprepare_asset
    tbody
    tr:nth-child(even),
.commodities_list tbody tr:nth-child(even), .equipment_list tbody tr:nth-child(even){
    background: #fff;
}

#asset_need tbody tr:nth-child(odd),
#asset_request tbody tr:nth-child(odd),
#return_asset tbody tr:nth-child(odd),
#external_return_asset tbody tr:nth-child(odd),
#toprepare_asset tbody tr:nth-child(odd),
.commodities_list tbody tr:nth-child(odd), .equipment_list tbody tr:nth-child(odd) {
    background: #eee;
}

#asset_need tbody tr td input,
#asset_request tbody tr td input,
#return_asset tbody tr td input,
#external_return_asset tbody tr td input,
#toprepare_asset tbody tr td input,
.commodities_list tbody tr td input, .equipment_list tbody tr td input {
    background: transparent;
    border: 0;
    border-bottom: 1px solid darkgray;
}

.needed_quantity {
    text-align: right;
}

.validated_quantity {
    text-align: right;
}

.request_dialog {
    border: 1px solid lightgrey !important;
    border-radius: 4px;
}

.my-basket-header {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

#searchbar {
    margin-left: 5rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 300px;
}

#searchbar_clear {
    position: absolute;
    right: 40px; /* Ajustez selon la taille de votre icône de recherche */
    border: none;
    background: none;
    cursor: pointer;
    padding: 0 5px;
    font-size: 1.2rem;
}

#searchbar_input {
    border-right: none;
    height: 40px;
    border-radius: 20px;
    padding: 0 10px;
    box-shadow: inset 2px 5px 4px -1px rgba(0, 0, 0, 0.35);
}

#searchbar_icon {
    position: absolute;
    right: 0;
    box-sizing: border-box;
    height: 40px;
    width: 40px;
    line-height: 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 0 10px 10px 0;
    padding: 0 5px;
    color: white;
    color: rgba(0, 135, 145, 0.9);
    background-color: transparent;
    border: none;
}

#search_result {
    position: relative;
    flex-wrap: wrap;
    align-content: flex-start;
    margin-top: 10px;
    width: 100%;
    height: calc(100vh - 100px);
    background-color: white;
    border-top: 1px solid lightgray;
    padding: 10px;
    overflow: auto;
}

.search_tile {
    height: 200px;
    width: 200px;
    margin-bottom: 10px;
    padding: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.search_tile_hover {
    width: 100%;
    height: 100%;
    background-color: rgba(50, 70, 188, 0.3);
    position: absolute;
    left: 0;
    top: 0;
    display: none;
    z-index: 1000;
    cursor: pointer;
    border-radius: 2rem;
}

.search_tile:hover > .search_tile_hover {
    display: block;
}

.search_tile_picture {
    max-width: 180px;
    max-height: 150px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.search_tile_label {
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    margin: 5px 5px 0 5px;
}

.search_tile_badge {
    position: absolute;
    top: 13px;
    right: 13px;
    background-color: white;
    padding: 8px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #28a745;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.search_tile_badge::after {
    content: '';
    width: 6px;
    height: 12px;
    border: solid #28a745;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.shop-container {
    width: 100%;
    padding: 0 0 1.5rem 0;
}

.shop-title-container {
    display: flex;
    padding: 0.5rem;
    --tw-bg-opacity: 1;
    background-color: #f0f2f5;
    cursor: pointer;
    border-radius: 1rem;
    --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3),
        0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
        var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    border: 1px solid hsl(220 13% 94%);
}

.shop-title {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.shop-thumbnail {
    height: 40px;
    width: 40px;
    margin-bottom: 10px;
    padding: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border-radius: 999px;
    border: 3px solid lightgrey;
    margin-left: calc(-1.25rem * calc(1 - 0));
    background-color: white;
}

.shop-thumbnail-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
  background-color: #28a745;
  border-radius: 50%;
}

.shop-thumbnail-container {
    position: relative;
    display: flex;
    width: auto;
    flex-wrap: wrap;
    margin-left: 2rem;
}

.shop-assets {
    display: none;
    width: 100%;
    padding-top: 1rem;
    flex-wrap: wrap;
}

.assetDialog_container {
    display: flex;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.assetDialog_picture {
    max-width: 100%;
}

.assetDialog_label {
    font-size: 1.2em;
    font-weight: bold;
}

.assetDialog_quantity {
    float: left;
    width: 70px;
    padding-right: 5px;
    text-align: right;
}

.assetDialog_packaging {
    float: left;
    width: 150px;
    margin-left: 2px;
}

.cart_container {
    position: relative;
    background: rgba(0, 135, 145, 0.9);
    height: 40px;
    border-radius: 5px;
    padding: 0 7px;
    margin-right: 1rem;
    width: 40px;
}

.cart {
    font-size: 25px;
    line-height: 40px;
    color: white;
    cursor: pointer;
}

.cart_counter {
    display: none;
    position: absolute;
    right: -7px;
    top: -7px;
    height: 15px;
    width: 15px;
    border-radius: 7.5px;
    background: red;
    color: white;
    text-align: center;
    line-height: 15px;
    font-size: 0.7em;
    font-weight: bold;
}

.cartDialog_container {
    height: calc(100% - 35px);
    width: 100%;
    overflow: auto;
}

.cartDialog_header {
    display: none;
    height: calc(100% - 35px);
    width: 100%;
    overflow: auto;
}

.cart_asset_picture {
    display: none;
    float: left;
    max-width: 50px;
    max-height: 30px;
}

.cart_asset_label {
    float: left;
    font-size: 1.2em;
    display: block;
    height: 30px;
    line-height: 30px;
    margin-left: 10px;
}

.cart_quantity {
    border: none;
    border-bottom: 1px dashed lightgrey;
    width: 50px;
    text-align: right;
}

.cart_comment {
    border: none;
    border-bottom: 1px dashed lightgrey;
    width: 100%;
    text-align: left;
}

.cart_asset_remove {
    color: red;
    font-size: 1.5em;
    line-height: 30px;
    float: none;
    cursor: pointer;
}

.assetMenu {
    display: flex;
    justify-content: space-between;
    line-height: 25px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    border: none;
    background-color: white;
    font-size: 0.85rem;
    height: 2.5rem;
    padding: 0 0.25rem 0 1rem;
    align-items: center;
}

.assetMenu * {
    line-height: 25px;
    --tw-text-opacity: 1;
    color: rgb(75 85 99 / var(--tw-text-opacity));
}

.sidebar-item:hover {
    background-color: #f3f4f6;
}

.assetMenu:hover .icon {
    filter: brightness(0) invert(1);
}

.assetMenu:hover {
    background-color: var(--button_color_hover);
}

.assetMenu:hover * {
    color: white;
    font-weight: bold;
}

.assetMenuSelected {
    background-color: var(--button_color);
}

.assetMenuSelected * {
    color: white;
    font-weight: bold;
    filter: brightness(0) invert(1);
}

.envelope {
    font-size: 0.8em;
    cursor: pointer;
}

.envelope:hover {
    background-color: rgba(50, 70, 188, 0.8);
    color: white;
}

.envelope_selected {
    background-color: rgba(50, 70, 188, 0.8);
    color: white;
}

.budgetLines {
    font-size: 0.8em;
    cursor: pointer;
}

.budgetLines:hover {
    background-color: rgba(50, 70, 188, 0.8);
    color: white;
}

.budgetLines_selected {
    background-color: rgba(50, 70, 188, 0.8);
    color: white;
}

.gridcoltype10 {
    float: none;
    font-size: 1.5em;
}

.gridcoltype11 {
    color: red;
    font-weight: bold;
    float: none;
    font-size: 1.5em;
}

.need_green_highlight {
    background-color: #74df87 !important;
}

.need_orange_highlight {
    background-color: #ffac1c !important;
}

.need_red_highlight {
    background-color: #b52626 !important;
}

.request_department {
    font-size: 0.8em;
    height: 20px;
    line-height: 20px;
}

.request_created_by {
    float: left;
    height: 20px;
    line-height: 20px;
    font-style: italic;
    font-size: 0.8em;
    margin-left: 10px;
}

.request_created_by::before {
    content: "(";
}

.request_created_by::after {
    content: ")";
}

.request_status {
    float: left;
    border-radius: 15px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 0.8em;
    height: 20px;
    line-height: 20px;
    margin-top: 4px;
    margin-left: 5px;
    margin-right: 5px;
}

.request_status_green {
    background-color: lightgreen;
}

.request_status_blue {
    background-color: royalblue;
    color: white;
}

.request_status_orange {
    background-color: orange;
    color: white;
}

.request_status_grey {
    background-color: grey;
    color: white;
}

.request_status_red {
    background-color: #cc0c0c;
    color: white;
}

/* QUOTATION status */

.quotation_status_green {
    background-color: green;
    color: white;
}

.quotation_status_blue {
    background-color: royalblue;
    color: white;
}

.quotation_status_grey {
    background-color: grey;
    color: white;
}

.quotation_status_red {
    background-color: #cc0c0c;
    color: white;
}

/* BEGIN status line    */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.lost-ic {
    font-family: Open Sans, sans-serif;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.list-ic a {
    color: #788288;
    text-decoration: none;
    font-size: 0.8em;
    cursor: default;
}

.list-ic li {
    position: relative;
}

.list-ic li span {
    display: inline-block;
    text-align: center;
    border-radius: 1em;
    background: lightgrey;
    color: white;
    position: relative;
    width: 1.5em;
    height: 1.5em;
    line-height: 1.5em;
    font-weight: 600;
    z-index: 1;
}

.list-ic li.done span {
    background: #18bc9c;
    color: white;
}

.list-ic li.current span {
    background: dodgerblue;
    color: white;
}

.list-ic li.cancel span {
    background: #cc0c0c;
    color: white;
}

.list-ic li.done a {
}

.list-ic li.current a {
    font-weight: bold;
    font-style: italic;
    color: #4a4a4a;
}

.list-ic li::before {
    content: "";
    position: absolute;
    background: lightgray;
    z-index: 0;
}

.list-ic li.current::before {
    background: #18bc9c;
}

.list-ic li.done::before {
    background: #18bc9c;
}

.list-ic li.cancel::before {
    background: #cc0c0c;
}

.list-ic.vertical {
    padding: 0 1em;
    margin: 0 0 0 1em;
    border: 1px solid lightgray;
    border-radius: 4px;
}

.list-ic.vertical li {
    list-style-type: none;
    text-align: left;
}

.list-ic.vertical li span {
    margin: 0.6em 0;
}

.list-ic.vertical li::before {
    width: 0.2em;
    top: -20px;
    height: 2em;
    left: 10px;
}

.list-ic li:first-child::before {
    display: none;
}

.list-ic .active {
    background: dodgerblue;
}

.list-ic .active ~ li {
    background: lightblue;
}

.list-ic .active ~ li::before {
    background: lightblue;
}

/* END status line      */

h3.assetTitle {
    float: left;
    margin: 0;
    max-width: 600px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

input.assetTitle {
    float: left;
    margin: 3px 0 0 0;
    text-align: left;
    width: 100%;
    display: none;
}

.dropdown {
    pointer-events: none;
    /* quand on clique on passe au travers de cet élément et c'est le select en dessous qui prend le click */
    position: absolute;
    right: 5px;
    width: 15px;
    height: 20px;
    margin-top: 2px;
    padding-left: 3px;
    line-height: 20px;
    font-weight: bold;
    background: var(--dropdown-background);
    color: var(--dropdown-color);
}

.my_account {
    display: none;
    min-width: 150px;
    background-color: rgb(74, 74, 73);
    color: white;
    line-height: 1.5em;
    padding: 10px;
    font-size: 0.9em;
    text-align: right;
    position: fixed;
    top: 63px;
    right: 10px;
    z-index: 10000;
    border-radius: 4px 4px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4);
}

.helpDialog {
    z-index: 10001;
    display: none;
    flex-direction: column;
    position: absolute;
    bottom: 20px;
    right: 20px;
    height: 400px;
    width: 300px;
    padding: 10px;
    border-radius: 4px;
    border-color: var(--help_border);
    background-color: var(--help_background);
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    justify-content: space-between;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.helpDialog #help-close {
    position: absolute;
    right: -15px;
    top: -15px;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    text-align: center;
    background-color: var(--help_background);
    border: 3px solid white;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.helpDialog h3 {
    margin-top: 0.5em;
    text-align: center;
    color: var(--help_header_color);
}

.helpDialog #help-input {
    flex-shrink: 0;
    height: 40px;
    line-height: 40px;
    font-size: 1.1em;
    border-radius: 4px;
}

.helpDialog #help-results {
    overflow: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: var(--help_result_background);
    border-radius: 4px;
}

.helpDialog #help-results ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.helpDialog #help-results ul li {
    border-bottom: 1px solid var(--help_result_delimiter);
    padding: 5px 5px 15px 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.helpDialog #help-results .article-title {
    font-size: 1.2em;
}

.helpDialog #help-results .article-body {
    white-space: break-spaces;
    font-size: 0.9em;
}

.helpDialog .highlight {
    background-color: yellow;
    font-weight: bold;
}

.helpDialog .help-no-result {
    text-align: center;
    padding: 1em;
    font-style: italic;
}

.helpDialog .help-footer {
    padding: 5px;
    background: var(--help_result_background);
    border-radius: 4px;
}

span.help2 {
    color: white;
    background: var(--help2);
    height: 22px;
    width: 22px;
    border-radius: 11px;
    font-size: 13px;
    line-height: 22px;
    font-weight: bold;
    cursor: pointer;
}

span.help2:hover {
    background: var(--help2_hover);
}

.form_price_tag {
    position: absolute;
    top: 7px;
    left: 486px;
    padding: 5px 10px;
    border-radius: 2px;
    border-color: #296ba0;
    background-color: #2e79b4;
    color: #fff;
    width: 90px;
    text-align: right;
    box-shadow: 2px 2px 5px #aaa;
}

.form_price_total {
    position: fixed;
    right: 0;
    bottom: 0;
    padding: 10px;
    margin: 10px;
    width: 200px;
    text-align: right;
    border-radius: 2px;
    border-color: #296ba0;
    background-color: #2e79b4;
    color: #fff;
    box-shadow: 2px 2px 5px #aaa;
}

.grid-cross {
    color: red;
    filter: var(--grid_color_filter);
    font-weight: bold;
    float: none;
    font-size: 1.5em;
    cursor: pointer;
}

.grid-magnifier {
    color: #853ea5;
    filter: var(--grid_color_filter);
    font-weight: bold;
    float: none;
    font-size: 1.5em;
    cursor: pointer;
}

.grid-plus {
    color: green;
    filter: var(--grid_color_filter);
    font-weight: bold;
    float: none;
    font-size: 1.5em;
    cursor: pointer;
}

.tree-search-input {
    margin: 5px 0 15px 0;
    padding-left: 5px;
}

/* NG */
.header-cmb {
    border: none;
}

.header-cmb select {
    background-color: #4a4a49 !important;
    color: white !important;
}

.header-cmb .dropdown {
    background-color: transparent;
    color: rgb(0, 135, 145);
}

.menu-event-cmb {
    border: none;
}

.menu-event-cmb select {
    background-color: transparent !important;
    color: black !important;
}

.menu-event-cmb .dropdown {
    background-color: transparent;
    color: rgb(0, 135, 145);
}

#cssmenu {
    border-radius: 20px;
    margin-top: 10px;
    margin-left: 10px !important;
    margin-bottom: 10px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.4);
    background-color: white;
    width: 280px;
    flex-shrink: 0;
    z-index: 2;
    border: 1px solid hsl(220 13% 94%);
}

#cssmenu #hide_menu {
    margin-top: 20px;
    overflow: auto;
}

#cssmenu #hide_menu a {
    float: left;
    text-align: center;
    margin-top: 5px;
    width: 100%;
}

#cssmenu ul li a {
    color: rgba(0, 135, 145, 0.8);
}

#cssmenu ul li span {
    color: rgba(0, 135, 145, 0.8) !important;
}

img.avatar-event {
    position: relative;
    object-fit: cover;
    width: 110px;
    height: 110px;
    top: -1px;
    border-radius: 50%;
}

div.avatar-event {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    width: 110px;
    height: 110px;
    line-height: 110px;
    top: -1px;
    background-color: lightgray;
    color: white;
    text-align: center;
    overflow: hidden;
    border-radius: 50%;
}

span.avatar-event {
    font-size: 12px;
    color: black;
    display: block;
    margin-top: 5px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.home_spinner {
    top: 200px;
    left: calc(50% - 100px);
    margin: 50px auto 0;
    background: var(--grid3_spinner_background);
    border-radius: 10px;
    width: 200px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

div.home-block-left {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

div.home-block-right {
    display: flex;
    flex-direction: column;
    flex-grow: 0;
    width: 25%;
}

div.home-calendar {
    background-color: #5fb9c7;
    margin: 10px;
    padding: 10px;
    height: 100%;
    --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3),
        0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
        var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    border-radius: 1rem;
}

div.home-calendar h2 {
    color: white;
    padding: 0;
    margin: 0;
}

.fc .fc-list-empty-cushion {
    color: white;
    font-style: italic;
    text-align: center;
}

div.home-block1 {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    min-height: 33%;
}

div.home-block11,
div.home-block12,
div.home-block13 {
    flex-grow: 1;
    background-color: #5fb9c7;
    margin: 10px;
    padding: 10px;
    width: 33%;
    display: flex;
    flex-direction: column;
    --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3),
        0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
        var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    border-radius: 1rem;
}

div.home-block11 h2,
div.home-block12 h2,
div.home-block13 h2 {
    color: white;
    padding: 0;
    margin: 0;
}

div.home-block12-no-result {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

div.home-block12-no-result span {
    font-style: italic;
    color: white;
}

div.home-block12-content {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    height: calc(100% - 40px);
    overflow: auto;
    padding-right: 1em;
    /* space for the scrollbar */
    /*    justify-content: space-between; */
}

div.home-block13-no-result {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

div.home-block13-no-result span {
    font-style: italic;
    color: white;
}

div.home-block13-content {
    height: calc(100% - 40px);
    overflow: auto;
    padding-right: 1em;
    /* space for the scrollbar */
}

div.home-block3 {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
}

div.home-block31,
div.home-block32 {
    width: 50%;
    background-color: #5fb9c7;
    margin: 10px;
    padding: 20px;
    --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3),
        0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
        var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    border-radius: 1rem;
}

.home-assettobuy {
    width: 100%;
    background-color: transparent;
    color: white;
    cursor: pointer;
    height: 56px;
    border: 1px solid transparent;
    border-radius: 8px;
    margin-bottom: 5px;
}

.home-assettobuy:hover {
    border: 1px solid lightgrey;
    opacity: 0.7;
}

.home-assettobuy-pic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    float: left;
    border-radius: 8px;
    background-color: white;
    margin-right: 5px;
}

.home-assettobuy-pic img {
    max-width: 50px;
    max-height: 50px;
}

.home-purchase {
    background-color: #4a4a49;
    color: white;
    border-radius: 10px;
    height: 55px;
    margin-bottom: 5px;
    padding: 5px;
    cursor: pointer;
    overflow: hidden;
}

.home-purchase:hover {
    opacity: 0.7;
}

.home-purchase-late {
    background-color: #e60000;
}

span.home-purchase-label {
    float: left;
    font-weight: bold;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: calc(100% - 90px);
}

span.home-purchase-date {
    float: right;
    font-size: 0.8em;
}

span.home-purchase-supplier {
    float: left;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: calc(100% - 90px);
}

.inventory-table tbody tr:hover {
    background-color: lightgrey !important;
}

div.detail-container {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    color: var(--detail_color);
    background-color: var(--detail_background);
    flex-grow: 1;
}

div.detail-header {
    display: flex;
    justify-content: space-between;
    line-height: 30px;
    color: var(--list_header_color);
    margin: 5px;
}

p.detail-header-title {
    border-bottom: 1px solid #c5c5c5;
    padding-right: 5px;
    margin-left: 5px;
}

@media all and (max-device-width: 768px) {
    p.detail-header-title {
        display: none;
    }
}

div.detail-body {
    display: flex;
    align-items: flex-start;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding-top: 20px;
    margin: 0 10px 0 10px;
}

div.detail-footer {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
}

ul.actionmenu li button {
    border: none;
    background-color: transparent;
    padding: 0;
    width: 100%;
    text-align: left;
    font-family: Roboto, sans-serif;
    font-size: 12px;
}

/* Style général pour les éléments du formulaire */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 5px;
}

label {
    font-size: 0.9rem;
}

/* Mise en page pour les écrans plus larges (par exemple, les ordinateurs) */
@media (min-width: 768px) {
    .form-group {
        flex-direction: row;
        align-items: flex-start;
    }

    label {
        margin-bottom: 0;
        margin-right: 10px; /* Espacement entre le label et l'input */
        text-align: right;

        flex: 0 1 auto; /* Les labels prennent seulement l'espace nécessaire */
        min-width: 180px; /* Largeur minimale pour les labels */
    }

    input {
    }
}

.tag-runners {
    border: 1px solid royalblue;
    border-radius: 4px;
    padding-left: 4px;
    padding-right: 4px;
    background-color: royalblue;
    font-size: 15px;
    margin-left: 20px;
    margin-right: 20px;
}

.tag-error {
    border: 1px solid red;
    background-color: red;
}

.tag-locations {
    border: 1px solid #e67600;
    border-radius: 4px;
    padding-left: 4px;
    padding-right: 4px;
    background-color: #e67600; /* darkorange; */
    font-size: 15px;
    margin-left: 20px;
    margin-right: 20px;
}

#packing_explain_1,
#packing_explain_2,
#packing_explain_3,
#asset_packaging_explain_1,
#asset_packaging_explain_2,
#asset_packaging_explain_3 {
    border-bottom: 1px solid lightgray;
    padding: 0 5px;
    font-style: italic;
    min-width: 30px;
    display: inline-block;
}

.asset_packaging_explain_1 {
    border-bottom: 1px solid lightgray;
    padding: 0 5px;
    font-style: italic;
    min-width: 30px;
    display: inline-block;
}

.asset-form {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
}

.asset-form-menu {
    width: 14rem;
    border: 1px solid lightgray;
    border-radius: 4px;
    --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -4px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.asset-form-menu-title {
    padding: 1rem;
    border-bottom-width: 1px;
    --tw-border-opacity: 1;
    border-color: rgba(229, 231, 235, var(--tw-border-opacity));
}

.asset-form-menu-title h2 {
    margin-top: 0;
    margin-bottom: 0;
}
.asset-form-detail {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
}

.asset-form-detail-header {
    display: flex;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    padding: 0.5rem 2rem;
    flex-direction: column;
}

.asset-form-detail-header-section1 {
    display: flex;
    justify-content: space-between;
    /*    align-items: center; A DISCUTER */
    margin-bottom: 1rem;
}

.asset-photo {
    border-radius: 0.5rem;
    justify-content: center;
    align-items: center;
    display: flex;
    cursor: pointer;
    max-width: 100px;
    max-height: 100px;
}

.asset-form-detail-header-section2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 1rem;
}

.asset-form-detail-header-section2-sub {
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
        0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --tw-shadow-colored: 0 1px 3px 0, 0 1px 2px -1px;
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
        var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    padding: 1rem 1.5rem 1.5rem;
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity));
    border-radius: 0.5rem;
}

.asset-form-detail-header-section2-sub h3 {
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.75rem;
    margin: 0 0 1rem;
    font-family: ui-sans-serif, system-ui, sans-serif, Apple Color Emoji,
        Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
    font-feature-settings: normal;
    font-variation-settings: normal;
}

.asset-form-detail-content {
    border: 1px solid lightgray;
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
        0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --tw-shadow-colored: 0 1px 3px 0, 0 1px 2px -1px;
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
        var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    padding: 1.5rem;
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity));
    border-radius: 0.5rem;
    margin: 0 2rem;
    flex-grow: 1;
}

.asset-form-detail-content h3 {
    margin-top: 0;
}

.field-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    margin-bottom: 0.5rem;
}

.field-row .field-ng {
    flex: 1;
    margin-bottom: 0;
}

.field-ng input,
textarea,
select {
    padding: 0.5rem;
    padding: 0.3rem;
    --tw-border-opacity: 1;
    border-color: rgb(209 213 219 / var(--tw-border-opacity));
    border-width: 1px;
    border-radius: calc(0.5rem - 2px);
    width: 100%;
    height: initial;
}

.asset-trends-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.asset-trend {
    padding: 1rem;
    --tw-bg-opacity: 1;
    background-color: rgb(249 250 251 / var(--tw-bg-opacity));
    border-radius: 0.5rem;
}

.asset-trend-title {
    --tw-text-opacity: 1;
    color: rgb(75 85 99 / var(--tw-text-opacity));
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin: 0;
}

.asset-trend-value {
    --tw-text-opacity: 1;
    color: rgb(31 41 55 / var(--tw-text-opacity));
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 2rem;
    margin: 0;
}

.icon {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: invert(39%) sepia(10%) saturate(629%) hue-rotate(182deg)
        brightness(94%) contrast(90%);
}

.icon-large {
    width: 32px;
    height: 32px;
    filter: invert(39%) sepia(10%) saturate(629%) hue-rotate(182deg)
        brightness(94%) contrast(90%);
}

.icon-calendar {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
}

.icon-location {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.icon-financial {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='1' x2='12' y2='23'/%3E%3Cpath d='M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6'/%3E%3C/svg%3E");
}

.icon-box {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpolyline points='3.29 7 12 12 20.71 7'/%3E%3Cline x1='12' y1='22' x2='12' y2='12'/%3E%3C/svg%3E");
}

.icon-file {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cline x1='10' y1='9' x2='8' y2='9'/%3E%3C/svg%3E");
}

.icon-chart {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E");
}

.icon-alert {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
}

.icon-wrench {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E");
}

.icon-document {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E");
}

.icon-cart {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E");
}

.icon-price-tag {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E");
}

.icon-movement {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 4 23 10 17 10'/%3E%3Cpolyline points='1 20 1 14 7 14'/%3E%3Cpath d='M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15'/%3E%3C/svg%3E");
}

.icon-event {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3Cpath d='M8 14h.01'/%3E%3Cpath d='M12 14h.01'/%3E%3Cpath d='M16 14h.01'/%3E%3Cpath d='M8 18h.01'/%3E%3Cpath d='M12 18h.01'/%3E%3Cpath d='M16 18h.01'/%3E%3C/svg%3E");
}
.icon-camera {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E");
}

.icon-link {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E");
}

.ravitaillement-table {
    border-collapse: collapse;
    width: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.ravitaillement-table .toggle-table {
    background: none;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: absolute;
    left: 30px;
}

.ravitaillement-table .toggle-table:hover {
    opacity: 0.7;
}

.ravitaillement-table .toggle-table i {
    transition: transform 0.2s ease;
}

.ravitaillement-table th {
    background: #f8f9fa;
    padding: 10px 6px;
    text-align: center;
    font-size: 0.9em;
    vertical-align: top;
}

.ravitaillement-table tr.commodity_header th:not(:first-child) p {
    width: 85px;
    overflow: hidden;
    text-overflow: ellipsis;
    /*white-space: nowrap;*/
}

.ravitaillement-table th:first-child {
    text-align: left;
}

.ravitaillement-table td {
    padding: 10px 6px;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
    text-align: center;
    font-size: 0.9em;
}

.ravitaillement-table tbody td p {
    width: 150px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.ravitaillement-table tr:hover {
    background-color: #f8f9fa;
}

.ravitaillement-table input {
    width: 64px;
    text-align: center;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 4px 8px;
    color: #ef4444;
}

.no_checkbox > a > i.jstree-checkbox {
    display: none;
}

.form-control {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-control[readonly],
.form-control:disabled,
.form-control [disabled] {
    background-color: #f8fafc;
    border-color: #e2e8f0;
    color: #64748b;
    box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
    cursor: not-allowed;
}
.form-control[readonly]:hover,
.form-control:disabled:hover,
.form-control [disabled]:hover {
    border-color: #e2e8f0;
}
select.form-control {
    appearance: none; /* Supprime l'apparence native */
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 40px; /* Espace pour le chevron */
    background-color: white;  /* Fond blanc explicite */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23428994' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
    background-size: 24px;
}

.form-container {
    width: fit-content;
    max-width: 600px;
}

.form-grid {
    display: grid;
    grid-template-columns: 290px 300px;
/*    gap: 15px 20px; */
    gap: 5px 5px;
    align-items: center;
}

.field-label {
/*    font-size: 100%;*/
    text-align: right;
    white-space: nowrap;
/*    padding-right: 10px;*/
}
/*
.field-label.required::after {
    content: " *";
    color: red;
}
*/
.field-input {
    text-align: left;
}

.field-input input[type="text"],
.field-input textarea {
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.field-input input.short {
    width: 100px;
}

.field-input textarea {
    height: 60px;
    resize: vertical;
}

.location-controls {
    display: flex;
    gap: 2px;
}

.location-controls input[type="text"] {
    flex: 1;
}

.location-controls button {
    width: 25px;
    cursor: pointer;
}

.checkbox-container {
    display: flex;
    align-items: center;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    height: auto;
    margin-right: 5px;
}

/* Version responsive */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .field-label {
        text-align: left;
        padding-right: 0;
        margin-bottom: 5px;
    }
}

.selected-asset {
    width:calc(100% - 3em);
    float:right;
}

/* Style pour le spinner de chargement */
.loading-spinner {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 5px;
    vertical-align: middle; /* Aligne verticalement avec le texte */
    position: relative;
    top: -1px; /* Ajustement fin de la position */
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Style pour les boutons désactivés */
.button-disabled {
    pointer-events: none;
}

/*
    Bleu clair  : #3246bc   rgb(50,70,188)
    Bleu foncé  : #27348b   rgb(39,52,139)
    Vert clair  : #853ea5  rgb(0, 135, 145);
    Vert foncé  : #428994
    Gris clair  : #4a4a49
    Gris foncé  : #3c3c3b
*/
