@charset "UTF-8";

@import "../node_modules/text-security/text-security.css";

@media print {
    body {
        visibility: hidden;
    }

    .printable .fc-view-harness-active {
        font-size: 12px;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        display: block;
        visibility: visible !important;
        width: 100% !important;
        max-width: none !important;
        height: 100% !important;
        max-height: none !important;
        margin: 0 !important;
        color-adjust: exact !important;
        -webkit-print-color-adjust: exact !important;
        page-break-after: always;
    }

    .fc-col-header,
    .fc-daygrid-body {
        width: 100% !important;
    }

    .fc-scrollgrid-sync-table {
        width: 100% !important;
        height: 100% !important;
    }

    .fc .fc-daygrid-day-frame {
        min-height: 0 !important;
    }

    .fc-daygrid-day-bottom {
        position: absolute !important;
        top: -25px !important;
    }

    .fc-timegrid-body,
    .fc-timegrid-body table,
    .fc-timegrid-cols table {
        width: 100% !important;
    }
}

*,
p,
h1 {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: rgb(var(--detail-police));
}

.breadcrumb-item a {
    text-decoration: revert;
}

html,
body {
    height: 100%;
}

body {
    font-size: 0.85rem;
    padding-top: 28px;
}

#watermark {
    font-size: 50px;
    line-height: 4;
    position: fixed;
    z-index: 99999999;
    top: 0;
    left: 11%;
    display: none;
    width: 200%;
    height: 100%;
    margin: 0;
    user-select: none;
    transform: rotate(-30deg);
    transform-origin: 0 200%;
    pointer-events: none;
    color: rgba(128, 128, 128, 0.1);
}

#watermark span {
    margin-left: 50px;
}

#ribbonTest {
    font-size: 25px;
    position: fixed;
    z-index: 998;
    top: 120px;
    right: -65px;
    display: none;
    width: 350px;
    transform: rotate(45deg);
    text-align: center;
    pointer-events: none;
    opacity: 0.5;
    color: #f0f0f0;
    background-color: #ee4433;
}

label.obligatoire:after {
    font-size: 10px;
    content: '(obligatoire)';
}

label.obligatoire.is-load:after {
    content: '';
}

.base-test #watermark,
.base-test #ribbonTest {
    display: block;
}

#background_ajax {
    position: fixed;
    z-index: 9999 !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    transition: opacity 0.25s;
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.4);
}

#background_ajax.hidden {
    z-index: -1 !important;
    display: block !important;
    opacity: 0 !important;
}

#background_ajax:before {
    position: absolute;
    top: CALC(50% - 100px);
    left: CALC(50% - 100px);
    display: block;
    width: 200px;
    height: 200px;
    content: '';
    animation: spin 0.8s linear infinite;
    border-top: 4px solid rgb(var(--bordures));
    border-radius: 50%;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* orders */
.order-5 {
    order: 5 !important;
}

.order-6 {
    order: 6 !important;
}

.order-7 {
    order: 7 !important;
}

.order-8 {
    order: 8 !important;
}

.order-9 {
    order: 9 !important;
}

/* GLOBAL */
.d-flex {
    position: relative;
}

.row + .row {
    margin-top: 1rem;
}

.container,
.container-fluid {
    height: 100%;
}

.h-0 {
    height: 0;
}

.h-min-content {
    height: min-content !important;
}

.w-min-content {
    width: min-content !important;
}

.min-h-100 {
    min-height: 100% !important;
}

.min-h-75-maxpage {
    min-height: CALC(75vh - 12.9rem) !important;
}

.no-min-h .min-h-75-maxpage {
    min-height: 100% !important;
}

.min-h-maxpage {
    min-height: CALC(100vh - 12.9rem) !important;
}

.no-min-h .min-h-maxpage {
    min-height: 100% !important;
}

[id^='zone_popin'] .min-h-maxpage {
    min-height: CALC(100vh - 8rem) !important;
}

.w-0 {
    width: 0;
}

.min-h-0 {
    min-height: 0 !important;
}

.min-h-auto {
    min-height: auto !important;
}

.min-w-0 {
    min-width: 0 !important;
}

.min-w-25 {
    min-width: 25% !important;
}

.min-w-100 {
    min-width: 100% !important;
}

.ms-n3 {
    margin-left: -0.75rem;
}

.flex-truncate {
    overflow: hidden;
    flex: 1;
    width: 0;
    text-overflow: ellipsis;
}

.whitespace-breakspaces {
    white-space: break-spaces;
}

.whitespace-nowrap {
    white-space: nowrap;
}

.gap-4 {
    margin-left: -1.5rem;
    gap: 0 !important;
}

.gap-4 > * {
    margin: 0.75rem 0 0.75rem 1.5rem;
}

.overflow-y-auto {
    overflow-x: hidden;
    overflow-y: auto !important;
}

.input-group .form-control,
.input-group .form-select {
    flex: 1;
    border-top-left-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;
}

.input-group-text {
    display: flex;
    justify-content: center;
    min-width: 2rem;
    padding: 0 5px;
    outline: 0 !important;
}

.valign-center {
    vertical-align: middle;
}

.col-imuse-full {
    flex: 0 0 auto;
    width: 100%;
}

.col-imuse-full + .col-imuse-full {
    margin-top: 1.5rem;
}

.time {
    font-size: 24px;
    line-height: 1;
    margin-top: -5px;
    cursor: pointer;
}

label.disabled {
    color: rgba(var(--detail-police), 0.5);
}

label.obligatoire.disabled {
    background: rgba(var(--form-obligatoire), 0.5);
}

fieldset > legend {
    font-size: 14px !important;
    line-height: 0.9rem;
    display: flex;
    align-items: center;
    width: auto !important;
    min-height: 17px;
    margin: 0;
    padding: 0 0.25rem !important;
    color: rgb(var(--detail-police));
    gap: 0.25rem;
}

fieldset > legend.obligatoire {
    background: rgb(var(--form-obligatoire));
}

fieldset > legend.obligatoire-important {
    background: rgb(var(--form-obligatoire)) !important;
}

fieldset > legend.obligatoire:after {
    font-size: 10px;
    content: '(obligatoire)';
}

fieldset > legend.is-load:after {
    content: '';
}

fieldset.is-invalid {
    border: 1px solid var(--bs-danger);
}

/* CURSEURS */
.cursor-zoomIn {
    cursor: zoom-in;
}

.cursor-pointer {
    cursor: pointer;
}

.nav-divider {
    width: 10%;
}

input.password {
    font-family: text-security-disc, serif;
    -webkit-text-security: disc;
    font-size: 14px;
}

.password_visibilite_bouton {
    position: absolute;
    height: 70%;
    right: 0.25rem;
    cursor: pointer;
    opacity:0.4;
}

.hidden {
    display: none !important;
}

.logoText {
    font-family:
        'goodTimesRg',
        system-ui,
        -apple-system,
        'Segoe UI',
        Roboto,
        'Helvetica Neue',
        Arial,
        'Noto Sans',
        'Liberation Sans',
        sans-serif,
        'Apple Color Emoji',
        'Segoe UI Emoji',
        'Segoe UI Symbol',
        'Noto Color Emoji';
    letter-spacing: 0.3125rem;
    color: #33437b;
}

.logoText:first-letter {
    font-family:
        system-ui,
        -apple-system,
        'Segoe UI',
        Roboto,
        'Helvetica Neue',
        Arial,
        'Noto Sans',
        'Liberation Sans',
        sans-serif,
        'Apple Color Emoji',
        'Segoe UI Emoji',
        'Segoe UI Symbol',
        'Noto Color Emoji';
}

.flex-1 {
    flex: 1;
}

.flex-2 {
    flex: 2;
}

.p-margin p {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* LOGIN */
.login {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
}

.login .container {
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 100%;
    padding-top: 3.125rem;
    padding-bottom: 3.125rem;
}

.login .logo {
    position: absolute;
    top: 10px;
    left: CALC(50%);
    width: 200px;
    height: auto;
    transform: translate(-50%);
}

.login .btn {
    background-color: #dbdef0;
}

.login .version {
    font-size: 0.75rem;
    margin-bottom: -1.25rem;
    margin-left: auto;
}

.bloc_bouton_sso {
    width: 100%;
}

.bloc_bouton_sso button {
    font-size: 1rem;
    display: flex;
    overflow: hidden;
    align-items: center;
    width: 100%;
    height: 3rem;
    padding: 0.5rem;
    text-overflow: ellipsis;
    background: #ffffff;
}

.bloc_bouton_sso .logo-btn {
    width: 1.5rem;
    height: 1.5rem;
}

/* menu Accessibilité */
.skippy {
    font-size: 1rem;
    position: fixed;
    z-index: 998;
    top: 0;
    justify-content: center;
    width: 100%;
    height: 27px;
    transition: padding-left 0.25s;
    border-bottom: 1px solid rgb(var(--bordures));
    background-color: rgb(var(--menu-barre));
}

.skippy ul {
    display: flex;
    justify-content: space-around;
}

.skippy ul li {
    text-decoration: none;
}

.skippy ul li a {
    color: rgb(var(--menu-barre-police)) !important;
}

.visually-hidden-focusable:focus ~ header .navbar,
.visually-hidden-focusable:focus-within ~ header .navbar {
    top: 1.75rem !important;
}

/* MENU */
.navbar {
    font-size: 1rem;
    position: fixed;
    z-index: 998;
    top: 0;
    justify-content: center;
    width: 100%;
    height: 1.75rem;
    transition: padding-left 0.25s;
    border-bottom: 1px solid rgb(var(--bordures));
    background-color: rgb(var(--menu-barre));
}

.navbar > #navbar_menu > .navbar-nav > .nav-item > .nav-link:after {
    display: none;
}

.navbar .navbar-nav {
    justify-content: space-between;
    width: 100%;
}

.navbar-collapse {
    margin-right: 0;
    margin-left: 3rem;
    transition: margin-left 0.25s;
}

.est_epingle .navbar-collapse {
    margin-left: 12rem;
}

.collapse:not(.show) {
    display: none !important;
}

.navbar .nav-link {
    font: inherit;
    padding: 0;
    cursor: pointer;
    transition: none;
    color: rgb(var(--menu-police));
    border: 0;
    border: none;
    background: rgb(var(--menu));
}

.navbar-toggler {
    margin-top: -6px;
    margin-right: 1rem;
    margin-left: auto;
    padding: 0;
    outline: none;
    box-shadow: none;
}

.navbar-toggler span {
    position: relative;
    display: block;
    width: 2rem;
    height: 0.25rem;
    margin-bottom: 5px;
    border-radius: 3px;
    background: rgb(var(--menu-barre-police));
}

.navbar-toggler span:last-of-type {
    margin-bottom: 0;
}

.dropdown .dropdown-menu {
    font-size: inherit;
    top: CALC(100% + 0.25rem);
    overflow: hidden auto;
    width: 100%;
    max-height: 80vh;
    margin-top: 0;
    border: 0;
    border-radius: 0 0 0.25rem 0.25rem;
    background-color: rgb(var(--menu));
}

