body {
  color: #000;
  font-family: 'Roboto', Arial, Verdana, sans-serif;
  line-height: 1.5;
}

body, td, th, p, li, input {
  font-size: 11pt;
}

h1, h2, h3, h4, h5, h6 {
  /*font-weight: normal;*/
  /*font-family: Arial, Verdana, sans-serif;*/
}

h1 {
  font-size: 24px;
  font-weight: normal;
  margin: 5px 0;
  padding: 0;
}

h2 {
  margin: 25px 0 10px;
  /*font-weight: bold;*/
  font-size: 16px;
}

form {
  margin: 0;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #CCCCCC;
}

/*fieldset table {
  border-collapse: collapse;
}*/

/*fieldset table td, fieldset table th {
  padding: 0;
  padding-bottom: 0.4rem;
}*/

fieldset p {
  margin-top: 0;
}

legend {
  color: #1C94C4;
  font-weight: normal;
  font-size: 1.2rem;
}

label {
  font-weight: normal;
}

input, select {
  padding: 4px;
}

hr {
  height: 1px;
  color: #CCC;
}

/* anon pages */
#grey_bar {
  width: 738px;
  border-bottom: 6px solid #EAEAEA;
  margin-left: auto;
  margin-right: auto;
}

#main {
  margin-top: 7px;
  border: 1px solid #EAEAEA;
  margin-left: auto;
  margin-right: auto;
  padding: 16px;
  width: 704px;
}

#footer {
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  width: 736px;
}

#footer p {
  font-size: 11px;
  color: #808080;
}

#nav {
  margin: 10px 0;
  padding: 2px 0 0 6px;
  background-image: url(../images/green2.gif);
  background-repeat: no-repeat;
  list-style-type: none;
  height: 30px;
  width: 732px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  border-bottom: 6px solid #EAEAEA;
}

#nav li {
  display: inline;
  vertical-align: middle;
  background-image: url(../images/line2.gif);
  background-repeat: no-repeat;
  background-position: right top;
}

#nav a {
  color: #FFF;
  /*font-weight: bold;*/
  /*font-family: Arial, Verdana, sans-serif;*/
  /*font-size: 10pt;*/
  text-decoration: none;
  padding: 0 15px 0 9px;
}

#nav li.end {
  background-image: none;
}

#nav li.end a {
  padding-right: 0;
}

.numbering {
  margin: 5px 0;
}

.smaller {
  font-size: smaller;
}

h3.title {
  font-weight: normal;
  color: #1C94C4; /*#6699CC;*/
}

.date {
  color: #666;
}

.err {
  /*font-size: x-small;*/
  font-size: small;
  margin-top: 0;
  padding-top: 0;
}

.warning {
  font-weight: bold;
  color: #CC0000;
}

#non-invoiced {
  color: #CC0000;
}
#paid {
  color: #009933;
}
#invoiced {
  color: #0000CC;
}

.scratched {
  text-decoration: line-through;
}

.highlightRed {
  color: red;
}

.highlightOrange {
  color: orange;
}

.highlightGreen {
  color: green;
}

div.key_group {
  margin-bottom: 15px;
  border: 1px solid #ccc;
  width: 65%;
}

td.event_key {
  background-color: #f6f6f6; /*#eee;*/
}

.buttonBeam {
  margin-bottom: 1rem;
  background-color: #E3E3E3;
  padding: 0.3rem;
  text-align: right;
}

.alternating_table td, .alternating_table th {
  border-bottom: 1px solid #DDD;
  vertical-align: top;
  padding: 1px 3px 1px 3px;
}

.alternating_table {
  border-collapse: collapse;
  border-spacing: 0;
  border-top: 1px solid #DDD;
}

#browse_entries .alternating_table td {
  border: 0;
}

#browse_entries .alternating_table .first_row_for_athlete td {
  border-top: 1px solid #DDD;
}

#browse_entries .alternating_table {
  border-bottom: 1px solid #DDD;
}

#browse_entries .alternating_table th {
  text-align: left;
}

#browse_entries .alternating_table input {
  margin: 2px;
}

.dark_row {
  background-color: #EBF7FC;
}

.light_row {
  background-color: #FFFFFF;
}

/*input.ui-button {
  font-family: Arial, Helvetica, sans-serif;
}*/

.athlete_profile {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.3rem;
  align-items: center;
}

.athlete_profile .warning, #teamInfo .warning {
  grid-column: 2 / -1;
}

#athlete_events {
  display: grid;
  grid-template-columns: max-content max-content 1fr max-content;
  gap: 0.3rem;
  align-items: center;
}

#athlete_events select {
  width: 100%;
}

#athlete_events .seasonsBest {
  width: 5rem;
}

#athlete_events .warning {
  grid-column: 1 / -1;
}

#teamInfo {
  margin: auto;
  width: 60%;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.3rem;
  align-items: center;
}

#spoof {
  background-color: #FFE45C;
  width: 100%;
}

#spoof .grid {
  height: 50px;
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  gap: 0.3rem;
  align-items: center;
  margin-left: auto; margin-right: auto;
  width: 738px;
}

#athleteList {
  display: grid;
  grid-template-columns: max-content max-content 1fr;
  gap: 0.3rem;
  align-items: center;
}

#relays {
  margin: auto;
  width: 50%;
  display: grid;
  grid-template-columns: 1fr max-content;
  gap: 0.3rem;
  align-items: center;
}

#relays h2 {
  margin: 0;
}

#relays input.number_relays, #relays .relays_events_teams {
  justify-self: end;
}
#relays input.number_relays {
  width: 3rem;
  text-align: right;
}

#login {
  width: 30%;
  margin: auto;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.3rem;
  align-items: center;
}