/* region mise en page */
html {
    height: 100%;  min-height: 100%;
}

@media (min-width: 768px) {
    html[data-sidebar-size="condensed"]:not([data-sidebar-size="compact"]):not(.auth-fluid-pages) {
        min-height:  100%;
    }
}

.content-page {
    padding-left: 5px;
}
.logo-box img {
    margin-right: 5px;
}
.logo-box {
    font-size: 30px;
    font-family: "ChopinScript";
    text-transform: none;
    background-color: #fff;
}

.logo-box .logo .logo-lg-text-dark {
    text-transform: none;
    font-size: 30px;
    font-weight: 200;
}

html[data-sidebar-size="condensed"] .logo-box .logo-condensed {
    display: none;
}
#side-menu .float-end {
    margin-right: 25px;
}

.header-title { line-height: 25px; /*border-bottom: solid 1px #1E7FCB; padding-bottom: 12px;*/ }

#preloader {
    background-color: #ffffff78
}

.list-flex      { display: flex; }
.list-flex li   { flex: auto; }
.list-unstyled  { padding-left: inherit; }
.list-unindent  { padding-left: 0; }

.space-between { justify-content: space-between; }
.flex-end { justify-content: flex-end; }
.flex-wrap { flex-wrap: wrap; }

.p-sticky {
    position: sticky;
}
.p-sticky-top {
    top: 0;
}

.fontsize-inherit {
    font-size: inherit;
}

ol.list-group-numbered > .list-group-item.hidden-li {
    /*!*content: counters(section, ".") ". ";*!*/
    /*counter-increment: section;*/
    position: absolute;
    left: -9999px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}
ol.list-group-numbered > .list-group-item.list-group-unnumbered-item::before {
    content: "";
    counter-reset: reversed(section); /* retir 1 au compteur => la section n'a pas d'impact sur le compteur caril est incrémenté par défaut dans _list-group.scss */
}

footer.footer {
    padding: 7px 15px;
}

.search-bar span {
    z-index: 0;
}

.ml-0 { margin-left: 0 !important; }
.ml-1 { margin-left: 5px !important; }
.ml-2 { margin-left: 10px !important; }
.ml-3 { margin-left: 15px !important; }
.ml-4 { margin-left: 25px !important; }
.ml-5 { margin-left: 30px !important; }

.mr-0 { margin-right: 0 !important; }
.mr-1 { margin-right: 5px !important; }
.mr-2 { margin-right: 10px !important; }
.mr-3 { margin-right: 15px !important; }
.mr-4 { margin-right: 25px !important; }
.mr-5 { margin-right: 30px !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 5px !important; }
.mb-2 { margin-bottom: 10px !important; }
.mb-3 { margin-bottom: 15px !important; }
.mb-4 { margin-bottom: 25px !important; }
.mb-5 { margin-bottom: 30px !important; }

.pl-0 { padding-left: 0 !important; }
.pl-1 { padding-left: 5px !important; }
.pl-2 { padding-left: 10px !important; }
.pl-3 { padding-left: 15px !important; }
.pl-4 { padding-left: 25px !important; }
.pl-5 { padding-left: 30px !important; }

.top { margin-bottom: 6px;}

.w-99 {
    width : 99%;
}

.line-height-normal {
    line-height: normal;
}

/* region scrollbar */
/* --- Firefox --- */
* {
    scrollbar-width: thin;
}

/* --- Chrome --- */
::-webkit-scrollbar {
    width: 7px;
}
/* Track */
::-webkit-scrollbar-track {
    border-radius: 8px;
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 8px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}
/* endregion scrollbar */
/* endregion mise en page */

/* region button / link */
/*.btn-label i {*/
/*    font-weight: bold;*/ /* Fait flou sur les RI => à voir si important*/
/*}*/




.empty-comment i {
    color: #bbb !important;
}


a.collapsed:has(i.ri-history-line) {
    color: #563440;
}
a.collapsed:has(i.ri-history-line):hover {
    text-decoration: underline;
}

.btn.disable { /* utilisé disable au lieu du disabled du thème car les tippy ne marchent pas avec */
    cursor: not-allowed;
    opacity: 0.65
}

/* Utilisation de *="ri-" plutôt que ^="ri-" car s'il y a une autre classe avant cela ne fonctionne pas*/
.dropdown-item i[class*="ri-"]:before,
.btn i[class*="ri-"]:before {
    font-size: 120%;
}
.dropdown-item i[class*="ri-"],
.btn i[class*="ri-"] {
    line-height: 100%;
    vertical-align: text-bottom;
}

.dropdown-menu .dropdown-header {
    font-size: 1.10rem;
}