.nav-item.dropdown > .dropdown-menu {
    box-shadow: 0 0.25rem 1.5rem 0 rgba(34, 41, 47, 0.1);
}

.nav-item.dropdown > .dropdown-menu > div.d-flex {
    gap: 1rem 0;
}

.dropdown .dropdown-menu.show {
    display: none;
}

.dropdown > .dropdown-menu:not(.dropdown-menu-end) {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
}

.dropdown > .dropdown-menu.dropdown-menu-end {
    left: 0;
}

.dropdown .dropdown-menu .nav-item {
    width: 21rem;
    padding: 0 1.5rem;
}

.dropdown .dropdown-menu .nav-item.disabled * {
    color: rgba(var(--menu-police), 0.25);
}

.dropdown .dropdown-menu .nav-item.disabled .dropdown-title:before {
    color: rgba(var(--menu-police), 0.25);
    background: rgb(var(--menu-police), 0.25);
}

.dropdown .dropdown-menu .dropdown-item {
    color: rgb(var(--menu-police));
}

.dropdown .dropdown-menu .dropdown-title {
    font-weight: bold;
    position: relative;
    display: block;
    padding-left: 0.5rem;
    color: rgb(var(--menu-police));
}

.dropdown .dropdown-menu .dropdown-title:before {
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 100%;
    height: 1px;
    content: '';
    background: rgb(var(--menu-police));
}

.dropdown .dropdown-item {
    padding: 0.25rem 1rem;
    cursor: pointer;
}

.dropdown .dropdown-item.disabled {
    color: rgba(var(--menu-police), 0.25);
}

.dropdown .dropdown-item:after {
    position: absolute;
    top: 0.5rem;
    right: 0.25rem;
}

.dropdown .dropdown-item:hover {
    background: rgb(var(--menu-survol));
}

.dropdown .dropdown-menu:not(.dropdown-menu-end) > .dropdown-item,
.dropdown .dropdown-submenu {
    width: 18rem;
}

.dropdown .dropdown-toggle:after {
    position: relative;
    top: 0.25rem;
    left: 0.5rem;
    transition: transform 0.25s;
    transform-origin: 0.125rem 0.25rem;
    border-top: 0.3125rem solid transparent;
    border-right: 0.3125rem solid transparent;
    border-bottom: 0.3125rem solid transparent;
    border-left: 0.3125rem solid;
}

.dropup .dropdown-toggle:after {
    margin-left: 0.5em;
    border-top: 0.3em solid;
    border-top: 0;
}

.dropup.dropup-bottom .dropdown-toggle:after {
    border-top: 0.3em solid;
    border-bottom: 0;
}

.dropdown .dropdown-toggle.open + .dropdown-menu,
.dropdown .dropdown-submenu.open > .dropdown-menu {
    display: block;
}

.dropdown .dropdown-submenu {
    position: relative;
}

.dropdown .dropdown-submenu.open {
    border-radius: 0.5rem;
    background: rgba(0, 0, 0, 0.04);
}

.dropdown .dropdown-item:focus {
    background-color: inherit !important;
}

.dropdown .dropdown-submenu:first-of-type.open {
    border-radius: 0;
}

.dropdown .dropdown-submenu:not(:first-of-type).open > .dropdown-item:first-of-type {
    font-weight: bold;
    border-radius: 0.5rem 0.5rem 0 0;
}

.dropdown .dropdown-submenu .dropdown-item {
    position: relative;
}

.dropdown .dropdown-submenu > .dropdown-item:after,
.dropup .dropdown-submenu > .dropdown-item:after {
    position: absolute;
    top: 50%;
    right: 4px;
    content: '';
    transition: all 0.25s;
    transform: translateY(-50%);
    border-top: 0.3125rem solid transparent;
    border-right: 0.3125rem solid transparent;
    border-bottom: 0.3125rem solid transparent;
    border-left: 0.3125rem solid;
}

.dropdown .dropdown-submenu > .dropdown-menu {
    position: relative !important;
    top: 0;
    left: 0;
    overflow: hidden;
    margin: 0;
    border: 0;
    background-color: transparent;
}

.dropdown .dropdown-toggle.open:after,
.dropdown .dropdown-submenu.open > .dropdown-item:after {
    top: CALC(50% - 2px);
    right: 7px;
    transform: rotate(90deg);
}

/* Icon d'alerte - menu */
.alert-icon-1,
.alert-icon-2 {
    position: fixed;
    z-index: 999;
    top: 2px;
    right: 25%;
    display: block;
    width: 24px;
    height: 24px;
    transition: transform 0.1s;
    transform-origin: center top;
    border: 1px solid rgb(var(--menu-barre));
    background-color: rgb(var(--menu-barre-police));
    mask: url(../img/alerts.png);
    mask-size: 22px;
    -webkit-mask-box-image: url(../img/alerts.png);
    -webkit-mask-size: 22px;
}

.alert-icon-1 {
    position: relative;
    right: auto;
    left: auto;
}

.alert-icon-1:hover,
.alert-icon-2:hover {
    animation: alert 0.5s ease-out;
}

@keyframes alert {
    16.66% {
        transform: rotate(25deg);
    }
    33.32% {
        transform: rotate(-20deg);
    }
    50% {
        transform: rotate(15deg);
    }
    66.66% {
        transform: rotate(-10deg);
    }
    83.32% {
        transform: rotate(5deg);
    }
    100% {
        transform: rotate(-0deg);
    }
}

/* PALETTE */
.nav {
    z-index: 999;
    display: flex;
    overflow: hidden;
    width: 3rem;
    height: CALC(100vh - 1.8125rem);
    transition: width 0.25s;
    transition-delay: 0.15s;
    border: 0;
    background-color: rgb(var(--palette));
    box-shadow: 0 0.25rem 1.5rem 0 rgba(34, 41, 47, 0.1);
}

.nav-item:focus,
.nav:hover,
.nav.swipeRight {
    overflow-y: auto;
    width: 12rem;
}

.nav .btn.btn-epinglePalette {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    min-width: 0;
    height: 1.25rem;
    margin: 0.25rem 0.5rem 0.25rem auto;
    padding: 2px;
    pointer-events: none;
    opacity: 0;
    color: inherit;
    border: none;
    background: none;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.nav .nav-item:first-of-type {
    width: 11.95rem;
    text-align: right;
    background: none !important;
}

.nav .nav-item .nav-link {
    font: inherit;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.25rem;
    cursor: pointer;
    transition: margin-left 0.125s;

    text-decoration: none;
    color: rgb(var(--palette-police));
    border: none;
    background: none;
}

.nav .nav-item:hover {
    background-color: rgb(var(--palette-survol));
}

.nav .nav-item:hover .nav-link {
    margin-left: 0.5rem;
}

.nav .nav-item .palette-img {
    width: 2.5rem;
}

.nav .nav-item .palette-texte {
    margin-left: 0.5rem;
    white-space: nowrap;
}

.palette-plan {
    display: block;
    width: 100%;
    margin-top: auto;
    margin-bottom: 0.5rem;
    text-align: center;
}

/* GRILLES */
.grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 1rem;
    grid-auto-columns: auto;
}

.grid.grid-10 {
    grid-template-columns: repeat(10, 1fr);
}

[class^='grid-col-'] {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 30px;
}

hr[class^='grid-col-'] {
    margin: 0;
    background: transparent;
}

hr[class^='grid-col-']:before {
    position: absolute;
    width: 100%;
    height: 1px;
    margin-top: auto;
    margin-bottom: auto;
    content: '';
    background: currentColor;
}

.hr {
    display: flex;
    align-items: center;
    text-align: center;
    opacity: 0.25;
}

.hr:before,
.hr:after {
    flex: 1;
    height: 1px;
    margin: 0 0.5em;
    content: '';
    background: currentColor;
}

.grid-row-2 {
    grid-row: span 2;
}

.grid-col-1 {
    grid-column: span 1;
}

.grid-col-2 {
    grid-column: span 2;
}

.grid-col-3 {
    grid-column: span 3;
}

.grid-col-4 {
    grid-column: span 4;
}

.grid-col-5 {
    grid-column: span 5;
}

.grid-col-6 {
    grid-column: span 6;
}

.grid-col-7 {
    grid-column: span 7;
}

.grid-col-8 {
    grid-column: span 8;
}

.grid-col-9 {
    grid-column: span 9;
}

.grid-col-10 {
    grid-column: span 10;
}

.grid-col-11 {
    grid-column: span 11;
}

.grid-col-12 {
    grid-column: span 12;
}

.grid-col-4.grid-center {
    grid-column-start: 5;
    grid-column-end: 9;
}

.grid-col-6.grid-end {
    grid-column-start: 7;
    grid-column-end: 13;
}

.grid .form-control,
.grid .form-select {
    width: 100%;
}

textarea.form-control.text-justify {
    text-align: justify;
    white-space: pre-line;
}

hr {
    width: 100%;
    margin: 1.25rem 0;
}

.table_inverse tr {
    display: block;
    float: left;
}

.table_inverse th,
.table_inverse td {
    display: block;
    height: 23px;
}

.form-control[type='file'] {
    padding: 0.375rem 0.75rem;
}

/* TRANSITIONS */
.transition {
    overflow: hidden;
    transition: all 0.5s;
    white-space: nowrap;
}

/* TABBOX */
.tabbox.tabbox-interface {
    height: 100%;
}

.tabbox.tabbox-interface .tabbox-tabs {
    position: fixed;
    z-index: 3;
    top: 4.5625rem;
    right: 0;
    left: 3.663rem;
    display: flex;
    overflow: hidden;
    transition: left 0.25s;
    text-overflow: clip;
}

.contenu-interface .contenuHeader.has-photo ~ .contenuBody .tabbox-tabs {
    left: 8.6625rem;
}

.tabbox .tabbox-pane {
    position: relative;
    display: none;
    width: 100%;
}

.tabbox .btn.btn-tab {
    min-width: auto;
    margin: 0 0.125rem;
    padding: 0.125rem 0.5rem;
    white-space: nowrap;
    background: none;
}

.tabbox .btn.btn-tab:hover {
    color: rgb(var(--detail-police));
    background: rgba(var(--bouton)) !important;
}

.tabbox .btn.btn-tab.active {
    border-bottom: 1px solid rgb(var(--detail-fond));
    background: rgb(var(--bouton));
}

.tabbox .tabbox-content {
    display: flex;
    height: 100%;
}

