
body {
	font-size: 16px;
	/* workaround to fill up empty area below footer with footer color if not enough content */
	background-color: var(--secondary-bg-color); /*#fce7e8;*/
	color: #000;
}

h1 {
	line-height: 1.5;
	text-decoration: underline 3px;
	text-underline-offset: 7px;
}

h2, h3, h4, h5, h6 {
	color: #000;
	line-height: 1.5;
}

.sidebar {
	& > h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
		margin-top: 0;
	}
}

.navbar-inverse .navbar-brand:hover {
	color: #333;
}

.navbar-brand.active {
	/* roughly the same relations like other menu items */
	text-decoration: underline 3px;
	text-underline-offset: 7px;
}

.navbar-inverse .navbar-brand.active:hover, .navbar-inverse .navbar-brand.active:focus {
	text-decoration: underline 3px;
	text-underline-offset: 7px;
	color: #fff;
}

.wrapper {
	/* workaround to fill up empty area below footer with footer color if not enough content */
	background-color: var(--secondary-bg-color);
}

.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
	border-bottom-right-radius: 0 !important;
	border-top-right-radius: 0 !important;
}
.btn-group > .btn:last-child:not(:first-child), .btn-group > .dropdown-toggle:not(:first-child) {
	border-bottom-left-radius: 0 !important;
	border-top-left-radius: 0 !important;
}

img.pull-left {
	margin-right: 25px;
	margin-bottom: 10px;
}

.light-bg {
	background-color: #f8f8f8;
}

.blog h1 {
	margin-bottom: 6px;
}

.blog bd {
	display: inline-block;
	margin-bottom: 24px;
}

.list .sidebar {
	margin-top: 52px;
}

.list h2 {
	margin-top: 6px;
	margin-bottom: 18px;
}

@media (max-width: 992px) {
	img.pull-right, img.pull-left {
		text-align: center;
		float: none !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}

.modal {
	z-index: 1200;
}

.modal-backdrop {
	z-index: 1190;
}

/* primary: Indigo 700
 * secondary: Blue A 700
 */
a {
	color: var(--primary-color);
}
.navbar-inverse {
	background-color: var(--primary-bg-color);
}

.nav>li>a.active {
	text-decoration: underline 2px;
	text-underline-offset: 5px;
}
.nav>li>a.active:hover, .nav>li>a.active:focus {
	text-decoration: underline 2px;
	color: #fff;
}

.glyphicon {
	color: var(--primary-color);
}
.input-group .btn-primary, .input-group .btn-primary:focus, .btn-primary {
	background-color: var(--primary-color);
}

#footer {
	/*border-top: 2px solid var(--primary-bg-color);*/
	background-color: var(--secondary-bg-color); /*#fce7e8;*/
}

#footer h4 {
	color: #000;
	font-size: 16px;
}

#footer a:hover {
	color: #333;
}
#footer a {
	color: #000;
}

ul.navbar-right li a, ol.breadcrumb li {
	font-size: 14px;
}

#breadcrumbs .container .breadcrumb {
	padding-top: 10px;
}

#breadcrumbs {
	/*border-top: 1px solid #000;*/
	/*border-bottom: 2px solid var(--primary-bg-color);*/
	background-color: var(--secondary-bg-color); /* #f8f0dc;*/
}

.breadcrumb {
	background-color: inherit;
}
.breadcrumb>li:after {
	color: inherit;
	padding: 0 5px 0 9px;
}

/*@media (min-width:768px){*/
#breadcrumbs > .container {
	/* for long breadcrumbs */
	display: flex;
	align-items: center;
	flex-wrap: wrap; /* important on mobile */
}

#breadcrumbs > .container > .breadcrumb {
	flex-grow: 1;
}

article li {
	line-height: 28px;
}

.sidebar {
	margin-top: 0;
	border-left: 0;
}

.sidebar li, .sidebar p {
	font-size: 15px;
	margin-bottom: 12px;
}

.sidebar h4 {
	font-size: 16px;
}

.page article h2, .page article h3, .page article h4 {
	margin: 36px 0 12px;
}

@media (max-width: 1199px) {
	.sidebar {
		margin-top: 46px;
		margin-bottom: 12px;
		border: 2px solid #000;
		box-shadow: 3px 3px 0 #000;

		border-radius: 5px;
	}
}

.container article img, .sidebar img, .card {
	padding: 0;
	border-radius: 10px;
	border: 1px solid #000;
	box-shadow: 3px 3px 0 #000;
}

.ad {
	border: 1px solid #000;
	box-shadow: 3px 3px 0 #000;
	margin-bottom: 28px;
}

.fluidbox-opened .fluidbox-ghost, video {
	border: 1px solid #000;
	box-shadow: 3px 3px 0 #000;
	border-radius: 5px;
}

:not(.btn-group) .btn {
	border: 1px solid #000;
	border-radius: 20px;
}
/* narrow selector necessary to prevent shadow on hover in button groups */
.btn-group, :not(.btn-group) > .btn {
	box-shadow: 3px 3px 0 #000;
	border-radius: 20px;
}

/* has to be narrow to not style #sitemap-widget and link checker */
/*
article > .btn,
.sidebar > .btn,
#breadcrumbsButtons > .btn,
#domain-switch > .btn {
	border-radius: 20px;
	border: 1px solid #000;
}
article > .btn,
.sidebar > .btn,
.btn-group,
#breadcrumbsButtons:not(.btn-group) > .btn,
#domain-switch > .btn {
	box-shadow: 3px 3px 0 #000;
}
.btn-group {
	border-radius: 20px;
}
 */

