/*TODO a supprimer pour passer sur la declaration plus propre*/
@font-face {
    font-family: BiryaniBold;
    font-weight: bold;
    src: url('fonts/Biryani-Bold.ttf');
}

@font-face {
    font-family: Biryani;
    font-weight: bold;
    src: url('fonts/Biryani-Bold.ttf');
}

@font-face {
    font-family: Biryani;
    font-weight: normal;
    src: url('fonts/Biryani-Regular.ttf');
}

:root {
    --primaire: #009A51;
    --primaire-variant: #0B7E48;

    --secondaire: #2B8088;
    --secondaire-variant: #195D64;

    --neutre: #A26A02;
    --neutre-background: #FFF8EC;

    --equal: #545454;
    --equal-background: #d9d9d9;
    
    --positif: #236143;
    --positif-background: #E3FAE9;

    --red: #D2552E;
    --red-hover: #942e15;
    --red-background: #FCE9E9;

    --orange: #FCAB10;

    --black: #0E2833;
    --black-75: #4A5E66;
    --black-32: #B2BABE;
    --black-25: #C3C9CC;

    --white: #FFFFFF;

    --background: #FAFAFA;
    --wrapper: #F7FAFA;

    --oldSuccess : #1AE;
}

html {
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 669px) {
    html{
        scroll-padding-top: 72px;
    }
}

body {
    padding: 72px 0 0 0 !important;
    margin: 0 auto;
    color: black;
    background-color: #FAFAFA;
    min-height: 100vh;
}

.container {
    max-width: 100%;
}

div.main.container > div > table.dataTable {
    width: 100%;
    margin: 0;
}

.main .table thead th {
    vertical-align: middle;
}

table.dataTable tbody td {
    padding-bottom: 1em !important;
    padding-top: 1em !important;
}

.navbar .container {
    position: relative;
}

.div-button {
    width: 30%;
    min-width: 300px;
    text-align: right !important;
    margin: 0 0 0 auto;
}

.active{
    opacity: 1!important;
}

.inactive{
    opacity: 0.5!important;
}

input{
    border: 1px solid transparent;
}

.btn-secondary:focus,
.btn-primary:focus{
    outline: none!important;
    box-shadow: none;
}

.form-control:focus,
input:focus{
    outline: var(--primaire) auto 1px!important;
    border: 1px solid transparent;
    outline-offset: -1px;
    box-shadow: none;
}

.menu-toggle.disabledIfAccepted:disabled{
	background-color: lightgrey !important;
}

/*------------------------------------------Gestion des typos------------------------------------------*/
h2,
h1 {
    font-family: 'Calibri', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1.45em;
    padding: 10px 0 10px 0;
    margin: 0;
    color: var(--secondaire);
}

h2 {
    font-size: 1.5rem;
    line-height: 23px;
    padding: 0;
}

h3 {
    font-style: normal;
    font-weight: 650;
    font-size: 0.9375rem;
    line-height: 1.45em;
    padding: 5px 0 5px 0;
    margin: 0;
    color: var(--secondaire);
}

.titre1 {
    font-family: 'Calibri', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 2rem;
    line-height: 20px;
    padding: 0;
    color: #2B8088;
}

.titre2 {
    font-family: 'Calibri', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 20px;
    padding: 0;
    color: #2B8088;
}

