/* === SR Musics - Basis-Stylesheet (Grundlage fuer alle Themes) ===
   Enthaelt alle Struktur-/Layout-Regeln: Logo, Bilder, Tabelle, Links,
   Mobile-View, Impressum.
   Die Themes (themes/*.css) sind Farb-Overlays und werden zusaetzlich
   zu dieser Datei geladen - sie ueberschreiben nur Farben/Glows. */

/* === Flicker-Schutz (sr-loading-Klasse) ===
   Solange <html> die Klasse sr-loading hat (per Inline-Head-Script gesetzt),
   bleibt der GESAMTE Inhalt unsichtbar, aber das Layout stabil (visibility
   aendert keine Groessen -> kein Rumflippsen/Nachpoppen).
   Die Klasse wird erst entfernt, wenn DOM + ALLE Bilder geladen sind
   (Enthuellungs-Script im Body mit window.load + 15s-Failsafe). */
html.sr-loading
{
	background-color: #000 !important;
}

html.sr-loading *
{
	visibility: hidden !important;
}

*
{
	font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
	font-weight: normal;
	color: #ffffff;
	font-size: 12pt;
}

h1
{
	font-size: 14pt;
	padding: 0pt;
	margin: 0pt;
}

h2
{
	font-size: 13pt;
	padding: 0pt;
	margin: 0pt;
}

body
{
	padding-top: 50pt;
	background-color: black;
	background-image: url(res/bg.jpg);
	background-repeat: no-repeat;
	background-position: center 0pt;
	background-attachment: fixed;
	background-size: cover;
}

.logo
{
	padding-bottom: 50pt;
	width: 450pt;
}

.pix
{
	height: 80pt;
	display: block;
	box-sizing: border-box;
	/* Rahmen liegt direkt am Bild an (kein padding), Abstand nur via margin */
	padding: 0;
	margin-top: 6pt;
	margin-bottom: 6pt;
	border: 1px solid red;
	box-shadow: 0 0 8pt rgba(255, 0, 0, 0.4), 0 0 3pt rgba(255, 0, 0, 0.20);
}

/* Groesseres Bild (z.B. Quantize-Plugin): 150% der normalen Pix-Hoehe */
.pix-lg
{
	height: 120pt;
}

.content_table
{
	border-collapse: collapse;
	border-spacing: 0pt;
	empty-cells: show;
	width: 100%;
	max-width: 1200px;
	table-layout: auto;
	margin: 0 auto 30pt auto;
}

.content_table td
{
	border: none;
	border-bottom: 1pt solid rgba(255, 255, 255, 0.25);
	padding: 6pt 10pt;
	text-align: left;
	vertical-align: top;
	background-color: transparent;
}

/* Leere Zellen: unsichtbarer Platzhalter haelt die Hoehe,
   wird aber beim Markieren/Kopieren NICHT mitgenommen */
.content_table td:empty::before
{
	content: '\00a0';
	visibility: hidden;
	speak: none;
}

/* Startseite (index.html, body.page-index):
   beide Spalten exakt gleich breit (50/50), damit die vertikale
   Trennlinie der Themes mittig verlaueft. Nur hier, nicht auf
   anderen .content_table-Seiten (z.B. Impressum = 1 Spalte). */
.page-index .content_table td
{
	width: 50%;
}

.content_table th
{
	border: none;
	border-bottom: 1.5pt solid red;
	padding: 6pt 10pt;
	text-align: center;
	vertical-align: middle;
	background-color: transparent;
	/* Gleiche Schrift/Stil wie die Menuepunkte (h1) */
	font-weight: normal;
	font-size: 14pt;
	color: white;
	text-shadow: none;
}

.sep
{
	color: #1674d1;
}

/* Trennlinie im Inhalt (z.B. Impressum) - neutral, passt zur Basis */
.content_hr
{
	border: none;
	border-top: 1pt solid rgba(255, 255, 255, 0.2);
	margin: 20pt 0;
}

/* Headquarter-Bild (Impressum): Standardmaessig in allen Themes versteckt,
   nur das Cyberpunk-Theme (Cyberpunk.css) blendet es oben rechts ein */
.headquarter-bg
{
	display: none;
}

/* Abschnitts-Ueberschriften (z.B. Impressum):
   ersetzt die frueheren <p>&nbsp;</p>-Abstaende */
.content_table p.section
{
	margin-top: 24pt;
}

a:link, a:active, a:visited
{
	display: inline-block;
	color: #1D7ED8;
	padding: 1pt 0pt;
	text-decoration: none;
	text-shadow: 0 0 4pt rgba(22, 116, 209, 0.3);
}

a:hover
{
	color: #559dcc;
	/* Unterstreichung via text-decoration statt border-bottom:
	   border-bottom wuerde bei display:inline-block die Element-Hoehe
	   aendern -> Zeile wird hoeher -> alles wackelt beim Hover.
	   text-decoration wird direkt am Text gezeichnet und veraendert
	   das Layout nicht.
	   text-decoration-color wird bewusst NICHT gesetzt: Default ist
	   currentColor -> die Linie uebernimmt automatisch die Hover-Farbe
	   jedes Themes (keine pro-Theme-Overrides noetig). */
	text-decoration: underline;
	text-decoration-thickness: 1pt;
	text-underline-offset: 1pt;
	text-shadow: 0 0 8pt rgba(85, 157, 204, 0.4);
}

a.special_link
{
	color: white;
	text-decoration: none;
	text-shadow: none;
}

a.special_link:hover
{
	color: white;
	text-decoration: none;
	text-shadow: 0 0 6pt rgba(255, 255, 255, 0.3);
}

/* Mobile: schmale Bildschirme */
@media (max-width: 600px) {
	.content_table {
		width: 100%;
		max-width: 100%;
		table-layout: auto;
	}
	.content_table td,
	.content_table th {
		padding: 4pt 6pt;
	}
	.logo {
		width: 95%;
		max-width: 500pt;
		padding-bottom: 20pt;
	}
	.pix {
		height: 60pt;
	}
	.pix-lg {
		height: 90pt;
	}
	* {
		font-size: 11pt;
	}
	body {
		padding-top: 15pt;
	}
	body.page-impressum {
		padding: 15pt 5pt;
	}
}
