/*
 * TechEd Article Tools
 * Designed for the Newsmag/TagDiv single-post sharing row.
 */

#teched-article-tools {
	--teched-tools-accent: #2aaee8;
	display: none;
}

#teched-article-tools.is-placed {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	float: right;
	margin-left: 14px;
	min-height: 40px;
}

.teched-tools-host::after {
	content: "";
	display: table;
	clear: both;
}

.teched-tool {
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 2px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #1d2730;
	color: #fff;
	cursor: pointer;
	box-shadow: none;
	line-height: 1;
	transition: transform .12s ease, opacity .12s ease, background-color .12s ease;
}

.teched-tool:hover,
.teched-tool:focus {
	background: var(--teched-tools-accent);
	color: #fff;
	transform: translateY(-1px);
	outline: none;
}

.teched-tool:focus-visible {
	box-shadow: 0 0 0 3px rgba(42, 174, 232, .28);
}

.teched-tool svg {
	width: 19px;
	height: 19px;
	fill: currentColor;
}

.teched-tool-linkedin {
	background: #0a66c2;
}

.teched-tool-pdf {
	background: #34495e;
}

.teched-icon-in {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 700;
	font-size: 18px;
	letter-spacing: -1px;
}

.teched-icon-pdf {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 800;
	font-size: 9px;
	letter-spacing: .2px;
}

#teched-article-tools.is-fallback {
	float: none;
	justify-content: flex-start;
	margin: 10px 0 18px;
}

.teched-tools-toast {
	position: fixed;
	left: 50%;
	bottom: 28px;
	z-index: 999999;
	transform: translate(-50%, 12px);
	max-width: calc(100vw - 40px);
	padding: 11px 16px;
	border-radius: 3px;
	background: #1d2730;
	color: #fff;
	font: 600 13px/1.35 Arial, Helvetica, sans-serif;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease;
	box-shadow: 0 5px 22px rgba(0,0,0,.22);
}

.teched-tools-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

@media (max-width: 767px) {
	#teched-article-tools.is-placed {
		float: none;
		clear: both;
		justify-content: flex-start;
		margin: 10px 0 0;
		width: 100%;
	}
}

/* Clean print/PDF output */
@media print {
	#teched-article-tools,
	.td-post-sharing,
	.td-post-sharing-top,
	.td-post-sharing-bottom,
	.td-header-wrap,
	.td-header-menu-wrap,
	.td-footer-wrapper,
	.td-footer-wrap,
	.td-sidebar,
	.td-pb-span4,
	.td-related-row,
	.td_block_related_posts,
	.td-post-next-prev,
	.td-post-source-tags,
	.td-post-comments,
	.td-post-template-default .td-a-rec,
	.td-a-rec,
	.td-ad,
	.td-adspot-title,
	.td-more-articles-box,
	.td-scroll-up,
	#respond,
	.comments,
	.comment-respond,
	[class*="advert"],
	[class*="ad-box"] {
		display: none !important;
	}

	body,
	.td-main-content-wrap,
	.td-container,
	.td-container-border,
	.td-pb-row,
	.td-pb-span8 {
		background: #fff !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
		box-shadow: none !important;
	}

	a[href]::after {
		content: none !important;
	}

	img {
		max-width: 100% !important;
		height: auto !important;
	}
}
