@charset "UTF-8";
/*!
 * NetADS
 * Copyright 2022 OCI Urbanisme
 */

@media (prefers-color-scheme: light) {
    :root {
        --oci-primary: #153d77;
        --oci-secondary: #303030;
        --oci-background: #ffffff;
        --oci-background-grey: #dee2e6;
        --oci-surface1: #ffffff;
        --oci-surface2: #ffffff;
        --oci-surface3: #ffffff;
        --oci-surface4: #ffffff;
        --oci-danger: #bb2d3b;
        --oci-danger-on-surface: #bb2d3b;
        --oci-warning: #eeaa2d;
        --oci-success: #028244;
        --oci-hovered: #fcefb4;

        --oci-on-primary: #ffffff;
        --oci-on-secondary: #ffffff;
        --oci-on-background: #121212;
        --oci-on-surface: #121212;
        --oci-on-danger: #ffffff;
        --oci-on-warning: #121212;
        --oci-on-success: #ffffff;
        --oci-on-hovered: #121212;
    }

    [data-theme="dark"] {
         --oci-primary: #8692fc;
        --oci-secondary: #e9ecef;
        --oci-background: #191919;
        --oci-background-grey: #282828;
        --oci-surface1: #282828;
        --oci-surface2: #2f2f2f;
        --oci-surface3: #363636;
        --oci-surface4: #3a3a3a;
        --oci-danger: #ff818d;
        --oci-danger-on-surface: #ffffff;
        --oci-warning: #eeaa2d;
        --oci-success: #77fcd0;
        --oci-hovered: #3a3a3a;

        --oci-on-primary: #191919;
        --oci-on-secondary: #191919;
        --oci-on-background: #ffffff;
        --oci-on-surface: #ffffff;
        --oci-on-danger: #121212;
        --oci-on-warning: #121212;
        --oci-on-success: #121212;
        --oci-on-hovered: #ffffff;
    }

    #darkMode::before{
        content: '\F5A2'; /* Sun */
        font-family:  bootstrap-icons !important;
    }
    #darkMode {
        background: #fff3e3;
        color: #e08415;
    }
    #darkMode:hover {
        background: #e08415;
        color: #fff;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
         --oci-primary: #8692fc;
        --oci-secondary: #e9ecef;
        --oci-background: #191919;
        --oci-background-grey: #282828;
        --oci-surface1: #282828;
        --oci-surface2: #2f2f2f;
        --oci-surface3: #363636;
        --oci-surface4: #3a3a3a;
        --oci-danger: #ff818d;
        --oci-danger-on-surface: #ffffff;
        --oci-warning: #eeaa2d;
        --oci-success: #77fcd0;
        --oci-hovered: #3a3a3a;

        --oci-on-primary: #191919;
        --oci-on-secondary: #191919;
        --oci-on-background: #ffffff;
        --oci-on-surface: #ffffff;
        --oci-on-danger: #121212;
        --oci-on-warning: #121212;
        --oci-on-success: #121212;
        --oci-on-hovered: #ffffff;
    }

    [data-theme="light"] {
        --oci-primary: #153d77;
        --oci-secondary: #303030;
        --oci-background: #ffffff;
        --oci-background-grey: #e9ecef;
        --oci-surface1: #ffffff;
        --oci-surface2: #ffffff;
        --oci-surface3: #ffffff;
        --oci-surface4: #ffffff;
        --oci-danger: #bb2d3b;
        --oci-danger-on-surface: #bb2d3b;
        --oci-warning: #eeaa2d;
        --oci-success: #028244;
        --oci-hovered: #fcefb4;

        --oci-on-primary: #ffffff;
        --oci-on-secondary: #ffffff;
        --oci-on-background: #121212;
        --oci-on-surface: #121212;
        --oci-on-danger: #ffffff;
        --oci-on-warning: #121212;
        --oci-on-success: #ffffff;
        --oci-on-hovered: #121212;
    }

    #darkMode::before{
        content: '\F497'; /* Moon */
        font-family:  bootstrap-icons !important;
    }
    #darkMode {
        background: #1c2e56;
        color: #8da5fb;
    }
    #darkMode:hover {
        background: #8da5fb;
        color: #1c2e56;
    }
}

[data-theme="light"] #darkMode::before{
    content: '\F5A2'; /* Sun */
    font-family:  bootstrap-icons !important;
}
[data-theme="light"] #darkMode {
    background: #fff3e3;
    color: #e08415;
}
[data-theme="light"] #darkMode:hover {
    background: #e08415;
    color: #fff;
}

[data-theme="dark"] #darkMode::before{
    content: '\F497'; /* Moon */
    font-family:  bootstrap-icons !important;
}
[data-theme="dark"] #darkMode {
    background: #1c2e56;
    color: #8da5fb;
}
[data-theme="dark"] #darkMode:hover {
    background: #8da5fb;
    color: #1c2e56;
}

/* To Delete 

.text-primary-font-color

*/


/* Général */

body {
    color: var(--oci-on-background);
    /* font-size: 0.875rem; */
    font-size: 0.938rem;
}

