/* Simplified and organized CSS for tipping page */

/* Global Styles */
body {
  font-family: 'Open Sans', sans-serif;
  color: #383838;
}

/* Layout Containers */
.row {
  display: block;
  width: 100%;
  max-width: 850px;
  height: 5.8em;
  text-align: center;
  background-color: #f2f5f9;
  border-bottom: 1px solid grey;
  overflow: hidden;
}

.admin {
  height: 8.8em;
  border-bottom: 1px solid grey;
  background-color: #f5f5f5;
}

.picker {
  display: block;
  width: 100%;
  height: 4em;
  text-align: center;
}

.shootout {
  height: 230px;
}

.form-shootout {
  max-width: 700px;
}

.realcomplinks {
  display: flex;
  justify-content: center; /* Horizontally center */
  align-items: center; /* Vertically center (optional, if div has height) */
  margin-right :  25%;
}


/* Game Information */
.game-type-main {
  height: 2em;
  padding: 3px;
  border-top: 2px solid grey;
  border-bottom: 2px solid grey;
  background-color: lightblue;
  font-weight: bold;
  text-align: center;
}

.game-type-other {
  height: 2em;
  padding: 2px 3px;
  border-top: 2px solid grey;
  border-bottom: 2px solid grey;
  background-color: orange;
  font-weight: bold;
  text-align: center;
}

.game-date {
  height: 2em;
  padding: 2px 3px;
  border-top: 2px solid grey;
  border-bottom: 2px solid grey;
  background-color: rgb(43, 118, 128);
  color: #fffcfc;
  font-weight: bold;
  text-align: left;
}

.stadium {
  font-size: 10px;
  color: #292d33;
  text-align: left;
  height: 15px;
  vertical-align: middle;
}

/* Tipping Elements */
.tipping-square {
  width: 90px;
  height: 14px;
  border: 0.5px solid black;
  font-size: 10px;
  padding-top: 2px;
  background: linear-gradient(to right, transparent 0%, transparent calc(50% - 0.81px), darkgrey calc(50% - 0.8px), darkgrey calc(50% + 0.8px), transparent calc(50% + 0.81px), transparent 100%);
  background-color: grey;
}

.tipping-bar {
  width: 0;
  height: 0;
  margin: 0 auto;
  border-left: 5px solid transparent;   /* Left slant, transparent to form the side */
  border-right: 5px solid transparent;  /* Right slant, transparent to form the side */
  border-top: 7px solid #000;           /* Top base, solid color for the triangle */
  border-bottom: 0;                     /* No bottom border needed */
}

.tipping-selector {
  text-align: right;
}

.tipping-selector-mid {
  text-align: center;
  vertical-align: middle;
}

.tipping-selector-right {
  text-align: left;
  padding-left: 0;
}

.tip-home {
  border-right: 1px solid white;
  height: 100%;
  text-align: right;
  text-overflow: ellipsis;
}

.tip-draw {
  font-size: 12px;
  border-left: 1px solid white;
  border-right: 1px solid white;
  height: 100%;
  text-align: center;
  vertical-align: middle;
}

.tip-draw-2 {
  font-size: 12px;
  font-weight: bold;
  text-decoration: underline;
  height: 100%;
  text-align: center;
  vertical-align: middle;
}

.tip-draw-1, .tip-draw-3 {
  visibility: hidden;
}

.tip-away {
  border-left: 1px solid white;
  border-right: 1px solid white;
  height: 100%;
  text-align: left;
  text-overflow: ellipsis;
}

/* Results and Status Indicators */
.results {
  border-right: 1px solid white;
  height: 100%;
  text-align: center;
  vertical-align: middle;
}

.results-lock {
  background-color: #F0C122;
  border-right: 1px solid white;
  height: 100%;
  display: flex;
  justify-content: center; /* Horizontally center */
  align-items: center; /* Vertically center (optional, if div has height) */
}

