/* =========================================================
   RP-PORTAL WIKI
   ========================================================= */

.wiki-portal {
	width: 100%;
	font-family: 'Droid Sans', sans-serif;
	font-size: 13px;
}


/* =========================================================
   HEADER
   ========================================================= */

.wiki-portal-titlebar {
	display: flex;
	align-items: center;
	justify-content: space-between;

	min-height: 42px;

	box-sizing: border-box;

	text-transform: none !important;
}

.wiki-portal-titlebar > div:first-child {
	display: flex;
	align-items: center;
	gap: 12px;
}

.wiki-portal-titlebar strong {
	color: #ffffff !important;

	font-size: 15px;
	font-weight: bold;

	text-shadow: none !important;
}

.wiki-portal-titlebar span {
	color: #888888;

	font-size: 11px;

	text-shadow: none !important;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.wiki-portal-actions {
	display: flex;
	align-items: center;
	gap: 7px;
}

.wiki-button,
.wiki-button:link,
.wiki-button:visited {
	display: inline-block;

	padding: 7px 11px;

	background: #111111;

	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;

	border: 1px solid #3a3a3a;
	border-radius: 3px;

	text-decoration: none;

	box-shadow: none !important;
	text-shadow: none !important;

	font-weight: bold;
}

.wiki-button:hover {
	background: #181818;

	border-color: #505050;
}


/* =========================================================
   TOP GRID
   ========================================================= */

.wiki-portal-top {
	display: grid;

	grid-template-columns:
		minmax(0, 1fr) 260px;

	gap: 20px;

	margin-top: 18px;

	align-items: start;
}


/* =========================================================
   SECTION HEAD
   ========================================================= */

.wiki-section-heading,
.wiki-list-heading {
	display: flex;

	align-items: center;
	justify-content: space-between;

	margin-bottom: 10px;

	padding-bottom: 7px;

	border-bottom: 1px solid #292929;
}

.wiki-section-heading strong,
.wiki-list-heading strong {
	color: #ffffff;

	font-size: 14px;

	text-shadow: none;
}

.wiki-section-heading span,
.wiki-list-heading span {
	color: #777777;

	font-size: 11px;

	text-shadow: none;
}


/* =========================================================
   CATEGORY CARDS
   ========================================================= */

.wiki-category-grid {
	display: grid;

	grid-template-columns:
		repeat(2, minmax(0, 1fr));

	gap: 10px;
}

.wiki-category-card,
.wiki-category-card:link,
.wiki-category-card:visited {
	display: flex;

	align-items: center;

	gap: 12px;

	min-height: 58px;

	padding: 11px 13px;

	background: #181818;

	border: 1px solid #292929;

	border-radius: 3px;

	text-decoration: none;

	box-sizing: border-box;

	transition:
		background .15s ease,
		border-color .15s ease;
}

.wiki-category-card:hover {
	background: #1d1d1d;

	border-color: #444444;
}


/* Icon */

.wiki-category-icon {
	display: flex;

	align-items: center;
	justify-content: center;

	width: 36px;
	height: 36px;

	min-width: 36px;

	background: #101010;

	color: #ffffff !important;

	border: 1px solid #333333;

	border-radius: 50%;

	font-size: 15px;
	font-weight: bold;

	text-shadow: none !important;
}


/* Kategorie-Inhalt */

.wiki-category-info {
	flex: 1;

	min-width: 0;
}

.wiki-category-info strong {
	display: block;

	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;

	font-size: 13px;

	text-shadow: none !important;
}

.wiki-category-info small {
	display: block;

	margin-top: 3px;

	color: #777777 !important;
	-webkit-text-fill-color: #777777 !important;

	font-size: 11px;

	text-shadow: none !important;
}

.wiki-category-count {
	color: #999999 !important;

	font-size: 12px;

	text-shadow: none !important;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.wiki-sidebar-box {
	margin-bottom: 14px;

	background: #181818;

	border: 1px solid #292929;
}

.wiki-sidebar-title {
	padding: 9px 11px;

	background: #151515;

	color: #ffffff;

	border-bottom: 1px solid #292929;

	font-weight: bold;

	text-shadow: none;
}


/* Kategorien rechts */

.wiki-sidebar-categories a {
	display: flex;

	align-items: center;
	justify-content: space-between;

	padding: 8px 11px;

	border-bottom: 1px solid #242424;

	color: #cccccc !important;
	-webkit-text-fill-color: #cccccc !important;

	text-decoration: none;

	text-shadow: none !important;
}

.wiki-sidebar-categories a:last-child {
	border-bottom: none;
}

.wiki-sidebar-categories a:hover {
	background: #1d1d1d;

	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

.wiki-sidebar-categories strong {
	color: #777777;

	font-size: 11px;

	text-shadow: none;
}


/* Wiki Statistik */

.wiki-sidebar-info {
	padding: 14px;

	text-align: center;
}

.wiki-sidebar-info strong {
	display: block;

	color: #ffffff;

	font-size: 24px;

	text-shadow: none;
}

.wiki-sidebar-info span {
	display: block;

	margin-top: 4px;

	color: #777777;

	font-size: 11px;

	text-shadow: none;
}


/* =========================================================
   A-Z NAVIGATION
   ========================================================= */

.wiki-alpha-nav {
	display: flex;

	flex-wrap: wrap;

	gap: 4px;

	margin: 20px 0;

	padding: 10px;

	background: #151515;

	border: 1px solid #292929;
}

.wiki-alpha-nav a,
.wiki-alpha-nav span {
	display: flex;

	align-items: center;
	justify-content: center;

	width: 29px;
	height: 29px;

	box-sizing: border-box;

	border: 1px solid #333333;

	border-radius: 3px;

	font-size: 11px;

	text-decoration: none;

	text-shadow: none !important;
}

.wiki-alpha-nav a {
	background: #181818;

	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

.wiki-alpha-nav a:hover {
	background: #222222;

	border-color: #555555;
}

.wiki-alpha-nav span {
	background: #101010;

	color: #444444;
}


/* =========================================================
   ALPHABETISCHE ARTIKELLISTE
   ========================================================= */

.wiki-alpha-grid {
	display: grid;

	grid-template-columns:
		repeat(3, minmax(0, 1fr));

	gap: 18px;
}

.wiki-alpha-group {
	min-width: 0;
}

.wiki-alpha-group h2 {
	margin: 0 0 7px 0;

	padding-bottom: 5px;

	color: #ffffff;

	border-bottom: 1px solid #333333;

	font-size: 18px;

	text-shadow: none;
}


/* einzelner Artikel */

.wiki-portal-article,
.wiki-portal-article:link,
.wiki-portal-article:visited {
	display: block;

	padding: 7px 5px;

	border-bottom: 1px solid #242424;

	text-decoration: none;

	text-shadow: none !important;
}

.wiki-portal-article:hover {
	background: #181818;
}

.wiki-portal-article strong {
	display: block;

	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;

	font-size: 13px;

	text-shadow: none !important;
}

.wiki-portal-article small {
	display: block;

	margin-top: 2px;

	color: #777777 !important;
	-webkit-text-fill-color: #777777 !important;

	font-size: 10px;

	text-shadow: none !important;
}


/* Links des letzten Bearbeiters */

.wiki-portal-article small a {
	color: #aaaaaa !important;
	-webkit-text-fill-color: #aaaaaa !important;

	text-shadow: none !important;
}


/* =========================================================
   EMPTY
   ========================================================= */

.wiki-portal-empty {
	grid-column: 1 / -1;

	padding: 35px;

	background: #181818;

	color: #777777;

	border: 1px solid #292929;

	text-align: center;

	text-shadow: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 1000px) {

	.wiki-portal-top {
		grid-template-columns: 1fr;
	}

	.wiki-category-grid {
		grid-template-columns: 1fr;
	}

	.wiki-alpha-grid {
		grid-template-columns:
			repeat(2, minmax(0, 1fr));
	}

}


@media screen and (max-width: 650px) {

	.wiki-alpha-grid {
		grid-template-columns: 1fr;
	}

	.wiki-portal-titlebar {
		align-items: flex-start;
		flex-direction: column;

		gap: 10px;
	}

}