body[data-theme="light"] {
    background: linear-gradient(var(--oci-primary) 250px, #e9ecef 250px);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body[data-theme="dark"] {
    background: var(--oci-background);
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-weight: 600;
    margin-bottom: 0;
    text-rendering: optimizeLegibility;
    display: block;
    position: relative;
    z-index: 1;
    /* color: var(--oci-on-surface); */
}

h1, .h1 {
    font-size: 1.75rem;
}

h2, .h2 {
    font-size:1.625rem;
}

h3, .h3 {
    font-size: 1.5rem;
}

h4, .h4 {
    font-size: 1.375rem;
}

h5, .h5 {
    font-size: 1.25rem;
}

h6, .h6 {
    font-size: 1.125rem;
}

p {
    margin-bottom: 1rem;
    font-size: inherit;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

b, .b, .fw-bold, strong, .strong {
    font-weight: 600 !important;
}

a, .a {
    color: var(--oci-on-background);
}

.bg-primary a, .bg-primary .a {
    color: var(--oci-on-primary);
}

.bg-white a, .bg-white .a {
    color: var(--oci-on-background);
}

.bg-white .bg-primary a, .bg-white .bg-primary .a {
    color: var(--oci-on-primary);
}

a:hover, .a:hover {
    color: var(--oci-secondary);
}

hr {
    margin: 0;
}

/* Primary */

.text-primary {
    color: var(--oci-primary) !important;
}

.bg-primary {
    background: var(--oci-primary);
    background-color: var(--oci-primary) !important;
    color: var(--oci-on-primary) !important;
}

/* Secondary */

.text-secondary {
    color: var(--oci-secondary) !important;
}

.bg-secondary {
    background-color: var(--oci-secondary) !important;
    color: var(--oci-on-secondary);
}

/* Succes */

.text-success {
    color: var(--oci-success) !important;
}

.bg-success {
    background-color: var(--oci-success) !important;
    color: var(--oci-on-success);
}

/* Warning */

.bg-warning {
    background-color: var(--oci-warning) !important;
    color: var(--oci-on-warning);
}

/* Danger */

.text-danger {
    color: var(--oci-danger) !important;
}

.bg-danger {
    background-color: var(--oci-danger) !important;
    color: var(--oci-on-danger);
}

/* Autre */ 

.bg-background {
    background: var(--oci-background) !important;
    color: var(--oci-on-background);
}

.bg-white {
    background: var(--oci-surface1) !important;
    color: var(--oci-on-surface);
}

.bg-surface2 {
    background: var(--oci-surface2) !important;
    color: var(--oci-on-surface);
}

.bg-surface4 {
    background: var(--oci-surface4) !important;
    color: var(--oci-on-surface);
}

[data-theme="dark"] .bg-surface4-darkonly {
    background: var(--oci-surface4) !important;
    color: var(--oci-on-surface);
}

.bg-grey {
    background: var(--oci-background-grey) !important;
}

.bg-jaune {
    background: var(--oci-hovered) !important;
    color: var(--oci-on-hovered);
}

.shadow {
    box-shadow: 0 0.25rem 1rem rgba(0,0,0,0.25) !important;
}

.container-box {
    border-top-left-radius: 0.5rem !important;
    background:var(--oci-surface1);
}

.container-box-header {
    border-top-left-radius: 0.5rem !important;
    /* background:var(--oci-hovered); */
}

.wseparateur::after {
    content: '';
    background-color: var(--oci-primary);
    width: 5%;
    top: 0px;
    margin: 0.25rem 0;
    display: flex;
    justify-content: center;
    height: 4px;
    left: 0;
    border-radius: 100px;
}

dt {
    font-weight: 600;
}

.rounded-top {
    border-top-right-radius: var(--bs-border-radius) !important;
    border-top-left-radius: var(--bs-border-radius) !important;
}

.rounded {
    border-radius: var(--bs-border-radius) !important;
}

.rounded-8 {
    border-radius: 8px !important;
}

.rounded-50p {
    border-radius: 50% !important;
}

.sticky-top-header {
    top: 58px;
}

.vertical-align-text-top {
    vertical-align: text-bottom;
}

.fs-body {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Icones encart */

.bg-grey-icon {
    position:relative;
    overflow: hidden;
}

.bg-grey-icon:before {
    font-family:  bootstrap-icons !important;
    font-size: 18rem;
    text-align: center;
    line-height: 140px;
    position: absolute;
    right:-100px;
    top:-5px;
    color: var(--oci-secondary);
    opacity:0.1;
    z-index:0;
}

.bg-grey-envelop:before {
    content: '\F32C';
}

.bg-grey-cloud:before {
    content: '\F296';
}

.bg-grey-user:before {
    content: '\F4CF';
}

.bg-grey-mapmarker:before {
    content: '\F3E7';
}

.bg-grey-gear:before {
    content: '\F3E2';
}

.bg-grey-euro:before {
    content: '\F637';
}

.bg-grey-cone:before {
    content: '\F2D2';
}

.bg-grey-journal:before {
    content: '\F43C';
}

.bg-grey-question:before {
    content: '\F64E';
}

.bi {
    line-height: 1;
    font-size: 1.25rem;
    display: inline-block;
}

.bi-inherit {
    font-size: inherit !important;
}

.bi-075x {
    font-size: 0.75rem !important;
}

.bi-1x {
    font-size: 1rem !important;
}

.bi-125x {
    font-size: 1.25rem !important;
}

.bi-15x {
    font-size: 1.5rem !important;
}

.bi-175x {
    font-size: 1.75rem !important;
}

.bi-2x {
    font-size: 2rem !important;
}

.bi-3x {
    font-size: 3rem !important;
}

.bi-4x {
    font-size: 4rem !important;
}

/* couleurs cerfas */

.bg-DIV, .bg-div {
    background-color: var(--oci-primary);
    color: #fff;
}

.bg-doc, .bg-daact, .bg-DOC, .bg-DAACT {
    background-color: #333333;
    color: #fff;
}
.border-doc, .border-daact, .border-DOC, .border-DAACT {
    border-color: #333333 !important;
}

.bg-pc, .bg-pcmi, .bg-pd, .bg-pa, .bg-PC, .bg-PCMI, .bg-PD, .bg-PA {
    background-color: #c92121;
    color: #fff;
}
.border-pc, .border-pcmi, .border-pd, .border-pa {
    border-color: #c92121 !important;
}

.bg-dp, .bg-dpmi, .bg-dplt, .bg-dpa, .bg-dpc, .bg-ia, .bg-ac, .bg-ce, .bg-DP, .bg-DPMI, .bg-DPLT, .bg-DPA, .bg-DPC, .bg-IA , .bg-AC , .bg-CE {
    background-color: #0e6c8b;
    color: #fff;
}
.border-dp, .border-dpmi, .border-dpa, .border-dpc, .border-lt, .border-ia, .border-ac, .border-ce {
    border-color: #0e6c8b !important;
}

.bg-cu, .bg-cua, .bg-cub, .bg-CU, .bg-CUA, .bg-CUB {
    background-color: #008663;
    color: #fff;
}
.border-cu, .border-cua, .border-cub {
    border-color: #008663 !important;
}

.text-nowrap {
    text-wrap: nowrap;
}

.text-bg-light {
  color: var(--oci-on-surface) !important;
  background-color: var(--oci-surface1) !important;
}

[data-theme="dark"] .text-bg-light {
  background-color: var(--oci-surface1) !important;
  color: var(--oci-on-surface) !important;
}

/* Animation */

@keyframes loading {
0% {
    opacity: 0;
}
100% {
    opacity: 1;
}
}

@keyframes shadow-pulse
{
    0% {
    box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
    }
    100% {
    box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
    }
}

.pulsing {
    animation: shadow-pulse 1s infinite;
}

.pulsing-once {
    animation: shadow-pulse 0.75s 1;
}

@keyframes blinker {
    from {opacity: 1.0;}
    to {opacity: 0.0;}
}
.blink{
    text-decoration: blink;
    animation-name: blinker;
    animation-duration: 0.6s;
    animation-iteration-count:infinite;
    animation-timing-function:ease-in-out;
    animation-direction: alternate;
}

.spin {
    animation: 3s linear 0s infinite spinIcon;
}

@keyframes spinIcon {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}

.animated-background {
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-name: placeHolderShimmer;
    background: #f6f7f8;
    background: linear-gradient(to right, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);
    background-size: 800px 104px;
    border-radius: 4px;
    height: 16px;
}

.animated-background-square {
    height: 45px;
    width: 45px;
}

.spinner-border {
    font-size:1rem;
}

.spinner-border-sm {
    --bs-spinner-width: 1.5rem;
    --bs-spinner-height: 1.5rem;
    --bs-spinner-border-width: 0.2em;
}

/* Badges */

.badge {
    font-size: 0.75rem;
    font-weight: 600; 
    line-height: 1.25;
    display: inline-flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    position:relative;
}

.badge:empty {
    display: none !important;
  }

.badge-lg {
    font-size: 0.875rem;
    font-weight: 600; 
    line-height: 1.25;
}

.bg-type {
    background-color: #0a6589;
    color: #fff;
}

.bg-type-1 {
    background-color: #0a6589;
}

.bg-type-2 {
    background-color: #656565;
}

/* Form */

.form-control, .form-control:focus, .form-select, .input-group-text {
    border-color: var(--oci-background-grey);
    background-color: var(--oci-surface4);
    color: var(--oci-on-surface);
}


[data-theme="dark"] .form-select {
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.form-select option,
.form-select:focus {
    color: var(--oci-on-surface);
}

.form-control:disabled,
.form-select:disabled {
  background: var(--oci-background-grey);
  opacity: 0.5;
}

.form-control:read-only {
    background: var(--oci-background-grey);
    opacity: 0.75;
}

.form-control::placeholder, option.placeholderDisabled {
    color: var(--oci-on-surface);
    opacity: 0.25;
}

.form-select.dropdown-toggle::after {
    display: none;
}


.form-floating .form-control::placeholder {
    opacity: 0;
}

.form-floating .form-control ~ label,
.form-floating .form-select ~ label {
    color: var(--oci-on-surface) !important;
}

.form-floating .form-control ~ label::after,
.form-floating .form-select ~ label::after {
    background: var(--oci-surface4) !important;
}

.form-control-with-icon {
    padding-left: 2rem;
}

.form-check-input-lg {
    width: 1.5em;
    height: 1.5em;
}

.form-check-input:checked {
    background-color: var(--oci-primary);
    border: 0;
}

.form-check-input-danger:checked {
    background-color: var(--oci-danger);
    border: 0;
}

.form-check-input-success:checked {
    background-color: var(--oci-success);
    border: 0;
}

.form-label, .col-form-label {
    font-size: 0.938rem;
}

legend.inherit {
    font-size: inherit;
}

label.error, span.error {
    color: var(--oci-danger-on-surface);
    display: block;
    font-size: 0.75rem;
    margin-top: 5px;
    width: 100%;
    font-weight: 500 !important;
}

label.required:before {
    content: '* ';
    color: var(--oci-danger);
    font-weight:500;
}

#containerSaisieController {
    z-index:10;
}

/* Selectize */

.selectize-input, .selectize-input.full, .selectize-input.input-active {
    border-color: var(--oci-background-grey);
    background-color: var(--oci-surface4) !important;
    color: var(--oci-on-surface);
}

.selectize-dropdown {
    background-color: var(--oci-surface4);
    color: var(--oci-on-surface);
}

.selectize-dropdown-content .highlight {
    padding: 0;
    margin-bottom: 0;
}

.selectize-control .selectize-input.disabled {
    opacity: 0.75 !important;
}

.selectize-control.multi .selectize-input > div {
    background-color: var(--oci-primary);
    color:var(--oci-on-primary);
    border-radius: 0.25rem;
}

.selectize-control.multi .selectize-input > div.active {
    background-color: var(--oci-primary);
    color:var(--oci-on-primary);
    color:#fff;
}

.selectize-control.plugin-remove_button .item .remove {
    border:none;
    color:var(--oci-on-primary);
}

.selectize-control > .invalid  {
    outline: 1px solid #dc3545;
}

.selectize-input > input[type="text"].is-invalid {
    outline: none;
}

.form-floating > .selectize-control > .selectize-input {
    height: calc(3.5rem + calc(var(--bs-border-width) * 2));
    min-height: calc(3.5rem + calc(var(--bs-border-width) * 2));
    line-height: 1.25;
    padding-top: 1.625rem !important;
    padding-bottom: .625rem !important;
    position: absolute;
    top: 0px;
    left: 0px;
    border-radius: .5rem
}

.form-floating > .selectize-control {
    border:none;
}

.form-floating > .selectize-control.multi .selectize-input.has-items {
    height: auto;
    padding-left: 0.75rem;
}

.form-floating label {
    color: rgba(var(--bs-body-color-rgb),.65);
    transform: scale(.85) translateY(-.5rem) translateX(.15rem);
}

/* Bouton */

.btn {
    border: none;
    border-radius: 0.375rem;
    display: flex;
    align-items: center !important;
    justify-content: center;
    text-align: left;
    z-index:1;
    position:relative;
    text-wrap: nowrap;
}

[role="button"] {
    cursor: pointer !important;
}

i[role="button"] {
    opacity: 0.5;
}

i[role=button]:hover{
    opacity:1;
}

.btn-sm {
    font-size: 0.85rem;
}

.btn:hover {
    opacity: 0.85;
}

.btn:disabled, .btn.disabled {
    opacity: 0.5;
}

.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:focus,.btn-primary.disabled,.btn-primary:disabled {
    background-color: var(--oci-primary);
    color: var(--oci-on-primary); 
}

.btn-secondary  {
    background-color: var(--oci-background-grey);
    color: var(--oci-secondary);
}

.btn-secondary:hover, .btn-secondary:active, .btn-secondary:focus, .btn.show {
    background-color: var(--oci-secondary);
    color: var(--oci-on-secondary);
}

.btn-danger, .btn-danger:hover, .btn-danger:active, .btn-danger:focus,.btn-danger.disabled,.btn-danger:disabled {
    background-color: var(--oci-danger);
    color: var(--oci-on-danger); 
}
.btn-warning, .btn-warning:hover, .btn-warning:active, .btn-warning:focus,.btn-warning.disabled,.btn-warning:disabled {
    background-color: var(--oci-warning);
    color: var(--oci-on-warning); 
}
.btn-success, .btn-success:hover, .btn-success:active, .btn-success:focus,.btn-success.disabled,.btn-success:disabled {
    background-color: var(--oci-success);
    color: var(--oci-on-success); 
}

.btn .bi {
    font-size: 1.25rem;
    margin-top:-1px
}

.btn-no-line-height {
    line-height: 0rem;
}

.btn-check + .btn-outline-primary {
    background-color: inherit;
    color: var(--oci-primary);
    border: var(--bs-btn-border-width) solid var(--oci-primary);
}

.btn-check + .btn-outline-primary:hover,
.btn-check:checked + .btn-outline-primary{
    background-color: var(--oci-primary) !important;
    color: var(--oci-on-primary) !important;
    border: var(--bs-btn-border-width) solid var(--oci-primary) !important;
}

/* Header */

header {
    z-index: 1022 !important;
}

#navHeader {
    background: var(--oci-surface1);
}

#navHeader button, .navHeaderbutton{
    height: 36px;
    width: 36px
}

#navHeader .dropdown-toggle::after {
    display: none;
}

