/* __________ Bouton Affichage Bannière__________ */
#imgOpenDiv {
	background-color: var(--aso-cookie-color);
	position: fixed;
	bottom: 15px;
	left: 15px;
	z-index: 2147483631;
	display: none;
	border-radius: 20px;
	width: 35px;
	padding: 3px;
	cursor: pointer;
	animation: bounce 10s infinite;
}
/* __________Fin Bouton Affichage Bannière__________ */
/* __________Section Bannière__________ */
.aso-cookie-container {
	position: fixed;
	bottom: 50px;
	left: 15px;
	z-index: 2147483631;
	border-radius: 20px;
	box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.3);
	width: 100%;
	background: #FFFFFF;
	max-width: 320px;
}
/* Texte Bannière (sans boutons) */
.aso-cookie-container .contentCookieContainerTxt { 
	padding: 15px;
}
/* Titre banière */
#contentCookieContainer h4 {
	font-weight: 500;
	font-size: 16px;
	width: 70%;
	color: #000;
	margin-top: 5px;
	margin-bottom: 5px;
}
/* Message bannière */
#contentCookieContainer p {
	color: #000;
	font-size: 10px;
	margin-bottom: 5px;
	line-height: 1.55;
}
/* Message + icone/lien */
.aso-cookie-container .contentCookieContainerTxt p a {
	color: var(--aso-cookie-color);
}
/* __________Section Catégorie Cookie__________ */
div#contentCookieContainerCustomize {
	display: none;
	width: 100%;
	margin: 0 auto;
	max-width: 320px;
	margin-bottom: 15px;
}
/* Lorsque la catégorie est active (affichée) */
div#contentCookieContainerCustomize.active {
	display: inline-block;
	max-width: 100%;
	height: 120px;
}
/* 4 Catégorie de cookies */
div#contentCookieContainerCustomize .catASO {
	width: 50%;
	float: left;
	position: relative;
	text-align: left;
	margin-bottom: 10px;
}
/* Nom des catégorie */
div#contentCookieContainerCustomize .catASO h5 {
	font-size: 13px;
	margin-bottom: 5px;
	margin-top: 5px;
}
/* Message ("?") des catégories */
div#contentCookieContainerCustomize .catASO p {
    display: none; /* Cacher complètement la bulle */
}
/* Cacher l'élément par défaut */
div#contentCookieContainerCustomize .catASO p.hidden {
    opacity: 0;
    display: none;  /* Permet de ne pas prendre de place lorsque caché  */
}
/* Lorsqu'il devient visible, il apparaît en douceur */
div#contentCookieContainerCustomize .catASO p.visible{
	margin-left: -50px;
	margin-top: -10px;
    display: block;   /* L'élément est maintenant visible  */
    opacity: 0;  /* Initialement caché  */
    transform: translateY(0);  /* Ne se déplace pas verticalement  */
    transition: opacity 0.4s ease-in-out;  /* Transition douce et rapide  */
    position: absolute;  /* Position absolue pour le positionnement dynamique */ 
    background: var(--aso-cookie-color, #333); /* Couleur par défaut  */
    color: #FFF;
    padding: 10px 15px;  /* Plus de padding pour plus de lisibilité  */
    border-radius: 8px;  /* Bord arrondi pour un aspect agréable  */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);  /* Ajout d'une ombre douce  */
	width: 200px;
    max-width: 250px;  /* Taille maximale réduite pour éviter le scrolling  */
    z-index: 1000; /*  Toujours visible par-dessus  */
    white-space: normal; /* Permet au texte de s'étendre sur plusieurs lignes */ 
    pointer-events: none;  /* Empêche d'interagir avec la bulle pour éviter qu'elle ne disparaisse par erreur  */
    overflow: visible;  /* Évite le scrolling à l'intérieur de la bulle  */
}
/* Lors de l'activation, l'élément devient totalement visible */
div#contentCookieContainerCustomize .catASO p.visible-active {
    opacity: 1;  /* Devient visible progressivement */ 
}
/* Bouton ("?") pour afficher la description des catégories */
div#contentCookieContainerCustomize .catASO h5 span.circleInfo {
    background: var(--aso-cookie-color, #555);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    cursor: pointer;
    position: relative; /* Permet le positionnement précis de la bulle */
    margin-left: 5px;
}
/* Bouton ("x") pour fermer le message des catégories */
div#contentCookieContainerCustomize .catASO span.close {
    position: absolute;
    top: 5px;
    right: 5px;
	text-align:center;
    background: #FFF;
    color: var(--aso-cookie-color);
    width: 15px;
    height: 15px;
    line-height: 15px;
    border-radius: 50%; /* Arrondir le bouton de fermeture */
    cursor: pointer;
    z-index: 1600; /* Au-dessus de la bulle */
}
/* case à cocher */
.switch {
	position: relative;
	display: inline-block;
	width: 31px;
	height: 20px;
}
.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}
.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0px;
	right: -10px;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
	border-radius: 34px;
}
.slider:before {
	position: absolute;
	content: "";
	height: 20px;
	width: 20px;
	left: 1px;
	bottom: 0px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
	border-radius: 50%;
}
input:checked + .slider {
	background-color: var(--aso-cookie-color);
}
input:focus + .slider {
	box-shadow: 0 0 1px var(--aso-cookie-color);
}
input:checked + .slider:before {
	-webkit-transform: translateX(19px);
	-ms-transform: translateX(19px);
	transform: translateX(19px);
}
/* __________FIN Section Catégorie Cookie__________ */
/* __________Section Boutons Bannière__________ */
.aso-cookie-container div#contentCookieContainerBtn {
	border-top: 0.5px solid #707070;
	line-height: normal;
	max-width: 100%;
	width: 100%;
	text-align: center;
	display: table;
}
/* Bouton Refuser */
.aso-cookie-container div#contentCookieContainerBtn button#aso-btn-refuse {
	width: 33.3333%;
	float: left;
	border: 0;
	background: transparent;
	font-size: 13px;
	cursor: pointer;
	padding-top: 15px;
	padding-bottom: 15px;
	-webkit-font-smoothing: initial!important;
	font-weight: 500;
	color: #000;
	border-radius: 0px 0px 0px 20px;
	transition: all 0.3s;
}
/* Bouton refuser quand curseur passe dessus */
.aso-cookie-container div#contentCookieContainerBtn button#aso-btn-refuse:hover {
	background: var(--aso-cookie-color);
	transition: all 0.3s;
	color: #FFFFFF;
}
/* Bouton Personnaliser */
.aso-cookie-container div#contentCookieContainerBtn button#aso-btn-customize {
	width: 33.3333%;
	float: left;
	border: 0;
	background: transparent;
	font-size: 13px;
	cursor: pointer;
	padding-top: 15px;
	padding-bottom: 15px;
	-webkit-font-smoothing: initial!important;
	font-weight: 500;
	color: #000;
	border-right: 0.5px solid #707070;
	border-left: 0.5px solid #707070;
	border-radius: 0px 0px 0px 0px;
	transition: all 0.3s;
}
/* Bouton Personnaliser quand curseur passe dessus */
.aso-cookie-container div#contentCookieContainerBtn button#aso-btn-customize:hover {
	background: var(--aso-cookie-color);
	transition: all 0.3s;
	color: #FFFFFF;
}
/* Bouton Accepter */
.aso-cookie-container div#contentCookieContainerBtn button#aso-btn-accept {
	width: 33.3333%;
	float: left;
	border: 0;
	background: transparent;
	font-size: 13px;
	cursor: pointer;
	padding-top: 15px;
	padding-bottom: 15px;
	-webkit-font-smoothing: initial!important;
	font-weight: 500;
	color: #000;
	border-radius: 0px 0px 20px 0px;
	transition: all 0.3s;
}
/* Bouton Accepter quand le curseur passe dessus */
.aso-cookie-container div#contentCookieContainerBtn button#aso-btn-accept:hover {
	background: var(--aso-cookie-color);
	transition: all 0.3s;
	color: #FFFFFF;
}
/* __________FIN Section Boutons Bannière__________ */
/* __________FIN Section Bannière__________ */

.aso-feedback-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4caf50;  /* Couleur de fond vert */
    color: white;  /* Texte blanc */
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 14px;
    z-index: 2147483647;
    opacity: 0;  /* Départ invisible pour l'effet de transition */
    transition: opacity 0.5s ease-in-out;  /* Transition douce pour apparaître/disparaître */
}

div#clicOpenPagePrivacy a {
	font-size: 10px;
	color: var(--aso-cookie-color);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
	transform: translateY(0);
  }

  40% {
	transform: translateY(-2px);
  }

  60% {
	transform: translateY(-2px);
  }
}