html {
  position: relative;
  min-height: 100%; }

body {
  margin-bottom: 50px;
  background-color: #f9f9f9;
  font-family: 'Noto Sans', sans-serif; }

#content {
  max-width: 1600px;
  margin-left: 0; }

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 50px;
  background-color: #e9e9e9;
  overflow: hidden; }

.well-body > h1:first-child,
.document-content > h1:first-child,
.well-body > h2:first-child,
.document-content > h2:first-child {
  margin-top: 2px; }

.well-body > :last-child,
.well-body > :last-child > :last-child {
  margin-bottom: 0; }

h2 {
  font-size: 22px; }

.footer p {
  text-align: center;
  margin: 15px 0;
  color: #666666; }

.btn-default {
  min-width: 80px; }

.toggle-group .btn-default {
  min-width: auto; }

.btn-create {
  min-width: 0px; }

.input-mini {
  max-width: 60px; }

.input-small {
  max-width: 90px; }

.input-medium {
  max-width: 150px; }

.input-large {
  max-width: 210px; }

.input-xlarge {
  max-width: 270px; }

.input-xxlarge {
  max-width: 530px; }

.single-field-btn {
  margin-top: -5px; }

.top-space {
  margin-top: 15px; }

.bottom-space {
  margin-bottom: 10px; }

.delete-link {
  width: 15px;
  height: 15px;
  margin-top: -3px; }

div.inline {
  display: inline-block; }

.round-switcher {
  display: inline-block;
  position: relative;
  top: -6px;
  margin-bottom: 5px;
  margin-right: 5px; }

.header-row {
  background-color: #f9f9f9; }

.team-link,
.team-link:hover,
.team-link:active,
.team-link:focus,
.player-link,
.player-link:hover,
.player-link:active,
.player-link:focus,
.board-link,
.board-link:hover,
.board-link:active,
.board-link:focus {
  color: inherit; }

table .team-link {
  overflow-wrap: anywhere;
  word-break: break-word; }

.player-profile-row {
  max-width: 1200px; }

.player-profile-row .well-body {
  overflow: auto; }

.player-profile-row .well-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px; }
  .player-profile-row .well-head h3 {
    margin: 0;
    line-height: 1;
    font-size: 18px; }
  .player-profile-row .well-head .btn {
    margin: 0;
    white-space: nowrap; }
  .player-profile-row .well-head .pull-right {
    margin-left: auto; }

.player-profile-row .profile-links {
  margin: 3px 0px; }

.player-profile-section {
  margin-bottom: 10px; }

.player-profile-section table td {
  padding-right: 10px;
  white-space: nowrap; }

#table-rosters thead > tr > th {
  white-space: nowrap; }

#table-rosters .cell-alternates {
  padding-top: 37px; }

#table-rosters tbody tr td.cell-player {
  border-left: 1px solid #ddd; }

#table-rosters tbody tr td.cell-rating {
  border-right: 1px solid #ddd;
  width: 50px; }

#table-crosstable tbody > tr > td, #table-crosstable thead > tr > th {
  white-space: nowrap; }

#table-crosstable .cell-score {
  border: 1px solid black; }

#table-crosstable .cell-score, #table-crosstable .cell-teamnumber {
  width: 37px;
  min-width: 30px;
  padding-left: 4px;
  padding-right: 4px;
  text-align: center; }

.table > tbody > tr > td {
  vertical-align: middle; }

.table .cell-score {
  vertical-align: middle; }

.table.sortable .sort {
  cursor: pointer; }
  .table.sortable .sort.asc::after {
    content: "\25B2"; }
  .table.sortable .sort.desc::after {
    content: "\25BC"; }

.cell-score a {
  display: block;
  width: 100%;
  height: 100%;
  color: #333333; }

.cell-teamnumber {
  font-weight: bold; }

.pairings-row {
  max-width: 800px; }

.opening-book {
  margin: 0px 3px; }

tr > td.pairing-player:nth-of-type(1) > .download-games {
  margin-right: 3px; }

tr > td.pairing-player:nth-of-type(3) .download-games {
  margin-left: 3px; }

.download-games,
.download-games img,
.opening-book,
.opening-book img {
  width: 10px; }

.download-games img,
.opening-book img {
  margin-top: -3px; }

.opening-book:hover {
  text-decoration: none; }

.cell-win {
  background-color: #b7e1cd; }

.cell-loss {
  background-color: #f4c7c3; }

.cell-tie {
  background-color: #fce8b2; }

.cell-cross {
  background-color: #c9daf8; }

.row-error, .table > tbody > tr.row-error {
  background-color: #fffcab; }

.document-content {
  padding: 5px;
  line-height: 180%; }

.document-content > :last-child {
  margin-bottom: 0; }

.document-edit {
  position: relative;
  top: -7px;
  margin-left: 10px; }

.well-head .document-edit {
  top: -4px; }

.well .table {
  background-color: white; }

.well h3 {
  margin-top: 10px; }

.slack-icon-btn {
  width: 18px;
  height: 18px;
  margin-left: -3px;
  margin-top: -2px; }

.slack-icon-plain {
  width: 18px;
  height: 18px;
  margin-top: -3px;
  margin-left: -3px;
  margin-right: -4px; }

.slack-icon-text {
  width: 18px;
  height: 18px;
  margin-top: -2px; }

.table-round-results {
  table-layout: fixed; }

.table-round-results .cell-score {
  width: 40px;
  text-align: center; }

.table-round-results > tbody > tr:last-child > td {
  border-bottom: 1px solid #ddd; }

.table-round-results > tbody > tr > td:first-child {
  border-left: 1px solid #ddd; }

.table-round-results > tbody > tr > td:last-child {
  border-right: 1px solid #ddd; }

#table-team-pairings th {
  vertical-align: middle;
  font-weight: normal; }

#table-team-pairings .cell-score {
  width: 37px;
  text-align: center;
  padding-left: 0;
  padding-right: 0;
  font-weight: normal; }

#table-team-pairings .cell-time {
  width: 105px; }

#table-team-pairings .cell-edit {
  width: 34px; }

#table-team-pairings .cell-game-result {
  padding: 0; }

#table-team-pairings .cell-game-result span {
  display: inline-block;
  width: 50%;
  text-align: center; }

#table-team-pairings .cell-game-result a:hover span {
  text-decoration: underline; }

#table-team-pairings .cell-score a {
  color: #337ab7; }

#table-team-pairings .color-dot, #table-team-pairings .captain {
  color: #333333; }

#table-team-pairings .color-dot.left {
  margin-right: 4px; }

#table-team-pairings .color-dot.right {
  margin-left: 4px; }

