/* Quelle: css/base.css */

/* General page style. The scroll bar colours only visible in IE5.5+ */
body {
	margin:0px 0px 0px 0px; padding:0px 0px 0px 0px; 
	background: #b0bdad url(/images/bgt8.jpg) no-repeat top left;
	font-family: ubuntu, verdana, arial, helvetica; font-size:10pt;
}

h3 {font-size:10pt; font-weight:bold; color:#444444; margin-top:10px; margin-bottom:5px}
h4 {font-size:9pt; font-weight:bold; color:brown; margin-top:10px; margin-bottom:5px}
h5 {font-size:8pt; font-weight:bold; color:#000000; margin-top:5px; margin-bottom:3px}
.spacer {margin-top:5px;}


/* General font families for common tags */


font,th,td,p { font-family: ubuntu, verdana, Arial, Helvetica, sans-serif; font-size:10pt; }
a:link,a:active,a:visited { color : #000099; }
a:hover		{ text-decoration: underline; color : #DD6900; }
hr	{ height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;}

/* This is the border line & background colour round the entire page */
.bodyline	{padding:0px; margin:0px; }

/* This is the outline round the main forum tables */
.forumline	{ }

/* Main table cell colours and backgrounds */
td.row1	{ background-color: #eaeaea; }
td.row2	{ x-background-color: #DEE3E7; background-color:#D1D7DC; }
td.row3	{ background-color: #D1D7DC; }
td.row_attention { background-color: #FFDA8B; }

.error {
 color:red !important;
 font-weight: bold;


}

/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
		background-color: #D1D7DC;
}

/* Header cells - the blue and silver gradient backgrounds */
th	{
	color: #FFA34F; font-size: 12px; font-weight : bold;
	background: #2C3986;
	height: 22px;
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
		background: #D1D7DC; border: #FFFFFF; border-style: solid; height: 22px;
        
}

/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
	height: 29px;
	border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
	font-weight: bold; border: #f4f4f4; height: 22px;
}
td.row3Right,td.spaceRow {
	background-color: #D1D7DC; border: #FFFFFF; border-style: solid;
}

th.thHead,td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; }
th.thSides,td.catSides,td.spaceRow	 { border-width: 0px 1px 0px 1px; }
th.thRight,td.catRight,td.row3Right	 { border-width: 0px 1px 0px 0px; }
th.thLeft,td.catLeft	  { border-width: 0px 0px 0px 1px; }
th.thBottom,td.catBottom  { border-width: 0px 1px 1px 1px; }
th.thTop	 { border-width: 1px 0px 0px 0px; }
th.thCornerL { border-width: 1px 0px 0px 1px; }
th.thCornerR { border-width: 1px 1px 0px 0px; }

/* The largest text used in the index page title and toptic title etc. */
.maintitle	{
	font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",ubuntu, verdana, Arial, Helvetica, sans-serif;
	text-decoration: none; line-height : 120%; color : #000000;
}

/* General text */
.gen { font-size : 11pt; }
.gen { font-size : 11pt; }
.genmed { font-size : 10pt; }
.gensmall { font-size : 9pt; }
.genbig { font-size : 12pt; }
.gen,.genmed,.gensmall { color : #000000; }
a.gen,a.genmed,a.gensmall { color: #000099; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover	{ color: #DD6900; text-decoration: underline; }

/* The register, login, search etc links at the top of the page */
.mainmenu		{ font-size : 10pt; color : #000000 }
a.mainmenu,a.mainmenu:visited		{ text-decoration: none; color : #000099;  }
a.mainmenu:hover{ text-decoration: underline; color : #DD6900; }

/* Forum category titles */
.cattitle		{ font-weight: bold; font-size: 9pt ; letter-spacing: 1px; color : #000099}
a.cattitle		{ text-decoration: none; color : #000099; }
a.cattitle:hover{ text-decoration: underline; }

/* Forum title: Text and link to the forums used in: index.php */
.forumlink		{ font-weight: bold; font-size: 10pt; color : #000099; }
a.forumlink 	{ text-decoration: none; color : #000099; }
a.forumlink:hover{ text-decoration: underline; color : #DD6900; }

/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav			{ font-weight: bold; font-size: 9pt; color : #000000;}
a.nav			{ text-decoration: none; color : #000099; }
a.nav:hover		{ text-decoration: underline; }

/* titles for the topics: could specify viewed link colour too */
.topictitle,h1,h2	{ font-weight: bold; font-size: 8pt; color : #000000; }
a.topictitle:link   { text-decoration: none; color : #000099; }
a.topictitle:visited { text-decoration: none; color : #5493B4; }
a.topictitle:hover	{ text-decoration: underline; color : #DD6900; }

/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name			{ font-size : 8pt; color : #000000;}

/* Location, number of posts, post date etc */
.postdetails		{ font-size : 8pt; color : #000000; }

/* The content of the posts (body of text) */
.postbody { font-size : 10pt; line-height: 18px}
a.postlink:link	{ text-decoration: none; color : #000099 }
a.postlink:visited { text-decoration: none; color : #5493B4; }
a.postlink:hover { text-decoration: underline; color : #DD6900}

/* Quote & Code blocks */
.code {
	font-family: Courier, 'Courier New', sans-serif; font-size: 9pt; color: #006600;
	background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
	font-family: ubuntu, verdana, Arial, Helvetica, sans-serif; font-size: 8pt; color: #444444; line-height: 125%;
	background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

/* Copyright and bottom info */
.copyright		{ font-size: 7pt; font-family: ubuntu, verdana, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;}
a.copyright		{ color: #444444; text-decoration: none;}
a.copyright:hover { color: #000000; text-decoration: underline;}

/* Form elements */
input,textarea, select {
	color : #000000;
	font: normal 10pt ubuntu, verdana, Arial, Helvetica, sans-serif;
	border-color : #000000;
}

/* The text input fields background colour */
input.post, textarea.post, select {
	background-color : #f4f4f4;
}

input { text-indent : 2px; }

/* The buttons used for bbCode styling in message post */
input.button, input.liteoption {
	border:solid 1px black;
	background: repeat-x url(/images/bgb.gif);
	height: 20px;
	background-color : ##9EB1F6;
	color : #000000;
	font-size: 9pt; 
	font-family: ubuntu, verdana, Arial, Helvetica, sans-serif;
}

/* The main submit button option */
input.mainoption {
border:solid 1px black;
	background: repeat-x url(/images/bgb.gif);
	height: 20px;
	background-color : ##9EB1F6;
	color : #000000;
	font-size: 9pt; 
	font-family: ubuntu, verdana, Arial, Helvetica, sans-serif;
	font-weight : bold;
}



/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know ;)
*/
.helpline { background-color: #DEE3E7; border-style: none; }

/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("/templates/subSilver/formIE.css");


.thead {background-color: #D1D7DC; font-size:8pt; font-weight:bold;}
.tcell {background-color: #ffffff; font-size:8pt;}

.centertext {text-align:center;}

.pomfinal {float:left; margin-right:4px; padding: 2px 2px 2px 2px; font-size:8pt; border:dotted 1px #555555;}
.pominactive {color:#555555; background-color:#dddddd; font-weight:normal;}
.pomactive {color:#005500; background-color:#ffffcc; font-weight:normal;}
.pombox {float:left; width:185px; height: 200px; padding:5px; border:dotted 1px black; background-color:#cccccc; margin:0px 10px 10px 0px; overflow:auto; line-height:15px; }

.sharethis {color:#000088; font-family:ubuntu, verdana,arial,helvetica; font-size:8pt; line-height:14px; text-decoration:none;}

.clear {margin-bottom:5px;}

#topline {
width:100%; 
background:#264624; 
border-bottom:1px solid black; 
color:white; 
font-size:10pt; 
padding:3px 0px 3px 0px; 
overflow:hidden;
font-family:ubuntu, verdana;
}

.toplinelink a, #topline a {
color:#FFFF00;
text-decoration:none;
font-weight: bold;
}

.of-cookiebox {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 5000;
	box-sizing: border-box;
	max-width: 980px;
	margin: 0 auto;
	padding: 14px 16px;
	background: #ffffff;
	color: #1f261f;
	border: 1px solid #6f7a68;
	box-shadow: 0 8px 24px rgba(0,0,0,0.25);
	display: flex;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
}

.of-cookiebox-text {
	font-size: 10pt;
	line-height: 1.4;
}

.of-cookiebox-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: flex-end;
	min-width: 320px;
}

.of-cookiebox button {
	border: 1px solid #1d3c1b;
	cursor: pointer;
	font-size: 9pt;
	padding: 7px 10px;
	height: auto;
	text-indent: 0;
}

.of-cookiebox-primary {
	background: #264624;
	color: #ffffff;
	font-weight: bold;
}

.of-cookiebox-secondary {
	background: #f4f4f0;
	color: #1f261f;
}

.of-cookiebox a,
.of-guest-privacy-note a,
.of-guest-search-note a {
	color: #000099;
	font-weight: bold;
}

.of-guest-privacy-note,
.of-guest-search-note {
	box-sizing: border-box;
	max-width: 760px;
	margin: 10px auto;
	padding: 10px 12px;
	background: #ffffff;
	border: 1px dotted #6f7a68;
	color: #1f261f;
	font-size: 9pt;
	line-height: 1.4;
}

.of-guest-search-note {
	text-align: left;
}

.of-privacy-page {
	background: #ffffff;
	border: 1px solid #6f7a68;
	margin-bottom: 20px;
	padding: 14px 16px;
	line-height: 1.45;
}

.of-privacy-page p {
	font-size: 10pt;
	margin: 0 0 10px 0;
}

.of-privacy-page code {
	background: #f1f1ed;
	border: 1px solid #d7d7cf;
	padding: 1px 4px;
}

.postimage {
	max-width: 100%;
	height: auto;
}

.of-image-upload {
	box-sizing: border-box;
	width: 720px;
	max-width: 100%;
	margin-top: 8px;
	font-size: 9pt;
}

.of-image-upload-drop {
	position: relative;
	box-sizing: border-box;
	border: 2px dashed #7d8b75;
	background: #f8f8f3;
	padding: 12px;
	min-height: 72px;
}

.of-image-upload.is-dragover .of-image-upload-drop {
	background: #eef5e8;
	border-color: #264624;
}

.of-image-upload-title {
	font-weight: bold;
	color: #1f261f;
	margin-bottom: 4px;
}

.of-image-upload-hint {
	color: #444444;
	line-height: 1.35;
	margin-right: 160px;
}

#of-image-upload-input {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
}

#of-image-upload-button {
	position: absolute;
	right: 12px;
	top: 22px;
	height: auto;
	padding: 6px 10px;
	text-indent: 0;
	cursor: pointer;
}

.of-image-upload-list {
	margin-top: 8px;
}

.of-image-upload-item,
.of-image-upload-error,
.of-image-upload-progress {
	box-sizing: border-box;
	border: 1px solid #c3c9bd;
	background: #ffffff;
	margin-top: 6px;
	padding: 7px;
}

.of-image-upload-item {
	display: flex;
	gap: 8px;
	align-items: center;
}

.of-image-upload-item img {
	width: 56px;
	height: 42px;
	object-fit: cover;
	border: 1px solid #d2d7cc;
	background: #eeeeee;
}

.of-image-upload-item b {
	color: #1f261f;
}

.of-image-upload-item span {
	color: #555555;
}

.of-image-upload-error {
	border-color: #b94b4b;
	background: #fff3f0;
	color: #7a1818;
}

.of-image-upload-progress {
	position: relative;
	overflow: hidden;
	height: 30px;
	padding: 0;
}

.of-image-upload-progress span {
	display: block;
	height: 100%;
	width: 0;
	background: #d8e8cf;
	transition: width 0.2s ease;
}

.of-image-upload-progress strong {
	position: absolute;
	left: 8px;
	top: 7px;
	color: #1f261f;
}

@media (max-width: 700px) {
	.of-cookiebox {
		left: 8px;
		right: 8px;
		bottom: 8px;
		display: block;
	}

	.of-cookiebox-actions {
		min-width: 0;
		justify-content: flex-start;
		margin-top: 10px;
	}

	.of-image-upload-hint {
		margin-right: 0;
	}

	#of-image-upload-button {
		position: static;
		margin-top: 8px;
	}
}

/* Quelle: css/rating.css */

.rating {
	cursor: pointer;
	margin: 5px 3px 3px 0px;
	display: block;
}
.rating:after {
	content: '.';
	display: block;
	height: 0;
	width: 0;
	clear: both;
	visibility: hidden;
}
.cancel,
.star {
	float: left;
	width: 17px;
	height: 15px;
	overflow: hidden;
	text-indent: -999em;
	cursor: pointer;
}
.cancel,
.cancel a {background: url(/images/delete.gif) no-repeat 0 -16px;}

.star,
.star a {background: url(/images/star.gif) no-repeat 0 0px;}
	
.cancel a,
.star a {
	display: block;
	width: 100%;
	height: 100%;
	background-position: 0 0px;
}

div.rating div.on a {
	background-position: 0 -16px;
}
div.rating div.hover a,
div.rating div a:hover {
	background-position: 0 -32px;
}

/* Quelle: css/layer.css */

/*
 * FancyBox - jQuery Plugin
 * Simple and fancy lightbox alternative
 *
 * Examples and documentation at: http://fancybox.net
 * 
 * Copyright (c) 2008 - 2010 Janis Skarnelis
 *
 * Version: 1.3.1 (05/03/2010)
 * Requires: jQuery v1.3+
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	height: 40px;
	width: 40px;
	margin-top: -20px;
	margin-left: -20px;
	cursor: pointer;
	overflow: hidden;
	z-index: 1104;
	display: none;
}

* html #fancybox-loading {	/* IE6 */
	position: absolute;
	margin-top: 0;
}

#fancybox-loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background-image: url('/images/fb/fancybox.png');
}

#fancybox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: #000;
	z-index: 1100;
	display: none;
}

* html #fancybox-overlay {	/* IE6 */
	position: absolute;
	width: 100%;
}

#fancybox-tmp {
	padding: 0;
	margin: 0;
	border: 0;
	overflow: auto;
	display: none;
}

#fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 20px;
	z-index: 1101;
	display: none;
}

#fancybox-outer {
	position: relative;
	width: 100%;
	height: 100%;
	background: #FFF;
}

#fancybox-inner {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: 0;
	outline: none;
	overflow: hidden;
}

#fancybox-hide-sel-frame {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
}

#fancybox-close {
	position: absolute;
	top: -15px;
	right: -15px;
	width: 30px;
	height: 30px;
	background-image: url('/images/fb/fancybox.png');
	background-position: -40px 0px;
	cursor: pointer;
	z-index: 1103;
	display: none;
}

#fancybox_error {
	color: #444;
	font: normal 12px/20px Arial;
	padding: 7px;
	margin: 0;
}

#fancybox-content {
	height: auto;
	width: auto;
	padding: 0;
	margin: 0;
}

#fancybox-img {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	line-height: 0;
	vertical-align: top;
	-ms-interpolation-mode: bicubic;
}

#fancybox-frame {
	position: relative;
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

#fancybox-title {
	position: absolute;
	bottom: 0;
	left: 0;
	font-family: Arial;
	font-size: 12px;
	z-index: 1102;
}

.fancybox-title-inside {
	padding: 10px 0;
	text-align: center;
	color: #333;
}

.fancybox-title-outside {
	padding-top: 5px;
	color: #FFF;
	text-align: center;
	font-weight: bold;
}

.fancybox-title-over {
	color: #FFF;
	text-align: left;
}

#fancybox-title-over {
	padding: 10px;
	background-image: url('/images/fb/fancy_title_over.png');
	display: block;
}

#fancybox-title-wrap {
	display: inline-block;
}

#fancybox-title-wrap span {
	height: 32px;
	float: left;
}

#fancybox-title-left {
	padding-left: 15px;
	background-image: url('/images/fb/fancybox.png');
	background-position: -40px -90px;
	background-repeat: no-repeat;
}

#fancybox-title-main {
	font-weight: bold;
	line-height: 29px;
	background-image: url('/images/fb/fancybox-x.png');
	background-position: 0px -40px;
	color: #FFF;
}

#fancybox-title-right {
	padding-left: 15px;
	background-image: url('/images/fb/fancybox.png');
	background-position: -55px -90px;
	background-repeat: no-repeat;
}

#fancybox-left, #fancybox-right {
	position: absolute;
	bottom: 0px;
	height: 100%;
	width: 35%;
	cursor: pointer;
	outline: none;
	background-image: url('/images/fb/blank.gif');
	z-index: 1102;
	display: none;
}

#fancybox-left {
	left: 0px;
}

#fancybox-right {
	right: 0px;
}

#fancybox-left-ico, #fancybox-right-ico {
	position: absolute;
	top: 50%;
	left: -9999px;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	cursor: pointer;
	z-index: 1102;
	display: block;
}

#fancybox-left-ico {
	background-image: url('/images/fb/fancybox.png');
	background-position: -40px -30px;
}

#fancybox-right-ico {
	background-image: url('/images/fb/fancybox.png');
	background-position: -40px -60px;
}

#fancybox-left:hover, #fancybox-right:hover {
	visibility: visible;    /* IE6 */
}

#fancybox-left:hover span {
	left: 20px;
}

#fancybox-right:hover span {
	left: auto;
	right: 20px;
}

.fancy-bg {
	position: absolute;
	padding: 0;
	margin: 0;
	border: 0;
	width: 20px;
	height: 20px;
	z-index: 1001;
}

#fancy-bg-n {
	top: -20px;
	left: 0;
	width: 100%;
	background-image: url('/images/fb/fancybox-x.png');
}

