:root {
    --dt-row-selected: 97, 102, 148;
}

* {
	/*font-family: Arial, Helvetica, sans-serif; */
	font-family: Segoe UI, Helvetica Neue, Helvetica, Arial, sans-serif;
	font-size: 9pt;
    /* color: #333366; */
}

a {
    color: #333366;
}

/*----- commun -----*/

body
{
   background-position: center;
   font-family: Segoe UI, Helvetica Neue, Helvetica, Arial, sans-serif; 
   /*background-color: rgb(204, 204, 204); */
   margin: 0;
}

.page
{
   width: 98%;
   background-color: #fff;
   margin: 7px auto 0px auto;
   /*border: 1px solid #496077;*/
}

.main
{
   padding: 0px 12px;
   margin: 5px 5px 5px 5px;
   min-height: 420px;
}

.clear
{
    clear: both;
}

.footer {
    color: #4e5766;
    padding: 4px 0px;
    margin: 0px auto;
    line-height: normal;
    background-color: #006EB7;
    color: #fff;
    display:flex;
    justify-content: center;
    /* height: 48px; */
}
.footer img {
    width: 48px;
    margin-right: 5px;
    display: none;
}
.footer a:visited {
    color: white;
}
.footer-txt {
    display:flex;
    flex-direction: column;
    justify-content: center;
}

input.champ-form, textarea.champ-form, select.champ-form 
 {
   margin-top: 20px;
   margin-bottom: 2px;
   text-align: top;
   border-radius: 5px;
   border: 1px solid #CCCCCC;
   height: 30px;
}

.champ-form-oblig
{
}

.champ-focus {
    background-color: #F7D4AB;
    border: 2px solid red!important;
}


input.champ-form-nonmodif, select.champ-form-nonmodif
{
    background-color: #CCCCCC;
}

div.entete {
    background-color: #6E368C;
    color:#fff;
    display: flex;
    height: 96px;
}
div.entete img.logo {
    height: 96px;
    margin-left: 15px;
    /* display: none; */
}

div.entete ul {
    display: flex;
    margin-left: auto;
    margin-top: 0;
    margin-bottom: 0;

}
div.entete li {
    display: flex;
    /* align-items: center; */
}
div.entete li>div,
div.entete li>a {
    color: #fff;
}

div.entete li>div,
div.entete li a {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content:center;
    /* margin: auto; */
    padding-left: 15px;
    padding-right: 15px;
}
div.entete li>div img,
div.entete li a img {
    /* width: 16px; */
}
div.entete li>div:hover,
div.entete li a:hover {
    background-color: #4826b3;
    cursor:pointer;
}
.buttoninfoscollectivite[aria-expanded=true] {
    background-color:#b28dba;
}

.infoscollectivite[aria-hidden=false] {
    overflow: hidden;
    position: absolute;
    top: 95px;
    width: 310px;
    z-index: 991;
    height: 320px;
    /* margin-top: 98px; */
    transition: height 0.3s ease-in-out;
    right: 98px;
    margin-right: 0px;
    max-height: calc(-61px + 100dvh);
    visibility: visible;
    color: black;
    background-color: white;
    box-shadow: 2px 5px 5px black;
    border: 1px solid #6b358a;
    padding: 10px;
}
.infoscollectivite[aria-hidden=true] {
    display: none;
}

div.bloc-principal {
    border-radius: 5px;
    /* border: 2px solid #CCCCCC; */
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 0;
}

div.bloc-principal-contenu {
    float: clear;
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 5px;
    margin-bottom: 5px;
}

p.bloc-principal {
    text-align: center;
    margin-top: -2px;
    /* margin-bottom: -10pt; */
    padding:0 10px;
}

#TDB_wrapper {
    margin-top: -10pt;
}
.ui-dialog-titlebar-close {
    display: none;
}
.ui-widget-header {
    border: none;
    background: none;
}

.ui-dialog-title,
h1,
span.bloc-principal {
    background-color:#ffffff;
    font-size: 18pt;
    padding-left: 2px;
    padding-right: 2px;
    color: #009bd9;
    font-weight: bold;
}

.monbloc{
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
   padding:5px; /* Marges intérieures */
   border: 1px dashed #CCCCCC;/* bordure en pointillé, d'un pixel et en gris */   
   color: #6b368a;
} 
.motcle{
   color: #6b368a;
   font-weight: bold;
}
 
li{
  list-style-type: disc;
  color: #6b368a;
}

