body{
	overflow-y: scroll;
    padding-right: 0 !important;
}
/* width */
::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #888; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

.sticky-zone {
  position: sticky;
  top: 5rem; /* ajuste selon ta marge souhaitée */
  z-index: 1; /* reste au-dessus du contenu dans .card-body mais pas au-dessus des autres cards */
  background: transparent; /* ou transparent si souhaité */
  border-bottom: 1px solid #ddd;
}

.daterangepicker td.in-range {
    background: #eaf1f3;
}
.daterangepicker td.active, .daterangepicker td.active:hover, .daterangepicker td.available:hover, .daterangepicker th.available:hover {
    background-color: var(--tz-primary);
    color: #fff;
}

.cursor-move {
    cursor: move;
}

/* ***********************************************
AJOUT DE COULEURS DE TEXTES
*************************************************/
.text-yellow{
    --tz-text-opacity: 1;
    color: #ffeb3b !important
}

.text-red{
    --tz-text-opacity: 1;
    color: #ff0000 !important
}

.text-barre {
  text-decoration: line-through;
}
/* ***********************************************
AJOUT DE COULEURS DE Badges
*************************************************/
.bg-primarydark {
    background-color: rgb(43 131 5) !important
}

#form-editor [contenteditable] {
  display: inline-block;
  min-height: 2.4rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  transition: all 0.2s ease-in-out;
  background-color: transparent;
  cursor: text;
}

#form-editor [contenteditable]:focus {
  outline: none;
  border-color: #86b7fe; /* Couleur de focus Bootstrap */
  background-color: #e7f1ff; /* Léger fond bleu clair */
  /*/box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); /* Style Bootstrap focus */
}

#form-editor [contenteditable]:empty:before {
  content: attr(data-placeholder);
  color: #aaa;
  pointer-events: none;
}
/* ***********************************************
CUSTOM Affichae du CARROUSSEL
*************************************************/
.carousel-caption {
    background-color: #000000ad;
    border-radius: 0.5rem 0.5rem 0 0;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
}



.ui-state-highlight {
    border: 2px dashed #999;
    background: #f0f0f0;
    height: 5px;
    margin-bottom: 10px;
}
.ui-sortable-helper {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    opacity: 0.9;
}

/* ***********************************************
MODIFICATION CONTENT
*************************************************/
@media (max-width: 500px) {
    .content-page{
        padding: 0;
    }
    
    .container-fluid{
        padding-left: 1vw;
        padding-right: 1vw;
    }
	
	.footer{
		bottom: -80px;
	}
}

input.loading-input {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" style="margin:auto;background:none;display:block" width="16" height="16" viewBox="0 0 100 100"><circle cx="50" cy="50" r="35" stroke="%23000" stroke-width="10" fill="none" stroke-linecap="round"><animateTransform attributeName="transform" type="rotate" dur="1s" repeatCount="indefinite" from="0 50 50" to="360 50 50"/></circle></svg>');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 18px 18px;
    padding-right: 26px;
    opacity: 0.7;
}

/* ***********************************************
GESTION AFFICHAGE MOBILE
*************************************************/
.mobile-only-show{
	display: none
}


@media (max-width: 992px) {
	.mobile-only-show{
		display: block;
	}
}


.action-btn-switch{
    display: flex; justify-content: space-evenly
}

@media (max-width: 1600px) {
	.action-btn-switch{
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
    }
}


/* ***********************************************
MODIFICATION PAGE LOGIN
*************************************************/
.com-users-login__remember{
	margin: 10px;
}

.com-users-login__submit .controls > button{
	width: 100%;
	margin: 2vh 0;
}

.com-users-reset__submit .controls > button{
	width: 100%;
	margin: 2vh 0;
}

.com-users-remind__submit .controls > button{
	width: 100%;
	margin: 2vh 0;
}

.com-users-reset-confirm__submit .controls > button{
	width: 100%;
	margin: 2vh 0;
}

.com-users-registration__submit .controls > button{
	width: 100%;
	margin: 2vh 0;
}


.com-users-reset legend,
.com-users-remind legend,
.com-users-reset-confirm__form legend{
	font-size:14px;
}

@media (min-width: 1200px) {
    .com-users-reset legend,
	.com-users-remind legend,
	.com-users-reset-confirm__form legend{
        font-size:14px;
		color: var(--tz-secondary-color)!important;
    }
}

#message-login-system{
	width: 100%;
	height: 70px;
}

/* ***********************************************
MODIFICATION MENU HORIZONTAL
*************************************************/
.menu.topnav{
	background: var(--tz-topbar-bg);
    -webkit-box-shadow: var(--tz-box-shadow);
    box-shadow: var(--tz-box-shadow);
    /*margin-left: var(--tz-leftbar-width-sm);*/
    padding-left: 1vw;
    position: sticky;
    top: 0;
    -webkit-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
    z-index: 1000;
}


html[data-sidenav-size=condensed]:not([data-layout=topnav]) .wrapper .menu.topnav {
    z-index: 1005;
    padding-left: 1vw;
}

.menu.topnav .navbar {
    margin: 0;
    padding: 0;
}


.menu.topnav .nav-item .nav-link, .menu.topnav .nav-item>a {
    color: var(--tz-menu-item-color);
}

.menu.topnav.topnav .nav-item.active>a {
    color: var(--tz-menu-item-active-color);
}

.menu.topnav.topnav .arrow-down {
    display: inline-block;
    text-rendering: auto;
    margin-left: calc(var(--tz-menu-item-padding-x)* 1);
    font-size: calc(var(--tz-menu-item-font-size) * 1.18);
}

.menu.topnav.topnav  .navbar-nav .nav-link i {
    font-size: var(--tz-menu-item-icon-size);
    margin-right: calc(var(--tz-menu-item-icon-size)* .5);
}

.menu.topnav.topnav .arrow-down:before {
    content: "\ea4e";
    font-family: remixicon;
}

.navbar-nav{
	align-items: center !important
}

.topnav-menu .navbar-toggle {
    display: none;
    position: relative;
    cursor: pointer;
    float: left;
    padding: 0;
    background-color: transparent;
    color: var(--tz-topbar-item-color);
    border: none
}

.topnav-menu .navbar-toggle .lines {
    width: 25px;
    display: block;
    position: relative;
    height: 16px;
    -webkit-transition: all .5s ease;
    transition: all .5s ease
}

.topnav-menu .navbar-toggle span {
    height: 2px;
    width: 100%;
    background-color: var(--tz-topbar-item-color);
    display: block;
    margin-bottom: 5px;
    -webkit-transition: -webkit-transform .5s ease;
    transition: -webkit-transform .5s ease;
    transition: transform .5s ease;
    transition: transform .5s ease,-webkit-transform .5s ease
}

.topnav-menu .navbar-toggle.open span {
    position: absolute
}

.topnav-menu .navbar-toggle.open span:first-child {
    top: 7px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg)
}

.topnav-menu .navbar-toggle.open span:nth-child(2) {
    visibility: hidden
}

.topnav-menu .navbar-toggle.open span:last-child {
    width: 100%;
    top: 7px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg)
}

@media (max-width: 500px) {
    #content-topnav .navbar-toggle {
        display: block
    }
}

@media (min-width: 500px) {
    #content-topnav .navbar-expand-lg {
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
	
	#content-topnav .navbar-expand-lg .navbar-collapse {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
    }
	
	.navbar-expand-lg.expand-topnav {
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
	
	 #content-topnav .navbar-expand-lg .navbar-nav {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }
	
	#content-topnav .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: var(--tz-navbar-nav-link-padding-x);
        padding-left: var(--tz-navbar-nav-link-padding-x);
    }
	
}