.tabbox .tabbox-pane.active {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* FORMULAIRES */
.form-label {
    font-size: 0.9em;
    line-height: 0.9rem;
    position: absolute;
    z-index: 2;
    top: -10px;
    left: 0.5rem !important;
    display: flex;
    overflow: hidden;
    align-items: center;
    max-width: 100%;
    min-height: 17px;
    padding: 0 0.25rem !important;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: rgb(var(--detail-police));
    border-radius: 0.25rem;
    background: rgb(var(--detail-cartes));
    gap: 0.25rem;
}

.footer .form-label {
    border-radius: 0.25rem;
    background: rgb(var(--detail-fond)) !important;
}

.label-disabled {
    background: linear-gradient(to bottom, transparent 57%, rgb(233, 236, 239) 57%) !important;
    border-radius: 0.25rem !important;
}

label.obligatoire,
p.obligatoire {
    padding: 0 0.25rem;
    background: rgb(var(--form-obligatoire));
}
label.obligatoire-important,
p.obligatoire-important {
    background: rgb(var(--form-obligatoire)) !important;
}

.obligatoire-texte {
    font-size: 10px;
}

.form .form-control {
    position: relative;
    width: 100%;
    transition: box-shadow 150ms ease-out;
    border: 0;
    outline: 0;
}

.form-select {
    font-size: 13px;
    width: auto;
    min-height: 30px;
    padding: 0.35rem 1.5rem 0 0.5rem;
    border-radius: 0.2rem;
    background-position: top 0.6rem right 0.5rem;
    caret-color: black;
}

select[multiple] {
    background-image: none !important;
}

option.separateur {
    font-size: 0.0625em;
    margin: 5px 0;
    background-color: rgb(var(--bordures));
}

.form-control.form-select {
    padding: 0.5rem 2rem 0.25rem 0.5rem;
}

.form-control.form-select + .input-group-text {
    border-radius: 0 0.25rem 0.25rem 0 !important;
}

.form-control {
    font-size: 13px;
    width: auto;
    min-height: 30px;
    padding: 5px 8px 0;
    caret-color: black;
}

.form-control[data-entier]:not([id^='EXPORT_CHAMP_PARAM']),
.form-control[data-reel]:not([id^='EXPORT_CHAMP_PARAM']) {
    text-align: right;
}

.form-control:focus,
.form-select:focus {
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    box-shadow: 0 2px 0 0 rgb(var(--bordures));
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}

input[data-editable]:not([hidden]) + datalist,
input[data-editable]:not(.hidden) + datalist,
input[data-editable]:not([hidden]) + select + datalist,
input[data-editable]:not(.hidden) + select + datalist {
    display: block;
    overflow: hidden;
    width: 0;
    height: 0;
}

input[data-editable][hidden] + datalist,
input[data-editable].hidden + datalist,
input[data-editable][hidden] + select + datalist,
input[data-editable].hidden + select + datalist,
input[data-editable][hidden] + select,
input[data-editable].hidden + select {
    display: none;
}

input[data-editable]:disabled + select {
    pointer-events: none;
    background-color: #e9ecef;
}

/*Correction des pseudos éléments des datalist si présence d'un label indiquant la valeur précédente du champ (sas réinscriptions) */
datalist:has(+ label):before {
    bottom: 18px;
}

datalist:has(+ label):after {
    content: none;
}

datalist:before {
    position: absolute;
    z-index: 1;
    bottom: 5px;
    left: 8px;
    width: CALC(100% - 50px);
    height: 1px;
    content: '';
    background: #ced4da;
}

datalist:after {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 32px;
    bottom: 5px;
    width: 1px;
    height: 100%;
    content: '';
    background: #ced4da;
}

.input-group datalist:before {
    width: CALC(100% - 62px);
}

.input-group input[data-editable] + select {
    right: 30px;
    width: CALC(100% - 29px);
}

.input-group input[data-editable] + select + datalist:before {
    width: CALC(100% - 78px);
}

.input-group input[data-editable] + select + datalist:after {
    right: 62px;
}

input::-webkit-calendar-picker-indicator {
    opacity: 0;
}

.input-group input[data-editable] + select + datalist + .input-group-text {
    position: absolute;
    right: 0;
    height: 100%;
}

.input-group .input-group-btn {
    min-width: 3rem;
    border-top-left-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;
}

.input-group .form-label {
    z-index: 10;
}

.input-group .input-group-btn + .form-label {
    margin-left: 3rem !important;
}

.input-group .input-group-btn + .form-label + .form-control {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

input[type='checkbox'],
input[type='radio'] {
    position: absolute;
    pointer-events: none;
    opacity: 0;
}

.tabulator input[type='checkbox'],
.tabulator input[type='radio'] {
    position: relative;
    opacity: 1;
}

input:focus-visible + label {
    outline: 2px solid #0060df;
}

.tabulator input[type='checkbox'] + label,
.tabulator input[type='radio'] + label {
    height: 0.75rem;
    cursor: pointer;
}

.tabulator input[type='checkbox']:disabled,
.tabulator input[type='radio']:disabled {
    opacity: 0.5;
}
.tabulator-cell {
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}
.tabulator-cell.input-editable {
    background-color: white;
    border: 1px solid !important;
    border-right: 1px solid !important;
    margin-bottom: 2px;
    border-radius: 10px;
    align-items: center;
}

.tabulator-col-title .form-select {
    padding: 0 1.75rem 0 0.75rem !important;
    background-position: top 0.3rem right 0.5rem;
    min-height: 0;
    display: unset;
}

input[type='checkbox'] + label:not(.form-label),
input[type='radio'] + label:not(.form-label) {
    position: relative;
    padding-left: 1.25rem;
}

input[type='checkbox'] + label.radio-top:not(.form-label),
input[type='radio'] + label.radio-top:not(.form-label) {
    padding-top: 1rem;
    padding-left: 0;
}

input[type='checkbox'] + label:before,
input[type='radio'] + label:before,
input[type='checkbox'] + label:after,
input[type='radio'] + label:after {
    position: absolute;
    content: '';
    border-radius: 0.125rem;
}

input[type='radio'] + label:before,
input[type='radio'] + label:after {
    border-radius: 50%;
}

input[type='checkbox'] + label:before,
input[type='radio'] + label:before {
    top: 50%;
    left: 0;
    width: 15px;
    height: 15px;
    transform: translate(0, -50%);
    border: 1px solid rgb(0, 0, 0, 0.5);
    background: rgb(255, 255, 255);
}

input[type='checkbox'] + label.checkbox-top:before,
input[type='radio'] + label.radio-top:before {
    top: 0;
    left: 50%;
}

input[type='checkbox'] + label:after,
input[type='radio'] + label:after {
    top: 50%;
    left: 2px;
    width: 11px;
    height: 11px;
    transition: opacity 0.125s;
    transform: translate(0, -50%);
    transform-origin: center center;
    opacity: 0;
    background: rgb(0, 80, 185);
}

input[type='checkbox'] + label.checkbox-top:after,
input[type='radio'] + label.radio-top:after {
    top: 0;
    left: CALC(50% + 0.125rem);
}

input[type='checkbox']:checked + label:after,
input[type='radio']:checked + label:after {
    opacity: 1;
}

p.form-label input[type='checkbox'] + label,
p.form-label input[type='radio'] + label.form-label {
    overflow: hidden;
    height: 16px;
    margin-top: 0 !important;
    text-overflow: ellipsis;
}

input[type='checkbox'] + label.form-label:before,
input[type='radio'] + label.form-label:before {
    left: 0.25rem;
}

input[type='checkbox'] + label.form-label:after,
input[type='radio'] + label.form-label:after {
    left: 0.375rem;
}

p.form-label input[type='checkbox'] + label,
p.form-label input[type='radio'] + label {
    height: 16px;
}

input[type='checkbox'][disabled] + label,
input[type='radio'][disabled] + label {
    opacity: 0.5;
}

.align-radio {
    margin-left: 0.75rem;
}

.tabulator input[type='checkbox'],
.tabulator input[type='radio'] {
    font: inherit;
    display: grid;
    width: 16px;
    height: 16px;
    margin: 3px auto auto;
    transform: translateY(-0.075em);
    pointer-events: none;
    color: currentColor;
    border: 1px solid rgb(0, 0, 0, 0.5);
    border-radius: 0.125rem;
    background-color: #ffffff;
    appearance: none;
    place-content: center;
}

.tabulator:focus-within {
    outline: 1px solid rgb(var(--bordures)) !important;
}

input[type='checkbox'].checkable,
input[type='radio'].checkable,
.tabulator-col-title input[type='checkbox'],
.tabulator-col-title input[type='radio'] {
    pointer-events: auto;
}

.tabulator input[type='checkbox']:before,
.tabulator input[type='radio']:before {
    width: 12px;
    height: 12px;
    content: '';
    transition: 120ms opacity ease-in-out;
    opacity: 0;
    border-radius: 0.125rem;
    box-shadow: inset 1em 1em rgb(0, 80, 185);
}

.tabulator input[type='checkbox']:checked:before,
.tabulator input[type='radio']:checked:before {
    opacity: 1;
}

.tabulator input[type='checkbox']:indeterminate:before {
    transform: scaleX(1) scaleY(0.2) !important;
    opacity: 1;
}

/* BOUTONS */
.button-group {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.btn {
    font-size: 0.85rem;
    min-width: 5rem;
    padding: 0.25rem 0.5rem;
    color: rgb(var(--bouton-police));
    border: 0 !important;
    border-radius: 0.25rem;
    outline: none !important;
    background-color: rgb(var(--bouton));
    box-shadow: none !important;
}

.btn.btn-danger {
    color: #ffffff;
    border-color: #b02a37;
    background-color: #b50000;
}

.btn:hover,
.btn:focus {
    color: rgb(var(--bouton-police)) !important;
    background-color: rgb(var(--bouton-survol)) !important;
}

.btn.btn-danger:hover,
.btn.btn-danger:focus {
    color: #ffffff !important;
    background-color: #7d0000 !important;
}

.btn.btn-close {
    font-size: 1.5rem;
    line-height: 1;
    min-width: 0;
    margin: 0;
    padding: 0 2px 4px 2px;
    text-decoration: none;
    background: none;
}

.btn.btn-close:hover {
    background-color: rgba(0, 0, 0, 0.15) !important;
}

#btn-filtres {
    position: relative;
}

#btn-filtres .badge {
    position: absolute;
    top: -7px;
    right: -9px;
    width: auto;
    margin: 0;
    padding: 0.35em 0.55em;
    background: var(--bs-danger);
}

.btn-search {
    position: absolute;
    top: 4px;
    right: 8px;
    border: 0;
    background: none;
}

.btn-search img {
    width: 16px;
}

.dropup.dropup-bottom .dropdown-toggle.open + .dropdown-menu {
    top: 2rem !important;
    height: fit-content;
    transform: none !important;
}

.dropup.dropup-bottom .dropdown-submenu > .dropdown-menu {
    top: -0.5625rem;
    bottom: auto !important;
}

.dropup .dropdown-menu {
    z-index: 100;
    background-color: rgb(var(--bouton));
}

.dropup .dropdown-item {
    position: relative;
    cursor: pointer;
    color: rgb(var(--bouton-police)) !important;
}

.dropdown-item[disabled],
.dropdown-item.disabled,
.dropdown-item:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.dropup .dropdown-submenu {
    position: relative;
}

.dropup .dropdown-item:hover,
.dropup .dropdown-submenu.open,
.dropup .dropdown-toggle.open {
    background-color: rgb(var(--bouton-survol)) !important;
}

.dropup .dropdown-toggle.show:not(.open) + .dropdown-menu {
    display: none;
}

.dropup .dropdown-toggle.open + .dropdown-menu {
    position: absolute;
    display: block;
    margin: 0;
    transform: translate(0, -2.25rem) !important;
    inset: auto auto 0 0;
}

.dropup .dropdown-submenu > .dropdown-menu {
    bottom: -0.5625rem;
    left: 100%;
    border-radius: 0.375rem 0.375rem 0.375rem 0;
}

.dropup .dropdown-submenu.open > .dropdown-menu {
    display: block;
}

.dropup.dropup-right > .dropdown-menu {
    right: 0 !important;
    left: auto !important;
}

.tabbox-tabs .dropdown-menu.show {
    position: fixed !important;
    right: 0 !important;
    display: block !important;
    margin: inherit !important;
    transform: inherit !important;
    inset: inherit !important;
}

.tabbox-tabs .dropdown-menu.dropdown-menu-right.show {
    top: -15px !important;
    inset: -15px 0 auto auto !important;
}

.dropup.dropup-right .dropdown-submenu > .dropdown-menu {
    right: 100%;
    left: auto;
}

/* TREE GENERIQUE */
.contenu-interface.est-treeGenerique .footer {
    margin-top: 0.5rem;
    padding-top: 0;
}

.contenu-interface.est-treeGenerique .contenuBody .container-fluid {
    height: 100%;
}

/* CARTES */
.card {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100%;
    transition:
        all 0.3s ease-in-out,
        background 0s,
        color 0s,
        border-color 0s;
    color: rgb(var(--detail-cartes-police)) !important;
    border: 0;
    background: rgb(var(--detail-cartes));
    box-shadow: 0 0.25rem 1.5rem 0 rgba(34, 41, 47, 0.1);
}

.card-title input[type='checkbox'] + label,
.card-header h5 input[type='checkbox'] + label {
    padding-bottom: 1px;
}

.flex-wrap .card {
    min-height: inherit;
}

.card.card-tabbox {
    background: none;
    box-shadow: none;
}

.card.card-tabbox .card {
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
}

.card.card-tabbox .card-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: fit-content;
    width: -moz-fit-content;
    padding: 0;
    background: rgb(var(--bouton));
    box-shadow: 0 -0.25rem 1.5rem 0 rgba(34, 41, 47, 0.1);
}

