.documentation .article {
	display: block;
	font-weight: 300;
}

.documentation .article h1 a {
	color: #74a819;
}

.documentation .article h2 a,
.documentation .article h3 a,
.documentation .article h4 a,
.documentation .article h5 a {
	color: #1f242d;
	font-weight: bold;
}


.documentation .article h1 {
	font-size: 3rem;
	padding: .5rem 0;
	font-weight: 500;
}

.documentation .article h2 {
    font-size: 2.2rem;
    padding: 2rem 0 0 0;
    margin: 1rem 0 0 0;
}

.documentation .article h2 a {
	padding-top: .5rem;
}

.documentation .article h3 {
    font-size: 1.7rem;
    padding: 1rem 0 0 0;
    margin: 1rem 0 .5rem 0;
	font-weight: 400;
}

.documentation .article h4 {
	font-size: 1.2rem;
	padding: .5rem 0 .5rem 0;
}

.documentation .article h5 {
	font-size: 1rem;
	padding: .5rem 0 .5rem 0;
}

.article p {
	padding: 0 0 1rem 0;
	line-height: 1.5rem;
}

.article img:not([src*="svg"]) {
	margin: 1rem 0;
	border-radius: var(--radius-lg);
	--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);}

.article p a,
.article li a {
	text-decoration: underline;
	color: #74a819;
}

.article p a:hover,
.article li a:hover {
	text-decoration: underline;
	color: #90d01e;
}

.article blockquote {
	background-color: #ffcc3322;
	padding: .5rem 1rem;
	margin: .5rem 0;
	border-radius: .5rem;
}

.article pre,
.article code {
	margin: 1rem 0;
	color: #000;
	background-color: #f7f7f7;	
	font-size: .9rem;
	overflow-x: auto;
}

.article pre {
	padding: 1rem 1.5rem;
	line-height: 1.5rem;
}

.article code {
	margin: 0 .25rem;
	padding: .125rem;
}

.article pre code {
	margin: 0;
	padding: 0;
}

.article ol li {
	list-style-type: decimal;
	margin-left: 2rem;
}

.article ul {
	margin: 0 0 0 1rem;	
}

.article ul li {
	list-style-type: disc;
	margin-left: 1rem;
	line-height: 1.75rem;
}

.article li li {
	list-style-type: circle;
}

.article img.small-image {
    width: 40%;
    float: right;
    margin: 0 0 2rem 2rem;
}

.article img.small-image-50 {
    width: 50%;
    float: right;
    margin: 0 0 2rem 2rem;
}

.article img.small-image-60 {
    width: 60%;
    float: right;
    margin: 0 0 2rem 2rem;
}

.article img.small-image-left {
    width: auto;
    height: auto;
    zoom: 0.5 !important;
    margin: 0 2rem 2rem 0;
}

.index {
	color: var(--color-slate-500);
	line-height: 2rem;
	font-size: .9rem;
}

.index a {
	white-space: nowrap;
	text-overflow: ellipsis;
}

.index p, .index ul, .index ol, .index code, .index pre, .index h1, .index h3, .index h4, .index h5, .index h6, .index h7 {
	display: none;
}

.index h1 {
	font-size: 1rem;
	font-weight: 500;
	margin: .5rem 0;
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;	
}

.index h2 {
	font-size: .9rem;
	font-weight: 400;
	margin: 1rem 0;
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;	
}

.index h3 {
	font-weight: 400;
	margin-left: 1rem;
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;	
}

.index h4 {
	margin-left: 2rem;
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;	
}

.index table {
	display: none;
}

.index article {
	display: contents;
}

/** Partly taken from structr code base */

/**
 * Copyright (C) 2010-2026 Structr GmbH
 *
 * This file is part of Structr <https://umn0carrytkd6zm5.julianrbryant.com>.
 *
 * Structr is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * Structr is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Structr.  If not, see <https://umn0mtkzgjfb8wpgt32g.julianrbryant.com/licenses/>.
 */

