
.white-tooltip.link-tooltip {
	+ {
		.tooltip {
			>.tooltip-inner {
				min-width: 150px;
				background-color: var(--color-bg-default);
				box-shadow: 0px 3px 8px #bdbcbc;
				-webkit-box-shadow: 0px 3px 8px #bdbcbc;
				-moz-box-shadow: 0px 3px 8px #bdbcbc;
				color: var(--main-color-full);
				padding: 10px;
				display: block;
				width:100%;
			}
			&.top {
				>.tooltip-arrow {
					border-top-color:#FFF;
				}
			}
			&.bottom {
				>.tooltip-arrow {
					border-bottom-color:#FFF;
				}
			}
			&.left {
				>.tooltip-arrow {
					border-left-color:#FFF;
				}
			}
			&.right {
				>.tooltip-arrow {
					border-right-color:#FFF;
				}
			}
		}
	}
}

#div_tooltip {
	> {
		.tooltip {
			>.tooltip-inner {
				min-width: 150px;
				background-color: var(--color-bg-default);
				box-shadow: 0px 3px 8px #bdbcbc;
				-webkit-box-shadow: 0px 3px 8px #bdbcbc;
				-moz-box-shadow: 0px 3px 8px #bdbcbc;
				color: var(--main-color-full);
				padding: 10px;
				display: block;
				width:100%;
			}
			&.top {
				>.tooltip-arrow {
					border-top-color:#FFF;
				}
			}
			&.bottom {
				>.tooltip-arrow {
					border-bottom-color:#FFF;
				}
			}
			&.left {
				>.tooltip-arrow {
					border-left-color:#FFF;
				}
			}
			&.right {
				>.tooltip-arrow {
					border-right-color:#FFF;
				}
			}
		}
	}
}

.white-tooltip.error {
	+ {
		.tooltip {
			>.tooltip-inner {
				background-color: var(--color-bg-default);
				box-shadow: 0px 3px 8px #bdbcbc;
				-webkit-box-shadow: 0px 3px 8px #bdbcbc;
				-moz-box-shadow: 0px 3px 8px #bdbcbc;
				color: var(--main-color-full);
				padding: 10px;
				display: block;
			}
		}
	}
}
.white-tooltip {
	position: relative;
	cursor: pointer;
	&:hover {
		span.infos_tooltip {
			display: block;

			&.longtext {
				white-space: nowrap;
				  text-align: left;
			}
		}
	}
	&.tooltip-overflow {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		position: unset;
	}
	+ {
		.infos_tooltip {
			>.tooltip-inner {
				background-color: var(--color-bg-default);
				box-shadow: 0px 3px 8px #bdbcbc;
				-webkit-box-shadow: 0px 3px 8px #bdbcbc;
				-moz-box-shadow: 0px 3px 8px #bdbcbc;
				color: var(--main-color-full);
				padding: 10px;
				display: block;
			}
		}
	}
}
span.white-tooltip {
	cursor: default;
}
.infos_tooltip {
	min-width: 150px;
	display: none;
	position: absolute;
	z-index: 100;
	background-color: var(--color-bg-default);
	box-shadow: 0px 3px 8px #bdbcbc;
	-webkit-box-shadow: 0px 3px 8px #bdbcbc;
	-moz-box-shadow: 0px 3px 8px #bdbcbc;
	color: var(--main-color-full) !important;
	padding: 10px;
	text-align: center;
	border-radius: 6px;


	&.true-top {
		bottom: 100%;
		left: 50%;
		transform: translate(-50%);
		&::before {
			bottom: 0;
			right: calc(50% - 5px);
			margin-bottom: -5px;
			border-width: 5px 5px 0;
			border-top-color: #fff;
		}
	}
	
	&.bottom-left::before {
		top: 0;
		right: 5px;
		margin-top: -5px;
		border-width: 0 5px 5px;
		border-bottom-color: #fff;
	}
	&.bottom-right::before {
		top: 0;
		left: 5px;
		margin-top: 5px;
		border-width: 0 5px 5px;
		border-bottom-color: #fff;
	}

	&.top-right {
		left: 18px;

		&::before {
			left: -4px;
			margin-bottom: -5px;
			border-width: 5px 0px 0 5px;
			border-top-color: #fff;
		}
	}
	&.top-left {
		right: 0px;
		bottom: 100%;

		&::before {
			bottom: 0;
			right: 5px;
			margin-bottom: -5px;
			border-width: 5px 5px 0;
			border-top-color: #fff;
		}
	}
	
	&.left {
		right: 100%;
		top: 0%;
		&::before {
			/*top: 50%;*/
			top : 9px;
			right: -5px;
			margin-top: -5px;
			border-width: 5px 0 5px 5px;
			border-left-color: #fff;
		}
	}

	&.right {
		left: 50%;
		top: 0%;

		&::before {
			top: 50%;
			left: 0;
			margin-top: -5px;
			border-width: 5px 5px 5px 0;
			border-right-color: #fff;
		}
	}

	&.bottom {
		right: -50%;

		&::before {
			top: -7px;
			left: 60%;
			border-width: 0 6px 7px;
			border-bottom-color: #fff;
		}
	}
	&.top {
		bottom: 71%;
		margin: 0px auto;
		transform: translate(-50%);

		&::before {
			bottom: -5px;
			left: 50%;
			margin-left: -5px;
			border-width: 5px 5px 0;
			border-top-color: #fff;
		}
	}
	&.large {
		text-align: justify;
	}
	&.right-WF{left:105%; top:-50%;}
	.left-WF{right:105%; top:-50%;}

	ul {
		margin-bottom:0px;
	}

	// Arrow 
	&::before {
		content: ' ';
		display: inline-block;
		position: absolute;
		width: 0;
		height: 0;
		border-color: transparent;
		border-style: solid;
	}
}
.white-tooltip.infos {
	background-position: center center;
}

.wf_tooltip{position: absolute;top: 10%;left: 100%;margin-left: 5px;}
.background-jaune{background-color: #feff98;}

.infos_tooltip-learn {

	&.right::before {
		left: 0;
		margin-top: -5px;
		border-width: 8px 8px 8px 0;
		border-right-color: #9fbcf8;
		margin-left: -8px;
	}
	&.left::before {
		/*top: 50%;*/
		top : 9px;
		right: -8px;
		margin-top: -5px;
		border-width: 8px 0 8px 8px;
		border-left-color: #9fbbf5;
	}

	// Arrow 
	&::before {
		content: ' ';
		display: inline-block;
		position: absolute;
		width: 0;
		height: 0;
		border-color: transparent;
		border-style: solid;
	}
}

.tooltip.in {opacity:1!important;}