#fancy-bg-ne {
	top: -20px;
	right: -20px;
	background-image: url('/images/fb/fancybox.png');
	background-position: -40px -162px;
}

#fancy-bg-e {
	top: 0;
	right: -20px;
	height: 100%;
	background-image: url('/images/fb/fancybox-y.png');
	background-position: -20px 0px;
}

#fancy-bg-se {
	bottom: -20px;
	right: -20px;
	background-image: url('/images/fb/fancybox.png');
	background-position: -40px -182px; 
}

#fancy-bg-s {
	bottom: -20px;
	left: 0;
	width: 100%;
	background-image: url('/images/fb/fancybox-x.png');
	background-position: 0px -20px;
}

#fancy-bg-sw {
	bottom: -20px;
	left: -20px;
	background-image: url('/images/fb/fancybox.png');
	background-position: -40px -142px;
}

#fancy-bg-w {
	top: 0;
	left: -20px;
	height: 100%;
	background-image: url('/images/fb/fancybox-y.png');
}

#fancy-bg-nw {
	top: -20px;
	left: -20px;
	background-image: url('/images/fb/fancybox.png');
	background-position: -40px -122px;
}

/* IE */

#fancybox-loading.fancybox-ie div	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/fb/fancy_loading.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-close		{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/fb/fancy_close.png', sizingMethod='scale'); }

.fancybox-ie #fancybox-title-over	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/fb/fancy_title_over.png', sizingMethod='scale'); zoom: 1; }
.fancybox-ie #fancybox-title-left	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/fb/fancy_title_left.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-title-main	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/fb/fancy_title_main.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-title-right	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/fb/fancy_title_right.png', sizingMethod='scale'); }

.fancybox-ie #fancybox-left-ico		{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/fb/fancy_nav_left.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-right-ico	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/fb/fancy_nav_right.png', sizingMethod='scale'); }

.fancybox-ie .fancy-bg { background: transparent !important; }

.fancybox-ie #fancy-bg-n	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/fb/fancy_shadow_n.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-ne	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/fb/fancy_shadow_ne.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-e	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/fb/fancy_shadow_e.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-se	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/fb/fancy_shadow_se.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-s	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/fb/fancy_shadow_s.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-sw	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/fb/fancy_shadow_sw.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-w	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/fb/fancy_shadow_w.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-nw	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/fb/fancy_shadow_nw.png', sizingMethod='scale'); }

/* Quelle: css/dropdown.css */

/* Style für das Dropdown Menu - Oberste Ebene */

#topnav {width:100%; height:28px; background:#000000;  z-index:40; }

ul.dropdown {position:relative; list-style:none; margin: 0px 0px 0px 0px; padding:0px 0px 0px 0px; height:28px; float:left;}
ul.dropdown a {font-family:ubuntu, verdana,arial,helvetica; font-size:11pt; text-decoration:none;}
ul.dropdown li {float: left; zoom: 1;}
ul.dropdown a:hover {color: #ffffff; }
ul.dropdown li a {display: block; padding: 5px 10px 5px 10px; border-right: 1px dotted #ffffff; color: #ffffff; }

ul.dropdown li:last-child a {border-right: none; } 
ul.dropdown li.hover, ul.dropdown li:hover {background-color: red; color: #FFA500; position: relative; }
ul.dropdown li.hover a {color: white;}

/* Style für das Dropdown Menu - zweite Ebene Ebene */
ul.dropdown ul {color: white; width: 230px; visibility: hidden; position: absolute; top: 100%; left: -1px; list-style:none; padding:0px 0px 0px 0px; margin: 0px 0px 0px 0px; z-index:50}
ul.dropdown ul li {font-weight: normal; background: #000000; color: white; border-bottom: 0px solid #000000; border-left: 1px dotted #ffffff; border-right: 0px solid #000000; float: none; z-index:60}
ul.dropdown ul li a {border-right: none; width: 100%; display: inline-block; color:white; } 


/* Style für das Announcemente */

#tease {
	position:absolute; 
	top:-500px; 
	width:100%; 
	height:1px; 
	z-index:100
}

#announce {
	position:relative; 
	height:500px; width:900px; 
	border:1px solid black; 
	-moz-border-radius-bottomleft:5px; 
	-moz-border-radius-bottomright:5px; 
	background:#ffffff;  
	margin:auto; 
	left:0; 
	right:0;
}

#teasedown {
	position:relative;
	top:0px;
	right:0; 
	left:0; 
	margin:auto; 
	background:#777777 url(/images/bgnnav3.png) repeat-x bottom; 
	height:20px; 
	width:370px; 
	color:white; 
	-moz-border-radius-bottomleft:5px; 
	-moz-border-radius-bottomright:5px; 
	-webkit-border-bottom-left-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
	text-align:center; 
	padding-top:3px
}

/* Quelle: css/modern.css */

/* Modernisiert die Legacy-Tabellen, ohne die phpBB-Struktur umzubauen. */
:root {
	/* Desktop-Breite für das modernisierte Forum; Uploadbilder bleiben serverseitig auf 1280 px begrenzt. */
	--of-desktop-width: 1902px;
	--of-bg: #e8ece5;
	--of-panel: #fbfbf8;
	--of-panel-soft: #eef2ea;
	--of-line: #bcc6b5;
	--of-line-soft: #d8ded1;
	--of-text: #1f261f;
	--of-muted: #5f665d;
	--of-green: #24462c;
	--of-amber: #d8a33a;
	--of-link: #194b8f;
	--of-link-hover: #8d4317;
}

html {
	background: var(--of-bg);
}

body {
	background: var(--of-bg) url(/images/bgt8.jpg) no-repeat top left;
	background-position: left 5px;
	color: var(--of-text);
	font-size: 10pt;
}

body, font, th, td, p, input, textarea, select {
	font-family: ubuntu, Verdana, Arial, Helvetica, sans-serif;
}

body,
font,
th,
td,
p {
	font-size: 10pt;
}

.postbody img,
.of-wiki-content img,
.of-privacy-page img {
	max-width: 100%;
	height: auto;
}

/* Legacy-SVGs und Bildbuttons brauchen feste intrinsische Größen, auch in engen Tabellenzellen. */
img[src$=".svg"],
img[src*=".svg?"] {
	min-width: 1px;
}

#of-page img[src*="/of_forum"] {
	width: 32px;
	height: auto;
	aspect-ratio: 1;
	max-width: none;
	vertical-align: middle;
}

#of-page img[src*="/of_topic"] {
	width: 19px;
	height: 18px;
	max-width: none;
}

#of-page img[src*="/of_calendar"] {
	width: 20px;
	height: 18px;
	max-width: none;
}

a:link,
a:active,
a:visited,
a.gen,
a.genmed,
a.gensmall,
a.mainmenu,
a.nav,
a.forumlink,
a.topictitle {
	color: var(--of-link);
}

a:hover,
a.gen:hover,
a.genmed:hover,
a.gensmall:hover,
a.mainmenu:hover,
a.nav:hover,
a.forumlink:hover,
a.topictitle:hover {
	color: var(--of-link-hover);
}

.of-shell {
	box-sizing: border-box;
	max-width: var(--of-desktop-width);
	margin-right: auto;
	margin-left: auto;
	padding-right: 14px;
	padding-left: 14px;
}

#topline {
	box-sizing: border-box;
	font-family: inherit;
	background: linear-gradient(180deg, #2d4f34 0%, #17331f 100%);
	border-bottom: 1px solid #0f2516;
	box-shadow: inset 0 -1px 0 rgba(255,255,255,0.08), 0 1px 5px rgba(0,0,0,0.24);
	min-height: 29px;
	padding: 0;
	line-height: 1.35;
	overflow: visible;
}

.of-topline-shell {
	box-sizing: border-box;
	display: flex;
	gap: 18px;
	align-items: center;
	justify-content: space-between;
	max-width: var(--of-desktop-width);
	min-height: 29px;
	margin-right: auto;
	margin-left: auto;
	padding: 3px 14px;
}

#topline,
#topline a,
.toplinelink a {
	color: #f8f0c8;
}

#topline .toplinelink {
	flex: 1 1 auto;
	min-width: 0;
	padding-left: 10px;
	border-left: 3px solid var(--of-amber);
	color: #f4edd0;
	font-size: 9.5pt;
	font-weight: 600;
}

#topline .of-topline-user {
	flex: 0 0 auto;
	padding: 2px 8px;
	border: 1px solid rgba(248,240,200,0.18);
	border-radius: 6px;
	background: rgba(255,255,255,0.08);
	color: #fff8d7;
	font-size: 9.5pt;
	white-space: nowrap;
}

#topline a {
	font-weight: 700;
	text-decoration: none;
}

#topline a:hover {
	color: #ffffff;
	text-decoration: underline;
}

#topline .of-topline-profile {
	color: #ffffff;
}

#topline .of-topline-logout {
	display: inline-flex;
	align-items: center;
	min-height: 17px;
	margin-left: 8px;
	padding: 1px 8px;
	border: 1px solid rgba(255,255,255,0.22);
	border-radius: 5px;
	background: #ad6128;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);
	color: #ffffff;
	font-size: 9pt;
	line-height: 1.2;
	text-decoration: none;
}

#topline .of-topline-logout:hover {
	background: #c0702e;
	color: #ffffff;
	text-decoration: none;
}

#of-brandbar {
	display: flex;
	gap: 18px;
	align-items: flex-end;
	justify-content: space-between;
	min-height: 104px;
	padding-top: 10px;
	padding-bottom: 10px;
}

#of-logo {
	flex: 1 1 360px;
	min-width: 240px;
}

#of-logo img {
	display: block;
	max-height: 104px;
}

#topnav {
	--of-nav-link: #ffffff;
	position: relative;
	z-index: 3000;
	width: 100%;
	min-height: 34px;
	height: auto;
	background: #20261f;
	border-top: 1px solid #0d120d;
	border-bottom: 1px solid #0d120d;
	box-shadow: 0 2px 8px rgba(0,0,0,0.22);
}

.of-nav-shell {
	position: relative;
	min-height: 34px;
}

#of-head-tools {
	position: relative;
	z-index: 3010;
	float: right;
	display: flex;
	gap: 7px;
	align-items: center;
	margin: 5px 8px 0 12px;
}

#of-head-tools form table {
	width: auto;
}

#of-head-tools input[type="text"],
#of-head-tools input[type="password"] {
	box-sizing: border-box;
	height: 23px !important;
	border: 1px solid #65725f !important;
	background: #f9faf6;
	color: #182118;
}

