:root {
    /* Official UL colors */
    --ul-color-red: #e30513;
    --ul-color-red-active: #9b0416;
    --ul-color-yellow: #ffc103;
    --ul-color-blue: #0099ff;
    --ul-color-grey: #515151;
    --ul-color-dark-yellow: #f7a941;
    --ul-color-green: #51a27e;
    --ul-color-purple: #702e78;
    --ul-color-amaranth: #7b003d;
    /* Basic colors */
    --ul-color-white: #ffffff; /* Lightness: 100% */
    --ul-color-gray-lightest: #ededed; /* Lightness: 93% */
    --ul-color-gray-lightest-tp: #edededcc;
    --ul-color-gray-lighter: #d4d4d4; /* Lightness: 83% */
    --ul-color-gray-light: #b3b3b3; /* Lightness: 70% */
    --ul-color-gray-medium: #808080; /* Lightness: 50% */
    --ul-color-gray-dark: #333333; /* Lightness: 20% */
    --ul-color-gray-darker: #262626; /* Lightness: 15% */
    --ul-color-gray-darker-tp: #262626cc;
    --ul-color-gray-darkest: #121212; /* Lightness: 7% */
    --ul-color-black: #000000; /* Lightness: 0% */
    /* Custom colors */
    /*--ul-color-links-default: #044cc0;*/
    /*--ul-color-links-active: #073f9b;*/
}

/*html, body {*/
    /*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    /*font-family: 'Source Sans 3', sans-serif !important;
    height: 100%;*/
    /*Ajout de cela pour Hercul*/
    /* margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;*/
    /*overflow-x: hidden;*/
/*}*/

html, body {
    font-family: 'Source Sans 3', sans-serif !important;
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
  
    /* Pas d'overflow-x:hidden ici pour voir les vrais débordements */
}


body, div, span, p, h1, h2, h3, h4, h5, h6, button, input, textarea, select, label {
    font-family: 'Source Sans 3', sans-serif;
}



.loginGrid {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        'header'
        'main'
        'footer';
}

.loginGrid > header {
    grid-area: header;
}


.loginGrid > .divBodyLogin {
    grid-area: main;
}

.loginGrid > footer {
    grid-area: footer;
}



.main-grid 
{
    width: 100% !important;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        'header'
        'main'
        'footer';
}

.main-grid > header {
    grid-area: header;
}
/*

.main-grid > .divBody {
    grid-area: main;
    width:99%
}*/

    .main-grid > .divBody {
        grid-area: main;
        max-width: 100%;
        overflow-x: auto;
    }


.main-grid > footer {
    grid-area: footer;
}


a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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 var(--ul-color-red);
    border-color: var(--ul-color-gray-light);
}

.grecaptcha-badge {
    z-index: 9999 !important;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2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MwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* Hide increment/decrement buttons for WebKit browsers except firefox */
.inputnoarrow::-webkit-inner-spin-button,
.inputnoarrow::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

