/* CSS Document */

:root {
  --colortheme-name: "Beautiful Blues";
  --std-bg-color:      #011f4b;
  --accent-bg-color:   #03396c;
  --second-bg-color:   #005b96;
  --third-bg-color:    #6497b1;
  --fourth-bg-color:   #b3cde0;
  --std-text-color:    #fefefe;
  --accent-text-color: #fefefe;
  --second-text-color: #fefefe;
  --third-text-color:  #fefefe;
  --fourth-text-color: #222;
  --highlight-color:   #f9e909;
  --grp-color-01: #FFC0CB; 
  --grp-color-02: #E6E6FA; 
  --grp-color-03: #FFA07A; 
  --grp-color-04: #FFA500; 
  --grp-color-05: #DCDCDC; 	
  --grp-color-06: #ADFF2F; 
  --grp-color-07: #00FFFF; 
  --grp-color-08: #FFF8DC;
}
@font-face {
   font-family: 'Pally-Regular';
   src: url('../fonts/Pally-Regular.woff2') format('woff2'),
        url('../fonts/Pally-Regular.woff') format('woff'),
        url('../fonts/Pally-Regular.ttf') format('truetype');
   font-weight: 400;
   font-display: swap;
   font-style: normal;
 }
 @font-face {
   font-family: 'Pally-Medium';
   src: url('../fonts/Pally-Medium.woff2') format('woff2'),
        url('../fonts/Pally-Medium.woff') format('woff'),
        url('../fonts/Pally-Medium.ttf') format('truetype');
   font-weight: 500;
   font-display: swap;
   font-style: normal;
 }
 @font-face {
   font-family: 'Pally-Bold';
   src: url('../fonts/Pally-Bold.woff2') format('woff2'),
        url('../fonts/Pally-Bold.woff') format('woff'),
        url('../fonts/Pally-Bold.ttf') format('truetype');
   font-weight: 700;
   font-display: swap;
   font-style: normal;
 }
 /**
 * This is a variable font
 * You can control variable axes as shown below:
 * font-variation-settings: wght 700.0;
 *
 * available axes:
 'wght' (range from 400.0 to 700.0
 */
 @font-face {
   font-family: 'Pally-Variable';
   src: url('../fonts/Pally-Variable.woff2') format('woff2'),
        url('../fonts/Pally-Variable.woff') format('woff'),
        url('../fonts/Pally-Variable.ttf') format('truetype');
   font-weight: 400 700;
   font-display: swap;
   font-style: normal;
 }
* {
   -webkit-box-sizing: border-box;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
html {
	padding: 0;
	margin: 0;
	font-family: Pally-Regular;
	font-size: 12px; /* 12px */
}
body {
	line-height: 1.2;
	padding: 0 !important;
	height: 100%;
	max-height: 100%;
	background-color: var(--std-bg-color);
	color: var(--std-text-color);
	text-wrap: pretty;
	overflow: auto;
}

.home-button {
   position: fixed; /* Bleibt an der gleichen Stelle, auch beim Scrollen */
   bottom: 20px; /* Positioniert den Button 20px vom unteren Rand */
   right: 20px; /* Positioniert den Button 20px vom rechten Rand */
   background-color: #007bff; /* Hintergrundfarbe des Buttons */
   color: white !important; /* Textfarbe */
   padding: 10px 20px; /* Innenabstand des Buttons */
   border-radius: 5px; /* Abgerundete Ecken */
   text-decoration: none; /* Unterstreichung entfernen */
   box-shadow: 2px 2px rgba(50, 50, 50, 0.5);
   z-index: 1000; /* Stellt sicher, dass der Button über anderen Elementen liegt */
 }
 
/* Optional: Stil für den Hover-Effekt */
.home-button:hover {
  background-color: #0034b3; /* Etwas dunklere Hintergrundfarbe beim Darüberfahren */
}
/* Style für die (sticky) Leiste on top  */
.headerdiv, .adminheaderdiv {
	position: sticky;
	top: 0px;
	left: 0px;
	width: 100%;
	height: fit-content;
	padding: 0;
	margin: 0;
	border: 2px solid white;
	border-radius: 10px;
	z-index: 10; /* Stellt sicher, dass der Header über anderen Elementen liegt */
}
.headerdiv {
  background-color: var(--second-bg-color);
  color: var(--second-text-color);
}
.adminheaderdiv {
  background-color: var(--fourth-bg-color);
  color: var(--fourth-text-color);
}
#headertable {
   vertical-align:top; 
   border: none; 
   width:100%;
   border-collapse: collapse;  
}
.header-buttons {
  position: relative; /* Für absolute Positionierung der Bilder */
  display: inline-block; /* Um die Größe des Containers zu begrenzen */
  width: 60px; /* Beispielbreite */
  height: 60px; /* Beispielhöhe */
  margin: 4px 8px 2px 2px;
}
.header-buttons button {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--third-bg-color);
  border: 2px solid grey;
  border-radius: 50px;
  color: white;
  padding: 5px 5px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 2rem;
  margin: 0 4px 4px 4px;
  cursor: pointer;
}
.header-buttons button:hover {
  background-color: var(--accent-bg-color);;
}
.header-buttons img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Stellt sicher, dass das Bild den Container füllt */
}

