/* ==================================================================
    DEFAULT FONT AND LAYOUT
================================================================== */

html {
  font-family: Helvetica, Arial, sans-serif;
  font-size  : 17px;
  color: white;
  background: black;
}

/* ==================================================================
  BASIC GRID FOR PROFILE PIC
================================================================== */

.franklin-content .row {
display: block; }

.franklin-content .left {
float: left;
margin-right: 15px; }

.franklin-content .right {
  float: right; }

.franklin-content .container img {
  width: auto;
  padding-left: 0;
  border-radius: 10px; }

.franklin-content .footnote {
  position: relative;
  top: -0.5em;
  font-size: 70%;
}

/* ==================================================================
  FOOT / COPYRIGHT
================================================================== */

.franklin-content .page-foot a {
  text-decoration: none;
  color: #a6a2a0;
  text-decoration: underline; }

.page-foot {
  font-size: 80%;
  font-family: Arial, serif;
  color: #a6a2a0;
  text-align: center;
  margin-top: 6em;
  border-top: 1px solid lightgrey;
  padding-top: 2em;
  margin-bottom: 4em; }

/* ==================================================================
  TEXT GEOMETRY
================================================================== */
#panel {
  background-color: #1f1f1f;
}

.franklin-content {
  position: relative;
  padding-left: 12.5%;
  padding-right: 12.5%;
  line-height: 1.35em; 
}

/* on wide screens, fix content width to a max value */
@media (min-width: 940px) {
  .franklin-content {
      width: 705px;
      margin-left: auto;
      margin-right: auto; }
  }

/* on narrow device, reduce margins */
@media (max-width: 480px) {
  .franklin-content {
      padding-left: 6%;
      padding-right: 6%; }
  }

/* ==================================================================
  TITLES
================================================================== */

body {
  counter-reset: eqnum section chapter theorem;
}

.franklin-content h1 { font-size: 24px; }
.franklin-content h2 { font-size: 22px; }
.franklin-content h3 { font-size: 20px; }

.franklin-content h1, h2, h3, h4, h5, h6 {
  text-align: left; }

.franklin-content h1 {
  padding-bottom: 0.5em;
  border-bottom: 3px double lightgrey;
  margin-top: 1.5em;
  margin-bottom: 1em; }

.franklin-content h2 {
  padding-bottom: 0.3em;
  border-bottom: 1px solid lightgrey;
  margin-top: 0.5em;
  margin-bottom: 1em; }

.franklin-content h1 a { color: inherit; }
.franklin-content h1 a:hover {text-decoration: none;}
.franklin-content h2 a { color: inherit; }
.franklin-content h2 a:hover {text-decoration: none;}
.franklin-content h3 a { color: inherit; }
.franklin-content h3 a:hover {text-decoration: none;}
.franklin-content h4 a { color: inherit; }
.franklin-content h4 a:hover {text-decoration: none;}
.franklin-content h5 a { color: inherit; }
.franklin-content h5 a:hover {text-decoration: none;}
.franklin-content h6 a { color: inherit; }
.franklin-content h6 a:hover {text-decoration: none;}

.franklin-content blockquote {
  background: #131313;
  border-left: 7px solid #a8a8a8;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  font-style: italic;
}

.franklin-content table {
  border-collapse: collapse;
  width: 100%;
}

.franklin-content th, td {
  text-align: left;
  padding: 8px;
}

