/* EDocman Slider Module CSS */
.mod-edocman-slider-container {
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.slides {
	display: flex;
	transition: transform 700ms ease-in-out;
	width: 100%;
}

.slide {
	min-width: 100%;
	display: flex;
	align-items: center;
	padding: 20px;
	box-sizing: border-box;
	background: white;
}

.slide-content {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	width: 100%;
}

.slide-thumbnail {
	flex-shrink: 0;
}

.slide-thumbnail img {
	width: 100px;
	height: auto;
	max-height: 80px;
	object-fit: cover;
	border-radius: 5px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	transition: transform 0.3s ease;
}

.slide-thumbnail img:hover {
	transform: scale(1.05);
}

.slide-text {
	flex: 1;
	min-height: 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.slide-title {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 8px;
	color: #333;
	text-decoration: none;
	line-height: 1.3;
	display: block;
}

.slide-title:hover {
	color: #0066cc;
	text-decoration: underline;
}

.slide-description {
	font-size: 14px;
	color: #666;
	line-height: 1.4;
	margin: 0;
}

.slide-meta {
	font-size: 12px;
	color: #999;
	margin-top: 5px;
}

.prev, .next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(0,0,0,0.5);
	color: white;
	border: none;
	padding: 10px 15px;
	cursor: pointer;
	font-size: 18px;
	transition: background-color 0.3s;
	border-radius: 4px;
	z-index: 10;
}

.prev {
	left: 10px;
}

.next {
	right: 10px;
}

.prev:hover, .next:hover {
	background-color: rgba(0,0,0,0.8);
}

.slider-indicators {
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 5px;
}

.indicator {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: rgba(255,255,255,0.5);
	cursor: pointer;
	transition: background-color 0.3s;
}

.indicator.active {
	background-color: white;
}

/* Responsive */
@media (max-width: 768px) {
	.slide {
		padding: 15px;
	}
	
	.slide-content {
		flex-direction: column;
		text-align: center;
	}
	
	.slide-thumbnail {
		align-self: center;
	}
	
	.slide-thumbnail img {
		width: 80px;
	}
	
	.slide-title {
		font-size: 16px;
	}
	
	.slide-description {
		font-size: 13px;
	}
	
	.prev, .next {
		padding: 8px 12px;
		font-size: 16px;
	}
}

/* Animation pour les slides */
.slide {
	opacity: 1;
	transition: opacity 0.3s ease;
}

.slide.fade {
	opacity: 0.7;
}

/* Style pour les messages d'erreur */
.mod-edocman-slider-container .no-documents {
	text-align: center;
	padding: 40px 20px;
	color: #666;
	font-style: italic;
}

/* Amélioration de l'accessibilité */
.prev:focus, .next:focus {
	outline: 2px solid #0066cc;
	outline-offset: 2px;
}

.indicator:focus {
	outline: 2px solid #0066cc;
	outline-offset: 1px;
} 