#of-head-tools input[type="submit"] {
	height: 23px !important;
	border: 1px solid #65725f !important;
	background: #f9faf6;
	color: #182118;
	cursor: pointer;
}

.of-theme-toggle {
	height: 24px;
	min-width: 66px;
	padding: 0 10px;
	border: 1px solid #8aa27d;
	border-radius: 6px;
	background: #edf3e8;
	color: #172217;
	font-weight: bold;
	cursor: pointer;
	text-indent: 0;
}

ul.dropdown {
	display: flex;
	flex-wrap: wrap;
	position: relative;
	float: none;
	z-index: 3020;
	min-height: 34px;
	height: auto;
	padding-right: 330px;
}

ul.dropdown a {
	font-size: 10pt;
}

ul.dropdown li {
	float: none;
}

ul.dropdown li a {
	padding: 9px 12px;
	border-right: 1px solid rgba(255,255,255,0.18);
	color: #ffffff;
}

/* Besuchte Menüpunkte behalten dieselbe Farbe wie unbesuchte, auch in den Dropdowns. */
#topnav ul.dropdown a:link,
#topnav ul.dropdown a:visited {
	color: var(--of-nav-link);
}

#topnav ul.dropdown a:hover,
#topnav ul.dropdown a:focus-visible {
	color: #ffffff;
}

ul.dropdown li.hover,
ul.dropdown li:hover {
	background: #6f3e22;
}

ul.dropdown ul {
	z-index: 3030;
	top: 100%;
	left: 0;
	width: 250px;
	border: 1px solid #0f160f;
	box-shadow: 0 10px 22px rgba(0,0,0,0.28);
}

ul.dropdown ul li {
	background: #20261f;
	border-left: 0;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}

#of-page {
	box-sizing: border-box;
	max-width: var(--of-desktop-width);
	margin: 14px auto 0;
	padding: 0 14px 24px;
	text-align: left;
	overflow-x: auto;
}

#of-page > table,
#of-page form > table {
	max-width: 100%;
}

.forumline {
	overflow: hidden;
	border: 1px solid var(--of-line);
	border-radius: 8px;
	border-collapse: collapse;
	border-spacing: 0;
	background: var(--of-line);
	box-shadow: 0 1px 3px rgba(22,32,20,0.11);
}

#of-page table.forumline > tbody > tr > th,
#of-page table.forumline > tbody > tr > td {
	border: 1px solid var(--of-line-soft);
}

#of-page .forumline {
	margin-top: 8px;
	margin-bottom: 14px;
}

th {
	height: 30px;
	background: var(--of-green);
	color: #f6cf78;
}

/* Kurze Spaltenüberschriften bleiben zusammen; lange Abschnittstitel dürfen umbrechen. */
.forumline th.thTop,
.forumline th.thCornerL,
.forumline th.thCornerR {
	white-space: nowrap;
	line-height: 1.35;
}

.forumline th.thHead,
.cattitle {
	line-height: 1.4;
	word-break: normal;
	overflow-wrap: normal;
}

.of-last-post-subject {
	color: #286135;
}

/* Systemhinweise brauchen dieselben Kontraste wie Fließtext, auch wenn sie farbig markiert sind. */
.of-text-warning { color: #9b3424; }
.of-text-success { color: #286135; }
html.of-theme-dark .of-text-warning { color: #ffb29c; }
html.of-theme-dark .of-text-success { color: #a4d8a6; }

/* Der Spamschutz bleibt eine leichte Inline-Aktion innerhalb des Beitragstexts. */
#of-page button.of-email-reveal {
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--of-link);
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}

#of-page button.of-email-reveal:hover {
	color: var(--of-link-hover);
}

#of-page button.of-email-reveal:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

td.row1,
td.row2,
td.row3,
td.row3Right,
td.spaceRow,
td.rowpic,
td.cat,
td.catHead,
td.catSides,
td.catLeft,
td.catRight,
td.catBottom {
	border-color: var(--of-line-soft);
}

td.row1 {
	background: var(--of-panel);
}

td.row2,
td.row3,
td.row3Right,
td.rowpic {
	background: var(--of-panel-soft);
}

td.cat,
td.catHead,
td.catSides,
td.catLeft,
td.catRight,
td.catBottom {
	background: #dde5d7;
}

.cattitle,
a.cattitle {
	color: var(--of-green);
	letter-spacing: 0;
}

.maintitle {
	color: #182118;
	font-size: 20px;
	letter-spacing: 0;
}

.topictitle,
h1,
h2 {
	font-size: 10pt;
}

.name,
.postdetails {
	font-size: 9pt;
}

.postbody {
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.of-topic-titlebar {
	margin-bottom: 6px;
}

.of-topic-titlebar h1 { margin: 0; font: inherit; }
.of-topic-titlebar .of-topic-subtitle { color: var(--of-text); }
.of-topic-related { display: none; }

.of-topic-titlebar .maintitle {
	font-size: 23px;
	line-height: 1.25;
}

.of-topic-pagination {
	margin-top: 8px;
	font-weight: bold;
}

/* Bei einseitigen Themen entfällt der alte leere Abstand über den Aktionsbuttons. */
.of-topic-pagination:empty {
	display: none;
}

.of-forum-action-cell {
	width: auto !important;
	min-width: 176px;
	white-space: nowrap;
}

/* Pfad und Leseaktion stehen gemeinsam links; die Suche bekommt den verbleibenden rechten Platz. */
.of-forum-head,
.of-forum-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	margin-bottom: 12px;
}

.of-forum-head {
	justify-content: space-between;
	align-items: flex-end;
}

.of-forum-new-topic {
	display: inline-flex;
	flex: 0 0 auto;
}

.of-forum-navigation {
	flex: 1 1 340px;
	min-width: 0;
	text-align: left;
	line-height: 1.5;
}

.of-forum-navigation > nav {
	margin-bottom: 2px;
}

.of-forum-pagination {
	margin-left: auto;
	text-align: right;
	line-height: 1.5;
}

.of-forum-search {
	flex: 0 1 290px;
	margin: 0 0 0 auto;
}

.of-forum-search > div {
	display: flex;
	gap: 6px;
	margin-top: 3px;
}

.of-forum-search input[type="text"] {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
}

.of-topic-button-row {
	width: auto !important;
	min-width: 356px;
	white-space: nowrap;
}

.of-topic-button-row a:empty {
	display: none;
}

.of-topic-button-row img,
.of-forum-action-cell img,
.of-post-command-box img,
.of-post-profile-links img,
.of-crew-actions img {
	max-width: none;
}

#of-page img[src*="/of_button_"] {
	width: 170px;
	height: 36px;
	max-width: none;
}

.of-post-command-box {
	float: right;
	display: flex;
	gap: 3px;
	align-items: center;
	min-height: 28px;
	padding: 1px 3px;
	border: 1px solid var(--of-line);
	border-radius: 5px;
	background: var(--of-panel-soft);
}

/* Ein gemeinsames Format ersetzt die unterschiedlich breiten GIF-Beschriftungen. */
#of-page img[src*="/images/lang_german/icon_"][src$=".svg"],
#of-page img[src$="/images/icon_delete.svg"] {
	width: 22px;
	height: 22px;
	max-width: none;
}

#of-page a:has(> img[src*="/images/lang_german/icon_"][src$=".svg"]),
#of-page a:has(> img[src$="/images/icon_delete.svg"]) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	min-height: 28px;
	border-radius: 4px;
	vertical-align: middle;
}

#of-page a:has(> img[src*="/images/lang_german/icon_"][src$=".svg"]):hover,
#of-page a:has(> img[src$="/images/icon_delete.svg"]):hover {
	background: var(--of-panel);
}

#of-page a:has(> img[src*="/images/lang_german/icon_"][src$=".svg"]):focus-visible,
#of-page a:has(> img[src$="/images/icon_delete.svg"]):focus-visible {
	outline: 2px solid var(--of-link);
	outline-offset: 1px;
}

#of-page img[src*="/images/lang_german/"]:is([src$="/post.svg"], [src$="/reply.svg"], [src$="/reply-locked.svg"], [src$="/msg_newpost.svg"]) {
	width: 170px;
	height: 36px;
	max-width: none;
}

/* Feste Spuren verhindern Sprünge beim Aktualisieren der Bewertungszähler. */
.of-post-reactions {
	box-sizing: border-box;
	position: relative;
	float: right;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2px;
	width: 142px;
	height: 32px;
	margin-right: 10px;
	padding: 2px;
	border: 1px solid var(--of-line-soft);
	border-radius: 5px;
	background: var(--of-panel-soft);
}

#of-page .of-post-reaction {
	--of-reaction-accent: #286135;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	align-items: center;
	gap: 4px;
	min-width: 0;
	height: 26px;
	margin: 0;
	padding: 1px 3px;
	border: 0;
	border-radius: 3px;
	background: transparent;
	color: var(--of-text);
	font: inherit;
	font-size: 12px;
	cursor: pointer;
}

#of-page .of-post-reaction[data-typ="hate"] { --of-reaction-accent: #805019; }
html.of-theme-dark #of-page .of-post-reaction { --of-reaction-accent: #a4d8a6; }
html.of-theme-dark #of-page .of-post-reaction[data-typ="hate"] { --of-reaction-accent: #f0ca79; }

#of-page .of-post-reaction:hover,
#of-page .of-post-reaction[data-rating-selected="1"] {
	background: var(--of-panel);
}

#of-page .of-post-reaction[data-rating-selected="1"] {
	box-shadow: inset 0 -2px 0 var(--of-reaction-accent);
}

#of-page .of-post-reaction:focus-visible {
	outline: 2px solid var(--of-link);
	outline-offset: 1px;
}

#of-page .of-post-reaction:disabled { cursor: wait; }

.of-post-reaction img {
	width: 22px;
	height: 22px;
	max-width: none;
}

.of-post-reaction-count {
	font-variant-numeric: tabular-nums;
	text-align: center;
}

