/*@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');*/

html, body, article {
    height: 100%;
    margin: 0;
    padding: 0;
}

.mud-main-content {
    height: 100%;
}

html {
    --ratio-font-size: 1;
    font-size: calc(var(--ratio-font-size) * 13px);
    font-family: Roboto, sans-serif;
}

.mud-dialog-container.mud-dialog-bottomcenter {
    padding-bottom: 0px;
}

/* Définition d'une position "En bas" figée */
@keyframes start-hidden {
    from { transform: translateY(100%); }
    to { transform: translateY(100%); }
}

.wiuz-bottom-sheet-dialog {

    position: absolute !important;
    bottom: 0 !important;
    width: 100% !important;
    margin: 0 !important;

    animation: start-hidden 0s forwards;
    opacity: 0;

    border-radius: 14px 14px 0 0;

    max-width: 100% !important;
}
    
.sheet-ready {
    opacity: 1 !important;
    transition: opacity 0.1s ease-out;
}

/*
@media (resolution: 150dpi) {
    .html {
        --ration-font-size: 0.5;
    }
}
*/
.wiuz-stepper-nav {
    background: var(--mud-palette-surface);
}

a, .btn-link {
    color: #0366d6;
}

.mud-button {
    padding-top: 8px;
    padding-bottom: 8px;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main-layout {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}

.main-layout > wiuzProgress {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
}

@-webkit-keyframes rotating /* Safari and Chrome */
{
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.rotating {
    -webkit-animation: rotating 2s linear infinite;
    -moz-animation: rotating 2s linear infinite;
    -ms-animation: rotating 2s linear infinite;
    -o-animation: rotating 2s linear infinite;
    animation: rotating 2s linear infinite;
}

.rotate {
    -webkit-animation: spin 4s linear infinite;
    -moz-animation: spin 4s linear infinite;
    animation: spin 4s linear infinite;
}


@-moz-keyframes spin {
    100% {
        -moz-transform: rotateY(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotateY(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotateY(360deg);
        transform: rotateY(360deg);
    }
}

.markdown {
    font-size: var(--mud-typography-body1-size);
    font-family: var(--mud-typography-body1-family);
    font-weight: var(--mud-typography-body1-weight);
    line-height: var(--mud-typography-body1-lineheight);
    letter-spacing: var(--mud-typography-body1-letterspacing);
    text-transform: var(--mud-typography-body1-text-transform);
}

.markdown img {
    max-width: 100%;
}

.markdown p {
    margin: 0px;
}

.markdown img[alt="logo"] {
    max-width: 300px;
}


.markdown ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}

/* Center tables for demo */
.markdown table {
    border-spacing: 0;
}

/* Default Table Style */
.markdown table {
    color: #333;
    background: white;
    border: 1px solid grey;
    border-collapse: collapse;
}

.markdown table thead th,
.markdown table tfoot th {
    color: var(--mud-palette-text-primary);
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1.5rem;
}

.markdown table tr {
    color: inherit;
    display: table-row;
    outline: 0;
    vertical-align: middle;
}

.markdown table tbody tr:nth-of-type(odd) {
    background-color: var(--mud-palette-table-striped);
}

.markdown table th,
.markdown table td {
    display: table-cell;
    padding: 0.5rem;
    text-align: start;
    border-bottom: 1px solid var(--mud-palette-table-lines);
    vertical-align: inherit;
}

.markdown table tbody tr:last-child td {
    border-bottom: 0;
}

.width_max_400 {
    max-width: min(100vh, 400px);
    width: min(100vh, 400px);
}

.width_200 {
    width: 200px;
    flex: none;
}

.push {
    margin-left: auto !important;
}

/*SURCHARGES DES STYLES DES COMPOSANTS*/

.wiuz-small .mud-xs-table .mud-table-cell:before {
    padding-inline-end: 0 !important;
}

.mud-stepper .mud-stepper-content {
    padding: 0;
}

.mud-step {
    padding: 12px !important;
}

.wiuz-stepper-nav-connector {
    margin: 10px -67px 0 !important;
}

.mud-select {
    padding: 0;
}

.mud-card-header {
    padding: 0;
}

.mud-card-header .mud-card-header-actions {
    margin: 0;
}

.mud-card-header-actions {
    flex: 0 0 auto;
    align-self: flex-start;
    margin: 0;
    margin-inline-start: unset;
}

.mud-input-control {
    margin-top: 0 !important;
}

.mud-checkbox {
    margin: 0 !important;
}

.mud-table-cell .mud-checkbox > .mud-icon-button {
    padding: 12px;
}

a:hover {
    color: inherit;
}

.mud-dialog-content {
    padding: 0;
    margin: 0;
}


.mud-tab {
    min-width: 100px !important;
}

.mud-expand-panel {
    background-color: inherit !important;
}

.mud-expand-panel-header {
    padding: 7px !important;
    margin: 0;
}

.mud-input-margin-dense {
    margin: 0 !important;
}

.ol-popup {
    padding: 3px;
    margin: 0px;
    border-radius: 3px;
    color: white;
}

.ol-popup-background-color {
    background-color: rgba(0, 0, 0, 0.7);
}

.mud-nav-link .mud-nav-link-text {
    margin-inline-start: 20px !important;
    white-space: nowrap;
}

.mud-table-dense * .mud-table-row .mud-table-cell {
    padding: 0px !important;
}

.mud-table-head-collapse {
    visibility: collapse !important;
}

.mud-badge.mud-badge-bottom.right.mud-badge-overlap {
    inset: calc(100% - 12px) auto auto calc(100% - 4px) !important;
}

.personnalisation.logo.navmenu.topbar.mud-icon-root {
    height: calc(var(--mud-appbar-height) - var(--mud-appbar-height) / 4) !important;
    width: var(--mud-drawer-width-mini-left) !important;
}

.personnalisation.logo.navmenu.mud-icon-root {
    height: calc(var(--mud-appbar-height) - var(--mud-appbar-height) / 4) !important;
    width: var(--mud-drawer-width-left) !important;
}

/*
.mud-appbar.withBeforeAndAfter {
    --header-before: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMy4wLjIsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4yIiBiYXNlUHJvZmlsZT0idGlueSIgaWQ9IkNhbHF1ZV8xIg0KCSB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDI0IDc0LjMiDQoJIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHRpdGxlPmhlYWRlci1iZWZvcmUtc3lub2E8L3RpdGxlPg0KPHJlY3QgZmlsbD0iIzk3MkM4NiIgd2lkdGg9IjI0IiBoZWlnaHQ9Ijc0LjMiLz4NCjxwYXRoIGZpbGw9IiM4Nzg3ODciIGQ9Ik0yMSwwSDB2NzQuM2gxMkMyMi4yLDM4LjgsMjEsMCwyMSwweiIvPg0KPC9zdmc+DQo=);
    --header-after: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMy4wLjIsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4yIiBiYXNlUHJvZmlsZT0idGlueSIgaWQ9IkNhbHF1ZV8xIg0KCSB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDE0NCA3NC4zIg0KCSB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjx0aXRsZT5oZWFkZXItYWZ0ZXItc3lub2E8L3RpdGxlPg0KPHJlY3QgZmlsbD0iIzg3ODc4NyIgd2lkdGg9IjE0NCIgaGVpZ2h0PSI3NC4zIi8+DQo8cGF0aCBmaWxsPSIjODc4Nzg3IiBkPSJNNjIuNywwSDB2NzQuM2g1MEM2My41LDM4LjIsNjIuNywwLDYyLjcsMHoiLz4NCjxwYXRoIGZpbGw9IiM5NzJDODYiIGQ9Ik00Ny44LDBIMHY3NC4zaDE0LjlDNTEuNyw0My4yLDQ3LjgsMCw0Ny44LDB6Ii8+DQo8L3N2Zz4NCg==);
}
*/

/*
    Gestion de l'overflow dans les drawers pour permettre le scroll si contenu trop grand mais uniquement sur l'axe Y
*/
.mud-drawer {
    overflow: hidden;
    overflow-y: auto;
}


/*D�calage entre le titre et le bord gauche
    uniquement si personnalisation avec image en header gauche*/
.mud-appbar.withBefore .mud-toolbar {
    padding-left: 25px !important;
}

/*D�calage entre le bouton "more" et les autres commande dans la toolbar
    uniquement si personnalisation avec image en header gauche*/
.mud-appbar.withAfter .wiuz-more-button {
    margin-left: 50px !important;
}


/*Affichage de l'image de perso en header � gauche
    uniquement si personnalisation avec image en header gauche*/
.mud-appbar.withBefore .mud-toolbar:before,
.mud-appbar.withAfter .mud-toolbar:after {
    position: absolute;
    content: '';
    top: 0px;
    width: 100%;
    height: calc(var(--mud-appbar-height) - var(--mud-appbar-height) / 4) !important;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
}

/*Affichage de l'image de perso en header � gauche avec utilisation de la variable
    uniquement si personnalisation avec image en header gauche*/
.mud-appbar.withBefore .mud-toolbar:before {
    left: 0px;
    background-image: var(--header-before);
    background-position: left;
}

/*POC pour l'affichage de l'analyse thématique en cas de balance N/balance prévisionnelle pour le cas avec MudTextField*/
.CustomBalance .mud-input-label {
    transform: translate(12px, 6px) !important;
}

/*POC pour l'affichage de l'analyse thématique en cas de balance N/balance prévisionnelle pour le cas avec MudTextField*/
.CustomBalance .mud-input-root {
    text-align: center;
    padding: 0;
}

/*Affichage de l'image de perso en header � droite avec utilisation de la variable
    uniquement si personnalisation avec image en header droite*/
.mud-appbar.withAfter .mud-toolbar:after {
    right: 0px;
    background-image: var(--header-after);
    background-position: right;
}

.mud-dialog-clean .mud-dialog-title {
    padding: 0 !important;
    margin: 0 !important;
}

.mud-dialog-clean .mud-dialog-content {
    padding: 0 !important;
    margin: 0 !important;
}

.mud-step-label-content {
    padding: 0 !important;
    margin: 0 !important;
}

.mud-stepper .mud-stepper-nav .mud-step .mud-step-label {
    gap: 0 !important;
}

.mud-stepper .mud-stepper-nav .mud-step.mud-clickable {
    padding-top: .25rem !important;
    padding-bottom: .25rem !important;
}


.colonnes25 {
    column-width: 25vw;
}

/*//TODO a rename car pas forcément utilisé dans des input*/
.inputblock-borderradius {
    background-color: var(--mud-palette-surface);
    break-inside: avoid;
    border-radius: 8px !important;
    border-width: 1px;
    border-color: #EBEBEB;
}

.wiuz-background-surface {
    background-color: var(--mud-palette-surface);    
    break-inside: avoid;
}

.wiuz-border {
    border-radius: 8px !important;
    border-width: 1px;
    border-color: #EBEBEB;
}

.wiuz-border.wiuz-border-4 {
    border-radius: 4px !important;
}

.wiuz-border-clickable {
    border-color: #B3B3B3 !important;
}

.wiuz-border-shadow {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.03);
}

.wiuz-background-gray {
    background-color: var(--mud-palette-background-gray) !important;
}

/*.wiuz-noborder .wiuz-group-header:not(.wiuz-widget .wiuz-group-header) {*/
/*    padding-left: 0 !important;*/
/*}*/

.wiuz-noborder > .wiuz-validation-layout > .wiuz-validation-title > .wiuz-validation-title-layout > .wiuz-group-header{
    padding-left: 0 !important;
    padding-top: 20px !important;
    padding-bottom: 4px !important;
}

.wiuz-noborder .wiuz-widget {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.wiuz-noborder .wiuz-select-culture {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.wiuz-noborder > .wiuz-validation-layout > .wiuz-validation-layout-content:not(.wiuz-validation-title) {
    padding-left: 0 !important;
}

.wiuz-validation-layout-content .wiuz-item-control {
    padding-left: 0 !important;
}

.wiuz-widget .wiuz-select-culture {
    padding-left: 0 !important;
    padding-bottom: 0 !important;
}

.wiuz-mobile {
    background-color: var(--mud-palette-background-gray) !important;
}

.wiuz-mobile .main-layout {
    background-color: var(--mud-palette-background-gray) !important;
}

.wiuz-mobile .mud-input {
    background-color: var(--mud-palette-surface);
}

.wiuz-mobile.mud-dialog {
    background-color: var(--mud-palette-background-gray) !important;
    width: 100% !important;
}

.wiuz-commands-control-list > .wiuz-divider:first-child {
    display: none !important;
}

.map-zoom {
    bottom: 3rem;
    right: 1rem;
    left: auto;
    top: auto;
    background-color: transparent;
}


.map-zoom-base {
    background-color: var(--mud-palette-success) !important;
    color: white !important;
    border: 0.5rem solid var(--mud-palette-success-darker) !important;
    display: flex !important;
    margin: 0.5rem !important;
    justify-content: center !important;
    vertical-align: center;
    align-items: center !important;
}

.map-zoom-in,
.map-zoom-out {
    border-radius: 50% !important;
    font-size: 1.5rem !important;
    font-weight: normal !important;
    width: 3rem !important;
    height: 3rem !important;
}

.map-zoom-level {
    border-radius: 30% !important;
    font-weight: lighter !important;
    height: 2rem !important;
}

.controls-inside-map-bottom {
    position: absolute;
    z-index: 1000;
    bottom: 13rem;
    right: 1rem;
    left: auto;
    top: auto;
}

.controls-inside-map-mobile {
    position: absolute;
    z-index: 1000;
    right: 0;
    top: 4rem;
}

.ol-scale-line.scale-right {
    left: auto !important;
    right: 1rem !important;
}

/* Fix taille des tooltips. Permet de break line */
.tooltip-mw-ow {
    max-width: 30vw;
    overflow-wrap: break-word;
}

/* Timeline */
#mytimeline {
    height: 100%;
    max-height: 100%;
    --wiuz-timeline-top-color: red;
    --wiuz-timeline-top-bgcolor: white;
    color: var(--mud-palette-text-primary);

}

.wiuzGroup {
    background-color: var(--mud-palette-surface);
}

.wiuzGroup-pair {
    background-color: var(--mud-palette-background-gray);


}

.vis-time-axis .vis-minor {
    background-color: var(--wiuz-timeline-top-bgcolor) !important;
}

.vis-time-axis .vis-minor.vis-text {
    color: var(--wiuz-timeline-top-color) !important;
}

.vis-grid.vis-vertical {
    border-left: 0px !important;
}

.vis-item.PPassageItem {
    background-color: transparent;
    border-color: transparent;
    min-width: 28px;
}


.vis-item.vis-selected.PPassageItem {
    background-color: transparent;
    border-color: transparent;
}


.vis-item.vis-selected.PPassageItem .vis-item-content,
.vis-item.vis-selected.PPassageItem .vis-item-overflow {
    box-shadow: 0 0 10px grey;
}

.vis-item.vis-selected.PPassageItem .vis-item-overflow .vis-item-content {
    box-shadow: none;
}

.vis-ltr.vis-label.vis-nested-group.vis-inner {
    padding-left: 0px;
}

.vis-inner {
    padding-left: 0px;
    font-weight: bold;
}

.vis-foreground .vis-group,
.vis-labelset .vis-label {
    border-bottom-color: var(--mud-palette-divider) !important;
}

.vis-panel.vis-bottom,
.vis-panel.vis-center,
.vis-panel.vis-left,
.vis-panel.vis-right,
.vis-panel.vis-top {
    border-color: var(--mud-palette-divider) !important;
}

.vis-timeline {
    border: 0 !important;
    font-size: var(--mud-typography-body1-size);
    font-family: var(--mud-typography-body1-family);
    font-weight: var(--mud-typography-body1-weight);
    line-height: var(--mud-typography-body1-lineheight);
    letter-spacing: var(--mud-typography-body1-letterspacing);
    text-transform: var(--mud-typography-body1-text-transform);
    background-color: var(--mud-palette-surface);
}

.vis-time-axis {
    text-transform: uppercase;
    font-weight: bold;
    color: var(--mud-palette-text-primary);
    background-color: var(--mud-palette-background-gray);
    font-size: var(--mud-typography-h6-size);
    font-family: var(--mud-typography-h6-family);
    font-weight: var(--mud-typography-h6-weight);
    line-height: var(--mud-typography-h6-lineheight);
    letter-spacing: var(--mud-typography-h6-letterspacing);
}

.vis-text {
    color: var(--mud-palette-text-primary) !important;
}

.vis-text.vis-major {
    font-size: var(--mud-typography-h6-size);
    font-family: var(--mud-typography-h6-family);
    font-weight: var(--mud-typography-h6-weight);
    line-height: var(--mud-typography-h6-lineheight);
    letter-spacing: var(--mud-typography-h6-letterspacing);
}

.vis-text.vis-major.vis-january {
    border-left: 2px solid var(--wiuz-timeline-top-bgcolor);
}

.vis-text.vis-major.vis-january:nth-child(2n+1) {
    /*background-color: #c7c7c7;*/
    width: inherit;
}

.vis-text.vis-major.vis-january:nth-child(2n) {
    /*background-color: inherit;*/
    width: inherit;
}


/* /Fix taille des tooltips. Permet de break line */
.vis-item-content {
    padding: 0 !important;
}

.vis-inner {
    color: var(--mud-palette-text-primary) !important;
}

.vis-labelset .vis-label .vis-inner {
    /*padding: 0px !important;*/
}

.vis-item.marginItem {
    background-color: transparent !important;
    color: transparent !important;
    box-shadow: 0 0 0 !important;
    border: 0 !important;
}

#page > main {
    grid-area: main;
    background-color: #ffff64;
}

div.vis-tooltip {
    padding: 4px 8px !important;
    max-width: min(500px, 80vw) !important;
    white-space: normal !important;
    color: var(--mud-palette-dark-text) !important;
    background-color: var(--mud-palette-gray-darker) !important;
    font-size: 12px !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    font-family: inherit !important;
}

.blob {


    box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
    transform: scale(1);
    animation: pulse 2s 3;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.text-decoration-line-through {
    text-decoration: line-through !important;
}

.text-transform-uppercase {
    text-transform: uppercase !important;
}

.text-transform-uppercase {
    text-transform: uppercase !important;
}

.text-bold {
    font-weight: bold !important;
}

.p5 {
    padding-right: 5px;
}

.p10 {
    padding-right: 10px;
}

.wiuz-pagination {
    background-color: var(--mud-palette-surface);
}

.wiuz-mobile .wiuz-pagination {
    background-color: var(--mud-palette-background-gray);
}

.w-1 {
    width: 1%;
}

#reconnect-modal,
#blazor-error-ui {
    position: absolute;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.25);
    font-size: 14px !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    font-family: inherit !important;
    color: inherit !important;
    z-index: 9999;
    overflow: hidden;
    max-height: 100vh;
}

#reconnect-modal {
    display: none;
}