#table-team-pairings .player-white .color-dot:after {
  content: '\25CB';
  font-size: 18px;
  line-height: 14px; }

#table-team-pairings .player-black .color-dot:after {
  content: '\25CF';
  font-size: 18px;
  line-height: 14px; }

#well-register {
  max-width: 900px; }

#well-contact {
  max-width: 700px; }

.home-row {
  max-width: 1250px; }

#table-rosters {
  table-layout: fixed; }

#table-rosters .cell-rating {
  width: 47px;
  text-align: center; }

#table-rosters .cell-average-rating {
  width: 80px;
  text-align: center; }

#table-rosters .cell-player {
  padding-left: 7px; }

#table-rosters .cell-player .player-name {
  display: inline-block;
  vertical-align: top;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden; }

#table-rosters .cell-player.captain .player-name {
  max-width: calc(100% - 25px); }

#table-rosters .cell-player.captain:after,
.player-profile-section .captain:after,
.pairings-row .captain:after {
  content: '(C)'; }

#table-alternates > tbody > tr > td {
  padding: 0;
  vertical-align: top; }

#table-alternates table {
  table-layout: fixed;
  margin-bottom: 0;
  min-width: 200px; }

#table-alternates table td:nth-child(2) {
  text-align: right;
  width: 95px;
  padding-left: 0; }

#table-alternates table .cell-player .player-name {
  display: inline-block;
  vertical-align: top;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden; }

.player-unavailable {
  padding-right: 18px;
  background: url(/static/tournament/img/cancel.png);
  background-position: right 0px top 3px;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  background-color: #ffcc88; }

.player-unavailable.legend-swatch {
  background-position: right 2px top 3px; }

.player-unresponsive {
  padding-right: 19px;
  background: url(/static/tournament/img/offline.png);
  background-position: right 0px top 2px;
  background-repeat: no-repeat;
  background-size: 15px 16px;
  background-color: #ffe6e9; }

.player-unresponsive.legend-swatch {
  background-position: right 1px top 2px; }

.player-scheduled {
  padding-right: 19px;
  background: url(/static/tournament/img/calendar.png);
  background-position: right 0px top 3px;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  background-color: #ddd6ff; }

.player-scheduled.legend-swatch {
  background-position: right 2px top 2px; }

.player-yellow-card {
  padding-right: 18px;
  background: url(/static/tournament/img/yellow-card.png);
  background-position: right 0px top 2px;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-color: #fffcab; }

.player-yellow-card.legend-swatch {
  background-position: right 1px top 2px; }

.player-red-card {
  padding-right: 18px;
  background: url(/static/tournament/img/yellow-card-filled.png);
  background-position: right 0px top 2px;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-color: #ffabab; }

.player-red-card.legend-swatch {
  background-position: right 1px top 2px; }

.with-yellow-card:after {
  content: '';
  background: url(/static/tournament/img/yellow-card.png);
  background-position: right 0px top 2px;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  background-color: #fffcab;
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-left: 5px; }

.with-red-card:after {
  content: '';
  background: url(/static/tournament/img/yellow-card-filled.png);
  background-position: right 0px top 2px;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  background-color: #ffabab;
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-left: 5px; }

.legend-swatch {
  min-width: 20px;
  width: 20px;
  height: 20px;
  border: 1px solid #dddddd; }

.legend-label {
  padding-left: 10px;
  padding-right: 20px;
  white-space: nowrap; }

.table-stats {
  max-width: 700px;
  table-layout: fixed; }

.table-board-scores {
  max-width: 500px; }

.dashboard-season-action {
  margin-bottom: 10px; }

.dashboard-season-action a {
  width: 170px; }

.dashboard-note {
  margin-left: 10px;
  color: #666; }

.podium {
  text-align: center; }

.winners-name {
  font-size: 22px;
  font-weight: bold;
  color: #666;
  margin-top: 10px; }

.winners-team-members {
  list-style: none;
  margin: 10px 0 0 0;
  padding: 0;
  font-size: 16px;
  font-weight: bold;
  color: #666; }

.podium .second-place,
.podium .third-place,
.podium .u1600-winner {
  margin-top: 20px; }

.second-place .winners-trophy img {
  height: 85px; }

.second-place .winners-name {
  font-size: 16px; }

.second-place .winners-team-members {
  font-size: 14px; }

.third-place .winners-trophy img {
  height: 65px; }

.third-place .winners-name {
  font-size: 15px; }

.third-place .winners-team-members {
  font-size: 14px; }

.u1600-winner .winners-trophy img {
  height: 65px; }

.u1600-winner .winners-name {
  font-size: 15px; }

#home-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 30px 0 80px 0; }

#home-league-list {
  max-width: 700px; }

.league-home-container {
  display: block;
  border: 1px solid #666;
  border-radius: 5px;
  border-top: none;
  margin: 10px 0 10px 0;
  width: 321px;
  color: #333;
  background-color: white;
  outline: none; }

.league-home-container:hover,
.league-home-container:active,
.league-home-container:focus {
  color: #333;
  text-decoration: none;
  outline: none; }

.league-homelink {
  display: block;
  height: 50px;
  width: 320px;
  line-height: 50px;
  color: white;
  font-size: 18px;
  margin: 0 0 10px 0;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px; }

.league-homelink:hover,
.league-homelink:active,
.league-homelink:focus {
  color: white; }

.league-home-details {
  text-align: center;
  padding: 0 20px; }

.league-link {
  display: inline-block; }

.my-pairing {
  height: 80px;
  border: 1px solid #e3e3e3; }

.my-pairing .details {
  display: inline-block;
  padding: 10px; }

.my-pairing .round {
  display: block;
  font-weight: 600; }

.my-pairing .players {
  display: block; }

.my-pairing .result {
  float: right; }

.navbar-brand {
  padding-right: 5px; }

.navbar.navbar-default {
  border-radius: 0;
  border: none; }

#table-lone-standings thead th {
  white-space: nowrap; }

#table-lone-standings .temporary-rank .rank-value {
  color: #999; }

.lone-pairings-row {
  max-width: 900px; }

#table-lone-pairings tr > td:nth-child(2),
#table-lone-pairings tr > td:nth-child(6) {
  width: 30px; }

#table-lone-pairings tr > td:nth-child(6) {
  margin-left: 10px; }

#table-lone-pairings tr > td:nth-child(3),
#table-lone-pairings tr > td:nth-child(4),
#table-lone-pairings tr > td:nth-child(7),
#table-lone-pairings tr > td:nth-child(8) {
  width: 16px; }

#table-lone-pairings tr > td:nth-child(4) img,
#table-lone-pairings tr > td:nth-child(8) img {
  padding-top: 7px; }

#table-lone-pairings img {
  vertical-align: top;
  padding-top: 3px; }

#table-notifications {
  max-width: 600px; }

#table-notifications td {
  white-space: nowrap; }