.nav-link.disabled {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

td.td-vtop{
    vertical-align: top !important
}
/*




@media (min-width: 992px) {
    .menu.topnav .navbar-nav .nav-item:first-of-type .nav-link {
        padding-left: 0;
    }
}

@media (min-width: 1400px) {
    .menu.topnav .container-fluid,
	.menu.topnav .container-lg,
	.menu.topnav .container-md,
	.menu.topnav .container-sm,
	.menu.topnav .container-xl, 
	.menu.topnav .container-xxl {
        max-width: 85%;
    }
}

@media (min-width: 992px) {
    .menu.topnav .container-fluid,
	.menu.topnav .container-lg,
	.menu.topnav .container-md,
	.menu.topnav .container-sm,
	.menu.topnav .container-xl,
	.menu.topnav .container-xxl {
        max-width: 95%;
    }
}
*/
.side-nav.slidebar-left {
    margin-bottom: 10vh;
}


/* ***********************************************
MODIFICATION MENU UTILISATEUR
*************************************************/
.simplebar-content > .side-nav > .side-nav-link{
    display: block;
    width: 100%;
    padding: var(--tz-dropdown-item-padding-y) var(--tz-dropdown-item-padding-x);
    clear: both;
    font-weight: 400;
    color: var(--tz-dropdown-link-color);
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    border-radius: var(--tz-dropdown-item-border-radius,0);
}


/* 2 colonnes sur mobile */
/*@media (max-width: 576px) {
    .nav-tabs {
        display: flex;
        flex-wrap: wrap;
        border-bottom: 0;
        gap: .5rem;
        justify-content: center;
        align-items: center;
        padding: 2vw 0;background-color: #ecf1f3bf;
        border-radius: 2vw;
    }
    
    .nav-tabs .nav-item {
        flex: 0 0 48%;
        max-width: 48%;
    }
    
    .nav-tabs .nav-item:last-child:nth-child(odd) {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .nav-tabs .nav-link {
        width: 100%;
        text-align: center;
        border: 1px solid var(--bs-border-color);
        border-radius: .5rem;
        margin: 0;
        display: flex;
        ustify-content: center;
        align-items: center;
        gap: .5rem;
    }
    
    .nav-tabs .nav-link.active {
        background-color: var(--bs-light);
        border-color: var(--bs-primary);
    }
    
    .nav-tabs .badge {
        white-space: nowrap;
    }
}*/

/* ***********************************************
AVATAR INITIAL UTILISATEUR
*************************************************/
.avatarInitial{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    font-weight: bold;
}

.avatarInitial.avatar-lg{
    font-size: 2rem;
}

.profile-user-box .avatarInitial{
    position: absolute;
    top: -56px;
}

/* ***********************************************
MODIFICATION STYLE TABLEAU
*************************************************/
#table-selectFiche {
    table-layout: fixed;
    width: 100% !important;
}

#table-selectFiche thead th {
    white-space: nowrap;
}



.vmiddle{
    vertical-align: middle !important
}

table {
    caption-side: bottom;
    border-collapse: collapse
}
caption {
    padding-top: .95rem;
    padding-bottom: .95rem;
    color: var(--tz-secondary-color);
    text-align: left
}

th {
    text-align: inherit;
    text-align: -webkit-match-parent
}

tbody,td,tfoot,th,thead,tr {
    border-color: inherit;
    border-style: solid;
    border-width: 0
}
tbody,td,tfoot,th,thead,tr {
    border-color: #dee2e6;
    border-style: solid;
    border-width: 0
}

.paginate_button{
	border-radius: 30px!important;
    margin: 0 3px!important;
    border: none;
}