.highlight { 
  color: var(--highlight-color) !important; 
}
.accent-color {
  background-color: var(--accent-bg-color);
  color: var(--accent-text-color);
}
.second-color {
  background-color: var(--second-bg-color);
  color: var(--second-text-color);
}
.third-color {
  background-color: var(--third-bg-color);
  color: var(--third-text-color);
}
.fourth-color {
  background-color: var(--fourth-bg-color);
  color: var(--fourth-text-color);
}

.grp-color-01 {
  background-color: var(--grp-color-01);
  color: black;
}
.grp-color-02 {
  background-color: var(--grp-color-02);
  color: black;
}
.grp-color-03 {
  background-color: var(--grp-color-03);
  color: black;
}
.grp-color-04 {
  background-color: var(--grp-color-04);
  color: black;
}
.grp-color-05 {
  background-color: var(--grp-color-05);
  color: black;
}
.grp-color-06 {
  background-color: var(--grp-color-06);
  color: black;
}
.grp-color-07 {
  background-color: var(--grp-color-07);
  color: black;
}
.grp-color-08 {
  background-color: var(--grp-color-08);
  color: black;
}

.menubtn {
	border: none;
	margin: 0;
	text-align: center;
	padding: 0 10px 0 10px;
	background-color: var(--accent-bg-color);
	color: var(--accent-text-color);
	/* box-shadow: 2px 2px rgba(250, 250, 250, 0.5); */
	border-radius: 5px;
	text-decoration: none;
	display: inline-block;
	font-size: 1rem;
	font-weight: bold;
	cursor: pointer;
	width: 100%;
	height: 40px;
	transition: all 0.2s ease-in;
}
.menubtn:hover {
	font-size: 1.2rem;
	background-color: var(--fourth-bg-color);
	color: var(--fourth-text-color);
}
@media (max-width: 370px) {
      div#headermaintext {display: none;}
}
.textl {
	text-align: left !important;
}
.textr {
	text-align: right !important;
}
.textc {
	text-align: center;
}

@viewport {
  width: device-width
}

@-ms-viewport {
  width: device-width
}

div.standarddiv {
	width: fit-content;
	margin: auto;
	padding: 3px;
}

div#content {
  width: 400px;
  height: 200px;
  text-align: left;
  font-size: 14px;
  /* float:left; */
  padding: 10px;
}

div#content fieldset {
  float: left;
  padding: 10px;
}

.group:after {
  content: "";
  display: table;
  clear: both;
}

h1 {
   font-size: clamp(1rem, 4vw, 2rem);
   box-shadow: 0 0.1em 0 0 hsl(0, 0%, 50%);
	line-height: 100%;
	margin: 10px;
}
h1>img {
height: 30px; width: 30px;
display: inline;
vertical-align: middle;
}
h1>span {
display: inline;
vertical-align: middle;
}
.h1c {
    font-size: clamp(1rem, 4vw, 2rem);
    outline-style: solid;
    outline-color: var(--std-text-color);
    outline-width: 3px;
    width: fit-content;
    padding: 15px;
    margin: auto;
    margin-top: 5px;
    margin-bottom: 15px;
}

h2 {
  padding: 5px;
  color: #dddddd;
  background: hsl(255, 4%, 18%);
  box-shadow: 0.1em 0.1em 0.1em 0 hsl(0, 0%, 50%);
  font-size: 18px;
  font-weight: bold;
  font-style: italic;
}
.h2class {
  color: #dddddd;
  background: hsl(255, 4%, 18%);
  box-shadow: 0.1em 0.1em 0.1em 0 hsl(0, 0%, 50%);
  font-size: 18px;
  font-weight: bold;
  font-style: italic;
  text-align: center;
}

