/*
    Created: 2025-11-26
    Author: Kārlis Grīnvalds
    Last edited: 2026-06-01
    Edited by: Kārlis Grīnvalds
*/

/* Default style for html elements */

/* Text font */
body, button, input, textarea  {
    font-family: Consolas;
    font-size: 14px;
}
/* Preformatted text */
pre {
    font-family: Courier New;
    background-color: rgb(230, 230, 230);
    padding: 1rem;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}
/* Links */
a {
    font-size: 14px;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
a:link, a:visited, a:active {
    color: rgb(46, 128, 71);
}
a.no-link-css {
    text-decoration: none;
    color: black;
}
/* hr element */
hr {
    margin-top: 0;
    color: rgb(33, 89, 50);
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: Consolas;
    margin: 0;
    margin-top: 0.5rem;
}
h1 {
    margin-top: 0rem;
    font-size: 32px;
}
h2 {
    font-size: 30px;
}
h3 {
    font-size: 26px;
}
h4 {
    font-size: 22px;
}
h5 {
    font-size: 20px;
}
h6 {
    font-size: 18px;
}
/* Buttons */
.main button {
    border: solid 2px rgb(61, 105, 74);
    border-radius: 2px;
    padding: 5px;
    height: 32px;
}
.main select {
    border: solid 2px rgb(61, 105, 74);
    border-radius: 2px;
    padding: 5px;
    width: 200px;
    height: fit-content;
}
/* Tables */
th, td {
    padding: 8px;
}
table.borders, table.content-list, table.side-content {
    border-collapse: collapse;
}
table.borders, table.borders td, table.borders th, table.content-list {
    border: solid 2px rgb(61, 105, 74);
}
table.content-list {
    margin: 10px;
}
table.content-list th {
    padding: 5px;
}
table.content-list td {
    padding-right: 1rem;
    padding-bottom: 1rem;
}
table.content-list ol {
    margin: 0;
    padding-left: 1rem;
    counter-reset: index;
    list-style-type: none;
}
table.content-list li::before {
    counter-increment: index;
    content: counters(index, ".", decimal) ". ";
}
table.side-content {
    margin: 0px 0px 0px 1rem;
    float: right;
    background-color: rgb(210, 210, 210);
    border: solid 2px rgb(61, 105, 74);
}
table.side-content th, table.side-content td {
    border: solid 2px rgb(61, 105, 74);
    text-align: left;
}
/* Unordered list */
ul {
    margin: 0;
    list-style-position: inside;
    padding-inline-start: 0rem;
}
ul>ul {
    padding-inline-start: 1.5rem;
}
ul li {
    line-height: 1.5rem;
}