﻿button, input, select, textarea, optgroup {
    font: inherit;
    margin: 0;
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
    height: 28px;
    padding-left: 4px;
    margin-bottom: 0px;
}



#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 3.5rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }


onglets {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.onglet {
    text-transform: uppercase;
    border: 1px solid rgb(136, 136, 136);
    width: -webkit-fill-available;
    border-bottom: 3px solid #007D40;
    text-align: center;
    border-radius: 5px 5px 0px 0px;
    cursor: pointer;
    padding: 4px;
}

    .onglet.selected {
        text-transform: uppercase;
        border: 3px solid #007D40;
        width: -webkit-fill-available;
        border-bottom: 1px solid transparent;
        text-align: center;
        border-radius: 5px 5px 0px 0px;
        cursor: pointer;
        padding: 4px;
    }

corps {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    height: 80vh;
}

.zoneAccesRapide {
    border-left: solid 10px #007D40;
    width: 233px;
}

html {
    height: 100%
}

body {
    height: 100%;
    margin: 0;
    font-family: arial;
}



navigateur {
    border-top: 1px solid #007D40;
}


.contenu-page {
    /*height: -webkit-fill-available;*/
    border: solid 1px #007D40;
    padding: 5px;
    margin: 0 5px 5px 5px;
    background-color: #F5FFF1;
}
/*accesrapide{
                 border-top: 1px solid #007D40;
            }*/
bandeauApp {
    border-left: 10px solid #bc24bc;
    margin-top: 3px;
    margin-bottom: 3px;
}

bandeauapp {
    display: flex;
}

module {
    overflow: auto;
    flex: 1;
    display: flex;
    /* border: 1px solid silver; */
    border-radius: 5px;
    /* background: white; */
    /* margin: 8px;*/
}

.nomModule {
    flex-grow: 1;
    align-content: center;
    text-align: center;
    font-size: 20px;
}

contentModule {
    overflow: auto;
    flex: 1;
    display: flex;
    /* border: 1px solid silver; */
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    /* background: white; */
    /* margin: 8px; */
    flex-direction: column;
}

titremodule {
    border: 1px silver;
    border-style: none none solid none;
    font-size: 22px;
    margin: 4px;
    border: 1px solid silver;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    background: white;
    padding: 8px;
    margin: 8px;
    color: #455a64;
}



.mesTuilesPropo {
    display: flex;
    flex-flow: row wrap;
}

tuile {
    display: flex;
    flex-direction: row;
    border: solid 1px #C0C0C0;
    border-radius: 5px;
    margin: 4px;
    background-color: #F1F1F1;
    flex-grow: 1;
    cursor: pointer
}

    tuile:hover {
        border: solid 1px #007D40 !important;
    }

    tuile:active {
        border: solid 1px #007D40 !important;
        box-shadow: 2px 2px 2px #C0C0C0;
    }

.tuileImg {
    width: 75px;
    padding: 4px
}

.tuileLb {
    flex-grow: 1;
    font-weight: bold;
    align-content: center;
}

entetePage {
    display: flex;
    flex-direction: row
}

espaceVide {
    flex-grow: 1
}

.menu li h4 {
    height: 28px;
    line-height: 28px;
    text-align: center;
    background: url(Images/_fondmenu_degrade.gif) repeat-x top left;
    position: relative;
    top: -1px;
    border-top: solid 1px #D1D1D1;
    border-bottom: solid 1px #D1D1D1;
    margin: 0px;
}

#navigation-secondaire li {
    display: block;
    border: none;
    border-bottom: solid 1px #D1D1D1;
    padding: 5px 0;
}

.menu li {
    position: relative;
    float: left;
    width: 100%;
    height: 100%;
}

li {
    line-height: 120%;
}

.dsiDateZIndexHaut {
    z-index: 1000;
}

.dsiDateZIndexHaut {
    z-index: 1000;
}

#navigation-secondaire {
    margin: 0 7px;
}

ol, ul {
    list-style: none;
}

ul {
    display: block;
    list-style-type: disc;
    unicode-bidi: isolate;
}

ol, ul {
    list-style: none;
    padding: 0px;
}

