body {
    background-color: white;
    color: black;
}

.table-header {
    background-color: #333333;
    color: #ffffff;
    font-weight: bold;
}

.search-result-list {
    margin: 0;
    padding: 0px;
    list-style-type: none;
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.player-col-name {
    color: #0008ff;
    font-weight: bold;
}

.hidden-content {
    background-color: #f2f2f2;
    top:50%;
}

.apa-header {
    background-color: #339933 !important;
    color: #000000;
    font-weight: bold;
}

@media screen and (prefers-color-scheme: dark) {

    body {
      background-color: #5A5A5A;
      color: #ffc80c;
    }

    .text-muted {
    color: #ffc80c !important;
    }

    .table-header {
      background-color: #040707;
      color: #fff017;
      font-weight: bold;
    }

    hr {
      color: #fff017;
    }

    /* Modal Content */
    .modal-content {
      background-color: #5A5A5A;
      margin: auto;
      padding: 20px;
      border: 1px solid #888;
      width: 80%;
    }

    .player-col-name {
      color: #fff017;
      font-weight: bold;
    }

    .nav-link {
        color: #ffc80c;
    }

    .nav-link.active {
        background-color: #ffc80c !important;
        color: #ffffff !important;
    }

    table.table {
        background-color: #5A5A5A !important;
    }

    .apa-header {
        background-color: #ffc80c !important;
        color: #000000;
        font-weight: bold;
    }

    .hidden-content {
        background-color: #808080;
        top:50%;
    }
}

.news-pic {
    vertical-align: middle !important;
}

.news-text {
   text-align: justify;
}


.table {
    text-align: center;
    margin: 0 auto;
}

tr {
    text-align: center;
    margin: 0 auto;
}

td {
    text-align: center;
    border-top: 0px !important;
    padding: 0.20rem !important;
    margin: 0 auto;
}

.leftie {
    text-align: left;
}

.bold {
    font-weight: bold;
}

.full-th {
    display: block;
    box-sizing: border-box;
    clear: both;
}

.player-col-name-header {
    width: 15%;
    font-weight: bold;
}



.player-name {
    color: #0008ff;
    font-weight: bold;
}

.grid-striped tr:nth-of-type(odd) {
    background-color: rgba(0,0,0,.05);
}

/* Position the menu to the center*/
.nav-pills {
    margin: 0 auto;
}

.row {
    margin: 0 auto;
    width: 100%;
}

.red {
    color: red
}

.player-flags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.player-flag {
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.4em 0.8em;
}

.column {
    float: left;
    width: 33%;
}

.team-grid {
    min-width: 70%;
}

.selection {
    background-color: #5cb3fd !important;
}

/* Position text and elements in the center of the parent element */
.center {
    text-align: center;
    margin: 0 auto;
}

.table-center {
  margin-left: auto;
  margin-right: auto;
}

.full-width {
    width: 100%;
    margin: 0 auto;
}

#body-content {
    min-height: 100px;
}

.grid-container > div {
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.grid-container > tr {
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.container-fluid {
    padding-right:0;
    padding-left:0;
    margin-right:1%;
    margin-left:1%;
    min-width:80%;
}

.container {
    padding-right:0;
    padding-left:0;
    margin-right:1%;
    margin-left:1%;
    width:98%;
}

.link {
    text-decoration: none;
    background-color: transparent;
}

.arrow-button {
    height: 50%;
    width: 50%;
}

.commish-message {
    background-color: rgba(255, 0, 0, 0.5) !important;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.hidden { font-size: 0; }


#loading {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    display: block;
    opacity: 0.7;
    background-color: #010101;
    z-index: 99;
    text-align: center;
    vertical-align: middle;
}

#loading-image {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 100;
    transform: translate(-50%, -50%);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}