.dataTables_wrapper .dataTables_paginate{
    padding-bottom: 0.5em;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
	z-index: 3;
    color: #FFFFFF !important;
    background-color: #3bc0c3;
    border-color:#3bc0c3;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: #32a3a6 !important;
    border: 1px solid #f8f9fa;
    background-color: #f8f9fa;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8f9fa), color-stop(100%, #f8f9fa));
    background: -webkit-linear-gradient(top, #f8f9fa 0%, #f8f9fa 100%);
    background: -moz-linear-gradient(top, #f8f9fa 0%, #f8f9fa 100%);
    background: -ms-linear-gradient(top, #f8f9fa 0%, #f8f9fa 100%);
    background: -o-linear-gradient(top, #f8f9fa 0%, #f8f9fa 100%);
    background: linear-gradient(to bottom, #f8f9fa 0%, #f8f9fa 100%)
}

table.dataTable tbody tr{
	/*background-color: transparent !important;*/
	transition: background-color 0.5s;
}

table.dataTable tbody tr.animate{
	background-color: #1a2942 !important;
	color: #FFFFFF;
	transition: background-color 0.5s;
}


table.dataTable tbody>tr.selected,
table.dataTable tbody>tr>.selected {
    background-color: #3bc0c3;
}


.table-striped>tbody>tr:nth-of-type(odd)>* {
    --tz-table-bg-type: transparent !important;
}

table:not(.table-editable,.table-timeline,.table-condensed,.no-hover) tbody tr:hover > td{
	color: #FFFFFF;
	cursor: pointer;
	background-color: #3bc0c3 !important;
}


table.dataTable tbody tr.dtrg-level-0{
	/*background-color: #757d85 !important;*/
    color: #ffffff;
    font-weight: bold;
    /*user-select: none;*/
}
table.dataTable tbody tr.dtrg-level-0>td{
	/*color: #FFFFFF;*/
}

table.dataTable .dtrg-group.dtrg-start.dtrg-level-0{
    background-color: #ecf1f3 !important;
}

table:not(#table-selectFamParent):not(#table-selectFamArt).dataTable tbody tr.dtrg-level-1{
	display: none;
}

table:not(#table-selectFamParent):not(#table-selectFamArt).dataTable tbody tr.dtrg-level-2{
	display: none;
}

table.dataTable tbody tr.tr-hide{
	display: none;
}

table.dataTable tbody tr.dtrg-level-1 td.groupLevel{
	padding-left: 3vw
}

table.dataTable tbody tr.dtrg-level-2 td.groupLevel{
	padding-left: 5vw
}

.dtrg-group>.groupLevel{
	/*color: aqua*/
}

.dt-button-collection.dtb-collection-closeable{
    position: fixed !important;
    margin-top: inherit !important;
    top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%) !important;
}



table.dataTable tbody tr .content-group{
	width: 100%;
	display: flex;
	align-items: center;	
}

table.dataTable tbody tr .content-group-icon{
	min-width:  1.5vw;
	text-align: left;
}

table.dataTable tbody tr .content-group-compte{
	position: absolute;
	left: 30vw;
	padding: 5px 15px;
}

table.dataTable tbody tr .content-group-act{
	position: absolute;
	right: 2vw;
	padding: 5px 15px;
}

.content-group-icon i {
    transition: transform 0.3s ease;
}
.content-group-icon i.opened {
    transform: rotate(180deg);
}

.dataTables_filter{
	margin-bottom: 1vh;
}

.dataTables_filter input{
	height: 29px;
}

.croptxt200{
	white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    width:200px;
}

table.dataTable.no-select tbody tr.selected>* {
    box-shadow: inherit;
    color: #6e757d;
}

table.dataTable.no-select tbody>tr.selected td,table.dataTable tbody>tr>.selected td {
    border-color: inherit;
}

table.table-sm tr th,
table.table-sm tr td {
    padding: .5rem .5rem !important;
    font-size: 0.7rem;
}

table.dataTable tbody tr:hover a{
    color: #5e90cd;
}

.td-v-a-b{
    vertical-align: baseline !important
}


.dt-buttons{ margin-bottom: 1rem !important; }
.btn-custom { }
.btn-custom button { background-image:none; box-shadow:none; border:none; border-radius:9px !important; font-size:11.844px !important; font-weight:bold; padding:0px 9px; }


.td-miniature{
	width: 5rem;
}

.td-max60{
	max-width: 60px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.td-max200{
	max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* ***********************************************
MODIFICATION STYLE TABLEAU type TIMELINE
*************************************************/
.hide-row {
    display: none;
}

.table-timeline{
	width: 100%;
}


table.table-timeline tbody>tr.selected,
table.table-timeline tbody>tr>.selected {
    background-color: inherit !important;
}

table.table-timeline tbody tr.selected>* {
    box-shadow:inherit !important;
    color:inherit !important;
}
table.table-timeline tbody>tr.selected td {
    background-color: inherit !important;
}


.table-timeline tr:hover{
	color: inherit;
	cursor: inherit;
	background-color:inherit !important;
}

.table-timeline .timeline {
    margin-bottom: 0;
}

.table-timeline .timeline:before {
    top: -35px;
}

.white-bg {
    background-color: white !important;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.no-select{
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}


#contentOptionSelect{
	width: 95%;
	margin-left:47px;
	position: absolute;
	padding: 10px 0px;
	top: 28px;
	z-index: 10
}

@media (max-width: 500px) {
    .timeline-left{
        margin-left: 0;
    }
    
    .timeline:before {
        background-color: inherit;
        bottom: 0;
        content: "";
        left: 50%;
        position: absolute;
        top: 30px;
        width: 2px;
        z-index: 0
    }
    
    .timeline .timeline-icon {
        display: none;
    }
    
    .timeline-item .timeline-desk .arrow {
        display: none;
    }
    
    .timeline-desk .panel {
        margin-left: 0
    }
}

/* ***********************************************
AFFICHAGE DES MINIATURE PIECES JOINTES
*************************************************/
.img-thumbnail{
    margin: 0 1vw;
    width: 4.5rem;
    height: fit-content;
}

.img-thumbnail:hover{
    cursor: pointer;
    border: solid 2px #6e757d;
}

@media (max-width: 500px) {
    .img-thumbnail{
        margin: 0 1vw;
        width: 3rem;
        height: fit-content;
    }   
}

/* ***********************************************
MODIFICATION PREVIEW MODAL EN VERSION MOBILE
*************************************************/

@media (max-width: 500px) {
    
    #preview-modal.modal{
        padding-right: 0px !important;
        --tz-modal-margin: 0rem;
        --tz-modal-padding: 0;
    }
    
    #preview-modal .modal-fullscreen .modal-body{
        overflow-x: hidden
    }
    
    #preview-modal .modal-body .row .col-9{
        width: 100%;
    }
    
	.modal-full-width{
		width: 100%;
	}
}

@media (max-width: 576px) {
  .modal-full-mobile {
    /*padding-right: 0px !important;
        --tz-modal-margin: 0rem;
        --tz-modal-padding: 0;*/
  }
    
    .modal-full-mobile .modal-body{
        overflow-x: hidden
    }

.modal-full-mobile .modal-body .row .col-9{
        width: 100%;
    }
}

/* ***********************************************
CUSTOM BOUTON
*************************************************/
.btn-100{
	width: 100%;
}

.btn-disable{
	background-color: #EFEFEF;
	border-color: #EFEFEF;
	color: #CCC;
}

.btn-disable:hover{
	background-color: #EFEFEF;
	color: #CCC;
	cursor: not-allowed;
	border-color: #EFEFEF;
}

.btn-select{
	border-color: #dee2e6;
}

.btn-txt-left{
	text-align: left;
}



/* ***********************************************
MISE EN PAGE MULTI CARD
*************************************************/
@media only screen and (max-width: 900px){
    .card-body{
		padding: 0.5rem 0.5rem
	}
}

.multicard{
	display: flex;
}

@media only screen and (max-width: 900px){
	.multicard{
		display: flex;
    	flex-direction: column;
	}
}


.card.item-select{
	width: 100%;
}

.card.item-edit{
	width: 100%;
	display: none;
	margin-left: 1rem;
}

@media only screen and (max-width: 900px){
	.card.item-edit{
		width: 100%;
		display: none;
		margin-left: 0rem;
	}
}

.card.item-action{
	width: 20%;
	min-width: 250px;
	max-width: 250px;
	margin-left: 1rem;
	/*display: none;*/
}

@media only screen and (max-width: 900px){
	.card.item-action{
		width: 100%;
		min-width: 0px;
		max-width: 900px;
		margin-left: 0rem;
		/*display: none;*/
	}
}

#widjettotalHTCommande h2,
#widjettotalHTEngage h2,
#widjettotalHTFacture h2,
#widjettotalAnocptecharge h2,
#widjetMontantVentileExercice h2,
#widjettotalHTVentil h2,
#widjettotalHTReport h2
{
    font-family: 'Roboto Mono', monospace;
    letter-spacing: 0.5px;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.legend-entry:hover{
    cursor: pointer;
}
/* ***********************************************
LOADING MESSAGE
*************************************************/
#loading-wrapper {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: radial-gradient(rgba(20, 20, 20, 0.8), rgba(0, 0, 0, 0.8));
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;
}

#loading-container {
  position: relative;
  width: 170px;
  height: 170px;
}

#loading-container.ai {
    background-image: url(/images/ogiv_ai_250x250.png);
    background-size: contain;
}

#loading-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* CENTRÉ pile au milieu */
  color: #FFF;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
  pointer-events: none; /* pour éviter les interactions souris sur le texte */
    text-shadow: 0px 0px 7px #000000;
}

#loading-content {
  width: 170px;
  height: 170px;
  position: relative;
  border: 3px solid transparent;
  border-top-color: #4296d2;
  border-bottom-color: #4296d2;
  border-radius: 50%;
  animation: loader 2s linear infinite;
}

#loading-content:before,
#loading-content:after {
  content: "";
  position: absolute;
  border: 3px solid transparent;
  border-radius: 50%;
}

#loading-content:before {
  left: 5px;
  right: 5px;
  top: 5px;
  bottom: 5px;
  border-top-color: #e7b616;
  border-bottom-color: #e7b616;
  animation: loader 3s linear infinite;
}

#loading-content:after {
  left: 15px;
  right: 15px;
  top: 15px;
  bottom: 15px;
  border-top-color: #82ba26;
  border-bottom-color: #82ba26;
  animation: loader 1.5s linear infinite;
}

@keyframes loader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



/* ***********************************************
MODIFICATION DROPZONE
*************************************************/
#file-previews{
    display: flex;
}

#file-previews .dz-preview{
    margin: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;

}

#file-previews .dz-details{
    text-align: center;
}

#file-previews .dz-success-mark,
#file-previews .dz-error-mark,
#file-previews .dz-remove{
    display: none !important
}

.dropzone{
	padding: 0 !important;
}
.dropzone .dz-message {
    margin: 3rem 0 !important;
}