span, a, p, .sous-pargraphe {
    font-family: 'Biryani', sans-serif;
    font-style: normal;
    font-size: 0.875rem;
    color: var(--black);
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.paragraphe-bold {
    font-weight: bold;
}

.paragraphe-important {
    font-size: 1rem;
    font-weight: bold;
    color: var(--secondaire);
}

.cliquable-text {
    color: var(--primaire);
}

.text-decoration-none {
    text-decoration: none;
}

.dataTables_wrapper {
	margin-bottom: 40px;
}

.dataTables_wrapper table {
    margin: 0 70px !important;
    width: calc(100% - 140px) !important;
    box-sizing: border-box !important;
    background-color: white;
    font-family: 'Biryani', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: .875em;
    line-height: 1.45em;
    border-radius: .5em;
}

.dataTables_wrapper th {
    border: 0 !important;
}

.dataTables_wrapper thead {
    border-bottom: solid 1px #CFCFCF;
    border-top: 0;
}

.dataTables_wrapper thead td {
    padding: .8em !important;
    background-color: white;
}

.dataTables_wrapper tbody td {
    padding: .8em !important;
    background-color: white;
}

table.dataTable thead th, table.dataTable thead td, table.dataTable tbody th, table.dataTable tbody td {
    padding: .8em !important;
    position: relative;
}

.bg-gray {
    background-color: #e9ecef !important;
}

.search {
    display: flex;
    background-color: #E8EEEB;
    padding: 1.5em;
    border-radius: .5em;
    align-items: center;
}

.vet_datatable {
    border: 0 !important;
}

.dataTables_length {
    border-top-left-radius: .5em;
    border-bottom-left-radius: .5em;
    margin-top: 32px;
    margin-left: 75px;
}

.dataTables_filter {
    border-top-right-radius: .5em;
    border-bottom-right-radius: .5em;
    margin-top: 10px;
    margin-right: 77px;
    margin-bottom: 10px;
}

.dataTables_info {
    margin-left: 70px;
}

.dataTables_paginate {
    margin-right: 50px;
}

.check {
    border: 2px solid #000000;
    border-radius: .25em;
    height: 1.5em;
    margin: .4em .4em .6em;
    background-color: white;
}

.lab_check {
    margin-right: 2em;
}

.searchbar {
    margin-left: auto;
    width: 32px;
    height: 32px;
}

.loupe {
    margin-top: .2em;
    display: block;
    position: absolute;
    width: 32px;
    height: 32px;
    background: url("/images/loupe.png");
}

.dropdown-menu {
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid var(--black-32);
    background-color: white;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    color: var(--black);
    cursor: pointer;
    padding: 0 8px;
}

footer {
    padding: 5px 20px;
    text-align: right;
    color: #ccc;
    font-size: 0.625rem;
    width: 100%;
}

#barre_indicateurs strong {
    font-weight: normal;
    font-size: 1rem;
}

#barre_indicateurs strong a {
    color: white;
    text-decoration: underline;
    font-size: 1rem;
}

.line-through {
    text-decoration: line-through;
}

label.required {
    font-weight: bold;
}

label.required:after {
    content: "*";
}

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

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

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

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

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

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

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

.buttons {
    padding: 30px 0 15px 0;
    text-align: right;
}

#calendar h2 {
    margin: 0;
    padding: 0;
    font-size: 1.5rem;
}

.agendabutton {
    text-align: center;
}

.agendabutton > select, .agendabutton > button {
    margin: 5px;
}

.hidden {
    display: none !important;
}

#list > table {
    margin-top: 10px;
}

/* Fix bug des autocomplete dans des modals qui n'affiche plus rien */
.ui-front {
    z-index: 1200;
}

/* Datatable */

table.vet_datatable.dataTable thead .sorting_asc {
    background-image: url("/images/sort_asc.svg");
}

table.vet_datatable.dataTable thead .sorting_desc {
    background-image: url("/images/sort_desc.svg");
}

.form-control::-webkit-input-placeholder {
    color: #cecece;
}

/* WebKit, Blink, Edge */
.form-control:-moz-placeholder {
    color: #cecece;
}

/* Mozilla Firefox 4 to 18 */
.form-control::-moz-placeholder {
    color: #cecece;
}

/* Mozilla Firefox 19+ */
.form-control:-ms-input-placeholder {
    color: #cecece;
}

/* Internet Explorer 10-11 */
.form-control::-ms-input-placeholder {
    color: #cecece;
}

/* Microsoft Edge */

label.required {
    font-weight: bold;
}

label.required:after {
    content: "*";
    padding-left: 5px;
}

.table {
    width: 100%;
    margin-bottom: 0;
    color: #212529;
}

.action-icon {
    display: inline-block;
    width: 23px;
    margin-right: 4px;
}

.panneau_construction {
    position: fixed;
    bottom: 10px;
    left: 0px;
    width: 100%;
    background-color: yellow;
    height: 130px;
    text-align: center;
    background: linear-gradient(45deg, #333 0%, #CCC 3%, #333 6%, #333 25%, #EC1 25%, #FFF 28%, #EC1 31%, #EC1 50%, #333 50%, #CCC 53%, #333 56%, #333 75%, #EC1 75%, #FFF 78%, #EC1 81%, #EC1 100%);
    background-size: 45px 45px;
}

.panneau_construction div {
    margin-top: -2px;
    width: 100%;
    background-color: #666;
    height: 11px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .5);
}

