@font-face {
	font-family: 'Montserrat';
	src: url("../font/Montserrat-Regular.ttf") format('truetype'),
		url("../font/Montserrat-Regular.ttf") format('truetype');
}

@font-face {
	font-family: 'AlumniSans';
	src: url("../font/AlumniSans-Regular.ttf") format('truetype'),
		url("../font/AlumniSans-Regular.ttf") format('truetype');
}

@font-face {
	font-family: 'Poppins';
	src: url("../font/Poppins-Regular.ttf") format('truetype'),
		url("../font/Poppins-Regular.ttf") format('truetype');
}

@font-face {
	font-family: 'Maiandra';
	src: url("../font/Maiandra-GD-Regular.ttf") format('truetype'),
		url("../font/Maiandra-GD-Regular.ttf") format('truetype');
}

body,
html {
	height: 100%;
	/* padding: 0; */
	margin: 0;
}

body {
	background-color: #f0f0f0;
	font-family: 'Poppins';
	display: flex;
	flex-direction: column;
  	scrollbar-width: thin;
}

@supports (scrollbar-width: auto) {
	body {
		scrollbar-width: thin;
	}
}
@supports selector(::-webkit-scrollbar) {
	body::-webkit-scrollbar {
	  max-width: 0.01rem;
	  max-height: 0.01rem;
	}
}

#main-content {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding-bottom: 1rem;
	margin-left: 400px;
	padding: 0.1rem .1rem 0;
	position: fixed;
	width: calc(100vw - 400px);
	top: 68px;
	bottom: 0;
}

#sidebar-desktop {
	width: 400px;
	position: fixed;
	top: 68px;
	bottom: 0;
}

.sidebar-wrapper {
	display: flex;
	padding: .1rem .5rem;
	flex-direction: column;
	height: 100%;
}

.sidebar-scroll {
	overflow-y: auto;
	/* padding: 0 0; */
	flex: 1;
}

.copy-right {
	padding: 0.5rem 0;
	background: inherit;
}

#main-content .card {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	margin: 0;
}

#main-content .list-item {
	flex: 1 1 auto;
	overflow-y: auto;
	margin-bottom: auto;
}

#main-content .card-body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.page-navigation {
	flex: 0 0 auto;
	padding: .5rem;
}

.body_head {
	flex: 0 0 40px;
	min-height: 40px
}

.accordion-button-region::after{
	background-color: white;
}
.accordion-button-region:not(.collapsed){
	color: #ffc107 !important;	
}
.accordion-button-region:not(.collapsed)::after{
	background-color: #ffc107;
}
.accordion-collapse-region{
	background-color: gainsboro !important;
}
.accordion-body-region{
	border: 1px solid #212529 !important;
}

.accordion-button:not(.collapsed){
	font-weight: bold !important;
}

.dropdown-item.active, .dropdown-item:active{
	background-color: #6c757d !important;
	color: #f8f9fa !important;
}

.bg-text-indicator{
	background-color: #2125297c !important;
	color: whitesmoke !important;
	font-weight: bold !important;
	padding: 10px !important;
}

/* .fnd-home {
	background-size: 100% 100%;
	overflow: hidden;
	background-color: rgba(128, 128, 128);
	text-shadow: 0 .05rem .1rem rgba(25, 135, 84, .8);
	box-shadow: inset 0 0 5rem rgba(25, 135, 84, .8);
	font-family: 'Maiandra';
} */
.fnd-home-desktop-fr {
	background:url("../img/fnd/22A.jpg") no-repeat center;
	background-size: 100% 100%;
	overflow: hidden;
	/* background-color: rgba(128, 128, 128); */
	text-shadow: 0 .05rem .1rem rgba(25, 135, 84, .8);
	box-shadow: inset 0 0 5rem rgba(25, 135, 84, .8);
	font-family: 'Maiandra';
}

.fnd-home-desktop-en {
	background:url("../img/fnd/22B.jpg") no-repeat center;
	background-size: 100% 100%;
	overflow: hidden;
	/* background-color: rgba(128, 128, 128); */
	text-shadow: 0 .05rem .1rem rgba(25, 135, 84, .8);
	box-shadow: inset 0 0 5rem rgba(25, 135, 84, .8);
	font-family: 'Maiandra';
}

.fnd-home-mobile-fr {
	background:url("../img/fnd/11A.jpg") no-repeat center;
	background-size: 100% 100%;
	overflow: hidden;
	/* background-color: rgba(128, 128, 128); */
	text-shadow: 0 .05rem .1rem rgba(25, 135, 84, .8);
	box-shadow: inset 0 0 5rem rgba(25, 135, 84, .8);
	font-family: 'Maiandra';
}

.fnd-home-mobile-en {
	background:url("../img/fnd/11B.jpg") no-repeat center;
	background-size: 100% 100%;
	overflow: hidden;
	/* background-color: rgba(128, 128, 128); */
	text-shadow: 0 .05rem .1rem rgba(25, 135, 84, .8);
	box-shadow: inset 0 0 5rem rgba(25, 135, 84, .8);
	font-family: 'Maiandra';
}

.fnd-login{
	box-shadow: inset 0 0 5rem rgba(25, 135, 84, .8);
}