.card.card-tabbox .card-tabs-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card.card-tabbox .btn-tab {
    margin: 0;
    border-radius: 0;
    border-right: 1px solid rgb(var(--detail-fond)) !important;
}

.card.card-tabbox .btn-tab * {
    cursor: pointer;
}

.card.card-tabbox .btn-tab:hover,
.card.card-tabbox .btn-tab.active {
    background: rgb(var(--detail-cartes)) !important;
}

.card.card-tabbox .card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.card.card-tabbox .card-content.max-h-page {
    max-height: CALC(100vh - 241px);
}

.card.card-tabbox .card-content.max-h-page > .card-pane {
    overflow-y: auto;
}

.card.card-tabbox .card-pane {
    display: none;
    height: 100%;
    padding: 1rem;
    background: rgb(var(--detail-cartes));
    box-shadow: 0 0.25rem 1.5rem 0 rgba(34, 41, 47, 0.1);
}

.card.card-tabbox .card-pane.active {
    display: flex;
    flex-direction: column;
}

.card.card-decorationNone,
.card.card-decorationNone .card-pane,
.card.card-decorationNone .card-tabs,
.card.card-decorationNone .card-tabbox {
    box-shadow: none !important;
}

.card.card-decorationNone .card-header {
    margin-bottom: 0.25rem;
}

.card.card-decorationNone .btn-tab {
    border-bottom-color: rgb(var(--detail-cartes)) !important;
    background: rgb(var(--detail-cartes)) !important;
}

.login .card {
    min-width: 250px;
    max-width: 100vw;
    height: auto;
    min-height: inherit;
    background: #ffffff;
}

.row {
    width: 100%;
    margin: 0;
}

.row > * {
    padding-right: calc(var(--bs-gutter-x) * 0.5 - 0.25rem);
    padding-left: calc(var(--bs-gutter-x) * 0.5 - 0.25rem);
}

.popin-backdrop .row {
    width: auto;
}

.row + .row {
    margin-top: 1rem;
}

.card .card-header {
    padding: 1rem 1rem 0 1rem;
    border-bottom: none;
    background-color: transparent;
}

.card .card-header label {
    line-height: 0.8;
}

.card .card-header .card-title {
    font-size: 1.25rem;
}

.modal-title {
    overflow: hidden;
    padding-bottom: 1px;
    text-overflow: ellipsis;
}

.card-subtitle {
    white-space: break-spaces;
}

.card .card-body {
    display: flex;
    flex-direction: column;
    padding: 0.75rem;
}

.modal .card .card-body {
    flex-wrap: wrap;
}

.login .form-label {
    background: linear-gradient(
        to bottom,
        transparent 0,
        transparent 10px,
        rgb(255, 255, 255) 10px,
        rgb(255, 255, 255) 11px,
        transparent 11px
    );
}

.login .form-control:focus,
.login .form-select:focus {
    box-shadow: 0 2px 0 0 rgb(0, 105, 167);
}

/* INTERFACE **/
.contenu-interface {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: start;
    width: 100%;
    transition: margin-left 0.25s;
    color: rgb(var(--detail-police)) !important;
    background: rgb(var(--detail-fond));
}

.contenu-interface {
    overflow: hidden auto;
    margin-left: 3rem;
}

/* BADGES */
.badge {
    width: 1.75rem;
    margin: auto 0 auto 0.0625rem;
    color: rgb(var(--detail-cartes-police));
    border-radius: 50rem;
}

.badge.badge-color {
    display: flex;
    align-items: center;
    width: auto;
    padding: 0 6px;
    color: rgb(var(--bouton-police));
    background: rgb(var(--bouton));
    gap: 0.25rem;
}

/* Entête DU CONTENU */
.contenuHeader {
    position: relative;
    z-index: 1;
    display: flex;
    height: 2.5625rem;
    min-height: 2.5625rem;
    box-shadow:
        0 0 0.25rem 0 rgba(34, 41, 47, 0.2),
        0 1px 0 0 rgba(0, 0, 0, 0.1);
}

.header-photo:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
}

.header-photo {
    position: absolute;
    z-index: 900;
    top: 0.25rem;
    left: 4rem;
    display: none;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    transition:
        all 0.5s,
        left 0.25s;
    transition-delay: 0.15s;
    border: 1px solid rgb(var(--bordures));
    border-radius: 50%;
    background: rgb(var(--detail-fond));
}

.header-photo:hover,
.header-photo:focus-within {
    width: 18rem;
    height: 18rem;
    border-radius: 0;
}

.header-photo img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    transition: all 0.5s;
    transition-delay: 0.15s;
    border-radius: 50%;
    object-fit: contain;
    object-position: center;
}

.header-photo:hover img,
.header-photo:focus-within img {
    border-radius: 0;
}

.header-photo img[src=''] {
    display: none;
}

.header-photoButtons {
    position: absolute;
    bottom: 0.25rem;
    display: flex;
    overflow: hidden;
    justify-content: center;
    width: 0;
    transition: all 0.5s;
    transition-delay: 0.15s;
    opacity: 0;
}

.header-photo:hover .header-photoButtons,
.header-photo:focus-within .header-photoButtons {
    width: 100%;
    opacity: 1;
}

.contenuHeader .contenuHeader-title {
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 2;
    overflow: hidden;
    margin-right: 1rem;
    margin-left: 1rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: rgb(var(--detail-cartes-police));
}

#info-complementaire-liste:not(:empty):before {
    content: '(';
}

#info-complementaire-liste:not(:empty):after {
    content: ')';
}

.contenuHeader.has-photo .contenuHeader-title {
    margin-left: 6rem;
}

.contenuHeader.has-photo + .header-photo {
    display: flex;
    align-items: center;
    background: rgb(var(--detail-cartes));
}

.contenuHeader.has-photo + .header-photo .header-photoInitials {
    font-size: 2rem;
    position: absolute;
    z-index: -1;
    margin-top: -0.25rem;
    margin-left: 0.25rem;
    letter-spacing: 0.25rem;
}

.contenuBody {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-top: 0.5rem;
}

.contenuBody > .contenuBody-details {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
}

.contenu-interface .contenuHeader {
    height: 4.5625rem;
    min-height: 4.5625rem;
}

.contenu-interface.est-treeGenerique .contenuHeader {
    height: 2.5rem;
    min-height: 2.5rem;
}

/* ACCUEIL */
.accueil {
    position: relative;
    display: flex;
    height: 100%;
    margin-top: -3rem;
}

.accueil .accueil-logo {
    margin: auto;
}

.accueil .accueil-logoimuse {
    position: absolute;
    width: 580px;
    max-width: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.accueil .accueil-logoEtablissement {
    max-width: 100%;
    max-height: 100%;
}

.accueil .container-accueil-logoEtablissement {
    position: absolute;
    top: 1rem;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 100px;
}

/* POPINS */
.popin-backdrop:before {
    position: absolute;
    z-index: 1055;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    content: '';
    opacity: 0.25;
    background-color: #000000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: max-content !important;
    max-width: CALC(100vw - 1.688rem);
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

.radius-popin-alert .modal-body {
    min-width: 250px;
}

.radius-popin-alert {
    border-radius: 0.3rem !important;
}

.footer-alert {
    padding: 0.1rem !important;
}

.modal-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-block;
    width: auto !important;
    min-height: 0;
    margin: 0;
    transform: translate(-50%, -50%) !important;
}

.modal .modal-body {
    overflow: auto;
    max-height: CALC(100vh - 3rem);
    border-radius: 0 0 0.3rem 0.3rem;
    background: rgb(var(--detail-fond)) !important;
}

.modal .modal-header {
    padding: 0.25rem 0.5rem;
    background-color: rgb(var(--menu-barre)) !important;
    color: rgb(var(--menu-barre-police)) !important;
    justify-content: space-between;
}

.modal-title > h3 {
    font-size: 1.25rem;
    margin: 0;
}

.modal-title > h4 {
    font-size: 1rem;
    margin: 0;
}

/* carte des couleurs */
.choixCouleur {
    display: flex;
}

.choixCouleur .choixCouleur-cadre {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 5rem;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgb(var(--bordures));
}

.choixCouleur-cadre ~ .choixCouleur-cadre {
    cursor: pointer !important;
}

.choixCouleur input[type='color'] {
    position: absolute;
    bottom: 47px;
    max-width: 0;
    max-height: 0;
    opacity: 0;
}

/* TABLEAUX */
.table {
    border: 1px solid #cccccc;
}

.table th {
    padding: 4px 0.5rem !important;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    color: rgb(var(--tableau-entete-police));
    border-right: 1px solid #dddddd;
    border-bottom: 2px solid rgb(var(--bordures)) !important;
    background: rgb(var(--tableau-entete));
}

.table tbody th {
    border-bottom: 1px solid #dddddd;
}

.table td {
    padding: 1rem !important;
    text-align: center;
    vertical-align: middle;
    color: rgb(var(--tableau-corps-police));
    background: rgb(var(--tableau-corps));
}

.table td[rowspan] {
    border-right: 1px solid #cccccc;
}

.table_inverse td {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem !important;
}

/* CALCULATRICE */
.btn.btn-calculatrice {
    width: 3rem;
    min-width: 0;
}

/* FOOTER */
.footer {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0 0.5rem 0;
}

.footer .footer-zone1,
.footer .footer-zone2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
    gap: 0.75rem 0.5rem;
}

