:root {
    --white: #fff;
    --grey: #888;
    --dark-main-color: #2C394B;
    --dark-control: #082032;
    --red-validator: rgb(228, 64, 93);
    --blue-color: #007BFF;
  }
.m-0 {
    margin: 0;
}
.mb-8 {
   margin-bottom: 2rem!important
}
.mb-5px{
    margin-bottom: 5px;
}
.mb-10px{
    margin-bottom: 10px;
}
.me-1 {
   margin-right: 0.25rem!important
}
.me-2 {
   margin-right: 0.5rem!important
}
.me-3 {
   margin-right: 1rem!important
}
.ml-1 {
   margin-right: 0.25rem!important
}
.ml-2 {
   margin-right: 0.5rem!important
}
.ml-3 {
   margin-right: 1rem!important
}


.mx-0 {
    margin-left: 0px;
    margin-right: 0px;
}
.mh-300px {
    max-height: 300px;
}

.w-50 {
    width: 50%;
}

.w-30 {
    width: 30%;
}

.w-70 {
    width: 70%;
}

.w-150px {
    width: 150px;
}

.px-15{
    padding-left: 15px;
    padding-right: 15px;
}

.min-w-250px{
    min-width: 250px;
}

.mw-50 {
    max-width: 50%;
}

.h-90 {
    height: 90%;
}

.mh-100 {
    max-height: 100%;
}

.mh-200px{
    max-height: 200px;
}

.mw-100 {
    max-height: 100%;
}

.h-50px{
    height: 50px;
}

.p-0{
    padding: 0 !important;
}

.p-8px{
    padding: 8px !important;
}

.fw-bold {
    font-weight: bold;
}

.fw-semibold {
    font-weight: 800;
}

.fw-normal {
    font-weight: normal;
}

ul li::marker {
    color: var(--blue-color);
    font-size: 1em;
}

.required:after {
    content: "*";
    position: relative;
    font-size: inherit;
    color: var(--red-validator);
    padding-left: 0.25rem;
    font-weight: 600;
}

.validator{
    color: var(--red-validator);
    font-weight: 400;
    font-size: 13px;
}

.bullet {
    display: inline-block;
    background-color: var(--blue-color);
    border-radius: 6px;
    width: 8px;
    height: 4px;
    flex-shrink: 0;
}

.align-items-center{
    align-items: center;
}

.d-none{
    display: none;
}

.disabled{
    pointer-events: none;
    opacity: 0.3;
}

.fs-8{
    font-size: 0.8rem;
}

.gap-10px{
    gap: 10px;
}

.gap-2{
    gap: 0.2rem;
}

.toolbar{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0.5rem 0;
    gap: 10px;
}

.color-white{
    color: white !important;
}

.flex-wrap{
    flex-wrap: wrap;
}

.flex-end{
    display: flex;
    justify-content: end;
}

.table>tbody>tr>td, 
.table>tbody>tr>th, 
.table>tfoot>tr>td, 
.table>tfoot>tr>th, 
.table>thead>tr>td, 
.table>thead>tr>th {
    vertical-align: middle;
background-color: white;
}

body.dark .table>tbody>tr>td, 
body.dark .table>tbody>tr>th, 
body.dark .table>tfoot>tr>td, 
body.dark .table>tfoot>tr>th, 
body.dark .table>thead>tr>td, 
body.dark .table>thead>tr>th {
    background-color: var(--dark-main-color);
}

td.inline-cell{
    white-space: nowrap; /* Garde le texte sur une seule ligne */
}

.scroll-x{
    overflow-x: scroll;
}

.related-widget-wrapper, .selector, .selector select{
    width: 100% !important;
}

.selector-available, .selector-chosen{
    width: 45% !important;
}

.selector-chooser{
    width: 5%;
}

.modal{
    z-index: 1040 !important;
}

.modal-backdrop{
    z-index: 1039 !important;
}

@media (min-width: 1100px){
    .modal-lg{
        max-width: 1000px !important;
    }
}

.table {
    display: block;
    max-height: 750px;
    overflow-y: scroll;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.table thead tr {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: var(--white);
}

body.dark .table thead tr {
    background-color: var(--dark-main-color);
}

.table thead th {
    white-space: nowrap;
    border-bottom: 2px solid var(--grey);
}


/* .table th:nth-child(3), .table td:nth-child(3) {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    background-color: var(--white);
    z-index: 1;
}

body.dark .table th:nth-child(3), body.dark .table td:nth-child(3) {
    background-color: var(--dark-main-color);
} */

.numInputWrapper {
    width: 6ch;
    display: inline-block;
    position: absolute;
    top: 6px;
    right: 18px;
}

#changelist-filter{
    margin: 0 !important;
}

.select2 span, .select2-results__option{
    color: var(--grey) !important;
}

.select2-results__option--highlighted{
    color: var(--dark-control) !important;
}

.form-control {
    background: var(--white) !important;
}

body.dark .form-control {
    background: var(--dark-control) !important;
}

body.dark .modal-content {
    background-color: var(--dark-main-color)!important;
}

body.dark .form-control {
    border-color: var(--grey) !important;
}

body.dark .select2-container--default, body.dark .select2-selection--single, body.dark .select2-selection__rendered{
    background-color: var(--dark-control)!important;
    color: var(--white) !important;
}

body.dark .dropdown-menu{
    background-color: var(--dark-main-color);
}

body.dark .dropdown-menu.show:before{
    color: var(--dark-main-color);
}

body.dark .dropdown-item:focus, body.dark .dropdown-item:hover {
    color: var(--white);
    text-decoration: none;
    background-color: var(--dark-control)
}

body.dark .pcoded-header .main-search.open .input-group{
    background-color: var(--dark-control) !important;
}

.list-group-item {
    background-color: inherit !important;
}

#changelist-filter h3{
    font-size: 15px !important;
    color: var(--blue-color) !important;
}

.filter_card_body h3{
    font-size: 13px;
}

.filter_card_body ul {
    list-style-type: none;
    padding-left: 0px;
}

.table-wrapper th, .table-wrapper td{
    max-width: 150px;
    text-wrap: wrap !important;
}

.text-wrap{
    text-wrap: wrap !important;
}

.btn.btn-icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: calc(1.5em + 1.55rem + 2px);
    width: calc(1.5em + 1.55rem + 2px);
    line-height: 1;
}

.accordion-item:first-of-type {
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

.accordion-item {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .125);
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-item:first-of-type{
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
}

.accordion-item:last-of-type {
    border-bottom-right-radius: .25rem;
    border-bottom-left-radius: .25rem;
}
.accordion-button:not(.collapsed) {
    color: #0c63e4;
    background-color: #e7f1ff;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}
[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
    cursor: pointer;
}
.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;
}

.accordion-collapse.show {
    max-height: 500000px;
    opacity: 1;
}

.accordion-collapse:not(.show) {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}

.accordion-collapse{
    transition: all 0.3s;
}

.accordion-body{
    padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("/static/core/assets/img/icons/blue-arrow.1aff1353cf08.svg");
    transform: rotate(-180deg);
}

.accordion-button::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: url("/static/core/assets/img/icons/black-arrow.09ecf2833dfd.svg");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform .5s ease-in-out;
}

.select2-selection__rendered {
    line-height: 42px !important;
}
.select2-container .select2-selection--single {
    height: 42px !important;
}
.select2-selection__arrow {
    height: 42px !important;
}
.select2-selection{
    border: 1px solid #d2d6da !important;
}

.loader {
    width: 15px;
    height: 15px;
    border: 1px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 