.dz-hide{
	display: none;
}

#thumbnail-preview{
	background-size: cover;
    min-height: 250px;
	border-radius: 10px;
	position: relative;
}

#option-thumbnail{
	display: none;
	position: absolute;
	bottom: 20px;
}



/* ***********************************************
CUSTUM CROPPER JS POUR ROGNAGE EN CERCLE
*************************************************/
.img-container{
	display: flex;
	justify-content: center;
}

.ellipse .cropper-crop-box,
.ellipse .cropper-view-box {
    border-radius: 50%;
}

.ellipse .cropper-view-box {
    box-shadow: 0 0 0 1px #39f;
    outline: 0;
}

.groupBtnAct > button,
.groupBtnAct > a{
    margin: 0 0.5vw;
	min-width: inherit !important;

}

/* ***********************************************
CUSTUM INPUT RADIO en BUTTONS
*************************************************/
.ogiv-radio{
	display: flex;
    border-radius: 4px;
    border: 0.125em solid #dee2e6;
    width: fit-content;
    height: 37.39px;
    align-items: center;
}


.ogiv-radio__input {
	display: none;
	
	&:checked + .ogiv-radio__label{
		background-color: #4489e4;
		color: #FFFFFF;
		border-radius: 4px;
	}
	
	&:checked + .ogiv-radio__label.ogiv-radio-red{
		background-color: #d03f3f;
		color: #FFFFFF;
		border-radius: 4px;
	}
	
	&:checked + .ogiv-radio__label.ogiv-radio-secondary{
		background-color: #f8f9fa;
		color: #6c757d;
		border-radius: 4px;
	}
	
	&:checked + .ogiv-radio__label.ogiv-radio-dark{
		background-color: #ced4da;
		color: #6c757d;
		border-radius: 4px;
	}
	
	&:checked + .ogiv-radio__label.ogiv-radio-succes{
		background-color: #3bc0c3;
		color: #FFFFFF;
		border-radius: 4px;
	}
	
}

.ogiv-radio__label {
	min-width: 80px;
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
	padding: 0 1em;
	text-align: center;
	background-color: #FFFFFF;
	-webkit-user-select: none; /* Safari */
  	-ms-user-select: none; /* IE 10 and IE 11 */
  	user-select: none; /* Standard syntax */
	
	&:nth-of-type(2) {
		border-left: 0.125em solid #dee2e6;
		border-right: 0.125em solid #dee2e6;
	}
	&:last-of-type {
		border-left: 0.125em solid #dee2e6;
	}
}

.ogiv-radio__label > i{
	margin-right: 1vw;
}

/* ***********************************************
CUSTUM INPUT RADIO en BUTTONS DECLINAISON ARTICLE
*************************************************/
#contentvalchekbox input[type="checkbox"],
#contentvalchekbox input[type="radio"] {
  display: none;
  
}

#contentvalchekbox label {
    cursor: pointer;
    padding: 4px 6px;
    line-height: 190%;
    outline-style: none;
    transition: all .6s;
    user-select: none;
}

#contentvalchekbox input[type="checkbox"]+label:hover{
  background: rgba(0, 128, 128, .8);
}

#contentvalchekbox input[type="checkbox"]:checked+label {
  background: rgba(0, 128, 128, .4);
}

#contentvalchekbox input[type="checkbox"]:checked+label:hover{
  background: rgba(0, 128, 128, 0, .7);
}


/* ***********************************************
CUSTUM MESSAGE ERROR INPUT DANS UN TFOOT
*************************************************/
tfoot .invalid-feedback{
	position: absolute;
	background-color: #FFFFFF;
}

.dataTables_scrollBody .invalid-feedback{
	display: none;
}

.select2-selection.is-invalid{
    border-color: #d03f3f;;
    padding-right: calc(1.5em + 0.9rem);
}

span.select2-selection{
    display: flex !important;
}

.input-group span.select2{
   width: 80% !important;
}

.select2-container--default .select2-results__option--selected {
    background-color: #6abdc3 !important
}

.select2-selection[aria-expanded="true"] {
    /* Style quand la liste est ouverte */
    border: 2px solid #64ade0;
    /*background: #f0f0f0;*/
}

.select2-container--open .select2-dropdown {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid #ccc;
  z-index: 9999; /* important pour éviter d’être caché */
}
.select2-container--default .select2-results__options {
  background-color: #fff;
}

.select2-results__option {
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
}

.select2-dropdown {
  border-radius: 8px;
  margin-top: 4px;
}

.select2-results__option:last-child {
  border-bottom: none;
}

.select2-container {
  width: 100% !important;
}

.input-group > .select2-container {
  flex: 1 1 auto;
}

.select2-container .select2-selection--single {
   /* height: 40px */
}

.select2-container--default.select2-container--disabled .select2-selection--single{
    background-color: #f8f9fa;
}

input[type=text]:focus {
  border: 2px solid #64ade0;
}

.ql-container:focus-within {
  border: 2px solid #64ade0 !important;
  /*box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;*/
}

