/*=======================================
=            Frontend Styles            =
========================================*/

/* Style for the Plugin -> Found in elementor container indivual CSS */

:root {
  --oks-highlight-color: #3bb1da;
  --oks-titel-font: Arbutus, sans-serif;
  --oks-text-font: Mulish, sans-serif;
  --oks-dark-color: #222222;
}

.oks-ergebnis-calculator-single-game {
  display: flex;
  flex-direction: row;
  padding: 2rem 1rem;
  align-items: center;
  justify-content: space-around;
}

.oks-ergebnis-calculator-single-game-ergebnis-cont {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
}

.oks-ergebnis-calculator-single-game-datum {
  font-family: var(--oks-titel-font);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  color: var(--oks-highlight-color);
}
.oks-ergebnis-calculator-single-game-time {
  font-family: var(--oks-text-font);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  margin-bottom: 1rem;
  color: var(--oks-highlight-color);
}

.oks-ergebnis-calculator-single-game-time-cont {
  display: flex;
  align-items: baseline;
}

.oks-ergebnis-calculator-single-game-datum-cont {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
}

.oks-ergebnis-calculator-single-game-ergebnis-cont img {
  width: 7rem;
  height: auto;
  padding: 0 0.5rem;
}

.oks-ergebnis-calculator-single-game-dash {
  width: 4vw;
  height: 2.5px;
  background-color: var(--oks-highlight-color);
}

.oks-ergebnis-calculator-single-game-ergebnis {
  font-family: var(--oks-titel-font);
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--oks-highlight-color);
}

.oks-ergebnis-calculator-location {
  display: flex;
  color: var(--oks-dark-color) !important;
  text-decoration: none;
  gap: 0.5rem;
}

.oks-ergebnis-calculator-location:hover {
  text-decoration: underline !important;
}

.oks-ergebnis-calculator-location h4 {
  font-family: var(--oks-titel-font);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.oks-ergebnis-calculator-location svg {
  width: 2rem;
  height: auto;
  fill: var(--oks-highlight-color);
}

.oks-ergebnis-calculator-location p {
  font-family: var(--oks-text-font);
  font-size: 1rem;
  margin: 0;
  font-weight: 500;
}

.oks-ergebnis-calculator-scoreboard {
  border-collapse: collapse;
}

.oks-ergebnis-calculator-scoreboard thead {
  background: var(--oks-highlight-color);
  font-family: var(--oks-titel-font);
  color: #fff;
}

@media (max-width: 576px) {
  .oks-ergebnis-calculator-single-game {
    flex-direction: column;
    text-align: center;
  }

  .oks-ergebnis-calculator-single-game-datum {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .oks-ergebnis-calculator-single-game-ergebnis-cont {
    gap: 0.5rem;
  }

  .oks-ergebnis-calculator-single-game-dash {
    width: 0.5rem;
    height: 2px;
  }

  .oks-ergebnis-calculator-single-game-ergebnis-cont img {
    width: 3rem;
    padding: 0;
  }

  .oks-ergebnis-calculator-single-game-ergebnis {
    font-size: 1.5rem;
  }

  .oks-ergebnis-calculator-scoreboard thead tr {
    display: none;
  }

  .oks-ergebnis-calculator-scoreboard tr {
    display: block;
    margin-bottom: 1rem;
  }

  .oks-ergebnis-calculator-scoreboard th,
  .oks-ergebnis-calculator-scoreboard td {
    padding: 0.5rem;
    border: none;
    border-bottom: 1px solid #ccc;
  }

  .oks-ergebnis-calculator-scoreboard th {
    background-color: var(--oks-highlight-color) !important;
    font-family: var(--oks-titel-font);
    color: #fff;
  }

  .oks-ergebnis-calculator-scoreboard .team {
    width: 100%;
  }

  .oks-ergebnis-calculator-scoreboard .position::after {
    content: ".";
    position: absolute;
    margin-left: 2px;
  }

  .oks-ergebnis-calculator-scoreboard td {
    display: block;
    text-align: right;
  }

  .oks-ergebnis-calculator-scoreboard td::before {
    content: attr(data-title) ":";
    float: left;
    font-weight: 600;
  }
}