/* Navigation column */


.article h1 a, .article h2 a, .article h3 a, .article h4 a, .article h5 a, .article h6 a {
    padding-top: 1rem;
    text-decoration: none;
    color: inherit;
}

.article div.editable {
    position: relative;
    min-height: 1rem;
}

.article div.editable:has(button:hover) {
    background-color: var(--structr-light-green-transparent);
}

.article div button {
    color: #999;
    margin: .1rem 0;
}

.article div.editable button.content {
    background-color: transparent;
    border: none;
    padding: 0;
    float: right;
    clear: both;
}

.article div.editable button.insert-paragraph {
    background-color: transparent;
    border: none;
    padding: 0;
    float: none;
    clear: both;
}

.article button.save-button {
    color: #000;
    background-color: #ddd;
    float: none;
    clear: both;
}

.article textarea {
    width: 100%;
    box-sizing: border-box;
}

.article .subtitle {
    font-weight: 500;
    margin: 0;
    padding-top: 2rem;
}

.article h1 {
    font-size: 3rem;
    font-weight: 500;
    padding: .5rem  0 0 0;
    margin: 1rem 0 .5rem 0;
    color: var(--structr-green);
}

.article h2 {
    font-size: 2.3rem;
    padding: .5rem 0 0 0;
    margin: 1rem 0 .5rem 0;
}

.article h3 {
    font-size: 1.7rem;
    padding: 1rem 0 0 0;
    margin: 1rem 0 .5rem 0;
    /*color: #ffcc33;*/
    /*color: #333;*/
}

.article h4 {
    font-size: 1.2rem;
    padding: 1rem 0 0 0;
    margin: .5rem 0;
    /*color: #ffcc33;*/
    /*color: #333;*/
}

.article h5 {
    font-size: 1rem;
    padding: 1rem 0 0 0;
    margin: .5rem 0;
    /*color: #ffcc33;*/
    /*color: #333;*/
}

.article p {
    padding: .5rem 0;
    margin: 0;
    line-height: 1.5rem;
}

.article img:not([src*="svg"]) {
    margin: 1rem auto;
    width: 100%;
    box-shadow: 0 .2rem 1rem .125rem #ddd;
}

.article p a,
.article li a {
    text-decoration: underline;
    color: #74a819;
}

.article p a:hover,
.article li a:hover {
    text-decoration: underline;
    color: #90d01e;
}

.article blockquote {
    background-color: #ffcc3322;
    padding: 1rem;
    margin: .5rem 0;
    border-radius: .5rem;
}

.article pre,
.article code {
    color: #000;
    background-color: #f7f7f7;
    font-size: .9rem;
    overflow-x: auto;
    border: 1px solid #eee;
}

.article pre > code {
    border: none;
}

.article pre {
    padding: 1rem 1.5rem;
    line-height: 1.5rem;
}

.article code {
    padding: .125rem;
}

.article pre code {
    margin: 0;
    padding: 0;
}

.article ul,
.article ol {
    margin: .5rem 0 .5rem 1rem;
}

.article ol li {
    list-style-type: decimal;
    margin-left: 1rem;
    line-height: 1.75rem;
}

.article ul li {
    list-style-type: disc;
    margin-left: 1rem;
    line-height: 1.75rem;
}

.article li li {
    list-style-type: circle;
}


.article table {
    margin: .5rem 0;
}

.article table th {
    border-bottom: 2px solid #ccc;
}

.article table th,
.article table td {
    text-align: left;
    padding: 1rem 4rem 1rem 0;
}

.article table td:has(a.open-details) {
    text-align: right;
    padding-right: 1rem;
    white-space: nowrap;
}

.article tr {
    border-bottom: 1px solid #eee;
}

