/*
Author: DINX|Code
Author URI: http://www.antisiko.de
Requires at least: 1.0.0
Version: 1.0

*/

 :root {
--bs-body-bg:#222 !important;
}

body {
	background-color:#222 !important;
	color:#fff !important;
	font-size: 3rem !important;
} 

@media (min-width:768px) {
	body {
		font-size: 2.2rem !important;
	}
}

@media (min-width:992px) {
	body {
		font-size: 1.2rem !important;
	}
}


@media (max-width:768px) {
	.card-title {
	font-size: 4rem !important;
	font-weight: bold;
	}
}

/* Burger-Menü */
.navbar-toggler {
	font-size: 2.0rem !important;
	border-color: #333 !important;
}

/* ============ OFFCANVAS-MENU ============ */
.offcanvas-end {
  width: 50% !important;
}
@media (min-width: 768px) {
	.offcanvas-end {
		width: 100% !important;
	}
}
@media (min-width: 1200px) {
	.offcanvas-end {
		width: 50% !important;
	}
}
.offcanvas-header {
  padding: 2rem 2rem !important;
}
.offcanvas-header, .btn-close {
  padding: 2rem 2rem !important;
}
.offcanvas-body {
  padding: 2rem 2rem !important;
}

/* Einleitungstext */
.einleitungstext {
	column-count: 1;
	column-gap: 40px;
}
@media (min-width: 768px) {
	.einleitungstext {
		column-count: 1;
	}
}
@media (min-width: 1200px) {
	.einleitungstext {
		column-count: 3;
	}
}

/* Header */
@media (min-width:480px) {
	.navbar-brand img {
		height: 100px;
		margin-top: 10px;}
	.navbar-toggler {
		font-size: 3.5rem !important;}
	.carousel {
		margin-top: 50px !important;
	}
}

/* Social-Media Icons */
@media (min-width: 576px) {
.socialicons {
	object-fit: contain;
	aspect-ratio: 1 / 1;
	padding: 14px;
	height: 100px;
	width: 100px;
	box-sizing: border-box;
	}	
}
@media (min-width: 1200px) {
.socialicons {
	object-fit: contain;
	aspect-ratio: 1 / 1;
	padding: 4px;
	height: 50px;
	width: 50px;
	box-sizing: border-box;
	}
}

/* Überschrift Abstand */
#ueberschrift-1 {
	margin-bottom: 1.5rem !important;
}

.section-title {
	margin-bottom: 20px !important;
}

.news-heading {
	padding-top: 150px;
}

@media (max-width: 479px) {
	.news-heading {
		padding-top: 240px;
	}
}

.news-content {
	padding-top: 0;
}

.news-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.news-header .section-title {
	margin: 0 !important;
	text-align: left;
}

.news-filters {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	gap: 1rem;
	margin: 0;
}

.news-filters .form-check {
	margin: 0;
	white-space: nowrap;
}

.news-filters .form-check-label {
	font-size: 1rem;
}

.press-switch {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	white-space: nowrap;
}

.press-switch .form-check-input {
	position: relative;
	appearance: none;
	float: none;
	width: 2.5em;
	height: 1.25em;
	margin: 0;
	padding: 0;
	border: 1px solid #90a4ae;
	border-radius: 1.25em;
	background: #455a64;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}

.press-switch .form-check-input::before {
	position: absolute;
	top: 50%;
	left: .1em;
	width: .9em;
	height: .9em;
	border-radius: 50%;
	background: #fff;
	content: '';
	transform: translateY(-50%);
	transition: transform .15s ease;
}

.press-switch .form-check-input:checked {
	border-color: #ef5350;
	background: #b71c1c;
}

.press-switch .form-check-input:checked::before {
	transform: translate(1.25em, -50%);
}

.press-switch .form-check-label {
	display: inline-block;
	margin: 0;
}

.news-search {
	width: min(100%, 360px);
}

.news-search .news-search-button {
	display: inline-flex;
	min-width: 48px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	border: 1px solid #90a4ae !important;
	border-radius: 0 .375rem .375rem 0 !important;
	background-color: #333 !important;
	color: #fff !important;
}

.news-search-icon {
	width: 1.25rem;
	height: 1.25rem;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.news-search .news-search-button:hover,
.news-search .news-search-button:focus-visible {
	border-color: #fff !important;
	background-color: #fff !important;
	color: #222 !important;
}

@media (max-width: 575px) {
	.news-header {
		flex-direction: column;
		align-items: stretch;
		gap: .75rem;
	}

	.news-header .section-title {
		text-align: center;
	}

	.news-filters {
		flex-direction: column;
		align-items: stretch;
		gap: .75rem;
	}

	.news-search {
		width: 100%;
	}

	.news-filters .form-check-label {
		font-size: 1rem;
	}

	.press-switch {
		align-self: flex-start;
		min-height: 44px;
	}

	.press-switch .form-check-input {
		width: 3em;
		height: 1.5em;
	}

	.press-switch .form-check-input::before {
		width: 1.1em;
		height: 1.1em;
	}

	.press-switch .form-check-input:checked::before {
		transform: translate(1.5em, -50%);
	}

	.news-search .form-control,
	.news-search .news-search-button {
		min-height: 48px;
	}

	.news-search .form-control {
		font-size: 16px;
	}
}

.card {
	border-radius: 7px !important;
}

.card-img-top {
	border-radius: 7px 7px 0 0 !important;
}

.rounded-start {
	border-top-left-radius: 7px !important;
	border-bottom-left-radius: 7px !important;
}

.news-card {
	color: inherit;
	border: 1px solid #333;
	transition: transform 0.2s ease;
}

.news-card:hover {
	transform: scale(1.02);
}

.news-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 24px;
}

.news-pagination a {
	padding: 8px 12px;
	color: #fff;
	text-decoration: none;
	border: 1px solid #fff;
	border-radius: 4px;
}

.news-pagination a:hover,
.news-pagination a.active {
	color: #222;
	background-color: #fff;
}

#selbstverstaendnis, #programm, #position {
	scroll-margin-top: 140px;
}

