/* *************************************
Longueurs des zones de saisie
****************************************/
.required_label:after {
    content: " *";
    color: red;
}

.max50 {
    max-width: 50px;
}

.max80 {
    max-width: 80px;
}

.max100 {
    max-width: 100px;
}

.max150 {
    max-width: 150px;
}

.max200 {
    max-width: 150px;
}

.max250 {
    max-width: 250px;
}

.max300 {
    max-width: 300px;
}

.max350 {
    max-width: 350px;
}

.max400 {
    max-width: 400px;
}

.max450 {
    max-width: 450px;
}

.max500 {
    max-width: 500px;
}

.max600 {
    max-width: 600px;
}

.max700 {
    max-width: 700px;
}

.max800 {
    max-width: 800px;
}

.max900 {
    max-width: 900px;
}

.W50 {
    width: 50px;
}
.W80 {
    width: 80px;
}
.W100 {
    width: 100px;
}
.W130 {
    width: 130px;
}
.W150 {
    width: 150px;
}
.W200 {
    width: 150px;
}
.W250 {
    width: 250px;
}
.W300 {
    width: 300px;
}
.W350 {
    width: 350px;
}
.W400 {
    width: 400px;
}
.W450 {
    width: 450px;
}
.W500 {
    width: 500px;
}
.W600 {
    width: 600px;
}
.W700 {
    width: 700px;
}
.W800 {
    width: 800px;
}
.W900 {
    width: 900px;
}

/* *************************************
Hauteur des zones alert
****************************************/

.H50 {
    height: 50px;
}
.H80 {
    height: 80px;
}
.H100 {
    height: 100px;
}
.H130 {
    height: 130px;
}
.H150 {
    height: 150px;
}
.H200 {
    height: 150px;
}
.H250 {
    height: 250px;
}
.H300 {
    height: 300px;
}
.H350 {
    height: 350px;
}
.H400 {
    height: 400px;
}
.H450 {
    height: 450px;
}
.H500 {
    height: 500px;
}
.H600 {
    height: 600px;
}
.H700 {
    height: 700px;
}
.H800 {
    height: 800px;
}
.H900 {
    height: 900px;
}

.maxW50 {
    max-width: 50px;
}

.maxW80 {
    max-width: 80px;
}

.maxW100 {
    max-width: 100px;
}

.maxW130 {
    max-width: 130px;
}

.maxW150 {
    max-width: 150px;
}

.maxW200 {
    max-width: 150px;
}

.maxW250 {
    max-width: 250px;
}

.maxW300 {
    max-width: 300px;
}

.maxW350 {
    max-width: 350px;
}

.maxW400 {
    max-width: 400px;
}

.maxW450 {
    max-width: 450px;
}

.maxW500 {
    max-width: 500px;
}

.maxW600 {
    max-width: 600px;
}

.maxW700 {
    max-width: 700px;
}

.maxW800 {
    max-width: 800px;
}

.maxW900 {
    max-width: 900px;
}

/**************/

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

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

.bloc-action {
    float: right;
}

.bloc-action + * {
    clear: both;
}

.table {
    width: 100%;
    margin-top: 20px;
}

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

img {
    max-width: 100%;
}

/*** MAP ***/

.map {
    height: 300px;
}

.mapH500 {
    height: 500px;
}

.amount {
    text-align: right;
}

/*** SEARCH ***/

#form-search,
#formSearch {
    margin-top: 1.5rem;
}

.bloc-form {
    margin-top: 1rem;
}

.nav-item1 {
    background-color: #ffffff !important;
}

.panel-form {
    background-color: #e1e5ec !important;
}

.big_dash {
    font-size: 20px;
}

.chart-dash {
    width: 100%;
}

.row_entete {
    background-color: #ffffff !important;
    border-bottom: 4px solid #ffa800;
}

.col_entete {
    margin-top: 5px !important;
    background-color: #ffffff !important;
}

/**** DEFAUT ****/

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #161515;
    margin: 0;
}

h1,
h2,
h3 {
    margin-bottom: 20px;
}

/*
a img {border:0px;}
a{color:#000;text-decoration:none;}
a:hover,a:focus{color:#000;text-decoration:underline;cursor:pointer;}*/

textarea {
    resize: vertical;
}

ul {
    margin-bottom: 0;
    list-style: none;
}

.btn:hover {
    cursor: pointer;
}

.cursor-default {
    cursor: default !important;
}

.bg-label-white {
    background: #fff;
    color: #111111;
}

