/*
   This document has been created with Marked.app <http://marked2app.com>
   Please leave this notice in place, along with any additional credits below.
   ---------------------------------------------------------------
   Title: Kultiad
   Author: Peter Sziebig - @bigpe; Modified by Kieran Healy - @kjhealy
   Description: Easy to read. Pandoc style elements. 
*/


div.sticky {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  z-index: 99;
}


html {
    font-size: 100%;
}
html, button, input, select, textarea {
    font-family: sans-serif;
}

html, body, button, input, select, textarea {
    color: #57534A;
    font-family: "PT Serif","Calluna","Arno Pro",serif;
    font-size: 18px;
    font-weight: 300;
}

body{
    margin: 0 auto;
    background-color: ##fffff8;
    font-family: et-book, Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
}

body, textarea {
    line-height: 1.4;
}


body:after {
    clear: both;
    content: "";
    display: table;
}

body {
    padding-left: 4rem;
    padding-right: 4rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 44rem;
    display: block;
}

@media screen and (max-width:1024px) {
  body {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: 0;
    margin-right: 0;
    max-width: 44rem;
    display: block;
  }
}

h1, h2, h3, dt {
    color: #423F37;
    font-weight: 700;
    text-align: center;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}
h1::before,
h1::after {
    display: inline-block;
    content: "";
    border-top: .3rem solid black;
    width: 4rem;
    margin: 0 1rem;
    transform: translateY(0rem);
}

h2, .article-list .article-title {
    padding-top: 1em;
    padding-bottom: 0em;
    border-bottom: none;
    font-size: 1.5em;
    margin: 0.83em 0;
}
h3, dt {
    padding-top: 1em;
    font-size: 1.17em;
    font-style: italic;
    margin: 1em 0;
}
h4 {
    font-size: 1em;
    margin: 1.33em 0;
}
h5 {
    font-size: 0.83em;
    margin: 1.67em 0;
}
h6 {
    font-size: 0.75em;
    margin: 2.33em 0;
}


a {
    color: #8DB359;
    cursor: pointer;
    outline: 0 none;
    text-decoration: underline;
}

a:hover {
    outline: 0 none;
    color: #739544;
}


p, pre {
    margin: 1em 0;
}

code, kbd, pre, samp {
    font-family: monospace,serif;
    font-size: 1em;
    margin: 0;
    padding: 0;

}
pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

pre {
    background-color: #F8F5F0;
    font-size: 0.7rem;
    overflow-x: auto;
    padding: 1.3rem;
    position: relative;
    white-space: pre;
    word-wrap: normal;
}
pre, code, kbd, samp {
    margin: 0;
}
code, kbd, pre, samp {
    font-family: monospace,serif;
}

code {
    color: #423F37;
}


aside {
    display: block;
    float: right;
    width: 390px;
}


b, strong {
    font-weight: bold;
    color: #423F37;
    font-weight: 700;
}

blockquote {
    color: #423F37;
    margin: 1em 40px;
    margin-bottom: 2em;
    margin-top: 2em;
    background-color: whitesmoke;
    margin-left: 0;
    margin-right: 0;
}


figure {
    margin-bottom: 2em;
    margin-top: 2em;
}


hr {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: -moz-use-text-color -moz-use-text-color #ECE6DA;
    border-image: none;
    border-style: none none solid;
    border-width: medium medium 1px;
    margin: 3em 6em;
}


img {
    max-width: 100%;
    display: block;
    border: 0 none;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}


ol > li:before {
    color: #423F37;
    content: counter(ol, decimal) ".";
    counter-increment: ol;
    font-weight: 700;
    margin-right: 0.333em;
    position: absolute;
    right: 100%;
}

ul > li:before {
    background-color: #423F37;
    border-radius: 14px 14px 14px 14px;
    content: "";
    height: 6px;
    margin-right: 0.333em;
    margin-top: 0.55em;
    position: absolute;
    right: 100%;
    width: 6px;
}

ol, ul, dl {
    margin-left: 2rem;
    padding: 0;
}
ol {
    counter-reset: ol;
}
li + li, dd + dt {
    margin-top: 0.5em;
}

ul > li {
    position: relative;
}

ol > li {
    position: relative;
}
li {
    list-style: none outside none;
}


figure > figcaption {
    margin-top: 0.5em;
}
small, dd, figcaption {
    color: #A19C91;
    display: block;
    font-size: 0.8rem;
    font-style: italic;
    line-height: 1.2;
}


