#main-container{background:#0d0d0d;}

.nav-main-link {border-radius:5px;}
.bar-breadcrumb{
	background-color:#3c3c3c !important;
}
.dark-mode .dropdown-menu{
	color: #ffffff !important;
    background-color: #272727;
    border-color: #000000;
	border-radius:5px;
}

.dark-mode .dropdown-menu .dropdown-item:focus, .dark-mode .dropdown-menu .dropdown-item:hover {
    color: #ffffff;
    background-color: #3C3C3C;
	border-radius:5px;
}
#s_accueil .btn-choix .block {
    background-color: #3C3C3C !important;
    box-shadow: none;
}

.breadcrumb-item a{
	color:#fff !important;
	font-weight:bold;
}

.breadcrumb-item a:hover{
	filter: brightness(50%);
}

.breadcrumb-item:first-child a {
    margin-left: 10px;
}

.bg-header-dark{background-color:#d83030 !important;}
#page-container.main-content-narrow>#main-container .content{width:100%; padding:20px !important;}
#page-container.main-content-narrow>#page-header .content-header{width:100%;}
#page-container.page-header-dark #page-header{background-color:#212121 !important;}
#page-container.sidebar-dark #sidebar{background-color: #212121;}
#page-container.sidebar-dark #sidebar .nav-main-link.active{background-color: #d83030;}
.page-header-dark #page-header .btn-alt-secondary{background-color:#ffffff26 !important; border-color:#212121 !important;}
.page-header-dark #page-header .btn-alt-secondary:focus{box-shadow: 0 0 0 0 rgb(206 75 75 / 50%); background-color:#900 !important;}
.page-header-dark #page-header .btn-alt-secondary:active:focus{box-shadow: 0 0 0 0 rgb(206 75 75 / 50%); background-color:#900 !important;}
.dark-mode .form-control:focus{background-color:#313131  !important; border-color:#313131  !important;}
.dark-mode{background:#3c3c3c;}
.dark-mode .block {background-color: #FFF; box-shadow:none; border-radius:6px 6px 5px 5px !important;}
.dark-mode .block .block-header-default {background-color: #212121!important; border-radius:5px 5px 0 0 !important;}
.dark-mode .bg-body-dark {background-color: #272727!important;}
.dark-mode .bg-body-light {background-color: #ffffff!important;}

#sidebar .nav-main-submenu .nav-main-link {color: #ffffff;}
#sidebar .bg-header-dark .content-header .btn-alt-secondary{background-color:#832323 !important; border-color:#832323 !important;}
.sidebar-dark #sidebar .nav-main-link>.nav-main-link-icon{color:#fff !important;}
.sidebar-dark #sidebar .nav-main-link:hover{background-color:#d83030 !important;}
.sidebar-dark #sidebar .nav-main-submenu .nav-main-link {color:#fff; padding-left:10px;}
.sidebar-dark #sidebar .nav-main-item.open>.nav-main-link-submenu {background-color: #1e1e1e;}
.sidebar-dark #sidebar .nav-main-item.open>.nav-main-submenu {background-color: #000;}
.nav-main-submenu {padding-left: 0px;}
.content-side {padding:20px 0px;}

.dark-mode a.block.block-link-pop:active {box-shadow: none;}
.dark-mode a.block.block-link-pop:hover {box-shadow: none;}
a.block.block-link-pop:active {box-shadow: none;}
a.block.block-link-pop:hover {box-shadow: none;}

.dark-mode .alert-success {color: #fff; background-color: #458900; border-color: #537530;}
.dark-mode .alert-danger {color: #fff; background-color: #ac0000; border-color: #a83b14;}

.bg-primary{background-color: #212121!important;}
.bg-primary-dark{background-color: #d83030!important;}
.bg-primary-dark-op {background-color: #832323!important;}

.btn{border-radius:5px;}
.btn-primary{background-color:#d83030 !important; border-color:#c32d2d !important;}
.btn-primary:hover{background-color:#900 !important;}
.btn-primary:focus, .btn-primary:active:focus{box-shadow: 0 0 0 0 rgb(255 255 255 / 30%);}

.form-control {border-radius:5px !important;}
.form-control:focus{border-radius:5px !important; box-shadow: 0 0 0 0 rgb(206 75 75 / 50%);}

.img-avatar.img-avatar32 {width: 22px; height: 22px;}
.img-avatar-thumb {margin: 0; box-shadow: 0 0 0 0 rgb(255 255 255 / 30%);}

.menu-profil-sidebar{margin-top:10px !important;}
.profil-sidebar .badge {font-size:9px; padding: 4px 7px; vertical-align: text-bottom;}
.page-header-dark #page-header .btn-alt-secondary.btn-toggleMenu{background:#D83030 !important;}
.block-title {line-height: 1.5;}

.sidebarMenu li{padding:0 10px;}

.histo_barre_defil{overflow-y: scroll; max-height:190px; min-height:20px; overflow-x:hidden; width:100%;}
.histo_barre_defil::-webkit-scrollbar {-webkit-appearance: none; width: 8px;}
.histo_barre_defil::-webkit-scrollbar-thumb {background-color: #6d6d6d;}
.histo_barre_defil::-webkit-scrollbar-track {background-color: #a1aab1;}
.histo_barre_defil .list-group-item{margin-right: 10px;}

#page-footer {min-height:40px;}
#cke_1_contents{min-height:60px !important;}

.alert{border-radius:5px;}
.alert-success{
	padding:10px;
	background-color:#50be58 !important;
	border-radius:5px;
	color:#fff;
}

.alert-error{
	padding:10px;
	background-color:#d83030 !important;
	border-radius:5px;
	color:#fff;
}

.breadcrumb {
    padding: 6px 0px !important;
}

.list-link-entretien a{color:#fff !important;}
.notification-alert {
    background-color: #ca0000 !important; /* ou toute autre couleur que vous préférez */
    color: white; /* pour que le texte soit lisible sur le fond rouge */
}

.delete-log{background:#212121;}
.block-content{
	padding:1.25rem;
	border-radius:5px;
}

.dark-mode .table {
	--bs-table-striped-bg:#3C3C3C !important;
}

.table-responsive {
	border-radius:5px !important;
}

#s_accueil .btn-choix .btn-titre{
	margin-bottom:0px;
}

@media (min-width: 768px) {
	.btn-responsive {
		width: auto !important;
		display: inline-block !important;
	}
}
@media (max-width: 767.98px) {
	.btn-responsive {
		width: 100% !important;
		display: block !important;
	}
}

/* Scrollbar fine et moderne */
body {
  scrollbar-width: thin;
  scrollbar-color: #888 transparent;
}

/* Pour Chrome, Edge, Safari */
body::-webkit-scrollbar {
  width: 6px;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
  border: 1px solid transparent;
  background-clip: content-box;
}
.page-container {
  scrollbar-width: thin;
  scrollbar-color: #888 transparent;
}

.page-container::-webkit-scrollbar {
  width: 6px;
}

/* Par défaut : pas de saut de ligne */
.mobile-br {
	display: none;
}

/* En version mobile (max 767px), active le saut de ligne */
@media (max-width: 767px) {
	.mobile-br {
		display: inline;
	}
}
.btn-xs {
	padding: 0.15rem 0.3rem;
	font-size: 0.65rem;
	line-height: 1;
	border-radius: 0.2rem;
}

.block-btn{
	border-radius:5px; padding:20px; margin-bottom:1.5rem; background:#212121;
}

.color-white{
	color:#fff !important;
}