@font-face {
  font-family: 'Varela Round';
  src: url(/fonts/varela.ttf);
}

@font-face {
  font-family: 'Fresca';
  src: url(/fonts/Fresca-Regular.ttf);
}

@font-face {
  font-family: 'KiteOne';
  src: url(/fonts/KiteOne-Regular.ttf);
}


:root,
    :root.light {
    --text-color: #000;
    --bg-color: #ffffff;
    --article-bg-color: #ffffff;
    --article-text-color: #000000;
    --link-color: #837164;
    --link-hover: #837164;
    --topbar-text-color: #000;
    --topbar-bg-color: #000;
    --topbar-icon-color: #dfd7ff;
    --topbar-hover: #8373bd;
    --topbar-text-color: #000;
    --topbar-link-color: #aaa;
    --topbar-link-hover-color: #c3bbe2 !important;
    --leftnav-border-radius: 0;
    --aside-text-color: #000;
    --aside-bg-color: #fff !important;
    --aside-link-hover-color: #c3bbe2 !important;
    --footer-bg-color: #000;
    --footer-text-color: #aaa;
    --footer-link-color: #6e5fa7;
    --footer-link-hover-color: #c3bbe2;
    --thead-bg: #c3bbe2;
    --thead-text: #000;
    --tbodytr-border: #dddddd;
    --tbodytr-bg-even: #dfd7ff;
    --tbodytr-text-even: #000;
    --tbodytr-bottom: rgba(0, 0, 0, 0.7);
    --tagcloud-btn-bg: #000;
    --tagcloud-btn-text: #eeeeee !important;
    --tagcloud-btn-bg-hover: #211;
    --tagcloud-btn-text-hover: #6e5fa7 !important;
    }
    :root.dark {
    --bg-color: #000000;
    --text-color: #eeeeee;
    --article-bg-color: #000;
    --article-text-color: #fff;
    --topbar-text-color: #000;
    --topbar-bg-color: #100010;
    --topbar-bg-color: #000000;
    --topbar-hover: #837164;
    --topbar-icon-color: #dfd7ff;
    --topbar-hover: #8373bd;
    --topbar-text-color: #fff;
    --topbar-link-color: #888;
    --topbar-link-hover-color: #c3bbe2 !important;
    --leftnav-border-radius: 0px 18px 0px 0px;
    --aside-text-color: #ffffff;
    --aside-bg-color: #101010 !important;
    --aside-bg-color: #000000 !important;
    --aside-link-hover-color: #c3bbe2 !important;
    --footer-bg-color: #101010;
    --footer-text-color: #fff;
    --footer-link-color: #6e5fa7;
    --footer-link-hover-color: #c3bbe2;
    --thead-bg: #c3bbe2;
    --thead-text: #000;
    --tbodytr-border: #333;
    --tbodytr-bg-even: #1f172f;
    --tbodytr-text-even: #000;
    --tbodytr-bottom: rgba(0, 0, 0, 0.7);
    --tagcloud-btn-bg: #6e5fa7;
    --tagcloud-btn-text: #000 !important;
    --tagcloud-btn-bg-hover: #c3bbe2;
    --tagcloud-btn-text-hover: #000 !important;
    }


@-ms-viewport {
    width: device-width;
}

html {
    box-sizing: border-box;
    border: 0;
    height: 100%;
    width: 100%;
    font-size: 22px;
}

body {
    -ms-overflow-style: scrollbar;
    height: 100%;
    width: 100%;
    background: #000;
    min-height: 100%;
    background-color: #fff;
    color: #000;
    background: var(--bg-color);
    color: var(--text-color);
}


h1 {
  margin: 3rem 0 3rem 0;
  letter-spacing: -0.05em;
  scroll-margin-top: 4rem;
  font-weight: 300;
  font-family: 'Fresca', sans-serif;
  font-size: 2.488rem;
  font-size: 54px;
}

h2 {
  scroll-margin-top: 4rem;
  margin: 3rem 0 1.38rem 0;
  font-family: 'Fresca', serif;
  font-weight: 400;
  font-size: 1.55rem;
}

h3 {
  scroll-margin-top: 4rem;
  margin: 3rem 0 1.38rem 0;
  font-family: 'Fresca', serif;
  font-weight: 400;
  font-size: 1.3rem;
}

