/* Portalspezifische Formatierungen:
   Farbe der Hover-Teaser,
   Abstände in der ersten Ebene der Hauptnavigation, 
   ISO-Klassifikation,
   App-Suche, ... */
:root {
	--portalgradient: linear-gradient(180deg, #4c5eae 0%, #253567 100%);
}   


/* Start neun Boxen */
.hoverteaser {
	border-color: #4c5eae;
}

.hoverteaser .showing .overlay {
	background-image: var(--portalgradient);
}

/* nicht portalspezifisch, sollte aber nach dem nicht-focus-Selektor stehen */
.hoverteaser .showing .overlay:focus,
.hoverteaser .overlay:hover,
.hoverteaser .overlay:active {
	opacity: 1;
	outline: none;
}
/* Ende neun boxen */

.blue-1 img {
	width: 145px;
}


/* Anfang ISO */
.iso .text h2 {
	/* font-size: 25px; */
	font-size: 1.55rem;
}

.iso .iso-level-up {
	padding: 5px 0;
}

h3 .iso-code {
	background: var(--hintergrundzwei);
	padding: 1px 5px;
	border: 1px solid;
	font-size: 1.375rem;
	white-space: nowrap;
	margin: 0 8px 3px 0;
	font-weight: 400;
	text-align: center;
	line-height: 1;
	border-radius: 3px;
}

h3 .iso-name {
	overflow: hidden;
	display: block;
}

.iso .table {
	padding-top: 30px;
	color: var(--schrift);
}

.iso table {
	width: 100%;
}

.iso table thead tr,
.iso table tbody tr:nth-of-type(even) {
	background-color: var(--hintergrundzwei);
}

.iso table thead tr th {
	border-bottom: 2.5px solid;
	padding: 5px;
}

.iso table thead #produkte {
	min-width: 100px;
	text-align: right;
}

/* geringerer Abstand zum Rand als die Tabellen im Fließtext,
	die im HTML-Editor erzeugt werden */
.iso table tbody td {
	padding: 5px;
	border: none;
	word-break: break-word; /* für die langen Wörter auf Kleingeräten */
	vertical-align: top; /* ist besser für die rechte Spalte mit Produktzahl */
}

.iso table tbody td .searchresult-right {
	float: right;
}

.iso .btn-iso {
	color: var(--eins);
	background-color: transparent;
	font-size: inherit;
	text-decoration: underline;
	padding: 0;
	border: none;
}

.iso .btn-iso:is(:hover,:focus,:active),
.iso .btn-iso.collapsed:is(:hover,:focus,:active) {
	text-decoration: none;
}

.iso .btn-iso:is(:focus,:active),
.iso .btn-iso.collapsed:is(:focus,:active) {
  outline: 1px solid var(--eins);
  outline-offset: 1.5px;
}

.iso .btn-iso .fa-chevron-down {
	padding-left: 2px; /* beim Standardwert 10px kommt es an einer Stelle in den FAQ sonst zu einem Zeilenumbruch */
}

/* Hinweis geöffnet */
.iso .btn-iso .fa-chevron-down::before {
	font-family: "Font Awesome 6 Pro";
	font-weight: 400;
	content: "\f077";
}

/* Hinweis geschlossen. Tricky: Wir behalten den Namen bei, verwenden aber als content den Code für .fa-chevron-up */
.iso .btn-iso.collapsed .fa-chevron-down::before {
	font-family: "Font Awesome 6 Pro";
	font-weight: 400;
	content: "\f078";
}
/* Ende ISO */


/* APP-SUCHE */
h1 .app-store-icon {
	font-size: 1.2em;
	color: var(--eins);
	padding: 0 5px;
}

.ws-list {
	padding-left: 0;
	counter-reset: entry 0;
}

ul.ws-list li {
	padding-bottom: 0;
}

ul.ws-list li::before {
	display: none;
}

.ws-list h3 {
	margin-bottom: 0;
}

.ws-list a {
	border-top: 1px solid rgba(0,0,0,.1);
	margin: 0;
	padding: 15px 0;
	text-decoration: none;
}

.ws-list a:is(:hover,a:focus,a:active) {
	box-shadow: 0 0 10px rgba(138, 138, 138, 0.5);
}

.ws-list .count::before {
	counter-increment: entry;
	content: counter(entry);
}

/* falls der Webservice selber nummeriert: */
.ws-list .count.db::before {
	display: none;
}

.ws-list .count::after {
	content: ". ";
}





