/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

.e-button {
  border-radius: 0.5rem;
  padding: 0.5rem;
  font-weight: bold;
  font-size: 1rem;
  text-transform: uppercase;
  border: 0.125rem solid white;
  background-color: #008200;
  color: #fff;
  cursor: pointer;
}

.e-goal {
  cursor: grab;
}

html {
  font-size: 16px;
}

body {
  font-family: "verdana", sans-serif;
}

.c-gameTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.c-gameTop__timer, .c-gameTop__finishBtn {
  width: 13%;
}
.c-gameTop__timer p {
  display: inline;
  border-radius: 0.5rem;
  padding: 0.5rem;
  background-color: rgba(255, 255, 255, 0.8);
  color: red;
  font-weight: bold;
  font-size: 1.5rem;
  border: 0.125rem solid white;
}
.c-gameTop__teamName h2, .c-gameTop__teamName p {
  color: #fff;
  text-align: center;
  margin: 0;
  padding: 0;
}
.c-gameTop__teamName h2 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1rem;
  font-weight: normal;
  transform: scaleY(85%);
}
.c-gameTop__teamName p {
  font-weight: bold;
  border-radius: 1rem;
  padding: 0.5rem 2rem;
  border: 0.0625rem solid white;
}
.c-gameTop__finishBtn {
  text-align: right;
}

.c-destinationArea {
  display: flex;
  justify-content: center;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}