.footer .footer-zone1:empty {
    margin-top: -0.75rem;
}

.footer .footer-zone2 {
    margin-top: 0.75rem;
}

.footer .footer-zone2:empty {
    margin-top: 0.5rem;
}

.footer .btn,
.footer .dropup {
    margin-top: auto;
    margin-bottom: auto;
}

.footer .form-control,
.footer .form-select {
    min-width: 100px;
    min-height: 28px;
}

/* FLECHES */
/*  - Gauche 1 - droite 1 */
i.fleche-gauche-1,
i.fleche-droite-1 {
    position: relative;
    display: block;
    width: 0.875rem;
    height: 0.625rem;
    margin-left: CALC(50% - 0.4375rem);
}

i.fleche-gauche-1:before,
i.fleche-droite-1:before {
    position: absolute;
    top: 50%;
    content: '';
    transform: translate(-50%, -50%);
    border-top: 0.375rem solid transparent;
    border-bottom: 0.375rem solid transparent;
}

i.fleche-gauche-1:before {
    border-right: 0.875rem solid black;
}

i.fleche-droite-1:before {
    border-left: 14px solid black;
}

/*  - Gauche 2 - droite 2 */
i.fleche-gauche-2,
i.fleche-droite-2,
i.fleche-droite-3 {
    position: relative;
    display: block;
    width: 0.875rem;
    height: 0.625rem;
    margin-left: CALC(50% - 0.4375rem);
}

i.fleche-gauche-2 {
    border-left: 1px solid black;
}

i.fleche-droite-2 {
    border-right: 1px solid black;
}

i.fleche-gauche-2:before,
i.fleche-gauche-2:after,
i.fleche-droite-2:before,
i.fleche-droite-2:after,
i.fleche-droite-3:before,
i.fleche-droite-3:after {
    position: absolute;
    top: 50%;
    content: '';
    transform: translate(-50%, -50%);
    border-top: 0.375rem solid transparent;
    border-right: 0.375rem solid transparent;
    border-bottom: 0.375rem solid transparent;
    border-left: 0.375rem solid transparent;
}

i.fleche-gauche-2:before {
    left: 0;
    border-right: 0.375rem solid black;
}

i.fleche-gauche-2:after {
    left: 0.375rem;
    border-right: 0.375rem solid black;
}

i.fleche-droite-2:before,
i.fleche-droite-3:before {
    right: -0.75rem;
    border-left: 0.375rem solid black;
}

i.fleche-droite-2:after,
i.fleche-droite-3:after {
    right: -0.375rem;
    border-left: 0.375rem solid black;
}

/*  - haut 1 - bas 1 */
i.fleche-haut-1,
i.fleche-bas-1 {
    position: relative;
    display: block;
    width: 0.875rem;
    height: 0.625rem;
    margin: 0.625rem 0 0.625rem CALC(50% - 0.4375rem);
}

i.fleche-haut-1:before,
i.fleche-bas-1:before {
    position: absolute;
    top: 50%;
    content: '';
    transform: translate(-50%, -50%);
    border-right: 0.375rem solid transparent;
    border-left: 0.375rem solid transparent;
}

i.fleche-haut-1:before {
    border-bottom: 0.875rem solid black;
}

i.fleche-bas-1:before {
    border-top: 14px solid black;
}

/*  - haut 2 - bas 2 */
.btn.i[id^='fleche-haut'],
.btn.i[id^='fleche-bas'] {
}

i.fleche-haut-2,
i.fleche-bas-2 {
    position: relative;
    display: block;
    width: 0.875rem;
    height: 0.875rem;
    margin: 0.5rem 0 0.5rem CALC(50% - 0.4375rem);
}

i.fleche-haut-2 {
    border-top: 1px solid black;
}

i.fleche-bas-2 {
    border-bottom: 1px solid black;
}

i.fleche-haut-2:before,
i.fleche-haut-2:after,
i.fleche-bas-2:before,
i.fleche-bas-2:after {
    position: absolute;
    left: 50%;
    content: '';
    transform: translate(-50%, -50%);
    border-top: 0.375rem solid transparent;
    border-right: 0.375rem solid transparent;
    border-bottom: 0.375rem solid transparent;
    border-left: 0.375rem solid transparent;
}

i.fleche-haut-2:before {
    top: 0;
    border-bottom: 0.375rem solid black;
}

i.fleche-haut-2:after {
    top: 0.375rem;
    border-bottom: 0.375rem solid black;
}

i.fleche-bas-2:before {
    bottom: -0.75rem;
    border-top: 0.375rem solid black;
}

i.fleche-bas-2:after {
    bottom: -0.375rem;
    border-top: 0.375rem solid black;
}

/* Spécifique élève */
#label_personne_id {
    font-size: 0.75rem;
    font-weight: bold;
    position: fixed;
    top: 3.5rem;
    right: 1rem;
}

.tree.eleve-tree-fact {
    min-height: 15em;
}

.tree.eleve-tree-fact .tabulator-row:hover {
    cursor: auto;
    background: rgb(var(--tableau-corps)) !important;
}

/* popin pdf */
.apercu_pdf {
    overflow: hidden;
    cursor: default;
    -moz-user-select: none;
    user-select: none;
    border: 1px solid #000000;
}

.apercu_pdf .popin_interieur_apercu_pdf {
    overflow: hidden;
}

.apercu_pdf .popin_interieur_apercu_pdf .contenu_pdf {
    display: flex;
    flex-direction: column;
}

.popin_apercu_pdf_zone_tableau table td {
    word-wrap: break-word;
    vertical-align: baseline;
}

.exports_apercu_pdf {
    display: flex;
    align-items: center;
    align-self: center;
    flex-direction: column;
    justify-content: space-evenly;
    width: 340px;
}

#popin_chargement_apercu {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.apercu_pdf_aide_text {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

@media (min-width: 812px) {
    .apercu_pdf_aide_text {
        flex-wrap: nowrap;
    }
}

/* GLISSER DEPOSER */
*.dragOver:before {
    font-size: xxx-large;
    position: absolute;
    z-index: 9;
    top: 3px;
    left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: CALC(100% - 24px);
    height: CALC(100% - 6px);
    content: 'Relachez ici pour ajouter le fichier.';
    pointer-events: none;
    color: #ffffff;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.55);
    text-shadow: black 2px 2px;
}

.dragOver * {
    pointer-events: none !important;
}

/* PROGRESS BAR */
progress {
    height: 14px;
    border: none;
    border-radius: 10px;
    background: #e6e6e6;
}

progress::-moz-progress-bar {
    border-radius: 10px;
    background: #1da1f2;
}

progress::-webkit-progress-value {
    background: #1da1f2;
}

progress::-webkit-progress-bar {
    background: #1da1f2;
}

.undeterminate-progress-bar {
    overflow: hidden;
    width: 100%;
    height: 14px;
    border-radius: 10px;
    background-color: #e6e6e6;
}

.undeterminate-progress-bar-value {
    width: 25%;
    height: 100%;
    animation: indeterminateAnimation 4s infinite;
    border-radius: 10px;
    background-color: #1da1f2;
}

@keyframes indeterminateAnimation {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(400%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* loading */
.loading {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100%;
    background: white;
}

.loading:before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 29px;
    content: '';
    transform: translate(-50%, -50%);
    background: url('../img/roue.gif');
}

/* TABLEAUX - HORS TABULATOR */
.table.table-bordered > * > * {
    border-color: rgb(var(--bordures));
}

.table thead {
    color: rgb(var(--tableau-entete-police));
    background: rgb(var(--tableau-entete));
}

.table thead th {
    text-align: center;
}

.table tbody {
    color: rgb(var(--tableau-corps-police));
    background: rgb(var(--tableau-corps));
}

.table > :not(caption) > * > * {
    padding: 0.5rem 0;
}

/* SCROLLBAR - Webkit + Mozilla */

* {
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 9px;
}

/* background of the scrollbar except button or resizer */
::-webkit-scrollbar-track {
    background-color: #ffffff;
}

::-webkit-scrollbar-track:hover {
    background-color: #f4f4f4;
}

/* scrollbar itself */
::-webkit-scrollbar-thumb {
    background-color: #babac0;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #a0a0a5;
}

/* set button(top and bottom of the scrollbar) */
::-webkit-scrollbar-button {
    display: none;
}

/******************************************************* RANGE *******************************************************/
input[type='range'] {
    width: 100%;
    appearance: none;
}

input[type='range']:disabled {
    opacity: 0.5;
    background: none;
    filter: grayscale(0.5);
}

input[type='range']::-moz-range-track {
    height: 1px;
    cursor: pointer;
    border: none;
}

input[type='range']::-moz-range-thumb {
    width: 5px;
    height: 15px;
    cursor: pointer;
    border-radius: 0;
}

input[type='range']:focus::-moz-range-track,
input[type='range']::-moz-range-track,
input[type='range']::-moz-range-thumb {
    cursor: pointer;
    background: rgb(var(--bordures));
}

input[type='range']:disabled:focus::-moz-range-track,
input[type='range']:disabled::-moz-range-track,
input[type='range']:disabled::-moz-range-thumb {
    cursor: default;
}

input[type='range']::-webkit-slider-runnable-track,
input[type='range']:focus::-webkit-slider-runnable-track,
input[type='range']::-webkit-slider-thumb {
    cursor: pointer;
    background: rgb(var(--bordures));
}

input[type='range']::-webkit-slider-runnable-track {
    width: 100%;
    height: 1px;
    cursor: pointer;
    border: none;
}

input[type='range']::-webkit-slider-thumb {
    width: 5px;
    height: 15px;
    margin-top: -7.5px;
    cursor: pointer;
    border-radius: 0;
    appearance: none;
}

input[type='range']:disabled::-webkit-slider-runnable-track,
input[type='range']:disabled:focus::-webkit-slider-runnable-track,
input[type='range']:disabled::-webkit-slider-thumb {
    cursor: default;
}

#table_tarif .form-control {
    min-width: 8.0625rem;
    max-width: 8.0625rem;
}

#table_tarif .input-group {
    min-width: 8.0625rem;
    max-width: 8.0625rem;
}

#table_tarif .input-group .form-control {
    min-width: 5.1625rem;
}

#table_tarif .grid {
    grid-gap: 1rem 0;
}

#table_tarif td {
    min-width: max-content;
    padding: 1rem;
}

/* eSumi */
.esumi {
    margin-bottom: 0.125rem;
    margin-left: 0.5rem;
    cursor: pointer;
}

/* mails */
.mail-attachement {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    width: fit-content;
    height: fit-content;
    padding: 0.1rem 0.1rem 0.1rem 0.5rem;
    border: 1px solid rgb(var(--bordures));
    border-radius: 1rem;
    gap: 0.1rem;
}