.of-post-reaction-status {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

/* Ein Netzfehler bleibt nicht nur für Screenreader, sondern auch sichtbar verständlich. */
.of-post-reaction-status:not(:empty) {
	z-index: 2;
	top: calc(100% + 4px);
	right: 0;
	box-sizing: border-box;
	width: 240px;
	height: auto;
	padding: 7px;
	border: 1px solid var(--of-line);
	border-radius: 4px;
	background: var(--of-panel);
	color: var(--of-text);
	font-size: 12px;
	white-space: normal;
	clip-path: none;
}

.of-post-profile-links {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	align-items: center;
}

.of-post-profile-table {
	width: auto;
}

.of-forum-authlinks {
	text-align: right;
}

.quote,
.code {
	border-color: var(--of-line);
	background: #ffffff;
}

input,
textarea,
select {
	box-sizing: border-box;
	border: 1px solid #899782;
	border-radius: 4px;
}

input.post,
textarea.post,
select {
	background: #ffffff;
}

input.button,
input.liteoption,
input.mainoption,
button {
	border-radius: 5px;
	border-color: #5d6c58;
	background: #edf1e8;
	color: #182118;
}

.of-username-link {
	color: var(--of-name-light) !important;
	font-weight: bold;
	text-decoration: none;
	text-shadow: 0 1px 0 rgba(255,255,255,0.65);
}

.of-user-status.is-away { color: #7d3983; }
.of-user-status.is-vacation { color: #a23324; }
.of-user-status.is-offline { color: #82510e; }
.of-user-status.is-online { color: #286135; }
.of-user-status.is-unknown { color: var(--of-muted); }

html.of-theme-dark .of-user-status.is-away { color: #deb3e3; }
html.of-theme-dark .of-user-status.is-vacation { color: #ffb29c; }
html.of-theme-dark .of-user-status.is-offline { color: #f0ca79; }
html.of-theme-dark .of-user-status.is-online { color: #a4d8a6; }

/* Die Garage hält Namen und Plaketten zusammen. Nur der Fahrzeugname gibt bei Platzmangel nach. */
.of-user-garage {
	box-sizing: border-box;
	min-width: 0;
	padding: 7px 10px;
	border: 1px solid var(--of-line-soft);
	border-radius: 9px;
	background: var(--of-panel-soft);
	color: var(--of-text);
}
.of-user-cars-label {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 26px;
	color: var(--of-muted);
	font-size: .75rem;
	font-weight: 700;
	cursor: pointer;
}
.of-user-cars-label input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	clip-path: inset(50%);
}
.of-user-cars-label::after {
	content: "";
	width: 6px;
	height: 6px;
	margin: 0 3px 3px;
	border: solid currentColor;
	border-width: 0 1.5px 1.5px 0;
	transform: rotate(45deg);
}
.of-user-cars-label:has(:focus-visible) { outline: 2px solid var(--of-link); outline-offset: 2px; }
.of-user-cars-label:has(:checked)::after { transform: rotate(225deg); margin-bottom: -3px; }
.of-user-cars-label:has(:checked) + .of-user-cars .of-car-name { white-space: normal; overflow-wrap: anywhere; }
.of-user-cars {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .8125rem;
}
.of-user-cars li {
	display: flex;
	align-items: center;
	gap: 3px;
	min-width: 0;
	min-height: 26px;
}
.of-user-cars li + li { border-top: 1px solid var(--of-line-soft); }
.of-car-name { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.of-car-badges { display: flex; flex-wrap: wrap; justify-content: end; gap: 2px; max-width: 64%; }
.of-user-cars .of-car-badge { flex: none; width: 22px; height: 22px; }

/* Die alte Inline-Farbe des BBCode-Menüs darf den geschlossenen Wert nicht unlesbar machen. */
#of-page select[name="addbbcode18"] {
	background-color: var(--of-panel) !important;
	color: var(--of-text);
}

.of-post-side {
	box-sizing: border-box;
	min-width: 168px;
}

.of-post-side-title,
.of-smilie-title {
	font-size: 10pt;
	font-weight: bold;
	color: var(--of-green);
}

.of-smilie-panel {
	margin-top: 10px;
}

.of-smilie-scroll {
	max-height: 250px;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 6px;
	border: 1px solid var(--of-line);
	border-radius: 8px;
	background: #ffffff;
}

.of-smilie-table {
	width: 100%;
}

.of-smilie-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 34px;
	margin: 2px;
	padding: 2px;
	border: 1px solid transparent;
	border-radius: 6px;
	background: transparent;
	cursor: pointer;
	text-indent: 0;
}

.of-smilie-button:hover,
.of-smilie-button:focus {
	border-color: var(--of-amber);
	background: #fff7dd;
}

.of-smilie-button img {
	max-width: 30px;
	max-height: 28px;
}

.of-guest-search-note,
.of-guest-privacy-note,
.of-privacy-page {
	border-radius: 8px;
	border-style: solid;
	border-color: var(--of-line);
	box-shadow: 0 1px 3px rgba(22,32,20,0.11);
}

.of-button-secondary,
a.of-button-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 0 10px;
	border: 1px solid var(--of-line);
	border-radius: 6px;
	background: var(--of-panel-soft);
	color: var(--of-link);
	text-decoration: none;
	font-weight: 700;
}

.of-page-head,
.of-wiki-head,
.of-calendar-head,
.of-faq-head,
.of-crew-head,
.of-watched-head {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	justify-content: space-between;
	margin: 0 0 14px;
}

.of-page-head h1,
.of-wiki-head h1,
.of-calendar-head h1,
.of-faq-head h1,
.of-crew-head h1,
.of-watched-head h1 {
	margin: 4px 0 0;
	font-size: 22px;
	line-height: 1.25;
	color: var(--of-green);
}

.of-panel,
.of-wiki-panel,
.of-wiki-welcome,
.of-faq-section {
	margin-bottom: 14px;
	padding: 14px;
	border: 1px solid var(--of-line-soft);
	border-radius: 8px;
	background: var(--of-panel);
}

.of-panel h2,
.of-wiki-panel h2,
.of-wiki-welcome h2,
.of-faq-section h2 {
	margin: 0 0 8px;
	font-size: 17px;
	color: var(--of-green);
}

.of-imprint-page {
	color: var(--of-text);
}

.of-imprint-hero {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 16px;
	padding: 18px;
	border: 1px solid var(--of-line);
	border-radius: 8px;
	background: linear-gradient(180deg, #fbfbf8 0%, #eef2ea 100%);
	box-shadow: 0 1px 3px rgba(22,32,20,0.11);
}

.of-imprint-kicker {
	margin: 0 0 4px;
	color: var(--of-muted);
	font-size: 9pt;
	font-weight: 700;
	text-transform: uppercase;
}

.of-imprint-hero h1 {
	margin: 0 0 8px;
	color: var(--of-green);
	font-size: 26px;
	line-height: 1.2;
}

.of-imprint-hero p {
	margin: 0;
	max-width: 720px;
	line-height: 1.55;
}

.of-imprint-hero img {
	flex: 0 0 auto;
	max-width: 170px;
	height: auto;
	border-radius: 6px;
}

.of-imprint-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 16px;
}

.of-imprint-card,
.of-imprint-section,
.of-imprint-law {
	border: 1px solid var(--of-line-soft);
	border-radius: 8px;
	background: var(--of-panel);
	box-shadow: 0 1px 3px rgba(22,32,20,0.08);
}

.of-imprint-card,
.of-imprint-section {
	padding: 16px;
}

.of-imprint-card h2,
.of-imprint-section h2 {
	margin: 0 0 10px;
	color: var(--of-green);
	font-size: 18px;
	line-height: 1.25;
}

.of-imprint-card p,
.of-imprint-section p,
.of-imprint-law {
	line-height: 1.58;
}

.of-imprint-note {
	margin-top: -4px;
	color: var(--of-muted);
	font-size: 9pt;
}

.of-imprint-addresses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 12px;
}

.of-imprint-page address {
	margin: 0;
	font-style: normal;
	line-height: 1.55;
}

.of-imprint-warning {
	display: inline-block;
	margin-bottom: 0;
	padding: 6px 9px;
	border-left: 4px solid var(--of-amber);
	background: var(--of-panel-soft);
	color: #493a17;
	font-weight: 700;
}

.of-imprint-section {
	margin-bottom: 16px;
}

.of-imprint-rule-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.of-imprint-rule-list article {
	padding: 13px;
	border: 1px solid var(--of-line-soft);
	border-radius: 8px;
	background: var(--of-panel-soft);
}

.of-imprint-rule-list h3 {
	margin: 0 0 8px;
	color: var(--of-green);
	font-size: 15px;
	line-height: 1.25;
}

.of-imprint-rule-list h4 {
	margin: 12px 0 6px;
	color: var(--of-text);
	font-size: 13px;
}

.of-imprint-rule-list p {
	margin: 0 0 9px;
}

.of-imprint-rule-list p:last-child {
	margin-bottom: 0;
}

.of-imprint-law {
	margin: 0 0 16px;
	padding: 12px 16px;
	background: var(--of-panel-soft);
	font-weight: 700;
}

.of-faq-nav {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
	margin-bottom: 16px;
}

.of-faq-nav a {
	display: block;
	margin-top: 5px;
	text-decoration: none;
}

.of-faq-section details {
	border-top: 1px solid var(--of-line-soft);
}

.of-faq-section details:first-of-type {
	border-top: 0;
}

.of-faq-section summary {
	padding: 11px 0;
	color: var(--of-link);
	cursor: pointer;
	font-weight: 700;
}

.of-faq-answer {
	padding: 0 0 12px 18px;
	line-height: 1.55;
}

.of-crew-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 12px;
	margin-top: 12px;
}

.of-crew-card {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 12px;
	align-items: stretch;
	padding: 12px;
	border: 1px solid var(--of-line-soft);
	border-radius: 8px;
	background: var(--of-panel);
}

.of-crew-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 88px;
	border-radius: 6px;
	background: var(--of-panel-soft);
	overflow: hidden;
}

.of-crew-avatar img {
	display: block;
	max-width: 88px;
	max-height: 110px;
}

.of-crew-name {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
	font-size: 12pt;
	text-decoration: none;
}

.of-crew-meta {
	color: var(--of-muted);
	line-height: 1.45;
}

.of-crew-actions {
	display: flex;
	gap: 6px;
	align-items: center;
	margin-top: 10px;
}

.of-watched-table td {
	padding: 7px 8px;
	vertical-align: middle;
}

.of-watched-table .of-watched-forum,
.of-watched-table .of-watched-topic {
	text-align: left;
}

.of-wiki-layout {
	display: grid;
	grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}

.of-wiki-head {
	padding: 14px;
	border: 1px solid var(--of-line-soft);
	border-radius: 8px;
	background: var(--of-panel);
}

.of-wiki-sidebar {
	position: sticky;
	top: 10px;
}

.of-wiki-actions,
.of-inline-form {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}

.of-wiki-search input[type="text"] {
	box-sizing: border-box;
	width: 100%;
	max-width: 180px;
}

.of-wiki-search .of-inline-form {
	align-items: stretch;
}

.of-radio-line {
	display: block;
	margin-top: 8px;
}

.of-wiki-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.of-wiki-list li {
	margin: 0 0 6px;
}

.of-wiki-stats {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 6px 12px;
	margin: 0;
}

.of-wiki-stats dt {
	color: var(--of-muted);
}

.of-wiki-stats dd {
	margin: 0;
	font-weight: 700;
	color: var(--of-green);
}

.of-wiki-note {
	padding: 10px;
	border-left: 4px solid var(--of-amber);
	background: var(--of-panel-soft);
}

.of-wiki-content img {
	max-width: 100%;
	height: auto;
}

.of-wiki-tabs {
	display: flex;
	gap: 6px;
	margin-bottom: 12px;
	padding: 6px;
	border: 1px solid var(--of-line-soft);
	border-radius: 8px;
	background: var(--of-panel-soft);
	flex-wrap: wrap;
}

.of-wiki-tabs a,
.of-wiki-tabs span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-height: 30px;
	padding: 0 10px;
	border: 1px solid transparent;
	border-radius: 6px;
	color: var(--of-link);
	text-decoration: none;
	font-weight: 700;
}

.of-wiki-tabs span {
	color: var(--of-muted);
}

.of-wiki-tabs a.is-active {
	border-color: var(--of-line);
	background: var(--of-panel);
	color: var(--of-green);
}

.of-wiki-tabs em {
	font-style: normal;
	color: var(--of-muted);
}

.of-wiki-article,
.of-wiki-empty-state {
	border: 1px solid var(--of-line-soft);
	border-radius: 8px;
	background: var(--of-panel);
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(22,32,20,0.11);
}

.of-wiki-article-head {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	justify-content: space-between;
	padding: 14px;
	border-bottom: 1px solid var(--of-line-soft);
	background: var(--of-panel-soft);
}

.of-wiki-kicker {
	margin-bottom: 3px;
	color: var(--of-muted);
	font-size: 12px;
	font-weight: 700;
}

.of-wiki-article-head h2,
.of-wiki-empty-state h2 {
	margin: 0;
	color: var(--of-green);
	font-size: 22px;
	line-height: 1.25;
}

.of-wiki-article-head p {
	margin: 5px 0 0;
	color: var(--of-muted);
	line-height: 1.45;
}

.of-wiki-article-body,
.of-wiki-preview-body {
	padding: 16px;
	line-height: 1.62;
}

.of-wiki-version-note {
	margin-top: 18px;
	padding: 10px;
	border-left: 4px solid var(--of-amber);
	background: var(--of-panel-soft);
	color: var(--of-muted);
}

.of-wiki-tools,
.of-wiki-options-panel {
	margin: 0 14px 14px;
	padding: 12px;
	border: 1px solid var(--of-line-soft);
	border-radius: 8px;
	background: var(--of-panel-soft);
}

.of-wiki-tools h3,
.of-wiki-options-panel h3 {
	margin: 0 0 10px;
	color: var(--of-green);
	font-size: 15px;
}

.of-wiki-tool-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.of-wiki-tool-grid a,
.of-wiki-aliases a,
.of-wiki-admin-tools a,
.of-wiki-result,
.of-wiki-version-row {
	border: 1px solid var(--of-line-soft);
	border-radius: 6px;
	background: var(--of-panel);
	text-decoration: none;
}

.of-wiki-tool-grid a {
	padding: 9px;
	color: var(--of-link);
	font-weight: 700;
}

.of-wiki-aliases,
.of-wiki-legend,
.of-wiki-admin-tools {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 12px;
}

.of-wiki-aliases a {
	padding: 4px 8px;
	color: var(--of-link);
}

.of-wiki-legend span {
	color: var(--of-muted);
}

.of-wiki-admin-tools {
	padding-top: 10px;
	border-top: 1px solid var(--of-line-soft);
}

.of-wiki-admin-tools a {
	padding: 5px 8px;
	color: #9b2d24;
}

.of-wiki-empty-state {
	padding: 18px;
}

.of-wiki-empty-state p,
.of-wiki-empty-state li {
	line-height: 1.55;
}

.of-wiki-empty-state ul {
	margin: 12px 0;
	padding-left: 20px;
}

.of-wiki-result-list,
.of-wiki-version-list,
.of-wiki-checks {
	display: grid;
	gap: 8px;
	padding: 14px;
}

.of-wiki-result,
.of-wiki-version-row {
	display: grid;
	grid-template-columns: auto minmax(140px, 1fr) auto minmax(180px, 2fr);
	gap: 10px;
	align-items: center;
	padding: 10px;
	color: inherit;
}

.of-wiki-result span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--of-panel-soft);
	color: var(--of-muted);
	font-weight: 700;
}

.of-wiki-result strong,
.of-wiki-version-row strong {
	color: var(--of-link);
}

.of-wiki-result em,
.of-wiki-version-row em {
	color: var(--of-green);
	font-style: normal;
	font-weight: 700;
}

.of-wiki-result small,
.of-wiki-version-row small {
	color: var(--of-muted);
	line-height: 1.35;
}

.of-wiki-version-row {
	grid-template-columns: minmax(140px, auto) minmax(120px, auto) minmax(90px, auto) minmax(180px, 1fr);
}

.of-wiki-check {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 4px 10px;
	padding: 10px;
	border: 1px solid var(--of-line-soft);
	border-radius: 8px;
	background: var(--of-panel-soft);
}

.of-wiki-check span {
	font-weight: 700;
}

.of-wiki-check.is-ok span {
	color: var(--of-green);
}

.of-wiki-check.is-blocked span {
	color: #9b2d24;
}

.of-wiki-check p {
	grid-column: 1 / -1;
	margin: 0;
	color: var(--of-muted);
	line-height: 1.4;
}

.of-wiki-message {
	margin: 14px;
	padding: 12px;
	border-radius: 8px;
	border: 1px solid var(--of-line-soft);
	background: var(--of-panel-soft);
	line-height: 1.5;
}

.of-wiki-message.is-ok {
	border-left: 4px solid var(--of-green);
}

.of-wiki-message.is-warn {
	border-left: 4px solid var(--of-amber);
}

.of-wiki-message.is-error {
	border-left: 4px solid #9b2d24;
}

.of-wiki-start-form,
.of-wiki-form-actions {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 10px;
}

.of-wiki-edit-form,
.of-wiki-preview-form {
	padding: 14px;
}

.of-wiki-edit-form label,
.of-wiki-options-panel label {
	display: block;
	margin-bottom: 12px;
	font-weight: 700;
}

.of-wiki-edit-form label span,
.of-wiki-options-panel label span {
	display: block;
	margin-bottom: 5px;
}

.of-wiki-edit-form textarea,
.of-wiki-edit-form input[type="text"],
.of-wiki-options-panel input[type="text"],
.of-wiki-timer-form input[type="text"] {
	box-sizing: border-box;
	width: 100%;
	border: 1px solid var(--of-line);
	border-radius: 6px;
	background: var(--of-panel);
	color: inherit;
}

.of-wiki-edit-form textarea {
	min-height: 360px;
	padding: 10px;
	font-family: monospace;
	line-height: 1.45;
}

.of-wiki-edit-form input[type="text"],
.of-wiki-options-panel input[type="text"],
.of-wiki-timer-form input[type="text"] {
	min-height: 32px;
	padding: 0 8px;
}