h4 {
  scroll-margin-top: 4rem;
  margin: 3rem 0 1.38rem 0;
  font-family: 'Fresca', serif;
  font-size: 1.2rem;
}

h5 {
  scroll-margin-top: 4rem;
  margin: 3rem 0 1.38rem 0;
  font-family: 'Fresca', serif;
  font-size: 1.1rem;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: var(--link-color);
    text-decoration: none;
    word-wrap: break-word;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}


p {
    font-family: 'KiteOne', serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.65;
    margin: 0 0 2rem;
}

p.major {
    font-size: 1.25rem;
}


a {
    -moz-transition: color 0.2s ease-in-out;
    -webkit-transition: color 0.2s ease-in-out;
    -ms-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
    color: var(--link-color);
    text-decoration: underline;
}

a:hover {
    color: var(--link-hover)
    text-decoration: none;
}

strong,
b { font-family: 'KiteOne', serif;
    font-weight: 700;
}
em,
i { font-family: 'KiteOne', serif;
    font-style: italic;
    font-weight: 400;
}

u {
     text-decoration: underline;
}


sub {
    font-size: 0.8rem;
    position: relative;
    top: 0.5rem;
}
sup {
    font-size: 0.8rem;
    position: relative;
    top: -0.5rem;
}


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


blockquote {
    border: 0;
    border-bottom: solid 1px;
    font-style: italic;
    margin: 2.5rem 0;
    padding: 0.5rem 0 0.5rem 2rem;
    border-left-color: rgba(0, 0, 0, 0.2);
    display: inline-block;
    width: 80%;
}

hr {
  opacity: 0.5;
    border-bottom-color: rgba(0, 0, 0, 0.2);
}

hr.major {
    margin: 3.5rem 0;
}