#mobileSelectModal {
    position: fixed;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.4);
    z-index: 1055;
}
.ms-modal {
    position: absolute;
    left:5%;
    width:90%;
    height:90%;
    background: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.ms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

.custom-modal-shadow {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.custom-modal-shadow::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  z-index: -1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
}

.modal-xl-custom {
  max-width: 70%; /* Ajuste selon ce que tu veux */
}

.ms-search {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
.ms-search input {
    width: 100%;
    padding: 8px;
}
.ms-options {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}
.ms-option {
    padding: 8px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}
.ms-option:hover {
    background: #f8f8f8;
}
.ms-footer {
    padding: 10px;
    text-align: right;
    border-top: 1px solid #ddd;
}
.ms-close {
    cursor: pointer;
    font-size: 20px;
}
.ms-option input[type="checkbox"] {
    margin-right: 5px;
}

/* ***********************************************
CUSTUM QL EDITOR
*************************************************/
.ql-editor.ql-disabled{
    background-color: #f8f9fa
}

/* ***********************************************
CUSTUM CHANGEMENT CURSOR AU SURVOL
*************************************************/
.icon-popover:hover{
	cursor: pointer;
}

/* ***********************************************
CUSTUM AFFICHAGE PALIE MONTANT
*************************************************/
.range-palie{
    display: flex;
    justify-content: space-evenly;
}

.range-palie > div{
    min-width: 3.5vw
}

/* ***********************************************
CUSTUM OUTIL DE PERSONNALISATION DASHBORD
*************************************************/
.grid-stack:not(.grid-stack-static) > .grid-stack-item > .grid-stack-item-content {
	background-color: #929292;
	border-radius: 8px;
}

.grid-stack > .grid-stack-item > .grid-stack-item-content {
	overflow: hidden !important;
}

.grid-stack-item-content .dataTables_info{
    margin-left: 1vw
}

.gs-id-0 > .grid-stack-item > .ui-resizable-se {
    right: 15px !important;
    bottom: 15px !important;
}

.removeWidget{
	display: none;
	position: absolute;
	z-index: 1000;
	right:0;
}

.grid-stack-item-content .fa {
  font-size: 64px;
  display: block;
}

.grid-stack-item-content .card{
    min-height: 138px !important;
}

.grid-stack-placeholder {
  background: rgba(250, 250, 250, 0);
  box-shadow: none;
  border-width: 3px;
  border-style: dashed;
  border-color: #149fff;
}

.grid-stack > .grid-stack-item {
    min-width: 2%; 
}

/* 

Gridstack Custom CSS for 35 width 
Generated using the SASS code from
https://github.com/gridstack/gridstack.js

*/

.grid-stack > .grid-stack-item[data-gs-width="1"] {
  width: 2.8571428571%;
}
.grid-stack > .grid-stack-item[data-gs-x="1"] {
  left: 2.8571428571%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="1"] {
  min-width: 2.8571428571%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="1"] {
  max-width: 2.8571428571%;
}
.grid-stack > .grid-stack-item[data-gs-width="2"] {
  width: 5.7142857143%;
}
.grid-stack > .grid-stack-item[data-gs-x="2"] {
  left: 5.7142857143%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="2"] {
  min-width: 5.7142857143%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="2"] {
  max-width: 5.7142857143%;
}
.grid-stack > .grid-stack-item[data-gs-width="3"] {
  width: 8.5714285714%;
}
.grid-stack > .grid-stack-item[data-gs-x="3"] {
  left: 8.5714285714%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="3"] {
  min-width: 8.5714285714%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="3"] {
  max-width: 8.5714285714%;
}
.grid-stack > .grid-stack-item[data-gs-width="4"] {
  width: 11.4285714286%;
}
.grid-stack > .grid-stack-item[data-gs-x="4"] {
  left: 11.4285714286%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="4"] {
  min-width: 11.4285714286%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="4"] {
  max-width: 11.4285714286%;
}
.grid-stack > .grid-stack-item[data-gs-width="5"] {
  width: 14.2857142857%;
}
.grid-stack > .grid-stack-item[data-gs-x="5"] {
  left: 14.2857142857%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="5"] {
  min-width: 14.2857142857%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="5"] {
  max-width: 14.2857142857%;
}
.grid-stack > .grid-stack-item[data-gs-width="6"] {
  width: 17.1428571429%;
}
.grid-stack > .grid-stack-item[data-gs-x="6"] {
  left: 17.1428571429%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="6"] {
  min-width: 17.1428571429%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="6"] {
  max-width: 17.1428571429%;
}
.grid-stack > .grid-stack-item[data-gs-width="7"] {
  width: 20%;
}
.grid-stack > .grid-stack-item[data-gs-x="7"] {
  left: 20%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="7"] {
  min-width: 20%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="7"] {
  max-width: 20%;
}
.grid-stack > .grid-stack-item[data-gs-width="8"] {
  width: 22.8571428571%;
}
.grid-stack > .grid-stack-item[data-gs-x="8"] {
  left: 22.8571428571%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="8"] {
  min-width: 22.8571428571%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="8"] {
  max-width: 22.8571428571%;
}
.grid-stack > .grid-stack-item[data-gs-width="9"] {
  width: 25.7142857143%;
}
.grid-stack > .grid-stack-item[data-gs-x="9"] {
  left: 25.7142857143%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="9"] {
  min-width: 25.7142857143%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="9"] {
  max-width: 25.7142857143%;
}
.grid-stack > .grid-stack-item[data-gs-width="10"] {
  width: 28.5714285714%;
}
.grid-stack > .grid-stack-item[data-gs-x="10"] {
  left: 28.5714285714%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="10"] {
  min-width: 28.5714285714%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="10"] {
  max-width: 28.5714285714%;
}
.grid-stack > .grid-stack-item[data-gs-width="11"] {
  width: 31.4285714286%;
}
.grid-stack > .grid-stack-item[data-gs-x="11"] {
  left: 31.4285714286%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="11"] {
  min-width: 31.4285714286%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="11"] {
  max-width: 31.4285714286%;
}
.grid-stack > .grid-stack-item[data-gs-width="12"] {
  width: 34.2857142857%;
}
.grid-stack > .grid-stack-item[data-gs-x="12"] {
  left: 34.2857142857%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="12"] {
  min-width: 34.2857142857%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="12"] {
  max-width: 34.2857142857%;
}
.grid-stack > .grid-stack-item[data-gs-width="13"] {
  width: 37.1428571429%;
}
.grid-stack > .grid-stack-item[data-gs-x="13"] {
  left: 37.1428571429%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="13"] {
  min-width: 37.1428571429%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="13"] {
  max-width: 37.1428571429%;
}
.grid-stack > .grid-stack-item[data-gs-width="14"] {
  width: 40%;
}
.grid-stack > .grid-stack-item[data-gs-x="14"] {
  left: 40%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="14"] {
  min-width: 40%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="14"] {
  max-width: 40%;
}
.grid-stack > .grid-stack-item[data-gs-width="15"] {
  width: 42.8571428571%;
}
.grid-stack > .grid-stack-item[data-gs-x="15"] {
  left: 42.8571428571%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="15"] {
  min-width: 42.8571428571%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="15"] {
  max-width: 42.8571428571%;
}
.grid-stack > .grid-stack-item[data-gs-width="16"] {
  width: 45.7142857143%;
}
.grid-stack > .grid-stack-item[data-gs-x="16"] {
  left: 45.7142857143%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="16"] {
  min-width: 45.7142857143%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="16"] {
  max-width: 45.7142857143%;
}
.grid-stack > .grid-stack-item[data-gs-width="17"] {
  width: 48.5714285714%;
}
.grid-stack > .grid-stack-item[data-gs-x="17"] {
  left: 48.5714285714%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="17"] {
  min-width: 48.5714285714%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="17"] {
  max-width: 48.5714285714%;
}
.grid-stack > .grid-stack-item[data-gs-width="18"] {
  width: 51.4285714286%;
}
.grid-stack > .grid-stack-item[data-gs-x="18"] {
  left: 51.4285714286%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="18"] {
  min-width: 51.4285714286%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="18"] {
  max-width: 51.4285714286%;
}
.grid-stack > .grid-stack-item[data-gs-width="19"] {
  width: 54.2857142857%;
}
.grid-stack > .grid-stack-item[data-gs-x="19"] {
  left: 54.2857142857%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="19"] {
  min-width: 54.2857142857%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="19"] {
  max-width: 54.2857142857%;
}
.grid-stack > .grid-stack-item[data-gs-width="20"] {
  width: 57.1428571429%;
}
.grid-stack > .grid-stack-item[data-gs-x="20"] {
  left: 57.1428571429%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="20"] {
  min-width: 57.1428571429%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="20"] {
  max-width: 57.1428571429%;
}
.grid-stack > .grid-stack-item[data-gs-width="21"] {
  width: 60%;
}
.grid-stack > .grid-stack-item[data-gs-x="21"] {
  left: 60%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="21"] {
  min-width: 60%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="21"] {
  max-width: 60%;
}
.grid-stack > .grid-stack-item[data-gs-width="22"] {
  width: 62.8571428571%;
}
.grid-stack > .grid-stack-item[data-gs-x="22"] {
  left: 62.8571428571%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="22"] {
  min-width: 62.8571428571%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="22"] {
  max-width: 62.8571428571%;
}
.grid-stack > .grid-stack-item[data-gs-width="23"] {
  width: 65.7142857143%;
}
.grid-stack > .grid-stack-item[data-gs-x="23"] {
  left: 65.7142857143%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="23"] {
  min-width: 65.7142857143%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="23"] {
  max-width: 65.7142857143%;
}
.grid-stack > .grid-stack-item[data-gs-width="24"] {
  width: 68.5714285714%;
}
.grid-stack > .grid-stack-item[data-gs-x="24"] {
  left: 68.5714285714%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="24"] {
  min-width: 68.5714285714%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="24"] {
  max-width: 68.5714285714%;
}
.grid-stack > .grid-stack-item[data-gs-width="25"] {
  width: 71.4285714286%;
}
.grid-stack > .grid-stack-item[data-gs-x="25"] {
  left: 71.4285714286%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="25"] {
  min-width: 71.4285714286%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="25"] {
  max-width: 71.4285714286%;
}
.grid-stack > .grid-stack-item[data-gs-width="26"] {
  width: 74.2857142857%;
}
.grid-stack > .grid-stack-item[data-gs-x="26"] {
  left: 74.2857142857%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="26"] {
  min-width: 74.2857142857%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="26"] {
  max-width: 74.2857142857%;
}
.grid-stack > .grid-stack-item[data-gs-width="27"] {
  width: 77.1428571429%;
}
.grid-stack > .grid-stack-item[data-gs-x="27"] {
  left: 77.1428571429%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="27"] {
  min-width: 77.1428571429%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="27"] {
  max-width: 77.1428571429%;
}
.grid-stack > .grid-stack-item[data-gs-width="28"] {
  width: 80%;
}
.grid-stack > .grid-stack-item[data-gs-x="28"] {
  left: 80%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="28"] {
  min-width: 80%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="28"] {
  max-width: 80%;
}
.grid-stack > .grid-stack-item[data-gs-width="29"] {
  width: 82.8571428571%;
}
.grid-stack > .grid-stack-item[data-gs-x="29"] {
  left: 82.8571428571%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="29"] {
  min-width: 82.8571428571%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="29"] {
  max-width: 82.8571428571%;
}
.grid-stack > .grid-stack-item[data-gs-width="30"] {
  width: 85.7142857143%;
}
.grid-stack > .grid-stack-item[data-gs-x="30"] {
  left: 85.7142857143%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="30"] {
  min-width: 85.7142857143%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="30"] {
  max-width: 85.7142857143%;
}
.grid-stack > .grid-stack-item[data-gs-width="31"] {
  width: 88.5714285714%;
}
.grid-stack > .grid-stack-item[data-gs-x="31"] {
  left: 88.5714285714%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="31"] {
  min-width: 88.5714285714%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="31"] {
  max-width: 88.5714285714%;
}
.grid-stack > .grid-stack-item[data-gs-width="32"] {
  width: 91.4285714286%;
}
.grid-stack > .grid-stack-item[data-gs-x="32"] {
  left: 91.4285714286%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="32"] {
  min-width: 91.4285714286%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="32"] {
  max-width: 91.4285714286%;
}
.grid-stack > .grid-stack-item[data-gs-width="33"] {
  width: 94.2857142857%;
}
.grid-stack > .grid-stack-item[data-gs-x="33"] {
  left: 94.2857142857%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="33"] {
  min-width: 94.2857142857%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="33"] {
  max-width: 94.2857142857%;
}
.grid-stack > .grid-stack-item[data-gs-width="34"] {
  width: 97.1428571429%;
}
.grid-stack > .grid-stack-item[data-gs-x="34"] {
  left: 97.1428571429%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="34"] {
  min-width: 97.1428571429%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="34"] {
  max-width: 97.1428571429%;
}
.grid-stack > .grid-stack-item[data-gs-width="35"] {
  width: 100%;
}
.grid-stack > .grid-stack-item[data-gs-x="35"] {
  left: 100%;
}
.grid-stack > .grid-stack-item[data-gs-min-width="35"] {
  min-width: 100%;
}
.grid-stack > .grid-stack-item[data-gs-max-width="35"] {
  max-width: 100%;
}

/* ***********************************************
CUSTUM MAPS
*************************************************/
.legend-map{
    position: absolute;
    z-index: 9999;
    margin: 1rem;
    padding: 0.5rem;
    background-color: #FFFFFF;
    font-style: italic;
    border-radius: 8px;
}

.legend-item{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    line-height: 12px;
    margin: 0.2rem 0;
}

.legend-item img{
    width: 1vw;
    margin-right: 5px;
}

@media (max-width: 500px) {
    
    .legend-map{
        display: none;
        
    }
    
}

/* ***********************************************
CUSTUM COMPOISANT DECLARATION ACCIDENT
*************************************************/
#corps_humain_illustration{
    overflow-y: auto;
    text-align: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}


svg .svgmarker{
	fill: #FFFFFF;
	stroke: #000000;
}

svg .svgmarker.selected{
	fill: #3bc0c3;
	stroke: #000000;
}

svg .svgmarker:hover{
	cursor: pointer;
}

.noMarker svg .svgmarker:not(.selected){
	display: none
}


.span-plaqueimmat{
	padding: 0 !important
}
.logo-plaqueimmat{
	max-height: 35px
}

/* ***********************************************
CUSTUM DES WIDGET mobiscroll
*************************************************/
.mobiscroll-custom label span{
    font-size: 0.8rem !important;
    color: #6e7789 !important;
    font-weight: 600;
    font-family: "Lato",sans-serif;
}

.mobiscroll-custom .mbsc-ios.mbsc-label,
.mobiscroll-custom .mbsc-ios.mbsc-textfield {
    color: #6e757d !important;
}

/* ***********************************************
CUSTUM DES WIDGET DASHBORD
*************************************************/
.card-widget{
	display: flex;
    height: 100%;
    align-items: center;
	background-color: white;
    border-radius: 8px;
}

.card-widget.widget-link{
	justify-content: center;
}

.widget-link:hover{
	background-color: #efb3b3
}

.widget-img {
    color: var(--tz-white);
    font-size: 42px;
    background-color: rgba(var(--tz-white-rgb), .25);
    text-align: center;
    border-radius: 0 3px 3px 0;
    position: absolute;
    min-width: 100px;
    right: 0;
    top: 0;
    bottom: 0;
    display: inline-block;
    line-height: 130px;
}

/* ***********************************************
CUSTUM WIDGET 0
*************************************************/
.widjet0 {
	display: flex;
	flex-direction: column;
    align-items: center;
    justify-content: center;
    /*background: rgb(12, 12, 12);*/
	background-image: url("/images/widjet/widjet0_background.png");
	background-size: cover;
    color: #fff;
    text-align: center;
	height: 100%;
	border-radius: 8px;
    /*border: 7px solid rgb(255, 252, 252);*/
}

 /* ***********************************************
CUSTUM WIDGET 1
*************************************************/
.widjet1.time {
	display: flex;
	flex-direction: column;
    align-items: center;
    justify-content: center;
    /*background: rgb(12, 12, 12);*/
	background-image: url("/images/widjet/widjet1_background.png");
	background-size: cover;
    color: #fff;
    text-align: center;
	height: 100%;
	border-radius: 8px;
    /*border: 7px solid rgb(255, 252, 252);*/
}
.widjet1_hms {
    font-size: 3rem;
    /*font-weight: 200;*/
}

.widjet1_date {
	margin-top: -2.4vh;
    font-size: 1.5rem;
}

 /* ***********************************************
CUSTUM WIDGET 8
*************************************************/
.card.card-widget8{
	padding: 0 1rem;
}

.card.card-widget8:hover{
	overflow: auto;
}

 /* ***********************************************
CUSTUM WIDGET 9
*************************************************/
.widjet9 {
	display: flex;
	flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    /*background: rgb(12, 12, 12);*/
	background-image: url("/images/widjet/widjet9_background.png");
	background-size: cover;
    color: #340924;
    text-align: right;
	height: 100%;
	border-radius: 8px;
	padding-right: 2rem;
	font-weight: bold;
	font-size: 1rem;
	text-shadow: #fd2b2b 1px 0 10px;
	transition: all .2s ease-in-out;
   
}

.widjet9:hover , .widjet9:focus {
    -ms-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

/* ***********************************************
CUSTUM WIDGET 14
*************************************************/
.widjet14 {
	display: flex;
	flex-direction: column;
    align-items: center;
    justify-content: center;
   /* background-color: #64ade0;*/
    color: #fff;
    text-align: center;
	height: 100%;
	border-radius: 8px;
    /*border: 7px solid rgb(255, 252, 252);*/
}


.widjet18 .content-left{
    display: flex; flex-direction: column;justify-content: space-around;
}

@media (max-width: 500px) {
    .widjet18 h4 {
        font-size: 0.8rem;
    }
    
    .widjet18 .content-left{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    #widjet18-info,
    #widjet18-info a
    {
        font-size: 0.8rem;
    }
}

/* ***********************************************
GESTION CARTE leaflet
*************************************************/
#contentMap.fullcontent{
    position: absolute;
    width: 100%;
    height : 100vh ;
    margin: 0;
    left: 0;
}

.markerDetail{
    display: flex;
}

#optionMap{
    position: absolute;
    z-index: 999
}

#optionMap-content{
	display: none;
}