.bg-label-red {
    background: rgba(231, 7, 7, 0.493);
    color: #000 !important;
    font-weight: bold !important;
}

.bg-label-green {
    background: rgba(52, 187, 47, 0.493);
    color: #000 !important;
    font-weight: bold !important;
}

.bg-label-grey {
    background: rgb(95, 91, 91);
    color: #fff;
    font-weight: bold !important;
}

.bg-label-greysoft {
    background: rgb(240, 237, 237);
    border-color: rgb(240, 237, 237);
    color: #000;
}

.bg-label-black {
    background: #21212188;
    color: #fff;
}

.bg-label-orange {
    background: #fb692071;
    color: #000 !important;
    font-weight: bold !important;
}

.bg-label-blue {
    background: #9bbae9;
    color: #000 !important;
    font-weight: bold !important;
}

.bg-label-yellow {
    background: #b0ca3a93;
    color: #000 !important;
    font-weight: bold !important;
}

.bg-white {
    background: #fff;
    color: #111111;
}

.bg-red {
    background: rgb(231, 7, 7);
    color: #fff;
}

.bg-green {
    background: rgb(52, 187, 47);
    color: #111111;
}

.bg-grey {
    background: rgb(95, 91, 91);
    color: #fff;
}

.bg-greysoft {
    background: rgb(240, 237, 237);
    border-color: rgb(240, 237, 237);
    color: #000;
}

.bg-black {
    background: #212121;
    color: #fff;
}

.bg-orange {
    background: #fb6820;
    color: #111111;
}

.bg-blue {
    background: #00689f;
    color: #fff;
}

.bg-yellow {
    background: #b0ca3a;
    color: #111111;
}

.bg-message {
    background: #f5f5f4 !important;
    color: #111111 !important;
}

.bg-messageadmin {
    background: #f0e9cc !important;
    color: #1b1a1a !important;
}

.bg-messageprive {
    background: #575e64 !important;
    color: #f5efef !important;
}

.bg-col1 {
    background: rgb(199, 199, 201);
    color: #111111;
}

.bg-col2 {
    background: rgb(236, 236, 243);
    color: #111111;
}

.bg-dark {
    color: #fff;
    background-color: #343a40;
    border-color: #383f45;
}

.bg-reglementaire {
    color: #000000 !important;
    background-color: #ff9585 !important;
    border-color: #ff9585 !important;
    box-shadow: none !important;
}

.bg-curative {
    color: #000000 !important;
    background-color: #ffce66 !important;
    border-color: #ffce66 !important;
    box-shadow: none !important;
}

.bg-preventive {
    color: #000000 !important;
    background-color: #8bc6f7 !important;
    border-color: #8bc6f7 !important;
    box-shadow: none !important;
}

/* calendrier */
.fc-h-event .fc-event-main {
    color: #000000 !important;
}

#external-events {
    padding: 0 10px !important;
    border: 1px solid #fff !important;
    background: #fff !important;
}

#external-events .fc-event {
    /* cursor: move; */
    margin: 3px 0 !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.form-center {
    max-width: 400px;
    padding: 15px;
    margin: 0 auto;
}

.bloc-img-responsive img {
    max-width: 100%;
}

.required::after {
    content: "*";
    color: red;
}

/*** BUTTON
https://fontawesome.com/cheatsheet
***/

.btn::before,
.icon::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.btn::before {
    margin-right: 5px;
}

.btn.no-text::before {
    margin-right: 0px;
}

.btn-back::before {
    content: "\f053";
}

.btn-add::before {
    content: "\f067";
}

/*.btn-info::before {
  content: "\f05a";
}*/

.btn-edit::before {
    content: "\f044";
}

.btn-delete::before {
    content: "\f1f8";
}

.btn-duplicate::before {
    content: "\f0c5";
}

.btn-remove::before {
    content: "\f00d";
}

.btn-import::before {
    content: "\f019";
}

.btn-export::before {
    content: "\f093";
}

.btn-file::before {
    content: "\f115";
}

.btn-pdf::before {
    content: "\f1c1";
}

.btn-search::before {
    content: "\f002";
}

.btn-search-more::before {
    content: "\f00e";
}

.btn-divide::before {
    content: "\f24d";
}

.btn-calendar::before {
    content: "\f073";
}

.btn-upload-file::before {
    content: "\f07c";
}

.btn-see::before,
.icon-see::before {
    content: "\f06e";
}

.btn-attachment::before {
    content: "\f0c6";
}

.btn-contract::before {
    content: "\f573";
}