#reconnect-modal.reconnect-modal-show {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: grid;
}

.myDialog > .myDialog-bottom a,
.myDialog > .myDialog-bottom a:hover {
    color: var(--mud-palette-dark-text);
    background-color: var(--mud-palette-error);
    padding: 1rem;
    margin: 0.5rem !important;
    border-radius: 3px;
    cursor: pointer;
}

#blazor-error-ui {
    z-index: 9998;
}

.myDialog {
    max-height: 90vh;
    z-index: 1050;
    background-color: var(--mud-palette-background);
    margin: auto;
    border: 1px solid #888;
    width: 400px;
    border-radius: 6px;
    box-shadow: 0 10px 20px rgb(0 0 0 / 10%), 0 6px 6px rgb(0 0 0 / 16%);
}

.myDialog > .myDialog-top {
    color: var(--mud-palette-dark-text);
    background-color: var(--mud-palette-dark);
    display: flex;
    flex-direction: row;
    transition: height 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
    padding: 1rem;
    width: 100%;
}

.myDialog > .myDialog-top h5 {
    margin: 0;
    padding: 0;
}

.myDialog > .myDialog-bottom {
    display: flex;
    flex-direction: column;
    padding: 20px;
    text-align: center;
    max-height: 80vh;
}

/*Timeline parcellaire : START*/
.fake {
    border: none !important;
    background: blue !important;
    visibility: hidden;
}

