/* fonts */
@charset "UTF-8";

@font-face {
  font-family: "et-book";
  src: url("../fonts/et-book/et-book-roman.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: block;

}

@font-face {
  font-family: "et-book";
  src: url("../fonts/et-book/et-book-italic.woff2") format("woff2");
  font-weight: normal;
  font-style: italic;
  font-display: block;
}


@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/montserrat-v14-latin-500.eot");
  src: url("../fonts/montserrat/montserrat-v14-latin-500.eot?#iefix") format("embedded-opentype"), url("../fonts/montserrat/montserrat-v14-latin-500.woff") format("woff"), url("../fonts/montserrat/et-book-roman-line-figures.ttf") format("truetype"), url("../fonts/montserrat/montserrat-v14-latin-500.svg#etbookromanosf") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/montserrat-v14-latin-600.eot");
  src: url("../fonts/montserrat/montserrat-v14-latin-600.eot?#iefix") format("embedded-opentype"), url("../fonts/montserrat/montserrat-v14-latin-600.woff") format("woff"), url("../fonts/montserrat/et-book-roman-line-figures.ttf") format("truetype"), url("../fonts/montserrat/montserrat-v14-latin-600.svg#etbookromanosf") format("svg");
  font-weight: bold;
  font-style: normal;
  font-display: block;
}


/* native elements */
body {
  font-family: "et-book";
  margin: 2rem;
}

h1  {
  font-size: 3.2rem;
  line-height: 3.0rem;
  margin-top: 2rem;
  margin-bottom: 0.5em;
}

h2 {
  font-style: italic;
  font-size: 2.3rem;
  line-height: 3.0rem;
  margin-top: 4rem;
}

h2 code {
  font-size: 1.75rem!important;
  background-color: #eeeeee
}

h3 {
  font-size: 1.75rem;
  line-height: 1.5rem;
  margin-top: 4rem;
}

h3 code {
  font-size: 1.3rem!important;
  background-color: #eeeeee
}

h4 {
  font-size: 1.3rem;
  line-height: 1.3rem;
  margin-top: 4rem;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
}

.katex {
  font-size: 1em!important;
}

p, ul {
  font-size: 1.6rem;
  margin-top: 1.3rem;
  margin-bottom: 1.3rem;
  line-height: 2.2rem;
}
/* New PMR */
table {
  font-size: 0.5rem;
  margin-top: 1.3rem;
  margin-bottom: 1.3rem;
  line-height: 0.7rem;
  margin-left: auto;
  margin-right: auto;
}
/* End of New PMR */

ol {
  font-size: 1.4rem;
}

h1 a , h2 a , h3 a, .site-title a , a.nav-links {
  text-decoration: none;
}

a.read-more {
  text-decoration: underline;
  font-size: 1.1em;
}

a {
  color: #000;
}

hr {
  border: 0px;
  border-bottom: 1px solid #000;
  padding-top: 0rem;
  padding-bottom: 0rem;
}

mark {
  background-color: #000;
  color: #fff;
  padding: 2px;
}

blockquote {
  font-style: italic;
}

video {
  display: flex;
  max-height: 100%;
  max-width: 100%;
  margin: auto;
}


/* pre {
  background-color: #f8f8f8;
  font-size: xx-large;
} */

/* pre code {
  font-size: xx-large;
  background-color: #f8f8f8;
} */

/* pre code {
  font-size: 0.9rem;
  background: #eeeeee;
  padding: 0.3rem;
} */

code {
  background: #eeeeee;
  font-size: 1.2rem;
  padding: 0.2rem;
}

pre {
  background: #eeeeee;
}


figure , img {
  max-width: 100%;
}

figure img {
  vertical-align: top;
}


.marginauto {
    margin: 10px auto 20px;
    display: block;
    padding-bottom: 10px;
}


figure {
  margin-block-start: 0px;
  margin-block-end: 0px;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}


/* generic reusable classes */

.text-smaller {
  font-size: 0.75rem;
}

.text-small {
    font-size: 1rem;
}

.text-default, .text-default a {
  font-size: 1.1rem !important;
}

.text-medium, .text-medium a {
  font-size: 1.25rem !important;
}

.text-large {
  font-size: 2rem;
}

.text-center{
  text-align: center;
}

.text-justify {
  text-align: justify;
}