/* Button */
@media (min-width: 1200px) {
	.btn {
		font-size: 1.5rem !important;
	}
}

.footerspenden {
	font-size: inherit;
	line-height: inherit;
}

/* Footer-Navi */
@media (min-width: 576px) {
	.footernavi {
		font-size: 2.8rem !important;
		font-weight: tiny !important;
	}
}
@media (min-width: 992px) {
	.footernavi {
		font-size: 1.5rem !important;
	}
}

/* Footer-Headline */
.footerheadline {
	margin-top: 30px;
}

/* Button */
.btn-primary a{
	color: #222 !important;
	background-color: #fff !important;
}
.btn-primary a:hover{
	color: #222 !important;
	background-color: #fff !important;
}

.btn {
	border-radius: 25px !important;
	color: #222 !important;
	background-color: #fff !important;
}

.btn-modal {
	color: #fff !important;
	background-color: #222 !important;
	margin: 30px 0px;
}

.modal-body {
	text-align: left !important;
	padding: 2rem !important;
}

.modal-body a{
	color: #000;
	text-decoration: underline;
}

h3 {
	text-align:left !important;
}

.rounded-pill {
	background-color:#fff !important;
	border: solid 1px #111 !important;
}

.progress-bar {
	background-color:#222 !important;
}

.form-check-input:checked {
  background-color: #222;
  border-color: #222;
}

.alert-info {
  color: #000;
  background-color: #eee;
  border-color: #ddd;
}


@media (max-width: 576px) {
  .progress {
    height: 36px !important;
  }

  .progress-bar {
	font-size: 2.9rem !important;
    line-height: 36px !important;
  }
}

.chronik-card-text {
	max-height: 9em;
	overflow: hidden;
	hyphens: auto;
	line-height: 1.5;
}

.aktuelles-card-text {
	max-height: 4.5em;
	overflow: hidden;
	hyphens: auto;
	line-height: 1.5;
}

.sign-form-frame {
	display: block;
	width: 100%;
	height: 760px;
	border: 0;
}

.aktuelles-card-text > * {
	margin: 0;
	hyphens: auto;
}

.modal-body .display-5 {
	color: #fff;
	background-color: #222;
	border-radius: 10px;
	padding-left: 10px;
	margin-bottom: 10px;
}

.modal-body h1,
.modal-body h2,
.modal-body h3,
.modal-body h4,
.modal-body h5,
.modal-body h6 {
	text-align: left !important;
}

.aktuelles-card-text h1,
.aktuelles-card-text h2,
.aktuelles-card-text h3,
.aktuelles-card-text h4,
.aktuelles-card-text h5,
.aktuelles-card-text h6 {
	font-size: inherit;
	line-height: inherit;
}

.selbstverstaendnis-vorschau {
	display: -webkit-box;
	line-clamp: 3;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	hyphens: auto;
}

@media (min-width: 992px) {
	.hauptteil,
	.aktuelles {
		display: flex;
		flex-direction: column;
		height: 100%;
	}

	.hauptteil .card {
		height: 100%;
	}

	.aktuelles .news-more-card {
		margin-top: auto;
		min-height: 112px;
	}
}

.news-more-card {
	background: #111;
	color: #fff;
	width: 100%;
	margin-top: 0 !important;
}

.news-more-card:hover {
	transform: scale(1.01);
	color: #fff;
}

.badge {
	border: solid 1px #fff !important;
}

.donation-btn {
	display: block;
	margin: 0 auto;
	color: #111 !important;
	background-color: #eee;
	border-radius: 35px;
	border: solid 1px #111;
	padding: 5px 50px;
	text-align: center;
	font-size: 1.5rem !important;
}

.donation-btn:hover {
	color: #fff !important;
	background-color: #222;
}
