@import "base.css";
@import "spec.css";

.actions {
  border-top: 1px solid;
  display: flex;
  margin: 0;
  padding: 1rem;
}

.banner {
  align-items: center;
  background-color: rgba(0, 255, 255, 0.3);
  font-weight: bold;
  margin: 0;
  padding: 1rem;
}

.btn {
  align-items: center;
  background-color: transparent;
  border: 1px solid;
  border-color: #000000;
  border-radius: 0.25rem;
  color: #000000;
  cursor: pointer;
  display: inline-flex;
  font-weight: bold;
  justify-content: center;
  padding: 0.5rem;
  text-align: center;
  text-decoration: none;
}

dd .btn {
  margin-top: -1.15rem;
}

form .btn {
  align-self: start;
  min-width: 10em;
}

.content {
  margin: 0;
  padding: 1rem;
}

.docs h1,
.docs h2,
.docs h3,
.docs h4,
.docs h5,
.docs h6 {
  margin-top: 2rem;
}

.docs ul li {
  margin-bottom: 1rem;
}

.docs ul li img {
  height: 2rem;
  vertical-align: middle;
  width: 2rem;
}

.error {
  background-color: rgba(255, 0, 255, 0.3) !important;
}

.logo {
  padding: 0.5rem !important;
}

.logo svg {
  height: 2.5rem;
  width: 2.5rem;
}

.lookup tr:hover a {
  background-color: #000000;
  color: #FFFFFF;
}

.menus {
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

@media screen and (max-width: 1000px) {
  .menus {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

@media screen and (max-width: 800px) {
  .menus {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media screen and (max-width: 500px) {
  .menus {
    grid-template-columns: 1fr 1fr;
  }
}

.menus a {
  align-items: end;
  aspect-ratio: 1;
  justify-content: start;
  overflow: hidden;
  padding: 1rem;
  text-align: left;
  white-space: pre-line;
}

.nav {
  align-items: center;
  display: flex;
  gap: 0;
  margin: 0;
  min-width: max-content;
  padding: 0;
  width: 100%;
}

.nav * {
  line-height: 0;
}

.nav.top {
  position: sticky;
}

.nav.bottom {
  position: absolute;
}

.nav form {
  margin: 0;
  padding: 0;
}

.nav a,
.nav button,
.nav h1 {
  background-color: inherit;
  border: none;
  border-radius: 0;
  color: inherit;
  display: inline-flex;
  margin: 0;
  min-width: fit-content;
  outline: none;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
}

/* Add a green text color and a checkmark when the requirements are right */
.valid {
  color: green;
}

.valid:before {
  content: "✔ ";
  display: contents;
}

/* Add a red text color and an "x" when the requirements are wrong */
.invalid {
  color: red;
}

.invalid:before {
  content: "✖ ";
  display: contents;
}  

.warning {
  background-color: rgba(255, 255, 0, 0.3) !important;
}

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

/* highlight: begin*/
.highlight {
  background-color: rgb(1, 50, 70);
  color: #FFFFFF;
}

.highlight a {
  color: #FFFFFF;
}

.highlight .btn {
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.highlight dt,
.highlight label {
  color: #CCCCCC;
}

.highlight dd,
.highlight input,
.highlight textarea {
  background-color: rgb(1, 50, 70);
  border-bottom-color: #CCCCCC;
  color: #FFFFFF;
}

.highlight a:hover,
.highlight button:hover,
.highlight .btn:hover,
.highlight .lookup tr:hover a {
  background-color: #FFFFFF;
  color: #000000;
}
/* highlight: end */

table.bordered {
  border-collapse: collapse;
  border-spacing: 0;
}

table.bordered td,
table.bordered th {
  border: 1px solid;
  white-space: nowrap;
}