#btn-back-to-top {
    z-index: 1021;
    height: 40px;
    width: 40px;
}

#instructionContent {
    min-width: 245px;
    font-size: 0.875rem;
}

/* Dropdown */

.dropdown-menu {
    background-color: var(--oci-surface1);
    
}

.dropdown-header {
    color: var(--oci-on-surface);
    font-size: 1rem;
    padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
    opacity: 0.75;
}

.dropdown-item {
    color: var(--oci-on-surface);
}

body[data-theme="light"] .dropdown-item:hover {
    background-color: var(--oci-hovered);
}

/* Menu */

.menu {
    background: var(--oci-surface1);
    transition: all 0.2s;
    width: 245px;
    z-index: 1021;
    padding-top: 48px;
    font-weight: 600;
}

.menu-collapse {
    width: 48px;
}

.menu.menu-collapse .nav-pills .nav-link{
    color: var(--oci-secondary);
    background-color: var(--oci-background-grey);
    width:40px;
    height:40px;
    overflow: hidden;
    text-wrap: nowrap;
}

.menu .nav-pills .nav-link{
    color: var(--oci-secondary);
    background-color: var(--oci-background-grey);
    width:100%;
    height:40px;
    transition: all 0.2s;
    overflow: hidden;
    text-wrap: nowrap;
}

