/* Standard */
body {
	background-color: rgb(50, 50, 50);
	display: flex;
	flex-direction: column;
	min-height: 100dvh; /* 100% der Viewport-Höhe */
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: rgb(70, 70, 70); 
  border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: rgb(120, 120, 120); 
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgb(150, 150, 150); 
}

/* Corner */
::-webkit-scrollbar-corner {
  background-color: none;
}

h3 {
	color: white;
}

h4 {
	color: rgb(13, 110, 253);
/*	padding-left: 5px;*/
}

h5 {
	margin-bottom: 0rem;
}

hr {
	color: white;
}

/*table, th, td {
	color: white;
}*/

code {
	max-height: 70dvh;
	display: block;
}

ul.white {
	color:white;
}

ul.white.sectiontree li a {
	color:white;
}

ol.white {
	color:white;
}

ol.white.sectiontree li a {
	color:white;
}

/* CAROUSEL */
.carousel-wrapper {
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  position: relative;
}

.carousel-inner {
  width: calc(100% / 3 * 7); /* bleibt gleich */
  display: flex;
  transition: transform 0.5s ease-in-out;
  padding-top: 4%;
  padding-bottom: 7%;
}

.carousel-item-custom {
  width: calc(100% / 7); /* wird jetzt von der Wrapper-Breite bestimmt */
  flex-shrink: 0;
  text-align: center;
  transform-origin: center;
  transform: scale(0.7);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.carousel-item-custom.active {
  transform: scale(1.2);
  z-index: 2;
}

.carousel-item-custom.near {
  transform: scale(0.9);
  z-index: 1;
}

.carousel-item-custom.no-animate {
  transition: none !important;
}

.logo {
	border-radius: 18%; /* Same round border on mobile and desktop */
	padding: 5px;
}

.head {
	color: rgb(13, 110, 253);
}

.pagename {
	font-size: 25px;
}

.navbar {
	box-shadow: 0 10px 15px -5px rgba(0, 0, 0, 0.2);
}
.nav-link {
	font-size: 20px;
}

.menu {
	float: right;
	box-shadow: none;
}

/* Standard with Class */
.menu:focus {
	box-shadow: none;
}

h1.subject {
	color: white;
	text-align: center;
}

h2.subject {
	color: white;
}

p.menutext {
	color: white;
}

p.infotext {
	color: white;
}

a.menutext {
	text-decoration: none;
	color: rgb(150, 150, 150);
	outline: none;
}

a.menutext:hover {
	color: rgb(255, 255, 255);
}

/* Round button */
.btn.btn-rounded {
	border-radius: 50px;
	transition: transform 0.5s ease;
}

.btn.rotate {
	transform: rotate(180deg);
}

/* Loading Image */
.loading-image-container {
	position: relative; 
	padding-top: 56.25%; /* Bildverhaeltnis 16:9 */
}

.loading-image {
	position: absolute; 
	top: 0; 
	width: 100%; 
	height: 100%; 
	display: flex; 
	color: gray; /* Loading Color */
}

.placeholder-wave-custom {
	position: relative;
	overflow: hidden;
	background-color: rgb(190, 190, 190);
}
.placeholder-wave-custom::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	height: 100%;
	width: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 1), transparent);
	animation: wave 2s linear infinite;
}
@keyframes wave {
	0% {
		left: -100%;
	}
	50% {
		left: 0%;
	}
	100% {
		left: 100%;
	}
}

/* Beiträge nachladen */
.fade-in {
	opacity: 0; /* Start mit unsichtbar */
	transition: opacity 0.5s ease-in-out; /* Übergang für die Opazität */
}

.fade-in.visible {
	opacity: 1; /* Sichtbar, wenn die Klasse 'visible' hinzugefügt wird */
}

/* Accordion */
.accordion-button {
	color: white;
	background-color: var(--bs-gray-dark);
}

.accordion-button:focus {
	color: white;
	background-color: var(--bs-gray-dark);
	box-shadow: none;
}

.accordion-button:not(.collapsed){
	color: white;
	background-color: var(--bs-gray-dark);
	box-shadow: none;
}