/* spécifique - requeteur & cc/cci des mails*/
.request_value,
.copie_cc_values,
.copie_cci_values {
    display: flex;
    align-items: center;
    width: fit-content;
    height: 16px;
    padding: 0.1rem 0.1rem 3px 0.5rem;
    border: 1px solid rgb(var(--bordures));
    border-radius: 1rem;
    gap: 0.1rem;
}

.request_value .btn-close,
.copie_cc_values .btn-close,
.copie_cc_values .btn-close {
    font-size: 13px !important;
    margin-top: 2px;
    margin-right: -1px;
    height: 11px;
    width: 11px;
}
#values_cc,
#values_cci {
    margin-top: -15px;
}

/* spécifique - FULL CALENDAR */
.fc {
    height: CALC(100vh - 309px);
    min-height: 405px;
}

.fc-header-toolbar .fc-toolbar-chunk:last-of-type {
    display: flex;
    align-items: end;
    justify-content: end;
    width: 400px;
}

.fc-button {
    font-size: 0.85rem !important;
    min-width: 5rem !important;
    padding: 0.25rem 0.5rem !important;
    transition: all 0.25s;
    color: rgb(var(--bouton-police)) !important;
    border: 0 !important;
    border-radius: 0.25rem !important;
    outline: none !important;
    background-color: rgb(var(--bouton)) !important;
    box-shadow: none !important;
}

.fc-button:hover {
    color: rgb(var(--bouton-police)) !important;
    background-color: rgb(var(--bouton-survol)) !important;
}

.fc-button:disabled {
    pointer-events: none;
}

.fc-direction-ltr .fc-button-group > .fc-button:not(:last-child) {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.fc-direction-ltr .fc-button-group > .fc-button:not(:first-child) {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

#ficheplanning .selected_planning {
    border: 3px solid red !important;
    box-shadow: 0 0 10px 2px rgba(255, 0, 0, 0.5);
}

#ficheplanning .fc-button-active {
    color: rgb(var(--bouton-police)) !important;
    background-color: rgb(var(--bouton-survol)) !important;
}

.tooltip {
    font-size: 12px;
    position: absolute;
    z-index: 9999;
    width: 150px;
    text-align: center;
    opacity: 1;
    color: black;
    border-radius: 3px;
    background: #3788d8;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.tooltip-time {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    background-color: #ffffff;
}

.tooltip[x-placement^='bottom'] .tooltip-arrow,
.popper[x-placement^='bottom'] .popper__arrow {
    top: -5px;
    left: calc(50% - 5px);
    margin-top: 0;
    margin-bottom: 0;
    border-width: 0 5px 5px 5px;
    border-top-color: transparent;
    border-right-color: transparent;
    border-left-color: transparent;
}

.tooltip-inner {
    padding-top: 10px;
    padding-bottom: 10px;
}

.tooltip-inner {
    color: inherit;
    background-color: inherit;
}

.help-tooltip {
    background: rgb(var(--bouton-survol));
    opacity: 1 !important;
}

.help-tooltip[data-popper-placement^='top'] .tooltip-arrow::before {
    border-top-color: rgb(var(--bouton-survol)) !important;
}

.help-tooltip[data-popper-placement^='top'] .tooltip-arrow,
.popper[data-popper-placement^='top'] .popper__arrow {
    margin-bottom: -6.5px !important;
}

.help-tooltip[data-popper-placement^='top'] {
    margin-bottom: 8.5px !important;
}

.help-tooltip[data-popper-placement^='right'] .tooltip-arrow,
.popper[data-popper-placement^='right'] .popper__arrow {
    margin-left: -6.5px !important;
}

.help-tooltip[data-popper-placement^='right'] .tooltip-arrow::before {
    border-right-color: rgb(var(--bouton-survol)) !important;
}

.help-tooltip[data-popper-placement^='right'] {
    margin-left: 8.5px !important;
}

/* spécifique */
/* apercu extranet webmaster */
.apercu_couleur_extranet {
    left: 50%;
    display: none;
    width: 1170px;
    height: 100%;
    margin-top: -4%;
    margin-bottom: -11%;
}

.apercu_couleur_extranet .navbar,
.apercu_couleur_extranet .nav {
    font-size: inherit;
    position: inherit;
    z-index: inherit;
    top: inherit;
    display: inherit;
    overflow: inherit;
    overflow-y: inherit;
    justify-content: inherit;
    width: inherit;
    height: inherit;
    transition: inherit;
    transition-delay: inherit;
    border-bottom: inherit;
    background-color: inherit;
    box-shadow: inherit;
}

.apercu_couleur_extranet .logo {
    max-width: 70%;
    max-height: 80px;
    cursor: pointer;
}

.apercu_couleur_extranet h1.home {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
}

.apercu_couleur_extranet h1.homelignes {
    font-weight: normal;
    line-height: 22px;
    top: 10px;
    width: 80%;
    min-height: 50px;
    margin-right: auto;
    margin-left: auto;
    padding-top: 6px;
}

.apercu_couleur_extranet span.bullet {
    display: inline-block;
    width: 6px;
    height: 6px;
    vertical-align: middle;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.apercu_couleur_extranet .navbar {
    display: block !important;
    overflow: visible !important;
    width: auto;
    height: auto !important;
    padding-right: 10%;
    padding-bottom: 0;
    padding-left: 10%;
    border: 2px solid #e7e7e7;
    border-right-width: 0;
    border-left-width: 0;
    box-shadow: none;
}

.apercu_couleur_extranet .navbar ul {
    float: left !important;
    width: 100%;
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.apercu_couleur_extranet .navbar li {
    font-size: 19px;
    font-weight: bold;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    width: 14%;
    height: 42px;
    list-style: none;
    text-align: center;
}

.apercu_couleur_extranet .navbar li span {
    position: relative;
    top: 8px;
    padding-top: 15px;
    padding-bottom: 15px;
    cursor: pointer;
}

.apercu_couleur_extranet .jumbotron {
    margin: 0;
    padding: 10px 30px;
    color: #000000;
    background-color: #ffffff;
}

.apercu_couleur_extranet .espace_h10 {
    height: 10px;
}

.apercu_couleur_extranet .espace_h20 {
    height: 20px;
}

.apercu_couleur_extranet select {
    font-size: 12px;
    width: 200px;
    height: 18px;
    pointer-events: none;
}

.apercu_couleur_extranet .btn-basic,
.apercu_couleur_extranet .btn-basic-active {
    font-size: 10px !important;
    min-width: 0;
    height: auto;
    margin-bottom: 1px !important;
    padding: 0 4px !important;
    cursor: pointer;
    transition: all 0.5s ease !important;
    color: #000000 !important;
    border-style: none !important;
    border-color: #000000 !important;
    border-radius: 0;
    background: none;
}

.apercu_couleur_extranet .btn-basic-active {
    transform: scale(0.9);
}

.apercu_couleur_extranet table.table_apercu tr {
    cursor: pointer;
}

.apercu_couleur_extranet .lien_extranet {
    cursor: pointer;
    color: inherit;
}

.apercu_couleur_extranet .lien_extranet:hover {
    text-decoration: underline;
}

.apercu_couleur_extranet table.table_apercu tr th {
    border-bottom: 2px solid;
}

.apercu_couleur_extranet table.table_apercu tr td,
.apercu_couleur_extranet table.table_apercu tr th {
    border-right: 1px solid;
}

.apercu_couleur_extranet .sep {
    line-height: 10px;
    position: relative;
    height: 10px;
    margin: 10px 0 20px 125px;
    border-bottom: 1px solid;
}

.apercu_couleur_extranet .titre {
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    margin-left: -125px;
}

.apercu_couleur_extranet h2 {
    font-family: inherit;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
    padding-right: 15px;
    vertical-align: text-bottom;
    text-transform: none;
}

/* IBAN */
.iban input {
    text-align: left !important;
}

@media (max-width: 575px) {
    .iban input {
        padding: 0 !important;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .iban input:first-of-type {
        padding-left: 0.25rem !important;
        border-left: 1px solid #ced4da;
        border-top-left-radius: 0.25rem;
        border-bottom-left-radius: 0.25rem;
    }

    .iban input:last-of-type {
        border-right: 1px solid #ced4da;
        border-top-right-radius: 0.25rem;
        border-bottom-right-radius: 0.25rem;
    }

    .iban.rib input:nth-child(1),
    .iban.rib input:nth-child(2) {
        width: 75%;
    }

    .iban.rib input:first-of-type:nth-child(3) {
        width: 150%;
    }

    .iban.rib input:first-of-type:nth-child(4) {
        width: 45%;
    }
}

/* DatePicker */
.datepicker-dropdown {
    z-index: 9999 !important;
}

/* FRANCECONNECT */
.btn_fc:hover > img:last-of-type {
    display: inherit !important;
}

.btn_fc:hover > img:first-of-type {
    display: none !important;
}

/* TinyMCE */
textarea[data-tiny] {
    opacity: 0;
}

textarea[data-tiny]:disabled + .tox {
    pointer-events: none;
    opacity: 0.5;
}

.tox-statusbar__text-container {
    display: none !important;
}

.tox.tox-tinymce {
    z-index: 0 !important;
    min-height: 200px;
    padding-top: 5px !important;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.tox-statusbar {
    position: absolute !important;
    bottom: 0;
    width: 10px !important;
    height: 15px !important;
    margin-left: CALC(100% - 32px) !important;
    padding-right: 16px !important;
    border-top: 0 !important;
}

/* sitemap */
.sitemap ul {
    list-style-type: none;
}

.sitemap > ul > li {
    margin-top: 1rem;
}

.sitemap > ul > li > button {
    font-size: 20px;
    font-weight: bold;
    padding: 0;
    cursor: text;
    text-transform: uppercase;
    color: inherit;
    border: none;
    background: none;
}

.sitemap > ul > li > div,
.sitemap > ul > li > ul {
    border-top: 2px solid rgb(var(--bordures));
}

.sitemap > ul > li > div > div {
    display: flex;
    flex-wrap: wrap;
}

.sitemap ul > li > div > div > div {
    width: 320px;
    padding: 1rem;
}

.sitemap ul > li > div > div > div > span {
    font-weight: bold;
    position: relative;
    display: block;
    padding-left: 0.5rem;
    color: rgb(var(--menu-police));
}

.sitemap ul > li > div > div > div ul,
.sitemap ul > li > ul {
    list-style-type: disc;
}

.sitemap ul > li > div > div > div li:not([data-type='submenu']),
.sitemap ul > li > ul > li {
    width: min-content;
    white-space: nowrap;
}

.sitemap ul > li > div > div > div li span {
    cursor: auto;
    text-decoration: underline;
}

.sitemap [onclick]:hover {
    cursor: pointer;
    text-decoration: underline;
}

.sitemap li:empty {
    display: none;
}

.sitemap [disabled],
.sitemap [disabled] * {
    pointer-events: none;
    color: rgba(var(--menu-police), 0.25);
}

.sitemap div[disabled] {
    display: none;
}

.sitemap p {
    padding-top: 1.5rem;
    text-align: center;
    border-top: 1px solid rgb(var(--bordures));
}

.sitemap p:hover {
    cursor: pointer;
    white-space: nowrap;
    text-decoration: underline;
}

/******************************************************* MEDIA QUERY *******************************************************/

/* Small devices (téléphone mode paysage et tablette) */
@media (min-width: 576px) {
    .grid-col-sm-1 {
        grid-column: span 1;
    }

    .grid-col-sm-2 {
        grid-column: span 2;
    }

    .grid-col-sm-3 {
        grid-column: span 3;
    }

    .grid-col-sm-4 {
        grid-column: span 4;
    }

    .grid-col-sm-5 {
        grid-column: span 5;
    }

    .grid-col-sm-6 {
        grid-column: span 6;
    }

    .grid-col-sm-7 {
        grid-column: span 7;
    }

    .grid-col-sm-8 {
        grid-column: span 8;
    }

    .grid-col-sm-9 {
        grid-column: span 9;
    }

    .grid-col-sm-10 {
        grid-column: span 10;
    }

    .grid-col-sm-11 {
        grid-column: span 11;
    }

    .grid-col-sm-12 {
        grid-column: span 12;
    }

    /* Spécifique concerto */
    .concerto_QF {
        grid-column: span 12;
    }

    .concerto_modeleQF {
        grid-column: span 6;
    }

    .concerto_trancheQF {
        grid-column: span 6;
    }

    .concerto_buttons {
        width: CALC(25% + 0.25rem);
    }

    .h-sm-maxpage {
        min-height: CALC(100vh - 20rem) !important;
    }

    .w-sm-min-content {
        width: min-content !important;
    }
}

@media (max-width: 575px) {
    .card.card-tabbox .card-tabs-options {
        align-items: start;
        flex-direction: column-reverse;
        gap: 1rem;
    }
}

/* Medium devices (pc portable et tablette mode paysage) */
@media (min-width: 768px) {
    .nav .btn.btn-epinglePalette {
        pointer-events: auto;
        opacity: 1;
    }

    .nav.est_epingle {
        overflow-y: auto;
        min-width: 12rem;
    }

    .nav.est_epingle .btn.btn-epinglePalette img {
        display: none;
    }

    .nav.est_epingle .btn.btn-epinglePalette:before {
        position: absolute;
        top: 0.3125rem;
        left: 0.4375rem;
        min-width: 0.625rem;
        min-height: 0.625rem;
        content: '';
        transform: rotate(-45deg);
        border-top: 2px solid rgb(var(--palette-police));
        border-left: 2px solid rgb(var(--palette-police));
    }

    #sous-menu-alert {
        left: 0 !important;
        width: CALC(100vw - 192px) !important;
    }

    .contenu-interface.est_epingle .tabbox-tabs {
        left: 12.8505rem;
    }

    .contenu-interface.est_epingle .contenuHeader.has-photo ~ .contenuBody .tabbox-tabs {
        left: 17.6625rem;
    }

    .contenu-interface.est_epingle {
        margin-left: 12rem;
    }

    .contenu-interface.est_epingle .header-photo {
        left: 13rem;
    }

    .grid-col-md-1 {
        grid-column: span 1;
    }

    .grid-col-md-2 {
        grid-column: span 2;
    }

    .grid-col-md-3 {
        grid-column: span 3;
    }

    .grid-col-md-4 {
        grid-column: span 4;
    }

    .grid-col-md-5 {
        grid-column: span 5;
    }

    .grid-col-md-6 {
        grid-column: span 6;
    }

    .grid-col-md-7 {
        grid-column: span 7;
    }

    .grid-col-md-8 {
        grid-column: span 8;
    }

    .grid-col-md-9 {
        grid-column: span 9;
    }

    .grid-col-md-10 {
        grid-column: span 10;
    }

    .grid-col-md-11 {
        grid-column: span 11;
    }

    .grid-col-md-12 {
        grid-column: span 12;
    }

    .apercu_couleur_extranet {
        display: flex;
        transform: translateX(-50%) scale(0.5, 0.5);
    }

    .w-md-min-content {
        width: min-content !important;
    }
}

@media (max-width: 991px) {
    #navbar_menu > .navbar-nav > .nav-item > .nav-link {
        padding: 0.5rem 1rem;
        text-align: center;
        border-bottom: 1px solid;
    }
}

@media (max-width: 767px) {
    #navbar_menu {
        margin-left: 0;
    }

    .dropdown .dropdown-menu:not(.dropdown-menu-end) > .dropdown-item,
    .dropdown .dropdown-submenu {
        width: 100%;
    }

    #navbar_menu > .navbar-nav > .nav-item > .nav-link {
        margin-left: 3rem;
    }

    .dropdown .dropdown-menu .dropdown-title:before {
        display: none;
    }

    .dropdown .dropdown-menu .nav-item {
        width: 100%;
        padding-right: 0;
        padding-left: 2rem;
    }

    .dropdown .dropdown-menu .nav-item ul li {
        padding-left: 2rem;
    }

    .dropdown > .dropdown-menu:not(.dropdown-menu-end) {
        padding-right: 0 !important;
    }

    .dropdown > .dropdown-menu.dropdown-menu-end {
        padding-left: 3rem;
    }
}