.main-header {
	padding: 0 !important;
	flex: 0 0 68px;
}

.header-ttle,
.home-msg {
	font-size: clamp(1rem, 1.5vw, 2rem);
	line-height: 1.2;
	text-align: center;
	display: -webkit-box;
	/* -webkit-line-clamp: 2; */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-wrap: balance;
}

.lettrine::first-letter {
  float: left;
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
  margin-right: 0.1rem;   /* espace entre la lettrine et le texte */
  /* margin-top: 0.1rem; */     /* ajuste l’alignement vertical si besoin */
  color: rgb(44, 62, 80);
}

.bg-darkblue {
	background-color: rgb(47, 66, 100) !important
}

.text-darkblue {
	color: rgb(47, 66, 100) !important
}


footer {
	margin-top: auto;
}

.mobile-btn-open-canvas {
	display: none !important;
}

/* 1. Réinitialiser l’apparence */
.check-all-item-nw,
.check-item-nw,
.check-item-old {
	-webkit-appearance: none;
	appearance: none;
	width: 25px;
	height: 25px;
	margin: 0;
	cursor: pointer;
	border: 1px solid rgba(0, 0, 0, 0.356);
	border-radius: 4px;
	display: inline-block;
	vertical-align: middle;
}

/* 2. État non-coché */
.check-all-item-nw,
.check-item-nw {
	background-color: #f8d7da;
}

.check-item-old {
	background-color: #d4edda;
}

/* 3. État coché */
.check-all-item-nw:checked,
.check-item-nw:checked {
	background-color: #dc3545;
}

.check-item-old:checked {
	background-color: #198754;
}


.table-sidebar-link:hover {
	color: #ffc107;
	/* font-weight: bold; */
}

.home-metier-head {
	color: #dc3545 !important;
}

.home-metier-head.active {
	color: #198754 !important;
}

.table-link:hover {
	color: #dc3545;
	/* font-weight: bold; */
}

table{
	table-layout: fixed !important;
	border-collapse: collapse !important;
}

table tbody tr{
	cursor: pointer;
}
tr td{
	word-wrap: break-word; 
	overflow-wrap: break-word; 
	word-break: break-all; 
	white-space: normal;
}

.search-result-item {
	overflow-y: auto;
	/* max-height: 65vh; */
	max-height: 55vh;
}

.study-detail-item {
	overflow-y: auto;
	max-height: 85vh
}

.toggle-search-input {
	display: none;
}

.btn-mobile {
	display: none !important;
}

.help-fle {
	width: 100%;
	height: calc(100vh - 15vh)
}

.page-link {
	color: #198754 !important;
	border: 1px solid rgba(0, 0, 0, 0.356);
}

.page-link:hover {
	background-color: #198754 !important;
	color: #f0f0f0 !important;
	border: 1px solid rgba(0, 0, 0, 0.356);
}

.pagination-link-active {
	background-color: #198754 !important;
	color: #f0f0f0 !important;
	border: 1px solid rgba(0, 0, 0, 0.356);
}

.filter-bakground {
	backdrop-filter: blur(4px) !important;
}

.login-card {
	height: auto;
	width: 450px;
	margin: 30px;
	padding: 30px;
	background-color: #198754;
	position: relative;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	-webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	-moz-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	/* border-radius: 10px; */

}

td {
	word-break: break-all !important;
}

.file-item:last-child {
	border-bottom: none;
}

@media (max-width: 991.98px) {
	#sidebar-desktop {
		display: none;
	}

	#main-content {
		margin-left: 0;
		width: 100%;
		top: 148px;
	}

	.main-header {
		padding-bottom: 5px !important;
	}

	.header-right {
		width: 100% !important;
		justify-content: center;
	}

	.lg-item {
		border-right: 1px solid !important;
		padding-right: 20px !important;
	}

	.mobile-btn-open-canvas {
		display: inline-flex !important;
	}

	.head-brand {
		justify-content: center !important;
	}

	.search-result-item {
		/* max-height: 43vh; */
		max-height: 35vh;
	}

	/* .list-item{
		max-height: 65vh
	} */
	.toggle-search-input {
		display: inline-flex;
	}

	.btn-desktop {
		display: none !important;
	}

	.btn-mobile {
		display: inline-flex !important;
	}

	.help-fle {
		height: calc(100vh - 22vh)
	}

	.study-detail-item {
		max-height: 78vh
	}

	.home-filter {
		display: none !important;
	}

	.home-pgnm {
		text-align: center !important;
	}

}

@media screen and (max-width : 319.99px) {}

@media screen and (min-width : 320px) and (max-width : 419.99px) {}

@media screen and (min-width : 420px) and (max-width : 599.99px) {}

@media screen and (min-width : 600px) and (max-width : 700.99px) {}

@media screen and (min-width : 701px) and (max-width : 768.99px) {}

@media screen and (min-width : 769px) and (max-width : 855.99px) {}

@media screen and (min-width : 856px) and (max-width : 967.99px) {}

@media screen and (min-width : 968px) and (max-width : 1040.99px) {}

@media screen and (min-width : 1041px) and (max-width : 1300.99px) {}

@media screen and (min-width : 1360px) and (max-width : 1900px) {}

@media screen and (max-width : 1029.99px) {}