#table-notifications label {
  font-weight: normal;
  padding-left: 5px;
  vertical-align: middle; }

.standings-container {
  color: black; }

.standings-container p:first-child {
  background-color: #ffd700; }

.standings-container p:nth-child(2) {
  background-color: #c0c0c0; }

.standings-container p:nth-child(3) {
  background-color: #cd7f32; }

.standings-container p:nth-child(4) {
  background-color: #7bbcf2; }

.standings-container p {
  display: inline;
  padding-left: 10px;
  padding-right: 10px; }

.standings-container p:after {
  content: '\A';
  white-space: pre; }

.table-menu {
  text-align: right; }

.table-menu .dropdown-toggle {
  color: black;
  padding: 5px 4px 5px 2px; }

.table-menu .dropdown-toggle:hover {
  background-color: #ddd; }

#table-availability {
  width: auto; }

#table-availability input {
  display: none; }

#table-availability tbody td {
  min-width: 115px;
  height: 48px; }

#table-availability tbody td:nth-child(1) {
  min-width: auto; }

.trophy {
  display: inline-block;
  margin: 5px;
  text-align: center; }

.trophy-image {
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 100%;
  margin-right: auto; }

.rank-1 {
  background-image: url(/static/tournament/img/trophy-1.min.svg);
  height: 100px;
  width: 130px; }

.rank-2 {
  background-image: url(/static/tournament/img/trophy-2.min.svg);
  height: 70px; }

.rank-3 {
  background-image: url(/static/tournament/img/trophy-3.min.svg);
  height: 50px; }

.blue-ribbon {
  background-image: url(/static/tournament/img/blue-ribbon.png);
  height: 50px; }

@media (min-width: 768px) {
  .podium {
    display: flex; }
  .podium > div {
    display: inline-block;
    width: 33.33%;
    margin: 0; }
  .podium .first-place {
    order: 2;
    margin-top: auto; }
  .lone-podium .first-place {
    margin-bottom: -4px; }
  .podium .second-place {
    order: 1;
    margin-top: auto; }
  .podium .third-place {
    order: 3;
    margin-top: auto; }
  .podium .u1600-winner {
    order: 4;
    margin: auto -2% 0 -7%; }
  #home-container {
    align-items: center;
    display: flex;
    justify-content: center; }
  .nav > .league-dropdown {
    margin-left: 0;
    margin-right: 10px; }
  .nav > .league-dropdown > a {
    padding-left: 3px;
    padding-right: 5px; }
  #table-team-pairings {
    table-layout: fixed; } }

@media (max-width: 991px) {
  .row-condensed-sm > * {
    padding-left: 0px;
    padding-right: 0px; }
  .table-condensed-sm > thead > tr > th,
  .table-condensed-sm > tbody > tr > th,
  .table-condensed-sm > tfoot > tr > th,
  .table-condensed-sm > thead > tr > td,
  .table-condensed-sm > tbody > tr > td,
  .table-condensed-sm > tfoot > tr > td {
    padding: 4px 6px 4px 6px; }
  .table-responsive .table-condensed-sm th,
  .table-responsive .table-condensed-sm td {
    white-space: nowrap; }
  #table-rosters {
    table-layout: auto; }
  #table-rosters .cell-player.captain .player-name {
    max-width: 100%; } }