.menu .nav-pills .nav-link.active,
.menu .nav-pills .nav-link:hover,
.menu .nav-pills .nav-link:focus{
    color: var(--oci-on-primary);
    background-color: var(--oci-primary);
}

.menu .badge {
    left: 20px !important;
    top: 50% !important;
    position: absolute !important;
    transform: translate(-50%,-50%) !important;
}

.ps-48px {
    padding-left: 48px;
}

/* Loader */

.loading {
    background: #000;
    height: 100%;
    left: 0px;
    opacity: 0.75;
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 10000;
}

.loading-content {
    position: absolute;
    top: 50%; 
    text-align: center;
    width: 100%;
    height: 100%;
}

.loading .h6 {
    color: #ccc;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.loading span {
    display: inline-block;
    vertical-align: middle;
    width: .6em;
    height: .6em;
    margin: .19em;
    background: #003275;
    border-radius: .6em;
    animation: loading 1s infinite alternate;
}

.loading span:nth-of-type(2) {
    background: #003275;
    animation-delay: 0.2s;
}
.loading span:nth-of-type(3) {
    background: #5493c9;
    animation-delay: 0.4s;
}
.loading span:nth-of-type(4) {
    background: #5493c9;
    animation-delay: 0.6s;
}
.loading span:nth-of-type(5) {
    background: #5493c9;
    animation-delay: 0.8s;
}
.loading span:nth-of-type(6) {
    background: #7ab2dc;
    animation-delay: 1.0s;
}
.loading span:nth-of-type(7) {
    background: #7ab2dc;
    animation-delay: 1.2s;
}
  