.of-wiki-checkbox {
	display: flex !important;
	gap: 8px;
	align-items: flex-start;
}

.of-wiki-checkbox span {
	margin: 0 !important;
}

.of-wiki-hidden-fields {
	display: none;
}

.of-wiki-help-list {
	margin: 0 0 10px;
	padding-left: 18px;
}

.of-wiki-timer-form {
	display: grid;
	gap: 8px;
}

.of-wiki-float {
	float: right;
	clear: right;
	width: min(210px, 45%);
	margin: 0 0 12px 14px;
	padding: 8px;
	border: 1px solid var(--of-line-soft);
	border-radius: 8px;
	background: var(--of-panel-soft);
	font-size: 12px;
}

.of-wiki-csv {
	width: 100%;
	margin: 12px 0;
	border-collapse: collapse;
}

.of-wiki-csv th,
.of-wiki-csv td {
	padding: 7px 8px;
	border: 1px solid var(--of-line);
	text-align: left;
}

.mark {
	padding: 0 2px;
	border-radius: 3px;
	background: #f1c35d;
	color: #2f2712;
}

.of-calendar-head {
	padding: 12px 14px;
	border: 1px solid var(--of-line-soft);
	border-radius: 8px;
	background: var(--of-panel);
}

.of-calendar-help {
	max-width: 720px;
	margin: 6px 0 0;
	color: #4c5a42;
	font-size: 13px;
	line-height: 1.45;
}

#of-calendar-month {
	transition: opacity 0.16s ease;
}

#of-calendar-month.is-loading {
	opacity: 0.55;
	pointer-events: none;
}

.of-calendar-page select {
	max-width: 260px;
}

.of-calendar-widget {
	border: 1px solid var(--of-line);
	border-radius: 8px;
	background: var(--of-panel);
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(22,32,20,0.11);
}

.of-calendar-toolbar {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	padding: 12px;
	background: var(--of-panel-soft);
	border-bottom: 1px solid var(--of-line-soft);
}

.of-calendar-jump {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: center;
}

.of-calendar-navbtn,
.of-calendar-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	min-height: 30px;
	padding: 0 10px;
	border: 1px solid var(--of-line);
	border-radius: 6px;
	background: #ffffff;
	color: var(--of-link);
	font-weight: 700;
	text-decoration: none;
}

.of-calendar-weekdays,
.of-calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

.of-calendar-weekday {
	padding: 9px 10px;
	background: var(--of-green);
	color: #f6cf78;
	font-weight: 700;
	text-align: center;
}

.of-calendar-day,
.of-calendar-empty-day {
	min-height: 128px;
	padding: 8px;
	border-top: 1px solid var(--of-line-soft);
	border-left: 1px solid var(--of-line-soft);
	background: var(--of-panel);
}

.of-calendar-day:nth-child(7n+1),
.of-calendar-empty-day:nth-child(7n+1) {
	border-left: 0;
}

.of-calendar-empty-day {
	background: rgba(238,242,234,0.55);
}

.of-calendar-date {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	min-height: 25px;
	margin-bottom: 6px;
	border-radius: 999px;
	background: var(--of-panel-soft);
	color: var(--of-green);
	font-weight: 700;
	text-decoration: none;
}

.of-calendar-events {
	display: grid;
	gap: 5px;
}

.of-calendar-event {
	display: flex;
	gap: 5px;
	align-items: flex-start;
	min-height: 23px;
}

.of-calendar-event a {
	display: inline-block;
	padding: 3px 6px;
	border: 1px solid var(--of-line-soft);
	border-radius: 5px;
	background: #ffffff;
	text-decoration: none;
	line-height: 1.25;
}

.of-calendar-event-empty {
	min-height: 20px;
}

.of-calendar-compact-toggle {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 8px;
}

.of-blocker-list {
	display: grid;
	gap: 8px;
	margin: 10px 0 14px;
	padding: 0;
	list-style: none;
}

.of-blocker-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 10px;
	border: 1px solid var(--of-line-soft);
	border-radius: 6px;
	background: var(--of-panel-soft);
}

.of-blocker-list form {
	margin: 0;
}

.of-forum-ignore-form h3 {
	margin: 16px 0 8px;
	font-size: 15px;
	color: var(--of-green);
}

.of-forum-ignore-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 6px;
}

.of-check-row {
	display: flex;
	gap: 7px;
	align-items: flex-start;
	padding: 7px 8px;
	border: 1px solid var(--of-line-soft);
	border-radius: 6px;
	background: var(--of-panel);
}

.of-check-row.is-muted {
	background: #fff4c8;
}

.of-form-actions {
	margin-top: 14px;
}

.of-alert {
	margin: 0 0 14px;
	padding: 10px 12px;
	border-radius: 8px;
	border: 1px solid var(--of-line);
	background: var(--of-panel-soft);
	font-weight: 700;
}

.of-alert-success {
	border-color: #96b589;
	color: #20552b;
}

.of-alert-error {
	border-color: #d49a84;
	color: #873017;
}

#of-footer {
	margin-top: 6px;
	margin-bottom: 24px;
	padding-top: 18px;
	padding-bottom: 22px;
	border-top: 1px solid var(--of-line);
	color: var(--of-muted);
	text-align: left;
}

.of-footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	align-items: center;
	margin-bottom: 10px;
}

.of-footer-links a,
.of-footer-links .copyright {
	color: var(--of-link);
	font-size: 9pt;
	text-decoration: none;
}

.of-footer-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	font-size: 8pt;
}

html.of-theme-dark {
	background: #181a15;
	/* Gemeinsame Komponenten müssen auch ihre variablenbasierten Textfarben wechseln. */
	--of-bg: #181a15;
	--of-panel: #22271f;
	--of-panel-soft: #2b3128;
	--of-line: #46503e;
	--of-line-soft: #343a30;
	--of-text: #e5e8dc;
	--of-muted: #b8c4aa;
	--of-link: #9cc7ff;
	--of-link-hover: #f2bf72;
}

html.of-theme-dark .nav,
html.of-theme-dark .topictitle,
html.of-theme-dark .of-guest-search-note h2 {
	color: #e5e8dc;
}

html.of-theme-dark .of-last-post-subject {
	color: #a4d8a6;
}

html.of-theme-dark .of-wiki-stats dd {
	color: #f0ca79;
}

html.of-theme-dark #of-page h3,
html.of-theme-dark #of-page h4,
html.of-theme-dark #of-page h5 {
	color: #f0ca79;
}

html.of-theme-dark .of-wiki-result em,
html.of-theme-dark .of-wiki-version-row em,
html.of-theme-dark .of-wiki-check.is-ok span,
html.of-theme-dark .of-alert-success {
	color: #a4d8a6;
}

html.of-theme-dark .of-wiki-check.is-blocked span,
html.of-theme-dark .of-alert-error {
	color: #ffb29c;
}

html.of-theme-dark body {
	background-color: #181a15;
	color: #e5e8dc;
}

html.of-theme-dark a:link,
html.of-theme-dark a:active,
html.of-theme-dark a:visited,
html.of-theme-dark a.gen,
html.of-theme-dark a.genmed,
html.of-theme-dark a.gensmall,
html.of-theme-dark a.mainmenu,
html.of-theme-dark a.nav,
html.of-theme-dark a.forumlink,
html.of-theme-dark a.topictitle {
	color: #9cc7ff;
}

html.of-theme-dark a:hover,
html.of-theme-dark a.gen:hover,
html.of-theme-dark a.genmed:hover,
html.of-theme-dark a.gensmall:hover,
html.of-theme-dark a.mainmenu:hover,
html.of-theme-dark a.nav:hover,
html.of-theme-dark a.forumlink:hover,
html.of-theme-dark a.topictitle:hover {
	color: #f2bf72;
}

html.of-theme-dark #topline {
	background: linear-gradient(180deg, #171d15 0%, #0f140e 100%);
	border-color: #2c3428;
}

html.of-theme-dark #topnav {
	--of-nav-link: #9cc7ff;
	background: #11150f;
	border-color: #2c3428;
}

html.of-theme-dark #topline .toplinelink {
	border-left-color: #a77b31;
	color: #dfe6d3;
}

html.of-theme-dark #topline .of-topline-user {
	border-color: rgba(255,255,255,0.12);
	background: rgba(255,255,255,0.05);
	color: #eef2e8;
}

html.of-theme-dark #topline .of-topline-logout {
	border-color: rgba(255,255,255,0.18);
	background: #a95624;
	color: #ffffff;
}

html.of-theme-dark #topline .of-topline-logout:hover {
	background: #bc6429;
	color: #ffffff;
}

html.of-theme-dark .forumline {
	border-color: #343d30;
	background: #30382b;
	box-shadow: none;
}

/* Beitragstrenner übernehmen nicht das helle Legacy-Grau des Tagesmodus. */
html.of-theme-dark td.spaceRow {
	background: var(--of-bg);
}

/* Ungelesene PN bleiben hervorgehoben, ohne helle Links auf dem alten orangefarbenen Grund. */
html.of-theme-dark td.row_attention {
	background: #3d3526;
	color: var(--of-text);
}

html.of-theme-dark td.row_attention:first-child {
	box-shadow: inset 3px 0 #d8a33a;
}

html.of-theme-dark #of-page table.forumline > tbody > tr > th,
html.of-theme-dark #of-page table.forumline > tbody > tr > td,
html.of-theme-dark td.row1,
html.of-theme-dark td.row2,
html.of-theme-dark td.row3,
html.of-theme-dark td.row3Right,
html.of-theme-dark td.spaceRow,
html.of-theme-dark td.rowpic,
html.of-theme-dark td.cat,
html.of-theme-dark td.catHead,
html.of-theme-dark td.catSides,
html.of-theme-dark td.catLeft,
html.of-theme-dark td.catRight,
html.of-theme-dark td.catBottom {
	border-color: #343a30;
}

html.of-theme-dark th {
	background: #17291d;
	color: #f0ca79;
}

html.of-theme-dark td.row1,
html.of-theme-dark .of-privacy-page,
html.of-theme-dark .of-smilie-scroll,
html.of-theme-dark .of-guest-search-note,
html.of-theme-dark .of-guest-privacy-note,
html.of-theme-dark .of-panel,
html.of-theme-dark .of-wiki-panel,
html.of-theme-dark .of-wiki-welcome,
html.of-theme-dark .of-wiki-head,
html.of-theme-dark .of-wiki-article,
html.of-theme-dark .of-wiki-empty-state,
html.of-theme-dark .of-faq-section,
html.of-theme-dark .of-crew-card,
html.of-theme-dark .of-calendar-widget,
html.of-theme-dark .of-calendar-day,
html.of-theme-dark .of-calendar-head,
html.of-theme-dark .of-check-row {
	background: #22271f;
	color: #e5e8dc;
}

html.of-theme-dark td.row2,
html.of-theme-dark td.row3,
html.of-theme-dark td.row3Right,
html.of-theme-dark td.rowpic,
html.of-theme-dark .of-calendar-toolbar,
html.of-theme-dark .of-calendar-empty-day,
html.of-theme-dark .of-calendar-date,
html.of-theme-dark .of-wiki-tabs,
html.of-theme-dark .of-wiki-article-head,
html.of-theme-dark .of-wiki-tools,
html.of-theme-dark .of-wiki-options-panel,
html.of-theme-dark .of-wiki-check,
html.of-theme-dark .of-wiki-message,
html.of-theme-dark .of-wiki-float,
html.of-theme-dark .of-crew-avatar {
	background: #2b3128;
	color: #e5e8dc;
}

html.of-theme-dark .of-calendar-help {
	color: #b8c4aa;
}

html.of-theme-dark .of-wiki-tabs a.is-active,
html.of-theme-dark .of-wiki-tool-grid a,
html.of-theme-dark .of-wiki-aliases a,
html.of-theme-dark .of-wiki-admin-tools a,
html.of-theme-dark .of-wiki-result,
html.of-theme-dark .of-wiki-version-row,
html.of-theme-dark .of-wiki-edit-form textarea,
html.of-theme-dark .of-wiki-edit-form input[type="text"],
html.of-theme-dark .of-wiki-options-panel input[type="text"],
html.of-theme-dark .of-wiki-timer-form input[type="text"] {
	background: #22271f;
	color: #e5e8dc;
}

html.of-theme-dark .of-wiki-kicker,
html.of-theme-dark .of-wiki-article-head p,
html.of-theme-dark .of-wiki-result small,
html.of-theme-dark .of-wiki-version-row small,
html.of-theme-dark .of-wiki-check p,
html.of-theme-dark .of-wiki-legend span {
	color: #b8c4aa;
}

html.of-theme-dark td.cat,
html.of-theme-dark td.catHead,
html.of-theme-dark td.catSides,
html.of-theme-dark td.catLeft,
html.of-theme-dark td.catRight,
html.of-theme-dark td.catBottom {
	background: #30382b;
}

html.of-theme-dark .gen,
html.of-theme-dark .genmed,
html.of-theme-dark .gensmall,
html.of-theme-dark .postdetails,
html.of-theme-dark .postbody,
html.of-theme-dark .name,
html.of-theme-dark .maintitle,
html.of-theme-dark .cattitle {
	color: #e5e8dc;
}

html.of-theme-dark input,
html.of-theme-dark textarea,
html.of-theme-dark select {
	border-color: #5b6953;
	background: #151914;
	color: #f0f2e8;
}

html.of-theme-dark input.button,
html.of-theme-dark input.liteoption,
html.of-theme-dark input.mainoption,
html.of-theme-dark button,
html.of-theme-dark .of-theme-toggle,
html.of-theme-dark .of-button-secondary,
html.of-theme-dark .of-calendar-navbtn,
html.of-theme-dark .of-calendar-more,
html.of-theme-dark .of-calendar-event a {
	border-color: #65775d;
	background: #273021;
	color: #f0f2e8;
}

html.of-theme-dark .quote,
html.of-theme-dark .code {
	border-color: #4d5b45;
	background: #181c16;
	color: #e5e8dc;
}

html.of-theme-dark .of-imprint-page {
	color: #e5e8dc;
}

