@charset "UTF-8";

/* ==================================================
   ROOT / COLOR VARIABLES
================================================== */


/* patching color definitions 4 genericForm */
:root {
    --in-black: var(--black);
    --in-button-primary-outline: var(--gray);
    --in-button-primary-text: var(--text, green);
    --in-form-help-bg: var(--box-background);
    --in-form-help-bg-details: var(--box-background);
    --in-form-help-bg-details-hover: var(--box-background);
    --in-form-row-border-color: var(--main-border);
    --in-form-row-even: var(--dark);
    --in-form-row-odd: var(--light);
    --in-gradient-0: var(--highlight);
    --in-gradient-1: var(--highdark);
    --in-button-primary-bg-1: var(--highlight);
    --in-button-primary-bg-2: var(--highdark);
    --in-input-bg: var(--background);
    --in-input-caret: var(--text, green);
    --in-input-disabled-outline: var(--gray);
    --in-input-icon-color: var(--link);
    --in-input-icon-bg: var(--dark);
    --in-input-outline: var(--link);
    --in-input-text: var(--text);
    --in-link-focus-outline: var(--link);
    --in-main-text-color: var(--text, green);
    --in-select-option: var(--white);
    --in-select-option-hover: var(--gray);
    --in-select-option-selected: var(--link);
    --in-white: var(--white);
    --in-white-tint2: var(--white);
    --in-white-tint3: var(--white);
    --in-white-10pc: var(--white);
    --in-white-20pc: var(--white);
  
    --articel-bg-start: #ffffff;
    --articel-bg-end: #ccffcc;
    --radius: 18px;
    --articel-padding: 18px;
    --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    --grid-gap: 16px;
}

@media screen and (prefers-color-scheme: dark) {
    :root {
        --black: white;
        --white: black;
        --articel-bg-start: #202;   /* subtle dark gradient start */
        --articel-bg-end: #206;     /* subtle dark gradient end */
    }
}

/* ==================================================
   GLOBAL RESET / BASE
================================================== */

* {
    box-sizing: border-box;
    scrollbar-width: auto;
    scrollbar-color: lime green;
}

*::-webkit-scrollbar-track {
    background: green;
}

*::-webkit-scrollbar-thumb {
    background-color: green;
    border-radius: 20px;
    border: 3px solid lime;
}

body {
    background: var(--background);
    margin: 0 auto;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 100%;
    color: var(--text);
    line-height: 140%;
}

/* ==================================================
   ACCESS / JUMP MARKS
================================================== */