.index {
    width: 20%;
    min-width: 16rem;
    overflow: auto;
    /*height: calc(100vh - 10rem);*/
    /*padding: 1.75rem 1rem 2rem 1rem;*/
    background-color: white;
    color: var(--gray-555);
    line-height: 2rem;
    font-size: .8rem;
	font-weight: 300;
}

.index .index-heading {
    color: #000;
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 1rem 0;
}

.index a {
    white-space: nowrap;
    text-overflow: ellipsis;
    text-decoration: none;
}

.index a.active {
    color: #74a819;
}

.index p, .index ul, .index ol, .index code, .index pre, .index blockquote, .index h1, .index h3, .index h4, .index h5, .index h6, .index h7, .index dl {
    display: none;
}

index h2, .index h3 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.index h1 {
    margin: .5rem 0 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
    font-size: 1rem;
}

.index h2 {
    margin: 0rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 400;
    font-size: .9rem;
	font-family: Sora;
}

.index h3 {
    margin: 0 0 0 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 400;
    font-size: 1rem;
}

.index h4 {
    margin: 0 0 0 2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 400;
    font-size: 1rem;
}

.index table {
    display: none;
}

/* Search field */
#search-field {
    position: relative;
    margin: -.25rem auto;
}

#search-field svg, #search-overlay svg {
    position: absolute;
    left: .75rem;
    top: .5rem;
    height: 1.5rem;
    color: var(--gray-555);
}

#search-field input, #search-overlay input {
    width: 25rem;
    height: 1.5rem;
    font-size: 1.1rem;
    padding: .5rem 1rem .5rem 3rem;
}

#search-overlay input {
    width: 100%;
    height: 2.6rem;
    border-color: white;
}

#search-overlay {
    position: fixed;
    z-index: 1002;
    backdrop-filter: blur(8px) brightness(.7) contrast(.5);
    inset: 0;
}

#search-overlay-dialog {
    width: 29.1rem;
    height: 3rem;
    margin: 4.7rem auto;
    position: relative;
}

#search-results {
    background-color: white;
    border-bottom-left-radius: .25rem;
    border-bottom-right-radius: .25rem;
    margin-top: -.25rem;
    padding-top: .25rem;
    overflow-y: auto;
    max-height: 80vh;
}

#search-results ul {
    padding: 0;
    margin: 0;
    background-color: white;
    border-bottom-left-radius: .25rem;
    border-bottom-right-radius: .25rem;
}

.search-result {
    overflow: hidden;
    display: block;
    padding: .75rem 1rem;
    margin: 0;
    background-color: white;
	border: 1px solid transparent;
}

.search-result.selected {
    background-color: #f1f1f1;
	border: 1px solid #74a819;
}

.search-result:hover {
    background-color: #f7f7f7;
}

.search-result div {
    overflow: hidden;
}

.search-result-description {
    font-size: .8rem;
    margin-top: .25rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #999;
}

.search-result-type {
    font-size: .75rem;
    margin-top: .25rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #666;
    font-style: italic;
}

.search-result-path {
    font-size: .75rem;
    margin-top: .25rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #999;
}

.search-result-path:hover {
    color: var(--gray-aaa);
}

.article span.info {
    padding: .5rem;
    display: none;
}

.article img.small-image {
    width: 40%;
    float: right;
    margin: 0 0 2rem 2rem;
}

.article img.small-image-50 {
    width: 50%;
    float: right;
    margin: 0 0 2rem 2rem;
}

.article img.small-image-60 {
    width: 60%;
    float: right;
    margin: 0 0 2rem 2rem;
}

.article img.small-image-left {
    width: auto;
    height: auto;
    zoom: 0.5 !important;
    margin: 0 2rem 2rem 0;
}

.article img.tab-image {
    width: auto;
    height: 3rem;
    margin: 0;
}

div.html-example {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: start;
    margin: 2rem 0 0 0;
}

div.html-example pre {
    margin: 0;
}

p:has(img.small-image-left) {
    margin: 0;
    padding: 0;
}