.panneau_construction span {
    display: inline-block;
    background-color: #444;
    padding: 5px 15px;
    color: #FFF;
    font-weight: bold;
    font-size: 1.6rem;
    border: 1px solid #777;
    border-radius: 3px;
    margin-top: 20px;
    transform: rotate(3deg);
    box-shadow: 0 0 3px 2px rgba(0, 0, 0, .5);
}

.exo_select::-ms-expand {
    display: none;
}

.exo_select {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-overflow: '';
    border-radius: 5px;
    border: none;
    inset: none;
    background-color: rgba(0, 0, 0, .2);
    color: white;
    box-shadow: inset 3px 3px 3px rgba(0, 0, 0, .4);
    font-size: 1.2rem;
    padding: 4px 12px;
    cursor: pointer;
}

.exo_select_responsive{
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: transparent;
    color: var(--primaire);
    text-decoration: underline;
    cursor: pointer;
}

.exo_select_responsive_container{
    display: none;
}

.exo_select option {
    color: white;
}

.exo_select option:focus {
    background-color: #FFF;
    color: #095;
}

.btn-help.btn-round {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.btn-help {
    border-radius: 2%;
}

.btn-help span {
    font-size: 1.875rem;
}

.btn-help span {

    font-size: 1.5625rem;
}

.clipboard {
	cursor: pointer;
}

/* -------------------Refonte--------------------- */
.navbar {
    height: 72px;
}

.navbar .navbar-brand {
    margin-right: 32px;
    margin-bottom: 7px;
}

.navbar a {
    padding: 0;
    line-height: 1;
    margin: 0;
    margin-top: 4px;
}

.navbar a:after {
    content: none;
}

.navbar .nav-left {
    gap: 32px;
}

.navbar .administration,
.navbar .user-menu {
    position: relative;
}

.navbar .dropdown-menu {
    position: absolute;
    flex-direction: column;
    min-width: 280px;
    right: 0 !important;
    left: auto;
    padding: 0;
    overflow: hidden;
}

.navbar .dropdown-menu .list{
    padding: 8px;
    display: flex;
    gap: 6px;
    flex-direction: column;
}

.navbar .dropdown-menu a {
    color: var(--black);
    text-decoration: none;
}

.navbar .dropdown-menu .menu-item {
    display: flex;
    gap: 10px;
    white-space: nowrap;
    background-color: white;
    border: none;
    color: var(--black);
    padding: 8px;
    border-radius: 4px;
    align-items: center;
    padding-bottom: 4px;
    margin: 0;
}

.navbar .dropdown-menu .menu-item:hover {
    background-color: var(--wrapper);
}

.navbar .dropdown-menu .menu-item img {
    margin-top: -5px;
}

.navbar .dropdown-menu.show {
    display: flex !important;
    animation: playAnimation 0.2s ease-out;
}

@keyframes playAnimation {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar .nav-link:hover img,
.navbar .nav-link:hover svg {
    opacity: 0.75;
}

.navbar-brand {
    margin-bottom: 6px;
    margin-right: 40px;
}

/* Zones importantes de formulaires grisées */
.form-important {
    background: #2B80880A!important;
    padding: 1em;
    border-radius: .5em;
    color: #393A10;
}

/* Container */
.form-container {
    background-color: var(--white);
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--black-32);
}

/*style des chiffres dans un tableau*/
.dataTable-number-style {
    padding: 8px 12px;
    border-radius: 4px;
    white-space: nowrap;
    position: absolute;
}

.dataTable-number-equal {
    color: var(--equal);
    background-color: var(--equal-background);
}

.dataTable-number-positive {
    color: var(--positif);
    background-color: var(--positif-background);
}

.dataTable-number-negative {
    color: var(--red);
    background-color: var(--red-background);
}

.dataTable-number-warning {
    color: var(--neutre);
    background-color: var(--neutre-background);
}

.top-page {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 70px;
}

.page-title-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.title-space {
    height: 8px;
}

.page-infos {
    font-family: 'Calibri', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 20px;
    padding: 0;
}

.content-filter {
    margin: 40px 10% 0 10%;
    background: rgba(43, 128, 136, 0.04);
    border-radius: 8px;
    height: 80px;
    display: flex;
}

.content-filter .filterContainer{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}

.content-filter .liste-filter {
    display: flex;
    width: 70%;
    margin-left: 32px;
    gap: 5%;
}

.content-filter .filter {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.content-filter .filter input[type="checkbox"] {
    cursor: pointer;
}

.content-filter .filter label {
    line-height: 24px;
    cursor: pointer;
}

#liste_filter input[type="search"], #DataTables_Table_0_filter input[type="search"] {
    width: 100%;
    padding-right: 38px;
    max-width: 264px;
    margin: 0;
}

#liste_filter input[type="search"]:before, #DataTables_Table_0_filter input[type="search"]:before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 25 25' fill-rule='evenodd'%3E%3Cpath d='M16.036 18.455l2.404-2.405 5.586 5.587-2.404 2.404zM8.5 2C12.1 2 15 4.9 15 8.5S12.1 15 8.5 15 2 12.1 2 8.5 4.9 2 8.5 2zm0-2C3.8 0 0 3.8 0 8.5S3.8 17 8.5 17 17 13.2 17 8.5 13.2 0 8.5 0zM15 16a1 1 0 1 1 2 0 1 1 0 1 1-2 0'%3E%3C/path%3E%3C/svg%3E") center / contain no-repeat;
}

