html {
  font-size: 1.1em;
  font-family: "Maven Pro", sans-serif;
}

body {
  color: #303030;
  overflow-y: scroll;
  overflow-x: hidden;
  line-height: 1.5;
  padding-bottom: 64px;
}

.main {
  max-width: 90%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

h1 {
  font-size: 1.7em;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
  /* max-width: 500px; */
  margin-top: 64px;
  margin-bottom: 32px;
}

h2 {
  font-size: 28px;
  margin-top: 24px;
  font-weight: 900;
  /* border-left: 8px solid #ff33ff;
    padding-left: 12px;
    margin-left: -12px; */
    /* text-decoration: underline 6px solid #ff88ff; */
}

h3 {
  /* text-decoration: underline 4px solid #ff88ff; */
}

p {
  margin-top: 0.7rem;
  margin-bottom: 0.7rem;
}

.subtitle {
  font-size: 1.7em;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
  max-width: 600px;
  margin-top: 64px;
  margin-bottom: 32px;
}

.narrow {
  max-width: 500px;
}

ul {
  margin-top: 0rem;
  overflow: hidden;
}

details {
  margin-top: 8px;
}

summary {
  text-decoration: underline 1px solid black;
}

a {
  /* color: #121212; */
  /* text-decoration: underline; */
  color: #0000ff;
  text-decoration: none;
}

a:hover, a:active {
  /* color: #5090ff; */
  text-decoration: underline;
}

hr {
  margin-top: 0px;
}

blockquote {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 40px;
  margin-inline-end: 40px;
}

blockquote blockquote {
  margin-left: 0;
  border-left-color: #e7c3e5;
}

blockquote blockquote blockquote {
  border-left-color: #c3e7d2;
}

blockquote blockquote blockquote blockquote {
  border-left-color: lightgray;
}

/* Site header */

.site-header {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0px;
}

.site-navi {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  flex-flow: wrap;
}

.site-navi a {
  /* color: rgb(186, 153, 167); */
  text-decoration: none;
  /* font-weight: 500; */
}

.site-title {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  font-size: 1.7rem;
  margin: 0;
  margin-top: 10px;
  padding: 0;
  text-transform: uppercase;
  font-family: 'Monoton';
  text-decoration: none;
  color: #303030;
}

.site-title a {
  color: #303030;
}

.site-navi-items {
  /* -webkit-flex-grow: 0;
  flex-grow: 0;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  font-size: 1em;
  list-style-type: none;
    text-decoration: none;
    margin-bottom: 10px; */
  -webkit-flex-grow: 0;
  flex-grow: 0;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: flex-end;
  -webkit-flex-wrap: wrap;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-items: flex-end;
  font-size: 1em;
  list-style-type: none;
  margin: 0;
  margin-top: -32px;
  padding: 0;
  text-decoration: none;
}

.site-navi-items-div {
  display: block;
  justify-content: flex-end;
  font-size:120%;
  top: 50%;
  /* -ms-transform: translateY(-140%);
  transform: translateY(-140%); */
  margin-bottom: 0px;
}

@media (max-width: 1000px) {
  .site-navi-items-div {
    transform: translateY(32px);
    margin-bottom: 40px;
  }
}

.site-navi-items a {
  /* color: rgb(48, 48, 48); */
  opacity: 0.7;
    /* font-weight: 700; */
  color: #000;
  border-bottom: 2px solid #ff33ff;
}

.site-navi-items a:hover {
  text-decoration: none;
  color: #ff33ff;
  border-bottom: 2px solid transparent
}

.site-navi-items li {
  /* font-size: 1.2rem; */
  padding-left: 20px;
  white-space: nowrap;
}

.site-header-bottom {
  margin-top: 0;
  margin-bottom: 8px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* Site footer */

.footer {
  font-size: 0.8rem;
  text-align: center;
  margin-top: 32px;
  margin-bottom: 16px;
}

/* Mobile */

@media screen and (max-width: 768px) {
  .site-header, .site-header-bottom, .main, .breadcrumb, .site-footer {
    width: 98%;
    box-sizing: border-box;
  }
}

.full_bleed_outer {

  width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
      background-color: #dd77dd;
      color: #fff; padding-top: 32px; padding-bottom: 48px; margin-top: 32px;
  
  }
  
  .full_bleed_inner {
    margin: 0 auto;
    max-width: 1000px;
  }
  
  .full_bleed_inner a {
      /* color: #030303; */
      /* color: #00f; */
  }
  
  @media (max-width: 800px) {
    .full_bleed_inner {
      padding: 16px;
    }
  }

/* toc */

.toc_outside {
  
  /* position: absolute; */
  /* overflow: visible; */
  /* left: -430px; */
  left: 0px;
  /* min-width: 97%; */
float: right;;max-width: 400px;margin-left: 20px;margin-bottom: 20px;
border-left: solid 4px #ff99ff;
border-bottom: solid 4px #ff99ff;
border-radius: 0px 0px 0px 10px;

}

.toc {
  float: left;
  clear: left;
  z-index: 10;
  padding: 4px;
  /* margin-left: calc(100%); */
margin-bottom: 10px;
  /* border: solid 1px lightgray; */
  /* border-left: solid  4px #ff88ff; */
  /* border-top: solid 4px #ff33ff; */
  /* border-bottom: dotted  4px #ff33ff; */
    max-width: 388px;
    vertical-align: baseline;
    position: relative;
  font-size: 0.9em;
  font-weight: 400;
  
  /* border-radius: 6px; */
  /* box-shadow: 1px 2px 2px 0px rgba(0, 0, 255, .2); */
  
}
.toc a {
  text-decoration: none;  
  color: #000;
}
.toc a:hover {
  text-decoration: underline;
  
}
.toc ul {
  list-style-type: none;
  padding: 0;
  padding-left: 12px;
  margin: 0;
    counter-reset: toccounter;
}

.toc ul li {
  list-style-type: none;
  font-weight: 400;
  padding: 0;
  padding-left: 12px;
  margin: 0;
    
}

.toc ul li:before {
  content: counter(toccounter) ".\0000a0";
  counter-increment: toccounter;
}

.toc ul li ul li:before {
        content: counter(toccounter) ".\0000a0";
        counter-increment: toccounter;
}

.toc ul li ul li {
    font-weight: 500;
    font-size: 14px;
}
/*

.toc ul li ul li ul li:before {
        content: "\0000a0\0000a0\0000a0\0000a0";
}
*/

.toc ul li ul li ul li {
    display: none;
}
/*

.toc ul li ul li ul li ul li:before {
        content: "\0000a0\0000a0\0000a0\0000a0";
}
*/
.toc nav > ul {
  padding-left: 0;
}


@media (max-width: 700px) {
  .main {
    overflow: hidden;
  }
  .toc_outside {
  
    position: relative;
    min-width: 97%;
    /* margin-left: calc(470px); */
    border-bottom: 0px solid black;
    border-radius: 0px;
  }
    .toc {
 min-width: 97%;
    float: left;
    clear: right;
/*        position: relative;*/
  padding: 0px;
  margin-right: 4px;
    margin-left: 4px;
  margin-bottom: 10px;
  /* border: solid 1px lightgray; */
    }

    

}

.right_float {
  max-width: 400px;
  float: right;
  clear: right;
padding: 4px;
margin-right: 10px;
  margin-left: 10px;
margin-bottom: 10px;
border: solid 2px #ffd1dc;
line-height: 20px;
border-radius: 6px;
box-shadow: 1px 2px 2px 0px rgba(0, 0, 255, .2);
}

@media screen and (max-width: 768px) {
    .right_float {
    min-width: 95%;
    float: left;
    clear: right;
    
/*        position: relative;*/
  padding: 4px;
  margin-right: 4px;
    margin-left: 4px;
  margin-bottom: 10px;
  /* border: solid 1px lightgray; */
    }
    .substack_homepage_iframe {
      max-width: 100%;
    }
  }