@keyframes loading {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* connexion */

.bg-connexion {
    background-color: var(--oci-primary);
    color:  #fff !important;
    border-radius: 15px !important;
    overflow: hidden;
}

.bg-connexion h2 {
    color:  #fff !important;
}

.bg-connexion div {
    z-index: 1;
}

.bg-custom {
    z-index: 0;
}

/* Dashboard */

.card-chart {
    height: 350px;
}

/* Modele instruction */

.evenementsSortableEvent {
    cursor: move !important;
}
.evenementsSortable-highlight {
    border:3px dashed #bfc1c4 ;
}
.evenementsSortable-highlight:after {
    font-family: bootstrap-icons;  
    content: "\F3FE";
    font-size: 1.25rem;
    opacity: 50%;
}

.form-select-icon-courrier option:before {
    font-family: bootstrap-icons;  
    font-size: 1rem;
    content: "\F38A";
    margin-right:0.5rem;
    color: var(--oci-primary);
}

.form-select-icon-courrier option.option-icon:before {
    content: "\F38A" " \F33F" " \F47A";
}

.form-select-icon-courrier option.option-iconp:before {
    content: "\F38A" " \F33E" " \F47A";
}

.form-select-icon-courrier option.option-iconm:before {
    content: "\F38A" " \F33F" " \F5FF";
}

.form-select-icon-courrier option.option-iconpm:before {
    content: "\F38A" " \F33E" " \F5FF";
}



.form-select-icon-courrier option.option-icon-default:before {
    color: var(--bs-warning);
}

.form-control:focus,
.form-select option:focus, .form-select option:checked,
.form-select-sm option:focus, .form-select-sm option:checked {
    background-color: var(--oci-hovered);
    color:inherit;
}

.img-container {
    border-style: dashed !important;
    color: var(--oci-secondary);
    font-size:0.8rem;
    max-height: 250px;
  max-width: 250px;
}

#toolbar {
    z-index: 10;
}

/****** Registre et repertoires ******/

.radio-tile-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

.radio-tile-group .input-container {
    position: relative;
    height: 6rem;
    width: 10rem;
    margin-right: 1rem;
  }

  .radio-tile-group .input-container .radio-button {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    margin: 0;
    cursor: pointer;
    
  }
  .radio-tile-group .input-container .radio-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 1px solid var(--oci-secondary);
    border-radius: 5px;
    padding: 1rem;
    transition: transform 300ms ease;
    opacity:0.5;
    color: var(--oci-secondary);
    background-color: var(--oci-background-grey);
  }

  .radio-tile-group .input-container:hover .radio-tile {
    opacity:1;
    color: var(--oci-secondary);
  }

  .radio-tile-group .input-container .icon .fa-solid {
    font-size: 2rem;
  }
  
  .radio-tile-group .input-container .icon .bi {
    font-size: 2rem;
  }
  
  .radio-tile-group .input-container .radio-tile-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .radio-tile-group .input-container .radio-button:checked + .radio-tile {
    background-color: var(--oci-primary);
    color: var(--oci-on-primary);
    border: 0;
    transform: scale(1.1, 1.1);
    opacity:1; 
  }


/* COMPONENTS */

/* Offcanvas  */

.offcanvas .modal-header {
    padding: 1rem;
}

/* Modal */

.modal-content {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 0.25rem 1rem rgba(0,0,0,0.25) !important;
}

body.modal-open{
    padding-right: 0px !important;
}

/* Table */

table {
    margin-bottom: 0px !important;
    
}

.table > :not(caption) > * > * {
    color: var(--oci-on-background);
    background-color: transparent;
}

.table caption {
    color: var(--oci-on-background);
}

table thead {
    border-top: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}  

table.table thead.border-0 {
    border: 0 !important;
} 

table thead tr {
    border: 0px;
    border-bottom: 1px solid #dee2e6;
}

table thead tr th, table tbody tr th {
    background-color: inherit;
    border-bottom: none;
    font-size: 0.813rem;
    padding: 1rem 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    vertical-align: middle;
}


table tbody td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 150px;
}

table tbody td.inherit {
    overflow: inherit;
    text-overflow: inherit;
    white-space: inherit;
    max-width: inherit;
}

table tbody td.overflowinherit {
    overflow: inherit;
}

table tbody td.whitespaceinherit {
    white-space: inherit;
}

table tbody td input.form-check-input {
    font-size: 0.9375rem;
}

.table-modele-dossier input[type="text"] {
    width: 50px;
    text-align:center;
}

.filters input::placeholder {
    font-size: 0.75rem;
}

.dt-length {
    margin-top: 0;
    float: left;
}

/** Datatable */

.dataTables_filter,
.dt-length,
.dt-info,
.dt-paging {
    font-size: 0.875rem;
    padding: 0rem 0.5rem !important;
    margin-bottom: 0.5rem;
}