/* Pour cacher la petite croix qui s'ajoute sur les inputs de type search sur les navigateurs Chrome/Chromium */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
}

input[type="checkbox"] {
    height: 24px !important;
    width: 24px;
    background: #FAFAFA;
    border: 2px solid rgba(57, 58, 16, 0.32) !important;
    border-radius: 4px;
    accent-color: #009A51;
    position: initial;
}

.titre-section {
    margin: 0;
}

.chiffre-important {
    font-family: 'BiryaniBold', sans-serif;
    font-style: normal;
    font-size: 1.5rem;
    line-height: 32px;
    display: flex;
    align-items: center;
    color: #2B8088;
    padding: 0;
}

.btn-primary,
.btn-secondary,
.btn-danger {
    border: none;
    padding: 16px;
    font-family: 'BiryaniBold', sans-serif;
    font-style: normal;
    font-size: 0.875rem;
    border-radius: 8px !important;
    color: #FFFFFF;
    line-height: 1;
    padding-top: 20px !important;
    padding-bottom: 16px !important;
}

.btn-primary {
    background-color: var(--primaire);
    transition: 0.2s ease-out;
}

.btn-primary:not(:disabled):hover {
    background-color: var(--primaire-variant);
}

.btn-secondary {
    background-color: var(--secondaire);
    transition: 0.2s ease-out;
}

.btn-secondary:not(:disabled):hover {
    background-color: var(--secondaire-variant);
}

.btn-primary:disabled,
.btn-secondary:disabled {
    cursor: auto;
}

.linkAdd .fa-plus:before {
    border: 2px white solid;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    padding: .15em .3em .1em;
    margin-right: .5em;
}

.linkAdd {
    margin-bottom: 1em;
    margin-right: 2em;
}

input::placeholder {
    font-family: 'Biryani', sans-serif;
    font-style: normal;
    font-size: 0.875rem;
    color: #041E0E;
    opacity: 0.5;
}

input, select.form-control {
    height: 53px !important;
    border: 1px solid rgba(57, 58, 16, 0.32);
    border-radius: 8px !important;
    padding-left: 16px !important;
}

textarea {
    border: 1px solid rgba(57, 58, 16, 0.32) !important;
    border-radius: 8px !important;
    padding-left: 16px !important;
    padding-top: 6px !important;
}

label {
    font-family: 'Biryani' !important;
    font-size: 0.875rem !important;
    margin-bottom: 0 !important;
    margin-top: 4px;
}

#mdp-wrapper, #confirm-mdp-wrapper {
    position: relative;
}

#mdp-icon, #confirm-mdp-icon {
    position: absolute;
    top: 14px;
    right: 10px;
    color: #009a51;
    cursor: pointer;
}

.form-bloc {
    padding: 2.5em;
    background-color: #FFFFFF;
    border: 1px solid #393A1052;
    border-radius: .5em;
}

