/* css styles */
p.caption {
  color: #777;
  margin-top: 8px;
}
p code {
  white-space: inherit;
}
pre {
  word-break: normal;
  word-wrap: normal;
}
pre code {
  white-space: inherit;
}

/* remove underline from links */
a {
  text-decoration: none; 
}

/* Headings ------------------------------------------------------ */
h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  border-bottom: 0px;
  padding-bottom: 0px;
}
h3 { margin-top: 1.5em; font-size: 1.2rem; }
h4 { margin-top: 1.5em; font-size: 1.1rem; }
h5 { margin-top: 1.5em; font-size: 1rem; }

h1, h2, h3, h4, h5 {
  line-height: 1.3;
}

/* Code ------------------------------------------------ */
code {
  color: #373a3c;
}

code a:any-link {
  text-decoration: underline;
  text-decoration-color: #ccc;
}

pre {
  background-image: linear-gradient(160deg,#f8f8f8 0,#f1f1f1 100%);
}

/* Table tools ----------------------------------------- */
.table-wrapper {
  overflow-x: scroll;
}

/* Helpers ----------------------------------------- */
.center {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Custom footer styling */
.custom-footer {
  text-align: center;
  font-size: smaller;
}

.custom-footer .copyright {
    margin-bottom: 8px; 
}

.custom-footer a {
  color: black;
  text-decoration: none;
  margin-right: 16px;
}

.custom-footer a:hover {
  text-decoration: underline;
}

.custom-footer a:last-child {
    margin-right: 0; 
}

/* For support page */
.book-container {
  text-align: center;
}

.book {
  margin-top: 8px;
  margin-left: 8px;
}

/* Image styling */
.figure-img {
  max-width: 100%;
  height: auto;
}

/* Hide navigation elements */
a[rel~="logout"] { display: none; }
a[rel~="profile"] { display: none; }
