/* -------- Menüblock Quiz mit Unterkategorien -------- */
dl.quiz-menu {
  margin: 5px 0 15px 0;
}

dl.quiz-menu dt {
  font-weight: bold;
  margin-top: 8px;
  color: #CD2626; /* gleiche Farbe wie Topnav */
}

dl.quiz-menu dd {
  margin-left: 25px;       /* stärker eingerückt */
  font-size: 10px;         /* etwas kleiner als dt */
  color: #ffffff;          /* weißer Text */
}

dl.quiz-menu dd a {
  color: #ffffff;
  text-decoration: none;
}

dl.quiz-menu dd a:hover {
  color: DarkGray;         /* Hover-Effekt */
}



/* ------------------------ ALLGEMEIN -------------------------*/
* {
    margin:0;
    padding:0;
}

.foto {position:absolute; margin-top:115px;}
.foto img { border:#000000 solid 1px; color:#CCCCCC;}
#gal {float:left; margin-left:10px; width:147px;    }
#gal a {text-decoration:none; display:block;}
#gal a:hover {color:black;}
#gal a span {display:none;}
#gal a:hover span {position:fixed; top:25px; right:25px; z-index:3; display:block;}

body {
margin:0;
background-color:black;
  background-image: url("/images/peshwebbg.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: contain;
  background-position: center top;
width:100%;
height:100%;
}

body, table, td, tr, div, p, pre, h1, h2, h3, h4, ul, a {
font-family: Verdana, Arial;
font-size: 11px;
color:#ffffff;
}

h3 {
    font-size: 20px; /* Beispiel: deutlich größer */
    font-weight: bold; /* optional */
}

h3 a {
  font-size: 24px;
  font-weight: bold;
  color:#f0f0f0;
}


img {
border:none;
}

a {
color:#ffffff;
text-decoration:none;
}

h5 {
font-size: 14px;
text-decoration: none;
color: #FFFFFF;
}

.borderbox {
    padding: 3px;
    line-height: 20px;
    background: #36648B;
}


dd { margin:1px 0 0 15px; }
dl { margin:3px 0 10px 0; }
/* --------------------- Seitenaufbau -------------------------*/

#wrapper {
width:100%;
min-height:400px;
height:auto;
margin:0 auto 0 auto;
text-align:left;
}

/*---HEADER-*/
#header_1 {
    margin:0 auto 0 auto;
    width:100%;
/*    background-color:#000000;*/
    height:10px;
    padding: 4px 0 0 0;
}
#header_2 {
    margin:0 auto 0 auto;
    width:100%;
/*    background-color:#000000; */
    height:210px
}
#topbar {
width:1200px;
margin:0 auto;
color:White;
}
#topbar_left{
    float:left;
}
#topbar_right{
    float:right;
}

#logobar{
    width:1200px;
    margin:0 auto;
}
#topnav {
width:1200px;
height:20px;
background-repeat:no-repeat;
text-align:center;
position: relative;
top: -25px;
}
#topnav ul, #topbar_left ul,#topbar_right ul{
margin:0 auto;
padding:0;
list-style:none;
}
#topnav ul li, #topbar_left ul li,#topbar_right ul li {
float:left;
}
#topnav ul li a, #topbar_left ul li a,#topbar_right ul li a {
display:block;
padding:0;
margin:0 20px 0 1px;
text-align:center;
font-size:16px;
font-weight:bold;
font-family: Trebuchet MS, Verdana;
color:#CD2626;
text-decoration:none;
}
#topnav ul li a:hover {
    color: DarkGray;
}
#topbar_left ul li a:hover,#topbar_right ul li a:hover {
    color: White;
}
#logo {
float:left;
border:none;
margin:30px 0 0 0;
}
#banner {
float:right;
height:60px;
width:468px;
background-image:url(../images/banner_bg.png);
background-repeat:no-repeat;
margin:15px 0 15px 0;
}


/*-- Page-*/
#content {
width:1200px;
margin:0 auto 0 auto;
}
#left {
float:left;
width:250px;
text-align:left;
margin:0px;
padding:0 0 4px 0;
}
#middle {
float:right;
width:940px;
margin:0px;
padding:0px;
}


/*---Footer-*/
#footer {
width:100%;
padding:4px 0 4px 0;
font-size:10px;
color:#93a9c0;
text-align:center;
}
#footer a {
font-size:10px;
color:#93a9c0;
text-decoration:underline;
}
#footer a:hover {
text-decoration:none;
}

/*-----------Tabellen---------------------------------------------------------*/
.tabellen {
    border: 1px solid #a8a8a8;
    border-spacing: 0px;
    width: 100%;
    padding: 0;
}
.tabellenhead, .tabellenhead a {
    background-color:  #265266;;
    color: #d7d7d7;
}
.tabellenbody_2 {
    background-color: #FF0000;
    padding:0px;
}
.tabellenbody_1 {
    background-color: #4F94CD;
    padding:0px;
}

.tabellenbody_0 {
    background-color: #36648B;
    padding:0px;
}

