body
 {
    /*background-image: url('../img/bg-gbt-2025-lq.jpg');*/
    /*background-image: url('../img/bg-body-lq.jpg');*/
    background-image: linear-gradient(rgba(0, 0, 0, 0.2) 20%, rgba(0, 0, 0, 0.4) 50%), url('/assets/img/bg_laser.jpg');
    /*background-color: #000;*/
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    overflow-y: scroll;
    padding-left: 15px;
    padding-right: 15px;
}

.container {
    padding: 0 0 2rem 0;
}

h4 {
    text-align: center;
}

#wrapper, .container {
    z-index: 10;
}

.table-responsive, #disclaimer { 
    border-radius: 7px; box-shadow: 2px 2px 5px rgba(0,0,0,0.7); 
}

.table-hover > tbody > tr:hover > * {
    /*--bs-table-hover-bg: #16645c;*/
    --bs-table-hover-bg: #a221a0;
}
.inner-table.table-hover > tbody > tr:hover > * {
    color: #fff;
}

.table > :not(caption) > * > * {
    padding: 0.2rem 0.5rem;
}
thead.very-dark tr {
    --bs-table-bg: #000;
}
th, td {
  /*min-width: 65px;*/
}
#ranking td {
  text-align: right;
  padding-right: 20px !important;
}
#ranking th.asc, #ranking th.desc {
    /*background-color: #16645c;*/
    background-color: #a221a0;
}
#ranking th, #ranking td {
  width: 100px;
}
#ranking th.rank-col, #ranking td.rank-col {
  width: 65px;
}
#ranking th.team_name-col, #ranking td.team_name-col {
  min-width: 230px;
  text-align: left;
}
tbody tr:hover {

}

@media (min-width: 768px) {
    #results button.btn-toggle {
        position: absolute;
        left: calc(var(--bs-gutter-x) * .5);
        top: 40px;
    }
}

@media (max-width: 768px) {
    #results .outer-table {
      width: 720px !important;
    }
}

/*
// sticky header
#results .table-responsive {
    max-height: 600px;
    overflow-y: auto;
}

#results .outer-table th {
    position: sticky;
    top: 0;
}
*/


tr.toggle-header {
    cursor: pointer;
}
tr.toggle-header[aria-expanded="true"] td {
    /*--bs-table-bg: #16645c !important;*/
    --bs-table-bg: #216ca2 !important;
}

tr.player-section td {
    background-color: #666;
}

tr.result-section td {
    background-color: #BBB;
    color: black;
}
tr.player-section td:nth-of-type(1),
tr.result-section td:nth-of-type(1) {
    padding-left: 1.5rem;
}

#results .container {
    position: relative;
}

#results thead th:nth-of-type(1),
#results table.inner-table td:nth-of-type(1) {
    width: 22%;
}
#results thead th:nth-of-type(2),
#results table.inner-table td:nth-of-type(2) {
    width: 9%;
    text-align: center;
}
#results thead th:nth-of-type(3),
#results table.inner-table td:nth-of-type(3) {
    width: 17%;
    text-align: center;
}
#results thead th:nth-of-type(4),
#results table.inner-table td:nth-of-type(4) {
    width: 17%;
}
#results thead th:nth-of-type(5),
#results table.inner-table td:nth-of-type(5) {
    width: 17%;
}
#results thead th:nth-of-type(6),
#results table.inner-table td:nth-of-type(6) {
    width: 9%;
    text-align: center;
}
#results thead th:nth-of-type(7),
#results table.inner-table td:nth-of-type(7) {
    width: 9%;
    text-align: center;
}

#ranking .table,
#results .table {
    margin-bottom:  0;
}
#ranking .table-responsive,
#results .table-responsive {
    margin-bottom:  1rem;
}


th.sortable {
  cursor: pointer;
}
.sort-icon {
  margin-left: 5px;
}

/* attribution */
.attribution {
    display: none;
    text-align: right;
}
.attribution a {
    color: #0f2d2b;
}


/*
.alert-warning {
  --bs-alert-color: var(--bs-warning-text-emphasis);
  --bs-alert-bg: var(--bs-warning-bg-subtle);
  --bs-alert-border-color: var(--bs-warning-border-subtle);
  --bs-alert-link-color: var(--bs-warning-text-emphasis);
*/

/*
thead {

    position: sticky; 
    top: 0;
    z-index: 5;

}
    tbody {
      display: block;
      max-height: 1000px; /* Controls scrollable area *
      overflow-y: auto;
    }

    thead, tbody tr {
      display: table;
      width: 100%;
      table-layout: fixed;
    }
*/


