/* SAUC-specific styles — extend or override Bootstrap and books.css here */

@font-face {font-family: 'RobotoSlab-Regular';
    src: url('https://dsal.uchicago.edu/fonts/static/RobotoSlab-Regular.ttf') format('truetype'); /*non-IE */
}

@font-face {font-family: 'RobotoSlab-Medium';
    src: url('https://dsal.uchicago.edu/fonts/static/RobotoSlab-Medium.ttf') format('truetype'); /*non-IE */
}

@font-face {font-family: 'RobotoSlab-Bold';
    src: url('https://dsal.uchicago.edu/fonts/static/RobotoSlab-Bold.ttf') format('truetype'); /*non-IE */
}

@font-face {font-family: 'RobotoSlab-SemiBold';
    src: url('https://dsal.uchicago.edu/fonts/static/RobotoSlab-SemiBold.ttf') format('truetype'); /*non-IE */
}

.sauc-header {
  font-family: RobotoSlab-Bold;

}
/* Secondary navigation bar */
.sauc-subnav {
  background-color: #2c3e6b;
}
.sauc-subnav-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.2rem 0.5rem;
  letter-spacing: 0.02em;
}
.sauc-subnav-link:hover,
.sauc-subnav-link.sauc-active {
  color: #fff;
  text-decoration: underline;
}
.sauc-subnav-toggle {
  background-color: #2c3e6b;
  color: rgba(255, 255, 255, 0.85);
  border: none;
  padding: 0.5rem 1rem;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 0.9rem;
  width: 100%;
}
.sauc-subnav-toggle:hover {
  color: #fff;
}

/* Left aside navigation */
.sauc-aside {
  background-color: #62697a;
  min-height: 100%;
  padding-top: 1rem;
}
.sauc-aside-link {
  display: block;
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.15s, color 0.15s;
}
.sauc-aside-link:hover,
.sauc-aside-link.sauc-active {
  background-color: #1e2e50;
  color: #fff;
}

/* Page body */
body {
  font-family: 'RobotoSlab-Regular', Georgia, serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1;
}

/* Search forms */
.sauc-search-card {
  max-width: 680px;
  margin: 2.5rem auto;
}

/* Results */
.sauc-results-header {
  font-family: 'RobotoSlab-Regular', Georgia, serif;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.25rem;
}
.sauc-record {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e5e5;
  font-size: 0.9rem;
}
.sauc-record:last-child {
  border-bottom: none;
}
.sauc-record-nav {
  font-size: 0.8rem;
  margin-top: 0.35rem;
  color: #555;
}
.sauc-record-nav a {
  color: navy;
}

/* XSL-generated record display classes */
._100, ._880_100          { font-weight: 600; }
.title_paragraph          { margin: 0.15rem 0 0.1rem; }
._245ab                   { font-style: italic; }
._245hc                   { font-size: 0.85rem; color: #555; }
._250_260                 { font-size: 0.85rem; color: #444; }
.title_paragraph_880      { font-size: 0.9rem; }
.alt_title, .alt_title_brief { font-size: 0.85rem; color: #555; }
._3xx                     { font-size: 0.85rem; color: #555; }
._6xx ol, ._7xx ol        { margin: 0.25rem 0 0 1rem; padding: 0; font-size: 0.85rem; }
._852                     { font-size: 0.85rem; color: #444; margin-top: 0.25rem; }
._246_first               { font-weight: 600; font-size: 0.85rem; }
._246                     { font-size: 0.85rem; }
._5xx, ._500, ._505, ._510 { font-size: 0.85rem; color: #444; }
.language                 { font-size: 0.8rem; color: #666; }
.monospace                { font-family: monospace; font-size: 0.8rem; }

/* Static page link color */
.sauc-static a {
  color: navy;
}
.sauc-static a:hover {
  color: #001f5b;
}

/* Sort / pagination links */
.sauc-sort a, .sauc-pager a {
  color: navy;
  text-decoration: none;
  font-size: 0.85rem;
}
.sauc-sort a:hover, .sauc-pager a:hover {
  text-decoration: underline;
}
