
/* NEUER FLEXSCORE  */

.wrapper {
  display: flex;
  padding-top: 10px;
  padding-left: 10px;
}

.no-padding {
  padding: 0px !important;
}

.grid-inline-container {
  display: inline-grid;
}

.flex-grow {
  margin-top: -2px;
  flex: 1 0 40%;
}

.flex-column {
  flex-direction: column;
}

.no-portrait {
}

.portrait {
}

.column {
  display: flex;
  flex: 1;
  max-width: 50%;
}

.column-60 {
  flex-basis: 60%;
}

.column-40 {
  flex-basis: 40%;
}

.column-40-2 {
  flex: 1 1 0%;
}

.center-span {
  display: block; /* Macht das span zu einem Inline-Block */
  margin-left: auto;
  margin-right: auto;
}

.right {
  order: 2;
}

.left {
  order: 1;
}

.grid-container {
  display: grid;
}

.grid-sub {
  padding-right: 30px;
}

.row1 {
  grid-row: 1/2;
}

.row2 {
  margin-top: -3px;
  grid-row: 2/2;
}

.shadow:not(.transparent) {
  box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.5);
  transition: box-shadow 0.3s ease; /* Sanfter Übergang beim Hinzufügen/Entfernen des Schattens */
}

.row3 {
  grid-row: 3/3;
}

.row2-margin-top {
  margin-top: 10px;
}

.row3-margin-top {
  margin-top: 10px;
}

.score {
}

#starting-team-left, #starting-team-right {
  display: inline-block;
  text-align: center;
  padding: 15px;
  box-sizing: border-box; /* Stellt sicher, dass Padding zur Gesamtbreite zählt */
}

#starting-court {
  width: 100%;
}

.flex-container {
  display: flex;
}

.score div.flex-container div:not(.jersey) {
  box-sizing: content-box !important;
}

.no-overgrow {
  max-width: 100%;  /* Verhindert horizontales Überwachsen */
  max-height: 100%; /* Verhindert vertikales Überwachsen */
}

.flex-grow-2 {
  flex-grow: 1;
}

.none {
  display: none !important;
}

.flex-container-full {
  display: flex;
  width: 100%;
}

.flex-container-inline {
  display: inline-flex;
}

.substitution-container {
  min-width: 600px;
}

.mvp-container {
  min-width: 400px;
}

.flex-container-substitution-team > div {
  font-family: 'Titillium Web', sans-serif;
  font-size: 25px;
  text-transform: uppercase;
  font-weight: bold;
  margin: 0px;
  align-content: center;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 2px;
  padding-bottom: 2px;
  color: #ffffff;
}

.container-score > div {
  font-family: 'Titillium Web', sans-serif;
  font-size: 25px;
  text-transform: uppercase;
  font-weight: bold;
  margin: 0px;
  align-content: center;
  padding-left: 4px;
  padding-right: 4px;
  padding-top: 2px;
  padding-bottom: 2px;
  color: #ffffff;
}

.flex-container-ad {
  padding-top: 7px;
  margin-left: 22px;
  display: block;
  height: 40px;
  width: 290px;
}

.flex-container-ad > div {
  font-family: 'Titillium Web', sans-serif !important;
  font-size: 18px;
  margin: 0px;
  align-content: center;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  color: #ffffff;
}

.border-margin {
  margin-left: -2px !important;
}

.starting-court-animate {
  overflow: hidden; /* Wichtig, um das Pseudo-Element zu begrenzen */
}

/* Der animierte Streifen */
.stripe {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 4px;
  background-color: #ffcc00;
  animation: stripe-grow 0.5s ease-out forwards, expand-down 0.5s ease-out 0.5s forwards;
}

/* Animation: von der Mitte nach außen */
@keyframes stripe-grow {
  0% {
    width: 0;
    left: 50%;
  }
  100% {
    width: 100%;
    left: 0;
  }
}

/* Animation: von oben nach unten */
@keyframes expand-down {
  0% {
    height: 4px;
  }
  100% {
    height: 100%;
  }
}





div > .flex-team-name {
  display: flex;
  flex: 1 1 150px;
}

div > .jersey-home {
  padding: 5px;
}

div > .jersey-guest {
  padding: 5px;
}

div > .team-home {
  padding-right: 15px;
}

div > .team-guest {
  padding-right: 15px;
}

div > .set-home {
  text-align: center;
  width: 40px;
}