/* region group */
.btn-group > .btn-group:not(:last-child) > .btn.rounded-pill,
.btn-group > .btn.dropdown-toggle-split:first-child.rounded-pill,
.btn-group > .btn:not(:last-child):not(.dropdown-toggle).rounded-pill {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.btn-group > .btn-group:not(:first-child) > .btn.rounded-pill,
.btn-group > .btn:nth-child(n+3).rounded-pill,
.btn-group > :not(.btn-check) + .btn.rounded-pill {
     border-top-left-radius: 0 !important;
     border-bottom-left-radius: 0 !important;
}
/* endregion group */
/* endregion button / link */

/* region Datatables */
.table caption      { caption-side: top; }
.table caption      {  border-bottom: 1px solid #edeff1; padding-top: 0.25rem; padding-bottom: 0.25rem; margin-bottom: 0.50rem; }

.page-link {
    font-size: 15px;
}

.table.table-bordered > :not(:last-child) >  caption i { border-bottom:none; }

.border-right {
    border-right: double black;
}

.no-border {
    border: none;
}

table .col-btn-lg { width: 220px; text-align: center }
table .col-btn-sm { width: 92px; text-align: right }

div.dataTables_wrapper .bottom { margin-top: 10px; }

div.dataTables_wrapper div.dataTables_info { margin-left: 15px; padding-top: 0.3em; }
div.dataTables_wrapper div.dataTables_length { display: inline-block; }
div.dataTables_wrapper div.dataTables_paginate {float:right;text-align:right;padding-top:0.25em}
div.dataTables_wrapper div.dataTables_filter input { margin-left: 0; }
th.dt-body-center, td.dt-body-center { text-align: center; }
th.dt-body-left, td.dt-body-left { text-align: left; }
table th.th-checkbox input + label::before {
    right: 0;
}
table th.th-checkbox input + label::after {
    right: 15px;
    left: unset !important;
}
div.dataTables_wrapper div.dataTables_filter {
    text-align: left;
}
table td.dt-body-right {
    text-align: right;
}

table.datatable  {
    /*border: 1px solid #1E7FCB;*/
    margin: 5px 0 !important;
}

table.datatable thead,
table.datatable thead th {
    border: none;
}

table.datatable th.th-actions {
    width: 140px;
}

table.datatable th.th-actions .btn  {
    /*padding: 4px 8px;*/
    padding: 0 4px;
}



/*table.dataTable tbody > tr.selected, table.dataTable tbody > tr > .selected,*/
/*.table-striped > tbody > tr.selected:nth-of-type(2n+1) > * {*/
/*    !*background-color: rgba(59,175,218,.18);*!*/
/*    background-color: #FBF5E7;*/
/*    color: #040D12;*/
/*}*/

table.table.dataTable.table-striped > tbody > tr:nth-of-type(2n+1).selected > *,
table.dataTable tbody > tr.selected td, table.dataTable tbody > tr > .selected td {
    border-color: rgba(59,175,218,.18);
}
/*table.dataTable tbody > tr.selected a { color: #98a6ad; }*/

table.dataTable tbody > tr.selected a { color: inherit; }

table.dataTable tbody > tr.selected a:hover { color: #6c757d; }
table .table-action         {  }


/* region card */
.card-header { padding: 10px 20px; }


table tr.bg-secondary > * {
    color: #fff;
    /*font-size: 1.125rem;*/
}



/* region problème design dû à scrollbar */
.dataTables_scrollBody .table thead.table-blue {
    --bs-table-bg: transparent;
}
.dataTables_scrollBody .table.table-bordered > :not(:last-child) > :last-child > * {
    border: none;
}
/* endregion problème design dû à scrollbar */
/* endregion Datatables */

/* region jstree */
.jstree-default .jstree-hovered {
    background-color: rgba(250, 238, 209, 0.3);
    color: #040D12;
}
 .jstree-default .jstree-clicked, .jstree-default .jstree-wholerow-clicked {
    /*background-color: rgba(147, 177, 166, 0.5); */
    /*background-color: rgba(250, 238, 209, 1);*/
    background-color: rgba(250, 238, 209, 0.7);
    color: #040D12;
}
/* endregion jstree */

/* region loader */
#data-area {
    position: relative;
}

#preloader-data {
    display: none;
    z-index: 9999;
    background-color: #fff;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#status-data {
    width: 40px; height: 40px;
    position: absolute; left: 50%; top: 50%;
    margin: -20px 0 0 -20px;
}
/* endregion loader */



/* region widget */
.avatar-icon {
    position: relative;
}
.avatar-icon.bg-icon-light .avatar-title {
    color: #333 !important;
}
.icon-badge {
    display: inline-block;
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ebebeb;
    color: #333;
}
/* endregion widget */

/* region pills */
/*.tab-content .tab-pane .nav-pills .nav-link.active,*/
/*.tab-content .tab-pane .nav-pills .show > .nav-link {*/
/*    background-color: #2033E7;*/
/*}*/
/*.tab-content .tab-pane .nav-pills .nav-link.active .badge-soft-dark,*/
/*.tab-content .tab-pane .nav-pills .show > .nav-link .badge-soft-dark {*/
/*    color: #fff;*/
/*}*/
/* endregion pills */

/* region toast */
.toast { border : none; }
/* endregion toast */

/* region accordion */
.accordion-item {
    color: var(--bs-table-color);
}
.accordion-small .accordion-header .accordion-button {
    padding: 4px 6px;
}
.accordion-button.text-custom {
    color: rgb(108, 117, 125);
}

.card-header.accordion-item {
    border-top: none;
    border-left: none;
    border-right: none;
}
.card-header .accordion-button {
    padding: 0;
}
.card-header .accordion-create.accordion-button {
}
.card-header .accordion-create.accordion-button::after {
    content: '+';
    background: none;
    transform: none;
    font-size: 1.5em;
    margin-bottom: 10px;
    text-align: center;
}
.card-header .accordion-create.accordion-button:not(.collapsed)::after {
    content: '-';
    background: none;
    transform: none;
}
.card-header .accordion-create.accordion-button:not(.collapsed) {
    background: none;
}
/* endregion accordion */

/* region modal */
.modal-content {
    /*min-height: 600px;*/
}

/* region fix bug aléatoire modal scroll */
/*.modal-body {*/
/*    display: contents; !* Utiliser contents, flex ou grid selon le rendu souhaité. (block ou inline KO) *!*/
/*}*/

.modal .scrollable {
    display: block; position: static;
}
/* region fix bug aléatoire modal scroll */
/* endregion modal */


.pager.wizard { /*border-top: 1px solid #e5e8eb ; border-bottom: 1px solid #e5e8eb ;*/ padding-top: 4px; padding-bottom: 4px; }
.column-btn-collection-table { width: 100px; text-align: center; }
.dashedzone {
    border: 2px dashed #ced4da;
    background: #fff;
    border-radius: 6px;
    min-height: 100px;
    padding: 20px;
    box-shadow: none;
}
.cell-bubble    { width: 50px; }
.cell-money      { width: 150px; }



/* region Nestable */
.dd {
    max-width: none;
}
.dd-archi-handle:before {
    content: "\ea72";
    font-family: "remixicon";
}
.dd-content {
    margin: 0 10px;
}
/* endregion Nestable */

/* region AskList */
.ask-list-item {
    cursor: pointer;
    border-bottom: 1px solid #fff ;
}
.ask-list-item:hover, .ask-list-item.active {
    border-bottom: 1px solid rgba(30,127,203,.18) ;
}
.ask-list-item:hover h5, .ask-list-item.active h5 {
    color: #1e7fcb;
}

.conversation-list .chat-avatar  {
    width: 64px;
}
/* endregion AskList */

/* region Timeline */
.jqtl-container {
    width: auto!important;
}
/* endregion Timeline */

/* region scrollTop */
.scroll-to-top { position: fixed; right: 10px; bottom: 10px; cursor: pointer;  display: none;  z-index: 500; }
.scroll-to-top .avatar-md { opacity: 0.6; height: 3rem; width: 3rem; }
.scroll-to-top .avatar-md:hover { opacity: 1; }
/* endregion scrollTop */

/* region calendar */
.gantt_btn_set.gantt_left_btn_set{
    border: 0;
    border-radius: .25em;
    color: #fff;
    font-size: 1.0625em;
}
.gantt_btn_set.gantt_left_btn_set.gantt_save_btn_set{
    background-color: rgb(26, 188, 156);
}
.gantt_btn_set.gantt_left_btn_set.gantt_cancel_btn_set {
    background-color: rgb(241, 85, 108);
}
.gantt_cal_cover {
    background-color: rgba(0,0,0,.4);
    opacity: unset;
}
.gantt_cal_light {
    box-shadow: 0 10px 33px rgba(0,0,0,.1);
}
.calendar-gantt {
    height: 100%;
    min-height: 300px;
    padding: 0;
    margin: 0;
    overflow: hidden;
}
.TWGanttWorkSpace.ganttFullScreen {
    z-index: 1006;
}


/* endregion calendar */

/* region tableSubRow */
.table-sub-row .sub-row { display: none; }
/* endregion tableSubRow */

/* region hoverableRows */
.row-hover td, .row-hover th,
table.hover-row tbody tr:hover th,
table.hover-row tbody tr:hover td,
.build-wsm-task:hover td {
    background-color: #ebf7fb;
    color: #000;
}
/*td.perimeter-subentity {*/
/*    padding-left: 40px;*/
/*}*/
tr.build-mission-perimeter-task .select-block {
    min-width: 150px;
}

.build-wsm-task .form-check { padding-left: 0; }
.build-wsm-task .input-group > .input-task-quantity { width: 100px; }
.build-wsm-task .input-group > .input-group-text { padding-left: 5px; padding-right: 5px; }

/*.touchspin-cell { min-width: 120px }*/

/*.build-wsm-task .cell-form-check {*/
/*    width: 150px; text-align: center;*/
/*}*/

/* endregion hoverableRows */

/*.tab-simplebar { height: 600px;  }*/

.action-buttons {
    padding-bottom: 10px; margin-bottom: 8px;
}

.alert-read-only {
/*    position: absolute; top: 0; left: 0; right: 0; */text-align: center;
    display: inline;
}

/* region sticky infos */
/*.sticky-container {*/
/*    display: initial;*/
/*}*/
/*.sticky-bottom {*/
/*    background-color: rgba(235, 247, 251, 0.8);*/
/*}*/
/*.sticky-bottom.is-pinned {*/
/*    background-color: inherit;*/
/*}*/
.fixed-info-zone {
    float: right;
    min-height: 30px;
    /*position: fixed;*/
    /*right: 40px;*/
    /*bottom: 60px;*/
}
.toggle-info-content, .toggle-info-content:focus:not(:hover) {
    overflow: visible;
    box-shadow: none;
    position: absolute;
    bottom: 2px;
    right: 0;
}
/* Croix pour signaler que l'on peut réduire */
/*.fixed-info-content:not(.hidden) ~ .toggle-info-content!*:hover*!::before {*/
/*    content: "\00d7";*/
/*    position: absolute;*/
/*    font-size: 18px;*/
/*    color: #5c5c5c;*/
/*    font-weight: bold;*/
/*    z-index: 9999;*/
/*    right: -6px;*/
/*    top: -12px;*/
/*}*/

/* endregion sticky infos */

/* region AVP */
.avpesq-updated-elements i {
    font-weight: normal;
}
/* endregion AVP */

/* region typography */
.mark, mark {
    font-weight: bold;
}
.nowrap-recursive *,
.nowrap {
    white-space: nowrap;
}
.ws-normal {
    white-space: normal !important;
}
.min-content { width: min-content; }
.float-right {
    float: right;
}
.hidden {
    display: none !important;
}
.text-right {
    text-align: right;
}
.v-align-middle { vertical-align: middle !important; }
.v-align-unset { vertical-align: unset !important; }
.text-italic {
    font-style: italic;
}
.flex-content {
    flex: content;
}
.v-align-text-top {
    vertical-align: text-top;
}
.v-align-text-bottom {
    vertical-align: text-bottom;
}
.v-align-sub {
    vertical-align: sub;
}
strong { font-weight: bold; }
/* endregion typography */

/* region tippy */
/* Fix tippy appearance bug */
.tippy-popper .tippy-tooltip[data-animatefill] {
    background-color: #333 !important;
}
/* endregion tippy */

/* region range slider */
.irs--modern .irs-line {
    border: solid 1px #c4c4c4;
}
/* endregion range slider */

.project-left-accordion ul.nav li.nav-item a i {vertical-align: text-top;}



/* region datepicker */
.datepicker-days table tr td.cw:before {
    content: 'S';
}
.datepicker-days table tr td.cw {
    font-style: italic;
    color: rgb(153, 153, 153);
}
/* endregion datepicker */




/**
    Summoned Status Legend
 */
.summoned-status-legend                 { display: flex;}
.summoned-status-legend > h4            { margin-right: 10px; margin-top: 8px;  }
.summoned-status-legend > div           { }
.summoned-status-legend > div > label   { display: block; font-size: 16px; text-align: center; padding: 6px;  }
.summoned-status-legend > div > span    { display: block; padding: 2px 4px;  }

/**
    CUSTOM
 */


/* region pdf class */
.download-pdf, .download-pdf:active, .download-pdf:focus, .download-pdf:focus:active {
    color: #B30B00;font-size: 34px;transition: transform .2s;
}
.download-pdf:hover {transform: scale(1.2);}
.download-pdf.draft {color: #39444e;}
/* endregion pdf class */

.modal-footer .btn:disabled {
    color: #ccc!important;
}

.price-badge{
    --bs-badge-font-size : 1em;
}



/*thead.bg-secondary, tr.bg-secondary,  td.bg-secondary, th.bg-secondary { background-color: #607274 !important; }*/

/* region checkbox */
[class^='archi-checkicon-'] {
    border-radius: 3px;
    line-height: 1em;
    width: 12px;
    height: 12px;
    display: inline-block;
    position: relative;
    border: 1px solid;
    margin-right: 4px;
}
.archi-checkicon-check:after {
    display: block;
    content: "✓";
    margin-top: -4px;
    font-size: 110%;
    font-weight: bold;
}
table.dataTable input.dt-select-checkbox:checked:after {
    font-weight: bold;
}
/* endregion checkbox */