/* liste avec des infos plus petites */
.petite_dataTable .dataTables_length{font-size: 9px;}
.petite_dataTable .dataTables_filter{font-size: 9px;}
.petite_dataTable .dataTables_filter input{width: 80px;}
.petite_dataTable .dataTables_info{font-size: 9px;}
.petite_dataTable .table_liste{font-size: 11px;}
.petite_dataTable .table_liste td{font-size: 11px;}
.petite_dataTable .table_liste a{font-size: 11px;}

/* coté gauche 1/3 et droit 2/3 */
div#contenu_module_page_gauche_1_tiers{float: left; width: 33%; padding-right: 10px;}
div#contenu_module_page_droit_2_tiers{float: left; width: 67%; padding-left: 10px;}

div#contenu_module_page_gauche{float: left; width: 60%;min-height: 1200px;}
div#contenu_module_page_droit{float: right; width: 39%;right: 0;position: absolute;}

/* class des tableaux de liste classique */
.table_liste{border:0px solid #a9a9a9;width:100%;}
.table_liste th{color:#000;font-size:12px;padding:2px;text-align: left; padding: 0 4px;}
/*.table_liste th:nth-child(even),.table_liste td:nth-child(even){background-color:#e5e5e5  !important;}
.table_liste th:nth-child(odd),.table_liste td:nth-child(odd){background-color: transparent !important;}*/
.table_liste tr{border-bottom:1px solid #a9a9a9;}
.table_liste td{color:var(--colorClient);font-size:1em;padding:2px;text-align: left; padding: 0 4px;border-bottom: 1px solid #aaa; height: 36px;}
#liste_Actions_A_Faire.table_liste td{height: 25px;text-overflow: ellipsis;}
#liste_Actions_Faites.table_liste td{height: 25px;}
.table_liste td div{margin:0px;margin-left:auto;margin-right:auto;}
.table_liste td a{padding:0px;text-decoration:none;color:var(--colorClient)}
.table_liste td a:hover{text-decoration:underline;}

.table_liste tbody tr{background-color: transparent !important;}
/* .table_liste tbody tr.selected td{background-color: #f4d5d0 !important;}
.table_liste tbody tr.selected td:nth-child(even){background-color: #f2caca !important;} */

/* gestion des couleurs d'actions */


.bgGradient{background: linear-gradient(160deg, rgba(198,201,206,0.85) , rgba(255,255,255,0.85) ) !important; padding: 0px; border-radius: var(--borderRadius); padding-bottom: 10px; padding-top: 10px;}

.gradianBgTitle{
    background: linear-gradient(180deg, rgba(56,118,224,0.25) 0px, rgba(255,255,255,0) 70px);
    border-radius: 50px;
    padding-top:15px;
}

.titlePageContent{
    color: var(--couleurPrincipaleClient);
    font-weight: bold;
    font-size: 30px;
    display:flex;
    gap:10px;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
    margin-right:50px;
    margin-left: 50px;
    margin-bottom:10px;
}

.titlePageContent::before{
    content:"";
    display: flex;
    width:30px;
    min-width:30px;
    height:30px;
    background: url('../inc_images/design/menu/dossiers.png') no-repeat center center;
    background-size: contain;
}

.titlePageContent::after{
    content: "";
    display: flex;
    height:1px;
    width:100%;
    background-color: var(--couleurPrincipaleClient);
    position: absolute;
    bottom: -5px;
    left:0px;
}

.titlePageContent.pictoQRCodes::before{
    background:none;
    content:"\f029";
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
}

.titlePageContent.pictoDossiersOT::before{
    background: url('../inc_images/design/menu/dossiers.png') no-repeat center center;
    background-size: contain;
}
.titlePageContent.pictoDemandeTransport::before{
    background: url('../inc_images/design/menu/picto_demande.png') no-repeat center center;
    background-size: contain;
}

a.table_liste {
    color: #ffffff;
    text-decoration: none;
    border: none;
    outline:none;
}

a.table_liste:hover {
    text-decoration: underline;
}

a.table_liste:visited {
    color: #ffffff;
    text-decoration: none;
    border: none;
}


/* * DataTables features *  */

.dataTables_wrapper {
    position: relative;
    min-height: 302px;
    clear: both;
    font-weight: normal;
}

.dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 50px;
    margin-left: -125px;
    margin-top: -15px;
    padding: 14px 0 2px 0;
    border: 1px solid #ddd;
    text-align: center;
    color: #08215c;
    font-size: 12px;
    background-color: white;
    z-index: 45;
}

/* info au dessus de la table - voir x resultats */
.dataTables_length {
    width: auto;
    float: left;
    color:#08215c;
    margin-left:5px;
    text-align: left;
    margin-top: 15px;
    font-size: 0.9em;
    font-weight: normal;
}

.dataTables_length select {
    font-size: 1em;
    font-weight: normal;
    height: 20px;
    color:#08215c;
    background: #f1f1f1;
    border: none;
}

.dataTables_length option {
    font-size: 1em;
    font-weight: normal;
    padding: 3px;
    color:#08215c;
}

/* infos au dessus de la table - barre de recherche */
.dataTables_filter {
    margin:5px 5px 5px 5px;
    text-align: center;
    color:#08215c;
    font-size: 1em;
    margin-bottom: -25px;
    /*width: 50%;
    */
    /*float: right;
    
    */
}

.dataTables_filter input {
    /*font-size: 15px;*/
    height: 26px;

    width: 300px;
    border-radius:3px
  /*  border: none;
    background: #f1f1f1;
    margin-left: 5px;*/
}
/* info en dessous de la table - nb de resultats */
.dataTables_info {
    width: 60%;
    float: left;
    margin-top:5px;
    margin-left:5px;
    color:#08215c;
    text-align: left;
}

.dataTables_paginate {
    width: 500px;
    float: right;
    text-align: right;
}

/* Pagination nested */
.paginate_disabled_previous, .paginate_enabled_previous, .paginate_disabled_next, .paginate_enabled_next {
    height: 13px;
    width: 15px;
    margin-left:3px;
    margin-top:5px;
    float: left;
}

.paginate_disabled_previous {
    background-image:url('../inc_images/picto/fleche_gauche_desactive.png');	
}

.paginate_enabled_previous {
    background-image: url('../inc_images/picto/fleche_gauche.png');
}

.paginate_disabled_next {
    background-image: url('../inc_images/picto/fleche_droite_desactive.png');
}

.paginate_enabled_next {
    background-image: url('../inc_images/picto/fleche_droite.png');
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * DataTables display */
table.display {
    margin: 10px 10px;
    width: 100%;
    clear: both;
}

table.display thead th {
    padding: 3px 18px 3px 10px;
    border-bottom: 1px solid black;
    font-weight: bold;
    cursor: pointer;
}

table.display tfoot th {
    padding: 3px 10px;
    border-top: 1px solid black;
    font-weight: bold;
}

table.display tr.heading2 td {
    border-bottom: 1px solid #aaa;
}

table.display td {
    padding: 3px 10px;
}

table.display td.center {
    text-align: center;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * DataTables sorting */
.sorting_asc {
    background: transparent url('../inc_images/design/picto_fleche_select_haut.png') no-repeat center right;
    background-size: 15px auto;
    /*text-decoration:underline;*/
}

.sorting_desc {
    background: transparent url('../inc_images/design/picto_fleche_select.png') no-repeat center right;
    background-size: 15px auto;
    /*text-decoration:underline;*/
}

.sorting, .sorting_disabled {
    background: transparent /*url('../inc_images/sort_both.png') no-repeat center right;*/
}
.table_liste:not(.dataTable) .sorting{
    background: #999;
    color: #000;
    height:25px;
}

.sorting_asc_disabled {
    background: transparent /*url('../inc_images/sort_asc_disabled.png') no-repeat center right;*/
}

.sorting_desc_disabled {
    background: transparent /*url('../inc_images/sort_desc_disabled.png') no-repeat center right;*/
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * DataTables row classes */
/*table.display tr.odd.gradeA {
        background-color: #ddffdd;
}

table.display tr.even.gradeA {
        background-color: #eeffee;
}

table.display tr.odd.gradeA {
        background-color: #ddffdd;
}

table.display tr.even.gradeA {
        background-color: #eeffee;
}

table.display tr.odd.gradeC {
        background-color: #ddddff;
}

table.display tr.even.gradeC {
        background-color: #eeeeff;
}

table.display tr.odd.gradeX {
        background-color: #ffdddd;
}

table.display tr.even.gradeX {
        background-color: #ffeeee;
}

table.display tr.odd.gradeU {
        background-color: #ddd;
}

table.display tr.even.gradeU {
        background-color: #eee;
}

tr.odd {
        background-color: #E2E4FF;
}
*/
/*.table_liste tbody tr.even, .table_liste tbody tr.even td {*/
.table_liste tbody tr.even td {
    /*background-color: rgba(195,199,204,0.5) !important;*/
    background-color: rgba(18,39,74,0.1) !important;
}
/* .table_liste tbody tr.odd, .table_liste tbody tr.odd td {
    background-color: transparent !important;
} */
.table_liste tbody tr:hover td{
    background-color:rgba(255,255,255,0.6) !important;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Misc */
.top, .bottom {
    padding: 15px;
    background-color: #F5F5F5;
    border: 1px solid #CCCCCC;
}

.top .dataTables_info {
    float: none;
}

.clear {
    clear: both;
}

.dataTables_empty {
    text-align: center;
}

tfoot input {
    margin: 0.5em 0;
    width: 100%;
    color: #444;
}

tfoot input.search_init {
    color: #999;
}

td.group {
    background-color: #d1cfd0;
    border-bottom: 2px solid #A19B9E;
    border-top: 2px solid #A19B9E;
}

td.details {
    background-color: #d1cfd0;
    border: 2px solid #A19B9E;
}

.example_alt_pagination div.dataTables_info {
    width: 40%;
}

.paging_full_numbers {
    width: 400px;
    height: 22px;
    line-height: 22px;
}

.paging_full_numbers span.paginate_button, .paging_full_numbers span.paginate_active {
    border: 1px solid #aaa;
    -webkit-border-radius: 5px;
    padding: 2px 5px;
    margin: 0 3px;
    cursor: pointer;
}

.paging_full_numbers span.paginate_button {
    background-color: #ddd;
}

.paging_full_numbers span.paginate_button:hover {
    background-color: #f7e7f0;
}

.paging_full_numbers span.paginate_active {
    background-color: #99B3FF;
}

table.display tr.even.row_selected td {
   /* background-color: #f6e2ec;*/
}

table.display tr.odd.row_selected td {
    /*background-color: #9FAFD1;*/
}

/* * KeyTable */
table.KeyTable td {
    border: 3px solid transparent;
}

table.KeyTable td.focus {
    border: 3px solid #3366FF;
}

table.display tr.gradeA {
    background-color: #eeffee;
}

table.display tr.gradeC {
    background-color: #ddddff;
}

table.display tr.gradeX {
    background-color: #ffdddd;
}

table.display tr.gradeU {
    background-color: #ddd;
}

div.box {
    height: 100px;
    padding: 10px;
    overflow: auto;
    border: 1px solid #8080FF;
    background-color: #E5E5FF;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled{opacity: 0}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.5em 0.5em;
    text-align: center;
    color: #757575;
    cursor: pointer;
}



.dataTables_wrapper .dataTables_filter:after{
    content:"\f002";
    position: absolute;
    left:15px;
    top: 0;
    height:100%;
    display:flex;
    justify-content: center;
    align-items: center;
    font-family: var(--fa-style-family-classic);
    font-size: 15px;
    font-weight: bold;
    color: var(--color-dark2);
}

table.table_liste tbody tr:hover{background-color: var(--colorGrisClair);}


/***********************************************************/
/***********************************************************/
/***********************************************************/
/***********************************************************/
/************** Gestion dépassement tableau*****************/
/***********************************************************/
/***********************************************************/
/***********************************************************/
/***********************************************************/

div#contenu_module_page_gauche.GaucheOpen{float: left;}
div#contenu_module_page_droit.DroitOpen{float: right; transition:width .3s ease;}
.ui-tabs-panel{background:var(--couleurBckgApplication) !important;box-shadow: 5px 5px 20px #bbb;}
.openDroit{position: absolute; right:-1%;background:#f5f6f6;height:100%;}
.closeDroit{height:1000px;float:right;background:#f5f6f6;}
#fermedroit{background:#f5f6f6  url(../inc_images/design/FlecheOpenDroite.png) no-repeat center;height:100%;width: 100%;}
#ouvredroit{background:#f5f6f6 url(../inc_images/design/FlecheOpenGauche.png) no-repeat center;height:100%;width: 100%;}
div.OpenContenuModuleDroit a:hover{opacity:1}
#contenu_module_page_droit.OuvertureTabGrand{transition:width .3s ease;width:90%;position:absolute;right:0;top:-40px;padding-right: 0;}
.DroitOpen:before{position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.3); content: "";pointer-events: none;opacity: 0; transition: 0.2s;}
.DroitOpen.OuvertureTabGrand:before{pointer-events: all; opacity: 1;}

div.OpenContenuModuleDroit{float: right; width:40px;height:100%;position: absolute; right:-40px;background:#f5f6f6; text-align: center;}
.openDroit{position: absolute; right:-1%;background:#f5f6f6}
.closeDroit{/* right: 80%;*/}

div.OpenContenuModuleDroit a{display:inline-block;height:100%;width:20px;opacity:0.5}
textarea{max-width: 100%;}

.detail_dossier_droit {display:none;}
.OuvertureTabGrand .detail_dossier_droit {display:block;}
/***********************************************************/
/***********************************************************/
/***********************************************************/
/***********************************************************/
/************** FILTRES ************************************/
/***********************************************************/
/***********************************************************/
/***********************************************************/
/***********************************************************/
.haut_page{display:flex;align-items:center;margin: 10px 0px;}
.haut_page .menu_page{margin-left:auto;}
.haut_page .menu_page a{margin-top:10px;}
.haut_page .menu_page:first-child a{margin-top:5px;}
fieldset.FieldFiltre label{margin-right:5px}

fieldset.FieldFiltre .FiltreFavoris{top:0;right:0;position:absolute}
fieldset.FieldFiltre .FiltreFavoris a{color:var(--colorClient)}

fieldset.FieldFiltre .FiltreFavoris .fa-star{padding-right:5px}

.filtre_favoris{}
.filtre_favoris_img_jaune{ background:url('../inc_images/design/picto/favoris.png') no-repeat left center;}
.filtre_favoris_img_vert{ background:url('../inc_images/design/picto/favoris_vert.png')  no-repeat left center; }
.filtre_favoris_img_rouge{ background:url('../inc_images/design/picto/favoris_rouge.png')  no-repeat left center;}

.filtreActions{margin-left:auto;}


fieldset.FieldFiltre select{}
fieldset.FieldFiltre input[type=text],
.dataTables_filter input{
    height:30px;
    padding:10px 15px 10px 30px !important;
	color:var(--colorClient);
    /*box-shadow:inset -2px -2px 10px #d7d7d7;*/
    border:0;
}
fieldset.FieldFiltre input[type=checkbox]{}
fieldset.FieldFiltre input[type=radio]{}
fieldset.FieldFiltre input::placeholder{color:#ccc}
fieldset.FieldFiltre input[type=text]:focus,
/*.dataTables_filter input:focus{box-shadow:none;background:#fff  url(../inc_images/design/picto/search_hover.png) no-repeat 10px center;}*/
fieldset.FieldFiltre input[type=text]:focus::placeholder,
.dataTables_filter input:focus::placeholder{color:#fff}
/* TODO a voir si mettre barre de recherche a cote du titre */
/*.filter_absolute .dataTables_filter{position:absolute; top:-45px;right:25px;}
.filter_absolute .dataTables_filter input{background:rgba(198,201,206,0.85)}*/

/* mulit select */


body .ui-widget-content{color: var(--colorClient);text-align: left;}

.ui-widget-content .ui-multiselect-checkboxes .ui-state-hover{background:  var(--colorFiltreBckgd) !important; color: var(--colorFiltreFont) !important}

.ui-helper-reset a{font-weight:normal}

 /* select with custom icons */
.ui-selectmenu-menu .ui-menu.customicons .ui-menu-item-wrapper {
  padding: 0.5em 0 0.5em 3em;
}
.ui-selectmenu-menu .ui-menu.customicons .ui-menu-item .ui-icon {
  height: 24px;
  width: 24px;
  top: 0.1em;
}

.ui-selectmenu-menu .placeholder{
	display: none;
}

/* select with CSS image icons */
.ui-menu.ui-menu-icons .ui-menu-item-wrapper{padding-left:3em}
option.selectimage {  background-repeat: no-repeat !important;  padding-left: 20px;}
.selectimage.ui-icon,
.selectimageMini.ui-icon { background-position: left top; background-size:100%;}
.selectimage.ui-icon{	width:30px;	height:30px;}

body .DivSelect.ImgOnly{padding:0px}
body .DivSelect.ImgOnly .ui-icon{position:relative;	width:40px;height:40px;margin:2px 0;}
body .DivSelect.ImgOnly selectimageMini.ui-icon{position:relative;	width:25px;height:25px;margin:2px 0;}

.SelectImgSelected.ImgOnly{/*position:relative;	*/width:35px;height:35px;left:40%}

.SelectImgSelected{  background-position: left top;  background-size:100%;	width:25px;	height:25px;	 position: absolute;    top: 0; bottom: 0;    left: .2em;    margin: auto 0;}

.ui-selectmenu-text{margin-left:30px}

body .dataTables_wrapper .dataTables_paginate .paginate_button.next,
body .dataTables_wrapper .dataTables_paginate .paginate_button.previous
{
    display: flex;
    font-size:0px;
    position: relative;
}
body .dataTables_wrapper .dataTables_paginate .paginate_button.next::after,
body .dataTables_wrapper .dataTables_paginate .paginate_button.previous::after{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size:28px;
    content: "";
    color: var(--couleurPrincipaleClient);
    font-family: var(--fa-style-family-classic);
    font-weight: bold;
}
body .dataTables_wrapper .dataTables_paginate .paginate_button.next::after{
    content: "\f061" !important;
}
body .dataTables_wrapper .dataTables_paginate .paginate_button.previous::after{
    content: "\f060" !important;
}

body .dataTables_wrapper .dataTables_paginate .paginate_button{
    transition: all ease 0.3s;
    color: var(--couleurPrincipaleClient) !important;
    font-weight: 400;
    font-size: 12px;
    border: none !important;
    width:30px;
    height:30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

body .dataTables_wrapper .dataTables_paginate span{
    display: flex;
    flex-direction: row;
    gap:5px;
}

body .dataTables_wrapper .dataTables_paginate .paginate_button{
    background: unset !important;
    box-shadow: none !important;
}
body .dataTables_wrapper .dataTables_paginate .paginate_button:hover{
    transform: scale(1.2);
}


body .dataTables_wrapper .dataTables_paginate .paginate_button:not(.next):not(.previous):hover{
    background-color: var(--couleurPrincipaleClient) !important;
}

body .dataTables_wrapper .dataTables_paginate .paginate_button:not(.next):not(.previous){
    background-image: unset !important;
    border-radius: 100%;
}

body .dataTables_wrapper .dataTables_paginate .paginate_button.current, body .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{
    color: white !important;
    background-color: var(--couleurPrincipaleClient) !important;
}

body .dataTables_paginate.paging_simple_numbers{
    display: flex;
    float: none;
    text-align: center;
    width: 100%;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
}


/* SL 26/04/2023 - pour que cela s applique meme si une seule ligne
on va etre plus precis sur les border radius */
body table.dataTable tbody tr:first-child td:first-child{
    /*border-radius: 25px 0 0 0;*/
    /* border-top-left-radius: var(--borderRadius); */
    /* overflow: hidden; */
}

body table.dataTable tbody tr:first-child td:last-child{
    /*border-radius: 0 25px 0 0;*/
    /* border-top-right-radius: var(--borderRadius); */
    /* overflow: hidden; */
}

body table.dataTable tbody tr:last-child td:first-child{
    /*border-radius: 0 0 0 25px;*/
    /* border-bottom-left-radius: var(--borderRadius); */
    /* overflow: hidden; */
}

body table.dataTable tbody tr:last-child td:last-child{
    /*border-radius: 0 0 25px 0;*/
    /* border-bottom-right-radius: var(--borderRadius); */
    /* overflow: hidden; */
}

body .table_liste tr, body .table_liste td{
    border:none !important;
}

.table_small td, .table_small th, .table_small th a{
    font-size: 12px;
}

/* -------------------------------------------------------------------------- */
/*                                 MEDIC EVENT                                */
/* -------------------------------------------------------------------------- */
table.dataTable
{
    margin-top: 5px !important;
}
table.dataTable thead tr th:first-child{
	border-radius: var(--borderRadius) 0 0 0;
}

table.dataTable thead tr th:last-child{
	border-radius: 0 var(--borderRadius) 0 0;
}

body table.dataTable.no-footer
{
	border-bottom: 1px solid var(--color-dark2) !important;
}

table.dataTable thead tr th{
	background-color: var(--color-primary);
	border:none;
	padding:10px;
	font-size: 1rem;
	color: var(--color-dark2);
}
table.dataTable thead 
{
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.3);
}

table.dataTable
{
    overflow: hidden;
    border-radius: var(--borderRadius) var(--borderRadius) 0 0;
}

a.Entete {
    color: var(--color-dark2) !important;
    text-decoration: none !important;
    border-bottom: none;
    font-weight: 600;
    border: none;
    outline:none;
}

a.Entete:hover {
    text-decoration: none;
}

a.Entete:visited {
    text-decoration: none;
    border: none;
}

body table.dataTable thead th.sorting::before,
body table.dataTable thead th.sorting::after
{
	opacity: .2 !important;
	font-size: 14px !important;
}

body table.dataTable thead th.sorting::before
{
	content: "\f077" !important;
	font-family: "Font Awesome 6 Free";
}
body table.dataTable thead th.sorting::after
{
	content: "\f078" !important;
	font-family: "Font Awesome 6 Free";
}

body table.dataTable thead th.sorting.sorting_asc::before,
body table.dataTable thead th.sorting.sorting_desc::after{
    opacity: 1 !important;
}


div.dataTables_processing > div:last-child > div:nth-child(even)
{
    background: var(--color-primary) !important;
}
div.dataTables_processing > div:last-child > div:nth-child(odd)
{
    background: var(--color-secondary) !important;
}

.dataTables_wrapper .dataTables_filter input{
    border-radius: var(--borderRadius) !important;
}