/* Large devices (Ecran fixe) */
@media (min-width: 992px) {
    .order-lg-0 {
        order: 0 !important;
    }

    .fixed-lg-25 {
        position: fixed;
        width: CALC(25% - 3.5rem);
        height: CALC(100vh - 12rem);
        min-height: auto;
        max-height: CALC(100vh - 10rem);
    }

    .col-imuse-full {
        flex: 0 0 auto;
        width: 920px;
        margin-right: auto;
        margin-left: auto;
        transform: none;
    }

    .navbar .collapse:not(.show) {
        display: inherit !important;
    }

    .navbar .nav-link {
        padding-left: 0;
        color: rgb(var(--menu-barre-police));
        background: none;
    }

    .dropdown .dropdown-menu {
        width: max-content;
        margin-top: -1px;
    }

    .dropdown > .dropdown-menu:not(.dropdown-menu-end) {
        width: 44.125rem;
    }

    .grid-col-lg-1 {
        grid-column: span 1;
    }

    .grid-col-lg-2 {
        grid-column: span 2;
    }

    .grid-col-lg-3 {
        grid-column: span 3;
    }

    .grid-col-lg-4 {
        grid-column: span 4;
    }

    .grid-col-lg-5 {
        grid-column: span 5;
    }

    .grid-col-lg-6 {
        grid-column: span 6;
    }

    .grid-col-lg-7 {
        grid-column: span 7;
    }

    .grid-col-lg-8 {
        grid-column: span 8;
    }

    .grid-col-lg-9 {
        grid-column: span 9;
    }

    .grid-col-lg-10 {
        grid-column: span 10;
    }

    .grid-col-lg-11 {
        grid-column: span 11;
    }

    .grid-col-lg-12 {
        grid-column: span 12;
    }

    /* Spécifique concerto */
    .concerto_QF {
        grid-column: span 4;
    }

    .concerto_buttons {
        width: auto;
    }

    .concerto_modeleQF {
        grid-column: span 5;
    }

    .w-lg-25 {
        width: 25% !important;
    }

    .w-lg-75 {
        width: 75% !important;
    }

    .w-lg-auto {
        width: auto !important;
    }

    .min-h-lg-maxpage {
        min-height: CALC(100vh - 20rem) !important;
    }

    .apercu_couleur_extranet {
        transform: translateX(-50%) scale(0.6, 0.6);
    }

    /* spécifique -  Aide à la planification*/
    #aide-planification-eleves {
        width: 400px;
    }

    .w-lg-min-content {
        width: min-content !important;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: 1.75rem;
        right: 0;
        left: 0;
        height: initial;
        margin-left: 12rem;
        background: rgb(var(--menu));
        box-shadow: rgba(34, 41, 47, 0.2) 0 0.25rem 1.5rem 0;
    }

    .nav-item.dropdown > .nav-link {
        font-weight: bold;
    }

    #navbar_menu {
        overflow: auto;
        max-height: CALC(100vh - 3rem);
    }

    .dropdown .dropdown-menu {
        max-height: inherit;
    }
}

/* X-Large devices (Grand écran) */
@media (min-width: 1200px) {
    .grid-col-xl-1 {
        grid-column: span 1;
    }

    .grid-col-xl-2 {
        grid-column: span 2;
    }

    .grid-col-xl-3 {
        grid-column: span 3;
    }

    .grid-col-xl-4 {
        grid-column: span 4;
    }

    .grid-col-xl-5 {
        grid-column: span 5;
    }

    .grid-col-xl-6 {
        grid-column: span 6;
    }

    .grid-col-xl-7 {
        grid-column: span 7;
    }

    .grid-col-xl-8 {
        grid-column: span 8;
    }

    .grid-col-xl-9 {
        grid-column: span 9;
    }

    .grid-col-xl-10 {
        grid-column: span 10;
    }

    .grid-col-xl-11 {
        grid-column: span 11;
    }

    .grid-col-xl-12 {
        grid-column: span 12;
    }

    .dropdown > .dropdown-menu:not(.dropdown-menu-end) {
        width: 66.2rem;
    }

    .container-paramedition {
        max-width: 1000px;
    }
}

/* X-Large devices (Grand écran) */
@media (min-width: 1400px) {
    .col-imuse-full {
        margin-right: CALC(100% / 2 - 460px);
        margin-left: CALC(100% / 2 - 460px);
    }

    .grid-col-xxl-1 {
        grid-column: span 1;
    }

    .grid-col-xxl-2 {
        grid-column: span 2;
    }

    .grid-col-xxl-3 {
        grid-column: span 3;
    }

    .grid-col-xxl-4 {
        grid-column: span 4;
    }

    .grid-col-xxl-5 {
        grid-column: span 5;
    }

    .grid-col-xxl-6 {
        grid-column: span 6;
    }

    .grid-col-xxl-7 {
        grid-column: span 7;
    }

    .grid-col-xxl-8 {
        grid-column: span 8;
    }

    .grid-col-xxl-9 {
        grid-column: span 9;
    }

    .grid-col-xxl-10 {
        grid-column: span 10;
    }

    .grid-col-xxl-11 {
        grid-column: span 11;
    }

    .grid-col-xxl-12 {
        grid-column: span 12;
    }
}

.colorPicker {
    position: absolute;
    z-index: 9999;
    display: none;
    width: 280px;
    box-shadow:
        0 5px 5px -3px rgba(0, 0, 0, 0.2),
        0 8px 10px 1px rgba(0, 0, 0, 0.14),
        0 3px 14px 2px rgba(0, 0, 0, 0.12);
    --hue: 0;
}

.colorPicker.show {
    display: block;
}