li:first-line {color:#6b368a;} 

ul{
  list-style-type: disc;
  font-size: 11pt;
}

.bouton-droite
{
   margin-left:550px;
}

button,
input[type="button"], input[type="submit"] {
   background-color: #006EB7;
   color: #ffffff;
   font-weight: bold;
   border: 0px;
   border-radius: 5px;
   padding: 15px 40px;
   cursor: pointer;
}

/*ajut CP pb bordure*/
a img {
  border: none;
}

a[href*="presentation-ciged"]{
        float:right;
        margin-top: 10px;
}

a[href*="presentation-ciged"] img{
    width: 30px;
    vertical-align: middle;
}

.mdp_oublie {
	color: #EC6726;
}	
a[href*="mode-d-emploi-ciged"] {
        color: #EC6726;
        margin-bottom: 10px;
        display:block;
        margin-left: 15px;
}
a[href*="content/ciged"] img{
    width: 30px;
    vertical-align: middle;
}
a.mdp_oublie span{
    margin-left:15px;
}
.parag-bold
{
   font-weight: bold;
}

//////////////////////////////
// Tableau de bord
/////////////////////////////
button.btn-desactive,
input[type="button"].btn-desactive
{
    opacity: 0.6;
    filter: alpha(opacity=60);
}
span.etatInstruit,
table.dataTable.display>tbody>tr:nth-child(odd)>.etatInstruit,
.dataTable.display>tbody>tr:nth-child(even)>.etatInstruit,
.dataTable.display>tbody>tr:nth-child(even):hover>.etatInstruit {
    /*background-color:#009BD9!important; 96aa02 
    color: #ffffff;*/
    color: #ffffff;
    box-shadow: inset 0 0 0 9999px rgba(0, 155, 217, 0.9);
   /* Violet box-shadow: inset 0 0 0 9999px rgba(110, 54, 140, 0.9);*/
}

table.dataTable>tbody>tr.selected a {
    color: rgb(var(--dt-row-selected-text));
}

span.etatTransfere,
table.dataTable.display>tbody>tr:nth-child(odd)>.etatTransfere,
.dataTable.display>tbody>tr:nth-child(even)>.etatTransfere,
.dataTable.display>tbody>tr:nth-child(even):hover>.etatTransfere {
    /*background-color:#FFCD1C!important; 009bd5 
    color: #ffffff;*/
    color: #ffffff;
    box-shadow: inset 0 0 0 9999px rgba(39, 53, 81, 0.9);

}
span.etatEnattente,
table.dataTable.display>tbody>tr:nth-child(odd)>.etatEnattente,
.dataTable.display>tbody>tr:nth-child(even)>.etatEnattente,
.dataTable.display>tbody>tr:nth-child(even):hover>.etatEnattente {
    /*background-color:#FFCD1C!important; 009bd5 
    color: #ffffff;*/
    color: #000;
    box-shadow: inset 0 0 0 9999px rgba(249, 200, 27, 0.9);
}

span.etatEncours,
table.dataTable.display>tbody>tr:nth-child(odd)>.etatEncours,
.dataTable.display>tbody>tr:nth-child(even)>.etatEncours,
.dataTable.display>tbody>tr:nth-child(even):hover>.etatEncours {
     /*background-color:#F39325!important; f29526
    color: #ffffff;*/
    color: #ffffff;
    box-shadow: inset 0 0 0 9999px rgba(234, 142, 36, 0.9);
}

span.etatClass,
table.dataTable.display>tbody>tr:nth-child(odd)>.etatClass,
.dataTable.display>tbody>tr:nth-child(even)>.etatClass,
.dataTable.display>tbody>tr:nth-child(even):hover>.etatClass {
   /* background-color:#6E368C!important;6b368a 
    color: #ffffff;*/
    color: #ffffff;
    box-shadow: inset 0 0 0 9999px rgba(110, 54, 140, 0.9);
}

table.dataTable.display>tbody>tr:nth-child(odd).selected>*,
table.dataTable.display>tbody>tr:nth-child(even).selected>* {
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.923);
}
table#TDB.dataTable.display>tbody>tr {
    cursor:pointer;
}
/*
td.drapeau_01, td.drapeau_02, td.drapeau_03{
    background-size: 18px 18px;
    background-position: 40% 30%;
    width: 18px; 
    height: 18px;
    content:"";
    background-repeat: no-repeat;
    color: white;
    vertical-align: bottom;
}
td.drapeau_01{
    background-image: url('../images/depot_rouge.png');
}
td.drapeau_02{
    background-image: url('../images/depot_bleu.png');
}
td.drapeau_03{
    background-image: url('../images/depot_vert.png');
}

tr.odd td.drapeau_01, tr.odd td.drapeau_02,tr.odd td.drapeau_03, tr.odd td.drapeau__ {
    color: #f9f9f9;
}

tr.selected.odd td.drapeau_01, tr.selected.odd td.drapeau_02,tr.selected.odd td.drapeau_03,
tr.selected.even td.drapeau_01, tr.selected.even td.drapeau_02,tr.selected.even td.drapeau_03,
tr.selected.odd td.drapeau__, tr.selected.even td.drapeau__ {
    color: #abb9d3;//abb9d3
}


td.drapeau__{
    color: white;
}
*/
#TDB_filter {
	/*
   * Masquer la zone de recherche commune à toute la table
   */
    /* display: none;*/
    margin-right: 10px;
}

