.nav {
overflow: hidden;
  background-color: #333;
  margin-bottom: 10px;
  width: 810px;
  position: relative;
  right: 5px;
}
.header {
  text-align: justify;
}
.header p {
  text-align: right;
  display: inline-block;
  margin: 0 20px 0 0;
  float: right;
}
.header h1 {
  display: inline-block;
  text-align: left;
  margin: 0;
}
* {
  margin: auto;
}
body {
  background: #fff;
  color: #000;
  padding: 5px;
  padding-top: 0;
  font-family: Tahoma, Arial, Verdana, sans-serif;
  width: 800px;
  max-width: 800px;
  border: solid 1px black;
  margin-bottom: 50px;
}
.box {
   display: inline-block;
   vertical-align: top;
}
.green {
  background: #c0f4bc;
  width: 20px;
  height: 20px;
  border: solid 1px black;
}
.lightgreen {
  background: #d0fccc;
  width: 20px;
  height: 20px;
  border: solid 1px black;
}
.blue {
  background: #c0f4fc;
  width: 20px;
  height: 20px;
  border: solid 1px black;
}
.red {
  background: #ffbcbc;
  width: 20px;
  height: 20px;
  border: solid 1px black;
}
.lightred {
  background: #ffcccc;
  width: 20px;
  height: 20px;
  border: solid 1px black;
}

.yellow {
  background: #fffcbc;
  width: 20px;
  height: 20px;
  border: solid 1px black;
}

.nav a{
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}
.nav a:hover {
  background-color: #ddd;
  color: black;
}
.past {
  border: solid 1px black;
  width: 200px;
  margin-right: 25px;
  margin-left: 25px;
  margin-bottom: 25px;
  padding-top: 10px;
}
.league {
 border: solid 1px black;
 width: 200px;
 height: 200px;
  margin: 20px 25px 20px 25px;
  display: inline-block;
}
.league img {
  width: 120px;
  height: 120px;
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.league p {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}
.upcoming {
  margin-bottom: 25px;
}
.upcomingLeague {
 padding: 5px;
  border: 1px solid black;
  margin-bottom: 10px;
  margin-right: 12px;
}
.stats {
  min-width: 200px;
}
.stats,.upcoming,.upcomingLeague, .teams, .teamsLeague, .past{
  display: inline-block;
}
.ratings tr td {
  width: 65px;
}
.skinny tr td {
  border: 1px solid black;
  text-align: center;
  width: 250px;
}
table  tr td, table tr th {
  border: 1px solid black;
  text-align: center;
  width: 75px;
  font-weight: normal;
}
table tr th {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
table tr th:hover {
  background-color: #E5E5E5;
  cursor: pointer;
}
table tr td img {
  width: 30px;
  height: 30px;
}

.prob tr td {
  font-size: 24px;
}
.probLeague tr td {
  font-size: 18px;
  width: 50px;
}
#chances {
  width: 800px;
}


.ratings table {
  margin: 0;
}
.skinny table {
  text-align: left;
}
.playoff {
  background-color: #c0f4bc;
}
.playofflite {
  background-color: #d0fccc;
}
.playoff2 {
  background-color: #c0f4fc;
}
.playin {
  background-color: #fffcbc;
}
.rel {
  background-color: #ffbcbc;
}
.rellite {
  background-color: #ffcccc;
}

table {
  border-collapse: collapse;
}
#badge {
  height: 200px;
  width: 200px;
}
.flag {
  height: 40px;
  width: 80px;
}
#flag {
  height: 40px;
  width: 80px;
  display: inline-block;
}
.teams img {
  height: 60px;
  width: 60px;
  object-fit: scale-down;
}
.teamsLeague img {
  height: 45px;
  width: 45px;
  object-fit scale-down;
}
.teams p {
  margin-bottom: 0;
  text-align: center;
}
img {
  object-fit: scale-down;
}
.date {
  position: relative;
  text-align: center;
  bottom: 10px;
}
.dateLeague {
  position: relative;
  left: 60px;
  bottom: 10px;
}
.game,.profile {
  min-width: 800px;
  margin-bottom: 10px;
}
 .game {
  border-bottom: solid 1px black;
}

#graph {
  width: 390px;
  height: 195px;
  margin-bottom;
}