.dataTables_filter,
.dt-paging {
    margin-top:0;
    float:right;
}

.dt-paging {
    padding-top: 0.5rem !important;
}

.dt-info {
    float: left;
    padding-top: 1.1rem !important;
}

.dt-paging-button{
    margin-left:0.25rem;
}

.page-link {
    background-color: var(--oci-surface4) !important;
    color: var(--oci-on-surface) !important;
}

.active > .page-link {
    border-color: var(--oci-primary) !important;
    background-color: var(--oci-primary) !important;
    color: var(--oci-on-primary) !important;
}

.disabled > .page-link {
    opacity: 0.5;
}

.btnIconInField {
    position: absolute;
    top: 7px;
    left: 5px;
}

.btnResetField {
    position: absolute;
    top: 7px;
    right: 5px;
}

.mwi-70px {
    max-width: 70px !important;
}

/****** Notification popup ******/

#events-content {
    z-index: 1021; 
}

/* Treeview */

.treeview {
    margin-bottom: 0px;
    position: relative;
    padding-left: 0;
}

.treeview .collapsing {
    transition: height 0.15s ease;
}
 
.treeview .treeview-border {
    border-left-style: dashed;
    border-width: 1px;
    border-color: var(--oci-secondary);
    margin-left: 3px;
    padding-left: 20px;
}

.treeview .treeview-border-transparent {
    border-color: transparent !important;
}

.treeview ul:not(.collapse-show) .treeview-row {
    display: none;
}

.treeview .treeview-list-item {
    list-style: none;
}

.treeview .treeview-list-item .treeview-row {
    width: 100%;
    height: 27px;
    position: absolute;
    left: 0;
}

.treeview .treeview-list-item .treeview-item {
    position: relative;
    display: flex;
    align-items: center;
}

.treeview .treeview-list-item .treeview-item > .form-check-input {
    margin: 0 0.5rem 0.25rem 0;
}

.treeview .treeview-list-item .treeview-text {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    height: 28px;
    margin-bottom: 0;
}

.treeview .treeview-list-item .treeview-text .treeview-icon {
    color: var(--oci-primary);
    margin-right: 0.5rem;
}

.treeview .treeview-list-item .treeview-text.btn-primary .treeview-icon {
    color: var(--oci-on-primary);
    margin-right: 0.5rem;
}

.treeview .treeview-list-item .treeview-badge {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background-color: var(--oci-primary);
    color: var(--oci-on-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    font-weight: 600;
    font-size: 0.75rem;
}

.treeview .treeview-list-item .treeview-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    margin-left: 0.25rem;
}

.treeview-list-item.active,  .treeview-item.active{
    background: var(--oci-hovered);
    border-radius: var(--bs-border-radius) !important;
}

.treeview a {
    text-decoration: none;
}

.treeview [data-bs-toggle=collapse] {
    position: relative;
    display: block;
}

.treeview [data-bs-toggle=collapse] .treeview-text {
    padding-left: 0.5rem;
    margin-left: 0.5rem;
}

.treeview [data-bs-toggle=collapse]:after {
    content: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiB2aWV3Qm94PSIwIDAgOCA4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMy41Mjg1NiA1LjgwNDc2QzMuNzg4ODcgNi4wNjUwOCA0LjIxMTYyIDYuMDY1MDggNC40NzE5NCA1LjgwNDc2TDcuMTM3NTYgMy4xMzkxNEM3LjMyOTE2IDIuOTQ3NTUgNy4zODUzOCAyLjY2MjI0IDcuMjgxMjYgMi40MTIzNEM3LjE3NzEzIDIuMTYyNDQgNi45MzU1NiAyIDYuNjY0ODMgMkwxLjMzMzU4IDIuMDAyMDhDMS4wNjQ5NCAyLjAwMjA4IDAuODIxMjgxIDIuMTY0NTIgMC43MTcxNTUgMi40MTQ0MkMwLjYxMzAyOSAyLjY2NDMyIDAuNjcxMzQgMi45NDk2MyAwLjg2MDg0OSAzLjE0MTIyTDMuNTI2NDcgNS44MDY4NUwzLjUyODU2IDUuODA0NzZaIiBmaWxsPSIjOEE5NEFEIi8+Cjwvc3ZnPgo=");
    position: absolute;
    left: 0;
    color: red !important;
    top: 45%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center;
    transition: all 0.2s ease-in-out;
    transition-property: transform;
}

.treeview [data-bs-toggle=collapse][aria-expanded=true]:after {
    transform: translateY(-50%) rotate(0deg);
}

.treeview [data-bs-toggle=collapse][aria-expanded=true] .treeview-arrow-icon {
    transform: rotate(0deg);
}

.treeview.treeview-stripe {
    padding-left: 0.5rem !important;
}
  
.treeview-body-height {
    height: 28.75rem;
}

/* steper */

#steper {
    min-width: 250px;
}

.list-group-no-border .list-group-item{
    border:none;
}

.list-group-item {
    background: var(--oci-surface1);
    color: var(--oci-on-surface);
}

.list-group-item.active {
    background-color: var(--oci-primary);
    color: var(--oci-on-primary);
    border: 0;
}

.list-group-item + .list-group-item.active {
    margin-top: 0px;
    border-top-width: 0px;
    border-bottom-width: 1px;
}

.list-group-no-border .list-group-item.activable {
    background-color: inherit;
    color: inherit;
    border-left: 10px solid #cccccc;
}

.list-group-no-border .list-group-item.active {
    background-color: var(--oci-hovered);
    color: var(--oci-on-hovered);
    border-left: 10px solid var(--oci-primary);
}