html.of-theme-dark .of-imprint-hero {
	border-color: #343d30;
	background: linear-gradient(180deg, #22271f 0%, #1b2018 100%);
	box-shadow: none;
}

html.of-theme-dark .of-imprint-card,
html.of-theme-dark .of-imprint-section {
	border-color: #343a30;
	background: #22271f;
	box-shadow: none;
}

html.of-theme-dark .of-imprint-rule-list article,
html.of-theme-dark .of-imprint-warning,
html.of-theme-dark .of-imprint-law {
	border-color: #343a30;
	background: #2b3128;
	color: #e5e8dc;
}

html.of-theme-dark .of-imprint-kicker,
html.of-theme-dark .of-imprint-note {
	color: #bfc8b8;
}

html.of-theme-dark .of-imprint-hero h1,
html.of-theme-dark .of-imprint-card h2,
html.of-theme-dark .of-imprint-section h2,
html.of-theme-dark .of-imprint-rule-list h3 {
	color: #f0ca79;
}

html.of-theme-dark .of-imprint-rule-list h4 {
	color: #e5e8dc;
}

html.of-theme-dark .of-post-side-title,
html.of-theme-dark .of-smilie-title,
html.of-theme-dark .of-page-head h1,
html.of-theme-dark .of-wiki-head h1,
html.of-theme-dark .of-calendar-head h1,
html.of-theme-dark .of-faq-head h1,
html.of-theme-dark .of-crew-head h1,
html.of-theme-dark .of-watched-head h1,
html.of-theme-dark .of-panel h2,
html.of-theme-dark .of-wiki-panel h2,
html.of-theme-dark .of-wiki-welcome h2,
html.of-theme-dark .of-faq-section h2,
html.of-theme-dark .of-forum-ignore-form h3 {
	color: #f0ca79;
}

html.of-theme-dark .of-cookiebox {
	background: #22271f;
	color: #e5e8dc;
	border-color: #4d5b45;
}

html.of-theme-dark .of-cookiebox a {
	color: #9cc7ff;
}

html.of-theme-dark .of-image-upload-drop,
html.of-theme-dark .of-image-upload-item,
html.of-theme-dark .of-image-upload-progress {
	background: #181c16;
	border-color: #6e7e65;
	color: #e5e8dc;
}

html.of-theme-dark .of-image-upload-hint,
html.of-theme-dark .of-image-upload-item span {
	color: #c7cfbf;
}

html.of-theme-dark .of-image-upload-title {
	color: #f0ca79;
}

html.of-theme-dark .of-username-link {
	color: var(--of-name-dark) !important;
	text-shadow: 0 1px 1px rgba(0,0,0,0.7);
}

html.of-theme-dark #of-footer {
	border-top-color: #3f4b39;
	color: #bfc8b8;
}

/* Mobil verwendet dieselben Links wie das Desktopmenü mit Maus und Tastatur. */
.of-nav-bar, .of-submenu-toggle, .of-compact-last { display: none; }
@media (min-width: 801px) {
	ul.dropdown > li:is(:hover, :focus-within) { position: relative; }
	ul.dropdown > li:is(:hover, :focus-within) > ul { visibility: visible; }
}

@media (max-width: 800px) {
	/* Das Hintergrundbild endet mit dem verkleinerten Kopf, auch im Dunkelmodus. */
	body:has(#of-brandbar) { background-image: none; }
	#of-brandbar { background: url(/images/bgt8.jpg) no-repeat left center; }
	#topline {
		height: auto;
		padding: 0;
	}

	.of-topline-shell {
		display: block;
		min-height: 0;
		padding: 5px 10px;
	}

	/* Der Slogan und die doppelte Einladung verdrängen sonst die ersten Themen. */
	#topline .toplinelink, body:has(.of-head-login) #topline { display: none; }
	body:has(.of-head-login) .of-forum-toolbar .of-forum-search,
	body:has(.of-head-login) .of-forum-navigation > a.gensmall { display: none; }

	#topline .of-topline-user {
		display: inline-block;
		margin-top: 5px;
		white-space: normal;
	}

	#of-brandbar {
		display: block;
		min-height: 0;
		padding-top: 8px;
		padding-bottom: 10px;
	}

	#of-logo {
		min-width: 0;
	}

	#of-logo img {
		max-height: 58px;
	}

	#of-head-tools {
		float: none;
		flex-wrap: wrap;
		margin: 0;
		padding: 6px 8px;
		border-bottom: 1px solid rgba(255,255,255,0.12);
	}

	#of-head-tools input[type="text"],
	#of-head-tools input[type="password"] {
		width: 116px !important;
	}


	#of-page {
		margin-top: 10px;
		padding-right: 8px;
		padding-left: 8px;
	}

	#of-page table[width="700"],
	#of-page textarea,
	#taposting,
	input[name="helpbox"] {
		width: 100% !important;
		max-width: 100% !important;
	}

	.maintitle {
		font-size: 17px;
	}

	.of-smilie-scroll {
		max-height: 180px;
	}

	.of-page-head,
	.of-wiki-head,
	.of-calendar-head,
	.of-faq-head,
	.of-crew-head,
	.of-watched-head {
		display: block;
	}

	.of-imprint-hero {
		display: block;
		padding: 14px;
	}

	.of-imprint-hero img {
		display: none;
	}

	.of-imprint-grid,
	.of-imprint-rule-list {
		grid-template-columns: 1fr;
	}

	.of-wiki-actions {
		margin-top: 8px;
	}

	.of-wiki-layout {
		display: block;
	}

	.of-wiki-sidebar {
		position: static;
		margin-bottom: 12px;
	}

	.of-wiki-article-head,
	.of-wiki-result,
	.of-wiki-version-row,
	.of-wiki-tool-grid {
		display: block;
	}

	.of-wiki-article-head .of-button-secondary {
		margin-top: 8px;
	}

	.of-wiki-result > *,
	.of-wiki-version-row > * {
		display: block;
		margin-bottom: 4px;
	}

	.of-wiki-float {
		float: none;
		width: auto;
		margin-left: 0;
	}

	.of-calendar-weekdays,
	.of-calendar-grid {
		min-width: 720px;
	}

	#of-calendar-month {
		overflow-x: auto;
	}

	.of-blocker-list li {
		align-items: flex-start;
		flex-direction: column;
	}

	.of-footer-links,
	.of-footer-meta {
		display: block;
	}

	.of-footer-links a,
	.of-footer-links .copyright,
	.of-footer-meta span {
		display: inline-block;
		margin: 0 10px 8px 0;
	}
}

/* Die Daueranmeldung bleibt eine ausdrückliche Wahl neben den Zugangsdaten. */
.of-head-login {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px 8px;
	color: #fff;
}
.of-head-login label { display: inline-flex; align-items: center; gap: 4px; }
.of-head-login input:is([type="text"], [type="password"]) { width: 108px; }

