/* 
** CSS fuer Newsbox2.0
** Autor/Copyright: Kellhammer, Tobias
** tobikell@web.de
** 07.11.2026
** Version 2.0.1
*/

html, body {
    scroll-behavior: smooth;
}

details {
	
	grid-column: 2 / 3;
	height: min-content;
	transition: all .5s;
    margin-bottom: 8px;
    border: var(--svh-element-background) 1px solid;
}

summary {
	position: relative;
	line-height: 125%;
	padding: 0.8em 3em 0.8em 1em;
  	background: var(--svh-element-background);
    list-style:	none;
 	font-weight: 500;
}

summary:hover{
  background: white;

}

summary::marker {
	color: transparent;
}

summary::after {
	width: 1rem;
	height: 1em;
	position: absolute;
	top: 30%;
	right: 1em;
	color: green;
	content: '+';
	font-size: 2em;
	font-weight: bold;
	text-align: right;
	transition: transform .2s;
}

details[open] summary::after {
	transform: translate(5px, 0) rotate(45deg);
	color: red;
}

details[open] summary {
	background:  var(--svh-element-background);
}

details[open] summary:hover{
  background: white;

}

.sprung {visibility: hidden; height: 0px !important; position: absolute; margin-top: -100px;}


.LinkButton {
	
    position: relative;
	line-height: 125%;
	padding: 0.8em 3em 0.8em 1em;
  	background: var(--svh-element-background);
    margin-bottom: 8px 0 0 0;
    width: 100%;
    border: rgb(242,232,232) 1px solid;
}

.LinkButton:hover{
  background: white;

}

.LinkButton::after {
	width: 1rem;
	height: 1em;
	position: absolute;
	top: 30%;
	right: 1em;
	color: green;
	content: '+';
	font-size: 2em;
	font-weight: bold;
	text-align: right;
	transition: transform .2s;
}

.Linknormal{
  font-weight: normal;
  
}




.Bericht {
  background: var(--svh-background);
  position: relative;
  width: 95%;
  text-align: left;
  border-radius: 8px 8px 0 0;
  border: var(--svh-rahmen) 1px solid;
  margin: 0px auto;
  padding: 8px 8px 8px 8px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  hyphens: none; 
}

.Ueberschrift {
  color: var(--svh-ueberschrift);
  text-align: center;
  font-size: var(--svh-ueberschrift-groesse,200%);
  padding-bottom:16px;
  padding-top: 8px;
  line-height: 130%;
  font-weight: bolder;
}

.Unterueberschrift {
  color: var(--svh-ueberschrift);
  text-align: left;
  font-size: 130%;
padding:  8px 8px 8px 0;
}

.BildBericht {
  flex: 1 1 0%;
  min-width:300px;
  width:100%;
  overflow:hidden;
}

.Spieler {
  background: var(--svh-background);
  position: relative;
  width: 100%;
  text-align: center;
  border-radius: 0 0 0 0;
  border: none;
  margin: 0px auto;
  padding: 0 0 0 0;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  hyphens: none; 
  align-items : flex-end
}

.Einzelspieler {
  flex: 1 1 0%;
  min-width:0px;
  height: 100%;
  overflow:hidden;
  border-radius: 0 0 0 0;
  border: none;
  align-items : flex-end
    max-width: 75px;
}

.TextBericht {
  flex: 3 1 0%;
  padding-left: 25px;
  padding-right: 8px;
   hyphens: none; 
  //max-width:600px;
  
}

.Textfont{}

.Textfont::first-letter {
	color: rgb(250,240,240);
	background-color: rgb(105,105,105);
	font-size: 100%;
	float: left;
	line-height: 0.8em;
	font-weight: bold;
	padding: 0.2em 0.2em 0.2em 0.2em;
	margin: 0.2em 0.2em 0 0;
    border-radius: 0.2em 0.2em 0.2em 0.2em;
	font-family:  cursive;
    text-transform: capitalize;
}

.Hauptbild img{
  max-width: 400px;
  text-align:center;
  display: block;
  margin-bottom: 8px;
  border-radius : 6px;
  border-top: 1px solid var(--svh-rahmen);
  border-left: 1px solid var(--svh-rahmen);
}

.Einzelspieler img{
  width:100%;
  text-align:center;
  display: block;
  margin: auto;
  align-items : flex-end
}

.Einzelspieler:hover {
  flex: 1 1 50%;
   max-width: 125px;
}

.Einzelspieler img:hover{
 
  
}

.TextBericht img{
  max-width:540px;
 
  text-align:center;
  display: block;
  margin: 4px 8px 4px 0;
  border-radius : 6px;
  
  
}

