div.manage-mathletes {
  max-height: 75vh;
  overflow: auto;
}

div.manage-mathletes div.mathlete-info table tr > td {
  border-top: 0px;
}

div.manage-mathletes div.mathlete-info table tr:last-child > td {
  border-bottom: 1px solid black;
}

div.manage-mathletes input[type=text] {
  min-width: 150px;
}

div.manage-mathletes input.mathlete-gender-other-field {
  width: 200px;
}

div.manage-mathletes label {
  display: block;
}

div.manage-mathletes select.mathlete-class-field {
  display: block !important;
  margin: auto;
  min-width: 100px;
}

#content.guide {
  margin-left: 0px;
  margin-right: 0px;
  max-width: 100%;
  width: 100%;
}

#guide-after,
#guide-before,
#guide-during {
  border-radius: 5px;
  border-style: solid;
  border-width: 2px;
  font-weight: bold;
  margin: 5px -5px;
  padding: 5px;
}

#guide-after {
  background-color: #aaeedd;
  border-color: #228822;
  color: #228822;
}

#guide-before {
  background-color: #ddddff;
  border-color: #4444ff;
  color: #4444ff;
}

#guide-during {
  background-color: #ffddcc;
  border-color: #bb8844;
  color: #bb8844;
}

#guide-after h4,
#guide-before h4,
#guide-during h4 {
  font-weight: 600;
}

#mathletes form,
#teams form {
  text-align: center;
}

#mathletes form .form-input-field,
#teams form .form-input-field {
  margin-bottom: 20px;
  text-align: left;
}

#mathletes .card,
#teams .card {
  margin-bottom: 5px;
}

#mathletes .card-header,
#teams .card-header {
  background-color: var(--hmmt-red);
  color: white;
}

#mathletes .card-header button,
#teams .card-header button {
  color: white;
  font-size: 1.5rem;
  text-align: left;
  width: 100%;
}

#mathletes .card .card-body .card form > .form-group > .form-input-field,
#new-mathlete > .form-group > .form-input-field {
  margin-left: 10px;
  margin-right: 10px;
  vertical-align: top;
}

@media (min-width: 1200px) {
  #mathletes .card .card-body .card form > .form-group > .form-input-field,
  #new-mathlete > .form-group > .form-input-field {
    display: inline-block;
    width: calc(50% - 20px);
  }
}

#mathletes .card .card-body .row .btn-primary,
#mathletes .card .card-body .row .btn-secondary,
#teams .card .card-body .row .btn-primary,
#teams .card .card-body .row .btn-secondary,
#tournaments .tab-pane .actions .btn-primary,
#tournaments .tab-pane .actions .btn-secondary {
  font-variant: normal;
  letter-spacing: normal;
  max-width: none;
}

/*
#tournaments nav {
  padding-top: 10px;
  padding-bottom: 5px;
}

#tournaments nav .nav-tabs .nav-item::after {
  position: relative;
  top: -72px;
  left: -27px;
  z-index: -1;
  display: block;
  content: '';
  background-color: var(--hmmt-red);
  border-radius: 50% / 100%;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  width: 140px;
  height: 68px;
}

#tournaments nav .nav-tabs .active::after {
  top: -69px !important;
  left: -24px !important;
}

#tournaments nav .nav-tabs .active {
  background-color: var(--hmmt-grey) !important;
  color: var(--dark-grey) !important;
  border-style: none !important;
  box-shadow: inset 1px 0px 7px var(--dark-grey);
}

#tournaments nav .nav-tabs .nav-item {
  background-color: var(--hmmt-red);
  color: white;
  font-variant: small-caps;
  font-size: 1.3rem;
  text-align: center;
  vertical-align: bottom;
  border-style: solid solid none solid;
  border-color: white;
  border-width: 3px;
  border-radius: 55% / 100%; /* to be standardized *//*
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  width: 120px; /* to be standardized *//*
  height: 60px; /* to be standardized *//*
  margin: 0px 10px 0px 10px; /* to be standardized *//*
}
*/

#tournaments .tab-pane .actions .alert {
  display: block;
  width: 100%;
}

#tournaments .tab-pane .actions .alert a.btn {
  display: block;
  margin: auto;
}

#tournaments .tab-pane .actions form .btn-primary,
#tournaments .tab-pane .actions form .btn-secondary {
  width: auto;
}

#tournaments .tab-pane .actions .btn-primary,
#tournaments .tab-pane .actions .btn-secondary {
  width: 100%;
}
