.h1, h1 {
    font-size: 2.3rem;
}


.sidebar-header {
    background: transparent;
    padding: 1.5rem 1.5rem .375rem;
    font-size: 1.6rem !important;
    color: #efefef;
    font-weight: 600 !important;
}

.sidebar-dropdown .sidebar-link {
    padding: .625rem 1.5rem .625rem 3.25rem;
    /*font-weight: 600;*/
    font-size: 100%;
    border-left: 0;
    color: #FEFEFE;
    background: transparent;
}

footer.footer {
    padding: 1.2rem .875rem;
    direction: ltr;
    background: #ffffff;
}

.settings-toggle {
    display: none;

}

.sidebar-link, a.sidebar-link {
    /*font-weight: 600;*/
    cursor: pointer;
    color: rgba(255, 255, 255, .9);
    font-size: 100%;
}

table.dataTable {
    clear: both;
    margin-top: 20px !important;
    margin-bottom: 6px !important;
    max-width: none !important;
    border-collapse: initial !important;
    border-spacing: 0
}

.sidebar,
body[data-theme=dark] .sidebar {
    background: #4d5a6a;
}

.sidebar-content,
body[data-theme=dark] .sidebar-content {
    background: #4d5a6a;
}

.sidebar-link, a.sidebar-link {
    display: block;
    padding: .625rem 1.625rem;
    /*font-weight: 600;*/
    transition: background .1s ease-in-out;
    position: relative;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    border-left: 3px solid transparent;
}


body[data-theme=dark] .sidebar-link,
body[data-theme=dark] a.sidebar-link {
    background: #39434f;
}

.sidebar-link:hover {
    background: #39434f;
    border-left-color: transparent
}

body[data-theme=dark] .sidebar-link:hover {
    background: #39434f;
}

.wrapper,
body[data-theme=dark] .wrapper {
    background: #39434f;
}

.sidebar-brand {
    font-weight: 600;
    font-size: 1.15rem;
    padding: 0.4rem 1.5rem 1.5rem 1.5rem;
    display: block;
    color: #f8f9fa;
}

.sidebar-cta-content {
    padding: 1.5rem;
    margin: 1.75rem;
    border-radius: .3rem;
    background: #39434f !important;
    color: #e9ecef
}

body[data-theme=dark] .sidebar-cta-content {
    background: #39434f
}

body[data-theme=light] .sidebar-cta-content {
    background: #39434f
}

body[data-theme=colored] .sidebar-cta-content {
    background: #18488d
}

body[data-theme=dark] .sidebar-cta-content {
    color: #e9ecef
}

body[data-theme=light] .sidebar-cta-content {
    color: #343a40
}

body[data-theme=colored] .sidebar-cta-content {
    color: #e9ecef
}

.sidebar-dropdown .sidebar-item.active .sidebar-link {
    font-weight: 400;
    border-left: 0;
    color: #ddac2c;
    background: transparent;
}

body[data-theme=dark] .sidebar-dropdown .sidebar-item.active .sidebar-link,
body[data-theme=light] .sidebar-dropdown .sidebar-item.active .sidebar-link {
    color: #ddac2c;
}

.table-action .feather {
    width: 18px;
    height: 18px;
    margin-right: 5px;
}

form[name="change_password_form"] small {
    color: red;
    font-size: 0.9em;
}

form[name="change_password_form"] .columns {
    margin-top: 5px;
}

#message-flash {
    opacity: initial;
}

#div-message-flash {
    top: 8%;
}

.input-error {
    font-size: 80%;
    color: #dc3545;
    position: relative;
    bottom: 15px;
}

.span-date {
    position: relative;
    bottom: 15%;
}

#user_society_residencePrincipale {
    display: flex;
}

#user_society_residencePrincipale > div + div {
    position: relative;
    left: 30px;
}

/*Formulaire dirigeant*/
/*.fa-plus {
    width: 1.5em !important;
    height: 1.5em;
}*/


/*index dirigeants*/
.leader-index-title {
    width: 70%;
}

.index-leader-div-button {
    width: 30%;
}

.new-leader-div-button, .new-society-button {
    margin-left: 30px;
}

/*Formulaire flotte*/
.head-form-button div.mb-3 {
    display: inline;
}

/*formulaire modif une voiture*/
.return-button {
    float: right;
}

.alert {
    padding: 15px;
    display: flex;
}

.fa-star:hover {
    color: #ddac2c;
}

a.fontawsome-link,
a.fontawsome-link:hover {
    color: #0a0a0a;
    text-decoration: none;
}

.datatable-img{
    width: 100px;
    height: 100px;
}

td{
    text-align: center;
}

.bl-modal-photo{
    width: 500px;
}

#blPhotoModal .modal-body{
    text-align: center;
}

/*Datatable transactions et heures supp*/
#bons-datatable_filter, #transactions-datatable_filter, #society_period_day, #overtime-datatable_filter{
    display: none;
}