tbody{display:table-row-group}
tfoot{display:table-footer-group}
table{margin-bottom:2em;font-size: 0.8em;padding:0;border-collapse:collapse;-webkit-box-shadow:1px 1px 2px rgba(0,0,0,.35);width:80%;margin:0 auto 2em auto}
table th,table td{padding:10px 10px 9px;line-height:18px;text-align:left}
table th{
padding-top:9px;!important;text-transform:uppercase;vertical-align:middle}
table td{vertical-align:top;border-top:1px solid #ddd;}
table tbody th{border-top:1px solid #ddd;vertical-align:top}
table{border:1px solid #ddd;border-collapse:separate;*border-collapse:collapse;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}
table th+th,table td+td,table th+td{border-left:1px solid #ddd}
table thead tr:first-child th:first-child,table tbody tr:first-child td:first-child{-webkit-border-radius:4px 0 0 0;-moz-border-radius:4px 0 0 0;border-radius:4px 0 0 0}
table thead tr:first-child th:last-child,table tbody tr:first-child td:last-child{-webkit-border-radius:0 4px 0 0;-moz-border-radius:0 4px 0 0;border-radius:0 4px 0 0}
table tbody tr:last-child td:first-child{-webkit-border-radius:0 0 0 4px;-moz-border-radius:0 0 0 4px;border-radius:0 0 0 4px}
table tbody tr:last-child td:last-child{-webkit-border-radius:0 0 4px 0;-moz-border-radius:0 0 4px 0;border-radius:0 0 4px 0}
tbody tr:nth-child(odd){background-color:rgba(0,0,0,0.03)}

caption{display:table-caption;font-weight:300;font-size:1.3em;text-transform:uppercase;letter-spacing:2px;word-spacing:.2em;background:rgba(0,0,0,.75);color:#EEE;padding:4px;-webkit-border-radius:4px;margin:4px 0;-webkit-box-shadow:2px 2px 2px rgba(0,0,0,.35)}

/* grey out placeholders */
:-moz-placeholder {
  color: #bfbfbf;
}
::-webkit-input-placeholder {
  color: #bfbfbf;
}


.article-date {
    color: #C7C2B8;
    display: block;
    font-size: 0.8rem;
}

.title{
    padding-bottom: 1em;
}

.author{
  padding-top: 0.5em;
  font-size:1.24em;
  line-height:0.5em;
  text-align: left;
}

.date {
    color: #C7C2B8;
    display: block;
    font-size: 0.8rem;
}

.caption {
   display: block;
   font-size: 0.8rem;
   font-style: italic;
}

.small{
 font-size:0.8em;
}

.affiliation{
 margin-top: 0;
 padding-top: 0;
 font-size:0.9em;
 font-style: italic;
}

.theorem, 
.lemma, 
.proposition, 
.corollary  {
    border: 1px solid black;
    border-left: 5px solid ##955670 !important;
    background-color: ##95567075;
    padding-left: 5px;
    margin-left: 1%;
    padding-left: 1%;
}

.theorem     > .proofenv-header,
.lemma       > .proofenv-header,
.proposition > .proofenv-header,
.definition  > .proofenv-header,
.corollary   > .proofenv-header {
  font-style: normal !important;
  font-weight: bold;
  border-bottom: 2px solid black;
  display: block;
}

.theorem {
  border: 2px solid #95567050 !important;
  background-color: #95567050;
  border-left: 5px solid #955670 !important;
  margin-left: 1%;
  padding-left: 1%;
}

.strategy, .concept {
  border: 2px solid black !important;
  background-color: aliceblue;
  margin-left: 1%;
  padding-left: 1%;

}

.slogan {
  background-color: wheat;
}

.proof {
    border: 1px dotted;
    border-color: #000;
    background-color: #F3E1C075;
    margin-left: 1%;
}
.proof:after {
    content: "\25FC";
    float:right;
    margin-top: -25px;
    margin-right: 5px;
}

.warnings {
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.warnings > .proofenv-header {
  color: #721c24;
  font-weight: bold !important;
}

.warnings:before{
    content: "⚠️";
    margin-top: -25px;
    margin-right: 5px;
}


.definition {
    border: 1px solid;
    border-color: #000;
    background-color: #27507054;
    border-left: 5px solid #275070 !important;
    margin-left: 1%;
    padding-left: 1%;
}

.exercise {
  border: 2px solid #A0C4FF !important;
  background-color: #A0C4FF30;
  border-left: 5px solid #A0C4FF !important;
  margin-left: 1%;
  padding-left: 1%;
}

.problem {
  border 2px solid black;
  background: aliceblue;
  padding-left: 1%;
}

.solution {
  border: outset;
  padding-left: 1%;
  padding-right: 2%;
  background-image: linear-gradient(#b75ea82e, #b75ea82e)
}
.proofenv {
    display: block;
    margin: 12px 0;
    font-style: normal;
    border-right: 1px dotted black;
    /*border-bottom: 1px dotted black;*/
    margin-right: 1%;
}

details {
  border: 1px solid black;
}

.proofenv-header {
  text-transform: capitalize;
  font-style: italic;
}


.remark > p, .fact > p {
  margin-top: 0em;
}

blockquote {
  text-align: right;
  font-style: italic;
  background-color: #a2929554;
  font-size: small;
}

.pushy{
    width: 400px; /* Changed the width to 400px */
}

.pushy-left{
    transform: translate3d(-400px,0,0); /* Updated the values */
    /* Don't forget the vendor prefixes */
}

.pushy-open-left #container,
.pushy-open-left .push {
    transform: translate3d(400px, 0, 0); /* Updated the values */
}

.pushy-right {
    transform: translate3d(400px, 0, 0); /* Updated the values */
    /* Don't forget the vendor prefixes */
}

.pushy-open-right #container,
.pushy-open-right .push {
    transform: translate3d(-400px, 0, 0); /* Updated the values */
    /* Don't forget the vendor prefixes */
}

button.menu-btn {
    width: 250px;
    padding: 10px;
    margin-bottom: 30px;
    background: #000;
    color: #FFF;
    text-align: center;
    border: 0;
}


.introquote {
  width: 30%;
}

img.tikzcd {
  max-width: 70%;
  max-height: 600px;
}


img.tikzpic {
  min-width: 80%;
  max-width: 90%;
  max-height: 800px;
}
