/* ASK custom.css - LS7-Nachbau des Alt-Themes ASK- (survey3, LS 3.28, vanilla/BS3).
   Optik des Originals (gemessen 2026-10-06 an Umfrage 549839): Hintergrundbild
   (Theme-Option), darauf eine zentrierte, leicht transparente Karte mit Schatten,
   Logo und Umfragetitel mittig, Schrift Roboto, Akzent Orange, Fusszeile mittig.
   Seit 2026-10-26 an www.compagon.com angeglichen (Astra, live gelesen): Ueberschriften
   Roboto Condensed 700, Buttons in Grossbuchstaben, heller Hintergrund, Fusszeile als
   Band in Petrol, Text 16 px; dazu Fehlerseiten im ASK-Stil (CR-200).
   Erstellt: 2026-10-06  Zuletzt geaendert: 2026-10-26 (Angleichung an www.compagon.com; Fehlerseiten); 2026-10-06 */

/* Roboto Condensed 700 wie auf www.compagon.com (dort ebenfalls lokal, Latin) */
@font-face {
	font-family: "Roboto Condensed";
	src: url("fonts/RobotoCondensed-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

body.ASK {
	--ask-akzent: #ee7f00;
	--ask-akzent-dunkel: #ea6709;
	--ask-text: #3a3a3a;
	--ask-hintergrund: #f2f5f7;
	--ask-petrol: #3c5052;
	--ask-titelschrift: "Roboto Condensed", Roboto, Arial, sans-serif;
	--bs-primary: #ee7f00;
	--bs-link-color: #ee7f00;
	font-family: Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 24px;
	color: var(--ask-text);
	padding-top: 0 !important;
	background-color: var(--ask-hintergrund);
	/* heller Hintergrund wie die Website statt Grau mit Bild (Theme-Option backgroundimage) */
	background-image: none !important;
}

/* Karte: der Inhalt (article, darin auch die Kopfzeile mit Logo) als ein Block
   in der Mitte */
body.ASK > article {
	max-width: 1000px;
	margin: 12px auto;
	padding: 0 16px 8px;
	background-color: #ffffff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
body.ASK #survey-nav {
	position: static;
	padding: 24px 0 8px;
	background: transparent;
	box-shadow: none;
}
body.ASK > article .col-xl-8,
body.ASK #survey-nav .col-xl-8 {
	width: 100%;
	max-width: 100%;
	flex: 0 0 100%;
}
body.ASK #survey-nav .container-fluid {
	justify-content: center;
	position: relative;
}
body.ASK #survey-nav .logo-container {
	margin: 0 auto;
}
body.ASK #survey-nav .logo {
	max-height: 110px;
	width: auto;
}
body.ASK #survey-nav #navbar-menu {
	position: absolute;
	right: 0;
	top: 0;
}

/* Umfragetitel mittig unter dem Logo (fruity blendet ihn nur visuell aus) */
body.ASK .survey-name.visually-hidden {
	position: static !important;
	width: auto !important;
	height: auto !important;
	clip: auto !important;
	overflow: visible !important;
	white-space: normal !important;
	margin: 8px 0 16px !important;
}
body.ASK .survey-name {
	font-family: var(--ask-titelschrift);
	font-size: 24px;
	font-weight: 700;
	text-align: center;
	color: var(--ask-text);
}

/* Fortschritt */
body.ASK .progress {
	background-color: #e5e5e5;
	border-radius: 4px;
}
body.ASK .progress-bar {
	background-color: var(--ask-akzent-dunkel);
}

/* Gruppe und Fragen */
body.ASK .group-container .group-title,
body.ASK .group-container .group-description h1,
body.ASK .group-container .group-description h2,
body.ASK .group-container .group-description h3 {
	font-family: var(--ask-titelschrift);
	font-size: 28px;
	font-weight: 700;
	line-height: 34px;
	color: var(--ask-text);
	margin: 16px 0 12px;
}
body.ASK .group-container .group-description {
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}
body.ASK .group-container .row.question-container {
	background: rgba(240, 240, 240, 0.9);
	border-top: 1px solid #dddddd;
	margin: 0 0 12px;
	padding: 12px 8px;
}
body.ASK .question-container .ls-label-question {
	font-size: 16px;
	font-weight: 700;
	line-height: 22px;
	color: var(--ask-text);
}
body.ASK .question-container .answer-item label,
body.ASK .question-container .control-label {
	font-size: 16px;
	font-weight: 400;
	color: var(--ask-text);
}
body.ASK .question-container .ls-question-mandatory {
	display: none;
}
body.ASK .question-container .asterisk {
	color: #d9534f;
}

/* Auswahl in Orange statt fruity-Gruen */
body.ASK .radio-item input[type=radio]:checked + label,
body.ASK .checkbox-item input[type=checkbox]:checked + label {
	color: var(--ask-text);
}
body.ASK .radio-item input[type=radio]:checked + label::before,
body.ASK .checkbox-item input[type=checkbox]:checked + label::before {
	border-color: var(--ask-akzent);
}
body.ASK .radio-item input[type=radio]:checked + label::after {
	background-color: var(--ask-akzent);
}
body.ASK .checkbox-item input[type=checkbox]:checked + label::after {
	color: var(--ask-akzent);
}