.list-group-hoverable li:hover{
    background-color: var(--oci-hovered);
    color: var(--oci-on-hovered);
}

.list-group-no-border li:hover,
.list-group-no-border .list-group-item.activable:hover,
.list-group-no-border .list-group-item.active:hover {
    background-color: var(--oci-hovered);
    color: var(--oci-on-hovered);
}

/****** navbar evenements ******/

.nav-tabs {
    border: 0;
}

.nav-event .nav-link,
.nav-cadastre .nav-link,
.nav-registre .nav-link {
    color: var(--oci-secondary);
    background-color: var(--oci-background-grey);
    opacity: 1;
    border-top-left-radius: .5rem !important;
    border-top-right-radius: .5rem !important;
    font-weight: 600;
    border:0;
    margin-right: 0.25rem;
}

.nav-event .nav-link.active,
.nav-cadastre .nav-link.active,
.nav-registre .nav-link.active {
    color: var(--oci-on-primary);
    background-color: var(--oci-primary);
    opacity: 1;
    border: 0;
}

.nav-event .nav-link:hover,
.nav-cadastre .nav-link:hover,
.nav-registre .nav-link:hover {
    border:0;
}

/****** step evenement ******/

#listEvenements {
    min-width: 230px;
}

.step-evenement .step-icon {
    color: #132144;
    background-color: var(--oci-background-grey);
    display: inline-flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    font-size: .65625rem;
    font-weight: 600;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
}

.step-evenement .step-icon::before {
    display: block;
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    content: "";
}

.step-evenement .step-icon-primary::before{
    background-color: var(--oci-primary);
}
.step-evenement .step-icon-success::before{
    background-color: var(--oci-success);
}
.step-evenement .step-icon-danger::before{
    background-color: var(--oci-danger);
}
.step-evenement .step-icon-warning::before{
    background-color: var(--oci-warning);
}

.step-evenement .list-group-item-service.active{
    background-color: #CCE3DE;
    border: 0;
    color: var(--oci-success);
}

.step-evenement .list-group-item-platau.active
, .btn-service{
    background-color: var(--oci-success);
    border-color:var(--oci-success);
    color:#fff;
}

option.item-platau::before {
    display: inline-block;
    content: '\F882';
    font-family:  bootstrap-icons !important;
    font-weight: 900; 
    font-size: 1rem;
    padding-right: 0.5rem;
    color: var(--oci-success);
    vertical-align: bottom;
}

.btn-service:hover {
    color:#fff;
}

.step-evenement .list-group-item-delai.active{
    background-color: #333;
    border:0;
    color:#fff;
}

/****** Query Builder ******/

.qbuilder-bg-donnees {
    background: #d9ecf3;
    border-radius: 0.5rem;
    min-height: 75px;
}

.qbuilder-bg-apercu {
    background: #e6e6e6;
    border-radius: 0.5rem;
    min-height: 35px;
    
}

#qbuilder-bg-apercuContainer{
    display: flex;
    flex-wrap: wrap;
}

.qbuilder-badge-donnees {
    display: inline-block;
    padding: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    color: #ffffff;
    background-color: #118ab2;
    border-radius: 0.5rem;
    line-height: 1rem;
}

.qbuilder-badge-apercu {
    display: inline-block;
    padding: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    color: #ffffff;
    background-color: #969696;
    border-radius: 0.5rem;
    line-height: 1rem;
    white-space: nowrap;
    overflow: hidden;
}

.qbuilder-title-donnees {
    color: #118ab2;
    font-weight: bold;
}

.qbuilder-title-apercu {
    color: #7a7a7a;
    font-weight: bold;
}


.qbuilder-highlight-donnees {
    display: inline-block;
    padding: 0;
    color: #ffffff;
    background-color: inherit;
    border-radius: 0.5rem;
    line-height: 1rem;
    margin-top: -1px;
    border:3px dashed #118ab2;
 }

 .qbuilder-highlight-donnees:after {
    display: inline-block;
    content: '\F4FC';
    font-family:  bootstrap-icons !important;
    font-weight: 900; 
    font-size: 2rem;
    padding: 1rem;
    color: #118ab2
}

.qbuilder-bg-filtre {
    background: #caebdc;
    border-radius: 0.5rem;
    min-height: 75px;
}

.qbuilder-badge-filtre {
    display: inline-block;
    padding: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    color: #ffffff;
    background-color: #198754;
    border-radius: 0.5rem;
    line-height: 1rem;
}

.qbuilder-title-filtre {
    color: #198754;
    font-weight: bold;
}

.qbuilder-bg-filtre .btn-check + .btn {
    background-color: #caebdc;
    color: #ffffff;
}

.qbuilder-bg-filtre .btn-check:checked + .btn {
    background-color: #198754;
}

.qbuilder-highlight-donnees {
    display: inline-block;
    padding: 0;
    color: #ffffff;
    background-color: inherit;
    border-radius: 0.5rem;
    line-height: 1rem;
    margin-top: -1px;
    border:3px dashed #118ab2;
 }

 .qbuilder-highlight-donnees:after {
    display: inline-block;
    font-family: bootstrap-icons;  
    font-weight: 900; 
    font-size: 1rem;
    content: "\F4FC";
    padding: 1rem;
    color: #118ab2
}

.qbuilder-highlight-donnees {
    display: inline-block;
    padding: 0;
    color: #ffffff;
    background-color: inherit;
    border-radius: 0.5rem;
    line-height: 1rem;
    margin-top: -1px;
    border:3px dashed #118ab2;
 }

 .qbuilder-highlight-donnees:after {
    display: inline-block;
    font-family: bootstrap-icons;  
    font-weight: 900; 
    font-size: 1rem;
    content: "\F4FC";
    padding: 1rem;
    color: #118ab2
}