/* DÃ©but specifique CHIC import de document patient */
.file_import {
    display: flex;
    margin-top: 25px;
}

.file_import .file_upload_zone_selected_files_preview {
    padding: 0em 1em;
    flex: 2;
}

.file_import .file_upload_zone_selected_files_preview .dz-preview {
    display: flex;
    margin-top: 0.5em;
}
.file_import .file_upload_zone_selected_files_preview .dz-preview .dz-details {
    flex:1;
}

.file_import .file_upload_zone_selected_files_preview .dz-preview .dz-error-message {
    flex:0;
}
.file_import .file_upload_zone {
    border-radius: 4px;
    border: 2px dashed #0087f7 !important;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
    text-align: center;
    min-height: 20vh;
    flex: 1;
}

.file_import .dz-preview {
    border-radius: 4px;
    border: 1px solid black;
}

.file_import .dz-preview > div {
    padding: 0 0.5em;
}

.file_import .dz-preview .dz-success-mark {
    display: none;
    background-color: rgb( 102, 187, 106, .8 )!important;
}

.file_import .dz-preview.dz-success .dz-success-mark {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2rem;
}

.file_import .dz-preview .dz-error-mark {
    display: none;
    background-color: rgba( 239, 83, 80, .8 ) !important;
}

.file_import .dz-preview.dz-error .dz-error-mark {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2rem;
}

.file_import .dz-preview .dz-progress {
    visibility: hidden;
    border: 1px solid black;
    height: 10px;
}

.file_import .dz-preview.dz-processing .dz-progress {
    visibility: visible;
}

.file_import .dz-preview .dz-progress .dz-upload {
    height: 10px;
    background-color: grey;
    width: 0%;
}

.file_import .dz-preview .dz-remove {
    color: red;
    padding: 0.5em;
}

.file_import .dz-error-message {
    color: red;
}

.file_import .file_import_action_btns {
    display: flex;
    justify-content: center;
}

.file_upload_zone_in_progress_msg,
.file_import .file_import_action_btns .close_file_import,
.file_import .file_import_action_btns .start_file_import,
.file_import .file_import_processing_msg {
    display: none;
}

.file_import .file_import_action_btns button {
    margin-left: 1em;
}
.file_import div.file_upload_zone.dz-clickable {
    background-color: #FBE3C6;
    border-color: #F1901D!important;
    cursor: pointer;
}
.file_import div.file_upload_zone:not(.dz-clickable) img{
    display: none;
}

.file_upload_zone_selected_files_preview .dz-existing-file,
.file_import div.file_upload_zone{
    background-color: #CCCCCC;
    border-color: #CCCCCC!important;
}

.file_upload_zone_selected_files_preview .dz-existing-file .dz-size {
    display:none;
}
.file_import div.file_upload_zone.dz-drag-hover {
    background-color: #FFF;
}
.dz-details {
    display: flex;
}
.dz-details>div {
    padding: 0.5em;
}
.file_import .dz-preview a.dz-remove {
    padding-bottom: 0;
}
.file_import_processing_msg img,
.dz-success-mark img,
.dz-error-mark img,
.dz-remove img {
    width: 19px;
}
.dz-filename {
    font-weight: bold;
}
.dz-size strong {
    font-weight: normal;
}
.file_import .dz-preview div.dz-success-mark,
.file_import .dz-preview div.dz-error-mark {
    background-color: transparent!important;
}
.dz-details+div {
    display: none;
}
.file_import .file_upload_zone_selected_files_preview .dz-preview .dz-error-message+div {
    flex:0;
}
button.btn_annuler,
input[type="button"]#btn_annuler_info_collectivite,
input[type="button"]#btn_annuler_depot {
    border: 1px solid #006EB7;
    color: #006EB7;
    background-color: #fff;
}
button:hover,
input[type="button"]#btn_annuler_depot:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    background-color: #009BD9;
    color: #fff;
    border-color: transparent;
}
button[disabled],
input[type="button"][disabled],
input[type="submit"][disabled] {
    background-color: #A6A6A6;
    cursor: default;
}