.form-bloc-total {
    padding: 1.5em;
    background-color: #FFFFFF;
    border: 1px solid #393A1052;
    border-radius: 3em;
}

.chiffre-total {
    font-family: 'BiryaniBold', sans-serif;
    font-style: normal;
    font-size: 1rem;
    color: #2B8088;
}

.chiffre-total-big {
    font-family: 'BiryaniBold', sans-serif;
    font-style: normal;
    font-size: 1.5rem;
    line-height: 42px;
    display: flex;
    align-items: center;
    color: #2B8088;
}

.important-text-color {
    color: #2B8088;
}

.white-background {
    background-color: white;
}

.grey-background {
    background-color: var(--wrapper);
}

.transparent-button {
    background-color: transparent;
    border-color: transparent;
}

.transparent-button:focus {
    outline: none;
}

.primary-text {
    color: green;
    font-weight: bold;
    text-decoration: underline;
}

.form-control {
    border: 1px solid var(--black-32);
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.btn-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 8px;
    padding: 10px 16px !important;
    cursor: pointer;
}

.btn-icon .icon-container {
    height: 28px;
    width: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-icon .text-container {
    width: 100%;
    text-align: center;
    margin-top: 3px;
    text-wrap: nowrap;
    color: var(--white);
}

.btn-icon-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 200px;
    padding: 8px;
    gap: 8px;
}

.btn-icon-top-compact {
    width: fit-content;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    white-space: nowrap;
    gap: 2px
}

.btn-small-icon {
    padding: 6px 12px !important;
    cursor: pointer;
}

.btn-small-icon img {
    transition: 0.1s ease-in;
}

.btn-small-icon:hover img {
    transform: translateY(-2px);
}

.arrow_button {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.arrow_button svg {
    transition: 0.1s ease-out;
}

.arrow_button:hover svg {
    transform: translateX(2px);
    fill: #0A4D2D;
}

.arrow_button.disabled{
    color: #009a51!important;
}

.arrow_button.disabled:hover svg {
    transform: translateX(0)!important;
    fill: #009a51;
}

.thin {
    margin: 0;
}

hr {
    border: 1px solid var(--black-25);
}

.dynamic-background-small {
    padding: 2px 8px;
    border-radius: 8px;
}

.opacity75 {
    opacity: 0.75;
}

/*style des boutons avec uniqument des icones*/
.button-icon-only {
    border: none;
    background-color: transparent;
    height: 56px;
    width: 56px;
    border-radius: 8px;
    padding: 0;
    position: relative;
    cursor: pointer;
}

.button-icon-only:focus {
    outline: none;
}

.button-icon-only img {
    transition: 0.1s ease-in;
}

.button-icon-only .label {
    display: none;
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translate(-50%, 0);
    text-wrap: nowrap;
    background-color: var(--black);
    color: white;
    padding: 8px 12px 6px 12px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.16);
    white-space: nowrap;
}

.button-icon-only:hover {
    background-color: var(--wrapper);
}

.button-icon-only:hover img {
    transform: translate(0, -2px);
}

.button-icon-only:hover .label {
    display: block;
}

.btn-icon-text {
    display: flex;
    gap: 8px;
}

/*Style des switchs*/
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-checkbox {
    display: none;
}

.toggle-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 24px;
    border-radius: 17px;
    background-color: var(--red);
    cursor: pointer;
    transition: background-color 0.3s;
}

.toggle-label:before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    transition: transform 0.3s;
}

.toggle-checkbox:not(:disabled) + .toggle-label:hover:before {
    transform: translateX(4px) scale(1.1);
}

.toggle-checkbox:checked + .toggle-label {
    background-color: var(--primaire);
}

.toggle-checkbox:checked:not(:disabled) + .toggle-label:hover:before {
    transform: translateX(20px) scale(1.1);
}

.toggle-checkbox:checked + .toggle-label:before {
    transform: translateX(24px);
}

.toggle-checkbox:disabled + .toggle-label {
    cursor: auto;
}

/*Affichage des information au hover*/
.informations-container {
    position: relative;
}