#optionRainRadar{
	position: absolute;
	z-index: 999;
	bottom: 0;
	display: none;
}

#optionRainRadar .card-header,
#optionRainRadar .card-body{
	padding: 0.5em !important
}

#optionRainRadar .card-body button{
	padding: 0.5em !important
}

#legendRainRadar{
    position: absolute;
	z-index: 999;
    top: 2em;
    right: 2em;
    padding: 12px;
    background-color: #FFF;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(7,47,75,0.3);
}

#legendRainRadar .legend__minimize-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 30px;
    height: 30px;
    background: url(/images/rw-icon-close.svg) no-repeat;
    border: none;
    outline: none;
    cursor: pointer;
	display: none;
}

#color-scheme-map{
	padding: 0;
}

#legendRainRadar.legend-minimized .legend__info-btn {
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 auto 12px;
    padding: 0;
    background: url(/images/legend-Info-icon.svg) no-repeat center;
	border: 0;
	cursor: pointer;
}

#legendRainRadar.legend-minimized ul {
    margin-bottom: 0;
}
#legendRainRadar ul {
    display: flex;
    margin: 0;
    list-style: none;
}

#legendRainRadar ul li {
    margin: 0;
}
#legendRainRadar li {
    /*font-weight: 400;*/
    /*font-size: 16px;*/
    line-height: 24px;
    letter-spacing: -0.18px;
    margin-left: 30px;
    color: #000;
}

