﻿/* Versionshinweise (DOKU-565) – gerendert von Scripts/rn-versionshinweise.js
   Auf-/Zuklappen angelehnt an MadCap|dropDown (FAQs): Pfeilbilder wie in MainStyles.css,
   Pfeil links vor dem Text, Inhalt 18px eingerueckt (wie .MCDropDownBody).
   Eintraege nutzen das Original-Styling table.RN aus MainStyles.css.
   Chips: einheitlich --bc-hover-bg mit geerbter Textfarbe (#404040 = 8.99:1, WCAG AA).
   Hover am Pfeil-Icon wie die Lupe der geoeffneten Suchleiste (#e3794b, Radius 4px, Icon weiss). */

div.il-rnv-texte
{
	display: none;
}

h2.il-rnv-heading
{
	margin-bottom: 10px;
}

button.il-rnv-toggle
{
	padding: 0 0 0 18px;
	border: 0;
	background: url('../Images/Assets/Icons/Arrows/arrow-right-gray.png') no-repeat left center;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

button.il-rnv-toggle[aria-expanded="true"]
{
	background-image: url('../Images/Assets/Icons/Arrows/arrow-down-gray.png');
}

button.il-rnv-toggle:focus-visible
{
	outline: solid 2px currentColor;
	outline-offset: 3px;
}

div.il-rnv-chips,
div.il-rnv-panel
{
	margin-left: 18px;
}

div.il-rnv-chips
{
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
}

a.il-rnv-chip,
button.il-rnv-chip
{
	display: inline-block;
	padding: 2px 12px;
	border: 0;
	border-radius: 999px;
	background: var(--bc-hover-bg);
	color: inherit;
	font-family: 'Open Sans';
	font-size: 0.833rem;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

a.il-rnv-chip:hover,
a.il-rnv-chip:focus,
button.il-rnv-chip:hover
{
	color: inherit;
	text-decoration: none;
}

a.il-rnv-chip:focus-visible,
button.il-rnv-chip:focus-visible
{
	outline: solid 2px currentColor;
	outline-offset: 2px;
}

a.il-rnv-chip[hidden],
div.il-rnv-release[hidden]
{
	display: none;
}

p.il-rnv-intro
{
	margin-top: 16px;
	color: #636e72;
}

div.il-rnv-release
{
	margin-top: 40px;
}

div.il-rnv-release:first-of-type
{
	margin-top: 24px;
}

h3.il-rnv-release-heading
{
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 0;
	margin-bottom: 8px;
	padding: 0;
	border: 0;
	color: #4b5557;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
}

/* Pfeil-Icon neben der Versionszahl: Farbe wie die Zwischenueberschrift; 1px tiefer als
   die geometrische Mitte (optischer Ausgleich zur Versalhoehe von "Aeneis x.y").
   26x26px wie die Lupe der geoeffneten Suchleiste. */
a.il-rnv-release-link
{
	position: relative;
	top: 1px;
	display: inline-flex;
	box-sizing: content-box;
	width: 18px;
	height: 18px;
	padding: 4px;
	border-radius: 4px;
	color: inherit;
}

/* Hover/Fokus exakt wie die Lupe der geoeffneten Suchleiste (HeaderLanguageSwitch.css):
   #e3794b, Radius 4px, kein Schatten/Rand, Icon weiss; Hover nur bei echtem Hover
   (html.il-can-hover), auf Touch-Eingabe (html.il-touch-input) ohne Effekt. Die Klassen
   setzt header-language-switch.js. */
html.il-can-hover a.il-rnv-release-link:hover,
a.il-rnv-release-link:focus-visible
{
	background-color: #e3794b;
	box-shadow: none;
	outline: none;
	color: #ffffff;
}

html.il-touch-input a.il-rnv-release-link:hover
{
	background-color: transparent;
	color: inherit;
}

a.il-rnv-release-link svg
{
	width: 100%;
	height: 100%;
}

/* Sprung-Fokus: ILTopicTocScrollToHeading (topic-local-toc.js) fokussiert die angesprungene
   Ueberschrift fuer Screenreader. Statt des schwarzen Browser-Rahmens der dezente Ring wie bei
   Breadcrumbs und "In diesem Thema" (2px rgba(227, 121, 75, 0.22)), eng um Text und Icon. */
h2.il-rnv-heading,
h3.il-rnv-release-heading
{
	width: fit-content;
	border-radius: 4px;
}

h2.il-rnv-heading:focus,
h3.il-rnv-release-heading:focus
{
	outline: none;
}

h2.il-rnv-heading:focus-visible,
h3.il-rnv-release-heading:focus-visible
{
	outline: 2px solid rgba(227, 121, 75, 0.22);
	outline-offset: 3px;
}

@media print
{
	section.il-rnv
	{
		display: none;
	}
}
