/*\
 * =====================================================================================================================
 * Anwendungsunabhängige Default-Styles.
 * =====================================================================================================================
\*/


/*\
 * System-Einstellungen
\*/

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    /* Hintergrund von Autofill-Feldern auf Transparent ändern, siehe https://stackoverflow.com/questions/2781549 */
    -webkit-background-clip: text !important;
}


::selection {
    /* Anwendungsspezifische Farbe für selektierten Text verwenden  */
    /*color: white;*/
    /*background-color: var(--bs-trackone-primary);*/
}


/*\
 * Scrollbars
\*/

/*\
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-thumb {
    background: var(--bs-400);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--bs-500);
}
::-webkit-scrollbar-track {
    background: var(--bs-100);
}
::-webkit-scrollbar-track:hover {
    background: var(--bs-200);
}
\*/

pre {
    /* Tab-Zeichen werden in vier Leerzeichen umgesetzt */
    tab-size: 4;
}


/*\
 * Standard-Klassen
\*/

.stronger {
    font-weight: 500;
}

.hidden {
    visibility: hidden;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-move {
    cursor: move;
}

.text-justify {
    text-align: justify;
}


/*\
 * CSS-Klassen als Pendant von HTML-Element
\*/

.strong {
    font-weight: bolder;
}

.em {
    font-style: italic;
}

.tiny {
    font-size: 0.75em;
}

.large {
    font-size: 1.20em;
}

.huge {
    font-size: 1.50em;
}


/*\
 * Links
\*/

a {
    /* Unterstreichung mit größerem Abstand vom Text */
    text-underline-offset: 0.25em;
}


/*\
 * Druckersteuerung
\*/

.no-print-bg {
    /* Hintergrundbilder nicht drucken */
    color-adjust: economy;
    print-color-adjust: economy;
    -webkit-print-color-adjust: economy;
}

.print-bg {
    /* Hintergrundbilder drucken */
    color-adjust: exact;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.no-page-break {
    /* HTML-Element nicht über Seitengrenzen drucken */
    page-break-inside: avoid;
}
