/********************************************************************
	Auteur : Philippe Brouckaert
	Site de l'auteur : http://www.i-services.com
	E-mail de l'auteur : contact@i-services.net
*********************************************************************/

#stars i {
	cursor: pointer; /* Change le curseur en pointer */
	font-size: 20px; /* Ajustez la taille des étoiles si nécessaire */
	margin-right: 3px;
}

.breadcrumb-item a { color: #333; }

hr { border-top: 1px solid #eee !important; opacity: 1 !important; }

/*** IMAGES ***/

@media (max-width: 767px) {
	.img-fluid.float-start, .img-fluid.float-end {
		float: none !important; display: block !important; margin: 10px auto !important;
	}
}

/*** NAVIGATION ***/

@media (max-width: 991px) {
	#navigation .navbar-toggler {
		border: 1px solid #fff;
		color: #fff;
	}

	.navbar-toggler:focus {
		outline: none;
		box-shadow: none;
    }
}

@media (min-width: 992px) {
	#navigation { padding: 0; }
	#navigation li.nav-item { padding: 5px; }
}

/*** ALERT COOKIES ***/

#cookie-notice {
    position: fixed;
    bottom: 20px;
    left: 20px;
    padding: 20px 40px 20px 70px;
    z-index: 1000;
    width: 500px;
    max-width: 90%;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333333;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-sizing: border-box;
}

#cookie-notice p {
	margin-bottom: 0;
	line-height: 1.6;
	font-size: 15px;
}

#cookie-notice p a {
	color: #337ab7;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.3s ease;
}

#cookie-notice p a:hover {
	color: #23527c;
	text-decoration: underline;
}

#accept-cookies {
	background-color: #337ab7;
	color: #ffffff;
	border: none;
	padding: 12px 25px;
	border-radius: 5px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	transition: background-color 0.3s ease, transform 0.2s ease;
	align-self: flex-start;
}

#accept-cookies:hover {
	background-color: #286090;
	transform: translateY(-2px);
}

#accept-cookies:active {
	background-color: #204d74;
	transform: translateY(0);
}

#close-cookie-notice {
	cursor: pointer;
	position: absolute;
	top: 15px;
	right: 15px;
	font-size: 24px;
	color: #666;
	transition: color 0.3s ease, transform 0.2s ease;
	line-height: 1;
}

#close-cookie-notice:hover {
	color: #337ab7;
	transform: rotate(90deg);
}

#cookie-notice .cookie-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 40px;
    color: #337ab7;
}

@media (max-width: 768px) {
	#cookie-notice {
		bottom: 10px;
		left: 10px;
		right: 10px;
		width: auto;
		max-width: calc(100% - 20px);
		padding: 15px 35px 15px 15px;
	}

	#cookie-notice p {
		font-size: 14px;
	}

	#accept-cookies {
		width: 100%;
		text-align: center;
		padding: 10px 20px;
	}

	#close-cookie-notice {
		top: 10px;
		right: 10px;
		font-size: 20px;
	}

	#cookie-notice .cookie-icon {
		top: 15px;
		left: 15px;
		font-size: 25px;
	}

	#cookie-notice {
		padding-left: 50px;
	}
}

/*** FORMULAIRES ***/

input[readonly], textarea[readonly] {
	background-color: #f0f0f0;
	color: #333;
	border-color: #ced4da;
	cursor: default;
}

input[readonly]:focus, textarea[readonly]:focus {
	background-color: #f0f0f0;
	outline: none;
	box-shadow: none;
}

textarea[readonly] {
	resize: none;
}

span.col-form-label {
	cursor: default;
}

/*** BBCODE ***/

.bbcode-toolbar .bbcode-textcolor {
	height: calc(2.25rem + 2px);
	padding: 5px;
}

.color-picker-wrapper {
    display: inline-block;
}

.color-picker-input { border: none; width: 40px; height: 38px; padding: 0; margin-left: -1px; }

.emoji-container {
    position: absolute;
	top: 40px;
    background: white;
    border: 1px solid #ccc;
    z-index: 100;
    display: flex;
    flex-wrap: wrap;
    width: 250px;
}

.emoji-container .emoji-btn {
	margin: 5px;
	width: calc(20% - 10px);
	display: flex;
	justify-content: center;
	align-items: center;
	height: 40px;
}

/*** DIVERS ***/

.bg-badge-custom {
	color: #333;
	background-color: transparent;
	font-size: 1em;
}