@import url(https://fonts.googleapis.com/css?family=Indie+Flower);

.tooltip-box {
	display: inline;
	position: relative;
	z-index: 999;
}

/* Trigger text */

.tooltip-box-item {
	color: #289548;
	cursor: pointer;
	z-index: 100;
	text-decoration: underline;
	position: relative;
	display: inline-block;
	/* font-weight: 700; */
	-webkit-transition: background-color 0.3s, color 0.3s, -webkit-transform 0.3s;
	transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.tooltip-box:hover .tooltip-box-item {
	color: #fff;
	-webkit-transform: translate3d(0,-0.5em,0);
	transform: translate3d(0,-0.5em,0);
}

/* tooltip-box */

.tooltip-box-content {
	position: absolute;
	z-index: 99;
	width: 360px;
	left: 50%;
	margin-left: -180px;
	bottom: -5px;
	background: #289548;
	opacity: 0;
	line-height: 15px;
	padding: 15px;
	color: #fff;
	border-bottom: 39px solid #289548;
	cursor: default;
	pointer-events: none;
	border-radius: 5px;
	/* font-family: 'Indie Flower', cursive; */
	-webkit-transform: translate3d(0,-0.5em,0);
	transform: translate3d(0,-0.5em,0);
	-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
	transition: opacity 0.3s, transform 0.3s;
	box-shadow: 0px 2px 4px 1px #888888;
	font-size: 15px;
}

.tooltip-box-content a {
	color: #32434f;
}

.tooltip-box-text {
	opacity: 0;
	-webkit-transform: translate3d(0,1.5em,0);
	transform: translate3d(0,1.5em,0);
	-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
	transition: opacity 0.3s, transform 0.3s;
}

.tooltip-box:hover .tooltip-box-content,
.tooltip-box:hover .tooltip-box-text {
	pointer-events: auto;
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
	display: grid;
}

