@font-face {
    font-family: 'OpenSansReg';
    src: url('../fonts/opensansreg/OpenSans-Regular-webfont.eot');
    src: url('../fonts/opensansreg/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/opensansreg/OpenSans-Regular-webfont.woff2') format('woff2'),
    url('../fonts/opensansreg/OpenSans-Regular-webfont.woff') format('woff'),
    url('../fonts/opensansreg/OpenSans-Regular-webfont.ttf') format('truetype'),
    url('../fonts/opensansreg/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Smartphones ----------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    body {
        font-size: 0.6em;
    }
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    body {
        font-size: 1.1em;
    }
}

/* Desktops and laptops ----------- */
@media only screen and (min-width: 1224px) {
    body {
        font-size: 1.1em;
    }
}

/* Large screens ----------- */
@media only screen and (min-width: 1624px) {
    body {
        font-size: 1.2em;
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: 'OpenSansReg', 'sans-serif';
    font-size: 1.3em;
}

.m-0 {
    margin: 0 !important;
}

.m-1 {
    margin: 10px !important;
}

.mr-1 {
    margin-right: 10px !important;
}

.ml-1 {
    margin-left: 10px !important;
}

.mt-0 {
    margin-top: 0px !important;
}

.mt-1 {
    margin-top: 10px !important;
}

.mb-0 {
    margin-bottom: 0px !important;
}

.mb-1 {
    margin-bottom: 10px !important;
}

.p-0 {
    padding: 0 !important;
}

.p-5 {
    padding: 5px !important;
}

h1 {
    font-size: 1.9em;
}

h2 {
    font-size: 1.8em;
}

h3 {
    font-size: 1.7em;
}

h4 {
    font-size: 1.6em;
}

/*** LARGEURS ***************************************/

.w-10 {
    width: 10% !important;
}

.w-20 {
    width: 20% !important;
}

.w-25 {
    width: 25% !important;
}

.w-33 {
    width: 33% !important;
}

.w-40 {
    width: 40% !important;
}

.w-50 {
    width: 50% !important;
}

.w-60 {
    width: 60% !important;
}

.w-66 {
    width: 66% !important;
}

.w-75 {
    width: 75% !important;
}

.w-100 {
    width: 100% !important;
}

#verticalBar {
    position: fixed;
    top: 50px;
    bottom: 30px;
    left: 0;
    width: 30px;
    padding: 5px;
    background-color: #000; /* Couleur de la barre */
    overflow-x: hidden;
    transition: width 0.5s; /* Durée de l'animation */
    z-index: 100;
}

.nav svg {
    vertical-align: center;
    align-items: center;
}

.navbar-brand img {
    height: 50px;
}

.wrapper {
    min-height: calc(100vh - 80px);
    padding-bottom: 30px;
    position: relative;
}

footer {
    position: absolute;
    height: 30px;
    bottom: 0;
    left: 0;
    background-color: black;
    color: white;
    width: 100%;
    border-top: 2px solid lightskyblue;
    margin-top: 5px;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/*** ALIGNEMENTS ET VISIBILITE ***************************************/
.left {
    text-align: left;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.hidden {
    visibility: hidden;
}

.visible {
    visibility: visible;
}

.bold {
    font-weight: bold;
}

.bolder {
    font-weight: bolder;
}

textalert {
    color: red;
    font-weight: bold;
}

/*** FORMS  ***********************************************************/
input, select, textarea {
    color: #000000 !important;
}

.numeric {
    text-align: right;
}

.inputReadOnly {
    cursor: default;
}

input[required], select[required], textarea[required] {
    border-color: #b03967;
}

input:required:invalid, select:required:invalid, textarea:required:invalid {
    border-color: red;
}

textarea:focus, input:focus, input[type]:focus, .uneditable-input:focus {
    border-color: #4FD0FB;
    box-shadow: 0 2px 2px #4FD0FB inset, 0 0 8px #4FD0FB;
    outline: 0 none;
}

.blink-input {
    animation: blink 0.5s;
}

@keyframes blink-input {
    50% {
        border-color: red;
    }
}

/* Pour que l'autocomplete soit toujours devant le reste */
.ui-autocomplete {
    z-index: 1511 !important;
}


/*** ICONS  ***********************************************************/
svg {
    width: 18px;
    height: 18px;
}

/*** PANELS  **********************************************************/
.pan {
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    margin-bottom: 20px;
}

.pan-heading {
    border-bottom: 1px solid #ddd;
    border-radius: 3px 3px 0 0;
    color: #333;
    font-size: 18px;
    padding: 10px 15px;
}

.pan-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 18px;
}

.pan-body {
    padding: 15px;
}

/*** TABLES  ***********************************************************/
.table-hover tbody tr:hover td,
.table-hover tbody tr:hover th {
    background-color: #a6a6a6 !important;
}

table tr.trCaption th {
    background-color: #0a6ebd;
    color: #ffffff;
    font-size: 1.1em;
    padding: 5px 10px !important;
}

.transparent table, .transparent table tr, .transparent table td {
    background-color: transparent !important;
}

/*** LOADING  **********************************************************/
#loadingDiv {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6rem;
    height: 6rem;
    border: 20px solid #f3f3f3;
    border-top: 16px solid #9c41f2;
    border-radius: 100%;
    margin: auto;
    visibility: hidden;
    animation: spin 1s infinite linear;
}