.btn-invoice::before {
    content: "\f570";
}

.btn-mail::before {
    content: "\f0e0";
}

.btn-group-toggle label::before {
    content: "\f0c8";
}

.btn-group-toggle label.active::before {
    content: "\f14a";
}

.btn-payment::before {
    content: "\f153";
}

.btn-save::before {
    content: "\f0c7";
}

.btn-abort::before {
    content: "\f057";
}

.btn-reset::before {
    content: "\f021";
}

.btn-download::before {
    content: "\f019";
}

/*** LOADER ***/

.loader-container {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 100000;
    display: none;
}

.loader {
    color: #fff;
    font-size: 90px;
    text-indent: -9999em;
    overflow: hidden;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load6 1.7s infinite ease, round 1.7s infinite ease;
    animation: load6 1.7s infinite ease, round 1.7s infinite ease;
}

@-webkit-keyframes load6 {
    0% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em,
            0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
    5%,
    95% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em,
            0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
    10%,
    59% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em,
            -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em,
            -0.297em -0.775em 0 -0.477em;
    }
    20% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em,
            -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em,
            -0.749em -0.34em 0 -0.477em;
    }
    38% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em,
            -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em,
            -0.82em -0.09em 0 -0.477em;
    }
    100% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em,
            0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
}

@keyframes load6 {
    0% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em,
            0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
    5%,
    95% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em,
            0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
    10%,
    59% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em,
            -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em,
            -0.297em -0.775em 0 -0.477em;
    }
    20% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em,
            -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em,
            -0.749em -0.34em 0 -0.477em;
    }
    38% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em,
            -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em,
            -0.82em -0.09em 0 -0.477em;
    }
    100% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em,
            0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
}