#legendRainRadar .color-scheme div {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border-radius: 50%;
    box-shadow: 0 0 2px 1px rgba(0,0,0,0.2) inset;
}
.color-s1 .color-overcast {
    background-color: #8def;
}

#legendRainRadar ul li .precipitation-name {
    margin: 0 25px 12px;
    color: #000000;
    /*font-weight: 500;*/
    /*font-size: 16px;*/
    line-height: 24px;
    letter-spacing: 0.1px;
    text-transform: uppercase;
	display: none;
}

#legendRainRadar .color-scheme {
    /*display: flex;*/
    flex-direction: column;
    justify-content: space-between;
    height: 85%;
	display: none;
}
#legendRainRadar ul {
    display: flex;
    margin: 0;
    list-style: none;
}


#legendRainRadar ul .gradient {
    float: left;
    width: 16px;
    height: 204px;
    margin-right: 8px;
    border-radius: 12px;
    box-shadow: 0 0 2px 1px rgba(0,0,0,0.2) inset;
}
.color-s1 .color-rain-gradient {
    background: linear-gradient(180deg, rgba(206,192,135,0.8), #8de, #09c, #07a, #058, #fe0, #fa0, #f70, #f40, #e00, #900, #faf);
}

#legendRainRadar ul .gradient {
    float: left;
    width: 16px;
    height: 204px;
	margin-left: 4px;
    margin-right: 4px;
    border-radius: 12px;
    box-shadow: 0 0 2px 1px rgba(0,0,0,0.2) inset;
}
.color-s1 .color-snow-gradient {
    background: linear-gradient(180deg, #9fffff, #5f9fff, #003fff);
}

.color-s1 .color-overcast {
    background-color: #8def;
}
.color-s1 .color-drizzle {
    background-color: #09cf;
}
.color-s1 .color-light-rain {
    background-color: #058f;
}
.color-s1 .color-moderate-rain {
    background-color: #fa0f;
}
.color-s1 .color-shower {
    background-color: #f40f;
}
.color-s1 .color-drizzle {
    background-color: #09cf;
}
.color-s1 .color-hail {
    background-color: #900f;
}
.color-s1 .color-light-snow {
    background-color: #bfffffff;
}
.color-s1 .color-medium-snow {
    background-color: #5f9fffff;
}
.color-s1 .color-heavy-snow {
    background-color: #0f4fffff;
}

#legendRainRadar .color-scheme li {
    display: flex;
    align-items: center;
    margin: 0;
    color: #000000;
    /*font-weight: 400;*/
    /*font-size: 16px;*/
    line-height: 24px;
    white-space: nowrap;
}

.timestamp-radar{
    white-space: nowrap;
}

.imgoffcanvas{
    width: 100%;
    max-width: -webkit-fill-available;
}

.color-s1 .color-impact-gradient {
    background: linear-gradient(180deg, hsl(0, 100%, 50%), hsl(120, 100%, 50%), hsl(240, 100%, 50%));
}

.color-s1 .color-impact-recent {
    background-color: hsl(0, 100%, 50%);
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border-radius: 50%;
    box-shadow: 0 0 2px 1px rgba(0,0,0,0.2) inset;
}
.color-s1 .color-impact-mid {
    background-color: hsl(120, 100%, 50%);
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border-radius: 50%;
    box-shadow: 0 0 2px 1px rgba(0,0,0,0.2) inset;
}
.color-s1 .color-impact-old {
    background-color: hsl(240, 100%, 50%);
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border-radius: 50%;
    box-shadow: 0 0 2px 1px rgba(0,0,0,0.2) inset;
}

#legend-rain,
#legend-snow,
#legend-impact-foudre{
    display: none
}

.color-scheme ol, ul {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}


/* ***********************************************
STYLE DU SCROLL TOP
*************************************************/
#scroll-to-top {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #1f2842; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}
#scroll-to-top:hover {
  background-color: #6abdc3;
}

