html,
body {
  margin-top: 0;
  padding: 0;
}

html {
    height: 100% !important;
}

.anchor {
    font-size: 1rem;
    vertical-align: 10%;
}

/* include border and padding in element width and height */
* {
  box-sizing: border-box;
}

body {
    /* height: 100vh; */
    min-height: 100%;
    /* min-height: 100vh; */
    width: 100vw;

    /* text-align: justify; */
    /* text-justify: inter-word; */

    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;

    /* Main body text */
    color: var(--foreground);
    font-size: 1rem;
    line-height: 1.4;

    background-image: url("../posts/ca_dump3/339f75f140677b39471e8f7510e80fab3efa0363a2ecf2613d99096b43888c0d.png");
    /* background-image: url("../img/backgrounds/newfeather.png"); */
    /* background-color: var(--background_plus); */
    background-repeat: repeat;

    background-attachment: fixed;
}

/* hide org mode figure notes on image captions */
.figure-number {
    display: none;
}

.org-center ul {
    list-style-type: none;
}

.timestamp {
    color: var(--accent1_);
    display: inline-block;
    white-space: nowrap;
}

table {
    margin: auto;
}

a img {
    border: none !important;
    background: none !important;
}

figure {
    text-align: center;
}

img {
    margin: auto;
    width: auto;
    text-align: center;
    height: auto;
    max-width: 90%;
    max-height: 400px;
    border: 1px solid var(--nc-bg-2);
}

#content, #postamble, #preamble {

    overflow-x: scroll;
    position: relative;
    height: 100%;
    min-height: 100vh;
    padding: 14px;
    /* leave room for the footer frogs*/
    padding-bottom: 13em;
    background: var(--background);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.40);
}

.section-number-1,
.section-number-2,
.section-number-3,
.section-number-4,
.section-number-5 {
    color: var(--foreground_);
    float: right;
}

.separator {
    text-align: center;
    vertical-align: center;
    margin: 0;
    line-height: 1.0;
}

.colorblock {
    min-width: fit-content;

    text-align: center;
    min-height: 50px;

    display: block;
    font-family: var(--nc-font-mono);
    font-size: 0.9rem;
}

.colorpadding {
    padding: 5px;
    margin: 5px;
}

.colorcenter {
    line-height: 50px;
}

detail {
    text-align: center;
    padding-top: 0px;
    font-size: 0.9rem;
    display: block;
}

blockquote detail {
    text-align: left;
    margin-left: 1rem;
    font-size: 1rem;
}


a[href$=".png"],
a[href$=".png"]:hover,
a[href$=".png"]:visited
{
    text-decoration: none;
    border: 0 none;
    background: var(--background);
}


a {
	padding: 0px 2px;

	min-width: fit-content;
	text-decoration: none;

	background: var(--background_weak);
	/* color: var(--foreground_weak); */
	color: var(--alt);

	border-style: solid;

	border-color: #a0a3a4;
	border-radius: var(--radius);
	border-width: 1px;
	margin: -1px;
}

a:visited {
	border-color: #a0a3a4;
	text-decoration: none;
	color: var(--faded_weak);
}

a:hover {
	color: var(--foreground_plus);
	background: var(--background_plus);
	border-color: var(--foreground_plus);
}

a[href^="https://notes.neeasade.net"],
a[href^="/"],
a[href^="./"],
a[href^="#"] {
    background: var(--background_strong);
    color: var(--foreground_strong);
}

a[href^="https://notes.neeasade.net"]:hover,
a[href^="/"]:hover,
a[href^="./"]:hover,
a[href^="#"]:hover {
    background: var(--background_plus);
    color: var(--foreground_plus);
}

.footer-right {
    position:absolute;
    /* from content padding value */
    bottom: 14px;
    right: 14px;
    z-index: 1;
}

.footer-center {
    text-align: center;
    left: 0;
    right: 0;
    position:absolute;
    bottom: 14px;
}

.footer-center a {
    display: inline-block;
}

.footer-left {
    z-index: 1;
    /* fixme: this is going vertical. */
    /* display: none; */
    position:absolute;
    bottom: 14px;
    left: 14px;
}

.flair {
    height: 100px;
    width:100px;
    border-width: 50px;
    margin: auto;
    margin-top: 2em;
    border-radius: 50%;

    /* background-image: url("../img/backgrounds/soft.jpg"); */
    background-color: var(--background_plus);
    /* border-color: var(--alt) var(--primary) var(--alt) var(--assumed) ; */
    /* border-color: var(--assumed); */
    /* border-style: ridge double ridge double ; */
    /* border-style:ridge double double ridge ; */
    border-style: double;
    /* border-style:double ridge ridge double ; */
    /* border-color: var(--assumed) var(--alt) var(--primary) var(--string); */
    /* top right bottom left */
    border-color: var(--primary) var(--alt) var(--assumed) var(--strings);
    /* border-color: var(--alt) var(--strings) var(--assumed) var(--primary); */
}

.pubinfo {
    margin: 0px;
}

.pubinfo + hr {
    margin-top: 0px;
}

.frog {
    border: none !important;
    bottom: 0;
    display: inline-block;
    line-height: 1.2 !important;
    margin-bottom: 0 !important;
    margin: auto;
    position: absolute;
    left: 20%;
    padding: 0px;
    width: min-content;
}
