:root {
    --consoleScrollBarColor: #5f5f5f;
    --consoleScrollBarBackgroundColor: #898282;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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 #258cfb;
}

.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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5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red."
}

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

/* ==================== */
/* CUSTOM BUTTONs STYLE */
/* ==================== */

.g-cutsom-btns-container {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
    margin-top: 10px;
}

.g-custom-btn-save, button.g-custom-btn-save {
    background-color: #07B9B3 !important;
    min-width: 8em !important;
}

.g-custom-btn-save:hover, button.g-custom-btn-save:hover {
    background-color: #07B9B3 !important;
}

.g-custom-btn-save:focus, button.g-custom-btn-save:focus {
    box-shadow: unset !important;
}

.g-form-container {
}

.g-form-container .g-form-field-container {
}

.g-form-container .g-form-field-container:not(:first-of-type),
.g-form-container > div > div.g-form-field-container {
    margin-top: 15px;
}

.g-form-container .g-form-field-container .g-field-title {
    font-weight: 600;
    margin-bottom: 6px;
}

.g-form-container .g-form-field-container .g-field-content {
}

.g-form-container .g-form-field-container .g-field-error-message {
}

.g-custom-toolbar {
    border-style: solid;
    border-color: #777777;
    border-width: 1px;
    margin-bottom: 8px;
}

.g-form-content-container {
}

.g-form-content-container .g-form-item {
}

.g-form-content-container .g-form-item:not(:first-of-type) {
    margin-top: 10px;
}

.g-form-content-container .g-form-item .g-title {
    margin-bottom: 5px;
    font-weight: 500;
}

.g-form-content-container .g-form-item .g-content {
}

.g-form-content-container .g-form-item .g-error-message {
}

/* ================ */
/* CUSTOM SCROLLBAR */
/* ================ */

/* width */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ====== */
/* FIELDS */
/* ====== */

.FORMFIELD1 {
    color: white;
    margin-bottom: 5px;
}

.FORMFIELD2 {
    color: white;
    margin-top: 12px;
    margin-bottom: 5px;
}

.formfield-title {
    color: white;
    margin-bottom: 5px;
}

.formfield-content {
    color: #AAAAAA;
    margin-top: 8px;
    margin-bottom: 5px;
}

.custom-toolbar {
    border-style: solid;
    border-color: #777777;
    border-width: 1px;
    margin-bottom: 8px;
}

/* =========== */
/* TASK STATUS */
/* =========== */

.BADGESTATUTSCHEDULED {
    background-color: #111111;
    border-radius: 3px;
    padding: 2px;
    color: white;
    width: 70px;
    height: 22px;
    text-align: center;
    font-size: 9pt;
}

.BADGESTATUTOPEN {
    background-color: #192050;
    border-radius: 3px;
    padding: 2px;
    color: white;
    width: 70px;
    height: 22px;
    text-align: center;
    font-size: 9pt;
}

.BADGESTATUTRUNNING {
    background-color: #192050;
    border-radius: 3px;
    padding: 2px;
    color: white;
    width: 70px;
    height: 22px;
    text-align: center;
    font-size: 9pt;
}

.BADGESTATUTCLOSED {
    background-color: darkgreen;
    border-radius: 3px;
    padding: 2px;
    color: white;
    width: 70px;
    height: 22px;
    text-align: center;
    font-size: 9pt;
}

.BADGESTATUTFINISHED {
    background-color: darkgreen;
    border-radius: 3px;
    padding: 2px;
    color: white;
    width: 70px;
    height: 22px;
    text-align: center;
    font-size: 9pt;
}

/* État interne (TASKCUSTOMSTATUS) — largeur flexible car le nom peut varier */
.BADGESTATUTINTERNAL {
    background-color: #0d4a47;
    border-radius: 3px;
    padding: 2px 8px;
    color: white;
    min-width: 70px;
    height: 22px;
    text-align: center;
    font-size: 9pt;
    display: inline-block;
    box-sizing: border-box;
}


.STYLE0 {
    color: #EEEEEE;
    margin-bottom: 12px;
    font-size: 13pt;
}

.STYLE1 {
    color: #CCCCCC;
    margin-bottom: 6px;
    font-size: 10pt;
    white-space: nowrap;
}

.STYLE2 {
    color: #AAAAAA;
    margin-bottom: 4px;
    font-size: 10pt;
}

.STYLE3 {
    color: #AAAAAA;
    font-size: 10pt;
    padding: 6px
}

.STYLE4 {
    border-style: solid;
    border-width: 1px;
    border-color: #888888;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 4px;
}

.STYLE5 {
    width: 72px;
    height: 20px;
    overflow-x: clip;
    overflow-y: clip;
    text-align: center;
    font-size: 9pt;
    color: #AAAAAA;
    margin-top: 3px;
}