.colorPicker .colorPicker-palette {
    overflow: hidden;
    height: 150px;
    outline: 0;
    background:
        linear-gradient(to bottom, transparent, #000000),
        linear-gradient(to right, #ffffff, hsl(var(--hue, 0), 100%, 50%));
}

.colorPicker .colorPicker-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid rgb(var(--bordures));
    background: rgb(var(--detail-cartes));
    gap: 1rem;
}

.colorPicker .colorPicker-preview {
    position: relative;
    width: 40px;
    height: 40px;
    border: 1px solid rgb(var(--bordures));
}

.colorPicker .colorPicker-sliders {
    flex: 1;
}

.colorPicker .colorPicker-slider_hue {
    width: 100%;
    height: 11px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    background: linear-gradient(90deg, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000);
}

.colorPicker .colorPicker-inputs {
    display: flex;
    width: 100%;
    gap: 0.25rem;
}

.colorPicker .form-control {
    width: 80px;
    min-height: 26px;
    padding-top: 1px;
}

.colorPicker #colorPicker-hex {
    width: 100%;
}

.colorPicker label input {
    width: 100%;
    text-align: center;
}

.colorPicker-marker {
    position: absolute;
    width: 18px;
    height: 18px;
    cursor: move;
    transform: translate(-50%, 50%);
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.7);
}

.colorPicker #color-hex {
    text-transform: uppercase;
}

.colorPicker input[type='range']::-moz-range-thumb {
    background: rgb(var(--detail-cartes-police));
}

.colorPicker input[type='range']:focus::-moz-range-track,
.colorPicker input[type='range']::-moz-range-track {
    background: none;
}

.colorPicker input[type='range']::-webkit-slider-thumb {
    cursor: pointer;
    background: rgb(var(--detail-cartes-police));
}

.colorPicker input[type='range']::-webkit-slider-runnable-track,
.colorPicker input[type='range']:focus::-webkit-slider-runnable-track {
    background: none;
}

/* CSS spécifique (non global) */

/* Sortie historique élève */
#param-histo-liste .picker-colonnes {
    max-height: 191px;
}

/* Filtres avancés */
#filters {
    min-width: 350px;
}

#filters > .card {
    width: 100%;
}

#filters .button-group {
    z-index: 1;
    margin-top: -50px;
}

#filters .btn-filter-update {
    margin-left: auto;
}

#filters .btn-filter-update,
#filters .btn-filter-delete {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    min-width: 25px;
    height: 25px;
    margin-bottom: 0.25rem;
}

#filters .btn-filter-update > img,
#filters .btn-filter-delete > img {
    height: 18px;
}

.filterCell:before {
    font-size: xxx-large;
    position: absolute;
    z-index: 9;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    content: '';
    pointer-events: none;
    color: #ffffff;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.55);
    text-shadow: black 2px 2px;
}

.min-h-80 {
    min-height: 80vh;
}

.min-w-2rem {
    min-width: 2rem;
}

@media (min-width: 576px) {
    .d-sm-none {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .d-sm-none-inv {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .min-width-410 {
        min-width: 410px;
    }
}

.text-justify {
    text-align: justify;
}

.scroll-50vh {
    overflow: auto;
    max-height: 50vh;
}

/** CSS Barre de chargement (ADN) **/
.loader {
    position: relative;
    margin-top: 50px;
    margin-bottom: 20px;
    transform: scale(0.75);
}
.loader .point {
    -webkit-animation-name: movement;
    animation-name: movement;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    height: 10px;
    position: absolute;
    top: -10px;
    transform: translate3d(0, -25px, 0) scale(1);
    width: 10px;
}
.loader .point:nth-of-type(1) {
    -webkit-animation-delay: -0.1s;
    animation-delay: -0.1s;
    left: 150px;
}
.loader .point:nth-of-type(1)::before {
    -webkit-animation-delay: -0.1s;
    animation-delay: -0.1s;
}
.loader .point:nth-of-type(2) {
    -webkit-animation-delay: -1.2s;
    animation-delay: -1.2s;
    left: 150px;
}
.loader .point:nth-of-type(2)::before {
    -webkit-animation-delay: -1.2s;
    animation-delay: -1.2s;
}
.loader .point:nth-of-type(3) {
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
    left: 125px;
}
.loader .point:nth-of-type(3)::before {
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}
.loader .point:nth-of-type(4) {
    -webkit-animation-delay: -1.4s;
    animation-delay: -1.4s;
    left: 125px;
}
.loader .point:nth-of-type(4)::before {
    -webkit-animation-delay: -1.4s;
    animation-delay: -1.4s;
}
.loader .point:nth-of-type(5) {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
    left: 100px;
}
.loader .point:nth-of-type(5)::before {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}
.loader .point:nth-of-type(6) {
    -webkit-animation-delay: -1.6s;
    animation-delay: -1.6s;
    left: 100px;
}
.loader .point:nth-of-type(6)::before {
    -webkit-animation-delay: -1.6s;
    animation-delay: -1.6s;
}
.loader .point:nth-of-type(7) {
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
    left: 75px;
}
.loader .point:nth-of-type(7)::before {
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
}
.loader .point:nth-of-type(8) {
    -webkit-animation-delay: -1.8s;
    animation-delay: -1.8s;
    left: 75px;
}
.loader .point:nth-of-type(8)::before {
    -webkit-animation-delay: -1.8s;
    animation-delay: -1.8s;
}
.loader .point:nth-of-type(9) {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
    left: 50px;
}
.loader .point:nth-of-type(9)::before {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}
.loader .point:nth-of-type(10) {
    -webkit-animation-delay: -2s;
    animation-delay: -2s;
    left: 50px;
}
.loader .point:nth-of-type(10)::before {
    -webkit-animation-delay: -2s;
    animation-delay: -2s;
}
.loader .point:nth-of-type(11) {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
    left: 25px;
}
.loader .point:nth-of-type(11)::before {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}
.loader .point:nth-of-type(12) {
    -webkit-animation-delay: -2.2s;
    animation-delay: -2.2s;
    left: 25px;
}
.loader .point:nth-of-type(12)::before {
    -webkit-animation-delay: -2.2s;
    animation-delay: -2.2s;
}
.loader .point:nth-of-type(13) {
    -webkit-animation-delay: -1.3s;
    animation-delay: -1.3s;
    left: 0px;
}
.loader .point:nth-of-type(13)::before {
    -webkit-animation-delay: -1.3s;
    animation-delay: -1.3s;
}
.loader .point:nth-of-type(14) {
    -webkit-animation-delay: -2.4s;
    animation-delay: -2.4s;
    left: 0px;
}
.loader .point:nth-of-type(14)::before {
    -webkit-animation-delay: -2.4s;
    animation-delay: -2.4s;
}
.loader .point:nth-of-type(15) {
    -webkit-animation-delay: -1.5s;
    animation-delay: -1.5s;
    left: -25px;
}
.loader .point:nth-of-type(15)::before {
    -webkit-animation-delay: -1.5s;
    animation-delay: -1.5s;
}
.loader .point:nth-of-type(16) {
    -webkit-animation-delay: -2.6s;
    animation-delay: -2.6s;
    left: -25px;
}
.loader .point:nth-of-type(16)::before {
    -webkit-animation-delay: -2.6s;
    animation-delay: -2.6s;
}
.loader .point:nth-of-type(17) {
    -webkit-animation-delay: -1.7s;
    animation-delay: -1.7s;
    left: -50px;
}
.loader .point:nth-of-type(17)::before {
    -webkit-animation-delay: -1.7s;
    animation-delay: -1.7s;
}
.loader .point:nth-of-type(18) {
    -webkit-animation-delay: -2.8s;
    animation-delay: -2.8s;
    left: -50px;
}
.loader .point:nth-of-type(18)::before {
    -webkit-animation-delay: -2.8s;
    animation-delay: -2.8s;
}
.loader .point:nth-of-type(19) {
    -webkit-animation-delay: -1.9s;
    animation-delay: -1.9s;
    left: -75px;
}
.loader .point:nth-of-type(19)::before {
    -webkit-animation-delay: -1.9s;
    animation-delay: -1.9s;
}
.loader .point:nth-of-type(20) {
    -webkit-animation-delay: -3s;
    animation-delay: -3s;
    left: -75px;
}
.loader .point:nth-of-type(20)::before {
    -webkit-animation-delay: -3s;
    animation-delay: -3s;
}
.loader .point:nth-of-type(21) {
    -webkit-animation-delay: -2.1s;
    animation-delay: -2.1s;
    left: -100px;
}
.loader .point:nth-of-type(21)::before {
    -webkit-animation-delay: -2.1s;
    animation-delay: -2.1s;
}
.loader .point:nth-of-type(22) {
    -webkit-animation-delay: -3.2s;
    animation-delay: -3.2s;
    left: -100px;
}
.loader .point:nth-of-type(22)::before {
    -webkit-animation-delay: -3.2s;
    animation-delay: -3.2s;
}
.loader .point:nth-of-type(23) {
    -webkit-animation-delay: -2.3s;
    animation-delay: -2.3s;
    left: -125px;
}
.loader .point:nth-of-type(23)::before {
    -webkit-animation-delay: -2.3s;
    animation-delay: -2.3s;
}
.loader .point:nth-of-type(24) {
    -webkit-animation-delay: -3.4s;
    animation-delay: -3.4s;
    left: -125px;
}
.loader .point:nth-of-type(24)::before {
    -webkit-animation-delay: -3.4s;
    animation-delay: -3.4s;
}
.loader .point:nth-of-type(25) {
    -webkit-animation-delay: -2.5s;
    animation-delay: -2.5s;
    left: -150px;
}
.loader .point:nth-of-type(25)::before {
    -webkit-animation-delay: -2.5s;
    animation-delay: -2.5s;
}
.loader .point:nth-of-type(26) {
    -webkit-animation-delay: -3.6s;
    animation-delay: -3.6s;
    left: -150px;
}
.loader .point:nth-of-type(26)::before {
    -webkit-animation-delay: -3.6s;
    animation-delay: -3.6s;
}
.loader .point::before {
    -webkit-animation-name: size-opacity;
    animation-name: size-opacity;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
    background: rgb(var(--tableau-selection));
    border-radius: 50%;
    content: '';
    display: block;
    height: 100%;
    width: 100%;
}
.loader .point:nth-of-type(even)::before {
    background-color: rgba(var(--tableau-selection), 0.5);
    box-shadow: inset 0 0 4px rgb(var(--tableau-selection));
}

@-webkit-keyframes movement {
    0% {
        transform: translate3d(0, -25px, 0);
        z-index: 0;
    }
    50% {
        transform: translate3d(0, 25px, 0);
        z-index: 10;
    }
    100% {
        transform: translate3d(0, -25px, 0);
        z-index: -5;
    }
}

@keyframes movement {
    0% {
        transform: translate3d(0, -25px, 0);
        z-index: 0;
    }
    50% {
        transform: translate3d(0, 25px, 0);
        z-index: 10;
    }
    100% {
        transform: translate3d(0, -25px, 0);
        z-index: -5;
    }
}
@-webkit-keyframes size-opacity {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    25% {
        transform: scale(1.5);
    }
    50% {
        opacity: 1;
    }
    75% {
        opacity: 0.35;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes size-opacity {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    25% {
        transform: scale(1.5);
    }
    50% {
        opacity: 1;
    }
    75% {
        opacity: 0.35;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
/** FIN CSS Barre de chargement (ADN) **/