#loadingDiv.display {
    visibility: visible;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/*** DIAPORAMA  **********************************************************/

.diaporama {
    position: relative;
    height: 0;
    /* width: 100%; */
    padding-bottom: 56.25%;
    overflow: hidden;
}

.diaporama img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.diaporama img:first-child {
    opacity: 1;
}

.diaporama img.active {
    opacity: 1;
}


/*** BADGES **************************************/

[data-after-text],
[data-before-text] {
    --badge-offset-x: calc(0px - var(--badge-size) / 3);
    --badge-offset-y: calc(0px - var(--badge-size) / 3);
    --badge-size: 1.5rem;
    --circle-size: 2rem;
    --dot-offset: 0.5rem;
    --dot-size: 0.5rem;

    --b: initial;
    --bgc: hsl(195, 100%, 30%);
    --bdrs: 0;
    --c: hsl(195, 100%, 99%);
    --d: inline-flex;
    --fz: 1.2rem;
    --fw: 700;
    --h: auto;
    --l: initial;
    --m: 0.4rem;
    --p: 0;
    --pos: static;
    --r: initial;
    --t: initial;
    --tt: uppercase;
    --w: initial;

    position: relative;
}

[data-after-text]:not([data-after-text=""])::after {
    content: attr(data-after-text);
}

[data-before-text]:not([data-before-text=""])::before {
    content: attr(data-before-text);
}

[data-after-text]:not([data-after-text=""])::after,
[data-before-text]:not([data-before-text=""])::before {
    align-items: center;
    background: var(--bgc);
    border-radius: var(--bdrs);
    bottom: var(--b);
    box-shadow: var(--bxsh);
    box-sizing: border-box;
    color: var(--c);
    display: var(--d);
    font-size: var(--fz);
    font-weight: var(--fw);
    height: var(--h);
    justify-content: center;
    left: var(--l);
    padding: var(--p);
    position: var(--pos);
    right: var(--r);
    text-decoration: none;
    text-transform: var(--tt);
    top: var(--t);
    width: var(--w);
}

/* MODIFIERS */
[data-after-type*="badge"]::after,
[data-before-type*="badge"]::before {
    --bdrs: var(--badge-size);
    --bxsh: 0 0 0 2px rgba(255, 255, 255, 0.5);
    --h: var(--badge-size);
    --p: 0;
    --pos: absolute;
    --w: var(--badge-size);
}

[data-after-type*="circle"],
[data-before-type*="circle"] {
    align-items: center;
    display: flex;
}

[data-after-type*="circle"]::after,
[data-before-type*="circle"]::before {
    --bdrs: 50%;
    --fw: 600;
    --h: var(--circle-size);
/ / --pos: relative;
/ / --t: - 0.75 em;
    --tt: initial;
    --w: var(--circle-size);
}

[data-after-type*="circle"]::after,
[data-after-type*="pill"]::after {
    margin-inline-start: 1ch;
}

[data-before-type*="circle"]::before,
[data-before-type*="dot"]::before,
[data-before-type*="pill"]::before {
    margin-inline-end: 1ch;
}

[data-after-type*="dot"]::after,
[data-before-type*="dot"]::before {
    --bdrs: 50%;
    --d: inline-block;
    --fz: 50%;
    --h: var(--dot-size);
    --p: 0;
    --pos: relative;
    --t: -1px;
    --w: var(--dot-size);
}

[data-after-type*="dot"]::after,
[data-before-type*="dot"]::before {
    content: "" !important;
}

[data-after-type*="pill"]::after,
[data-before-type*="pil"]::before {
    --bdrs: 1rem;
    --p: 0.25rem 0.75rem;
    --pos: relative;
    --t: -1px;
}

/* COLORS */
[data-after-type*="blue"]::after,
[data-before-type*="blue"]::before {
    --bgc: #007acc;
}

[data-after-type*="darkgray"]::after,
[data-before-type*="darkgray"]::before {
    --bgc: #706e6b;
    --c: #fff;
}

[data-after-type*="green"]::after,
[data-before-type*="green"]::before {
    --bgc: #04844b;
}

[data-after-type*="lightgray"]::after,
[data-before-type*="lightgray"]::before {
    --bgc: #ecebea;
    --c: #080707;
}

[data-after-type*="orange"]::after,
[data-before-type*="orange"]::before {
    --bgc: #ffb75d;
    --c: #080707;
}

[data-after-type*="red"]::after,
[data-before-type*="red"]::before {
    --bgc: #c23934;
}