h3 {
  padding: 3px;
  color: #0000ff;
  font-size: 18px;
  font-weight: bold;
}

input {
  color: #000000;
}

hr {
  height: 1px;
}

.smalltxt {
  font-size: 0.65rem;
}

.big {
  font-size: 1rem !important;
  font-weight: bold;
  font-style: italic;
}

.bigger {
  font-size: 1.4rem !important;
}

.huge {
  font-size: 2rem !important;
}

/* FARBE1 FARBE2 FARBE3 FARBE4 FARBE5            */


/* 4BABC6 4F8595 186A81 79CBE3 95D1E3            */



/* Hier Apple-Skin explizit (!) */

@supports (-webkit-touch-callout: none) {
  /* CSS specific IOS Devices - This is for You, Eduard Caspers */
  .f1 {
    background-color: #549E96;
    color: #000000;
  }
  .f2 {
    background-color: #4D7772;
    color: #FFFFFF;
  }
  .f3 {
    background-color: #1B675F;
    color: #FFFFFF;
  }
  .f4 {
    background-color: #86CFC7;
    color: #000000;
  }
  .f5 {
    background-color: #99CFC9;
    color: #000000;
  }
}


/* Formatierung fuer die Anzeige der Fenstergroesse */

output {
  font-size: 0.75em;
  color: #333;
}

section {
  position: absolute;
  top: 38px;
  left: 245px;
}


/*Formatierung fuer die Link-Klasse "normal"*/

a:hover {
  color: #FFFF00;
}

a:visited {
  color: #0db854;
}


/*und die Formatierung fuerdie Link-Klasse "linkdiff"*/

a.linkdiff:link {
  background-color: var(--fourth-bg-color);
  color: var(--fourth-text-color) !important;
  text-decoration: none;
  padding: 0 10px 0 10px;
}

a.linkdiff:visited {
  color: var(--fourth-text-color) !important;
}

a.linkdiff:hover {
  background-color: var(--third-bg-color);
  color: var(--third-text-color) !important;
}

