/* Grundlegende Einstellung, um Overflows zu verhindern */
html, body {
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

body {
  display: grid;
  grid-template-areas:
    'header header header'
    'left main right'
    'error error error'
    'footer footer footer';
  justify-content:center;
}

header { 
  grid-area: header;
  position: relative;
}

header ul ,footer ul{
  position: absolute;
}

header li , footer li{
  list-style: none;
  float: left;
}

header li a, footer li a{
  display: block;
}

nav,aside { 
  grid-area: left;
  width: auto;
  display: block;
}

aside{
  grid-area: right;
}

nav li , aside li , details#mobil_nav li{
  list-style: none;
}

nav li a , aside li a{
  display: block;
}

section { 
grid-area: main; 
gap: 10px;
}

main { 
  grid-area: error; 
}

article[name]::before {
  display: block;
  min-height: 5px;
  content: attr(name); 
  background-size: 100% 100%;
}

article[name]::after {
  display: block;
  min-height: 5px;
  content: ""; 
  background-size: 100% 100%;
}

footer{	
  grid-area: footer; 
  position: relative;
}

footer p {
  position: absolute;
}

details#mobil_nav{
  display: none;
  position: absolute;
  top: 0px; 
  right: 10px;
  color: #ffffff;
}

details#mobil_nav[open] {
  width: 100%;
  background-color: #000000;
}

details#mobil_nav h1 {
  text-align: center;
  color: aqua;
}

details#mobil_nav li a{
  display: block;
  width: 220px; 
  height: 24px;
  line-height: 24px;
  color: #ffffff;
  font-size: 14px;
  font-family:Arial;
  font-weight:bold;
  font-style:normal;
  text-align:center; 
}

details#mobil_nav li a:hover , details#mobil_nav li .selected{
  color: #00ffff;
}

#mobil_nav summary{
  float: right;
  list-style: none;
}


label {
  width: 100%;	
  margin: 10px;
  padding: 10px 0px 0px 10px;
  font-family: "Trebuchet MS",tahoma,arial,helvetica,verdana,sans-serif;
  font-weight: bold;
  color: #ffffff;
}

a[data-descr],span[data-descr]{
    position: relative;
    font-weight: bold;
    cursor: help;
    color: #ffffff;
}

a[data-descr]:hover::after,span[data-descr]:hover::after {
  content: attr(data-descr);
  position: absolute;
  right: 0px;
  top: 24px;
  min-width: 200px;
  border: 1px #aaaaaa solid;
  border-radius: 10px;
  background-color: #ffffcc;
  padding: 12px;
  color: #000000;
  font-size: 14px;
  z-index: 1;
  text-align:left; 
}

th,.th{
    color: gold;
    font-weight: bold;
    border-color: white;
}

input,select,button,textarea,.button {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

button,.button {
  background-image: linear-gradient(#C6C6C6 100%, #999999 0%);
  background-image: -webkit-linear-gradient(#C6C6C6 100%, #999999 0%);
  color: black;
  font-weight: bold;
  text-align: center;  
}

input:disabled , input[readonly] { 
   color: black;
   background-color: gray;
   border: 1px solid #ffffff;
   font-weight: bold;
}

input:required,textarea:required,input[type=file]:required { 
   background-color: #F5F6CE;
   border: 1px solid red;
}

input[type=submit],button[type=submit]{
    font-weight: bold;
}
input[type=color]{  min-height: 50px;}
input[type=radio],input[type=checkbox]{
    width: 20px;
}

.avatar {
  background-image: url(../images/avatar/no_avatar.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  background-size: 100% 100%;	
}

.container {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 10px;
  padding-top: 10px;
  text-align: center;
}

.grid_2 {grid-template-columns: auto auto;}
.grid_4 {grid-template-columns: auto auto auto auto;}
.grid_5 {grid-template-columns: auto auto auto auto auto;}

@keyframes open {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
#notice{	
	width: 300px;
	right: 10px;
	position: absolute;
	padding: 10px;
	top: 0px;
	margin-top: 0px;
	margin-right: 20px;
	margin-bottom: 0px;
	position: fixed;
	z-index: 999;
}
#notice .boxen{
  background-color: black;
  color: #ffffff;
  font-size: 14px;
  font-family: Verdana;
  font-weight: bold;
  border: 3px solid white;
  cursor    : pointer;	
  animation: blinkTextAnimation 10s infinite alternate ease;
}
  
#notice .boxen::after{
margin: 2px auto;
}
  
.scrolling_text {	  
    position:relative;
    left:130px;
    width:470px;
    height:35px;  

} 

/* Stil für die Pagination-Links */
#pagination {
  text-align:center; 
  margin: 20px;
}

#pagination a {
  margin-right: 5px;
  padding: 5px 10px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #007bff;
}

#pagination a.active , .pageElement.active {
  background-color: #007bff;
  color: #fff;
}

/* Stil für den Zurück- und Weiter-Link */
#pagination a:hover{
  color: #fff;
}


@keyframes blinkTextAnimation {
  0% {
    background-color: black;
  }

  100% {
    background-color: aqua;
  }
}

#buttons_sn img {
  border: 0px solid #000000; 
  -moz-border-radius: 17px 17px 17px 17px;
  -webkit-border-radius: 17px 17px 17px 17px;
  border-radius:17px 17px 17px 17px;
  display: block;
  }
  
  .buttons_sn{
  position:fixed; 
  top:100px;
  right:0px;
  }
  
  .buttons_sn_p{
  padding:2px
  }
  
  .background_trans table {
    background-color: rgba(0, 0, 0, 0.5);
  }

  .marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}
.marquee-text {
    display: inline-block;
    position: relative;
}