table {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: 'KiteOne', serif;
    min-width: 200px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

table thead tr {
    background: var(--thead-bg);
    color: var(--thead-text);
    color: #000;
    text-align: left;
}
table th,
table td {
    padding: 12px 15px;
}

table tbody tr {
    border-bottom: 1px solid var(--tbodytr-border);
}

table tbody tr:nth-of-type(even) {
    background: var(--tbodytr-bg-even);
    opacity: 0.6;
}

table tbody tr:last-of-type {
    border-bottom: 2px solid var(--tbodytr-bottom);
}
table tbody tr.active-row {
    font-weight: bold;
    color: #000000;
}










.container {
  display: grid; 
  height: 100vh;
  width: 100vw;
  background: #000;
  overflow: auto;
  grid-template-columns: 1fr;
  grid-template-rows: 40px auto auto;
  gap: 0px 0px; 
  grid-template-areas: 
     "header"
     "imago"
     "article"
     "footer";
}







header, nav, footer, main, article, imago
{
    display: block;
}

header {
    grid-area: header;
    width: 100%;
    background-color: var(--topbar-bg-color);
    color: var(--topbar-text-color);
    text-align: right;
    opacity: 1;
    justify-content: end;
}

header i {
    color: var(--topbar-icon-color);
    font-style: normal;
    font-size: 0.8rem;
    margin-top: 12px;
}

header a {
    -moz-transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
    -webkit-transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
    -ms-transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
    font-weight: 400;
    font-size: 0.7em;
    letter-spacing:1px;
    text-transform:uppercase;
    cursor: pointer;
    color: var(--topbar-link-color);
    padding-right: 1.5rem;
    font-family: 'Varela Round', sans-serif;
    text-transform:uppercase;
    text-decoration: none;
}


header a:hover {
    text-decoration: none;
    color: var(--topbar-link-hover-color);
}


.imago {
    font-family: 'Varela Round', sans-serif;
    font-weight: 400;
    grid-area: imago;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0px;
    font-size: 1.1rem;
    line-height: 1.5rem;
    border-radius: var(--leftnav-border-radius);
    bacground-color: #000;
}

.imago img{padding:0; margin:0; height: 100%; }
.imago video {padding:0; margin:0; height: 100%; }


main {
    grid-area: article;
    background: var(--article-bg-color);
    color: var(--article-text-color);
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}


article {
    font-family: 'KiteOne', serif;
    width: 100%;
    background: var(--article-bg-color);
    color: var(--article-text-color);
    margin: 0;
    padding: 20px 8em 3em 4em;
}


article ul {
    list-style-type: square;
  margin-bottom: 1rem;
  padding-left: 2em;
}

article ol {list-style-type: decimal;
  margin-bottom: 1rem;
  padding-left: 2em;
}

footer{
    grid-area: footer;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Varela Round', sans-serif;
    font-weight: 400;
    background: var(--footer-bg-color);
    color: var(--footer-text-color);
    text-align: center;
}

footer p{
    font-family: 'Varela Round', sans-serif;
    text-align: center;
    font-size: 0.8em;
    padding-top: 2em;
}




.breadcrumb {
margin-top: 20px;
margin-bottom: 20px;
}

.breadcrumb ol {
  padding-left: 0;
}

.breadcrumb li {
  display: inline;
}

.breadcrumb li a{
  text-decoration: none;
}

.breadcrumb li:not(:last-child)::after {
  content: "»";
}



.theme-btn.light {
    display: none;
}

.dark .theme-btn.light {
    display: inline;
    color: var(--topbar-icon-color);
    background: var(--topbar-bg-color);
}

.dark .theme-btn.dark {
    display: none;
}
.light .theme-btn.dark {
    display: inline;
    color: var(--topbar-icon-color);
    background: var(--topbar-bg-color);
}


.tagcloud a {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.8rem;
  atext-transform: uppercase;
  text-decoration: none;
  background: var(--tagcloud-btn-bg);
  color: var(--tagcloud-btn-text);
  margin-top: 8px;
}

.tagcloud a:hover {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 25px;
  atext-transform: uppercase;
  background: var(--tagcloud-btn-bg-hover);
  color: var(--tagcloud-btn-text-hover);
  margin-top: 8px;
}









.recentlist {
 margin-left: 2em;
}
.recentlist .summary {
 margin-left: 2em;
}

.archive {
 margin-left: 2em;
}
.archive ul {
 margin-left: 2em;
 list-style: none;
}

.postinfo {
  word-break: break-word;
}

.postinfo p {
	font-size: 0.8rem;
	text-transform:uppercase;
}
.postinfo p a {
	text-decoration: none;
}

.prevnext
 {   margin-top: 2rem;
       font-size: 0.8rem;
	text-transform:uppercase;
}
.prevnext a {
	text-decoration: none;
}

.recentlist a {
    color: var(--link-color);
    text-decoration: none;
}
.archive a {
    color: var(--link-color);
    text-decoration: none;
}
.archiveitem a {
    color: var(--link-color);
    text-decoration: none;
}

.recentlist a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}
.archive a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}
.archiveitem a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}




@media (max-width: 789px) {
.imago {
    grid-area: imago;
    font-size: 1.2rem;
    line-height: 1.5rem;
    color: var(--topbar-text-color);
    background: var(--topbar-bg-color);
    text-align: center;
  }

footer p{font-size: 0.7em;}
header i {font-size: 0.8em;}
header a {font-size: 0.6em;letter-spacing:0px;padding-right: 0.1rem;}
header {text-align: left;justify-content: center;}
article {padding: 20px 1em 1em 1em;}

}

@media (max-width: 768px) {
header {text-align: left;justify-content: end;}
}

@media (max-width: 400px) {
header {text-align: left;justify-content: end;}
header a {font-size: 0.5em;letter-spacing:0px;padding-right: 0.1rem;}
}
@media (max-width: 340px) {
header a {font-size: 0.4em;letter-spacing:0px;padding-right: 0.1rem;}
}


/* Desktop or wide table*/ 

@media (min-width: 830px) {
  .container {
   grid-template-columns: 40% 1fr;
   grid-template-rows: 40px 1fr auto;
   gap: 0px 0px; 
   grid-template-areas: 
     "header header"
     "imago article"
     "footer footer";
  }
}


@media (min-width: 840px) {
  .container {
   grid-template-columns: 40% 1fr;
  }
article {
    padding: 20px 4em 3em 3em;
  }
}

@media (min-width: 1000px) {
  .container {
   grid-template-columns: 40% 1fr;
  }
article {
   padding: 20px 8em 3em 4em;
  }
}


.rightimg
{display: inline; float: right;
}