#bons-datatable thead input, #transactions-datatable thead input, #overtime-datatable thead input{
    width: 100%;
 }
 
 
/**** manage o2m fields *****/

.o2m_widget .o2m_item .o2m_remove_btn {
  display: inline-block;
}

.hideRemoveIfsingle.o2mSingleItem .o2m_remove_btn {
  display: none !important;
}

.o2m_widget .o2m_item:last-child .o2m_create_btn {
  display: inline-block !important;
} 

fieldset.mb-3{
  display: inline !important;
} 

.th-bg{
	background-color: #e9ecef !important;
	opacity: 1;
}

.th-padding{
	padding: 0.35rem !important;
}

.table>:not(:last-child)>:last-child>*, .table tbody, .table td, .table tfoot, .table th, .table thead, .table tr {
	border-color: inherit;

}

.td-padding{
	padding: 0.35rem !important;
}

.active h4 {
    color: #fff;
}

.btn-circle {
  width: 30px;
  height: 30px;
  text-align: center;
  padding: 7px 2px 0px 0px;
  font-size: 12px;
  line-height: 1.428571429;
  border-radius: 15px;
}

.true-primary {
  color: #0d6efd !important;
}

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

.select2-container--default .select2-selection--single {
	border: 1px solid #ced4da !important;
	padding: 1px !important;
}

.select2-container .select2-selection--single{
	height:32px !important;
}

.sequence_btn{
	color:#ddac2c;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.sequence_btn:hover{
	color:#495057;
	cursor:pointer;
}

#liste_lignes_devis > tr.first_ligne .sequence_btn.arrow-up { display: none; }
#liste_lignes_devis > tr.last_ligne .sequence_btn.arrow-down { display: none; }


#liste_ligne_factures > tr:first-child .sequence_btn.arrow-up { display: none; }
#liste_ligne_factures > tr:last-child .sequence_btn.arrow-down { display: none; }

#modal-creationOuvrage .modal-body{
	max-height: calc(100vh - 100px);
	overflow-y: auto;
}

.marge_basse_style{
	background-color: #dc3545 !important;
	color: #fff;
}

.p-cursor{
	cursor: pointer;
}

.input-has-error{
	border:1px solid red;
}

#table_phases #liste_phases_devis tr:hover td {
    background:#F5E8C2;
}

.add_phase_form #lignes_devis_table tr.ligne_devis:hover td {
    background:#F5E8C2;
}
.add_phase_form #lignes_devis_table tr.ligne_devis.ligne_entierement_facturee:hover td {
    background:#EAEAEA;
}

.colored-toast.swal2-icon-success {
  background-color: #a5dc86 !important;
}

.colored-toast.swal2-icon-error {
  background-color: #f27474 !important;
}

.colored-toast.swal2-icon-warning {
  background-color: #f8bb86 !important;
}

.colored-toast.swal2-icon-info {
  background-color: #3fc3ee !important;
}

.colored-toast.swal2-icon-question {
  background-color: #87adbd !important;
}

.colored-toast .swal2-title {
  color: white;
}

.colored-toast .swal2-close {
  color: white;
}

.colored-toast .swal2-html-container {
  color: white;
}

.ligne_commande_fractionee_tr .ligne_checked {
	float:none !important;
}

#documentsSignerDevis_liste > .documentSignerDevis-item:only-child .supprimer_tmp_documentSignerDevis { display: none !important; }

.table {
	--bs-table-bg: transparent;
	--bs-table-accent-bg: transparent;
	--bs-table-striped-color: #495057;
	--bs-table-striped-bg: #f8f9fa;
	--bs-table-active-color: #495057;
	--bs-table-active-bg: rgba(0, 0, 0, 0.1);
	--bs-table-hover-color: #495057;
	--bs-table-hover-bg: rgb(245 232 194);
	width: 100%;
	margin-bottom: 1rem;
	color: #495057;
	vertical-align: top;
	border-color: #dee2e6;
}
.sidebar-item.active .sidebar-link:hover, .sidebar-item.active>.sidebar-link {
    color: #FFFFFF;
    font-weight: bold;
    background: linear-gradient(90deg, rgba(59, 125, 221, .1), rgba(59, 125, 221, .0875) 100%, transparent);
    border-left-color: #ddac2c;
}

.card-title{
    font-size: .925rem;
    font-weight: 600;
    color: #616161;
}

.alert-maintenance{
    padding: 10px;
    display: flex;
    border-radius: .25rem;
}

.input-group .calendar-icon {
    cursor: pointer;
}

/* Style personnalisé pour les jours désactivés */
.flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover {
    /*color: rgb(18 46 75 / 40%);*/
    color: rgb(255 0 0 / 80%);
}

/* Media Query for Mobile Devices */
@media (min-width: 1025px) {
    .notDisplay {
        display: none;
    }
}