.results-win {
  background-color: #99C440;
  border-right: 1px solid white;
  height: 100%;
  display: flex;
  justify-content: center; /* Horizontally center */
  align-items: center; /* Vertically center (optional, if div has height) */
}

.results-lose {
  background-color: #E61E25;
  border-right: 1px solid white;
  height: 100%;
  display: flex;
  justify-content: center; /* Horizontally center */
  align-items: center; /* Vertically center (optional, if div has height) */

}

.ready {
  padding: 0.7em 0 0 3px;
  color: green;
  font-size: 0.8em;
  text-align: center;
  vertical-align: middle;
}

.glyphicon-lock {
  color: black;
  font-size: 1.3em;
  position: relative;
  top: calc(50% - 10px);
  vertical-align: middle;
}

.glyphicon-ok {
  color: limegreen;
  font-size: 1.7em;
  position: relative;
  top: calc(50% - 10px);
  vertical-align: middle;
}

.glyphicon-remove {
  color: red;
  font-size: 1.3em;
  position: relative;
  top: calc(50% - 10px);
  vertical-align: middle;
}

/* Logos and Images */
.logo {
  overflow: visible;
  position: relative;
  height: 100%;
  border-color: white;
}

.logo-img {
  position: relative;
  margin: 0 auto;
  transform: scale(0.5);
  filter: drop-shadow(10px 8px 5px #222);
  left: 20px;
  top: -30px;
}

.logo-img-right {
  position: relative;
  margin: 0 auto;
  transform: scale(0.5);
  filter: drop-shadow(10px 8px 5px #222);
  left: -30px;
  top: -30px;
}

.logo-img-small {
  max-height: 40px;
  margin: 0;
  position: relative;
  top: 0;
}

.logo-img-small-win {
  max-height: 40px;
  border-radius: 85%;
  background-color: white;
  box-shadow: 0 0 3px 3px rgb(124, 252, 0), 0 0 13px 10px rgb(124, 252, 0);
}

.logo-img-small-lose {
  max-height: 40px;
  opacity: 0.6;
  border-radius: 85%;
  background-color: white;
  box-shadow: 0 0 3px 3px rgb(255, 90, 90), 0 0 13px 10px rgb(255, 90, 90);
}

.logo-img-small-na {
  max-height: 40px;
  filter: drop-shadow(0 0 5px #222);
}

/* Shootout Specific */
.shootout-title {
  color: yellow;
  font-size: 25px;
  height: 100px;
  text-shadow: 2px 2px 1px black;
}

.check-shootout {
  margin-top: -190px;
}

.tr-bg {
  background: url('/bg/goals.png') no-repeat top center;
  background-size: contain;
  height: 230px;
}

.td-bg {
  border: 2px solid darkgrey;
  background-color: lightgray;
  border-bottom: 2px solid black;
}

.td-win {
  border: 2px solid black;
  background-color: #009900;
  border-bottom: 2px solid black;
}

.td-lose {
  border: 2px solid black;
  background-color: darkred;
  border-bottom: 2px solid black;
}

/* Form and Input */
input[type='radio'] {
  transform: scale(2);
  cursor: pointer;
}

label {
  font-weight: lighter;
  font-size: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-label, .away-label {
  cursor: pointer;
}

.home-label-1, .draw-label, .away-label-3 {
  font-weight: bold;
  text-decoration: underline;
}

.scores-l {
  text-align: right;
  font-weight: lighter;
  font-size: 25px;
}

.scores-r {
  text-align: left;
  font-weight: lighter;
  font-size: 25px;
}

.btn-lg {
  display: inline-block;
  max-width: 450px;
  font-size: 24px;
}

#draw1 {
  font-size: 12px;
  height: 20px;
  margin-bottom: 20px;
}

/* Table Styles */
.table, th {
  text-align: center;
}

.th1 {
  border-style: ridge;
  font-size: 16px;
  background-color: aqua;
}

.res {
  position: left;
  vertical-align: middle;
  justify-content: center;
  transform: scale(0.6);
}

.ico {
  margin-top: -20px;
  transform: scale(0.3);
}