﻿html, body {
    height: 100%;
}

app {
    display: block;
    height: 100%;
}

.logon-viewsite div[data-item-name="PasswordHint"] + .xaf-static-text {
    width: 100%;
    line-height: 1rem;
    font-size: 0.75rem;
    opacity: .5;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

.xaf-navmenu a .xaf-nav-link {
    text-decoration: revert !important;
}

.dxbl-grid-command-cell .dxbl-btn-link > span {
    text-decoration: revert !important;
}

.dxbl-grid-table td {
    white-space: nowrap;
}

.dxbl-grid.height600 {
    height: 600px;
    max-height: 600px;
}

body {
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #CAE0E4;
}

.header-logo {
    flex-shrink: 0;
    background-image: url(../images/csefinorga.svg);
    background-repeat: no-repeat;
    background-origin: initial;
    background-position: left;
    background-size: auto;
    width: 185px;
    height: 32px;
}

.LoginBody {
    background-image: url(../images/csefinorga.png);
    background-repeat: no-repeat;
    background-size: auto;
    background-position: top;
}

.LoginMargeHaut {
    height: 140px;
}

.image-centree {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.grid-grouprow > td {
    background-color: #CAE0E4;
    color: black;
}

.grid-groupfooterrow div {
    background-color: lightyellow;
    color: black;
}

.grid-footerrow div {
    background-color: #f3ff8b;
    color: black;
}

div.xaf-richedit {
    height: 700px;
}

.dxbrv-clipboard-container {
    display: none;
}

.btn-icon-hide {
    width: 16px;
    height: 16px;
    background-image: url(../images/btn-icon-hide.svg);
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
}

.btn-icon-show {
    width: 16px;
    height: 16px;
    background-image: url(../images/btn-icon-show.svg);
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
}

.xaf-alert-message {
    white-space: pre-line !important;
}

.chart-white {
    background: #fff !important;
}

/*.calibri10-editor .dxbl-htmleditor-content p,
.calibri10-editor .dx-htmleditor-content p {
    margin-block-start: 0;
    margin-block-end: 0;
    margin-top: 0;
    margin-bottom: 2pt;*/ /* ≈ 2/3 pixels */
/*}*/


/* Couleurs de l'indicateur */
.pb-green .dxbl-progressbar-indicator {
    background-color: #22c55e !important;
}

.pb-orange .dxbl-progressbar-indicator {
    background-color: #f59e0b !important;
}

.pb-red .dxbl-progressbar-indicator {
    background-color: #dc2626 !important;
}

.dxbl-progressbar,
.dxbl-progressbar-track,
.dxbl-progressbar-indicator {
    border-radius: 8px;
}

/* Fallback indéterminé (si le paramètre Indeterminate n'existe pas dans ta build)
   -> on ajoute une animation "marquee" via classe CSS appliquée quand Indeterminate=true */
.pb-indeterminate .dxbl-progressbar-indicator {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(255,255,255,.15) 25%, rgba(255,255,255,.35) 37%, rgba(255,255,255,.15) 63%);
    background-size: 400% 100%;
    animation: pb-marquee 1.2s linear infinite;
}

@keyframes pb-marquee {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: 0 0;
    }
}