body:has(#nav) a[href="#nav"],
body:has(#main) a[href="#main"],
body:has(#footnotes) a[href="#footnotes"],
body:has(#footer) a[href="#footer"] {
    visibility: visible;
}

/* ==================================================
   PAGE LAYOUT
================================================== */

main,
footer {
    max-width: 50rem;
    border-style: solid;
    border-width: 0 1px;
    border-color: var(--main-border);
    background-color: var(--main-background);
    margin: 0 auto;
}

main {
    padding: 60px 8px;
}

footer {
    padding: 16px 8px;
    text-align: center;
    bottom: 0;
}

/* ==================================================
   HEADER
================================================== */

header {
    background-color: var(--highdark);
    width: 100%;
    position: fixed;
    z-index: 10;
}

header a {
    color: var(--h1-color);
}

.headerFrame {
    max-width: 50rem;
    margin: 0 auto;
    /* display: flex; */
    flex-direction: row;
    justify-content: space-between;
    padding: 0 8px;
}

.headerLeft {
    color: var(--h1-color);
    text-shadow: 1px 1px black;
    padding: 0.6rem;
    font-family: sans-serif;
    font-weight: bold;
    font-size: large;
    width: fit-content;
    float: left;
}

.headerRight {
    width: fit-content;
    float: right;
    padding-right: 0.5rem;
    padding-top: 0.5rem;
}

/* ==================================================
   NAVIGATION / SKIPLINKS
================================================== */

header ul.skiplinks {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    width: 100%;
}

header ul.skiplinks li {
    width: 100%;
}

header ul.skiplinks a {
    position: absolute !important;
    visibility: hidden;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

header ul.skiplinks a:focus {
    overflow: show;
    clip: unset;
    margin-top: var(--focus-width, 3px);
    padding: 4px 8px;
    background: var(--background);
    text-align: center;
    color: var(--copy);
    font-weight: bold;
}

/* ==================================================
   CONTENT WRAPPERS
================================================== */

div.headNav {
    position: absolute;
    top: 40px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--main-background);
    width: 100%;
    max-width: calc(50rem - 16px);
}

div.footNav {
    position: relative;
    left: 40%;
    text-align: left;
    background-color: var(--main-background);
    padding-top: 50px;
}

div.content {
    position: relative;
    background-color: var(--main-background);
}

div.footerContent {
    position: relative;
    top: 0.5rem;
    background-color: var(--main-background);
}

div.loginForm {
    background-color: var(--login-background);
    padding: 0.5rem;
    margin: 2rem;
    text-align: center;
}

/* ==================================================
   TYPOGRAPHY
================================================== */

h1,
h2 {
    color: var(--h1-color);
    background-color: var(--highdark);
    padding: 1px;
    padding-left: 40px;
    text-shadow: 1px 1px black;
    border-style: solid;
    border-width: 1px;
    border-color: var(--highlight);
    margin-top: 1rem;
}

h1 {
    font-size: large;
    text-align: left;
}

h2 {
    font-size: small;
    margin-bottom: 0;
    text-align: left;
}

h3 {
    font-size: normal;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 40px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: var(--highlight);
}

p {
    padding: 2px;
}

b {
    color: #ff0066;
}

strong {
    font-weight: bold;
}

tt {
    color: var(--link);
}

pre {
    font-size: small;
    color: var(--contrast);
    background-color: var(--dark, #ddffdd);
}

code {
    font-size: small;
    color: var(--gray);
    background-color: var(--dark, #ddffdd);
}

kbd {
    background-color: #f7f7f7;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    color: #333;
    display: inline-block;
    font-family: "Courier New", Courier, monospace;
    padding: 0 5px;
    text-shadow: 0 1px 0 #fff;
}

/* ==================================================
   LINKS
================================================== */

a:any-link {
    font-weight: bold;
    text-decoration: none;
}

a:link {
    color: var(--link);
}

a:visited {
    color: var(--visited);
}

a:active,
a:hover {
    color: var(--hover, blue);
    text-decoration: underline;
    background-color: var(--light, blue);
}

a.navIcon,
a.in-button-style {
    color: white !important;
}

ul.iconNav li details a {
    color: white !important;
    padding: 0.2rem;
}

/* ==================================================
   IMAGES / MEDIA
================================================== */

img {
    max-width: 100%;
}

img.l {
    float: left;
    padding: 0.2rem;
    width: 300px;
    max-width: 33%;
}

img.r {
    float: right;
    padding: 0.2rem;
    width: 300px;
    max-width: 33%;
}

img.galThumb {
    width: 100px;
}

div.galPic {
    padding: 1rem;
    display: flex;
    justify-content: center;
}

/* ==================================================
   DECORATIVE ARROWS
================================================== */

div.arrowLeft,
div.arrowRight,
div.arrowUp {
    width: 42px;
    background: var(--highlight);
}

div.arrowLeft,
div.arrowRight {
    background-image:
        linear-gradient(19deg, transparent 45%, var(--highdark) 65%),
        linear-gradient(161deg, transparent 45%, var(--highdark) 65%);
}

div.arrowUp {
    background-image:
        linear-gradient(15deg, transparent 45%, var(--highdark) 65%),
        linear-gradient(165deg, transparent 45%, var(--highdark) 65%);
}

div.arrowLeft,
div.arrowRight,
div.arrowUp {
    -webkit-clip-path: polygon(0 0, 0% 100%, 50% 50%);
    clip-path: polygon(0 0, 0% 100%, 50% 50%);
}

div.arrowLeft {
    transform: rotate(-180deg);
}

div.arrowUp {
    transform: translateY(-0.7rem) rotate(-90deg);
}

/* ==================================================
   FORMS move 2 genForm.css ?
================================================== */

button {
    display: inline-block;
    white-space: nowrap;
}

filterMenu {
    display: grid;
    grid-auto-flow: column;
}

/* ==================================================
   TABLES / COLOR TABLES
================================================== */

.light {
    background-color: var(--light, #eee);
}

.dark {
    background-color: var(--dark, #c0c0c0);
}

table.color {
    width: 100%;
}

table.color th {
    color: var(--link);
    background: var(--background);
}

table.color th a {
    color: var(--link);
}

table.color tr {
    padding: 0.1em;
}

table.color tr:nth-child(even) {
    background-color: var(--light, #eee);
}

table.color tr:nth-child(odd) {
    background-color: var(--dark, #c0c0c0);
}

/* ==================================================
   LISTS
================================================== */

ul.color > li:nth-child(even),
ol.color > li:nth-child(even) {
    background-color: var(--light, #eee);
}

ul.color > li:nth-child(odd),
ol.color > li:nth-child(odd) {
    background-color: var(--dark, #c0c0c0);
}

.color ul li,
.color ol li {
    background-color: transparent !important;
}

ul.arrow {
    padding-left: 1.5rem;
}

ul.arrow > li {
    list-style: none;
    position: relative;
}

ul.arrow > li::before {
    content: " ";
    width: 0.7rem;
    height: 0.5rem;
    background: var(--highlight);
    background-image:
        linear-gradient(19deg, transparent 45%, var(--highdark) 65%),
        linear-gradient(161deg, transparent 45%, var(--highdark) 65%);
    -webkit-clip-path: polygon(0 0, 0% 100%, 100% 50%);
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
    display: inline-block;
    margin-right: 0.5rem;
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
}

ul.arrow ul,
ul.arrow ol {
    padding-left: 1.5rem;
}

ul.arrow ul li {
    list-style: disc;
}

ul.arrow ol li {
    list-style: decimal;
}

ul.footer li {
    display: inline-block;
    padding: 0 1rem;
}

footer div ul {
    padding-inline-start: 0;
}

footer div ul li button {
    font-size: small;
    min-height: 10px;
}

ul.minor li {
    color: var(--black, black);
    background-color: transparent !important;
    list-style: disc;
    font-size: small;
}

ul.minor li::before {
    background: unset;
    background-color: unset;
    background-image: unset;
}

li.liPic {
    min-height: 350px;
}



/* ==================================================
   UTILITIES / MISC
================================================== */

.large {
    font-size: large;
}

.small {
    font-size: small;
    font-weight: normal !important;
}

.essential {
    display: none;
}

aj {
    color: lime;
    background-color: green;
    font-weight: bold;
}

.rainbow {
    width: 100%;
    background: linear-gradient(
        -20deg,
        purple 0%,
        #0000ff 20%,
        #66ff66 40%,
        #ffff00 60%,
        #ff9900 80%,
        #ff0066 100%
    );
    text-shadow: 1px 1px 3px white, -1px -1px 3px white;
}
/* ===== Grid for the cards ===== */
.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--grid-gap);
    margin-top: 0.5rem;
}

.article {
    border-radius: var(--radius);
    padding: var(--articel-padding);
    box-shadow: var(--shadow);
    width:90%;
    min-height:140px;
    border: 4px solid transparent;
    background:
        linear-gradient(180deg, var(--articel-bg-start), var(--articel-bg-end)) padding-box,
        linear-gradient(45deg, red, orange, yellow, green, blue, indigo, violet) border-box;
    margin: 0;
}

.article h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.article p {
    margin: 0.25rem 0 0 0;
    font-size:1.5rem;
}
    
/* ==================================================
   RESPONSIVE
================================================== */

@media (min-width: 768px) {
    .shorttitle {
        display: none;
    }

    header {
        height: 2.5rem;
    }

    div.content {
        top: 3.5rem;
    }
    .cards {
        grid-template-columns: repeat(2, 1fr); /* 2 x 2 on wide */
    }
}

@media (max-width: 768px) {
    .pagetitle {
        display: none;
    }

    header {
        height: 2.5rem;
    }

    div.content {
        top: 0.5rem;
    }
    ul.footer li {
	display: block;
	padding: 0.5rem 1rem;
    }
}