@-webkit-keyframes round {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes round {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
.underlined {
    /*border-bottom: 1px solid #FFA800;
padding-bottom: 3px;*/
    text-decoration-line: underline !important;
    text-decoration-color: #ffa800 !important;
    text-underline-offset: 10px !important;
}

.badge_elan {
    display: inline-block;
    padding: 0.25em 0.4em;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    margin-top: 5px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/*** Tableaux ***/

.table-compact td {
    padding: 0.2rem !important;
}

.table tbody tr:hover {
    background-color: #fdf9cc;
}

.badge {
    /* display: inline-block; */
    padding: 0.25em 0.4em;
    /* font-size: 75%; */
    /* font-weight: 700; */
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.dropdown-menu-xl {
    max-width: 1200px;
    min-width: 600px;
    padding: 0;
}

.smallfont {
    font-size: 12px;
}

.mediumfont {
    font-size: 14px;
}

/*** Tableaux statistiques ***/
.total td {
    color: #495057;
    background-color: #d0d2d4;
    border-color: #dee2e6;
}

.total_general td {
    color: #e5e9ec;
    background-color: #515355;
    border-color: #dee2e6;
}

/*******************************************************
    Checkboxes customs 2
    ********************************************************/

.span_pseudo,
.chiller_cb span:before,
.chiller_cb span:after {
    content: "";
    display: inline-block;
    background: #fff;
    width: 0;
    height: 0.2rem;
    position: absolute;
    transform-origin: 0% 0%;
}

.chiller_cb {
    position: relative;
    height: 2rem;
    display: flex;
    align-items: center;
}
.chiller_cb input {
    display: none;
}
.chiller_cb input:checked ~ span {
    background: #26c917;
    border-color: #26c917;
}
.chiller_cb input:checked ~ span:before {
    width: 1rem;
    height: 0.15rem;
    transition: width 0.1s;
    transition-delay: 0.3s;
}
.chiller_cb input:checked ~ span:after {
    width: 0.4rem;
    height: 0.15rem;
    transition: width 0.1s;
    transition-delay: 0.2s;
}
.chiller_cb input:disabled ~ span {
    background: #ececec;
    border-color: #dcdcdc;
}
.chiller_cb input:disabled ~ label {
    color: #dcdcdc;
}
.chiller_cb input:disabled ~ label:hover {
    cursor: default;
}
.chiller_cb label {
    padding-left: 2rem;
    position: relative;
    z-index: 2;
    cursor: pointer;
    margin-bottom: 0;
}
.chiller_cb span {
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid #ccc;
    position: absolute;
    left: 0;
    transition: all 0.2s;
    z-index: 1;
    box-sizing: content-box;
}
.chiller_cb span:before {
    transform: rotate(-55deg);
    top: 1rem;
    left: 0.37rem;
}
.chiller_cb span:after {
    transform: rotate(35deg);
    bottom: 0.35rem;
    left: 0.2rem;
}

/*Editeurs de texte*/
.trumbowyg-box,
.trumbowyg-editor {
    min-height: unset !important;
}

.trumbowyg-editor,
.trumbowyg-textarea {
    min-height: 200px !important;
    resize: vertical !important;
}

/*******************************************************
        Checkboxes customs droits
        ********************************************************/

.span_pseudo,
.chiller_cbdroits span:before,
.chiller_cbdroits span:after {
    content: "";
    display: inline-block;
    background: #fff;
    width: 0;
    height: 0.2rem;
    position: absolute;
    transform-origin: 0% 0%;
}

.chiller_cbdroits {
    position: relative;
    height: 1rem;
    display: flex;
    margin-left: 3rem;
    /* align-items: center; */
}
.chiller_cbdroits input {
    display: none;
}
.chiller_cbdroits input:checked ~ span {
    background: #26c917;
    border-color: #26c917;
}
.chiller_cbdroits input:checked ~ span:before {
    width: 1rem;
    height: 0.15rem;
    transition: width 0.1s;
    transition-delay: 0.3s;
}
.chiller_cbdroits input:checked ~ span:after {
    width: 0.4rem;
    height: 0.15rem;
    transition: width 0.1s;
    transition-delay: 0.2s;
}
.chiller_cbdroits input:disabled ~ span {
    background: #ececec;
    border-color: #dcdcdc;
}
.chiller_cbdroits input:disabled ~ label {
    color: #dcdcdc;
}
.chiller_cbdroits input:disabled ~ label:hover {
    cursor: default;
}
.chiller_cbdroits label {
    padding-left: 2rem;
    position: relative;
    z-index: 2;
    cursor: pointer;
    margin-bottom: 0;
}
.chiller_cbdroits span {
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid #ccc;
    position: absolute;
    left: 0;
    transition: all 0.2s;
    z-index: 1;
    box-sizing: content-box;
}
.chiller_cbdroits span:before {
    transform: rotate(-55deg);
    top: 1rem;
    left: 0.37rem;
}
.chiller_cbdroits span:after {
    transform: rotate(35deg);
    bottom: 0.35rem;
    left: 0.2rem;
}

/*Editeurs de texte*/
.trumbowyg-box,
.trumbowyg-editor {
    min-height: unset !important;
}

.trumbowyg-editor,
.trumbowyg-textarea {
    min-height: 200px !important;
    resize: vertical !important;
    background-color: #ffffff !important;
}

/* *************************************
Classes de colorisation de états
****************************************/
.et-blue {
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
    font-size: 0.7rem;
}

.et-bluesoft {
    color: black;
    background-color: #9dbad3;
    border-color: #9dbad3;
    font-size: 0.7rem;
}

.et-red {
    color: #fff;
    background-color: #b73333;
    border-color: #b73333;
    font-size: 0.7rem;
}

.et-redsoft {
    color: black;
    background-color: #cc7777;
    border-color: cc7777;
    font-size: 0.7rem;
}

.et-greysoft {
    color: #000000;
    background-color: #dbd5d5;
    border-color: #dbd5d5;
    font-size: 0.7rem;
}

.et-grey {
    color: #fff;
    background-color: #555050;
    border-color: #555050;
    font-size: 0.7rem;
}

.et-yellowsoft {
    color: black;
    background-color: #f5e1a9;
    border-color: #f5e1a9;
    font-size: 0.7rem;
}

.et-yellow {
    color: white;
    background-color: #cbeb1a;
    border-color: #cbeb1a;
    font-size: 0.7rem;
}

.et-greensoft {
    color: black;
    background-color: #b8dbb2;
    border-color: #b8dbb2;
    font-size: 0.7rem;
}

.et-green {
    color: white;
    background-color: #41ba2d;
    border-color: #41ba2d;
    font-size: 0.7rem;
}

.et-orangesoft {
    color: black;
    background-color: #dbb584;
    border-color: #dbb584;
    font-size: 0.7rem;
}

.et-orange {
    color: white;
    background-color: #d8961d;
    border-color: #d8961d;
    font-size: 0.7rem;
}

.et-violetsoft {
    color: black;
    background-color: #e0a6d2;
    border-color: #e0a6d2;
    font-size: 0.7rem;
}

.et-violet {
    color: white;
    background-color: #ce12e7;
    border-color: #ce12e7;
    font-size: 0.7rem;
}