.accordion-button::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' class='bi bi-chevron-compact-up' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M7.776 5.553a.5.5 0 0 1 .448 0l6 3a.5.5 0 1 1-.448.894L8 6.56 2.224 9.447a.5.5 0 1 1-.448-.894z'/%3E%3C/svg%3E");
}

.accordion-button:not(.collapsed)::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' class='bi bi-chevron-compact-up' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M7.776 5.553a.5.5 0 0 1 .448 0l6 3a.5.5 0 1 1-.448.894L8 6.56 2.224 9.447a.5.5 0 1 1-.448-.894z'/%3E%3C/svg%3E");
}

.acc2::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' class='bi bi-chevron-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3E%3C/svg%3E");
}

/* Playlist */
.playlist {
	height: 100%;
	width: 100%;
	text-decoration: none;
	overflow: hidden;
	background-color: rgb(33, 37, 41);
	box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.5);
	display: flex;
	position: relative;
	flex-direction: row;
	cursor: pointer;
	transition-duration: 500ms;
}

.playlist:hover {
	transform: scale(1.05);
}

.playlistInfo {
	max-width: 100%;
	padding-top: 0.5rem;
	padding-left: 0.5rem;
	padding-right: 1rem;
}

.description {
	text-align: justify;
	word-wrap: break-word;
/*	padding-left: 5px;*/
	color: white;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Article */
.gx-4_5 {
	--bs-gutter-x: 2rem;
}

.article {
	height: 100%;
	width: 100%;
	text-decoration: none;
	border-radius: 30px;
	background-color: rgb(33, 37, 41);
	box-shadow: 10px 10px 5px rgb(30, 30, 30);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	cursor: pointer;
	transition-duration: 500ms;
}

.noHover{
	pointer-events: none;
}

.article:hover {
	transform: scale(1.05);
}

.articleHeadline {
	color: white;
	text-align: center;
}

.HeadlineSpace {
	margin-top:0.75rem;
}

.articleInfo {
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.articleImage {
	height: 100%;
	width: 100%;
}

.articleImageHalf {
	display: block;
		margin-left: auto;
		margin-right: auto;
	height: 50%;
	width: 50%;
	min-width: 300px;
	max-width:400px; 
}

.articleImageRight {
	height:50%; 
	width:50%; 
	max-width:250px; 
	float: right;
	margin-left: 10px;
}

.articleText {
	color: white;
	text-align: justify;
}

.publisher {
	color: white;
	font-style: italic;
	float: left;
}

.date {
	color: white;
	font-style: italic;
	float: right;
}

/* Extra */
.seeMore {
	display: flex;
	justify-content: center;
	font-size: 18px;
}

.badgeInfo {
	position: absolute; 
	top: -4px; 
	right: -5px;
/*	right: 2rem; */
	z-index: 1;
}

.pagination > li > a {
		background-color: rgb(50, 50, 50);
		color: #ffffff;
}

/*.card {
	background-color: rgb(33, 37, 41);
	font-size: medium;
}*/

/* Tree-View */
.treehead {
	list-style-type: "\25B8";
	margin: 0;
	padding: 0;
}

.arrowDown {
	list-style-type: "\25BE";
}

.nested {
	list-style-type: disc;
	display: none;
}

.active {
	display: block;
}

/* Chess2 */
.playercardwhite {
	height: 50px;
		width: 100%;
	padding-top: 10px;
	padding-left: 11px;
		position: relative;
		display: grid;
	color: rgb(55, 55, 55);
		background-color: rgb(225, 225, 225);
		overflow: hidden;
		border-radius: 10px;
}

.playercardblack {
	height: 50px;
		width: 100%;
	padding-top: 10px;
	padding-left: 11px;
		position: relative;
		display: grid;
	color: rgb(200, 200, 200);
		background-color: rgb(30, 30, 30);
		overflow: hidden;
		border-radius: 10px;
}

.roundedcard {
	border-radius: 0 0 .2rem .2rem;
}

/* Footer */
.footer {
	color: rgb(13, 110, 253);
}