.player-results-container {
    position: absolute;
    width: 94%;
    top: 35px;
}

.player-result {
    position: relative;
    z-index: 999;
    width: 100%;
    background-color: white;
    padding: 10px;
    border: solid lightgrey 1px;
}

.player-result:first-of-type {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.player-result:last-of-type {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.player-result:hover, .player-result:focus {
    background: rgb(230, 230, 230);
    cursor: pointer;
}

.player-result:focus-visible {
    border: solid white 1px !important;
}

.roster-player {
    position: relative;
    padding-right: 15px;
    padding-bottom: 10px;
    padding-left: 0px;
}

.remove-x {
    padding-left: 5px;
    color: red;
    font-size: 1.2em;
}

.remove-x:hover {
    font-weight:bold;
    cursor: pointer;
}

/* TEAM DETAILS */

.active-roster-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 10px;
}

.team-detail-edit-buttons {
    float: right;
}

@media screen and (max-width: 500px) {
	.team-detail-edit-buttons {
        float: left;
        margin-left: 15px;
    }
}


/* END TEAM DETAILS */

/* TEAM LOGOS */

.game-snippet-team-logo {
    width: 20px;
    height: 20px;
}

@media screen and (max-width: 345px) {
	.game-snippet-team-logo {
        display: none;
    }
}

@media screen and (max-width: 345px) and (min-width: 400px) {
	.game-snippet-team-logo {
        width: 17px;
        height: 17px;
    }
}

/* END TEAM LOGOS */

/* League home standings table — fit viewport on mobile */
.standings-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

@media screen and (max-width: 767px) {
  .standings-table {
    table-layout: fixed;
    width: 100%;
    font-size: 13px;
  }

  .standings-table th,
  .standings-table td {
    padding: 6px 4px;
  }

  .standings-table th:nth-child(1),
  .standings-table td:nth-child(1) { width: 8%; }   /* # */
  .standings-table th:nth-child(2),
  .standings-table td:nth-child(2) { width: 32%; } /* Team */
  .standings-table th:nth-child(3),
  .standings-table td:nth-child(3) { width: 12%; } /* W */
  .standings-table th:nth-child(4),
  .standings-table td:nth-child(4) { width: 12%; } /* L */
  .standings-table th:nth-child(5),
  .standings-table td:nth-child(5) { width: 16%; } /* W% */
  .standings-table th:nth-child(6),
  .standings-table td:nth-child(6) { width: 12%; } /* St */

  .standings-table td:nth-child(2) {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .standings-table td:nth-child(2) a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
  }

  .standings-table .game-snippet-team-logo {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
}