@media (min-width: 500px) {
    .col-fixed-width250 {
        width: 250px !important;
        max-width: 250px !important;
        min-width: 250px !important;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}

/* ***********************************************
CUSTOM DHTMLX
*************************************************/
.dhx_timeline_data_row.dhx_data_table:not(.folder)  .dhx_timeline_data_cell.weekday{
    background-color: #EFEFEF !important;
    background: url("/images/ogiv-fusion-bar-picker.png") repeat scroll 0 0 transparent;
}

.dhtmlXTooltip.tooltip[role=tooltip] {
	min-width: 15vw;
}

/* Lightbox standard *//*
.dhx_cal_light {
  width: 800px !important;
  height: 600px !important;
}

/* Lightbox large (wide) *//*
.dhx_cal_light_wide {
  width: 1000px !important;
  height: 700px !important;
}
*/
/* Lightbox recurrence editor *//*
.dhx_cal_light_rec {
  width: 900px !important;
  height: 650px !important;
}

.dhx_cal_light .dhx_repeat_left{
    width: 100% !important;
    height: 50px !important;
}

.dhx_cal_light .dhx_repeat_left label{
    width: auto !important;
    padding: 0 0.2vw;
}*/
/* ***********************************************
CUSTOM QUILL
*************************************************/
.quill-ia-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    /*background: #4CAF50;*/
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.quill-ia-btn:hover {
    /*background: #45a049;*/
}
.quill-container {
    position: relative; /* important pour positionner le bouton */
}

/*.quill-ia-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    transition: all 0.3s ease;
}

/* Icon toujours visible */
.quill-ia-btn i {
    /*font-size: 18px;*/
    transition: transform 0.3s ease;
}

/* Le span n'existe pas dans le flux initial */
.quill-ia-btn span {
    position: absolute;
    right: 50px;
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.3s ease, right 0.3s ease;
}

/* Hover */
.quill-ia-btn:hover {
    width: 120px;
    padding-left: 15px;
}

/* Texte apparait */
.quill-ia-btn:hover span {
    position: static;
    opacity: 1;
    margin-left: 8px;
}

  .highlight {
    animation: flash 1s ease-in-out;
  }

  @keyframes flash {
    0%   { background-color: #d1e7dd; }
    50%  { background-color: #b6dfd2; }
    100% { background-color: transparent; }
  }

.description-wrapper {
  position: relative;
}

.description-content {
  max-height: 5.5em;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.description-content.expanded {
  max-height: 1000px;
}

.toggle-description small {
  transition: opacity 0.2s ease;
}

#table-selectFiche tr:hover .toggle-description{
    color: #050505
}


.toggle-description {
  display: block;
  margin-top: 0.5em;
  padding: 0;
}

.toggle-description i {
  transition: transform 0.3s ease;
}

.toggle-description.active i {
  /*transform: rotate(180deg);*/
}

#chatbotWindow{
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    height: 550px;
    display: none;
    flex-direction: column;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.95); /* fond légèrement transparent */
    backdrop-filter: blur(10px); /* effet flou derrière */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7) !important; /* belle ombre douce */
    border-radius: 1rem; /* coins arrondis pour faire plus "app mobile" */  
}

#chatContent a {
    color: ##d6e3a6; /* Bleu Bootstrap */
    text-decoration: underline;
}

#chatContent ul {
    padding-left: 1.2rem;
    margin-top: 0.5rem;
}
#chatContent li {
    margin-bottom: 0.3rem;
}

#chatContent blockquote {
    margin: 0.5rem 0;
    padding: 0.5rem 1rem;
    background-color: #f8f9fa; /* fond gris clair */
    border-left: 5px solid #0d6efd; /* trait bleu sur le côté */
    font-style: italic;
    color: #555;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(20px); }
}

.fade-in {
    animation: fadeIn 0.3s forwards;
}

.fade-out {
    animation: fadeOut 0.3s forwards;
}
 /*GESTION QR CODE ULPOAL MOBILE*/
#qrcode-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* à adapter selon ta hauteur */
    position: relative; /* pour superposer l’overlay */
}

#qrcodeUploadMobile {
    margin: 0;
    padding: 0;
}
.qr-blur {
    filter: blur(4px);
    transition: filter 0.3s ease;
}

.qr-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
    padding: 1.5rem;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.qr-overlay span{
    line-height: 13px;
}

/* ***********************************************
GESTION BOUTIQUE
*************************************************/
#content-itemART{
    height: 67vh !important;
    overflow-y: auto;
    padding-top: 1vh;
    justify-content: center;
}

@media (max-width: 500px) {
    #content-itemART{
        height: 75vh !important;
        overflow-y: auto;
        padding-top: 1vh;
    }
}

.btn-addItem{
    width: 100%
}

#content-itemART .card-title{
    min-height: 40px
}

#content-itemART .card{
    box-shadow: 0px 4px 9px 1px rgb(177 177 177 / 70%) !important
}

button.showMoreResults {
    display: none;
}

.itemART .card-body i{
    margin: 0px 0.5vw
}

.itemART .card-body i:hover{
    cursor: pointer;
}

.gantt_data_area {
    min-height: 300px !important;
}

.input-highlight {
    animation: flashInput 1s ease;
}

@keyframes flashInput {
    0% { background-color: #fff3cd; }
    50% { background-color: #ffeeba; }
    100% { background-color: white; }
}


.row-highlight {
    animation: highlightFlash 1s ease-in-out;
    background-color: #fff3cd !important; /* jaune pâle style alerte */
}

@keyframes highlightFlash {
    0% { background-color: #fff3cd; }
    100% { background-color: transparent; }
}

.stack-on-top {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  animation: appearOnTop 0.4s ease-out;
}

.stack-on-top::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  z-index: -1;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 1.5rem;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
  animation: blurFadeIn 0.4s ease-out;
}

.stack-on-top .modal-content {
  border: 1px solid rgb(0 0 0 / 15%);
}

/* Animations */
@keyframes appearOnTop {
  0% {
    transform: scale(0.95);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes blurFadeIn {
  0% {
    opacity: 0;
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    filter: blur(3px);
  }
}

#fullscreenContainer {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
    overflow: auto;
}

.fullscreen-table {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.saveViewTable{
    border: 0;
}

#quick-options-menu {
    z-index: 9999;
}

.hot-cell-bold {
    font-weight: bold !important;
}
.hot-cell-red {
    color: red !important;
}
.hot-cell-bg-yellow {
    background-color: yellow !important;
}

.hot-celldisbled{
    background-color: #9B9B9B !important
}

.hot-htInvalid{
    background-color: #ffbeba !important
}

.handsontable.listbox td.htDimmed {
    background-color: #DDDDDD;
}

.handsontable .htDimmed{
    background-color: #e5e5e5;
}

.highcharts-annotation-marker-end path {
  transform: scale(0.7);
}

.ansi-bold { font-weight: 700; }
  .ansi-fg-30 { color: #000; }   /* noir */
  .ansi-fg-31 { color: #d32f2f; }/* rouge */
  .ansi-fg-32 { color: #388e3c; }/* vert */
  .ansi-fg-33 { color: #f9a825; }/* jaune */
  .ansi-fg-34 { color: #1976d2; }/* bleu */
  .ansi-fg-35 { color: #7b1fa2; }/* magenta */
  .ansi-fg-36 { color: #0097a7; }/* cyan */
  .ansi-fg-37 { color: #eeeeee; background:#212121; }/* blanc/gris clair sur fond sombre */
  /* optionnel : un fond sombre au <pre> */
  .ansi-log { background:#111; color:#ddd; padding:12px; border-radius:6px; }

#info-montant, #info-montant-pointage, #info-montant-accompte {
    font-weight: 500;
    white-space: nowrap; /* ✅ force une seule ligne */
    margin-left: 1vw;
}

#info-montant, #info-montant-pointage, #info-montant-accompte span {
  display: inline-block;
}

#info-montant, #info-montant-pointage, #info-montant-accompte i {
  margin-right: 4px;
}

#widget-navette .badge {
  font-size: .75rem;
  padding: .35em .6em;
}
#widget-navette strong {
  color: #fff !important;
}
#widget-navette .card-body:hover {
  background-color: #252f4a;
  transition: background .2s ease;
}