.text-secondary {
    --bs-secondary-rgb: 108, 117, 125;
    --bs-text-opacity: 1;
    color: rgba(var(--bs-secondary-rgb), var(--bs-text-opacity)) !important;
}
select option {
    color: initial;
}
#bloc-depot {
    margin-left: auto;
    max-width: 800px;
    margin-right: auto;
}
#bloc-depot>div:nth-child(1) {
    flex:1;
}
#bloc-depot.commentaires {
    max-width: 1100px;
}
#bloc-depot>div:nth-child(2) {
    display:none;
}
#bloc-depot.commentaires>div:nth-child(2) {
    display:flex;
    flex-direction:column;
    width: 300px; 
    background-color: #94caf1;
}
#bloc-depot.commentaires>div:nth-child(2)>#liste_commentaire {
    display:flex;
    flex-direction:column;
    height:478px;
    overflow-y:auto;
}
#bloc-depot.commentaires>div:nth-child(2)>#liste_commentaire>div:nth-child(1) {
    text-align: center;
    font-size: 1.3rem;
    color: white;
}
#bloc-depot.commentaires>div:nth-child(2)>#liste_commentaire>div:not(:nth-child(1)) {
    background-color: #D5EBFB;
    border: 1px solid #006EB7;
    width: calc(100% - 35px);
    margin: 5px;
    padding: 5px;
    border-radius: 5px;
}
#bloc-depot.commentaires>div:nth-child(2)>#liste_commentaire>div:not(:nth-child(1)).collectivite {
    margin-left: auto;
    background-color: #fbe8d1;
    border: 1px solid #EC6726;
}
#bloc-depot.commentaires>div:nth-child(2)>#liste_commentaire>div:not(:nth-child(1))>div:nth-child(1) {
    color: #006EB7;
    font-weight: bold;
}
#bloc-depot.commentaires>div:nth-child(2)>#liste_commentaire>div:not(:nth-child(1)).collectivite>div:nth-child(1) {
    color: #EC6726;
}
#bloc-depot.commentaires>div:nth-child(2)>#liste_commentaire>div:not(:nth-child(1))>div:nth-child(2) {

}
#bloc-depot.commentaires>div:nth-child(2)>#liste_commentaire>div:not(:nth-child(1))>div:nth-child(3) {
    font-size: 7pt;
    font-weight: bold;
    text-align: right;
}

form[name="principal"]:not([action="code/redirection.php"]) {
    height: calc(100vh - 162px);
    overflow: auto;
}
.dt-scroll-body {
    min-height: 150px; /* Hauteur minimale du corps du tableau */
}
.optionnel {
    position: relative;
    display: inline-block;
}
.optionnel:after {
    content: "(Optionnel)";
    color: #F39325;
    position: absolute;
    right: 0px;
}
span.obligatoire {
    color: red;
    font-weight: bold;
}

div.flex-space-between {
    display: flex;
    justify-content: space-between;
}
.commentaire {
    font-size: 9pt;
    color: #009bd9;/*#78B7E5;*/
}
#creationagentform input.champ-form {
    margin-top : 2px;
    margin-bottom: 20px;
}
#age_agent {
    margin-left: 5px;
}
table.dataTable th.dt-type-numeric,
table.dataTable th.dt-type-date, 
table.dataTable td.dt-type-numeric, 
table.dataTable td.dt-type-date {
    text-align: left;
}
.gomette {
    position: relative;
}
.gomette div {
    border-radius: 50px;
    background-color: #FF0000;
    width: 30px;
    color: white;
    height: 25px;
    padding-top: 7px;
    position: absolute;
    top: -15px;
    right: 24px;
}
#pos_datedepot_affichage {
    margin-left: 30px;
    color: #555555;
    font-size: 9pt;
    font-style: italic;
}
#etat_pour_visualiseur_affichage {
    padding: 5px 20px;
    margin-left: 20px;
}
#bloc-depot {
    
}
.ui-datepicker-trigger {
    width: 24px;
    height: 24px;
    cursor: pointer;
    margin-bottom: -6px;
    margin-left: 5px;
}

/* Si le champ est désactivé, applique l’image grise */
input[disabled] + .ui-datepicker-trigger {
    opacity: 0.5;
    pointer-events: none;
}