#breadcrumbsButtons {
	margin-right: 15px;
	margin-left: 15px; /* important when wrapped on mobile */
	margin-top: 4px;
	margin-bottom: 4px;
}
#domain-switch {
	margin-right: 15px;
	/* necessary if breadcrumbs bar is two lines, doesn't affect size for single line */
	margin-top: 4px;
	margin-bottom: 4px;
}

blockquote {
	margin-top: 30px;
}

blockquote li {
	font-size: 16px;
}

.card {
	padding: 16px;
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	background-color: #fafafa; /* tailwind neutral 50 */
}

.card ul {
	flex-grow: 1;
	padding-left: 20px;
}

.card .card-footer {
	/*min-height: 56px;*/
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 28px;
}

.card .card-footer p:first-child {
	font-weight: bold;
}

.card .card-footer p {
	margin: 0;
	gap: 12px;
}

.page article .card > h3 {
	margin-top: 0px;
	margin-bottom: 12px;
}

.pricing {
	display: flex;
	flex-direction: row;
	gap: 30px;
	flex-wrap: wrap;
}

li > ul {
	margin-top: 6px;
}

/* Collapsible indicator for details/summary blocks used in tool sidebars */
details.sidebar {
	/* already gets border/shadow on mobile via .sidebar; keep rest minimal */
	margin-top: 0;
	margin-bottom: 12px;
	border: 1px solid #000;
	box-shadow: 3px 3px 0 #000;
	border-radius: 10px;
}
details.sidebar > summary {
	list-style: none; /* hide default bullets in some browsers */
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: #000;
	/* Improve tap targets on mobile */
	outline: none;
}

details.sidebar[open] > summary {
	margin-bottom: 12px;
}

/* Hide default marker (Chrome/Safari) */
details.sidebar > summary::-webkit-details-marker { display: none; }
/* Custom indicator */
details.sidebar > summary::before {
	content: "▸"; /* right-pointing chevron */
	display: inline-block;
	width: 1em;
	color: var(--primary-color, #3b82f6);
	transition: transform .2s ease;
}
/* When open, point down */
details.sidebar[open] > summary::before {
	content: "▾"; /* down-pointing chevron */
}
/* Hover/focus affordances */
details.sidebar > summary:hover { color: var(--primary-color, #3b82f6); }
details.sidebar > summary:focus { outline: 2px dashed var(--primary-color, #3b82f6); outline-offset: 2px; }

/* must be before media query so that it gets overwritten by media query */
.wrapper > .container .col-lg-9:first-child {
	padding-left: 25px;
}
.wrapper > .container article {
	background-color: #fff;
	border: 2px solid var(--primary-bg-color);
	border-radius: 5px;
	padding: 20px 25px;
	box-shadow: 3px 3px 0 var(--primary-bg-color);
}
.wrapper > .container {
	display: flex; /* necessary to grow main content area if smaller than sidebar, for example on contact page */
	flex-direction: column;
	padding-left: 5px;
	padding-right: 5px;
}

.toc > ul > li > ul {
	/* just one layer currently */
	padding-top: 6px;
	padding-left: 30px;
}

/* Desktop dropdown for main menu (Ressourcen) */
@media (min-width: 768px) {
	.navbar .nav > li.has-dropdown {
		position: relative;
	}
	.navbar .nav > li.has-dropdown > ul.dropdown {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 220px;
		background: #fff;
		border: 1px solid #000;
		box-shadow: 3px 3px 0 #000;
		padding: 0;
		margin-top: 0;
		z-index: 1100;
	}
	.navbar .nav > li.has-dropdown:hover > ul.dropdown,
	.navbar .nav > li.has-dropdown:focus-within > ul.dropdown {
		display: block;
		list-style-type: none;
	}
	.navbar .nav > li.has-dropdown > ul.dropdown > li {
		margin-bottom: 0;
	}
	.navbar .nav > li.has-dropdown > ul.dropdown > li > a {
		display: block;
		padding: 8px 14px;
		color: #000;
	}
	.navbar-inverse .nav > li.has-dropdown > ul.dropdown > li > a:hover,
	.navbar-inverse .nav > li.has-dropdown > ul.dropdown > li > a:focus {
		/*background: var(--secondary-bg-color);*/
		background: #f5d5e6; /* https://uicolors.app/generate/BF3F72 200 */
		color: #000;
	}

	.sidebar {
		/*padding-left: 30px;*/
		padding-top: 55px;
		padding-bottom: 55px;
	}

	.wrapper > .container {
		padding-left: 0;
		padding-right: 0;
	}
	.wrapper > .container .col-lg-9:first-child {
		padding-left: 40px;
	}
	.wrapper > .container article {
		padding: 45px 40px;
	}
}

.sidebar-left {
	display: none;
}

@media (min-width: 1200px) {
	.container {
		width: 1400px;
		max-width: 100%;
	}

	.wrapper > .container article {
		max-width: 837px;
	}

	.container .col-lg-3:first-child {
		/* 0 because padding must be on toc for scrollbar */
		padding-right: 0;
	}

	.container .col-lg-3:last-child {
		padding-left: 30px;
		padding-right: 0;
	}

	.wrapper > .container {
		flex-direction: row;
	}

	.sidebar-left {
		display: block;
	}

	.toc, .sidebar-right-container {
		position: sticky;
		top: 20px;
		max-height: calc(100vh - 40px);
		overflow: auto; /* to enable scrollbar */
		scrollbar-width: thin;
		padding-right: 30px;
	}
}

@media (max-width: 767px) {
	.navbar .nav > li.has-dropdown > ul.dropdown > li > a {
		color: #fff;
	}

	.navbar-inverse .nav > li.has-dropdown > ul.dropdown > li > a:hover,
	.navbar-inverse .nav > li.has-dropdown > ul.dropdown > li > a:focus {
		color: #fff;
	}
}