.informations-container .information-bubble {
    display: none;
    position: absolute;
    top: 21px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    border-radius: 10px;
    background-color: var(--black);
    color: white;
    z-index: 100;
    text-wrap: nowrap;
    font-size: 0.9rem;
    line-height: 1.5rem;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.16);
    margin: 0;
    white-space: nowrap;
}

/*Quand on hover info-activator information-bubble s'affiche*/
.informations-container:hover .information-bubble {
    display: block;
}

.third-btn-primary {
    color: var(--primaire);
    text-decoration: underline;
    font-weight: bold;
    cursor: pointer;
}

.third-btn-secondaire {
    color: var(--secondaire);
    text-decoration: underline;
    font-weight: bold;
    cursor: pointer;
}

.error-content {
    width: 200px;
    text-align: center;
}

/* Pour garder les charts à une taille max de 400px */
.chart-wrapper {
    width: 400px;
    height: 400px;
}

/*Style de la pagination*/
.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background-color: var(--primaire) !important;
    background: var(--primaire) !important;
    border: none !important;
    color: white !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: var(--primaire) !important;
    background: var(--primaire) !important;
    border: none !important;
    color: white !important;
}

.dataTables_wrapper .dataTables_paginate .disabled:hover {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
}

.tooltip {
    pointer-events: none;
}

.tooltip-inner {
    background-color: var(--black) !important;
    pointer-events: none;
}
/*Personalisation pop-up*/
.swal2-show {
    animation: appear-pop-up 0.2s ease-out;
}
.popup-show {
    animation: appear-pop-up-center 0.2s ease-out;
}

.swal2-hide {
    animation: hide-pop-up 0.2s forwards;
}
.popup-hide {
    animation: hide-pop-up-center 0.2s forwards;
}

.swal2-icon.swal2-warning {
    display: none !important;
}

.swal2-cancel {
    background-color: var(--primaire) !important;
}

.swal2-confirm {
    background-color: var(--secondaire) !important;
}

/*style de la navbar mobile*/
#mobile-nav {
    display: flex;
    position: fixed;
    background-color: var(--white);
    bottom: 0;
    gap: 5%;
    justify-content: space-around;
    width: 100%;
    padding: 10px 0;
    border-top: 1px solid var(--black-32);
    filter: drop-shadow(0px 0px 6px rgba(18, 21, 7, 0.17));
    z-index: 1000;
}

#mobile-nav .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    gap: 4px;
    opacity: 0.5;
    text-decoration: none;
}

.current-infos-menu{
    display: none;
    gap: 12px;
    border-bottom: 1px solid var(--black-32);
    color: var(--black);
    padding: 16px;
    align-items: center;
}

.administration-title{
    text-align: center;
    padding: 8px;
    border-bottom: 1px solid var(--black-32);
    color: var(--black-75);
    display: none;
    line-height: 1;
    font-weight: bold;
}

.nav-link .icone-responsive{
    display: none;
}

.mail-popup .swal2-confirm{
    background-color: var(--primaire)!important;
    order: 1;
}

.mail-popup .swal2-cancel{
    background-color: transparent!important;
    padding: 0;
    text-decoration: none;
    color: var(--secondaire)!important;
}

.mail-popup .swal2-cancel:hover{
    background-image: none!important;
    text-decoration: underline;
}

/*Responsive navbar*/
.exercice-mobile,
.administration-responsive {
    display: none !important;
}

.navbar-expand-md .navbar-nav{
    gap: 32px;
    flex-direction: row!important;
}


/*style de la carte client*/
.card-client {
    border: 1px solid var(--black-32);
    border-radius: 8px;
    overflow: hidden;
    min-width: 496px;
}

.card-client textarea,
.card-client input {
    border: none !important;
    height: 22px !important;
    background-color: transparent !important;
    padding: 0 !important;
    font-size: inherit !important;
    font-family: inherit !important;
    color: inherit !important;
    outline: none !important;
    cursor: default !important;
    width: auto !important;
    display: inline-block !important;
}

.card-client .top {
    background-color: white;
    justify-content: space-between;
    padding: 12px;
    height: 72px;
}

.card-client .top .informations-client {
    gap: 12px;
}

.card-client .body {
    background-color: var(--wrapper);
    padding: 16px;
    align-items: center;
}

.card-client .body .left-section {
    width: 50%;
    gap: 12px;
}

