html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
    height: 100%;
}

body {
    background-color: white;
    /*margin-bottom: 60px;*/
    display: flex;
    flex-direction: column;
    height: 100%;
    /*margin: 0;*/
}


.bg0 {
    background-color: #c6e3f7;
}

.bg1 {
    background-color: aquamarine;
}

.bg2 {
    background-color: aqua;
}

.bg3 {
    background-color: blue;
}

.bg4 {
    background-color: brown;
}

/*Personnalisé*/
.color-pr {
    color: #007f91;  /*Couleur principal*/
}

:root {
    --offcanvas-width: 270px;
    --top-navbar-height: 67px;
    --background-menu: #007f91;
}

.bkg-menu {
    background: var(--background-menu);
}

.sidebar-nav {
    background: var(--background-menu);
    color: white;
    width: var(--offcanvas-width);
}

@media(min-width:992px) {
    body {
        overflow: auto !important
    }

    .offcanvas::backdrop::before {
        display: none; /*Empêche affichage arriere ^lan gris lors de click sur btn toogle menu*/
    }

    .sidebar-nav {
        transform: none;
        visibility: visible !important;
        top: calc(var(--top-navbar-height)+2px);
        height: calc(100% - var(--top-navbar-height));
        border-top: solid;
    }
}

.navbar-nav {
    border-radius: 12px;
}

    .navbar-nav .active {
        background-color: #1a91a7;
    }

.menu-item {
    background-color: yellow;
}

a.nav-link.sidebar-link {
    color: #00f1ff;
}

.navbar-nav .nav-link {
    color: #ffffff;
    border-radius: 8px;
    padding: 10px 8px;
}

.nav-link:hover {
    background-color: #1943ea;
    color: #2bcf83;
}

.sidebar-link {
    display: flex;
    align-items: center;
}

    .sidebar-link .right-icon {
        display: inline-flex;
        transition: all ease 0.15s;
    }

    .sidebar-link[aria-expanded="true"] .right-icon {
        transform: rotate(180deg);
    }

.top-bar {
    background-color: #ffffff;
    border-bottom: solid 1px var(--background-menu);
    
    /*position: fixed;
    z-index: 999;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
}

main {
    margin-left: var(--offcanvas-width);
    padding-left: 5px;
    flex: 1;
}

@media (max-width: 991px) {
    main {
        margin-left: 0;
    }

    .header-info {
        display: none;
    }
}

.titre-op {
    color: #1abfdd;
    font-size: 22px;
}

.form-btn-va {
    margin-left: auto;
}

#tblList thead {
    background-color: #007f91; /* Vert ..*/
    color: white;
}
/*Espace zone de recherche jquery dataTable*/
[type = "search"] {
    margin-bottom: 10px;
}

.dataTables_paginate {
    margin-top: 5px;
}

.modal-header {
    background-color: #ddf0f5;
}

.TB_card {
    width: 14rem;
    text-align: center;
    margin: 5px;
    padding: 0;
}

.TB_card-header {
    font-size: 24px;
    color: black;
    /*background-color: #179b87 !important;*/ /*#5F9EA0;*/
}

.TB_card-body {
    font-size: 24px;
    font-weight: bold;
    color: #007f91;
}

.bg-filtre {
    /*background-color: #7fa598;*/
    border: 2px solid #7fa598;
    border-radius: 8px;
}

.menu-parent {
    display: none;
}
    .menu-parent.show {
        display: block;
    }

.page-position {
    display: inline-block;
    margin-left: 8px;
    margin-right: 8px;
    padding-top: 8px;
    color: #007f91; /* #0d6efd;*/
}

.page-item {
    margin: 0 4px; /* espace entre les boutons */
}

    .page-item .page-link {
        padding: 10px 14px; /* ajuster la taille du bouton */
        font-size: 1rem; /* optionnel : agrandir le texte */
        border-radius: 2px; /* coins arrondis si tu veux un design plus doux */
    }

