/*== start of code for tooltips ==*/
.WebGold-Tooltip {
	/* cursor: help; */
	position: relative;
	white-space: wrap;
}


/*== common styles for both parts of tool tip ==*/
.WebGold-Tooltip::before,
.WebGold-Tooltip::after {
	left: 50%;
	opacity: 0;
	position: absolute;
	z-index: -100;
}

.WebGold-Tooltip:hover::before,
.WebGold-Tooltip:focus::before,
.WebGold-Tooltip:hover::after,
.WebGold-Tooltip:focus::after {
	opacity: 1;
	transform: scale(1) translateY(0);
	z-index: 100; 
}


/*== pointer tip ==*/
.WebGold-Tooltip::before {
	border-style: solid;
	border-width: 1em 0.75em 0 0.75em;
	border-color: gold transparent transparent transparent;
	bottom: 100%;
	content: "";
	margin-left: -0.5em;
	transition: all .65s cubic-bezier(.84,-0.18,.31,1.26), opacity .65s .5s;
	transform:  scale(.6) translateY(-90%);
} 

.WebGold-Tooltip:hover::before,
.WebGold-Tooltip:focus::before {
	transition: all .65s cubic-bezier(.84,-0.18,.31,1.26) .2s;
}


/*== speech bubble ==*/
.WebGold-Tooltip::after {
	background: gold;
	border-radius: .25em;
	bottom: 180%;
	color: black;
	content: attr(data-tooltip);
	margin-left: -8.75em;
	padding: 1em;
	transition: all .65s cubic-bezier(.84,-0.18,.31,1.26) .2s;
	transform: scale(.6) translateY(50%);
	width: 200px;
	font-size: .8em !important;
	font-family: Barlow-Regular !important;
}

.WebGold-Tooltip.rechts::after  {
	margin-left: -2em !important;
}

.WebGold-Tooltip.mittig::after  {
	margin-left: -100px !important;
}

.WebGold-Tooltip.links::after  {
	margin-left: -183px !important;
}

.WebGold-Tooltip:hover::after,
.WebGold-Tooltip:focus::after  {
	transition: all .65s cubic-bezier(.84,-0.18,.31,1.26);
}

@media (max-width: 760px) {
  .WebGold-Tooltip::after { 
		font-size: .75em;
		margin-left: -5em;
		width: 10em; 
  }
}