.card-client .body .left-section > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-client .body .right-section {
    width: 50%;
}

.card-client .body .right-section .icon-pin {
    width: 24px;
    height: 24px;
}

.note-icon-caret{
    display: none!important;
}

/*Keyframes*/
@keyframes appear-pop-up {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hide-pop-up {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-8px);
    }
}

@keyframes appear-pop-up-center {
    0% {
        opacity: 0;
        transform: translate(-50%, -8px);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes hide-pop-up-center {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -8px);
        display: none;
    }
}


/*Responsive*/
@media screen and (max-width: 1500px) {
    #barre_indicateurs strong a {
        font-size: 0.875rem;
    }

    #barre_indicateurs strong {
        font-size: 0.875rem;
    }
}

@media screen and (max-width: 1400px) {
    .exo_select {
        display: none;
    }
    .exo_select_responsive_container{
        display: block;
    }

    .navbar .nav-left{
        gap: 16px;
    }

    .exercice-mobile {
        display: flex!important;
    }

    .chiffre-important {
        font-size: 1.25rem;
    }

    p, span {
        font-size: 0.8125rem;
    }
}

@media screen and (max-width: 1200px) {
    .current-infos-nav{
        display: none;
    }
    .current-infos-menu{
        display: flex;
        justify-content: center;
        align-content: center;
    }

    #mode_lycorne{
        padding: 10px 8px !important;
    }

    #mode_lycorne .text-container{
        display: none!important;
    }
}

@media screen and (max-width: 1100px) {
    .nav-link .icone-responsive {
        display: block;
    }

    .wrapper-administration {
        display: none;
    }

    .navbar-expand-md .navbar-nav {
        gap: 4px;
    }

    .administration-title{
        display: block;
    }
}

@media screen and (max-width: 1000px) {
    #barre_indicateur_replique{
        height: 80px;
    }

    #goToDashboard,
    #tooltip-aide{
        display: none;
    }
    .navbar .container{
        padding: 0!important;
    }
}

@media screen and (max-width: 768px) {
    .navbar-brand{
        margin-right: 16px!important;
    }
    .navbar .container{
        display: flex;
        flex-wrap: nowrap;
    }
    .navbar-collapse{
        display: flex!important;
    }
}

@media (min-width: 576px) {
    .navbar-nav li:last-of-type {
        position: relative;
    }
}

