body {
    background-color: var(--mud-palette-background);
}

:root {
    /* Override le theme par defaut. Ne pas oublier de modifier la pellette de mudblazor */

    /* Colors */
    /* Besoin de -rgb pour rgba(var(--color-primary-light-rgb), 0.75) https://www.rapidtables.com/convert/color/hex-to-rgb.html */
    
    /* Géneré a partir du background technoweb */
    --color-primary-very-light: #ffffff;
    --color-primary-very-light-rgb: 255, 255, 255;

    /*  */
    --color-primary-light: #fffaf0;
    --color-primary-light-rgb: 255, 250, 240;

    /* Orange clair */
    --color-primary-highlight: #f5835c;
    --color-primary-highlight-rgb: 245, 131, 92;

    /* Pantone Orange 021C - primary */
    --color-primary-medium: #F04F22;
    --color-primary-medium-rgb: 240, 79, 34;

    /* Orange plus fonce */
    --color-primary-dark: #a83718;
    --color-primary-dark-rgb: 168, 55, 24;

    /* Orange tres fonce */
    --color-primary-very-dark: #6c240f;
    --color-primary-very-dark-rgb: 108, 36, 15;

    --menu-item-hover: var(--color-primary-highlight-rgb);
    --menu-item-hover-opacity: 0.8;
    --menu-item-hover-shaddow-color: var(--color-primary-dark-rgb);
}

#next-version-warning {
    background: var(--mud-palette-error-darken);
    color: var(--mud-palette-error-text);
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: var(--core-zindex-notification);
    transition: background-color linear 0.2s;
}
#next-version-warning:hover {
    background: var(--mud-palette-dark-lighten);
}

.mud-drawer-content .mud-drawer-header {
    background-color: var(--color-primary-dark);
}

/* Propre a cette app */
.model-dt {
    font-weight: bold;
    font-variant: small-caps;
    font-size: 1.05em;
}
.model-dd {
    font-size: 0.95em;
    overflow-wrap: break-word;
}

.planned-service,
.planned-service-movable {
	display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    padding-left: 8px;
}
.planned-service-movable:hover {
	background-color: var(--mud-palette-action-default-hover);
    box-shadow: var(--mud-elevation-1);
}
.scheduler-draggin-item .planned-service-movable{
    color: var(--mud-palette-primary-text) !important;
    background-color: var(--mud-palette-primary) !important;
}
.scheduler-service-selected {
    color: var(--mud-palette-primary-text) !important;
    background-color: var(--mud-palette-primary) !important;
}
.scheduler-service-validation-error {
    color: var(--mud-palette-error) !important;
}
.scheduler-cannot-drop .scheduler-service-validation-error {
    color: var(--mud-palette-error-text) !important;
}
.scheduler-can-drop .scheduler-service-validation-error {
    color: var(--mud-palette-success-text) !important;
}
.scheduler-service-selected.scheduler-service-validation-error {
    color: var(--mud-palette-error-text) !important;
    background-color: var(--mud-palette-error) !important;
}
.scheduler-service-action {
    cursor: pointer;
    transition: 0.1s linear color;
}
.scheduler-service-action:hover {
    cursor: pointer;
    color: var(--mud-palette-primary);
}
.scheduler-service-selected .scheduler-service-action:hover {
    color: var(--mud-palette-primary-text);
    text-shadow: 2px 2px var(--mud-palette-primary-darken);
}
.scheduler-service-selected.scheduler-service-validation-error .scheduler-service-action:hover {
    color: var(--mud-palette-error-text);
    text-shadow: 2px 2px var(--mud-palette-error-darken);
}
.scheduler-can-drop .bg-darken {
	background: linear-gradient(0deg, var(--mud-palette-success-darken) 0%, var(--mud-palette-success) 50%);
	box-shadow: var(--mud-elevation-1);
	color: var(--mud-palette-success-text);
}
.scheduler-cannot-drop .bg-darken {
	background: linear-gradient(0deg, var(--mud-palette-error-darken) 0%, var(--mud-palette-error) 50%);
	box-shadow: var(--mud-elevation-1);
	color: var(--mud-palette-error-text);
}