.navbtn {
  /* border: none; */
  padding: 4px 4px;
  margin-top: 5px;
  text-align: center;
  background-color: #04AA6D;
  box-shadow: 2px 2px rgba(250, 250, 250, 0.5);
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
}
.navbtn:hover {
   /* transform: translateY(2px); */
   background-color: var(--fourth-bg-color);
   color: var(--fourth-text-color);
   box-shadow: none;
}
.imagebtn {
    position: relative;
    width: fit-content;
    padding: 16px;
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(90deg, #00dbde 0%, #fc00ff 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.imagebtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}
.imagebtn:hover::before {
    left: 100%;
}
.imagebtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}
.imagebtn:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.imagebtn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.imagebtn:active::after {
    width: 300px;
    height: 300px;
}
.imagebtn img {
    width: 1.5rem;    
}
.imagebtn span {
    position: relative;
    z-index: 1;
}

.playerpicture {
  height: 60px;
  width: 60px;
}

.playerpicture2 {
  height: 40px;
  width: 40px;
}

.nobr {
  white-space: nowrap;
}

.aktuelles {
  display: block;
  background-color: #80A0ff;
  color: #000080;
  font-size: 10px;
  padding: 2px;
  line-height: 12px;
  width: 100%;
}

input[type=button]  {
  border: none;
  padding: 8px 20px;
  text-align: center;
  box-shadow: 5px 5px rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
  color: #000;
}

.rund {
  border-radius: 100%;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
}


/* "Medaillenplaetze", bevorzugt bei Ergebnislisten eingesetzt */

.MED1 {
  background-color: #C9B037 !important;
  color: #303030 !important;
  /*Goldmedaille                     */
}

.MED2 {
  background-color: #B4B4B4 !important;
  color: #303030 !important;
  /*Silbermedaille                   */
}

.MED3 {
  background-color: #AD8A56 !important;
  color: #FFFFFF !important;
  /*Bronzemedaille                   */
}

/* Style für die "Standardtabelle" */
.standardtbl {
	background-color: var(--second-bg-color);
	color: var(--second-text-color);
	/* border: 2px solid white; */
}
.standardtbl td,
.standardtbl th {
	text-align: center;
	padding: 2px 5px 2px 5px;
}
.standardtbl tbody tr:nth-child(even) { background-color: #aee5c2; color: #000000; }
.standardtbl tbody tr:nth-child(odd) { background-color: #dbe5f1; color: #000000; }	

.floatclass {
  float: left;
  width: 420px;
}

div.footer {
  background-color: var(--fourth-bg-color);
  color: var(--fourth-text-color);
  position: fixed;
  left: 0px;
  bottom: 0px;
  clear: both;
  margin-left: 2px;
  right: 0;
  font-size: 10px;
  z-index: 901;
}

.circletext {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #a1a1a1;
  text-align: center;
  margin-top: 10px;
  line-height: 22px;
}

select::-ms-expand {
  display: none;
}

thead.blackHeader th {
  background: #000;
  font-size: 11px;
  padding: 6px;
  color: white;
}

table.is_sortable thead th {
  background-color: lightgray;
  font-size: 13px;
  color: black;
}
.playername, .playernamewin, .playernameloos, .playernamedraw, 
    .playernamewinsvp, .playernameloossvp, .playernamedrawsvp {
  font-size: 1rem;
  font-weight: bold;
  span {
    font-size: 1rem;
    font-weight: normal;
    span {
      font-size: 0.8rem;
      font-weight: normal;
    }
  }
}
.playername {
  background-color: black;
  color: yellow !important;
  span {
    color: yellow !important;
    span {
      color: red !important;
    }
  }
}
.playernamewin {
  background-color: #88fdb1;
  color: black;
  span {
    color: black;
    span {
      color: red;
    }
  }
}
.playernameloos {
  background-color: #f09999;
  color: black;
  span {
    color: black;
    span {
      color: yellow;
    }
  }
}
.playernamedraw {
  background-color: cyan;
  color: black;
  span {
    color: black;
    span {
      color: red;
    }
  }
}
.playernamewinsvp {
  background-color: #41fb82;
  color:black;
  span {
    color: black;
    span {
      color: red;
    }
  }
}
.playernameloossvp {
  background-color: #f26666;
  color:black;
  span {
    color: black;
    span {
      color: yellow;
    }
  }
}
.playernamedrawsvp {
  background-color: rgb(24, 209, 209);
  color: black;
  span {
    color: black;
    span {
      color: red;
    }
  }
}
.ws,.wn,.wu,.wsp,.wnp,.wup {
  padding: 2px 5px 2px 5px;
  white-space: nowrap;
  text-align: center;
}
.PBG {
  background-color: #000000;
  color: #FFFF00;
  padding: 2px 5px 2px 5px;
  white-space: nowrap;
  text-align: left;
}
.ws {
  background-color: #88fdb1;
  color: #000000;
}
.wn {
  background-color: #f09999;
  color: #000000;
}
.wu {
  background-color: #38ebf7;
  color: #000000;
}
.wsp {  
  background-color: #48dd71;
  color: #000000;
}
.wnp {
  background-color: #d07979;
  color: #000000;
}
.wup {
  background-color: #18cbd7;
  color: #000000;
}
.wn span,.wnp span {
  color: #FFFF00;
  font-size: 0.5rem;
}
/* Zellenhintergrund bei Hervorhebung */
.ws span,.wu span,.wsp span,.wup span,.PBG span {
  color: #ff0000;
  font-size: 0.5rem;
}

.homeclub {
    background-color: #000000;
    color: #e0e000 !important;
}
.highcell {
    background-color: #000000;
    color: #e0e000 !important;
    font-size: 1.2rem !important;
    font-weight: bold;
}
.prettytable {
    width: 100%;
    /* border-collapse: collapse;  */
    border: 1px solid black;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    & thead {
      background: linear-gradient(to right, #00a0e0 0%, #0000e0 100%);
      & th  {
          color: white;
          padding: 12px;
          text-align: left;
          font-size: 1.1em;
          font-weight: 600;
          text-transform: uppercase;
          letter-spacing: 1px;
      }
    }
    & tbody tr {
      background: white;
      transition: all 0.3s ease;
    }
    & tbody tr:nth-child(even) {
      background: #ccd1d5;
    }
    & tbody tr:hover {
      background: var(--fourth-bg-color);
      color: var(--fourth-text-color);
      /* transform: scale(1.02); */
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    & tbody td {
      /* padding: 18px 20px; */
      padding: 8px 10px;
      text-align: center;
      border-bottom: 1px solid #e0e0e0;
      color: #333;
      font-size: 1em;
    }
    & tbody tr:last-child td {
      border-bottom: none;
    }
}