/* Eingaben, Buttons, Links */
body.ASK .form-control {
	border: 1px solid #cccccc;
	border-radius: 4px;
}
body.ASK .form-control:focus {
	border-color: var(--ask-akzent);
	box-shadow: 0 0 0 3px rgba(238, 127, 0, 0.2);
}
body.ASK .btn-primary,
body.ASK .ls-move-btn {
	background-color: var(--ask-akzent);
	border-color: var(--ask-akzent);
	color: #ffffff;
	/* Buttons wie auf www.compagon.com */
	border-radius: 6px;
	padding: 10px 35px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1em;
	text-transform: uppercase;
	letter-spacing: 1px;
}
body.ASK .btn-primary:hover,
body.ASK .ls-move-btn:hover,
body.ASK .btn-primary:focus,
body.ASK .ls-move-btn:focus {
	background-color: var(--ask-akzent-dunkel);
	border-color: var(--ask-akzent-dunkel);
	color: #ffffff;
}
body.ASK a {
	color: var(--ask-akzent);
}
body.ASK .alert,
body.ASK .alert-info,
body.ASK .alert-primary {
	background-color: #f5f5f5;
	border: 1px solid #dddddd;
	color: var(--ask-text);
}
body.ASK #ls-toggle-token-show,
body.ASK .input-group .input-group-text {
	background-color: var(--ask-akzent);
	border-color: var(--ask-akzent);
	color: #ffffff;
}
body.ASK #language-changer-select,
body.ASK .language-changer a {
	color: #777777;
}

/* Fusszeile als Band in Petrol wie die untere Fusszeile von www.compagon.com */
body.ASK .ls-footer {
	max-width: 1000px;
	margin: -12px auto 12px;
	padding: 20px 16px;
	background-color: var(--ask-petrol);
	text-align: center;
	font-size: 14px;
	line-height: 22px;
	color: #ffffff;
}
body.ASK .ls-footer a {
	color: #ffffff;
	text-decoration: underline;
}
body.ASK .ls-footer a:hover,
body.ASK .ls-footer a:focus {
	color: var(--ask-akzent);
}

/* Navigationsmenue (drei Punkte) ausgeblendet; die Sprachwahl bleibt auf der Startseite */
body.ASK #navbar-menu {
	display: none !important;
}

/* Pflichtstern am Anfang des Fragetextes statt darueber */
body.ASK .question-container .question-title-container {
	display: flex;
	align-items: baseline;
}
body.ASK .question-container .question-title-container > .asterisk {
	flex: 0 0 auto;
	margin-right: 6px;
}
body.ASK .question-container .question-title-container > .question-text {
	flex: 1 1 auto;
	min-width: 0;
}

/* Fehlerseiten im ASK-Stil (CR-200) --------------------------------------------
   a) Fehlerseite von fruity_twentythree (body.error-page, z. B. "Diese Einladung
      wurde bereits verwendet"): ohne fruity-Logo und Gruen, Grafik als Flaechen.
   b) Systemmeldung als Karte (#error-card, z. B. "Diese Umfrage ist abgelaufen"):
      LimeSurvey rendert sie mit dem Standard-Theme der Installation; sie greift hier
      nur, wenn ASK das Standard-Theme ist. */
body.ASK.error-page {
	color: var(--ask-text);
}
body.ASK.error-page .error-logo-container {
	display: none;
}
body.ASK.error-page .error-title,
body.ASK.error-page .error-title p {
	font-family: var(--ask-titelschrift);
	font-size: 32px;
	font-weight: 700;
	line-height: 38px;
	color: var(--ask-text) !important;
	margin-bottom: 16px;
}
body.ASK.error-page .error-content {
	font-size: 16px;
	line-height: 24px;
	color: var(--ask-text);
}
body.ASK.error-page .error-link {
	color: var(--ask-akzent);
}
body.ASK.error-page .error-link:hover {
	color: var(--ask-akzent-dunkel);
}
body.ASK.error-page .col.d-flex {
	justify-content: center;
	align-items: center;
}
body.ASK.error-page .col.d-flex img {
	display: none;
}
body.ASK.error-page .col.d-flex::after {
	content: "";
	display: block;
	width: 240px;
	height: 240px;
	margin: 48px 0 0 48px;
	background-color: var(--ask-akzent);
	border-radius: 6px;
	box-shadow: -48px -48px 0 0 var(--ask-petrol);
}
body.ASK #error-card {
	max-width: 760px;
	margin-top: 64px !important;
	border: 0;
	border-top: 6px solid var(--ask-akzent);
	border-radius: 6px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
body.ASK #error-card .error-logo-container {
	display: none;
}
body.ASK #error-card .card-title,
body.ASK #error-card .card-title p {
	font-family: var(--ask-titelschrift);
	font-size: 32px;
	font-weight: 700;
	line-height: 38px;
	color: var(--ask-text) !important;
}
body.ASK #error-card hr {
	border-color: var(--ask-akzent);
	opacity: 1;
	width: 64px;
	border-width: 3px;
}
body.ASK #error-card .card-link {
	color: var(--ask-akzent);
}

@media screen and (max-width: 767px) {
	body.ASK #survey-nav,
	body.ASK > article,
	body.ASK .ls-footer {
		margin-left: 8px;
		margin-right: 8px;
	}
	body.ASK #survey-nav .logo {
		max-height: 80px;
	}
}
