/* Create the dashboard tabs */


#edit-account-form fieldset {
    font-weight: bold;
    margin: auto;
    width: 50%;
    background-color: grey;
    margin-bottom: var(--quarterMargins);
    border: .1em solid var(--kiloRed);
}

#edit-account-form input[type="text"] {
    height: 1.5em;
    width: 33%;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
}

input[type="radio"].radDashboardSelector {
    display: none;
    padding: 1%;
    margin-bottom: 1%;
    background: white;
    border: .1em solid var(--kiloRed);
    font-weight: bold;
}

section.dashboard input[type="radio"].radDashboardSelector {
    display: none;
}

label.radDashboardLabel {
    padding: 3%;
    background: white;
    border: .1em solid var(--kiloRed);
    font-weight: bold;
}

label.radDashboardLabel:hover {
    background-color: lightgrey;
}

section.dashboard {
    width: 100%;
    background-color: white;
    order: 1;
    display: none;
}

.tabs input[type="radio"]:checked.radDashboardSelector+label.radDashboardLabel+section.dashboard {
    display: block;
}

.tabs input[type="radio"]:checked+label.radDashboardLabel {
    background-color: var(--kiloRed);
    color: white;
    border: .1em solid var(--blackish);
}

/* General CSS */
.tabs {
    border: .1em solid var(--kiloRed);
    background-color: white;
    margin: var(--margins);
    padding: var(--padding);
}

table.displayTable th {
    font-size: 1.25em;
}


table.displayTable {
    text-align: center;
    border: solid white 0.1em;
    border-collapse: collapse;
    width: 100%;
}

table.displayTable th,
table.displayTable td {
    padding: var(--halfPadding);
}

table.displayTable tr {
    border: solid white 0.1em;
}

table.displayTable tr:hover {
    border: solid var(--kiloRed) .15em;
}

table.displayTable tr:nth-child(odd) {
    background-color: var(--mediumGrey);
}

table.displayTable tr:nth-child(even) {
    background-color: var(--darkGrey);
}

table.displayTable a {
    color: white;
    padding: 10%;
}

table.displayTable a:hover {
    color: var(--kiloRed);
}


.admin {
    display: grid;
    align-content: center;
    grid-template-columns: 50% 50%;
    grid-template-areas:
        "admin-title admin-title"
        "mailing-list newsletter"
        "add-coach add-client"
        "coach-roster coach-roster"
        "client-roster client-roster"
        "user-roster user-roster";
}

.admin-title {
    grid-area: admin-title;
    position: relative;
}

.add-coach {
    grid-area: add-coach;
    position: relative;
}

.add-client {
    grid-area: add-client;
    position: relative;
}

.coach-roster {
    grid-area: coach-roster;
    position: relative;
}

.client-roster {
    grid-area: client-roster;
    position: relative;
}

.user-roster {
    grid-area: user-roster;
    position: relative;
}

.newsletter {
    grid-area: newsletter;
    position: relative;
}

.mailing-list {
    grid-area: mailing-list;
    position: relative;
}


section.client table.displayBlock {
  text-align: center;
  margin: var(--quarterMargins);
}

section.client table.displayBlock th, section.client table.displayBlock td {
  padding: var(--quarterPadding);
  font-weight: bold;
  word-wrap: break-word;
  width: 15em;
  height: 3em;
}

tr:nth-child(even) {
  background-color: maroon;
  color: white;
}

tr:nth-child(odd) {
  background-color: var(--darkGrey);;
  color: white;
}

tr:first-child {
  background-color: var(--blackish);
  color: white;
}