.timeline-parcelle {
    border: none !important;
    background: none !important;
}

.timeline-parcelle .vis-item-content {
    margin-left: 15px;
    margin-bottom: 5px;
}

.timeline-item {
    --timeline-parcelle-dot-size: 30px;
    --timeline-parcelle-dot-margin: -13px;
    --timeline-parcelle-dot-fontsize: 10px;
    position: relative;
    width: 100%;
}


.timeline-item .timeline-item-content {
    background-color: var(--mud-palette-surface);
    border-color: rgb(46, 46, 46);
    width: 100%;
    border-width: 1px;
    border-radius: 1rem;
    overflow: hidden;
    padding: 0.5rem;
    position: relative;
    color: var(--mud-palette-text-primary);
    border-style: solid;
    border-color: var(--mud-palette-text-primary);
    /*box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);*/

}

.timeline-item .timeline-item-content.timeline-item-border-alternative {
    border-style: dashed;
    border-color: var(--mud-palette-text-primary);
    background-color: var(--mud-palette-surface);
}


.timeline-title {
    padding-left: 15px;
    overflow: hidden;

}

.timeline-item .timeline-item-dot {
    position: absolute;
    top: 5px;
    left: var(--timeline-parcelle-dot-margin);
    height: var(--timeline-parcelle-dot-size);
    width: var(--timeline-parcelle-dot-size);
    border-radius: 50%;
    border: 1px ridge rgb(46, 46, 46);
    line-height: var(--timeline-parcelle-dot-size);
    text-align: center;
    font-weight: bold;
    font-size: var(--timeline-parcelle-dot-fontsize);
    /*box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);*/
    z-index: 3;
}