.franklin-content  tr:nth-child(even){background-color: #797878}

.franklin-content  th {
  background-color: #ffbb00;
  color: white;
}

/* ==================================================================
  GENERAL FORMATTING
================================================================== */

/* spacing between bullet points */
.franklin-content li p {
      margin: 10px 0; }

.franklin-content a {
  color: #93ade2;
  text-decoration: none; }

.franklin-content a:hover {
  text-decoration: underline; }

/* ==================================================================
  HYPERREFS AND FOOTNOTES
================================================================== */

.franklin-content .eqref a  { color: lightgreen; }
.franklin-content .bibref a { color: lightgreen; }

.franklin-content sup {
  font-size: 70%;
  vertical-align: super;
  line-height: 0; }

.franklin-content table.fndef  {
  margin: 0;
  margin-bottom: 10px;}
.franklin-content .fndef tr, td {
  padding: 0;
  border: 0;
  text-align: left;}
.franklin-content .fndef tr {
  border-left: 2px solid lightgray;
  }
.franklin-content .fndef td.fndef-backref {
  vertical-align: top;
  font-size: 70%;
  padding-left: 5px;}
.franklin-content .fndef td.fndef-content {
  font-size: 80%;
  padding-left: 10px;}

/* ==================================================================
  IMAGES in CONTENT
================================================================== */

.franklin-content img {
  width: 96%;
  text-align: center;
  background-color: white;
  margin-left: 2%;
}

.franklin-content .img-small img {
  width: 50%;
  text-align: center;
  padding-left: 20%; }

/* ==================================================================
  KATEX
================================================================== */

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

.katex-display {
  font-size: 1.5em;
}

.katex-display .katex {
  display: inline-block; 
} /* overwrite katex settings */

.katex-display::after {
  counter-increment: eqnum;
  content: "(" counter(eqnum) ")";
  position: relative;
  float: right;
  padding-right: 5px; }

/* ==================================================================
  CODE & HIGHLIGHT.JS
================================================================== */

.franklin-content code {
  /* background-color: rgba(27,31,35,0.05); #f6f8fa; */
  padding: 0.1em 0.2em;
  border-radius: 2px;
  font-size: 90%; }

.hljs {
  font-size: 90%;
  line-height: 1.35em;
  border-radius: 10px; }

.hljs-meta, .hljs-metas, .hljs-metap { font-weight: bold; }

.hljs-meta { color: rgb(25, 179, 51); }

.hljs-metas { color: red; }

.hljs-metap { color: rgb(51, 131, 231); }

/* ==================================================================
  BOXES
================================================================== */

.franklin-content .colbox-blue {
  background-color: #EEF3F5;
  padding-top: 5px;
  padding-right: 10px;
  padding-left: 10px;
  padding-bottom: 5px;
  margin-left: 5px;
  margin-top: 5px;
  margin-bottom: 5px;
  border-radius: 0 10px 10px 0;
  border-left: 5px solid #4C9CF1; 
}

/* Style the button that is used to open and close the collapsible content */
.collapsible {
    cursor: pointer;
  }
    
  /* Style the collapsible content. Note: hidden by default */
  .collapsible-content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
  }

.note, .important-note, .edit-note{
  margin-top: 1.5em;
  width: 95%;
  margin-left: 5px;
  background-color:  black;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  margin-bottom: 1em;
}
.note-content {
  color: white;
  margin-left: 5px;
  padding: 10px;
  padding-left: 12px;
}
.note .title{
  font-size: 105%;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding-left: 7px;
  padding-top: 2px;
  color: white;
  background: cornflowerblue;
}

.important-note .title{
  font-size: 105%;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding-left: 7px;
  padding-top: 2px;
  color: black;
  background: #ffbb00;
}

.edit-note .title{
  font-size: 105%;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding-left: 7px;
  padding-top: 2px;
  color: black;
  background: #00aeff;
}

.twitchShield {
  width: 705px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.5em;
}
.twitchShield img {
  height: 20px;
}

.patreonSpecial {
  width: 705px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.5em;
  background-color:  black;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  margin-bottom: 1em;
}
.patreonSpecial .content {
  color: white;
  margin-left: 5px;
  padding: 10px;
  padding-left: 12px;
}
.patreonSpecial .title{
  font-size: 105%;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding-left: 7px;
  padding-top: 2px;
  color: black;
  background: #ffbb00;
}

.striked {
  text-decoration: line-through;
  text-decoration-color: red;
  display: inline;
}

.sidebyside {
  position: relative;
}

.date {
  width: 705px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.8rem;
}

.tags {
  width: 705px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.8rem;
}

.post-list-desc {
  color: #aaa;
}

.post-list-date {
  color: rgb(138, 136, 136);
  font-size: 0.8rem;
}

@media (min-width: 1500px) {
  .sidebyside-right {
    position: absolute;
    top: -60px;
    margin-left: 45rem;
    width: 20rem;
  }
}

#lunrSearchForm .search-input {
  background-color: black;
  border: none;
  position: relative;
  display: block;
  padding: 13px 15px;
  transition: all .2s ease-in-out;
}

.code-links {
  background-color:#ddd;
  margin-top: -15px;
}

.code-links a {
  color: black
}

.code-links img {
  width: 16px;
  padding: 2px;
  background-color: #ddd;
}


pre { 
  position: relative; 
  /* padding: 30px; */ 
} 
 
.copy-button { 
  cursor: pointer; 
  border: 0; 
  font-size: 10px; 
  text-transform: uppercase; 
  font-weight: 500; 
  padding: 6px 10px 10px; 
  color: #795548; 
  background-color: transparent; 
  position: absolute; 
  top: 0; 
  right: 0; 
} 
 
.copy-button:hover, 
.copy-button:focus, 
.copy-button:active { 
  outline: 0; 
  background-color: #eee9e6; 
} 

input[type="submit"] {
  background-color: #00aeff;
  border: none;
  padding: 4px;
}

.tooltip {
  display: inline-block;
  border:1px dotted blue;
}