.main-sidebar,
.layout-fixed .brand-link {
    width:280px;
}
.sidebar-collapse .main-sidebar,
.sidebar-collapse .main-sidebar::before {
    margin-left:-280px;
}
[class*=sidebar-dark-] {
    background-color: #000;
}
.livrable-item:hover {
    background-color: #e7e7e7;
}
.login-box {
    margin: auto;
    background: white;
    width:420px;
}
.xpertia-login {
    position: absolute;
    bottom:0;
    width: 100%;
}
.logo-collapsed {
    display:none;
}
.sidebar-collapse .logo-deployed {
    display:none;
}
.sidebar-collapse .logo-collapsed {
    display:block;
}
.sidebar-collapse .brand-link {
    padding:15px !important;
}

.user-panel .info a {
    white-space: normal;
    max-width: 130px;
}
.param-main:not(:first-child) {
    border-top: 1px solid #EEE;
}
.param-main .form-check,
.robot-main .form-check,
.switch-checkbox .form-check {
    padding-left: 0;
    margin-right:10px;
}
.param-main .form-check .bootstrap-switch,
.robot-main .form-check .bootstrap-switch,
.switch-checkbox .form-check .bootstrap-switch {
    margin-right:10px;
}
.param-main .help-text {
    margin-bottom:10px;
}
.param-child {
    margin-bottom:20px;
}
.param-child label {
    width:330px;
}
.param-child .bootstrap-switch-label {
    background: white;
}
#client_params hr {
    border-color:#333;
}
.hidden-element {
    display: none !important;
}
.livrable-params {
    background-color:#f5f5f5;
    padding:0 20px;
}
@media (min-width: 768px) {

    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper,
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer,
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
        margin-left:280px;
    }

}
.sidebar-mini .main-sidebar .nav-link,
.sidebar-mini-md .main-sidebar .nav-link,
.sidebar-mini-xs .main-sidebar .nav-link {
    width: calc(280px - .5rem * 2);
}
.page-item.active .page-link,
.btn-primary,
.custom-control-input:checked~.custom-control-label::before {
    background-color: #7e5bf6;
    border-color: #7e5bf6;
}
.text-primary {
    color: #7e5bf6 !important;
}
h6 {
    font-weight: bold;
}
.card-primary.card-outline,
.btn-outline-primary {
    border-color: #7e5bf6;
}
.badge-primary,
.bg-primary,
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary,
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary{
    background-color: #7e5bf6 !important;
}
.badge-xl {
    font-weight: 500;
    padding: 5px;
    font-size: 14px;
}
.import-callout {
    border-left-color: #7e5bf6 !important;
}
.import-callout .badge-primary {
    padding:5px;
    font-size:14px;
}
.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled):focus {
    background-color: #49368D;
    border-color: #49368D;
}
a,
.btn-outline-primary {
    color:#7e5bf6;
}
.btn-outline-primary:hover {
    border-color:#7e5bf6;
}
a:hover,
.callout a:hover {
    color:#49368D;
}
.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active,
.btn-outline-primary:hover {
    background-color: #7e5bf6;
}
.breadcrumb {
    background-color: transparent;
}
label.required:after {
    content:"*";
    color:red;
}
.custom-file-label:after {
    content:'Parcourir'
}
.img-employe-photo {
    max-height: 200px;
}
.col-form-label {
    font-weight:700;
}
.dummy-stats {
    height:400px;
    line-height: 400px;
    text-align: center;
    background: rgba(0,0,0,0.05);
}
.dummy-stats h2 {
    line-height: 400px;
    text-align: center;
    color: #BBB;
}
.btn-group-label {
    pointer-events: none;
    width:220px;
}
.btn-turquoise,
.bg-turquoise,
.badge-turquoise {
    background-color:#32d2e5;
    color:#FFF;
}
#clients_filter {
    text-align:left;
}
.dt-custom-content {
    text-align:right;
    font-size:12px;
}
.pastille {
    display: inline-block;
    width:15px;
    height:15px;
    border-radius:50%;
    vertical-align: middle;
    position: relative;
    bottom:1px;
    margin-right:3px;
}
.callout-sm {
    padding:10px;
    max-width:280px;
}
#legende-clients li {
    cursor:pointer;
    position:relative;
}
#legende-clients li.selected {
    font-weight:bold;
}
#legende-clients li.selected:before {
    content:"\f00c";
    font-family: 'Font Awesome 5 Free';
    color:#FFF;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 15px;
    width: 15px;
    height: 15px;
    line-height: 20px;
    z-index: 1;
    text-shadow: 0 0 3px rgba(0,0,0,0.5);
}
.btn-primary.disabled,
.btn-primary:disabled {
    background-color: #7e5bf6;
    border-color: #7e5bf6;
}
tr.pinned-row {
    background: #dbffd4 !important;
    font-weight: bold;
}
.nav-item .nav {
    background-color: #222 !important;
}
.nav-item .nav-item .nav-link {
    padding-left:25px;
}