@media (max-width: 668px) {
    body {
        padding: 0 0 0 0 !important;
    }

    .mobile-hidden {
        display: none;
    }

    #barre_indicateurs,
    #breadcrumb {
        display: none;
    }

    #content-BCK{
        margin-bottom: 80px;
    }

    .container{
        padding: 0 !important;
    }

    .fixed-top {
        display: none;
    }

    .navbar .navbar-brand img {
        height: 24px !important;
    }

    .top-page {
        margin: 24px 2% 0 2%!important;
    }

    #breadcrumb {
        margin-left: 12px;
    }

    #barre_indicateurs {
        display: none;
    }

    .dropdown-menu {
        border-radius: 0;
        border: 1px #555 solid;
        border-left: 0;
        border-right: 0;
        color: white;
        background-color: transparent;
    }

    .dropdown-item {
        color: white;
    }

    /*Section filitre*/
    #DataTables_Table_0_length{
        display: none!important;
    }

    #DataTables_Table_0_filter {
        transform: translateY(-110px);
        width: 100%;
        right: auto !important;
        left: 0 !important;
        display: flex;
        flex-direction: row-reverse;
        padding: 0 2%!important;
        gap: 6%;
        align-items: center;
        top: 0 !important;
    }

    #DataTables_Table_0_filter > label:first-of-type {
        width: 100%;
        position: relative;
    }

    #liste_filter input[type="search"], #DataTables_Table_0_filter input[type="search"] {
        height: 42px !important;
        padding-top: 10px;
        margin-left: 0;
        max-width: unset;
    }

    #DataTables_Table_0_filter label svg {
        position: absolute;
        height: 24px;
        width: 24px;
        right: 0!important;
        top: 0!important;
        transform: translate(-12px, 8px) !important;
    }

    .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_paginate{
        margin: 0 !important;
    }

    #filter-trigger{
        display: flex;
        align-items: center;
        background-color: var(--secondaire);
        color: white;
        gap: 14px;
        padding: 8px 16px;
        border-radius: 8px;
        font-weight: bold;
    }

    /*Style des menus de filtres pour mobile*/
    .filter-mobile-open{
        display: flex !important;
        width: 100vw;
        height: fit-content;
        position: fixed;
        right: 0;
        background-color: var(--white);
        margin: 0!important;
        flex-direction: column;
        padding: 16px 0 32px 0;
        justify-content: space-around;
        bottom: 0;
        z-index: 10000;
        border-radius: 24px 24px 0 0;
        animation: modalAppear 0.2s ease-out;
    }

    @keyframes modalAppear {
        0% {
            opacity: 0.5;
            transform: translateY(8px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

   #filter-background{
       height: 100vh;
       width: 100vw;
       background-color: rgba(0, 0, 0, 0.4);
       position: absolute;
       z-index: 100;
       top: 0;
    }

    .filter-mobile-open .filterContainer{
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 0 24px;
        margin: 40px 0;
        width: 100%;
    }

    .filter-mobile-open .top{
        position: relative;
        width: 100%;
        text-align: center;
        line-height: 42;
    }

    .filter-mobile-open .top svg{
        position: absolute;
        left: 12px;
    }

    .filter-mobile-open .btn-container{
        padding: 0 24px;
    }

    .filter-mobile-open .btn-primary{
        width: 100%;
        margin: 0;
    }

    .filter-mobile-open .filterContainer .filter{
        width: 100%;
    }

    .filter-mobile-open .filter label{
        width: 100%;
        border: 1px solid var(--black-32);
        border-radius: 80px;
        text-align: center;
        padding: 8px 0;
        background-color: var(--background);
    }

    .filter-mobile-open .filter label small,
    .filter-mobile-open .filter input[type="checkbox"]{
        display: none;
    }

    .filter-mobile-open .filter label span:first-of-type{
        display: inline!important;
    }

    /*filtre avec checkbox cochées*/
    .filter-mobile-open .filter input[type="checkbox"]:checked + label{
        background-color: var(--wrapper);
        outline : 1px solid var(--primaire);
        border: 1px solid var(--primaire);
    }

    /*style générique des tableaux*/
    .table.dataTable{
        margin: 0!important;
        width: 100%!important;
    }
}

@media (min-width: 668px) {
    .navbar-nav li:last-of-type {
        position: relative;
    }

    .mobile-only {
        display: none!important;
    }

    #mobile-nav{
        display: none;
    }
}

.toast-class{
	border-radius: 8px !important;
	background: var(--white) !important;
	color: var(--black) !important;
	margin-bottom: 60px !important;
}

/* Contenu des skins remis ici avec les couleurs du skin vanilla */
a {
  color: #009a51;
}

a:hover {
  color: #0A4D2D;
}
    
#breadcrumb a {
  background-color: #444;
}
    
#breadcrumb .triangle {
  border-left : 15px solid #444;
}

.bg-light {
  background-color:#efe !important;
}

.bg-info {
  background-color: var(--secondaire) !important;
  border-color: #07A4B3 !important;
}

.bg-primary{
  background-color:#009a51 !important;
}

.bg-dark{
  background-color:#009a51 !important;
}

.bg-gloomy{
  background-color:#444 !important;
}

.bg-warning {
  background-color: #F38138 !important;
}

.bg-danger{
  background-color: #be2626 !important;
}

.btn-primary {
  background-color: #009a51 !important;
}

.btn-primary:not(:disabled):hover {
  background-color: #0B7E48 !important;
  border: none;
}

.btn-save {
  background-color: #1AE !important;
  border-color: #107cB1 !important;
}

.btn-save:hover{
  background-color: #107cB1 !important;
  border-color : #107cB1 !important;
}

.switch-field input:checked + label {
  background-color:  #009a51 !important;
}

.text-primary {
  color: #009a51 !important;
}

.text-warning {
    color: #F38138 !important;
}

.text-info {
  color: #009a51 ;
}

.text-danger{
  color: #be2626 !important;
}

.border-primary{
  border-color: #009a51 !important;
}

.dropdown-item.active, .dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #009a51 ;
}
 
.clostbtn{
  color: #be2626 !important;
}

.m-95 {
	max-width: 95%;
}