/* Sidebar adjustments specifically for prosilver_se style */

/* Allow sidebar container to wrap so copyright moves to row 2 below the sidebars */
.vinny-sidebar-container {
	flex-wrap: wrap !important;
}

/* Force copyright to wrap to full width on row 2 */
.copyright {
	flex: 0 0 100% !important;
	width: 100% !important;
	order: 10 !important;
	text-align: center !important;
	margin-top: 15px !important;
}

/* Block headers gradient - matching prosilver_se headerbar */
.vinny-sidebar-block-header {
	background-color: #7c8891 !important;
	background-image: linear-gradient(to bottom, #6e777f 0%, #505c65 1%, #56626b 20%, #737f88 75%, #7c8891 100%) !important;
	background-repeat: repeat-x !important;
	color: #fff !important;
	text-shadow: 1px 1px 1px #333 !important;
	border-bottom: 1px solid #48525a !important;
}

/* Toggle buttons matching prosilver_se headerbar */
.vinny-sidebar-toggle {
	background-color: #6e777f !important;
	background-image: linear-gradient(to bottom, #6e777f 0%, #505c65 50%, #7c8891 100%) !important;
	color: #fff !important;
}

.vinny-sidebar-toggle:hover {
	background-color: #505c65 !important;
	background-image: linear-gradient(to bottom, #505c65 0%, #3d464d 100%) !important;
}

/* Block borders */
.vinny-sidebar-block {
	border-color: #a9b5bd !important;
}

/* === Anpassung Sidebar Manager an Style Silver-Blue === */

/* Haupt-Container als Flexbox für linke Sidebar + Forum + rechte Sidebar */
#wrap {
	max-width: 1380px !important; /* Breite vergrößern, damit Sidebars + Forum Platz haben */
}

/* Falls die Sidebars außerhalb von #page-body gerendert werden */
.sidebar-left,
.sidebar-right {
	width: 240px;
	flex-shrink: 0;
	box-sizing: border-box;
	margin-top: 10px;
}

.sidebar-left {
	float: left;
	margin-right: 12px;
}

.sidebar-right {
	float: right;
	margin-left: 12px;
}

/* Blöcke optisch an Silver-Blue (.forabg / .panel) angleichen */
.sidebar-left .forabg,
.sidebar-right .forabg,
.sidebar-block {
	background-color: #125088 !important; /* Silver-Blue Primärblau */
	background-image: linear-gradient(to bottom, #1e6cb3 0%, #125088 100%) !important;
	border: 1px solid #0d3c66 !important;
	border-radius: 7px !important;
	padding: 5px !important;
	margin-bottom: 12px !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Block-Überschriften */
.sidebar-block h3,
.sidebar-block .header {
	color: #ffffff !important;
	font-size: 1.05em !important;
	font-weight: bold !important;
	padding: 4px 6px 6px 6px !important;
	margin: 0 !important;
	border-bottom: none !important;
	text-transform: none !important;
}

/* Inhaltsboxen der Blöcke im hellen Silver-Blue-Ton */
.sidebar-block-content,
.sidebar-block ul,
.sidebar-block .panel {
	background-color: #eef5f9 !important;
	color: #28313f !important;
	border-radius: 5px !important;
	padding: 8px 10px !important;
	margin: 0 !important;
}

/* Links in den Sidebars */
.sidebar-block-content a {
	color: #105289 !important;
}
.sidebar-block-content a:hover {
	color: #d31141 !important;
}

/* Mittelteil (normales Forum) zwischen den Sidebars einpassen */
#page-body {
	overflow: hidden; /* Verhindert Umbruch unter die gefloateten Sidebars */
	width: auto !important;
}

/* Fußzeile & Fußzeilen-Links-Erweiterung komplett freistellen */
#page-footer {
	clear: both !important;
	width: 100% !important;
	position: relative !important;
	z-index: 10 !important;
	display: block !important;
	margin-top: 15px !important;
}

/* Auf Smartphones/Tablets Sidebars untereinander stapeln */
@media (max-width: 992px) {
	.sidebar-left,
	.sidebar-right {
		float: none;
		width: 100%;
		margin: 10px 0;
	}
}
#page-footer {
	clear: both !important;
	width: 100% !important;
}

#wrap {
	max-width: 1420px !important;
}
.vinny-sidebar-content {
	min-width: 0 !important;
	flex: 1 1 auto !important;
}

#wrap {
	max-width: 1420px !important;
}

.vinny-sidebar-container {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start !important;
	gap: 15px !important;
	width: 100% !important;
	clear: both !important;
}

.vinny-sidebar-left,
.vinny-sidebar-right {
	width: 240px !important;
	min-width: 240px !important;
	flex-shrink: 0 !important;
}

.vinny-sidebar-content {
	flex: 1 1 auto !important;
	min-width: 0 !important;
}

@media (max-width: 992px) {
	.vinny-sidebar-container {
		flex-direction: column !important;
	}
	.vinny-sidebar-left,
	.vinny-sidebar-right,
	.vinny-sidebar-content {
		width: 100% !important;
		min-width: 100% !important;
	}
}

