.tooltip {
	cursor: help;
	display: inline-block;
	position: relative;
	color: #31452e;
}

.tooltip__term {
	background-color: #fff;
	border-bottom: 1px dashed #31452e;
	border-radius: 2px;
	padding: 5px 5px 2px;
}

.tooltip__definition {
	position: fixed;
	bottom: 0;
	left: 0;
	color: inherit;
	font-size: 14px;
	font-weight: 300;
	font-family: Lausanne, sans-serif;
	line-height: 1.5;
	background-color: #fff;
	opacity: 0;
	padding: 20px;
	transform: translate3d(0, 10%, 0);
	transition: opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), visibility 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
	visibility: hidden;
	width: 100%;
	z-index: 10;
}

.tooltip:hover .tooltip__definition,
.tooltip:focus .tooltip__definition {
	opacity: 1;
	visibility: visible;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

@media (max-width: 767px) {

	.tooltip__definition {
		border-top: 1px solid #31452e;
	}
}

@media (min-width: 768px) {

	.tooltip__definition {
		position: absolute;
		bottom: 100%;
		left: 100%;
		margin-bottom: 5px;
		margin-left: 5px;
		width: 300px;
		border-radius: 20px;
	}

	.tooltip__definition::before {
		position: absolute;
		top: 5px;
		right: 5px;
		bottom: 5px;
		left: 5px;
		border: 1px solid #31452e;
		border-radius: calc(20px - 5px);
		content: "";
	}
}