.ws-list .ws-app {
	display: flex;
	flex-wrap: wrap;
	border-top: 1px solid rgba(0,0,0,.1);
	margin: 0;
	padding: 15px 0 5px;
	text-decoration: none;
}

.ws-list a.ws-app .count {
	/* float: left;
	color: #fff;
	background-image: var(--gruengradient); */
	margin: 0 10px 0 0;
	/* font-size: 20px;
	width: 40px;
	height: 40px;
	display: block;
	border-radius: 100%;
	text-align: center;
	padding: 7px 0 0;
    font-weight: 600; */
	line-height: 1.2;
}

/* .ws-list a.ws-app:is(:hover, :focus, :active) .count {
	background-image: var(--gruengradientaktiv);
} */


.ws-app .image-app {
	-ms-flex: 0 0 70px;
	flex: 0 0 70px;
	max-width: 70px;
	margin-bottom: 15px;
}

.ws-app .image-app img {
	width: 60px;
	height: 60px;
}

.ws-list a:is(:hover, :focus, :active) .image-app img {
	scale: 1.06;
}

.ws-app .qrcode {
	display: none;
}

.ws-app .text {
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	max-width: calc(100% - 120px);
}

.ws-app .title,
.ws-app .app-price,
.ws-app .stars {
	display: block;
}

.ws-app .price {
	color: #4b4a48 !important;
	/* font-size: 18px; */
	font-size: 1.125rem;
	display: block;
}
/* Ende APP-SUCHE */



/* Das Schild "Hilfsmittel" zu Beginn der <h1> der Hilfsmittel-Detailansicht 
	unsichtbar machen, aber hörbar lassen */
.ws-detail.tec .head h1 .info {
	/* von sr-only kopiert */
	border: 0;
	clip: rect(0,0,0,0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}



@media (min-width: 414px) {
	.ws-app .count {
		width: 45px;
		height: 45px;
		margin: 0 15px 0 0;
		padding: 10px 0 0;
	}
	
	.ws-app .image-app {
		-ms-flex: 0 0 95px;
		flex: 0 0 95px;
		max-width: 95px;
		margin-bottom: 15px;
	}
	
	.ws-app .image-app img {
		width: 80px;
		height: 80px;
	}
	
	.ws-app .text {
		max-width: calc(100% - 155px);
	}
}




@media (min-width: 576px) {
	.ws-app .qrcode {
		display: block;
		-ms-flex: 0 0 95px;
		flex: 0 0 95px;
		max-width: 95px;
		margin-top: -8px;
	}
	
	.ws-app .qrcode img {
		width: 95px;
		height: 95px;
	}
	
	.ws-app .text {
		max-width: calc(100% - 255px);
	}
}



@media (min-width: 768px) {
	h3 .iso-code {
		float: left;
		margin-right: 10px;
	}
	
	
	/* Ergebnisliste Appsuche */
	.ws-app .image-app {
		-ms-flex: 0 0 115px;
		flex: 0 0 115px;
		max-width: 115px;
		margin-bottom: 15px;
	}

	.ws-app .image-app img {
		width: 100px;
		height: 100px;
	}
	
	.ws-app .qrcode {
		-ms-flex: 0 0 120px;
		flex: 0 0 120px;
		max-width: 120px;
		margin-top: -10px;
	}
	
	.ws-app .qrcode img {
		width: 120px;
		height: 120px;
	}
	
	.ws-app .text {
		max-width: calc(100% - 300px);
	}
	
}




@media (min-width: 992px) {
	.suchfeld {
		width: 260px;
	}
	
	/* Mindesthöhe erforderlich wegen sehr langer linker Navigation, am längsten wenn Therapie / Training aufgeklappt ist */
	.single-col, 
	.single-col-short {
		min-height: 1180px;
	}
	
	/* Webservice Detailansicht, Hilfsmittel, Tab Kontakt Vertrieb braucht eine Mindesthöhe,
	damit der Footer nicht verschwindet, wenn die Navigation links länger wird als die
	Haupt-Inhaltsspalte */
	.registerbox {
		min-height: 1180px;
	}
}






@media (min-width: 1200px) {
	.suchfeld {
		width: 420px;
	 }
	
	.homepage-slider.image .carousel-item .slider-text :is(h1, h2) {
		max-width: 450px;
		margin-bottom: 9px;
	}
}




@media (prefers-color-scheme: dark), (inverted-colors: inverted) {
	.row.bereich-teaser img {
		filter: none;
	}
}