body {
    text-align: justify;    
}

h1 {
    line-height: 110%;
}

.hlist {
    border: 1px solid var(--border);
    padding:5px;
    background-color: var(--bg-hlist);
}

.hlist li {
    display: inline;
    display: inline-table;
    list-style-type: none;
    padding-right: 20px;
    
}

.entity {
    border: 1px solid var(--border);
    margin:5px 0px 5px 0px;
    padding: 5px;    
}

.type-c {
    cursor:help;
    color:orange;
}

.type-op {
    cursor:help;
    color:var(--type-op);
}

.type-dp {
    cursor:help;
    color:var(--type-dp);    
}

.type-ep {
    cursor:help;
    color:mediumpurple;
}

.type-ep {
    cursor:help;
    color:mediumpurple;
}

.type-ap {
    cursor:help;
    color:var(--type-ap);
}

.type-ni {
    cursor:help;
    color:var(--type-ni);
}

.logic {
    color:purple;
    font-weight:bold;    
}

h3 {
    margin-top: 3px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--border);
}

h2 {
    margin-top:40px;    
}

.dotted {
    border-bottom: 1px dotted gray;
}

dt {
    margin-top:5px;
}

.description {
    border-top: 1px dashed gray;
    border-bottom: 1px dashed gray;
    background-color: var(--bg-description);
    margin-top:5px;
    padding-bottom:5px;
}

.description dl {
    background-color: var(--bg-description);
}

.description ul {
    padding-left: 12px;
    margin-top: 0px;
}

.backlink {
    font-size:10pt;
    text-align:right;
    float:right;
    color:black;
    padding: 2px;
    border: 1px dotted navy;
    background-color: var(--bg-backlink);
    color: var(--text-backlink);
}

.imageblock {
	text-align: center;
}

.imageblock img {
	border:1px solid gray;
}

.endnote {
	margin-top: 40px;
	border-top: 1px solid gray;
	padding-top: 10px;
	text-align: center;
	color:gray;
	font-size:70%;
}

.literal {
    color:var(--literal);
    font-style:italic;
}
/* Begin Custom CSS */
@import url(https://fonts.bunny.net/css?family=source-sans-pro:200,400,600);

body {
    font-family: 'Arial', sans-serif;
    --expasy: #e70100;
    --htag-text: #313233;
    --text-color: #3b3c3d;
    --link: #009fe7;
    --link-hover: #5fbfed;
    --link-visited: #0f7daf;
    --border: #e1e1e1;
    --bg-hlist: (255 255 255 / 0);
    --bg-backlink: #e1e1e1;
    --text-backlink: #313233;
    --bg-description: #F6F6F6;
    --bg-status-box:#e70100;

    font-size: clamp(0.875rem, calc(0.875rem + ((1vw - 0.48rem) * 0.1736)), 1.125rem);
    line-height: clamp(1.5rem, calc(1.5rem + ((1vw - 0.48rem) * 0.1736)), 1.625rem);
    min-height: 0vw;
}
@media (max-width: 768px) {
    .hlist {
        columns: 8rem;
    }
    body {
        text-align: left;
        padding-left: 2em;
    }
    body > .container {
        paddding-left: 0.5rem;
        paddding-right: 0.5rem;
    }
    .entity dd {
        margin-left: 1rem;
    }
    .entity > h3 {
        padding-top: 30px;
        position: relative;
    }
    .entity > h3 > .backlink {
        position: absolute;
        right: 0;
        top: 1px;
        left: -21px;
    }
}
.container strong, .container b {
    color: var(--htag-text);
}
.container  p {
    margin-top: clamp(1rem, calc(1rem + ((1vw - 0.48rem) * 0.4583)), 1.33rem);
    margin-bottom: clamp(1rem, calc(1rem + ((1vw - 0.48rem) * 0.4583)), 1.33rem);
}
.container ul, .container ol {
    text-align: left;
}
.container ul li {
    margin-top: clamp(0.625rem, calc(0.625rem + ((1vw - 0.48rem) * 0.5208)), 1rem);
    margin-top: clamp(0.625rem, calc(0.625rem + ((1vw - 0.48rem) * 0.5208)), 1rem);
}

.container #toc ul li{
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}
.container ul.hlist li {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
h1, h2, h3, h4, h5, dt {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    text-align: left;
    letter-spacing: -0.025em;
    line-height: 1.1;
}
body > .container {
    max-width: 1440px;
    padding-left: 2rem;
    padding-right: 2rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
body > .container img {
    max-width: 100%;
    height: auto;
}
body > .darkmode {
    left: 1rem;
    bottom: .5rem;
}
h1 {
    font-size: clamp(1.875rem, calc(1.875rem + ((1vw - 0.48rem) * 0.8681)), 2.5rem);
    min-height: 0vw;
}
h2 {
    font-size: clamp(1.5rem, calc(1.5rem + ((1vw - 0.48rem) * 0.6944)), 2rem);
    min-height: 0vw;
}
h3 {
    font-size: clamp(1.25rem, calc(1.25rem + ((1vw - 0.48rem) * 0.3472)), 1.5rem);
    min-height: 0vw;
}
h3 {
    font-size: clamp(1.125rem, calc(1.125rem + ((1vw - 0.48rem) * 0.1736)), 1.25rem);
    min-height: 0vw;
}
hr {
    border-top: 1px solid var(--border);
    border-bottom: 0;
}
.entity pre {
    border: 1px dashed var(--expasy);
    margin-left: 0;
}
.hlist {
    padding:1rem 1.3rem;
    font-size: 90%;
    line-height: 1.3;
    margin-bottom:3rem;
    columns: 12rem;
    text-align: left;
}
.hlist li {
    display: block;
}
.backlink {
    font-size:0.8rem;
    padding: 8px;
    border: none;
    color: var(--text-color);
}
.entity {
    padding: 1rem 1.3rem;
    margin-bottom: 2rem;
    text-align: left;
}
.entity > .description {
    margin-left: -1.3rem;
    margin-right: -1.3rem;
    margin-bottom: -1rem;
    width: auto;
    padding: 1rem 1.3rem;
    border-bottom: none;
    border-top: 1px solid var(--border);
    margin-top:2rem;
}
.entity > h3 {
    border-bottom: 0;
    font-size: 1.25rem;
    color: var(--expasy);
}
.entity > h3 > .backlink {
    margin-top: -1.2rem;
    margin-right: -1.3rem;
}
.entity > h3 > sup {
    margin-left: 5px;
}
.head > hr {
    margin-top:40px;
}
.head > dl {
    margin-bottom: 1.3rem;
}
a[href]:hover {
    color: var(--link-hover);
    background-color: transparent;
}
h3:has(+ .hlist), h4:has(+ .hlist) {
    margin-bottom: 0px;
}
/* End Custom CSS */
