.tooltip {
	font-family: $font-family-main;
	background: var(--color-light);
	color: var(--color-text);
	font-weight: bold;
	padding: 4px 8px;
	font-size: 13px;
	border-radius: 4px;
	display: none;
	box-shadow: 0 0 1em rgba(0,0,0,0.2);
	z-index: 99999;

	&[data-show] {
		display: block;
		animation: 0.4s fadeIn;
	}

	> p {
		margin: 0px;
		font-family: $font-family-main;
	}

	.tooltip-arrow,
	.tooltip-arrow::before {
		position: absolute;
		width: 8px;
		height: 8px;
		z-index: -1;
	}

	.tooltip-arrow::before {
		content: '';
		transform: rotate(45deg);
		background: var(--color-light);
	}

	&[data-popper-placement^='top']>.tooltip-arrow {
		bottom: -4px;
	}
	
	&[data-popper-placement^='bottom']>.tooltip-arrow {
		top: -4px;
	}
	
	&[data-popper-placement^='left']>.tooltip-arrow {
		right: -4px;
	}
	
	&[data-popper-placement^='right']>.tooltip-arrow {
		left: -4px;
	}
}