:root
{
	--background: #D1DDDB;
	--outerbox: #85B8CB;
	--innerbox: #1D6A96;
	--stdtext: #283B42;
}

body
{
    background-color:var(--background);
    color: var(--stdtext);
    font-family: FiraSans-Regular;
}

a
{
	text-decoration: none;
}

h1.indextitle
{
	text-align: center;
}

h2
{
    margin-top: 0px;
    margin-bottom: 0px;
}

h3
{
	margin-top: 0px;
	margin-bottom: 0px;
}

p.indexinfo
{
	text-align: center;
}

p.emphasized
{
	font-weight: bold;
}

div.box
{
    background-color:var(--outerbox);
    overflow:auto;
    border-radius: 20px;
    padding: 15px;
    margin: 0px;
}

a.box:link
{
	color: var(--innerbox);
}
a.box:visited
{
	color: var(--innerbox);
}
a.box:hover
{
	color: var(--innerbox);
}
a.box:active
{
	color: white;
}

div.innerbox, form.innerbox
{
	overflow: auto;
	border-radius: 15px;
	padding: 7px;
	background-color:var(--innerbox);
    color: var(--background);
}

div.innerbox::-webkit-scrollbar, form.innerbox::-webkit-scrollbar
{
    width: 11px;
    height: 11px;
}


div.innerbox::-webkit-scrollbar-track, form.innerbox::-webkit-scrollbar-track
{
    background-color: transparent;
	border: 4px solid transparent;
}

div.innerbox::-webkit-scrollbar-thumb, form.innerbox::-webkit-scrollbar-track
{
    background-color: var(--background);
    border-radius: 4px;
    border: 4px solid transparent;
    background-clip: content-box;
}

div.innerbox-framed
{
	border: 2px solid var(--stdtext);
}

a.innerbox:link
{
	color: var(--outerbox);
}
a.innerbox:visited
{
	color: var(--outerbox);
}
a.innerbox:hover
{
	color: var(--outerbox);
}
a.innerbox:active
{
	color: white;
}

/* Hide all children except the header and toolbar when collapsed */
.innerbox.collapsed > *:not(h2):not(.utility) {
    display: none;
}

.content
{
    height: 100%;
    position: fixed;
    top: 10px;
    left:160px;
    width:80%;
    border: 0px solid transparent;
    visibility:hidden;
    scrollbar-gutter: stable;
}

.nav {
    inset: 0px;
    height: 100%;
    min-width: 150px;
    width:150px;
    position: absolute;
    top: 10px;
    left: 10px;
    border: 0px solid transparent;
    visibility:hidden;
}

.navmenu
{
    inset: 0px;
}

.navsubmenu
{
    inset: 0px;
    display: none;
    padding-left: 5px;
}

p.naventry
{
	padding-left: 5px;
}

a.naventry:link
{
	color: var(--stdtext);
}
a.naventry:visited
{
	color: var(--stdtext);
}
a.naventry:hover
{
	color: var(--stdtext);
}
a.naventry:active
{
	color: white;
}

.navinactive
{
	color: var(--background);
}

.footer
{
    inset: 0px;
    background-color:var(--stdtext);
    color: var(--background);
    height: 40px;
    width: 100%;
    position: fixed;
    visibility:hidden;
}

td.footerentry
{
	text-align: center;
}

a.footerentry:link
{
	color: var(--background);
}
a.footerentry:visited
{
	color: var(--background);
}
a.footerentry:hover
{
	color: var(--background);
}
a.footerentry:active
{
	color: white;
}

.newstitle
{
	font-size:larger;
	font-weight:bold;
}

.newsdate
{
	font-size:smaller;
}

.helpicon
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    width: 1.2em;
    height: 1.2em;
    
    border: 1px solid currentColor; /* Matches your text color */
    border-radius: 50%;        /* Makes it a perfect circle */
    
    font-size: 0.8em;          /* Makes the '?' slightly smaller */
    font-weight: bold;
    cursor: help;
    
    margin-left: 5px;
    vertical-align: middle;
}

.comment
{
	font-size: 0.85rem;
	margin-top: 1rem;
    font-style: italic;
}

button.utility
{
    padding: 2px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
    font-size: 10pt;
    transition: transform 0.1s, opacity 0.2s;
    background-color: var(--background);
    color: var(--stdtext);
    height: 25px;
    width: 25px;
    aspect-ratio: 1/1;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0px;
}

button.utility:active
{
    transform: scale(0.98);
}

/* Button Icon Swapping */
/* Default (Unfolded) state icon */
.fold::before { content: "▲"; } 

/* Collapsed state icon */
.collapsed .fold::before { content: "▼"; }
.collapsed .fold { content: ""; } /* Clears the static text if you used any */

div.utility
{
	position: absolute;
	top: 6px;
    right: 8px;
    z-index: 10;
    display: flex;
    flex-direction: row;
    gap: 8px;
    box-sizing: border-box;
}