.c-destinationArea h2,
.c-destinationArea h3,
.c-destinationArea p {
  margin: 0;
  padding: 0;
}
.c-destinationArea h2 {
  color: white;
}
.c-destinationArea h3 {
  position: relative;
  text-decoration: underline;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.c-destinationArea__col {
  flex-basis: 25rem;
  flex-grow: 0;
  flex-shrink: 0;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  border-radius: 0.5rem;
  background-color: #fff;
  padding: 0.5rem;
  box-shadow: 2px;
  display: flex;
  flex-direction: column;
}
.c-destinationArea__col__inner {
  flex-grow: 1;
  background-color: #fff;
  padding: 0.5rem;
  border-radius: 0.5rem;
}
.c-destinationArea__col ul {
  padding-left: 1rem;
}
.c-destinationArea__col ul li {
  list-style-type: none;
  position: relative;
  font-size: 0.8rem;
}
.c-destinationArea__col ul li::before {
  content: "";
  display: inline;
  width: 0.3rem;
  height: 0.3rem;
  background-color: pink;
  position: absolute;
  top: 0.4rem;
  left: -0.7rem;
}
.c-destinationArea__col ul + h3 {
  position: relative;
  margin-top: 1rem;
}
.c-destinationArea__col ul + h3::before {
  content: "";
  display: block;
  width: 100%;
  position: absolute;
  top: -0.5rem;
  border-top-width: 0.125rem;
  border-top-style: solid;
  border-top-color: #cccccc;
}
.c-destinationArea__col:nth-of-type(1) {
  border-color: #7ab800;
  background-color: #7ab800;
}
.c-destinationArea__col:nth-of-type(1) h3 {
  color: #7ab800;
}
.c-destinationArea__col:nth-of-type(1) ul li::before {
  background-color: #7ab800;
}
.c-destinationArea__col:nth-of-type(2) {
  border-color: #ff7900;
  background-color: #ff7900;
}
.c-destinationArea__col:nth-of-type(2) h3 {
  color: #ff7900;
}
.c-destinationArea__col:nth-of-type(2) ul li::before {
  background-color: #ff7900;
}
.c-destinationArea__col:nth-of-type(3) {
  border-color: #2a6ebb;
  background-color: #2a6ebb;
}
.c-destinationArea__col:nth-of-type(3) h3 {
  color: #2a6ebb;
}
.c-destinationArea__col:nth-of-type(3) ul li::before {
  background-color: #2a6ebb;
}

.dropTarget {
  min-height: 1.5rem;
  border: 0.0625rem solid black;
  margin: 0.45rem 0;
  padding: 0.25rem 0;
}

.c-sourceDeck {
  position: relative;
}
.c-sourceDeck::before {
  content: "";
  display: block;
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  background-image: url("img/Goals-Icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  width: 23.8640909091rem;
  height: 2.5977272727rem;
}
.c-sourceDeck::after {
  content: "";
  display: block;
  position: absolute;
  top: -6rem;
  right: 6rem;
  width: 12rem;
  height: 12rem;
  background-image: url("img/roundel.png");
  background-repeat: no-repeat;
  background-size: cover;
}
.c-sourceDeck ul {
  min-height: 3.75rem;
  padding: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 0;
  margin-right: auto;
  margin-left: auto;
  width: 22rem;
  position: relative;
}
.c-sourceDeck ul::before {
  content: "";
  display: block;
  position: absolute;
  top: 0rem;
  bottom: -1rem;
  left: 0rem;
  right: 0rem;
  z-index: -50;
  border: 0.125rem solid rgba(255, 255, 255, 0.4);
  border-radius: 0.25rem;
}
.c-sourceDeck ul li {
  font-size: 0.8rem;
  height: 3.8rem;
  list-style-type: none;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background-color: #fff;
}
.c-sourceDeck ul li + li {
  position: absolute;
  top: 0.5rem;
  width: 21rem;
}
.c-sourceDeck ul li:nth-of-type(1) {
  z-index: 1;
  filter: drop-shadow(0px 0px 2px #000000);
}
.c-sourceDeck ul li:nth-of-type(2) {
  z-index: -1;
  filter: drop-shadow(0px 0px 2px #000000);
  top: 1rem;
}
.c-sourceDeck ul li:nth-of-type(3) {
  z-index: -2;
  filter: drop-shadow(0px 0px 2px #000000);
  top: 1.5rem;
}
.c-sourceDeck ul li:nth-of-type(4) {
  z-index: -3;
}
.c-sourceDeck ul li:nth-of-type(5) {
  z-index: -4;
}
.c-sourceDeck ul li:nth-of-type(6) {
  z-index: -5;
}
.c-sourceDeck ul li:nth-of-type(7) {
  z-index: -6;
}
.c-sourceDeck ul li:nth-of-type(8) {
  z-index: -7;
}
.c-sourceDeck ul li:nth-of-type(9) {
  z-index: -8;
}
.c-sourceDeck ul li:nth-of-type(10) {
  z-index: -9;
}
.c-sourceDeck ul li:nth-of-type(11) {
  z-index: -10;
}
.c-sourceDeck ul li:nth-of-type(12) {
  z-index: -11;
}
.c-sourceDeck ul li:nth-of-type(13) {
  z-index: -12;
}
.c-sourceDeck ul li:nth-of-type(14) {
  z-index: -13;
}
.c-sourceDeck ul li:nth-of-type(15) {
  z-index: -14;
}
.c-sourceDeck ul li:nth-of-type(16) {
  z-index: -15;
}
.c-sourceDeck ul li:nth-of-type(17) {
  z-index: -16;
}
.c-sourceDeck ul li:nth-of-type(18) {
  z-index: -17;
}
.c-sourceDeck ul li:nth-of-type(19) {
  z-index: -18;
}
.c-sourceDeck ul li:nth-of-type(20) {
  z-index: -19;
}
.c-sourceDeck ul li:nth-of-type(21) {
  z-index: -20;
}
.c-sourceDeck ul li:nth-of-type(22) {
  z-index: -21;
}

.s-activeGames {
  padding: 1rem;
  border: 1px solid #000;
}

.c-gameAdmin {
  padding: 0.5rem;
  border: 2px solid #000;
}
.c-gameAdmin__controls {
  padding: 1rem;
  border: 1px solid #000;
  display: flex;
  justify-content: space-between;
}
.c-gameAdmin__topLineInfo {
  display: flex;
  justify-content: space-between;
}
.c-gameAdmin__players {
  padding: 1rem;
  border: 1px solid #000;
}
.c-gameAdmin__players h2 {
  margin: 0;
  padding: 0;
}

table.c-playerTable {
  border-collapse: collapse;
}
table.c-playerTable td, table.c-playerTable th {
  border: 1px solid rgb(134, 134, 134);
  padding: 3px;
}
table.c-playerTable th span {
  text-decoration: underline;
  text-decoration-style: dotted;
  cursor: help;
}
table.c-playerTable tr + tr td {
  border-top: 2px solid #000;
}

.c-playerStatus {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #000;
}
.c-playerStatus__connectionState {
  width: 2rem;
  height: 2rem;
  background-color: yellow;
}
.c-playerStatus__connectionState--connected {
  background-color: green;
}
.c-playerStatus__connectionState--disconnected {
  background-color: red;
}

body.teamScreen,
body.projector {
  background-image: url("img/woodBG.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.s-leaderboard {
  width: 56rem;
}

.c-leaderboard {
  background-color: red;
  border-radius: 0.5rem;
  padding: 1.5rem;
  padding-top: 0.75rem;
  position: relative;
}
.c-leaderboard .e-babwRoundel {
  position: absolute;
  top: -1rem;
  right: -9rem;
  width: 8rem;
  height: 8rem;
}
.c-leaderboard h1 {
  color: white;
  margin: 0;
  padding: 0;
  padding-bottom: 0.5rem;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.75rem;
}
.c-leaderboard h2 {
  color: white;
  margin: 0;
  padding: 0;
  padding-bottom: 0.5rem;
  text-align: center;
  font-weight: normal;
}
.c-leaderboard h2 span {
  font-weight: bold;
  text-transform: uppercase;
  font-family: "Courier New", Courier, monospace;
  font-size: 3rem;
  letter-spacing: 0.25rem;
}
.c-leaderboard__players > * + * {
  margin-top: 0.4rem;
}

.c-leaderboardPlayerRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
}
.c-leaderboardPlayerRow p {
  margin: 0;
  padding: 0;
  font-size: 1.4rem;
}
.c-leaderboardPlayerRow__teamName {
  flex-grow: 1;
  flex-shrink: 1;
}
.c-leaderboardPlayerRow__score, .c-leaderboardPlayerRow__time {
  flex-grow: 0;
  flex-shrink: 0;
}
.c-leaderboardPlayerRow__teamName {
  font-weight: bold;
}
.c-leaderboardPlayerRow__score {
  font-weight: bold;
  padding: 0 1rem;
  color: green;
}
.c-leaderboardPlayerRow__score .e-txtTotal {
  color: #000;
  font-weight: normal;
  font-size: 0.8rem;
  text-transform: uppercase;
}
.c-leaderboardPlayerRow__time {
  padding-left: 1rem;
  border-left: 0.125rem solid red;
  color: red;
  font-weight: bold;
}

.e-babwRoundel {
  background-image: url("img/roundel.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.s-generalMessage {
  border-radius: 1rem;
  background-color: #fff;
  padding: 2rem;
}
.s-generalMessage h2,
.s-generalMessage p {
  margin: 0;
  padding: 0;
}
.s-generalMessage h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.s-generalMessage label {
  font-size: 1rem;
}
.s-generalMessage p.e-note {
  font-size: 0.7rem;
  text-align: center;
  margin-top: 0.25rem;
}