div > .set-guest {
  text-align: center;
  width: 40px;
}

div > .points-home {
  text-align: center;
  width: 40px;
}

div > .points-guest {
  text-align: center;
  width: 40px;
}

div > .timeout-balls {
  background-color: #3D3D3F;
  text-align: center;
  width: 140px;
}

.background-jersey {}

.grid-container:not(.portrait) .background-jersey {
  background: transparent !important;
  border-width: 0px !important;
  background-color: transparent !important;
}

.border {
  border-width: 2px;
  border-style: solid;
  border-color: #ffffff;
  box-sizing: border-box;
}

.border-bold {
  box-sizing: border-box;
  border-width: 5px;
  border-style: solid;
  border-color: #ffffff;
}

.jersey {

}

.team-name {
  padding-left: 15px;
}

.transparent {
  visibility: hidden;
}

.smart-score-logo {
  height: 30px;
  margin-top: auto;
  margin-bottom: auto;
}

.overlay-icon {
  padding-top: 10px;
  padding-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  height: 80px;
  margin-top: auto;
  margin-bottom: auto;
}

.smart-score-ad {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  /*margin: 30px;*/
}

.no-margin {
  margin-top: 1px;
  margin-bottom: 1px;
}

.margin-auto {
  margin: auto;
}

.margin-lr-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.margin-lr-small {
  margin-left: 10px;
  margin-right: 10px;
}

.margin-tb-auto {
  margin-top: auto;
  margin-bottom: auto;
}

.space-right {
  padding-right: 15px;
}

.space-left {
  padding-left: 15px;
}

.margin-right {
  margin-right: 15px !important;
}

.margin-left {
  margin-left: 15px !important;
}

.space-lr {
  padding-left: 15px;
  padding-right: 15px;
}

.space-lr-small {
  padding-left: 5px;
  padding-right: 5px;
}

.powered-by {
  margin-bottom: auto;
  margin-top: auto;
}

.place-substitution {
  position: absolute;
  margin-top: 650px;
  margin-left: 10px;
}

.place-sanction {
  position: absolute;
  margin-left: 10px !important;
  margin-top: 250px !important;
}

.place-mvp {
  position: absolute;
  margin-top: 590px;
  margin-left: 10px;
}

.place-starting-teams {
  padding-right: 15px;
  padding-top: 50px;
  padding-bottom: 50px;
}

.team-name-left {
  margin-right: 50px;
}

.team-name-right{
  margin-left: 50px;
}

.break {
  flex-basis: 100%;
  height: 0;
}

.place-starting {
  margin-top: -80px !important;
  padding-left: 0px !important;
  margin-top: 20px;
}

.starting-bench-outer {
  min-width: 250px;
}

.starting-libero-outer {
  margin-top: 30px;
  min-width: 250px;
}

.starting-grid-item {
  padding-top: 10px;
  height: 203px;
}

.grid-container.portrait .starting-row1 {
  height: 140px;
}

.starting-row1 {
  height: 100px;
}

.starting-row2 {
  height: 81px;
  margin-top: 5px !important;
}

.starting-team-name {
  margin-bottom: 30px;
}

.place-left-starting {
  min-width: 286px;
  max-width: 286px;
  margin-top: 50px !important;
  margin-bottom: auto !important;
}

.place-right-starting {
  min-width: 286px;
  max-width: 286px;
  margin-top: 50px !important;
  margin-bottom: auto !important;
  margin-left: 20px;
}

.starting-margin-left {
  margin-left: 20px;
}

.starting-court {
  height: 640px;
  width: 350px;
}

.starting-court-right {
  margin-left: -2px;
  height: 640px;
  width: 350px;
}

.flex-front-grid {
  min-height: 640px;
  max-height: 640px;
}

.flex-back-grid {
  min-height: 640px;
  max-height: 640px;
  min-width: 350px;
  max-width: 350px;
}

.grid-container.portrait .starting-player-name {
  min-width: 204px;
  max-width: 204px;

  text-align: center;
  word-wrap: break-word;
}

.starting-player-name {
  min-width: 105px;
  max-width: 165px;

  text-align: center;
  word-wrap: break-word;
}

.bench-player-name {
  max-width: 180px;
  word-wrap: break-word;
  text-align-last: right;
}

.coach-name {
  max-width: 200px;
  word-wrap: break-word;
  text-align: right;
}

.grid-container.portrait .position-width {
  display: none;
}