@media (max-width: 767px) {
  body {
    margin-bottom: 50px; }
  .row-condensed-xs > * {
    padding-left: 0px;
    padding-right: 0px; }
  .table-condensed-xs > thead > tr > th,
  .table-condensed-xs > tbody > tr > th,
  .table-condensed-xs > tfoot > tr > th,
  .table-condensed-xs > thead > tr > td,
  .table-condensed-xs > tbody > tr > td,
  .table-condensed-xs > tfoot > tr > td {
    padding: 4px 6px 4px 6px; }
  .pairing-player {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: 120px; }
  #home-league-list {
    max-width: 350px; }
  .document-content ul, .document-content ol {
    padding-left: 30px; }
  .table-stats {
    table-layout: auto; }
  .round-switcher:first-child {
    margin-left: -5px; }
  #table-team-pairings .cell-score {
    width: auto;
    min-width: 25px; } }

section {
  display: inline-block;
  margin: 0 5px 20px 0;
  background: #f3f3f3;
  padding: 0 0 0 0;
  border: 1px solid #ccc;
  line-height: 20px;
  vertical-align: middle; }

section .gameLabel {
  margin: 0;
  padding: 5px 0 5px 0;
  font-weight: bold;
  min-height: 30px;
  text-align: center; }

section .gameLabel a {
  color: #666; }

section .gameLabel .team-name {
  display: inline-block;
  max-width: 190px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  vertical-align: top; }

.tv-game-menu {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 0.5s, opacity 0.5s linear;
  float: right;
  margin-right: -24px;
  margin-top: -1px;
  width: 24px;
  height: 24px;
  background: #f3f3f3;
  border: 1px solid #ccc; }

section:hover .tv-game-menu,
.tv-game-menu.open {
  visibility: visible;
  opacity: 1;
  transition: none; }

@media (max-width: 767px) {
  .tv-game-menu {
    visibility: visible;
    opacity: 1;
    transition: none; } }

.tv-game-menu > a {
  color: #666;
  display: block;
  width: 24px;
  height: 24px;
  padding-right: 4px;
  text-align: center; }

.games-well > .well-body > :last-child {
  margin-bottom: -17px; }

#no-games, #no-filter-games {
  margin-bottom: 15px; }

#schedule {
  margin-bottom: 0; }

#schedule thead tr:first-child th {
  padding-top: 18px; }

#schedule thead:first-child tr:first-child th {
  padding-top: 8px; }

#schedule .team-row td,
#schedule .board-row td {
  padding-top: 0;
  border-top: none; }

#more-schedule {
  margin-top: 10px; }

.chessground.tiny {
  width: 225px;
  height: 225px; }

.chessground.small {
  width: 300px;
  height: 300px; }

.chessground.normal {
  width: 512px;
  height: 512px; }

.cg-board-wrap svg {
  opacity: 0.6;
  overflow: hidden;
  position: relative;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2; }

.cg-board svg * {
  transition: 0.35s; }

.cg-board svg image {
  opacity: 0.5; }