.text-indent p {
  text-indent: 2rem;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-decoration-none {
  text-decoration: none;
}

.italic {
  font-style: italic;
}

.font-secondary {
    font-family: 'Montserrat', sans-serif;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-4 {
  margin-top: 4rem;
}

.pt-1 {
  padding-top: 1rem;
}

.pt-2 {
    padding-top: 2rem;
}

.pl-4 {
  padding-left: 4rem;
}

.mb-1 {
  margin-bottom: 1rem
}
.mt-8 {
  margin-top: 8rem;
}

.p-1 {
  padding: 1em;
}

.p-20 {
  max-width: 60%; 
  margin: auto;
}


.m-auto {
  margin: auto;
}

.margin-neg {
  margin: -2rem;
}


.border-top {
  border-top: 1px solid #000;
}

.bg-light {
    background-color: #F8F8F8;
}


.d-flex {
  display: flex;
}

.d-flex-space-between {
  justify-content: space-between;
}

.d-flex-align-items-center {
  align-items: center;
}

.d-flex-align-items-baseline {
  align-items: baseline;
}

.d-none {
  display: none;
}

/* table  */
table {
  border-collapse: collapse;
  border-spacing: 0;
  min-width: 50%;
}

table tr {
  border: 1px solid #ddd;
  padding: 5px;
}

table th,
table td {
  padding: 10px;
  text-align: center;
}
/* New PMR */
table th {
  text-transform: uppercase;
  font-size: 0.5rem;
  letter-spacing: 1px;
}
/* End of new PMR */

/* navigation */

.main-nav {
    list-style-type: none;
    display: none;
}

.main-content {
  min-height: 80vh;
}
.site-title{
  font-size: 1.4rem;
  font-weight: 800;
}

img.logo {
  display: none;
}

.navbar-toggle {
    position: absolute;
    top: 15px;
    right: 30px;
    cursor: pointer;
    font-size: 2.5em;
}

.active {
  display: block;
}

ul.main-nav {
    margin-left: 0;
    padding-inline-start: 0px;
    margin-block-start:0px;
    margin-block-end:0px;
}

ul.main-nav li {
  border-bottom: 1px solid #000;
  font-size: 0.9rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-weight: 500;
}

.post-date {
  font-size: 1.4rem;
}

.page-title {
    font-style: normal;
    font-weight: bold;
}

.more-posts {
  background-color: #000;
  color: #fff;
  text-decoration: none;
  padding: 10px;
}

/* margin notes */
.margin-note {
  font-size: 1.25rem;
  font-style: italic;
  text-align: center;
  display: block;
  padding-top: 1rem;
}


.inline-image-left {
  float: left;
  padding-right: 1rem;
}

.inline-image-right {
  float: right;
  padding-left: 1rem;
  text-align: right;
}

/* contact form  */

.contact-form input, .contact-form textarea, .contact-form select {
  display: block;
  margin-top: 5px;
  margin-bottom: 2rem;
  padding: 0.25rem;
  font-size: 1.1rem;
  border: 2px solid black;
  height: 25px;
  width: 300px;
}

.contact-form select {
    width: calc(300px + 10px);
    height: 35px;
    background-color: #fff;
  }

.contact-form textarea {
  height: 200px;
}

.contact-form button {
    background-color: #fff;
    color: #000;
    padding: 0.5rem 1rem 0.5rem 1rem;
    border: 2px solid black;
    cursor: pointer;
    font-weight: bold;
}

.search-box input {
  width: 80%;
  height: 25px;
  padding: 0.5rem;
  font-size: 1.1rem;
  border: 2px solid black;
}

.homepage-image {
  text-align: center;
}
.homepage-image img {
  max-height: 400px;
}

/* article, article > details , 
article > details > summary , 
article > details > details > summary {
  font-size: 1.4rem;
  line-height: 2rem;
  margin-top: 1.3rem;
  margin-bottom: 1.3rem; */

details > summary { 
  font-style: italic;
  font-size: 2.3rem;
  line-height: 3.0rem;
  margin-top: 4rem;
}

details > p {
	margin-left: 3rem;
}

details details {
	margin-left: 3rem;
}

/* for long text in the subject line */
/* remove the indent otherwise the text wraps around the arrow */
article details summary {
  text-indent: -2rem;
}

/* in safari there is an outline, hide it  */
summary:focus {
	outline-style: none;
}

summary::marker, summary::-webkit-details-marker {
  cursor: pointer;
  color: #181818;
}
 
/* table of content */

.toc {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.toc h3 {
  font-weight: bold;
}

.toc ol {
    counter-reset: item;
    display: table;
}


.toc  li {
  display: table-row;
  line-height: 2.5rem;
}

.toc  li:before {
  content: counters(item, ".") " ";
  counter-increment: item;
  padding: 5px;
  display: table-cell; /* aha! */
}

div.highlight {
  max-width: 500px;
}
div.highlight pre {
  white-space: pre-wrap;
  word-break: break-word;
  margin-top: 0.1rem;
  margin-bottom: 0.1rem;
}