/* Global Table styles */

body {
  background: #f7f7f7;
}

.table {
  border-spacing: 0 0.85rem !important;
}

/* Make the table container scrollable */
.table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Optional: You can add this if you want to hide the horizontal scrollbar */
#standings_wrapper {
  overflow-x: auto;
}

/* Set a fixed width for the 'Team' column */
#standings th:first-child,
#standings td:first-child {
  width: 200px; /* or whatever width you want */
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table .dropdown {
  display: inline-block;
}

.table td,
.table th {
  vertical-align: middle;
  margin-bottom: 10px;
  border: none;
}

.table thead tr,
.table thead th {
  border: none;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: transparent;
}

.table thead{
	background-color:#59328a; 
	height: 100px;
}

.table thead th{
	vertical-align: middle;
	color: #fff;
}

table.dataTable thead .sorting_asc:before{
	top: 56%;
	transform: translate(-50%, -50%);
}

table.dataTable thead .sorting_asc:after{
	top: 56%;
	transform: translate(-50%, -50%);
}

table.dataTable thead .sorting:before{
	top: 56%;
	transform: translate(-50%, -50%);
}

table.dataTable thead .sorting:after{
	top: 56%;
	transform: translate(-50%, -50%);
}

table.dataTable thead .sorting_desc:before{
	top: 56%;
	transform: translate(-50%, -50%);
}

table.dataTable thead .sorting_desc:after{
	top: 56%;
	transform: translate(-50%, -50%);
}

.table td {
  background: #fff;
}

.table td:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.table td:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.avatar {
  width: 2.75rem;
  height: 2.75rem;
  line-height: 3rem;
  border-radius: 50%;
  display: flex;
  background: transparent;
  position: relative;
  text-align: center;
  color: #fff;
  background-color: #59328a;
  font-weight: 700;
  vertical-align: bottom;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.avatar-sm {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 0.83333rem;
  line-height: 1.5;
}

.avatar-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.avatar-blue {
  background-color: #c8d9f1;
  color: #467fcf;
}

table.dataTable.dtr-inline.collapsed
  > tbody
  > tr[role="row"]
  > td:first-child:before,
table.dataTable.dtr-inline.collapsed
  > tbody
  > tr[role="row"]
  > th:first-child:before {
  bottom: 0;
  left: 0;
  top: auto;
  border: none;
  box-shadow: none;
  width: 30px;
  height: 30px;
  border-radius: 0px 0px 0px 5px;
  line-height: 30px;
  content:'';
  background-image: url(../images/click.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto;
}

table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td:first-child:before{
  content:'';
  background-image: url(../images/close-icon.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto;
}

table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child,
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child {
  padding-left: 48px;
}

table.dataTable > tbody > tr.child ul.dtr-details {
  width: 100%;
}

table.dataTable > tbody > tr.child span.dtr-title {
  min-width: 50%;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.child,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.child,
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dataTables_empty {
  padding: 0.75rem 1rem 0.125rem;
}

div.dataTables_wrapper div.dataTables_length label,
div.dataTables_wrapper div.dataTables_filter label {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    -ms-flex-pack: center !important;
    justify-content: center !important;
    margin-top: 1rem;
  }
}

.btn-icon {
  background: #fff;
}
.btn-icon .bx {
  font-size: 20px;
}

.btn .bx {
  vertical-align: middle;
  font-size: 20px;
}

.dropdown-menu {
  padding: 0.25rem 0;
}

.dropdown-item {
  padding: 0.5rem 1rem;
}


.table a {
  color: #212529;
}

.table a:hover,
.table a:focus {
  text-decoration: none;
}

table.dataTable {
  margin-top: 12px !important;
}

.icon > .bx {
  display: block;
  min-width: 1.5em;
  min-height: 1.5em;
  text-align: center;
  font-size: 1.0625rem;
}

.btn {
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
}

.dataTables_wrapper .dataTables_filter .form-control{
	width: fit-content!important;
}

.dataTables_paginate .page-item.active .page-link{
	background-color: #59328a; 
	border-color: #59328a; 
}

table tr .sorting_disabled{
	text-align: center;
}

#schedule-table  table tbody .d-flex{
	justify-content: center;
}

#schedule-table table tbody td{
	text-align: center;
}

#schedule-table table tbody .win td{
  background-color: rgba(209, 255, 189, .3);
}

#schedule-table table tbody .loss td{
  background-color: rgba(255, 204, 203, .3);
}

#schedule-table table tbody .tie td{
  background-color: rgba(0, 0, 0, .075);
}

#standings tbody .wj-bg td{
	color: #59328a;
	font-weight: bolder;
}

#standings_wrapper .table .wj-bg td{
	background: #fff;
}


.pagination .page-item .page-link{
  color: #59328a;
}

.pagination .active .page-link{
  color: #fff;
}
