body {
  background-color: #01a7e5;
  font-family: Arial, Helvetica, clean, sans-serif;
}

a img {
  border: 0;
}

#container {
  width: 980px;
  background-color: #fff;
  margin: 0 auto;
  /* ESMMWL green */
  /* border: thick solid #8ec63f; */
  /* ESMMWL teal */
  /* border: thick solid #25bdae; */
  padding: 10px;
}

.small {
  font-size: 75%;
}

#logo {
  width: 176px;
  height: 136px;
  float: left;
  margin: 16px;
}

#whoami {
  width: 400px;
  height: 90px;
  float: right;
  margin-left: 22px;
}

#whoami h1,
#whoami p,
#whoami div {
  margin-top: 0px;
  margin-bottom: 0px;
}

#loggedinas {
  font-size: 82%;
}

#yourclass {
  font-size: 71%;
}

#navbar {
  display: flex;
  justify-content: center;
}

#navbar ul {
  margin: 0;
  list-style: none;
  background-color: #fff;
}

#navbar ul li {
  float: left;
  height: 100%;
}

#navbar ul li a {
  display: block;
  height: 47px;
  padding: 31px 20px 0px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  background-color: #8ec63f;
  color: #fff;
  border-right: 10px solid #fff;
}

#navbar ul li a:hover {
  background-color: #9ed64f;
}

#navend {
  clear: left;
  width: 100%;
  margin-bottom: 0;
  height: 5px;
  color: #8ec63f;
  background-color: #8ec63f;
  border: none;
}

#partnav {
  margin-bottom: 15px;
  background-color: #eaffd0;
  padding: 1em;
  width: 948px;
  text-align: center;
}

#report_form {
  float: left;
  width: 75%;
}

#bmi {
  float: left;
  width: 22%;
  background-color: #eaffd0;
  padding-bottom: 1em;
  padding-top: 1em;
  text-align: center;
  margin: 1%;
}

.popup {
  font-size: small;
}

span.nodata {
  font-style: italic;
  color: #999;
}

div.card {
  background-color: #eaffd0;
  min-height: 314px;
  margin-bottom: 1em;
}

div.card > h3,
div.cardfooter {
  text-align: center;
}

div.cardfooter {
  margin-bottom: 0.5em;
}

#smartgoal {
  float: left;
  width: 281px;
}

#chart_div {
  float: right;
  width: 462px;
  margin-left: 15px;
}

#pes {
  float: right;
  width: 207px;
}

#tracker {
  width: 100%;
  margin: auto;
  padding: 1em 0 0 0;
  clear: both;
  display: block;
}

#xfernote {
  clear: both;
  padding-top: 1em;
  font-size: small;
  text-align: center;
}

.hide {
  display: none;
}
.showhide_closed {
  font-size: large;
  background-image: url("toggle_expand.png");
  background-repeat: no-repeat;
  padding-left: 20px;
  padding-bottom: 0.2em;
  display: block;
  margin-top: 0.3em;
}
#showhide_strat {
  font-size: large;
  background-image: url("toggle_expand.png");
  background-repeat: no-repeat;
  padding-left: 20px;
}

form.admin {
  padding: 1em 0em 2em; /* top, sides, bottom */
}

/* Headers in all_messages.php */
.msg_header,
.fdbk_header,
.sgmsg_header {
  margin-top: 2em;
  margin-bottom: 0.3em;
  padding: 0.7em;
}
.msg_header {
  background-color: #eee;
}
.fdbk_header {
  background-color: #eaffd0;
}
.sgmsg_header {
  background-color: #cce0ff;
}

/* Tables in reports.php and rosters.php */
table.wrctable {
  border-collapse: collapse;
}
tr.alt {
  background-color: #eee;
}
tr > td.phase2 {
  background-color: #fdf;
}
tr.alt > td.phase2 {
  background-color: #c9c;
}
table.wrctable th {
  background-color: #333;
  color: #fff;
  padding: 0.3em 0em;
}
table.wrctable th a,
table.wrctable th a:link,
table.wrctable th a:visited {
  color: #fff;
  text-decoration: none;
}
table.wrctable td {
  white-space: nowrap;
}
table.wrctable td,
table.wrctable th {
  padding-left: 0.5em;
  padding-right: 0.5em;
}
td.center {
  text-align: center;
}
td.green {
  color: #8ec63f;
  font-weight: bold;
}
table.rosters {
  font-size: 85%;
}
tr.header_row td {
  padding-top: 3em;
}
tr.header_row td span {
  font-weight: bold;
  font-size: 120%;
}

/* Participant lookup table */
table.pl {
  background-color: #eee;
  padding: 0.5em;
}
table.pl td {
  padding: 0.1em 0.3em;
}

/* Workarounds for the div/span issue with jQuery popups */
.ui-dialog .ui-dialog-content {
  padding: 0;
}
.ui-widget {
  padding: 0.5em;
}
.ui-dialog-titlebar {
  margin-bottom: 0.5em;
}

#footer {
  margin: 1em 0;
  width: 100%;
  text-align: center;
}

.hidden {
  display: none;
}

table#attendanceEntry a.blackBox {
  color: black;
}

/* Fixed header table via https://codepen.io/tjvantoll/pen/JEKIu */

table#attendanceEntry {
  margin-top: 1em;
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
table#attendanceEntry th,
td {
  padding: 5px;
}
table#attendanceEntry thead tr {
  display: block;
  position: relative;
}
table#attendanceEntry tbody {
  display: block;
  overflow: auto;
}
table#attendanceEntry .participantName {
  min-width: 150px;
  max-width: 150px;
  text-align: left;
}
table#attendanceEntry .attendanceSum {
  min-width: 23px;
  max-width: 23px;
  text-align: center;
}
table#attendanceEntry .checkboxCell {
  min-width: 41px;
  max-width: 41px;
  text-align: center;
}

ul#classList li {
  padding-bottom: 0.3em;
}

.entryPoint {
  cursor: pointer;
}

.inline-link {
  margin-left: 0.5em;
  font-size: 75%;
}

.attendance-reports-header {
  font-size: 120%;
  padding-top: 1.8em;
  padding-bottom: 0.2em;
}

.attendance-reports-section {
  padding-left: 1em;
}

#metric-entry {
  float: left;
}

.shirt-stock-div {
  margin: 0.4em;
  display: flex;
  align-items: center;
}

.shirt-stock-div .blackBox,
.shirt-stock-div .greenCheck,
.shirt-stock-div img {
  height: 24px;
  width: 24px;
  margin-right: 6px;
  cursor: pointer;
}

.wide-box {
  clear: both;
  margin-bottom: 15px;
  background-color: #eaffd0;
  padding: 1em;
  width: 948px;
  text-align: center;
}