/* POSITION */
[data-after-type*="top"]::after,
[data-before-type*="top"]::before {
    --b: auto;
    --pos: absolute;
    --t: var(--dot-offset);
}

[data-after-type*="right"]::after,
[data-before-type*="right"]::before {
    --l: auto;
    --pos: absolute;
    --r: var(--dot-offset);
}

[data-after-type*="bottom"]::after,
[data-before-type*="bottom"]::before {
    --b: var(--dot-offset);
    --pos: absolute;
    --t: auto;
}

[data-after-type*="left"]::after,
[data-before-type*="left"]::before {
    --pos: absolute;
    --r: auto;
    --l: var(--dot-offset);
}

[data-after-type*="badge"][data-after-type*="top"]::after,
[data-before-type*="badge"][data-before-type*="top"]::before {
    --m: 0;
    --t: var(--badge-offset-y);
}

[data-after-type*="badge"][data-after-type*="right"]::after,
[data-before-type*="badge"][data-before-type*="right"]::before {
    --m: 0;
    --r: var(--badge-offset-x);
}

[data-after-type*="badge"][data-after-type*="bottom"]::after,
[data-before-type*="badge"][data-before-type*="bottom"]::before {
    --b: var(--badge-offset-y);
    --m: 0;
}

[data-after-type*="badge"][data-after-type*="left"]::after,
[data-before-type*="badge"][data-before-type*="left"]::before {
    --l: var(--badge-offset-x);
    --m: 0;
}


/*** COLORS  ***********************************************************/
.bg-green {
    background-color: #339933;
}

.bg-success,
.bg-emerald {
    background-color: #2ecc71;
}

.bg-nephritis {
    background-color: #27ae60;
}

.bg-lime {
    background-color: #8cbf26;
}

.bg-green-light {
    background: #A0D468;
}

.bg-teal {
    background-color: #00aba9;
}

.bg-turquoise {
    background-color: #1abc9c;
}

.bg-green-sea {
    background-color: #16a085;
}

.bg-mint {
    background: #37bc9b;
}

.bg-mint-light {
    background: #48cfad;
}

.bg-mint-light label {
    color: #ffffff;
}

.bg-blue {
    background-color: #2e8bcc;
}

.text-blue {
    color: #2e8bcc;
}

.bg-info,
.bg-peter-river {
    background-color: #3498db;
}

.bg-belize-hole {
    background-color: #2980b9;
}

.bg-blue-jeans {
    background: #4A89DC;
}

.bg-blue-jeans-light {
    background: #5D9CEC;
}

.bg-blue-aqua-light {
    background: #4fc1e9;
}

.bg-blue-aqua {
    background: #3BAFDA;
}

.bg-wet-asphalt {
    background-color: #34495e;
    color: #ffffff;
}

.bg-midnight-blue {
    background-color: #2c3e50;
    color: #ffffff;
}

.bg-red {
    background-color: #e51400;
    color: #ffffff;
}

.bg-pomegranate {
    background-color: #c0392b;
}

.bg-danger,
.bg-alert,
.bg-alizarin {
    background-color: #e74c3c;
    color: #ffffff;
}

.bg-red-light {
    background: #ed5565;
}

.bg-pumpkin {
    background-color: #d35400;
}

.bg-magenta {
    background-color: #ff0097;
}

.bg-orange-light {
    background: #fc6e51;
}

.bg-carrot {
    background-color: #e67e22;
}

.bg-orange {
    background-color: #f39c12;
}

.bg-sun-flower,
.bg-warning {
    background-color: #f1c40f !important;
}

.bg-yellow {
    background-color: #ffc40d;
    color: #000000;
}

.bg-yellow-light,
.stabilo {
    background: #FFCE54;
}

.post-it {
    background: #FAFAD2;
}

.bg-pink {
    background-color: #e671b8;
}

.btn-purple,
.bg-purple {
    background-color: #7b4f9d;
    color: #ffffff;
}

.bg-amethyst {
    background-color: #9b59b6;
}

.bg-wisteria {
    background-color: #8e44ad;
}

.bg-wisteria-light {
    background-color: #BE90D4;
}

.bg-wisteria-light label {
    color: #ffffff;
}

.bg-white {
    background: #ffffff;
}

.bg-clouds {
    background-color: #ecf0f1;
    color: #34495e;
}

.bg-clouds h1,
.bg-clouds h2,
.bg-clouds h3,
.bg-clouds h4,
.bg-clouds h5,
.bg-clouds h6 {
    color: #34495e;
}

.bg-clouds .tile-label {
    color: #34495e;
}

.bg-light {
    background-color: #ededed;
}

.bg-silver {
    background-color: #bdc3c7;
}

.bg-concrete {
    background-color: #95a5a6;
}

.bg-asbestos {
    background-color: #7f8c8d;
}

.bg-dark {
    background-color: #000000;
}