.timeline-item .timeline-title .content {

}

.timeline-item .timeline-title .content * {
    text-overflow: ellipsis;
}

.timeline-item .timeline-descriptions {
    display: flex;
    margin-left: 15px;

}

.timeline-item .timeline-descriptions > div {
    align-items: self-start !important;
}


.timeline-item .timeline-descriptions .mud-badge-root,
.timeline-item .timeline-descriptions .mud-icon-root {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.timeline-item .timeline-description,
.timeline-item .timeline-content {
    align-items: self-start !important;
    display: flex;
}

.timeline-item .timeline-description .dot {
    height: 16px;
    width: 16px;
    min-height: 16px;
    min-width: 16px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
}

.timeline-item .timeline-description .content {
    display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
}

.timeline-item .content {

}

.timeline-parcelle.vis-range .vis-item-content {
    display: block !important;
}

.timeline-parcelle:hover {
    z-index: 10 !important;
}

.timeline-parcelle:hover * {
    white-space: normal;
}

.timeline-parcelle:hover .vis-item-overflow,
.timeline-parcelle:hover .timeline-item-content {
    overflow: visible !important;
    height: fit-content !important;
    max-height: fit-content !important;
    min-width: 200px;
}


.timeline-parcelle:hover .timeline-item {
    filter: brightness(90%);
    transition: all 1s;
}

.card-item:hover {
    cursor: pointer;
    text-decoration: none;
    background-color: var(--mud-palette-primary-hover);
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, padding 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}

.WiuzItembrightness:hover {
    filter: brightness(75%);
    transition: all 1s;
}

.timeline-parcelle.vis-selected .timeline-item-content,
.timeline-item.selected .timeline-item-content,
.card-item.selected {
    border-color: #FFC200 !important;
    background-color: #FFF785 !important;
    color: var(--mud-palette-black);
    z-index: 2;
}

.displayCard {
    --displaycard-height: 100px;
    --displaycard-padding: 15px;
    --displaycard-height2: calc(var(--displaycard-height) - (var(--displaycard-padding)));
    --displaycard-nbcol: 1;

    padding-left: var(--displaycard-padding);
    padding-right: var(--displaycard-padding);
    display: flex;
    width: calc(100% / var(--displaycard-nbcol));
    height: var(--displaycard-height);
    flex-grow: inherit;
}

.displayCard.mini {
    --displaycard-height: 60px;
}

.displayCard .timeline-item-content {
    height: var(--displaycard-height2) !important;
    min-height: var(--displaycard-height2) !important;
    max-height: var(--displaycard-height2) !important;
}

.displayCard:hover .timeline-item-content {
    position: absolute;
    overflow: visible !important;
    height: fit-content !important;
    max-height: fit-content !important;
    z-index: 20;
}

.displayCard:hover .timeline-item-dot {
    z-index: 30;
}

@media (min-width: 576px) {
    .displayCard {
        --displaycard-nbcol: 2;
    }
}

@media (min-width: 768px) {
    .displayCard {
        --displaycard-nbcol: 3;
    }
}

@media (min-width: 1200px) {
    .displayCard {
        --displaycard-nbcol: 4;
    }
}


/*Timeline parcellaire : END*/


/* Timeline : loading */
.loadingTimeline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color: rgba(255, 255, 255, 0.8);*/
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-size: 3rem;
}