#liste_lignes_commande_fournisseur_table.commande_non_liee_devis .afficher_si_liee_devis{display:none;}
#liste_lignes_commande_fournisseur_table.commande_liee_devis .afficher_si_non_liee_devis{display:none;}

.Select2MultipleHideSelected .select2-results__option[aria-selected=true] {
	display: none;
}

.select2-results__option[aria-selected=true] {
    color: #ffffff;
    background-color: #ddac2c !important;
}

.form-label-custom {
    /*display: flex;*/ /* Retrait pour le tooltip */
    align-items: flex-start; /* Aligne les éléments en haut */
    margin-bottom: 0.5rem;
    width: auto;
    padding: 0;
}

.form-label-custom-echeance-paiement {
    /*display: flex;*/ /* Retrait pour le tooltip */
    align-items: flex-start; /* Aligne les éléments en haut */
    margin-bottom: 0.5rem;
    /*width: auto;
    padding: 0;*/
}

.form-label-custom-echeance-paiement .required-star {
    color: red;
    font-size: 1.2em; /* Réduit légèrement la taille de l'astérisque */
    /*font-weight: bold;*/
    /*margin-left: 4px;*/ /* Si display flex actif dans form-label-custom */
    margin-left: 1px;
    line-height: 1;
    font-family: Open Sans,sans-serif;
    align-self: flex-start; /* Aligne l'astérisque en haut */
}

.form-label-custom .required-star {
    color: red;
    font-size: 1.2em; /* Réduit légèrement la taille de l'astérisque */
    /*font-weight: bold;*/
    /*margin-left: 4px;*/ /* Si display flex actif dans form-label-custom */
    margin-left: 1px;
    line-height: 1;
    font-family: Open Sans,sans-serif;
    align-self: flex-start; /* Aligne l'astérisque en haut */
}

/* Spécifique pour les fieldsets */
fieldset.form-group legend.form-label-custom {
    margin-bottom: 0.5rem;
}

/* Ajustement pour les labels des champs input */
.form-group label.form-label-custom {
    margin-bottom: 0.25rem;
}

/* Pour les boutons radio et checkboxes */
/*.form-check label.form-check-label {
    display: inline-flex;
    align-items: center;
}*/

.form-check label.form-check-label .required-star {
    margin-left: 1px;
}

.btn-group-lg>.btn,
.btn-lg {
    padding: .4rem 1rem;
    font-size: .925rem;
    border-radius: .2rem
}

.tab .nav-tabs .nav-link {
    background: #0000000f;
}

.tab .nav-tabs .nav-link.active {
    background: #ddac2c;
    color: #ffffff;
}

.tab .tab-content {
    background: #ffffff0d;
}

.hr-opacity{
    opacity: 0.5;
}

.stat svg {
    color: #dc3545!important;
}

.liste-labels img {
    width: 80px;
    object-fit: contain;
}

.dropdown-menu-start[data-bs-popper] {
    right: 0;
    left: auto;
}

#scrollTopBtn {
    position: fixed;
    bottom: 70px;
    right: 30px;
    z-index: 99;
    display: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 18px;
}

#tarteaucitronIcon #tarteaucitronManager img {
    width: 20px !important;
    height: 20px !important;
}

.dropzone {
    min-height: 150px;
    border: 2px dashed #ddac2c !important;
    border-radius: 5px;
    background: white;
}

.dropzone:hover {
    background-color: #f5f5f5;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #444 !important;
}

.fc-event {
    cursor: pointer;
}
.fc-event-title {
    white-space: normal !important;
    overflow: visible !important;
}
.calendar-container {
    margin-top: 20px;
}
.fc-daygrid-event {
    white-space: normal !important;
    height: auto !important;
    min-height: 40px;
}
.fc-daygrid-event-harness {
    height: auto !important;
}
.fc-event-main {
    padding: 4px !important;
}

.disabled-row {
    opacity: 0.5;
    background-color: #f8f9fa !important;
}

.disabled-row .remove-ligne {
    pointer-events: none;
    opacity: 0.5;
}

.small-break {
    margin: 0;
    line-height: 0.5;
}

.unite-conversion {
    display: block;
    font-size: 0.85em;
    color: #6c757d;
    margin-top: 2px;
}

.accordion-button {
    background-color: #fff;
}

.text-finalise {
    color: rgb(202 125 20) !important;
}

/* Non utilisé - Test fix header table */

.table-container {
    position: relative;
    max-height: 1000px; /* Ajustez selon vos besoins */
    overflow-y: auto;
    margin-bottom: 20px;
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
}

/* Style pour l'en-tête fixe */
.table-container thead {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #f8f9fa;
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1);
}

.table-container th {
    background-color: #f8f9fa;
    text-align: center;
    padding: 10px;
    border: 1px solid #dee2e6;
}

/* Style pour le tableau */
.table-container tbody td {
    padding: 8px;
    border: 1px solid #dee2e6;
    vertical-align: middle;
}


