.icon-box {
	position: relative;
}

.icon {
	height: 48px;
	width: 48px;
	position: relative;
	cursor: pointer;
	border: solid 1px rgba(79, 85, 91, 0.50);
	border-radius: 24px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.icon>img {
	width: 40px;
}

.icon svg {
	transition: 0.3s ease;
}

.slides .icon:hover .tooltip {
	display: flex;
}

.tooltip_img {
	width: 78px;
	height: 78px;
	overflow: hidden;
	flex-shrink: 0;
}

.tooltip_img img {
	width: 78px;
	object-fit: cover;
	height: 78px;
}

.tooltip_tx {
	font-family: 'TT Backwards Sans Trial';
	font-weight: 300;
	font-size: 14px;
	line-height: 140%;
	display: flex;
	align-items: center;
	color: #4F555B;
}

.tooltip {
	padding: 12px;
	position: absolute;
	width: auto;
	height: 102px;
	white-space: nowrap;
	word-wrap: no-wrap;
	box-shadow: 0px 20px 32px 0px #4B4B4B1A;
	border-radius: 2px;
	background-color: #fff;
	top: -115px;
	left: 50%;
	transform-style: preserve-3d;
	z-index: 200;
	font-size: 0.9em;
	display: none;
	justify-content: space-between;
	gap: 10px;
}

.tooltip:after {
	content: "";
	position: absolute;
	display: block;
	width: 10px;
	height: 10px;
	transform-origin: 50% 50%;
	transform: rotate(45deg) translateX(-50%);
	background-color: #fff;
	left: 50%;
	top: auto;
	bottom: -10px;
	z-index: 400;
}

.tooltip:before {
	content: "";
	display: block;
	position: absolute;
	width: 10px;
	height: 10px;
	transform-origin: 50% 50%;
	transform: rotate(45deg) translateX(-50%) translateZ(-1px);
	background-color: #fff;
	left: 50%;
	top: auto;
	bottom: -10px;
	z-index: -1;
	box-shadow: -1px -1px 20px #aaa;
}

/* центральный */
.icon-box>.icon:not(:first-child, :last-child) .tooltip {
	top: unset;
	left: 50%;
	bottom: calc(100% + 16px);
	transform: translateX(-50%);
}

/* первый */
.icon-box>.icon:first-child .tooltip {
	top: unset;
	left: 50%;
	bottom: calc(100% + 16px);
	transform: translateX(-50%);
}

/* последний */
.icon-box>.icon:last-child .tooltip {
	right: -10px;
	left: unset;
	bottom: calc(100% + 16px);
}

.icon-box>.icon:last-child .tooltip::before,
.icon-box>.icon:last-child .tooltip::after {
	left: auto;
	right: 25px;
}


@media (max-width: 767px) {
	/* 1 and 2 tooltips */

	.icon-box>.icon:not(:last-child) .tooltip {
		right: unset !important;
		left: 0 !important;
		transform: none !important;
	}

	.icon-box>.icon .tooltip::after,
	.icon-box>.icon .tooltip::before {
		right: unset !important;
		left: 25px !important;
	}


	/* last tooltip */

	.icon-box>.icon:last-child .tooltip {
		transform: translateX(-50%) !important;
		left: 50% !important;
		right: unset !important;
	}

	.icon-box>.icon:last-child .tooltip::before,
	.icon-box>.icon:last-child .tooltip::after {
		left: auto !important;
		right: calc(50% - 7px) !important;
	}

}