.cg-board-wrap coords {
  color: #848484; }

@media (min-width: 768px) {
  .game-col {
    height: 420px;
    line-height: 420px; } }

.league-homelink-blue {
  padding-left: 59px;
  background: url("/static/tournament/img/all-for-one.png");
  background-position: 5px 0;
  background-repeat: no-repeat;
  background-size: 50px 50px;
  background-color: #245164; }

.my-pairing .league-icon.blue {
  width: 85px;
  background: url("/static/tournament/img/all-for-one.png");
  background-position: 6px 1px;
  background-repeat: no-repeat;
  background-size: 75px 75px;
  background-color: #245164; }

body.dark.theme-blue .well-head,
body.dark.theme-blue .navbar {
  background-color: #132e3a; }

body.dark.theme-blue .btn-default {
  color: #dee2e6;
  background: none;
  background-color: #6c757d; }
  body.dark.theme-blue .btn-default:hover {
    background-color: #495057; }

body.dark .league-homelink-blue {
  background-color: #132e3a; }

body.dark .my-pairing .league-icon.blue {
  background-color: #132e3a; }

body.theme-blue .navbar {
  background-color: #245164; }

body.theme-blue .navbar .navbar-brand {
  padding-left: 59px;
  background: url("/static/tournament/img/all-for-one.png");
  background-position: 5px 0;
  background-repeat: no-repeat;
  background-size: 50px 50px; }

body.theme-blue .navbar .navbar-brand,
body.theme-blue .navbar .navbar-brand:hover,
body.theme-blue .navbar .navbar-brand:focus,
body.theme-blue .navbar .navbar-nav > li > a {
  color: #ffffff; }

body.theme-blue .navbar .navbar-nav > li.active > a,
body.theme-blue .navbar .navbar-nav > .active > a:hover,
body.theme-blue .navbar .navbar-nav > .active > a:focus,
body.theme-blue .navbar .navbar-nav > .open > a,
body.theme-blue .navbar .navbar-nav > .open > a:hover,
body.theme-blue .navbar .navbar-nav > .open > a:focus {
  background-color: #557f97;
  color: #ffffff; }

body.theme-blue .navbar .navbar-nav > li > a:hover,
body.theme-blue .navbar .navbar-nav > li > a:focus {
  background-color: #3c687d;
  color: #ffffff; }

body.theme-blue .navbar .navbar-nav .dropdown-menu {
  border-color: #245164; }

body.theme-blue .navbar .navbar-toggle .icon-bar {
  background-color: white; }

body.theme-blue .navbar .navbar-toggle:hover,
body.theme-blue .navbar .navbar-toggle:focus {
  background-color: #3c687d; }

body.theme-blue .well {
  padding: 0; }

body.theme-blue .well-head {
  background-color: #557f97;
  color: #ffffff;
  padding: 3px 15px 3px 15px; }

body.theme-blue .well-head h3 {
  font-size: 18px; }

body.theme-blue .well-body {
  padding: 15px;
  background-color: #ffffff; }

body.theme-blue .btn-primary {
  background: linear-gradient(#557f97, #245164);
  border-color: #245164;
  color: #ffffff; }

body.theme-blue .btn-primary:active,
body.theme-blue .btn-primary:hover,
body.theme-blue .btn-primary:active:focus,
body.theme-blue .btn-primary:active:hover {
  background-color: #245164; }

body.theme-blue .btn-default {
  background: linear-gradient(#f9f9f9, #d9d9d9);
  color: #000000; }

body.theme-blue .btn-default:hover,
body.theme-blue .btn-default:focus {
  color: #000000; }

@media (max-width: 767px) {
  body.theme-blue .row-condensed-xs .well {
    border-radius: 0; }
  body.theme-blue .row-condensed-xs .well-body > .table-condensed-xs {
    margin-left: -15px;
    min-width: calc(100% + 30px); }
  body.theme-blue .row-condensed-xs .well-body > .table-responsive {
    margin-left: -15px;
    min-width: calc(100% + 30px); }
  body.theme-blue .navbar .navbar-nav .open .dropdown-menu > li > a:hover,
  body.theme-blue .navbar .navbar-nav .open .dropdown-menu > li > a:focus {
    background-color: #4d8358;
    color: #ffffff; }
  body.theme-blue .navbar .navbar-nav .open .dropdown-menu > li > a {
    color: #ffffff; } }

@media (max-width: 991px) {
  body.theme-blue .row-condensed-sm .well {
    border-radius: 0; }
  body.theme-blue .row-condensed-sm .well-body > .table-condensed-sm {
    margin-left: -15px;
    min-width: calc(100% + 30px); }
  body.theme-blue .row-condensed-sm .well-body > .table-responsive {
    margin-left: -15px;
    min-width: calc(100% + 30px); } }

.league-homelink-green {
  padding-left: 59px;
  background: url("/static/tournament/img/wolf-head.png");
  background-position: 6px 1px;
  background-repeat: no-repeat;
  background-size: 48px 48px;
  background-color: #225622; }

.my-pairing .league-icon.green {
  width: 85px;
  background: url("/static/tournament/img/wolf-head.png");
  background-position: 6px 1px;
  background-repeat: no-repeat;
  background-size: 75px 75px;
  background-color: #225622; }

body.dark.theme-green .well-head,
body.dark.theme-green .navbar {
  background-color: #1c401c; }

body.dark.theme-green .btn-default {
  color: #dee2e6;
  background: none;
  background-color: #6c757d; }
  body.dark.theme-green .btn-default:hover {
    background-color: #495057; }

body.dark .league-homelink-green {
  background-color: #1c401c; }

body.dark .my-pairing .league-icon.green {
  background-color: #1c401c; }

body.theme-green .navbar {
  background-color: #225622; }

body.theme-green .navbar .navbar-brand {
  padding-left: 59px;
  background: url("/static/tournament/img/wolf-head.png");
  background-position: 6px 1px;
  background-repeat: no-repeat;
  background-size: 48px 48px; }

body.theme-green .navbar .navbar-brand,
body.theme-green .navbar .navbar-brand:hover,
body.theme-green .navbar .navbar-brand:focus,
body.theme-green .navbar .navbar-nav > li > a {
  color: #ffffff; }

body.theme-green .navbar .navbar-nav > li.active > a,
body.theme-green .navbar .navbar-nav > .active > a:hover,
body.theme-green .navbar .navbar-nav > .active > a:focus,
body.theme-green .navbar .navbar-nav > .open > a,
body.theme-green .navbar .navbar-nav > .open > a:hover,
body.theme-green .navbar .navbar-nav > .open > a:focus {
  background-color: #699486;
  color: #ffffff; }

body.theme-green .navbar .navbar-nav > li > a:hover,
body.theme-green .navbar .navbar-nav > li > a:focus {
  background-color: #4d8358;
  color: #ffffff; }

body.theme-green .navbar .navbar-nav .dropdown-menu {
  border-color: #225622; }

body.theme-green .navbar .navbar-toggle .icon-bar {
  background-color: white; }

body.theme-green .navbar .navbar-toggle:hover,
body.theme-green .navbar .navbar-toggle:focus {
  background-color: #4d8358; }

body.theme-green .well {
  padding: 0; }

body.theme-green .well-head {
  background-color: #699486;
  color: #ffffff;
  padding: 3px 15px 3px 15px; }

body.theme-green .well-head h3 {
  font-size: 18px; }

body.theme-green .well-body {
  padding: 15px;
  background-color: #ffffff; }

body.theme-green .btn-primary {
  background: linear-gradient(#699486, #225622);
  border-color: #225622;
  color: #ffffff; }

body.theme-green .btn-primary:active,
body.theme-green .btn-primary:hover,
body.theme-green .btn-primary:active:focus,
body.theme-green .btn-primary:active:hover {
  background-color: #225622; }

body.theme-green .btn-default {
  background: linear-gradient(#f9f9f9, #d9d9d9);
  color: #000000; }

body.theme-green .btn-default:hover,
body.theme-green .btn-default:focus {
  color: #000000; }

@media (max-width: 767px) {
  body.theme-green .row-condensed-xs .well {
    border-radius: 0; }
  body.theme-green .row-condensed-xs .well-body > .table-condensed-xs {
    margin-left: -15px;
    min-width: calc(100% + 30px); }
  body.theme-green .row-condensed-xs .well-body > .table-responsive {
    margin-left: -15px;
    min-width: calc(100% + 30px); }
  body.theme-green .navbar .navbar-nav .open .dropdown-menu > li > a:hover,
  body.theme-green .navbar .navbar-nav .open .dropdown-menu > li > a:focus {
    background-color: #4d8358;
    color: #ffffff; }
  body.theme-green .navbar .navbar-nav .open .dropdown-menu > li > a {
    color: #ffffff; } }

@media (max-width: 991px) {
  body.theme-green .row-condensed-sm .well {
    border-radius: 0; }
  body.theme-green .row-condensed-sm .well-body > .table-condensed-sm {
    margin-left: -15px;
    min-width: calc(100% + 30px); }
  body.theme-green .row-condensed-sm .well-body > .table-responsive {
    margin-left: -15px;
    min-width: calc(100% + 30px); } }

.league-homelink-red {
  padding-left: 59px;
  background: url("/static/tournament/img/power-lightning.png");
  background-position: 6px 1px;
  background-repeat: no-repeat;
  background-size: 48px 48px;
  background-color: #562222; }

.my-pairing .league-icon.red {
  width: 85px;
  background: url("/static/tournament/img/power-lightning.png");
  background-position: 6px 1px;
  background-repeat: no-repeat;
  background-size: 75px 75px;
  background-color: #562222; }

body.dark.theme-red .well-head,
body.dark.theme-red .navbar {
  background-color: #351515; }

body.dark.theme-red .btn-default {
  color: #dee2e6;
  background: none;
  background-color: #6c757d; }
  body.dark.theme-red .btn-default:hover {
    background-color: #495057; }

body.dark .league-homelink-red {
  background-color: #351515; }

body.dark .my-pairing .league-icon.red {
  background-color: #351515; }

body.theme-red .navbar {
  background-color: #562222; }

body.theme-red .navbar .navbar-brand {
  padding-left: 59px;
  background: url("/static/tournament/img/power-lightning.png");
  background-position: 6px 1px;
  background-repeat: no-repeat;
  background-size: 48px 48px; }

body.theme-red .navbar .navbar-brand,
body.theme-red .navbar .navbar-brand:hover,
body.theme-red .navbar .navbar-brand:focus,
body.theme-red .navbar .navbar-nav > li > a {
  color: #ffffff; }

body.theme-red .navbar .navbar-nav > li.active > a,
body.theme-red .navbar .navbar-nav > .active > a:hover,
body.theme-red .navbar .navbar-nav > .active > a:focus,
body.theme-red .navbar .navbar-nav > .open > a,
body.theme-red .navbar .navbar-nav > .open > a:hover,
body.theme-red .navbar .navbar-nav > .open > a:focus {
  background-color: #946976;
  color: #ffffff; }

body.theme-red .navbar .navbar-nav > li > a:hover,
body.theme-red .navbar .navbar-nav > li > a:focus {
  background-color: #834d58;
  color: #ffffff; }

body.theme-red .navbar .navbar-nav .dropdown-menu {
  border-color: #562222; }

body.theme-red .navbar .navbar-toggle .icon-bar {
  background-color: white; }

body.theme-red .navbar .navbar-toggle:hover,
body.theme-red .navbar .navbar-toggle:focus {
  background-color: #834d58; }

body.theme-red .well {
  padding: 0; }

body.theme-red .well-head {
  background-color: #946976;
  color: #ffffff;
  padding: 3px 15px 3px 15px; }

body.theme-red .well-head h3 {
  font-size: 18px; }

body.theme-red .well-body {
  padding: 15px;
  background-color: #ffffff; }

body.theme-red .btn-primary {
  background: linear-gradient(#946976, #562222);
  border-color: #562222;
  color: #ffffff; }

body.theme-red .btn-primary:active,
body.theme-red .btn-primary:hover,
body.theme-red .btn-primary:active:focus,
body.theme-red .btn-primary:active:hover {
  background-color: #562222; }

body.theme-red .btn-default {
  background: linear-gradient(#f9f9f9, #d9d9d9);
  color: #000000; }

body.theme-red .btn-default:hover,
body.theme-red .btn-default:focus {
  color: #000000; }

@media (max-width: 767px) {
  body.theme-red .row-condensed-xs .well {
    border-radius: 0; }
  body.theme-red .row-condensed-xs .well-body > .table-condensed-xs {
    margin-left: -15px;
    min-width: calc(100% + 30px); }
  body.theme-red .row-condensed-xs .well-body > .table-responsive {
    margin-left: -15px;
    min-width: calc(100% + 30px); }
  body.theme-red .navbar .navbar-nav .open .dropdown-menu > li > a:hover,
  body.theme-red .navbar .navbar-nav .open .dropdown-menu > li > a:focus {
    background-color: #4d8358;
    color: #ffffff; }
  body.theme-red .navbar .navbar-nav .open .dropdown-menu > li > a {
    color: #ffffff; } }

@media (max-width: 991px) {
  body.theme-red .row-condensed-sm .well {
    border-radius: 0; }
  body.theme-red .row-condensed-sm .well-body > .table-condensed-sm {
    margin-left: -15px;
    min-width: calc(100% + 30px); }
  body.theme-red .row-condensed-sm .well-body > .table-responsive {
    margin-left: -15px;
    min-width: calc(100% + 30px); } }

.league-homelink-yellow {
  padding-left: 59px;
  background: url("/static/tournament/img/dice.png");
  background-position: 6px 1px;
  background-repeat: no-repeat;
  background-size: 48px 48px;
  background-color: #c69501; }

.my-pairing .league-icon.yellow {
  width: 85px;
  background: url("/static/tournament/img/dice.png");
  background-position: 6px 1px;
  background-repeat: no-repeat;
  background-size: 75px 75px;
  background-color: #c69501; }

body.dark.theme-yellow .well-head,
body.dark.theme-yellow .navbar {
  background-color: #705401; }

body.dark.theme-yellow .btn-default {
  color: #dee2e6;
  background: none;
  background-color: #6c757d; }
  body.dark.theme-yellow .btn-default:hover {
    background-color: #495057; }

body.dark .league-homelink-yellow {
  background-color: #705401; }

body.dark .my-pairing .league-icon.yellow {
  background-color: #705401; }

body.theme-yellow .navbar {
  background-color: #c69501; }

body.theme-yellow .navbar .navbar-brand {
  padding-left: 59px;
  background: url("/static/tournament/img/dice.png");
  background-position: 6px 1px;
  background-repeat: no-repeat;
  background-size: 48px 48px; }

body.theme-yellow .navbar .navbar-brand,
body.theme-yellow .navbar .navbar-brand:hover,
body.theme-yellow .navbar .navbar-brand:focus,
body.theme-yellow .navbar .navbar-nav > li > a {
  color: #ffffff; }

body.theme-yellow .navbar .navbar-nav > li.active > a,
body.theme-yellow .navbar .navbar-nav > .active > a:hover,
body.theme-yellow .navbar .navbar-nav > .active > a:focus,
body.theme-yellow .navbar .navbar-nav > .open > a,
body.theme-yellow .navbar .navbar-nav > .open > a:hover,
body.theme-yellow .navbar .navbar-nav > .open > a:focus {
  background-color: #c69501;
  color: #ffffff; }

body.theme-yellow .navbar .navbar-nav > li > a:hover,
body.theme-yellow .navbar .navbar-nav > li > a:focus {
  background-color: #f4c842;
  color: #ffffff; }

body.theme-yellow .navbar .navbar-nav .dropdown-menu {
  border-color: #c69501; }

body.theme-yellow .navbar .navbar-toggle .icon-bar {
  background-color: white; }

body.theme-yellow .navbar .navbar-toggle:hover,
body.theme-yellow .navbar .navbar-toggle:focus {
  background-color: #f4c842; }

body.theme-yellow .well {
  padding: 0; }

body.theme-yellow .well-head {
  background-color: #c69501;
  color: #ffffff;
  padding: 3px 15px 3px 15px; }

body.theme-yellow .well-head h3 {
  font-size: 18px; }

body.theme-yellow .well-body {
  padding: 15px;
  background-color: #ffffff; }

body.theme-yellow .btn-primary {
  background: linear-gradient(#c69501, #c69501);
  border-color: #c69501;
  color: #ffffff; }

body.theme-yellow .btn-primary:active,
body.theme-yellow .btn-primary:hover,
body.theme-yellow .btn-primary:active:focus,
body.theme-yellow .btn-primary:active:hover {
  background-color: #c69501; }

body.theme-yellow .btn-default {
  background: linear-gradient(#f9f9f9, #d9d9d9);
  color: #000000; }

body.theme-yellow .btn-default:hover,
body.theme-yellow .btn-default:focus {
  color: #000000; }

@media (max-width: 767px) {
  body.theme-yellow .row-condensed-xs .well {
    border-radius: 0; }
  body.theme-yellow .row-condensed-xs .well-body > .table-condensed-xs {
    margin-left: -15px;
    min-width: calc(100% + 30px); }
  body.theme-yellow .row-condensed-xs .well-body > .table-responsive {
    margin-left: -15px;
    min-width: calc(100% + 30px); }
  body.theme-yellow .navbar .navbar-nav .open .dropdown-menu > li > a:hover,
  body.theme-yellow .navbar .navbar-nav .open .dropdown-menu > li > a:focus {
    background-color: #4d8358;
    color: #ffffff; }
  body.theme-yellow .navbar .navbar-nav .open .dropdown-menu > li > a {
    color: #ffffff; } }

@media (max-width: 991px) {
  body.theme-yellow .row-condensed-sm .well {
    border-radius: 0; }
  body.theme-yellow .row-condensed-sm .well-body > .table-condensed-sm {
    margin-left: -15px;
    min-width: calc(100% + 30px); }
  body.theme-yellow .row-condensed-sm .well-body > .table-responsive {
    margin-left: -15px;
    min-width: calc(100% + 30px); } }

.darkmode-toggle {
  width: 18px;
  height: 18px; }

body.dark {
  color: #adb5bd;
  background-color: #343a40; }
  body.dark section {
    background: #2e3238;
    border-color: #211f1f; }
  @media (max-width: 767px) {
    body.dark {
      background-color: #212529; } }
  body.dark a {
    color: #ced4da; }
  body.dark p {
    color: #adb5bd; }
  body.dark .form-control {
    color: #ced4da;
    background-color: #343a40;
    border-color: #495057; }
  @media (max-width: 767px) {
    body.dark .navbar .navbar-nav .dropdown-menu {
      background-color: transparent;
      border-color: transparent; }
    body.dark .navbar .navbar-nav .dropdown-divider {
      border-color: #353535; }
    body.dark .navbar .navbar-nav > li > a:hover,
    body.dark .navbar .navbar-nav > li > a:focus,
    body.dark .navbar .navbar-nav .dropdown-item:focus,
    body.dark .navbar .navbar-nav .dropdown-item:hover {
      color: #fff;
      background-color: transparent; } }
  body.dark .league-home-container {
    position: relative;
    color: #dee2e6;
    background-color: #212529;
    border-color: #222;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); }
    body.dark .league-home-container::after {
      position: absolute;
      top: 0;
      z-index: -1;
      width: 100%;
      height: 100%;
      content: '';
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
      opacity: 0;
      transition: opacity .3s ease-in-out; }
    body.dark .league-home-container:hover::after {
      opacity: 1; }
  body.dark .dropdown-menu {
    background-color: #212529;
    border-color: #000; }
  body.dark .table-striped > tbody > tr:nth-of-type(2n+1) {
    background-color: rgba(0, 0, 0, 0.05); }
  body.dark #table-team-pairings .captain,
  body.dark #table-team-pairings .color-dot {
    color: inherit; }
  body.dark #table-team-pairings .player-white .color-dot:after {
    content: '\25CF'; }
  body.dark #table-team-pairings .player-black .color-dot:after {
    content: '\25CB'; }
  body.dark .table {
    color: #ced4da; }
  body.dark .table thead th,
  body.dark .table td,
  body.dark .table th,
  body.dark #table-rosters tbody tr td.cell-rating,
  body.dark #table-rosters tbody tr td.cell-player,
  body.dark .table-round-results > tbody > tr > td:first-child,
  body.dark .table-round-results > tbody > tr > td:last-child,
  body.dark .table-round-results > tbody > tr:last-child > td,
  body.dark .dropdown-divider,
  body.dark .my-pairing {
    border-color: #343a40; }
  body.dark .cell-win {
    background-color: #506b5e; }
  body.dark .cell-tie,
  body.dark .player-unavailable {
    background-color: #675f4b; }
  body.dark .cell-cross {
    background-color: #424956; }
  body.dark .cell-loss,
  body.dark .player-red-card {
    background-color: #5d231e; }
  body.dark .player-yellow-card {
    background-color: #6f6d2b; }
  body.dark .player-scheduled {
    background-color: #514d67; }
  body.dark .standings-container p:first-child {
    background-color: #82773c; }
  body.dark .standings-container p:nth-child(2) {
    background-color: #7b7b7b; }
  body.dark .standings-container p:nth-child(3) {
    background-color: #8a5622; }
  body.dark .standings-container p:nth-child(4) {
    background-color: #34546f; }
  body.dark .standings-container p {
    display: inline;
    padding-left: 10px;
    padding-right: 10px; }
  body.dark .standings-container p:after {
    content: '\A';
    white-space: pre; }
  body.dark .legend-swatch {
    border-color: #000; }
  body.dark .winners-name {
    color: #ced4da; }
  body.dark .well {
    border-radius: 0;
    border: none; }
  body.dark .well-body {
    background-color: #212529; }
    body.dark .well-body .table {
      background-color: #212529; }
  body.dark .btn {
    border-radius: 0;
    border: none; }
  body.dark .btn-default {
    color: #dee2e6;
    background-color: #6c757d; }
    body.dark .btn-default:hover {
      background-color: #495057; }
  body.dark .footer {
    background-color: #000; }
  body.dark .header-row {
    background-color: #343a40; }
  body.dark .download-games img,
  body.dark .opening-book img {
    filter: invert(0.8); }

.board-number-input {
  width: 60px !important;
  text-align: center; }

.board-display {
  display: inline-block;
  width: 30px;
  text-align: center;
  background-color: #f0f0f0;
  border-radius: 4px;
  padding: 2px 0;
  font-size: 16px;
  font-weight: bold; }

.drag-handle {
  cursor: move;
  color: #999;
  font-size: 18px;
  padding: 5px; }
  .drag-handle:hover {
    color: #333;
    background-color: #f5f5f5;
    border-radius: 3px; }

#sortable-boards tr {
  cursor: move; }
  #sortable-boards tr:hover {
    background-color: #f9f9f9; }
  #sortable-boards tr.ui-sortable-helper {
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    opacity: 0.9; }

.team-manage-page .well-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 10px 15px !important; }
  .team-manage-page .well-head h3 {
    margin: 0;
    line-height: 1;
    font-size: 18px; }
  .team-manage-page .well-head .btn {
    margin: 0;
    white-space: nowrap; }
  .team-manage-page .well-head .pull-right {
    margin-left: auto; }

.team-manage-page .well {
  overflow: visible; }

.team-manage-page .well-body {
  position: relative; }

.invite-code {
  font-family: monospace;
  font-size: 14px;
  background-color: #f5f5f5;
  padding: 2px 4px;
  border-radius: 3px; }
  .invite-code.available-code {
    background-color: #d4edda;
    color: #155724; }

.move-up, .move-down {
  padding: 1px 6px;
  margin: 0 2px; }

@media (max-width: 768px) {
  .team-manage-page .well-head h3 {
    font-size: 16px; }
  .team-manage-page .well-head .btn {
    font-size: 12px;
    padding: 4px 8px; }
  #board-order-table th, #board-order-table td {
    padding: 4px; }
  #board-order-table .board-display {
    font-size: 14px; } }