.loadingTimeline .spinner {
    width: 40px;
    height: 40px;
    border: 5px solid #ccc;
    border-top-color: forestgreen;
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.alternate :nth-child(odd of .alternate-list) {
    background-color: var(--mud-palette-table-striped);
}

.striped-alternate {
    background-color: var(--mud-palette-table-striped);
}

@media (min-width: 600px) {
    .mud-table-cell.w1 {
        width: 1%;
    }
}

.inherit-background-color {
    /*background-color: inherit !important;*/
}

/* Timeline : loading */


/*!* Tooltip container *!*/
.wiuz-tooltip {
    display: inline-block;
}

/*!* Tooltip text *!*/
.wiuz-tooltip-content {
    /*padding: 4px 8px;*/
    /*border-radius: var(--mud-default-borderradius);*/
    /*color: var(--mud-palette-dark-text);*/
    /*background-color: var(--mud-palette-grey-darker);*/
    top: -1000px;
    left: -1000px;
}

div[role=progressbar] ~ #TemplatedContentPage.h-100 {
    height: calc(100% - 4px) !important;
}

.xxs-fab-button {
    min-height: 25px;
    height: 25px;
    width: 25px;
}

.custom-mobile-tabs-header {
    bottom: 0;
    z-index: var(--mud-zindex-appbar);
    margin-top: auto;
    flex-shrink: 0;
    box-shadow: 0 -2px 22px 0 rgba(188, 188, 204, 0.40);
}