@media (max-width: 800px) {
	/* Auf kleinen Displays stehen Titel, Beitrag und Bedienfelder untereinander. */
	.of-topic-nav, .of-topic-footer, .of-topic-posts, .of-profile-form > table,
	.of-forum-index, .of-forum-topics {
		display: block;
		width: 100%;
		box-sizing: border-box;
		overflow-wrap: anywhere;
	}
	:is(.of-topic-nav, .of-topic-footer, .of-topic-posts, .of-profile-form > table,
		.of-forum-index, .of-forum-topics) > tbody,
	:is(.of-topic-nav, .of-topic-footer, .of-topic-posts, .of-profile-form > table,
		.of-forum-index, .of-forum-topics) > tbody > tr {
		display: block;
	}
	:is(.of-topic-nav, .of-topic-footer, .of-topic-posts, .of-profile-form > table,
		.of-forum-index, .of-forum-topics) > tbody > tr > :is(td, th) {
		display: block;
		width: auto;
		min-width: 0;
		height: auto;
		box-sizing: border-box;
		text-align: start;
		white-space: normal;
	}
	.of-topic-posts > tbody > tr:has(> .thLeft), .of-forum-index .rowpic,
	.of-forum-index > tbody > tr:has(> th), .of-forum-topics > tbody > tr:has(> th) { display: none; }
	.of-topic-posts td, .of-topic-footer td, .of-topic-nav nobr, .of-topic-footer nobr,
	.of-jumpbox td { white-space: normal; }
	.of-topic-posts table, .of-topic-footer table, .of-jumpbox table { width: 100%; table-layout: fixed; }
	.of-topic-posts td[width="165"] table { height: auto; }
	.of-topic-posts td[width="165"] br + br { display: none; }
	.of-post-command-box, .of-post-reactions { float: none; margin: 4px 0; }
	.of-topic-nav .of-topic-button-row { min-width: 0; }
	.of-topic-button-row .nav { display: flex; flex-wrap: wrap; gap: 4px; font-size: 0; }
	.of-topic-posts img, .of-profile-form img { max-width: 100%; height: auto; }
	.of-topic-posts .postbody { overflow-wrap: anywhere; }
	.of-topic-posts pre { white-space: pre-wrap; }
	.of-profile-form :is(input, select, textarea), .of-jumpbox select {
		box-sizing: border-box;
		max-width: 100%;
	}
	.of-jumpbox { white-space: normal; max-width: 100%; }
	.of-topic-footer select { max-width: 100%; }
	/* Pro Listeneintrag bleiben zwei Ziele: Forum/Thema öffnen oder zur letzten Antwort springen. */
	#of-page :is(.of-forum-index, .of-forum-topics) tr:has(> td[data-label]) {
		display: grid;
		grid-template-columns: 22px minmax(0, 1fr);
		gap: 0 9px;
		padding: 7px 12px;
		background: var(--of-panel);
		border-bottom: 1px solid var(--of-line-soft);
	}
	#of-page :is(.of-forum-index, .of-forum-topics) tr:has(> td[data-label]) > td {
		padding: 0;
		border: 0;
		background: transparent;
	}
	#of-page :is(.of-forum-index, .of-forum-topics) td[data-label]:not(:last-child),
	.of-forum-index .rowpic, .of-index-intro, .of-index-stats, .of-list-legend,
	.of-forum-footnotes > tbody > tr > td:first-child, .of-forum-head .gensmall:not(.of-forum-pagination),
	.of-forum-index .forumlink ~ span, .of-forum-topics .topictitle ~ span,
	.of-forum-index .forumlink > br, .of-forum-topics .of-list-attachment { display: none; }
	#of-page :is(.of-forum-index, .of-forum-topics) td:first-child > img { width: 20px; height: auto; margin-top: 5px; }
	#of-page :is(.of-forum-index, .of-forum-topics) a:is(.forumlink, .topictitle) {
		display: inline-block;
		padding: 5px 0;
		font-size: 1rem;
		line-height: 1.25;
	}
	:is(.of-forum-index, .of-forum-topics) td[data-label]:last-child { grid-column: 2; }
	.of-forum-index .catLeft { padding: 7px 12px; }
	.of-last-desktop:has(+ .of-compact-last) { display: none; }
	#of-page a.of-compact-last {
		display: flex;
		flex-direction: column;
		justify-content: center;
		box-sizing: border-box;
		min-height: 32px;
		padding: 3px 0;
		text-decoration: none;
		font-size: 0.8125rem;
		line-height: 1.45;
		color: var(--of-muted);
	}
	.of-last-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	#of-page .of-compact-last:focus-visible, #of-page .of-compact-last:hover { text-decoration: underline; }

	/* Ohne JavaScript bleiben Links und Untermenüs im normalen Seitenfluss erreichbar. */
	.of-nav-legacy { height: auto !important; }
	.of-nav-legacy-tools { float: none !important; }
	.of-main-nav { background: #20261f; color: #fff; }
	.of-main-nav .dropdown, .of-main-nav .dropdown ul {
		display: block; float: none; position: static; width: auto;
		height: auto; padding: 0; border: 0; box-shadow: none; visibility: visible;
	}
	.of-main-nav .dropdown > li { border-top: 1px solid #455144; }
	.of-main-nav .dropdown a, .of-main-nav .of-submenu-toggle, .of-nav-bar > * {
		box-sizing: border-box;
		display: flex; align-items: center;
		width: 100%; min-height: 44px; padding: 9px 12px;
		border: 0; font: inherit; font-weight: 600; color: #fff;
		background: transparent; text-align: left; text-decoration: none;
	}
	.of-main-nav .dropdown ul li a { padding-left: 28px; background: #303b30; }
	.of-main-nav.of-nav-ready .of-nav-bar {
		display: flex; align-items: center; justify-content: space-between;
	}
	.of-nav-bar > * { width: auto; gap: 10px; cursor: pointer; }
	.of-nav-bar a { color: #fff; }
	.of-menu-icon, .of-menu-icon::before, .of-menu-icon::after {
		width: 19px; height: 2px; border-radius: 2px; background: currentColor;
	}
	.of-menu-icon { position: relative; }
	.of-menu-icon::before, .of-menu-icon::after { content: ""; position: absolute; left: 0; }
	.of-menu-icon::before { top: -6px; } .of-menu-icon::after { top: 6px; }
	.of-menu-toggle[aria-expanded="true"] .of-menu-icon { background: transparent; }
	.of-menu-toggle[aria-expanded="true"] .of-menu-icon::before { top: 0; transform: rotate(45deg); }
	.of-menu-toggle[aria-expanded="true"] .of-menu-icon::after { top: 0; transform: rotate(-45deg); }
	.of-submenu-toggle { justify-content: space-between; cursor: pointer; }
	.of-submenu-toggle::after {
		content: ""; width: 8px; height: 8px; margin-right: 5px;
		border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg);
	}
	.of-submenu-toggle[aria-expanded="true"]::after { transform: rotate(225deg); }
	.of-nav-ready:has(.of-menu-toggle[aria-expanded="false"]) #of-nav-panel,
	.of-nav-ready .of-submenu-toggle[aria-expanded="false"] + .sub_menu,
	.of-nav-ready .dropdown a:has(+ .of-submenu-toggle) { display: none; }
	.of-main-nav :is(button, a):focus-visible { outline: 2px solid #f0ca79; outline-offset: -3px; }
}
/* Auf dem Desktop stehen Profil und Text weiterhin in zwei Spalten. */
.of-post-content {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-areas: "date subject tools" "message message message" "signature signature signature";
	align-items: start;
	gap: 3px 8px;
}
.of-post-author { grid-area: author; scroll-margin-top: 8px; }
/* Die einzelnen Profilfelder bestimmen den Abstand. Leere Felder belegen keine Zeile. */
.of-post-bio {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-area: bio;
	align-content: start;
	gap: 8px;
	min-width: 0;
	line-height: 1.35;
	overflow-wrap: anywhere;
}
.of-author-rank, .of-author-facts {
	display: grid;
	align-content: start;
	gap: 2px;
	min-width: 0;
	font-size: .8125rem;
}
.of-author-rank { color: var(--of-text); }
.of-author-facts { color: var(--of-muted); }
.of-author-rank > :empty, .of-author-facts > :empty,
.of-author-avatar:empty, .of-author-rank:not(:has(> :not(:empty))),
.of-author-facts:not(:has(> :not(:empty))), .of-author-rank > * > br:last-child { display: none; }
.of-author-rank img { display: block; max-width: 100%; height: auto; }
.of-author-avatar img {
	display: block;
	max-width: min(100%, 140px);
	max-height: 140px;
	width: auto;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 0 0 1px var(--of-line-soft);
}
.of-author-facts .of-user-status { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.of-author-facts .of-user-status::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}
@media (min-width: 801px) {
	/* Eine definierte Spaltenbreite hält auch sehr lange Modellnamen aus dem Beitrag heraus. */
	.of-topic-posts .of-post-author-cell { padding: 10px; vertical-align: top; }
	.of-post-author-cell .of-post-author { display: block; margin-bottom: 6px; overflow-wrap: anywhere; }
	.of-post-author-cell .of-post-author :is(.gen, .of-username-link) { font-size: 1rem; }
	.of-post-bio { width: clamp(157px, 14vw, 185px); }
}
@media (max-width: 800px) {
	/* Im geöffneten Profil teilen sich Avatar und Angaben eine Zeile, die Garage nutzt die volle Breite. */
	.of-post-bio:has(> .of-author-avatar img) {
		grid-template-columns: auto minmax(0, 1fr);
		column-gap: 12px;
	}
	.of-post-bio:has(> .of-author-avatar img) > .of-author-avatar { grid-column: 1; grid-row: 1 / span 2; }
	.of-post-bio:has(> .of-author-avatar img) > :is(.of-author-rank, .of-author-facts) { grid-column: 2; }
	.of-author-avatar img { max-width: 68px; max-height: 76px; border-radius: 9px; }
	.of-user-garage { grid-column: 1 / -1; }
}
.of-post-meta { grid-area: date; }
.of-post-subject { grid-area: subject; }
.of-post-message { grid-area: message; min-width: 0; min-height: 100px; border-top: 1px solid var(--of-line-soft); padding-top: 5px; }
.of-post-signature { grid-area: signature; min-width: 0; }
.of-post-signature:empty, .of-post-more, .of-topic-reply > span,
.of-post-command-box:not(:has(a)), .of-topic-posts > .of-topic-entry[hidden] { display: none; }
.of-post-tools { grid-area: tools; }
.of-post-profile-links { grid-area: contact; }
.of-post-main-cell { width: 100%; }
.of-topic-sort { margin: 0; }
.of-topic-footer > tbody > tr:first-child > td { white-space: normal; }
.of-topic-footer .of-jumpbox select { max-width: min(50vw, 100%); }
.of-topic-reply img, .of-topic-new img { vertical-align: middle; }

@media (max-width: 800px) {
	/* Der Lesefluss führt vom Forum über Autor und Datum direkt zum Beitrag. */
	.of-topic-nav > tbody > tr:first-child {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 0 8px;
	}
	.of-topic-nav > tbody > tr > .of-topic-button-row { grid-column: 2; grid-row: 1; }
	.of-topic-nav > tbody > tr > td:has(.of-topic-path) { grid-column: 1; grid-row: 1; }
	.of-topic-path > span, .of-topic-nav .of-topic-new, .of-topic-reply img,
	.of-topic-nav-top > tbody > tr > td:last-child, .of-topic-nav-bottom .of-topic-visited,
	.of-topic-posts > tbody > .of-topic-neighbours { display: none; }
	.of-topic-path > a, #of-page .of-topic-reply {
		display: inline-flex;
		align-items: center;
		box-sizing: border-box;
		min-height: 40px;
		font-size: .9rem;
	}
	.of-topic-path > a::before { content: "‹"; margin-right: 6px; font-size: 1.25rem; }
	#of-page .of-topic-reply {
		padding: 6px 12px;
		border: 1px solid var(--of-line);
		border-radius: 5px;
		background: var(--of-panel-soft);
		color: var(--of-text);
	}
	.of-topic-reply > span, .of-topic-related { display: inline; }
	.of-topic-nav-bottom .genmed a { display: inline-flex; align-items: center; min-height: 40px; margin-right: 10px; }
	.of-topic-nav-bottom > tbody > tr > td:has(.nav):last-child { grid-column: 1 / -1; }
	.of-topic-pagination, .of-topic-nav-bottom nobr { white-space: normal; line-height: 1.9; }
	.of-topic-titlebar { table-layout: fixed; overflow-wrap: anywhere; margin-bottom: 0; }
	/* Nur die äußeren Layoutzellen auflösen. Tabellen in Beiträgen und Umfragen bleiben eigenständig. */
	.of-topic-posts > .of-topic-entry {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas: "author date" "subject subject" "message message" "tools more" "bio bio" "signature signature" "contact contact";
		align-items: center;
		gap: 0 8px;
		padding: 8px 12px;
		border-bottom: 1px solid var(--of-line);
		background: var(--of-panel);
	}
	.of-topic-posts > .of-topic-entry > :is(.of-post-main, .of-post-foot),
	.of-topic-posts > .of-topic-entry > tr > :is(.of-post-main-cell, .of-post-author-cell, .of-post-contact-cell),
	.of-topic-entry .of-post-content { display: contents; }
	.of-topic-posts > .of-topic-entry > .of-post-separator,
	.of-topic-posts > .of-topic-entry > tr > .of-post-back,
	.of-post-meta img, .of-post-date-label, .of-post-subject-repeat, .of-post-subject > span:first-child { display: none; }
	.of-post-author, .of-post-author .of-username-link { font-size: 1rem; }
	.of-post-author { min-width: 0; overflow-wrap: anywhere; }
	.of-post-meta { justify-self: end; }
	#of-page .of-post-permalink {
		display: inline-flex; align-items: center; min-height: 36px;
		color: var(--of-muted); font-size: .8rem; font-variant-numeric: tabular-nums;
	}
	.of-post-subject { font-size: .95rem; font-weight: bold; padding-bottom: 5px; }
	.of-post-message { min-height: 0; border: 0; padding: 0 0 6px; }
	.of-post-message > .postbody { font-size: 1rem; line-height: 1.5; }
	.of-post-message :is(img, video, iframe, embed, object) { max-width: 100%; }
	.of-post-tools { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; min-width: 0; }
	.of-topic-entry .of-post-command-box, .of-topic-entry .of-post-reactions { margin: 0; }
	.of-topic-entry .of-post-command-box { border: 0; padding: 0; background: transparent; flex-wrap: wrap; }
	#of-page .of-post-tools .of-post-command-box a, #of-page .of-topic-entry .of-post-profile-links :is(a, button) {
		display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px;
	}
	.of-topic-entry .of-post-reactions { width: max-content; max-width: 100%; min-width: min(104px, 100%); height: 40px; }
	#of-page .of-topic-entry .of-post-reaction { grid-template-columns: 22px auto; min-width: 44px; height: 34px; }
	.of-topic-entry .of-post-reaction-status:not(:empty) { right: auto; left: 0; max-width: 210px; }
	.of-post-more:not([hidden]) {
		grid-area: more; justify-self: end; display: flex; align-items: center; gap: 6px;
		min-height: 40px; padding: 0 2px; border: 0; background: transparent;
		color: var(--of-link); font: inherit; cursor: pointer;
	}
	.of-post-more::after {
		content: ""; width: 6px; height: 6px;
		border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg);
	}
	.of-post-more[aria-expanded="true"]::after { transform: rotate(225deg); }
	.of-topic-entry:has(.of-post-more:not([hidden])[aria-expanded="false"]) :is(.of-post-bio, .of-post-signature, .of-post-profile-links) { display: none; }
	.of-post-bio { border-top: 1px solid var(--of-line-soft); padding-top: 8px; }
	.of-post-profile-links { padding: 4px 0; }
	.of-topic-sort select, .of-topic-sort input, .of-topic-footer form[name="post"] input[type="submit"] { min-height: 40px; }
	.of-topic-footer textarea { box-sizing: border-box; }
	.of-topic-footer .of-jumpbox select { max-width: 100%; }
}