body {
    position: relative;
    /* width: 1000px; */
    /* margin: 0 auto 0 auto; */
    border-right: solid 1px #C0C0C0;
    /* font-family: Arial; */
    font-size: 13px;
    color: #888888;
    /* display: block; */
    border-top: solid 1px #D1D1D1;
    border-bottom: solid 1px #D1D1D1;
    line-height: 20px;
    /* overflow-y: scroll; */
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.miniloader {
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #3498db;
    width: 5px;
    height: 5px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}


.loader {
    border: 16px solid white; /* cercle gris clair */
    border-radius: 50%;
    border-top: 16px solid #007BFF; /* bleu thème */
    width: 120px;
    height: 120px;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.nomModule {
    width: 100%;
    font-size: 17px;
    font-weight: bold;
    color: #000000;
    text-align: center;
    padding: 0 0 5px 0;
}

.action-page {
    position: relative;
    left: -1px;
    width: 100%;
    height: 28px;
    border: solid 1px #D1D1D1;
    display: flex;
}

.checkbox {
    display: flex
}



.bandeauApp {
    background-color: #0F6CBD;
    color: white;
    display: flex;
    flex-direction: row;
    font-size: 24px
}


.buttonCircle {
    border-radius: 24px;
    width: 48px;
    border: 4px solid #0F6CB7;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0F6CBD;
    color: white;
    margin: 6px;
    cursor: pointer;
    font-size: 8px;
    font-weight: bold;
    padding: 0px;
    opacity: 1
}

    .buttonCircle.disabled {
        border-radius: 24px;
        width: 48px;
        border: 4px solid #888888;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: silver;
        margin: 6px;
        cursor: pointer
    }

    .buttonCircle:hover {
        opacity: 0.8
    }



lbapp {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right : 8px
}

zoneConnexion {
    margin: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    zoneConnexion myaction{
        color:white
    }

    zonrConnexion:hover {
        background: lightskyblue;
    }


userConnect {
    display: flex;
    flex-direction: row
}

menulateral {
    background-color: #f0f0f0;
    border-right: 1px solid silver;
    color: black;
    padding: 0px;
    overflow: hidden;
    width: 43px;
    padding: 0px;
    /* transition: width 0.5s ease, opacity 0.5s ease-in-out, padding 0.5s ease;*/
    transition: width 0.5s ease;
    opacity: 1; /* Smooth transition */
    box-sizing: border-box;
    padding: 4px
}

    menulateral.open {
        width: 160px;
/*        padding: 8px;
        opacity: 1*/
    }


commandes {
    margin: 6px;
    padding: 8px;
    height: 40px;
    background-color: white;
    border: 1px solid silver;
    border-radius: 5px;
    color: black;
}

moduleIns {
    margin: 6px;
    padding: 8px;
    height: 40px;
    background-color: white;
    border: 1px solid silver;
    border-radius: 5px;
    color: black;
    flex-grow: 1
}

hamburger {
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-self: center;
    margin: 4px;
}

    hamburger:hover {
        background: lightskyblue;
    }

myAction {
    font-size: large;
    color: #888888
}


.myAction {
    font-size: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #455a64;
    font-size: large;
    cursor: pointer
}

    .myAction:hover {
        background: lightskyblue;
    }




.lbNomAct {
    margin: 2px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

zoneRecherche {
    display: flex;
    flex-direction: row;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
/*    margin: 8px; */
    background: #f0f0f0;
    flex-grow: 1; 
    font-size: 20px;
    padding: 0px;
    height: fit-content;
    align-self: center;
}

criteres {
    background: #f0f0f0;
    flex-grow: 1;
    display: flex;
    font-size: 12px;
    line-height: 12px
}

.lbFiltre {
    color: #888888;
    /*margin:4px;*/
    font-style: italic;
    margin-left: 8px;
    margin-right: 8px;
}

.txtFiltre {
    border: 1px black;
    border-style: none none solid none;
    width: 140px;
    /*margin: 4px*/
}

.iconeAction {
    margin: 4px;
    background: inherit
}

.lbAction {
    margin: 4px;
    background: inherit;
    font-size: small;
}

menuactions {
    display: flex;
    border: 1px solid silver;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    background: white;
    /*margin: 8px;*/
    padding: 4px;
}

.myButton {
    border-radius: 5px;
    border: 1px solid silver
}

actionItem {
    width: auto;
    /* height: 40px;*/
    border: none;
    /* margin: 4px;*/
    background: transparent;
    color: #455a64;
    font-size: large;
    cursor: pointer
}

    actionItem:hover {
        background: lightskyblue;
    }

cmdRechercher {
    display: flex;
    background: #f0f0f0;
    border-left: 2px solid #888888;
    color: black;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 0px 8px 8px 0px;
    cursor: pointer
}

    cmdRechercher:hover {
        background: lightskyblue;
    }

Tabitem_background_AppBackground {
    background: linear-gradient(#0F6CBD,#0F6CBD);
}


tabsmodule {
    display: flex;
    flex-direction: column;
    display: flex;
    border: 1px solid silver;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    background: white;
    margin-right: 8px;
    width: 140px;
    margin-bottom: 1px;
}

tabHeader {
    margin: 4px;
    color: #888888;
    font-weight: normal;
    border-radius: 5px;
    padding: 4px;
    cursor: pointer
}

    tabHeader:hover {
        background: lightskyblue;
    }

    tabHeader.selected {
        color: #0F6CB7;
        background: lightskyblue;
        font-weight: bold
    }

tabItem {
    display: flex;
    width: -webkit-fill-available;
    /*height: -webkit-fill-available;*/
    height: min-content;
    flex-direction: column;
    gap:0.5rem
}

panel {
    /*display: flex;*/
    flex-direction: column;
    display: flex;
    border: 1px solid silver;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    background: #f0f0f0;
    /*margin: 0px 8px 0px 0px;
    height: min-content;*/
    height: auto;
}

panelHeader {
    display: flex;
    flex-direction: row;
    background: #0F6CBD;
    border-radius: 4px 4px 0px 0px;
    color: white
}

panelTitle {
    padding: 0.2rem;
    font-size: 13px;
    padding-left: 0.4rem;
}

panelCommands {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end; /* pousse les enfants à droite */
    align-items: center; /* aligne verticalement */
}

panelContainer {
    display: inherit;
    padding: 8px;
}

panelActionItem {
    margin-right: 0.5rem;
    cursor: pointer;
    color: white;
    padding: 0.3rem;
    border-radius: 8px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease, background 0.2s ease;
}

    panelActionItem:hover {
        transform: rotate(15deg) scale(1.15);
        color: #FFD700;
        background: rgba(255, 255, 255, 0.15);
    }

/*.panel--fill { flex: 1 1 0; min-height:0; }*/                  /* le panel grandit */
/*.panel--fill > panelContainer { flex:1 1 0; min-height:0; overflow:auto; }*/ /* scroll interne */


.iconAct {
    font-size: 18px;
    margin: 4px;
}


.flexLig {
    width: calc(100% - 10px);
    margin: 5px;
}

.flexRow {
    display: flex;
    gap: 1rem; /* espace entre colonnes */
    padding-bottom: 0.1rem;
    align-items: flex-start;
    line-height: normal;
}

    .flexRow > *:last-child {
        margin-right: 0; /* pas d’espace à la fin */
    }

    .flexRow > panel {
        /*flex: 1;*/ /* chaque panel prend sa largeur calculée (col-x) */
        /*display: flex;
        flex-direction: column;*/ /* pour que le contenu reste vertical */
        height: auto;
    }


[class^="col-"] {
    display: flex;
    flex: 0 0 auto; /* largeur fixe */
}

/* 12 colonnes système avec correction du gap */
.col-1 {
    flex: 0 0 calc( 8.33% - (1rem * 11 / 12));
    height: max-content;
}

.col-2 {
    flex: 0 0 calc( 16.66% - (1rem * 10 / 12));
    height: max-content;
}

.col-3 {
    flex: 0 0 calc( 25% - (1rem *  9 / 12));
    height: max-content;
}

.col-4 {
    flex: 0 0 calc( 33.33% - (1rem *  8 / 12));
    height: max-content;
}

.col-5 {
    flex: 0 0 calc( 41.66% - (1rem *  7 / 12));
    height: max-content;
}

.col-6 {
    flex: 0 0 calc( 50% - (1rem *  6 / 12));
    height: max-content;
}

.col-7 {
    flex: 0 0 calc( 58.33% - (1rem *  5 / 12));
    height: max-content;
}

.col-8 {
    flex: 0 0 calc( 66.66% - (1rem *  4 / 12));
    height: max-content;
}

.col-9 {
    flex: 0 0 calc( 75% - (1rem *  3 / 12));
    height: max-content;
}

.col-10 {
    flex: 0 0 calc( 83.33% - (1rem *  2 / 12));
    height: max-content;
}

.col-11 {
    flex: 0 0 calc( 91.66% - (1rem *  1 / 12));
    height: max-content;
}

.col-12 {
    flex: 0 0 100%;
    height: max-content;
}

.badge {
    background-color: cadetblue;
    color: white;
    font-size: 0.75rem;
    border-radius: 12px;
    padding: 2px 8px;
    margin-left: auto; /* pousse à droite si besoin */
}




.mecAlerteNiv1 {
    background: darkgreen;
    color: white;
}

.mecAlerteNiv2 {
    background: yellow;
    color: black;
}

.mecAlerteNiv3 {
    background: darkorange;
    color: black;
}

.mecAlerteNiv4 {
    background: darkred;
    color: white;
}

modalZone titremodule {
    background: #0F6CBD;
    color: white;
/*    padding: 8px;*/
/*    padding: 8px;*/
    margin: 0px;
/*    border-radius: 4px 4px 0px 0px;
    border-style: none;*/
    border: 0px solid transparent;
    box-shadow: none;
}

modalZone zonerecherche {
    margin: 8px !important;
}

modalZone .close {
    font-size: 24px;
    color: white;
    margin: 8px;
    border-radius: 8px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease, background 0.2s ease;
}

    modalZone .close:hover {
        /*font-size: 24px;
    color: white;
    margin: 8px;*/
        transform: rotate(15deg) scale(1.15);
        color: #FFD700;
        background: rgba(255, 255, 255, 0.15);
    }

modalzone .w3-modal {
    padding: 0px
}

iconemodal {
    color: white;
    font-size: 18px;
    margin: 8px;
}

modalCaption {
    display: flex;
    flex-direction: row;
    background: #0F6CBD;
    flex: 1;
    border-radius: 4px 4px 0px 0px;
    /* border-style: none none solid none; */
    border: 2px solid silver;
    border-style: none none solid none;
}

filterItem {
    border-radius: 5px;
    background: white;
    margin: 1px;
    /*height: 40px;*/
    border: 1px silver solid
}


/*--------*/
tab{

}

.filterItem .chkFilter{
    margin:0px
}


.action-sep {
    display: inline-block;
    width: 8px
}

.action-item {
    display: inline-block;
    margin-right: 8px;
    align-content: space-around;
    color: #0F6CB7;
    font-size: large;
}

.action-btn {
    margin-right: 8px;
    border: 1px solid #c9c9c9;
    background: #fff;
    padding: 6px 10px;
    border-radius: 6px
}

    .action-btn i {
        margin-right: 6px
    }


.mySplitButton .msb-menu.msb-portal {
    background: #fff;
    border: 1px solid #c9c9c9;
    border-radius: 8px;
    box-shadow: 0 6px 22px rgba(0,0,0,.12);

}
.msb-menu.msb-portal {
    background: #fff;
    border: 1px solid #c9c9c9;
    border-radius: 8px;
    box-shadow: 0 6px 22px rgba(0,0,0,.12);
    
    font-size: larger;
    color: #0F6CB7;

}



.msb-item {
    padding: 8px 10px;
    cursor: pointer;
    line-height: 1.2;
}

.msb-item:hover {
    background: #f4f6f8;
}

.msb-hint {
    font-size: 12px;
    color: #666;
    margin-left: 22px;
    margin-top: 4px;
}

.ribbon mytabitem {
    padding:0px
}


/* ruban des actions */
.ribbon tabActions {
    display: flex;
    gap: .5rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: .25rem;
    padding-left: 14px;
}

    .ribbon tabActions button {
        background: transparent;
        border: none;
        padding: .4rem .7rem;
/*        border-radius: .5rem;
        font-weight: 500;*/
        cursor: pointer;
    }

        .ribbon tabActions button:hover {
            background: #f3f4f6;
        }

        .ribbon tabActions button.selected {
            font-weight: 600;
            box-shadow: inset 0 -3px 0 0 #2563eb; /* “soulignement” façon onglet */
        }
        .ribbon menuactions{

        }


.deconnect {
    cursor: pointer
}



.deconnect :hover{
    cursor: pointer;
    opacity : 0.8;

}