.custom-mobile-tabs-header .mud-tabs-tabbar-wrapper {
    width: 100%;
}

.custom-mobile-tabs-header .mud-tabs-tabbar-wrapper .d-inline-block {
    flex-grow: 1;
}

.custom-mobile-tabs {
    height: 100%;
}

.custom-mobile-tabs-header .mud-tab {
    height: 100%;
}

.custom-mobile-tabs-header .mud-tab-active {
    color: var(--mud-palette-secondary);
    font-weight: 700 !important;
}

.custom-web-tabs-header .mud-tab-active {
    color: var(--mud-palette-primary-text);
    background-color: var(--mud-palette-secondary);
}

.custom-web-tabs-header .mud-tab.mud-tab-active:hover {
    color: var(--mud-palette-tertiary-text);
}

.custom-mobile-tabs .mud-tabs-panels {
    flex-grow: 1;
    overflow: auto;
    display: grid;
    height: 100%;
}

.custom-fab-button {
    position: fixed;
    right: 1em !important;
    bottom: 1em !important;
}

.mud-tab-panel .custom-fab-button {
    bottom: 6em !important;
}

.fab-menu-popover {
    background-color: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.mud-popover-open .wiuz-button-fab {
    animation: slideInUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mud-popover-provider:has(.fab-menu-popover.mud-popover-open) .mud-overlay,
.mud-overlay-scrim.mud-overlay-dark {
    pointer-events: auto;
    background-color: rgba(0, 0, 0, 0);
    opacity: 0;
    animation: fadeInBlur 0.3s ease-out forwards;
}

@keyframes fadeInBlur {
    to {
        border-color: var(--mud-palette-overlay-dark);
        background-color: var(--mud-palette-overlay-dark);
        opacity: 1;
    }
}

.fab-menu-popover .wiuz-button-fab:nth-last-child(1) {
    animation-delay: 0.05s;
}

.fab-menu-popover .wiuz-button-fab:nth-last-child(2) {
    animation-delay: 0.1s;
}

.fab-menu-popover .wiuz-button-fab:nth-last-child(3) {
    animation-delay: 0.15s;
}

.fab-menu-popover .wiuz-button-fab:nth-last-child(4) {
    animation-delay: 0.2s;
}

.fab-menu-popover .wiuz-button-fab:nth-last-child(5) {
    animation-delay: 0.25s;
}

.fab-menu-popover .wiuz-button-fab:nth-last-child(6) {
    animation-delay: 0.3s;
}

.fab-menu-popover .wiuz-button-fab:nth-last-child(7) {
    animation-delay: 0.35s;
}

.fab-menu-popover .wiuz-button-fab {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    min-width: 140px;
    transition: transform 0.2s;
    width: fit-content;
    justify-self: end;
}

/*.mud-tabs-tabbar-wrapper {*/
/*    transform: translate(0, 0) !important;*/
/*}*/

/*.mud-tabs-scroll-button {*/
/*    display: none;*/
/*}*/

.mud-popover-provider {
    zoom: calc(1 / var(--zoom));
}

.mud-popover-provider .mud-popover .mud-list {
    zoom: var(--zoom);
}

.icon-watermark {
    position: absolute;
    color: rgba(0, 0, 0, 0.5);
    font-size: 5rem;
    top: 30%;
    left: 50%;
    z-index: 0;
}

.icon-background > *:not(.icon-watermark) {
    position: relative;
    z-index: 1;
}

.h-fit-content {
    height: fit-content !important;
}

.grid-auto-rows-1 {
    grid-auto-rows: 1fr;
}

.grid-template-columns-1-2 {
    grid-template-columns: 1fr 2fr;
}

.h-2 {
    height: 2rem;
}

.mobile-card-header .mud-card-header-content {
    width: 100% !important;
    display: flex;
    margin: 0 !important;
    padding: 0 !important;
}

.mobile-card-header.mud-card-header {
    padding: 0;
    margin: 0;
}

.wiuz-mobile .position-sticky-bottom-if-mobile {
    position: sticky;
    bottom: 55px;
}

.bordered-square {
    border: 1px solid;
    border-color: var(--mud-palette-text-primary);
    height: 100%;
    padding: 3px 5px;
}

.wiuz-fab-outlined-white {
    background-color: white;
}

.wiuz-fab-outlined-white:hover {
    background-color: rgb(69, 141, 34);
    color: rgba(53, 107, 26);
}

.mud-table {
    height: 100% !important;
    max-width: 100% !important;
    min-height: 100% !important;

    display: grid !important;
}

.mud-table-container {
    height: 100% !important;
}

.main-layout {
    height: 100%;
    overflow-y: hidden !important;
    max-height: 100%;
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr;
    grid-template-columns: 100%;

}

#TemplatedContentPage {
    height: 100%;
    max-height: 100%;
    min-height: 100%;
}

#TemplatedGroupItemsPage {
    height: 100%;
    max-height: 100%;
    min-height: 100%;
    display: grid;
    grid-template-rows: 1fr auto;
    align-items: start;
    overflow-y: auto;
}