.grid-container.portrait .position-width-portrait {
  display: flex;
  min-width: 50px;
  height: 48.5px;
  margin-top: -2px;
}


.position-width {
  display: flex;
  min-width: 50px;
}

.grid-container:not(.portrait) .position-width-portrait {
  display: none;
}

.starting-court-front {
  height: 640px;
  width: 264px;
  margin-left: -2px;
}

.starting-bench-inner {
  min-width: 244px;
  margin-left: 3px !important;
  margin-right: 3px !important;
}

.starting-libero-inner {
  min-width: 244px;
  margin-left: 3px !important;
  margin-right: 3px !important;
  margin-bottom: 3px !important;
}

.bench-number {
  min-width: 40px;
  text-align: center;
}

.starting-coach {
  border-top: solid;
  border-color: #ffffff;
  min-height: 20px;
  min-width: 244px;
  margin-left: 3px !important;
  margin-right: 3px !important;
  margin-bottom: 3px !important;
}

.service-image-flex {
  padding-left: 15px;
  height: 20px;
  text-align: center;
  margin-top: auto;
  margin-bottom: auto;
}

.substitution-jersey {
  margin: auto;
}

.substitution-name {
  margin-top: auto;
  margin-bottom: auto;
}

.flex-container-substitution-width {
  width: 170px;
}

.col-substitution {
  padding-left: 10px;
  padding-right: 20px;
}

.substitution-icon {
  height: 35px;
  padding-right: 30px;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: auto;
  margin-right: 0px;
}


/*  ENDE FLEXSCORE */


.container-div {
  height: 1080px;
  width: 1920px;
  position: fixed;
}

.transparent {
  opacity: 0;
}

.background {
  position: fixed;
  background:#7f7f7f;
  background:rgba(0,0,0,0.6);
}

.logo-team-2 {
  content:url("../../images/default/not-defined.jpg");
  width: 100px;
  height: 100px;
}

.logo-team {
  display: flex; /* Optional, für Layout */
  justify-content: center; /* Optional */
  align-items: center; /* Optional */
  width: 100%; /* Standardfüllung */
  min-height: 125px;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 150px; /* Maximal 100px Breite */
  max-height: 150px; /* Maximal 100px Höhe */
  overflow: hidden; /* Verhindert Überlauf */
}

.player-portrait {
  display: none;
}

.grid-container.portrait .player-portrait {
  display: block;
  width: 150px; /* Standardfüllung */
  /*height: 140px;*/
  overflow: hidden; /* Verhindert Überlauf */
  text-align: center;   /* Horizontale Zentrierung */
  margin-right: 0px;
}

.grid-container.portrait img.player-portrait {
  display: block;      /* Bild wird als Block-Element behandelt */
  width: 120%;         /* Das Bild wird die Container-Breite ausfüllen */
  height: auto;        /* Seitenverhältnis des Bildes bleibt erhalten */
  object-fit: cover;   /* Bild wird skaliert und überragt den Container */
  object-position: center; /* Nur der obere Teil des Bildes wird angezeigt */
  transform: translateX(-5%);
}

img.team-logo {
  width: 100%; /* Passt die Breite an */
  height: auto; /* Beibehaltung des Seitenverhältnisses */
  max-width: 100%; /* Sicherstellen, dass es nicht größer wird */
  max-height: 100%; /* Begrenzung der Höhe */
  object-fit: cover; /* Füllt das `div`, behält Seitenverhältnis */
}

.body {
  overflow: hidden;
  margin-left: 0px !important;
  margin-top: 0px !important;
}

h1 {
  margin: 0;
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeOutAnimation {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.align-right {
  margin-left: auto !important;
  margin-right: 0 !important;
}

.align-content-right {
  justify-content: flex-end;
}

.align-content-center {
  justify-content: center; /* Zentriert horizontal */
  align-items: center; /* Zentriert vertikal */
}

.align-left {
  margin-left: 0 !important;
  margin-right: auto !important;
}

.position {
  flex: 1;
}
.align-center {
  position: absolute; /* Ermöglicht exakte Positionierung */
  left: 50%; /* Positioniert die linke Kante bei 50% */
  transform: translateX(-50%); /* Verschiebt die Mitte in die Parent-Mitte */
  width: 200px; /* Feste Breite */
  background-color: lightgreen;
  text-align: center; /* Optional: Zentriert den Text */
}