.Footbar{
  background: var(--svh-background);
  position: relative;
  width: 95%;
  text-align: block;
  border-radius:0 0 8px 8px;
  border: var(--svh-rahmen) 1px solid;
  margin:0px auto;
  padding: 8px 8px 8px 8px;
  display: flex;
  flex-wrap: no-wrap;
  align-content: center;
  border-top-style: none;
  font-size: 75%;
  
}

.Footbarlinks{
text-align: center;
flex: 1 1 0%;
  margin-top:auto;
  margin-bottom:auto;
}

.Footbarmitte{
text-align: center;
flex: 1 1 0%;
border-right: var(--svh-rahmen) 1px solid;
border-left: var(--svh-rahmen) 1px solid;
  margin-top:auto;
  margin-bottom:auto;
}

.Footbarrechts{
text-align: center;
flex: 1 1 0%;
  margin-top:auto;
  margin-bottom:auto;
}

.Headbar{
  background: white;
  position: relative;
  width: 90%;
  text-align: block;
  border-radius: 8px 8px 0 0;
  border: none;
  margin: 0px auto;
  padding:0 8px 0 8px    ;
  display: flex;
  flex-wrap: no-wrap;
  align-content: center;
  font-size: 120%;
}

.HeadbarmitText{

  text-align: center;
  flex: 1 1 0%;
  border-right: var(--svh-rahmen) 1px solid;
  border-left: var(--svh-rahmen) 1px solid;
  border-bottom: grey 1px solid;
  background: var(--svh-rahmen);
  color: var(--svh-background);
  border-radius: 8px 8px  0 0 ;
  font-weight: 100;
}

.HeadbarLeer{
  text-align: center;
  flex: 1 1 0%;
}



.NavBox {
  background: var(--svh-background);
  position: relative;
  width: 95%;
  
  border-radius: 8px 8px 8px 8px;
  border: var(--svh-rahmen) 1px solid;
  margin: 0px auto;
  padding: 8px 8px 8px 8px;

}


.NavFlex{
  background: var(--svh-element-background);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
 hyphens: auto; 
  border-radius: 8px 8px 8px 8px;
   margin: 3px 0px 3px 0px;
  

}

a:hover{
   text-decoration:none;  
}

.NavFlex:hover{
  background: white;

}

.NavSpieltag {
  flex: 1 1 0%;
  color: var(--svh-ueberschrift);
  text-align: right;
  font-weight: bold;
  align-items: center;
 
 }

.NavBegegnung {
   flex: 1 1 0%;
  color: blue;
  text-align: center;
  font-weight: 100;
  margin-right: 10px;
  margin-left: 10px;
align-items: center;
   
 }

.NavTitel {
   flex: 1 1 0%;
  color: black;
  text-align: left;
 font-weight: 100;
  align-items: center;
 }

.NavNew {
   color: red;  
  font-weight: bold;
 }

.Nummer {
  font-weight: bold;
  display: inline-block;
  color: var(--svh-background);
  background: var(--svh-rahmen);
  border-radius: 50%;
  width: 1.4em;
  height: 1.1em;
  text-align: center;
  //vertical-align: middle;
  font-size: 130%;
  opacity: 60%;
}

  @media screen and (max-width: 500px){
    .NavBegegnung {
  text-align: center;
      min-width:300px;
      line-height: 60%;
      
	 }
    
    .NavTitel {
  text-align: center;
      min-width:300px;
      line-height: 100%;
      padding-bottom: 4px;
	 }
    .NavSpieltag {
  text-align: center;
      min-width:300px;
      line-height: 60%;
     padding-top:8px;
	 }
    
    
    .NavNew {
      line-height: 100%;
     	 }
  }

.spielertext {
  visibility: hidden;
  
  background-color: var(--svh-background);
  color: black;
  text-align: center;
  padding: 0;
  border: var(--svh-rahmen) solid 1px;
  border-radius: 6px 6px 6px 6px;
   
  width: 100%;
 height: 0px;
  
  /*margin-left: -37px; /* Use half of the width (120/2 = 60), to center the tooltip */
  margin-top: 0px;
  /* Position the tooltip text - see examples below! */
  position: relative;
  z-index: 1;
}

/* Tooltip container */


.spielertext::afterr {
  content: " ";
  position: absolute;
  bottom: 100%;  /* At the top of the tooltip */
  left: 100%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent var(--svh-rahmen) transparent;
}
  
  /* Show the tooltip text when you mouse over the tooltip container */
.Einzelspieler:hover .spielertext {
  visibility: visible;
  height: 100%;
}