/** Découpeur PDF */

#canvaPreview {
    width: 100%;
    height: 100%;
    background: var(--menu-hover-bg);
    overflow: auto;
}

.pdfCanvasContainer {
    margin: 1%;
    border: 1px solid rgba(0, 0, 0, 0.2); 
    width: 18%;
    padding: 0.75rem; 
    background:var(--oci-surface4);
    float:left;
    text-align:center;
    border-radius: 0.5rem;
    position:relative;
}

.pdfCanvasContainerChecked {
    background:var(--primary-opacity);
}

.pdfCanvasContainerChecked:before {
    font-family: bootstrap-icons;  
    font-size: 5rem;
    content: "\F26A";
    margin-right:0.5rem;
    color: var(--oci-primary);
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%,-50%) !important;
    opacity:0.75;
}

.pdfCanvasContainerCheckedNumber {
    font-size: 1.5rem;
    background: var(--oci-primary);
    color: #fff;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%,-50%) !important;
    opacity:0.75;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-weight:bold;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.pdfCanvas {
    margin: 0;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.2); 
    max-width: 100%;
    max-height: 95%;
}

.iconColorPagecontainer {
    position:absolute;
    top:0;
    right:0;
    margin-top:-10px;
    margin-right:-5px;
}

.iconColorPagecontainer2 {
    position:absolute;
    top:0;
    right:0;
    margin-top:-10px;
    margin-right:10px;
}

/****** Timeline ******/

.timeline {
    position: relative;
    width: 100%;
}

.timeline .timeline-container {
    position: relative;
    width: 100%;
}

.timeline .timeline-end,
.timeline .timeline-start,
.timeline .timeline-year {
    position: relative;
    width: 100%;
    text-align: center;
    z-index: 1;
}

.timeline .timeline-end p,
.timeline .timeline-start p,
.timeline .timeline-year p {
    display: inline-block;
    margin: 0;
    padding: 10px 20px;
    text-align: center;
    background: var(--oci-primary);
    border-radius: 2rem;
    color: #ffffff;
    font-weight: bold;
}

.timeline-continue .timeline-year {
    margin: 30px 0;
}

.timeline .timeline-continue::after {
    position: absolute;
    content: "";
    width: 2px;
    height: 100%;
    top: 0;
    left: 50%;
    margin-left: -1px;
    background: var(--oci-secondary);
    opacity: 0.25;
}

.timeline .row.timeline-left,
.timeline .row.timeline-right .timeline-date {
    text-align: right;
}


.timeline .row.timeline-left .timeline-box {
    text-align: left;
}

.timeline .row.timeline-right,
.timeline .row.timeline-left .timeline-date {
    text-align: left;
}

.timeline .timeline-text p {
    margin-bottom: inherit;
}

.timeline .timeline-date {
    font-weight: bold;
    margin: 41px 0 0 0;
    width:100%;
    position: relative;
}

.timeline .timeline-date::after {
    content: '';
    display: block;
    position: absolute;
    width: 14px;
    height: 14px;
    top: 5px;
    background: var(--oci-primary);
    border-radius: 15px;
    z-index: 1;
}

.timeline .timeline-date-supression::after {
    background: var(--danger);
}

.timeline .row.timeline-left .timeline-date::after {
    left: -19px;
}
  
.timeline .row.timeline-right .timeline-date::after {
    right: -19px;
} 

.timeline .timeline-box {
    position: relative;
    display: inline-block;
    margin: 15px;
    padding: 20px;
    border: 1px solid #dddddd;
    border-radius: 0.5rem;
    background: var(--oci-surface4);
}

.timeline .timeline-box::after,
.timeline .timeline-box::before {
  content: '';
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

.timeline .row.timeline-left .timeline-box::after,
.timeline .row.timeline-left .timeline-box::before {
  left: 100%;
}

.timeline .row.timeline-right .timeline-box::after,
.timeline .row.timeline-right .timeline-box::before {
  right: 100%;
}

.timeline .timeline-launch .timeline-box::after,
.timeline .timeline-launch .timeline-box::before {
  left: 50%;
  margin-left: -10px;
}

.timeline .timeline-box::after {
  top: 26px;
  border-color: transparent transparent transparent #ffffff;
  border-width: 10px;
}

.timeline .timeline-box::before {
  top: 25px;
  border-color: transparent transparent transparent #dddddd;
  border-width: 11px;
}

.timeline .row.timeline-right .timeline-box::after {
  border-color: transparent #ffffff transparent transparent;
}

.timeline .row.timeline-right .timeline-box::before {
  border-color: transparent #dddddd transparent transparent;
}

.timeline .timeline-launch .timeline-box::after {
  top: -20px;
  border-color: transparent transparent #dddddd transparent;
}

.timeline .timeline-launch .timeline-box::before {
  top: -19px;
  border-color: transparent transparent #ffffff transparent;
  border-width: 10px;
  z-index: 1;
}

.bi-bistack {
    display: inline-block;
  vertical-align: middle;
  height: 1.75em;
  position: relative;
  width: 2.5em;
  line-height: 2em;
}

.bi-bistack-2x {
    bottom: 0;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    text-align: center;
  width: 100%;
  font-size: 2em;
}

.bi-bistack-1x {
    bottom: 0;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    line-height: inherit;
    text-align: center;
  width: 100%;
  font-size: 1em;
}

/* Tooltip */

i.info {
    color: var(--oci-primary);
}

.tooltip-inner {
    color: #fff;
    font-size: 0.75rem;
    padding: 0.75rem;
    opacity: 0.90;
}

.tooltip-inner p {
    padding: 0;
    margin: 0;
}

.mt-1px {
    margin-top:-1px;
}
