html {
	overflow-y: scroll;
}

.bg-logo{
	height: 50px;      /* hauteur souhaitée */
	width: auto;       /* largeur automatique */
	display: block;    /* évite les espaces inline */
	padding: 0px;
}

.bg-DL{
	height: 20px;      /* hauteur souhaitée */
	width: auto;       /* largeur automatique */
	display: block;    /* évite les espaces inline */
	padding: 0px;
}

.bg-arrow{
	height: 15px;      /* hauteur souhaitée */
	width: auto;       /* largeur automatique */
	display: block;    /* évite les espaces inline */
	padding: 0px;
}

.light-text {
	color: #fff;
}

.ariane-container {
	/* background: #b3b3b3; */
	background: linear-gradient(90deg,rgba(179, 179, 179, 1) 0%, rgba(255, 255, 255, 1) 100%);
	padding: 0.4em 1em 0.4em 1em;
	font-weight: 600;
	display: flex;
	margin-top: 24px;
}

.ariane {
	flex: 1;
	align-content: center;
}

.ariane-slash {
	color: #999;
}

.home-link {
	font-size: 1.2rem;
}

#copy-current-url {
	margin-left: 15px;
	padding: 3px;
	baseline-shift: top;
}

.display-btn-container {
	margin-left: 20px;
	text-align: end;
}

.display-btn-container > .btn {
	margin: 3px 6px;
	padding: 4px 6px;
	border: 1px solid #ccc;
	background: none;
}

.display-btn-container > .btn > img {
	height: 20px;
	width: auto;
	display: block;
}

#items {
	list-style: none;
	padding: 0;
	margin: 25px 55px 80px 55px;
}

/*---------- ITEMS GRID VIEW ----------*/
#items.grid-view {
	display: grid;
	grid-template-columns: repeat(auto-fill, 200px);
	gap: 40px;
	justify-content: space-evenly;
}

#items.grid-view > li {
	display: block;
	margin: 15px 0;
}

#items.grid-view .item-thumbnail {
	display: flex;
	height: 200px;
	border: 1px solid #ccc;
	border-radius: 10px;
	align-items: center;
	justify-content: center;
}

#items.grid-view .item-thumbnail-img {
	width: auto;
	height: auto;
	max-height: calc(100% - 10px);
	max-width: calc(100% - 10px);
}

#items.grid-view .item-thumbnail-icon {
	font-size: 60px;
}

#items.grid-view .item-label a {
	font-size: .9rem;
	overflow: hidden;
	text-overflow: ellipsis;
	/* text-wrap: nowrap; */  /* One line */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-clamp: 2;  /* Compatibility */
	flex: 1;
	text-align: center;
}
/*-------------------------------------*/

.item-label {
	display: flex;
	align-items: center;
}

.item-label > a {
	margin: 0px 10px;
}

.item-label:not(:has(> button)) a {
	font-weight: 600;
}

.item-thumbnail {
	min-width: 25px;
	height: 25px;
	text-align: center;
	border-radius: 5px;
}

.item-thumbnail:hover {
	text-decoration: none;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.item-thumbnail-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
	display: block;
	pointer-events: none;
}

.item-thumbnail-icon {
	width: 100%;
	height: 100%;
	align-content: center;
}

.item-thumbnail-img:not([src]) {
	/* Pour masquer img si pas de src */
	display: none;
}

.item-thumbnail:has(>.item-thumbnail-img[src]) > .item-thumbnail-icon {
	/* Pour masquer icon si img avec src */
	display: none;
}

#items > li {
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
}

#backToActiveRepository > img {
	display: block;
	height: 30px;
	pointer-events: none;
}

.btn.download-btn {
	padding: 6px 8px;
	margin-right: 2px;
}

.btn:hover {
	background-color: #f5f9ff;
	border-color: #93c5fd;
}

.btn:active {
	transform: translateY(1px);
}

.btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.btn > img {
	pointer-events: none;
}

.search-container {
	display: flex;
	float: right;
	align-items: center;
	width: 330px;
	margin-right: 10px;
	background-color: #ffffff;
	border-radius: 25px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	overflow: hidden;
}

.search-input {
	flex: 1;
	border: none;
	outline: none;
	padding: 10px 15px;
	font-size: 14px;
	border-radius: 25px 0 0 25px;
}

.search-input::placeholder {
	color: #999;
}

.search-btn {
	border: none;
	background-color: #000000; /* Bootstrap primary */
	color: white;
	padding: 10px 15px;
	cursor: pointer;
	font-size: 16px;
	transition: background-color 0.2s ease;
}

.search-btn:hover {
	background-color: #0b5ed7;
}




.navbar.bg-primary {
	background-color: #FFF !important;
}
.card-header {
	background-color: #000 !important;
}
a {
	color: #000 !important;
}
a:hover {
	color: #9e9e9e !important;
}
.btn-success {
	background-color: #e61b00 !important;
	border-color: #e61b00 !important;
}
.btn-success:hover {
	background-color: #ad210f !important;
	border-color: #ad210f !important;
}

.hidden {
	visibility: hidden;
}

.flex-1 {
	flex: 1;
}

.footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	padding: 20px;
	display: flex;
	background-color: #fff;
}