.STYLE6 {
    color: #CCCCCC;
    margin-bottom: 4px;
    font-size: 10pt;
}

/* ========================= */
/* SYNCFUSION CUSTOMIZATIONS */
/* ========================= */

.e-dlg-container.e-alert-dialog {
    justify-content: center;
    align-items: center;
}

.e-input.e-success, .e-input.e-success:focus, .e-input-group.e-success input.e-input, .e-input-group.e-control-wrapper.e-success input.e-input, .e-input-group.e-success .e-input-group-icon, .e-input-group.e-control-wrapper.e-success .e-input-group-icon, .e-input-group.e-success textarea.e-input, .e-input-group.e-control-wrapper.e-success textarea.e-input {
    border-color: #07B9B3;
}

.e-input-group.e-success, .e-input-group.e-control-wrapper.e-success, .e-input-group.e-success:not(.e-float-icon-left), .e-input-group.e-control-wrapper.e-success:not(.e-float-icon-left) {
    border-color: #07B9B3;
}

.e-diagram {
    background-color: transparent !important;
}

/* ===================== */
/* GLOBAL CUSTOMIZATIONS */
/* ===================== */

/* Forl field error message */
.form-field-error-message {
}

.form-field-error-message span {
    /* color: darkred; */
}

button.custom-btn:hover {
    background-color: #07B9B3;
}

button.custom-btn:focus {
    box-shadow: unset;
}

.cutsom-btns-container {
    /* border: 1px solid red; */

    display: flex;
    justify-content: flex-end;
    margin-top: 1em;
}

button.custom-btn-save {
    background-color: #07B9B3;
    min-width: 8em;
}

button.custom-btn-save:hover {
    background-color: #07B9B3;
}

button.custom-btn-save:focus {
    box-shadow: unset;
}

button.custom-btn-back {
    background-color: #666667 !important;
    color: #DDE1E5;
    min-width: 8em;
}

button.custom-btn-back:hover {
    background-color: #666667;
}

button.custom-btn-back:focus {
    box-shadow: unset;
}

button.custom-btn:hover {
    background-color: #666667;
}

button.custom-btn:focus {
    box-shadow: unset;
}

/* =============== */
/* HUMAN RESOURCES */
/* =============== */

.hr-btns-container, .pl-btns-container {
    /* border: 1px solid red; */

    display: flex;
    justify-content: flex-end;
    margin-top: 1em;
}

.hr-input-file-container .btn-tertiary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hr-input-file-container .btn-tertiary {
    color: white;
    padding: 0;
    line-height: 40px;
    width: 15em;
    /* margin: auto; */
    display: block;
    border: 2px solid #555;
}

.hr-input-file-container .btn-tertiary:hover,
.hr-input-file-container .btn-tertiary:focus {
    color: #888;
    border-color: #888;
}

.hr-input-file-container .hr-input-file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.hr-input-file-container .hr-input-file + .js-labelFile {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* padding: 0 10px; */
    width: 12em;
    cursor: pointer;
    margin: 0px;
}

.hr-input-file-container .hr-input-file + .js-labelFile .icon:before {
    content: "\f093";
}

.hr-input-file-container .hr-input-file + .js-labelFile.has-file .icon:before {
    content: "\f00c";
    color: #5aac7b;
}

.hr-vacation-filter-container {
    display: flex;
    gap: 15px;
    margin-left: 1em;
}

.hr-vacation-filter-container .hr-vacation-filter-item.hr-checkbox-container {
    display: flex;
    align-items: center;
}

.hr-vacation-filter-container .hr-vacation-filter-item {
    /*border: 1px solid red;*/
    /*width: 19em;*/
}

.hr-vacation-filter-container .hr-vacation-filter-item.hr-checkbox-container,
.hr-vacation-filter-container .hr-vacation-filter-item.btns-container {
    width: unset;
}

.hr-vacation-filter-container .hr-vacation-filter-item .hr-vacation-filter-contect button {
    background-color: #07B9B3;
}

.e-grid .e-headercell {
    font-size: 8pt;
}

.e-grid .e-headercelldiv {
    font-size: 8pt;
}

/* =========== */
/* GOOGLE MAPS */
/* =========== */

a[href^="http://maps.google.com/maps"] {
    display: none !important
}

a[href^="https://maps.google.com/maps"] {
    display: none !important
}

.gmnoprint a, .gmnoprint span, .gm-style-cc {
    display: none;
}

.gmnoprint div {
    background: none !important;
}

/* SfTreeGrid: cut long text instead of ellipsis */
.e-treegrid .e-rowcell,
.e-treegrid .e-treecell,
.e-treegrid .e-treecolumn-container,
.e-treegrid .e-headercelldiv {
    text-overflow: clip !important;
}