/*----------Formulare--------*/
/* Buttons und andere Form elemente -------------------------------------------- */
button {
    font-size:13px;
    font-style:normal;
    font-weight:normal;
    border:0;
    padding:1px 3px;
    cursor:pointer;
    height:20px;
}

.topbar_input {
    color: black;
    width:100px;
    height:20px;
    border: 0;
    padding: 0 0 0 3px;
}

/*   Grau   */
.color1{
    color: black;
    background: #f3f3f3;
}
/*   Gruen   */
.color2{
    color:black;
    background: #33cc66;
}
/*   Rot   */
.color3{
    color:black;
    background: #cc3333;
}
/*   Orange   */
.color4{
    color:black;
    background:  #ff9900;
}
/*   Blau   */
.color5{
    color: white;
    background:  #265266;
}
select.button{ border:0px solid   #666666; }

.leaflet-popup-content {
  color: #000;       /* Schwarzer Text */
  font-weight: normal;
}
.leaflet-popup-content b {
  color: #000;       /* Auch fettgedruckte Titel schwarz */
}
.leaflet-popup-content a {
  color: #0066cc;    /* Links blau */
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* --- Allgemeine mobile Optimierung --- */
@media (max-width: 1200px) {

  #topbar,
  #logobar,
  #topnav,
  #content {
    width: 100%;
    margin: 0;
    padding: 0 10px;
  }

  body {
    background-size: cover;
    background-position: center top;
  }

  img {
    max-width: 100%;
    height: auto;
  }
}

/* --- Tablet & Handy Layout --- */
@media (max-width: 900px) {

  /* Header */
  #header_2 {
    height: auto;
  }

  #logo {
    float: none;
    margin: 10px auto;
    display: block;
    text-align: center;
  }

  #banner {
    float: none;
    margin: 10px auto;
    display: block;
  }

  /* Navigation */
  #topnav ul li {
    float: none;
    width: 100%;
    margin: 5px 0;
  }

  #topnav ul li a {
    font-size: 18px;
    padding: 10px 0;
    display: block;
    width: 100%;
  }

  /* Layout-Spalten */
  #left,
  #middle {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  #middle {
    margin-top: 20px;
  }

  /* Galerie */
  #gal {
    width: 100%;
    margin-left: 0;
  }

  .foto {
    position: relative;
    margin-top: 10px;
  }
}

/* --- Handy (kleine Displays) --- */
@media (max-width: 600px) {

  body, table, td, tr, div, p, pre, h1, h2, h3, h4, ul, a {
    font-size: 14px;
    line-height: 1.4;
  }

  #topnav ul li a {
    font-size: 16px;
  }

  #footer {
    font-size: 12px;
    padding: 10px 0;
  }

  .borderbox {
    padding: 10px;
    line-height: 1.5;
  }
}

/* ===========================
   BURGER-MENÜ (oben rechts)
   =========================== */

/* Burger-Icon */
#burger-menu {
  display: none;
  font-size: 28px;
  color: #CD2626;
  padding: 10px;
  cursor: pointer;
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 9999;
  background: rgba(0,0,0,0.4);
  border-radius: 4px;
}

/* Mobile Ansicht */
@media (max-width: 900px) {

  /* Burger sichtbar machen */
  #burger-menu {
    display: block;
  }

  /* Linkes Menü standardmäßig verstecken */
  #left {
    display: none;
    width: 100% !important;
    background: rgba(0,0,0,0.85);
    padding: 15px;
    margin-top: 60px;
  }

  /* Linkes Menü sichtbar, wenn aktiv */
  #left.active {
    display: block;
  }

  /* Navigation im linken Menü */
  #left a {
    display: block;
    padding: 10px 0;
    font-size: 16px;
    border-bottom: 1px solid #444;
  }

  /* Content soll volle Breite nutzen */
  #middle {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 10px !important;
  }

  /* Topnav komplett ausblenden auf Handy */
  #topnav {
    display: none !important;
  }
}

/* ===========================
   GAME UI ELEMENTE
   =========================== */

.game-box {
    background: rgba(0,0,0,0.55);
    border: 1px solid #265266;
    padding: 15px;
    margin-bottom: 20px;
}

.game-title {
    font-size: 22px;
    font-weight: bold;
    color: #CD2626;
    margin-bottom: 10px;
}

.game-subtitle {
    font-size: 16px;
    font-weight: bold;
    color: #f0f0f0;
    margin: 10px 0 5px 0;
}

.game-button {
    background: #265266;
    color: #fff;
    padding: 6px 12px;
    margin: 4px;
    border: 1px solid #4F94CD;
    cursor: pointer;
}

.game-button:hover {
    background: #4F94CD;
}

.game-eventbox {
    background: #111;
    border: 1px solid #4F94CD;
    padding: 10px;
    margin-top: 15px;
    min-height: 80px;
    color: #eee;
}

.game-status {
    background: #36648B;
    padding: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #CD2626;
}

.game-list a {
    color: #ffffff;
}

.game-list a:hover {
    color: DarkGray;
}