.wiuz-grid {
    height: 100%;
    max-height: 100%;
    min-height: 100%;
    display: grid;
    gap: 0;
    grid-template-areas: "left center right"
}

.wiuz-grid > .left {
    grid-area: left;
    overflow: auto;
    position: relative;
    min-height: 100%;
    max-height: 100%;
    height: 100%;
}

.wiuz-grid > .center {
    grid-area: center;
    position: relative;
    min-height: 100%;
    max-height: 100%;
    height: 100%;
}

.wiuz-grid > .right {
    grid-area: right;
    overflow: auto;
    position: relative;
    min-height: 100%;
    max-height: 100%;
    height: 100%;
}


/* #region .oblique */
/* Classe pour pouvoir "barré" un élément. Utilisé notamment pour les passages */
.oblique {
    position: relative;
    overflow: visible;
    --strike-color: rgba(54, 64, 55, 0.7);
    --strike-width: 4px;
    --strike-angle: -45deg;
    --strike-overshoot: 30%;
}

.oblique::after {
    content: "";
    position: absolute;
    top: calc(50% - (var(--strike-width) / 2));
    left: calc(-1 * var(--strike-overshoot));
    right: calc(-1 * var(--strike-overshoot));
    height: var(--strike-width);
    background: var(--strike-color);
    transform: rotate(var(--strike-angle));
    transform-origin: center;
    pointer-events: none;

}

/* #endregion .oblique */


.max-vw-100 {
    max-width: 100vw !important;
}

.hide-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}