/* Derselbe Editor bedient Themen, Antworten und private Nachrichten. */
.of-editor {
	display: grid;
	grid-template-columns: minmax(150px, 22%) minmax(0, 1fr);
	grid-template-areas: "label format" "smilies text" "smilies upload";
	gap: 8px 14px;
	align-items: start;
}
.of-editor-label { grid-area: label; font-weight: bold; }
.of-editor-smilies { grid-area: smilies; }
.of-editor-format { grid-area: format; }
.of-editor #taposting { grid-area: text; box-sizing: border-box; width: 100%; min-width: 0; resize: vertical; }
.of-editor .of-image-upload { grid-area: upload; margin: 0; }
.of-editor-palette { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); align-content: start; }
.of-editor-palette .of-smilie-button { width: 100%; margin: 0; }
.of-editor-buttons, .of-editor-font, .of-pm-toolbar, .of-pm-toolbar form, .of-calc-actions {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.of-editor-buttons, .of-editor-font { padding: 4px 0; }
.of-compose summary { cursor: pointer; font-weight: bold; color: var(--of-link); padding: 5px 2px; }
.of-editor details { min-width: 0; }
.of-compose :is(summary,button):focus-visible { outline: 2px solid var(--of-link); outline-offset: 1px; }
.of-pm-toolbar { justify-content: space-between; margin: 8px 0; }
.of-pm-toolbar form { margin: 0; }
.of-mobile-weekday { display: none; }
.of-calculator { background: var(--of-panel); color: var(--of-text); border: 1px solid var(--of-line); border-radius: 8px; padding: 12px; }
.of-calc-table { border-collapse: collapse; }
.of-calc-table td, .of-calc-table th { padding: 6px; border: 1px solid var(--of-line-soft); }
.of-calc-actions { margin: 5px 0 12px; }
.of-calc-actions br { display: none; }

@media (max-width: 800px) {
	/* Nur gekennzeichnete Layouttabellen auflösen. Zitate und Nutzerdaten bleiben eigenständig. */
	:is(.of-stack, .of-flow-table, .of-compose-table, .of-login-table table, .of-pm-head, .of-nick-layout, .of-nick-layout table),
	:is(.of-stack, .of-flow-table, .of-compose-table, .of-login-table table, .of-pm-head, .of-nick-layout, .of-nick-layout table) > tbody,
	:is(.of-stack, .of-flow-table, .of-compose-table, .of-login-table table, .of-pm-head, .of-nick-layout, .of-nick-layout table) > tbody > tr,
	:is(.of-stack, .of-flow-table, .of-compose-table, .of-login-table table, .of-pm-head, .of-nick-layout, .of-nick-layout table) > tbody > tr > :is(td,th) {
		display: block; box-sizing: border-box; width: 100%; min-width: 0; height: auto;
		max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: start;
	}
	:is(.of-stack, .of-flow-table, .of-compose, .of-pm-toolbar, .of-nick-layout, .of-profile-form, .of-calendar-jump, .of-calc-table) :is(input,select,textarea,button),
	.of-jumpbox, .of-jumpbox select { box-sizing: border-box; max-width: 100%; min-width: 0; }
	:is(.of-stack,.of-compose,.of-flow-table,.of-pm-toolbar,.of-calculator,.of-profile-form,.of-nick-layout) :is(select,textarea,input:not([type="hidden"],[type="checkbox"],[type="radio"],[type="image"]),button),
	.of-calendar-jump :is(input,select), .of-calendar-navbtn { min-height: 40px; }
	:is(.of-stack,.of-compose,.of-flow-table,.of-pm-toolbar,.of-nick-layout,.of-profile-form,.of-calculator) :is(input[type="text"],input[type="password"],input[type="email"],input[type="search"],select,textarea) { font-size: 16px; }
	:is(.of-stack,.of-compose,.of-pm-toolbar,.of-nick-layout) img { max-width: 100%; height: auto; }
	.of-stack td[nowrap], .of-compose td[nowrap], .of-flow-table nobr, .of-nick-layout [nowrap] { white-space: normal; }
	.of-compose-table > tbody > tr > td { padding: 6px 10px; }
	.of-compose-table > tbody > tr > th, .of-stack > tbody > tr > th { padding: 8px; }
	.of-compose-table > tbody > tr:has(> td + td) > td:first-child { padding-bottom: 0; background: var(--of-panel-soft); }
	.of-compose-table input:is([name="subject"],[name="description"],[name="username"]) { width: 100% !important; }
	.of-compose-table .catBottom { display: flex; flex-wrap: wrap; gap: 8px; }
	.of-editor { grid-template-columns: minmax(0, 1fr); grid-template-areas: "label" "text" "smilies" "format" "upload"; gap: 5px; }
	.of-editor #taposting { min-height: 10rem; height: clamp(10rem, 28svh, 18rem); padding: 8px; line-height: 1.45; }
	.of-compose summary { min-height: 42px; box-sizing: border-box; padding: 12px 6px; }
	.of-compose details { border-top: 1px solid var(--of-line-soft); }
	.of-editor-palette { grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); max-height: 12rem; }
	.of-editor-palette .of-smilie-button, .of-editor-buttons button { min-width: 44px; min-height: 44px; }
	.of-editor .of-image-upload-drop { padding: 8px; }
	.of-compose-options table { max-width: 100%; }
	.of-compose-options table table, .of-compose-options table table :is(tbody,tr,td) { display: block; box-sizing: border-box; width: 100%; white-space: normal; }
	.of-compose-options label, .of-search-form label:has(input[type="radio"]) { display: inline-flex; align-items: center; min-height: 36px; }
	.of-compose-poll input[type="text"], .of-search-form input[type="text"], .of-search-form select { width: 100% !important; }
	.of-compose > table, .of-review iframe { max-width: 100%; box-sizing: border-box; }
	.of-stack .postbody { overflow-wrap: anywhere; }
	.of-flow-table:has(img[src$="/cfrog.gif"]) td:has(>img), .of-search-form ~ br,
	.of-login-table tr:has(>td[colspan="2"]:only-child):first-child:has(+tr label[for="login-username"]) { display: none; }
	.of-search-form label:has(input[type="radio"]) { display: flex; gap: 4px; }
	.of-search-form label + br { display: none; }
	/* Listen zeigen Titel, Person und Ziel zum Öffnen; die Auswahl bleibt bei jedem Eintrag. */
	:is(.of-members,.of-result-topics,.of-result-posts,.of-files,.of-pm-list,.of-watched-table,.of-review) > tbody > tr:has(>th),
	.of-result-topics .of-hit-extra, .of-result-posts td[rowspan] .postdetails, .of-result-posts td[rowspan] br { display: none; }
	#of-page :is(.of-members,.of-result-topics,.of-files,.of-pm-list,.of-watched-table) tr:has(> td:nth-child(4)) {
		display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; padding: 7px 10px;
		background: var(--of-panel); border-bottom: 1px solid var(--of-line-soft);
	}
	#of-page :is(.of-members,.of-result-topics,.of-files,.of-pm-list,.of-watched-table) tr:has(> td:nth-child(4)) > td {
		grid-column: 1; padding: 2px 0; border: 0; background: transparent;
	}
	.of-members tr:has(>td:nth-child(4)) > td:not(:nth-child(2),:nth-child(3),:nth-child(5)),
	.of-result-topics tr:has(>td:nth-child(4)) > td:is(:first-child,:nth-child(4),:nth-child(5),:nth-child(6)),
	.of-files tr:has(>td:nth-child(4)) > td:is(:first-child,:nth-child(4),:nth-child(6)),
	.of-watched-table tr:has(>td:nth-child(4)) > td:is(:nth-child(3),:nth-child(4)) { display: none; }
	#of-page .of-members tr > td:nth-child(2), #of-page .of-watched-table tr > td:nth-child(6), #of-page .of-files tr > td:nth-child(9), #of-page .of-pm-list tr > td:nth-child(5) { grid-column: 2; grid-row: 1 / span 2; }
	#of-page .of-members tr > td:nth-child(3), #of-page .of-result-topics tr > td:nth-child(3) { grid-row: 1; }
	.of-members td:nth-child(3) a, .of-result-topics .topictitle a, .of-pm-list a.topictitle { display: inline-block; font-weight: bold; font-size: 1rem; padding: 5px 0; }
	.of-pm-list tr:has(>td:nth-child(5)) > td:first-child { display: none; }
	.of-pm-toolbar form { width: 100%; }
	.of-pm-folders, .of-pm-folders > tbody { display: block; width: 100%; height: auto; }
	.of-pm-folders > tbody > tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; }
	.of-pm-folders td:nth-child(odd) { display: none; }
	.of-pm-folders td:nth-child(even) { padding: 0; border: 1px solid var(--of-line); border-radius: 6px; }
	.of-pm-folders .cattitle, .of-pm-folders a { display: block; }
	.of-pm-folders .cattitle { padding: 10px 5px; color: var(--of-text); }
	.of-pm-head > tbody > tr { display: flex; flex-direction: column; }
	.of-pm-head td:has(> .of-pm-folders) { order: -1; }
	.of-pm-head .bodyline { width: 100%; }
	.of-pm-head .bodyline tr:not(:first-child) { display: none; }
	.of-profile-sheet td table { width: 100%; table-layout: fixed; }
	.of-profile-sheet td[nowrap] { overflow-wrap: anywhere; }
	.of-profile-sheet tr:has(> .catLeft + .catRight) { display: none; }
	.of-nick-layout input:not([type="radio"],[type="checkbox"]), .of-nick-layout textarea { max-width: 100% !important; }
	.of-nick-layout [style*="width"] { max-width: 100%; box-sizing: border-box; }
	/* Jeder Kalendertag bleibt mit dem Filter und den Terminen ohne Seitwärtsscrollen erreichbar. */
	.of-calendar-weekdays, .of-calendar-empty-day, .of-calendar-event-empty { display: none; }
	.of-calendar-grid { display: block; min-width: 0; }
	.of-calendar-day { display: flex; align-items: baseline; gap: 8px; min-height: 0; border-left: 0; padding: 2px 8px; }
	.of-calendar-date { flex: none; min-height: 36px; padding: 0 5px; margin: 0; gap: 4px; }
	.of-mobile-weekday { display: inline; }
	.of-calendar-toolbar { grid-template-columns: auto minmax(0,1fr) auto; gap: 4px; padding: 6px; }
	.of-calendar-jump select { max-width: 100%; }
	.of-calendar-events { min-width: 0; overflow-wrap: anywhere; }
	.of-calc-table, .of-calc-table tbody { display: block; width: 100%; }
	.of-calc-table thead { display: none; }
	.of-calc-table tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px; margin: 6px 0; }
	.of-calc-table tr[data-variant]::before { content: attr(data-variant); grid-column: 1/-1; padding: 6px 0; font-weight: bold; color: var(--of-link); }
	.of-calc-table td { min-width: 0; overflow-wrap: anywhere; }
	.of-calc-table td::before { content: attr(data-label); display: block; padding-bottom: 4px; font-weight: bold; }
	.of-calc-actions input { max-width: 100%; white-space: normal; }
}
.of-editor-images { grid-area: upload; min-width: 0; }
.of-editor-images .of-image-upload-title { display: none; }
@media (max-width: 800px) {
	.of-editor:not(:has(.of-editor-smilies[open], .of-editor-format[open])) {
		grid-template-columns: repeat(2, minmax(0,1fr));
		grid-template-areas: "label label" "text text" "smilies format" "upload upload";
	}
	.of-scheduler > tbody > tr:first-child .forumline tr { display: grid; grid-template-columns: repeat(auto-fit,minmax(40px,1fr)); }
	.of-scheduler > tbody > tr:first-child .forumline a { display: block; padding: 8px 1px; }
	.of-scheduler table { max-width: 100%; }
	.of-scheduler .forumline { width: 100%; }
	.of-pm-list:has(td:only-child .gen):not(:has(input[type="checkbox"])) .catBottom { display: none; }
}
@media (min-width: 801px) and (max-width: 1050px) {
	/* Auch neben der Desktopnavigation dürfen Filter und Rechner in die nächste Zeile umbrechen. */
	.of-search-form, .of-calc-table { table-layout: fixed; width: 100%; overflow-wrap: anywhere; }
	.of-search-form td, .of-search-form th, .of-directory .of-flow-table td, .of-pm-head .bodyline td { white-space: normal; }
	:is(.of-search-form,.of-calc-table) :is(input,select) { box-sizing: border-box; max-width: 100%; }
	.of-pm-head .bodyline { width: auto; min-width: 100px; }
}
.of-mobile-tools > summary { cursor: pointer; color: var(--of-link); font-weight: bold; padding: 10px 4px; }
@media (min-width: 801px) {
	.of-mobile-tools[open] > summary { display: none; }
}
@media (max-width: 800px) {
	/* Für die Zweitaktion eine eigene Spalte freihalten, auch bei sehr langen Namen. */
	#of-page :is(.of-members,.of-watched-table,.of-files,.of-pm-list) tr:has(>td:nth-child(4)) > td:last-of-type:has(input[type="checkbox"]) { grid-column: 2; grid-row: 1 / span 2; }
	#of-page .of-members tr:has(>td:nth-child(4)) > td:nth-child(2) { grid-column: 2; }
	.of-mobile-tools > summary { min-height: 44px; box-sizing: border-box; padding: 12px 4px; }
	.of-map-app .of-map-main { min-height: 0; }
	.of-map-app .of-map-canvas, .of-map-app .of-map-mapwrap { min-height: 310px; height: 58svh; }
}
@media (max-width: 800px) {
	/* Die Forenauswahl im Tageskalender enthält auch sehr lange Unterforennamen. */
	.of-scheduler select { box-sizing: border-box; max-width: 100%; min-height: 40px; }
	.of-scheduler > tbody > tr:last-child > td:last-child .forumline,
	.of-scheduler > tbody > tr:last-child > td:last-child .forumline > tbody,
	.of-scheduler > tbody > tr:last-child > td:last-child .forumline > tbody > tr,
	.of-scheduler > tbody > tr:last-child > td:last-child .forumline > tbody > tr > :is(td,th) {
		display: block; box-sizing: border-box; width: 100%; min-width: 0; height: auto; white-space: normal; overflow-wrap: anywhere;
	}
}
.of-recipient-search { display: none; }
@media (max-width: 800px) {
	.of-compose input[name="usersubmit"] { display: none; }
	.of-recipient-search { display: block; }
	.of-recipient-search iframe { width: 100%; height: 17rem; box-sizing: border-box; border: 1px solid var(--of-line); }
	/* Lesestatus, Betreff und Auswahl haben getrennte Plätze in derselben Nachricht. */
	#of-page .of-pm-list tr:has(>td:nth-child(5)) { grid-template-columns: 20px minmax(0,1fr) auto; gap: 0 5px; }
	#of-page .of-pm-list tr:has(>td:nth-child(5)) > td { grid-column: 2; }
	#of-page .of-pm-list tr:has(>td:nth-child(5)) > td:first-child { display: block; grid-column: 1; grid-row: 1; }
	#of-page .of-pm-list tr:has(>td:nth-child(5)) > td:last-of-type:has(input[type="checkbox"]) { grid-column: 3; }
}

/* Der Update-Link steht mobil zwischen Menü und Schnellzugriff, auf dem Desktop am Anfang der Linkliste. */
:is(#topnav, .of-nav-legacy) .of-main-nav a.of-update-link:any-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	margin: 3px 4px;
	padding: 5px 12px;
	min-height: 28px;
	border: 0;
	border-radius: 5px;
	background: var(--of-amber);
	color: #201b10;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}
:is(#topnav, .of-nav-legacy) .of-main-nav a.of-update-link:is(:hover, :focus-visible) {
	background: #f4cd78;
	color: #201b10;
	text-decoration: underline;
}
:is(#topnav, .of-nav-legacy) .of-main-nav a.of-update-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -3px;
}
@media (max-width: 800px) {
	.of-nav-ready .of-update-item { display: none; }
	:is(#topnav, .of-nav-legacy) .of-main-nav a.of-update-link:any-link {
		margin: 2px;
		padding: 6px 8px;
		min-height: 44px;
	}
}

/* Beide Zugänge sind an allen Gast-Anmeldeformularen vor dem ersten Versuch sichtbar. */
.of-login-help { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 18px; margin: 8px 0 2px; }
.of-login-help a { padding: 4px 0; font-size: .875rem; text-underline-offset: 2px; }
.of-login-link-page { min-height: 100vh; box-sizing: border-box; background: var(--of-bg); color: var(--of-text); padding: 8vh 12px; margin: 0; }
.of-login-link-card { box-sizing: border-box; max-width: 30rem; margin: auto; padding: clamp(20px, 5vw, 36px); border: 1px solid var(--of-line); border-radius: 12px; background: var(--of-panel); font: 1rem/1.5 system-ui, sans-serif; }
.of-login-link-card h1 { color: var(--of-text); font: 700 1.55rem/1.2 system-ui, sans-serif; margin: 16px 0 8px; }
.of-login-link-card form { display: grid; gap: 8px; margin: 20px 0 12px; }
.of-login-link-card label, .of-login-brand { font-weight: 650; }
.of-login-link-card input:not([type="hidden"]), .of-login-link-card button { box-sizing: border-box; width: 100%; min-height: 44px; padding: 8px 12px; font: inherit; }
.of-login-link-card button { margin-top: 4px; border: 0; border-radius: 6px; color: #fff; background: #31593b; font-weight: 650; cursor: pointer; }
.of-login-link-card .of-login-hint, .of-login-link-card .of-login-alternative { font-size: .875rem; }
.of-login-link-card .of-login-alternative { margin: 18px 0 0; }
.of-mobile-login-help { display: none; }
@media (max-width: 800px) {
	/* Auch im geschlossenen Menü sind beide Anmeldehilfen direkt erreichbar. */
	.of-nav-ready .of-mobile-login-help { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 14px; border-top: 1px solid #455144; }
	.of-nav-ready .of-mobile-login-help a { display: inline-flex; align-items: center; min-height: 36px; color: #fff; font-size: .8125rem; text-underline-offset: 2px; }
	.of-nav-ready .of-head-login-help { display: none; }
}

/* Am Desktop stehen die Hilfen direkt unter den Zugangsdaten. */
.of-head-login-help { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 3px 0; }
.of-main-nav .of-head-login-help a { color: #fff; font-size: .8125rem; text-underline-offset: 2px; }
@media (min-width: 801px) {
	.of-nav-legacy:has(.of-head-signin) { height: auto !important; }
	#of-nav-panel:has(.of-head-signin) { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
	#of-nav-panel:has(.of-head-signin) > .dropdown { grid-area: 1 / 1; padding-right: 0; }
	#of-nav-panel:has(.of-head-signin) > :is(#of-head-tools, .of-nav-legacy-tools) { grid-area: 1 / 2; align-items: start; }
}
@media (min-width: 801px) and (max-width: 1100px) {
	#of-nav-panel:has(.of-head-signin) { grid-template-columns: minmax(0, 1fr); }
	#of-nav-panel:has(.of-head-signin) > :is(#of-head-tools, .of-nav-legacy-tools) { grid-area: 2 / 1; margin: 0 8px; }
}