/* Style général de la zone de dépôt */
.dropzone {
    border: 2px dashed #007bff;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: #007bff;
}

/* Style au survol */
.dropzone:hover {
    background-color: #f1f1f1;
}

/* Effet visuel lors du drag and drop */
.dropzone.dragover {
    background-color: rgba(0, 123, 255, 0.1);
    border-color: #0056b3;
}

/* Texte et icône dans la zone */
.dropzone .dz-message {
    font-size: 16px;
    font-weight: 500;
    color: #007bff;
}

.dropzone .icon {
    font-size: 50px;
    color: #007bff;
    margin-bottom: 10px;
}

/* Style du fichier téléchargé */
.dropzone .dz-preview {
    margin-top: 10px;
    text-align: center;
}

.dropzone .dz-preview .dz-filename {
    font-size: 14px;
    color: #333;
}

.dropzone .dz-preview .dz-size {
    font-size: 12px;
    color: #666;
}

.dropzone .dz-preview .dz-remove {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #dc3545;
    cursor: pointer;
}
.fec-api-wrapper .loader,
.pending-import-loader
{
    text-align: left;
    margin-top: 30px;
    color: #6c757d;
    max-width: 320px;
}

/* Suppression du focus bleu autour des boutons sur Firefox */
.dropzone input[type="file"]:focus {
    outline: none;
}

.form_budget_online > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 50px; /* Espace entre les champs */
}
.form_budget_online > div > .form-group {
    flex: 0 0 calc(33.33% - 40px); /* 3 éléments par ligne avec un espacement de 10px */
    box-sizing: border-box; /* Inclure les marges et les bordures dans la largeur */
    margin: 0;
}
.form_budget_online label {
    font-size: 14px;
}
.jexcel td {
    padding:0;
}
.jexcel_row {
    text-align: center;
}
.jexcel > thead > tr > td,
.jexcel > tbody > tr > td:first-child {
    background-color: #fff;
}
.custom-row td:nth-child(2) {
    background-color: #ffff9e !important;
}
.total-row td {
    font-weight: bold;
    background-color: #b4e2ff;
}
.img-api img {
    height: 90px; /* Ajustez cette hauteur en fonction de la taille désirée */
    width: auto;
    object-fit: contain;
    max-width: 100%;
    padding: 20px;
}
/* Styles pour la modal */
.jspreadsheet-fullscreen .modal-dialog {
    max-width: 90%;
    max-height: 90%;
}

.jspreadsheet-fullscreen .modal-content {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.jspreadsheet-fullscreen .modal-body {
    flex: 1;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; /* Supprimer le padding pour optimiser l'espace */
}
.jspreadsheet-fullscreen .jexcel_container {
    max-height: 80vh;
}
/* Ajustement de la taille pour les petits écrans */
@media (max-width: 1280px) {
    .jspreadsheet-fullscreen .modal-dialog {
        max-width: 95%;
        max-height: 95%;
    }
}

.alert.alert-danger pre {
    color:#FFF;
}

#fecs p {
    margin-bottom: 0;
}

/* Conteneur global des aperçus */
.dz-preview-container {
    width: 100%;
    display: block;
}

/* Chaque élément preview affiché sur une seule ligne */
.my-preview {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border-bottom: 1px solid #ddd;
    width: 100%;
}

/* Thumbnail (icône) */
.my-thumbnail {
    margin-right: 10px;
}
.my-thumbnail i {
    font-size: 24px;
    color: #666;
}

/* Détails du fichier sur une seule ligne */
.my-details {
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}
.my-details > span {
    margin-right: 15px;
    white-space: nowrap;
}
.my-details .text-success,
.my-details .my-loader {
    margin-right: 0;
}
@media(min-width: 1800px) {

    .my-details .text-success,
    .my-details .my-loader {
        position: absolute;
        right: 0;
    }
}
.dz-remove {
    color:var(--red);
    cursor: pointer !important;
}

/* Style pour le message d'erreur */
.my-error-message {
    color: red;
    font-weight: bold;
    margin-left: 15px;
}

form.dz-drag-hover {
    border:3px dotted #666 !important;
}
.img-api-8003 img {
    background-color: #1e3a4e;
}
.rotate {
    transition: transform 0.2s;
}

.rotate.down {
    transform: rotate(180deg);
}
