/* EPRI styles in the spirit of Material Design */
:root {
  --color-primary: #1976d2;
  --color-text: rgba(0,0,0,0.87);
  --color-border: rgba(0,0,0,0.13);
  --color-background: rgba(0,0,0,0.04);
}

html {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-size: 16px;
}

body {
  color: var(--color-text);
  font-family: 'BlinkMacSystemFont', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  padding: 0 1rem;
  min-height: 100%;
}

a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
}
a:active,
a:hover {
  outline-width: 0;
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6, p, blockquote, hr {
  margin: 1rem 0;
  padding: 0;
}
ul, ol {
  margin: 0 0 1rem 0;
}

/* nested lists have no top/bottom margins */
:is(ul, ol, dir, menu, dl) ul,
:is(ul, ol, dir, menu, dl) ol {
  margin: 0;
}

h1 { /* Material heading 4 */
  font-size: 2.125rem;
  font-weight: 400;
  line-height: 2.5rem;
  letter-spacing: 0.00735294em;
  margin-top: 2rem;
}

h2 { /* Material heading 5 */
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 2rem;
  letter-spacing: normal;
  margin-top: 2rem;
}

h3 { /* Material heading 6 */
  font-size: 1rem;
  font-weight: bold;
  line-height: 2rem;
  letter-spacing: 0.0125em;
  margin-bottom: 0.5rem;
}

h4, h5, h6 { /* Material subtitle-1 + medium emphasis */
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.75rem;
  letter-spacing: 0.009375em;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 1rem 0;
  padding: 0;
}

pre,
blockquote {
  border-left: 4px solid var(--color-border);
  padding: 0 1rem;
}

code,
kbd,
pre,
samp {
  font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace;
  font-size: 0.9375em;
}
code {
  background-color: var(--color-background);
  border-radius: 4px;
  overflow-wrap: normal;
  padding: 2px 4px;
  word-break: keep-all;
}

img {
  border-style: none;
}

input {
  font-family: inherit
}
input:focus {
  outline: none;
}

.epri-logo {
  display: block;
  margin: 1rem 0;
}

.epri-main {
  margin: 0 auto;
  max-width: 800px;
}

/* Mobile devices */
@media (max-width: 576px) {
    h1 { font-size: 1.3rem !important; }
    h3 { font-size: 1.1rem !important; }
    th, td { 
        font-size: 11px !important; 
        padding: 4px !important; 
    }
    .epri-logo { max-width: 40px !important; }
    .table input { 
        font-size: 11px !important; 
        padding: 4px !important; 
    }
}

/* Tablets */
@media (min-width: 577px) and (max-width: 992px) {
    th, td { font-size: 13px; }
}

/* Print styles */
@media print {
    .d-print-none { display: none !important; }
    body { font-size: 10pt; }
    th, td { font-size: 9pt; }
}