/* Colors and fonts */

:root {
    --bg: #f4f2ef;
    --code-bg: #e6e6e6;
    --notice1-bg: #fffbf0;
    --notice2-bg: #fdf3f2;
    --notice3-bg: #e6e6e6;
    --heading: #333;
    --text: #333;
    --code: #333;
    --link: #333;
    --link-active: #009933;
    --blockquote: #777;
    --notice1-accent: #fb0;
    --notice2-accent: #d32;
    --notice3-accent: #777;
    --separator: #009933;
    --border: #009933;
    --font: "Open Sans", Helvetica, sans-serif;
    --monospace-font: Consolas, Menlo, Courier, monospace;
}
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(paris-opensans-light.woff) format("woff");
}
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(paris-opensans-regular.woff) format("woff");
}
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(paris-opensans-bold.woff) format("woff");
}

/* General */

html, body, div, form, pre, span, tr, th, td, img {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}
body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 1em;
    font-weight: 500;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    color: var(--heading);
    font-weight: normal;
}
h1 {
    font-size: 2em;
    font-weight: 700;
}
h2 {
    font-size: 1.6em;
    font-weight: 700;
}
h3 {
    font-size: 1.5em;
}
hr {
    height: 3px;
    background: var(--separator);
    border: 0;
}
strong {
    font-weight: bold;
}
code {
    font-size: 1.1em;
}
a {
    color: var(--link);
    text-decoration: underline;
}
a:hover {
    color: var(--link);
    text-decoration: underline;
    text-decoration-color: var(--link-active);
    text-decoration-thickness: 4px;
}
a[href*="//"]:not([href*="vomran.de"]):not(.no-external)::after {
  font: normal 9px/1 'FontAwesome';
	color: var(--text);
	content: "\f08e";
	padding-left:5px;
	font-size: .75em;
}
a.btn {
  text-decoration: none;
  color: var(--text); 
  border: 3px solid var(--border);
}
a.btn:hover,
a.btn:focus,
a.btn:active {
  text-decoration: none; 
}
		
/* Content */

.content {
    font-size: 1.11em;
}
.content h1 a {
    color: var(--heading);
}
.content h1 a:hover {
    color: var(--heading);
    text-decoration: underline;
}
.content img {
    max-width: 100%;
    height: auto;
}
.content form {
    margin: 1em 0;
}
.content table {
    border-spacing: 0;
    border-collapse: collapse;
}
.content th:not([align]) {
    text-align: left;
}
.content th,
.content td {
    padding: 0.3em;
    padding-left: 2em;
}
.content th:first-child,
.content td:first-child {
    padding: 0.3em;
}
.content td {
    border-top: 1px solid var(--separator);
    border-bottom: 1px solid var(--separator);
}
.content code,
.content pre {
    font-family: var(--monospace-font);
    font-size: 90%;
}
.content code {
    padding: 0.15em 0.4em;
    margin: 0;
    background-color: var(--code-bg);
    color: var(--code);
    border-radius: 3px;
}
.content pre > code {
    padding: 0;
    margin: 0;
    white-space: pre;
    background: transparent;
    border: 0;
    font-size: inherit;
}
.content pre {
    padding: 1em;
    overflow: auto;
    line-height: 1.45;
    background-color: var(--code-bg);
    color: var(--code);
    border-radius: 3px;
}
.content blockquote {
    background-image: url(paris-quote.png);
    background-position: top left;
    background-repeat: no-repeat;
    text-indent: 30px;
    color: var(--blockquote);
}
.content .intro {
    margin: 1em 0;
    padding: 10px 1em;
    background-color: var(--code-bg);
}
.content .notice1 {
    margin: 1em 0;
    padding: 10px 1em;
    background-color: var(--notice1-bg);
    border-left: 10px solid var(--notice1-accent);
}
.content .notice2 {
    margin: 1em 0;
    padding: 10px 1em;
    background-color: var(--notice2-bg);
    border-left: 10px solid var(--notice2-accent);
}
.content .notice3,
.content .notice4,
.content .notice5,
.content .notice6 {
    margin: 1em 0;
    padding: 10px 1em;
    background-color: var(--notice3-bg);
    border-left: 10px solid var(--notice3-accent);
}
.content .flexible {
    position: relative;
    padding-top: 0;
    padding-bottom: 56.25%;
}
.content .flexible iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.content .task-list-item {
    list-style-type: none;
}
.content .task-list-item input {
    margin: 0 0.2em 0.25em -1.75em;
    vertical-align: middle;
}
.content .toc {
    margin: 0;
    padding: 0;
    list-style: none;
}
.content .previousnext .previous {
    margin-right: 1em;
}
.content .pagination .previous {
    margin-right: 1em;
}
.content .pagination {
    margin: 1em 0;
}
.content .left {
    float: left;
    margin: 0 1em 0 0;
}
.content .center {
    display: block;
    margin: 0 auto;
}
.content .right {
    float: right;
    margin: 0 0 0 1em;
}
.content .rounded {
    border-radius: 4px;
}
.toc-entry {
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: 100%;
}

.toc-entry .icon {
    margin-right: 5px;
    width: 20px;
}

.entry-title {
    flex-shrink: 0; /* Verhindert, dass der Titel schrumpft */
    padding: 0;
    margin: 0;
}

.dots {
    flex-grow: 1;
    border-bottom: 1px dotted black;
    height: 1px;
    margin: 0 5px; /* Sorgt dafür, dass die Punkte direkt anschließen */
}

.entry-meta {
    flex-shrink: 0; /* Verhindert, dass das Datum verschoben wird */
    white-space: nowrap;
    background: var(--bg); /* Verhindert, dass Punkte hinter dem Datum sichtbar sind */
    padding-left: 2px 5px;
}
.entry-tags {
	margin: 1em 0;
    padding: 10px 1em;
    background-color: var(--code-bg);
}
.entry-tags .icon {
    width: 20px;
}

/* Title */

.title-line {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.title-line .entry-title {
    flex-shrink: 1;
    flex-grow: 1;
    min-width: 0;
	  white-space: normal;
	  overflow: visible;
	  text-overflow: unset;
    margin: 0;
}

.title-line .dots {
    flex-shrink: 1;
    flex-grow: 0;
    min-width; 10px;
    width: auto;
    border-bottom: 1px dotted black;
    height: 1px;
    margin: 0 5px;
}

.title-line .entry-meta {
    flex-shrink: 0;
    white-space: nowrap;
    background: var(--bg);
    padding: 2px 5px;
    margin-left: auto;
}

.title-line .icon {
		margin-right: 5px;
		margin-top: 0.2em;
		align-self: flex-start;
}

/* Header */

.header .sitename h1 {
    font-size: 2em;
    font-weight: 600;
}
.header .sitename h1 a {
    color: var(--heading);
    text-decoration: none;
}
.header .sitename p {
    color: var(--text);
}
.header .sitename-logo {
    display: inline-block;
    background-image: url(logo.png);
    background-size: cover;
    width: 130px;
    height: 130px;
    margin: 0 10px 5px 0;
    vertical-align: middle;
}

/* Navigation */

.navigation {
    margin-top: 1em;
    margin-bottom: 1em;
    line-height: 2;
}
.navigation a {
    color: var(--text);
    border-bottom: solid 5px var(--bg);
    text-decoration: none;
    padding: 0;
}
.navigation a:hover {
    border-bottom: solid 5px var(--link);
}
.navigation ul {
    margin: 0 -0.3em;
    padding: 0;
    list-style: none;
}
.navigation li {
    display: inline;
    padding: 0 0.3em;
}
.navigation li a.active {
    border-bottom: solid 5px var(--link-active);
}
.navigation ul li {
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin: 0;
}
.navigation ul li ul {
    padding: 0.3em;
    position: absolute;
    width: 13em;
    background: var(--bg);
    z-index: 100;
    display: none;
}
.navigation ul li ul {
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
}
.navigation ul li ul li {
    display: block;
}
.navigation > ul > li:hover > ul {
    display: block;
}
.navigation-banner {
    clear: both;
}

/* Footer */

.footer {
    margin-top: 4em;
    text-align: center;
    background: var(--bg);
}
.footer .siteinfo {
    padding-top: 1em;
    padding-bottom: 1em;
}
.footer .siteinfo a {
    color: var(--link);
}
.footer .siteinfo a:hover {
    color: var(--link);
    text-decoration: underline;
}

/* Forms and buttons */

.form-control {
    margin: 0;
    padding: 2px 4px;
    display: inline-block;
    min-width: 7em;
    background-color: var(--bg);
    color: var(--text);
    background-image: linear-gradient(to bottom, var(--bg), #var(--bg));
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.9em;
    font-family: inherit;
    font-weight: normal;
    line-height: normal;
}
.btn {
  align-items: center;
  background-color: var(--bg);
  border-radius: 12px;
  box-shadow: transparent 0 0 0 3px,rgba(18, 18, 18, .1) 0 6px 20px;
  box-sizing: border-box;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  flex: 1 1 auto;
  font-family: "Open Sans";
  font-style: normal;
  font-size: 1.2rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  margin: 0;
  outline: none;
  padding: 1rem 1.2rem;
  text-align: center;
  text-decoration: none;
  transition: box-shadow .2s,-webkit-box-shadow .2s;
  white-space: nowrap;
  border: 0;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.btn:hover,
.btn:focus,
.btn:active {
  box-shadow: var(--text) 0 0 0 3px, transparent 0 0 0 0;
}


/* Responsive and print */

.page {
    margin-top: 0.5em;
}


.header,
.content,
.siteinfo {
    margin: 0 auto;
    padding: 0 1em;
    max-width: 1000px;
}
.yellow-bar {
    margin: 0 auto;
    padding: 0.7em 1em;
    max-width: 1000px;
}
.yellow-dropdown a:hover,
.yellow-toolbar a:hover {
    background-color: #d44;
    border-color: #d44;
}
.yellow-toolbar .yellow-toolbar-btn-edit {
    background-color: #333;
    border-color: #333;
    color: #fff;
}
.yellow-toolbar .yellow-toolbar-btn-create {
    background-color: #333;
    border-color: #333;
    color: #fff;
}
.yellow-toolbar .yellow-toolbar-btn-delete {
    background-color: #c33;
    border-color: #c33;
    color: #fff;
}

@media screen and (max-width: 32em) {
    body {
        font-size: 0.9em;
    }
    .header .sitename h1 {
        margin: 0;
        padding: 0;
    }
    .header .sitename h2 {
        margin-top: -0.5em;
    }
    .header .sitename-logo {
        width: 100px;
        height: 100px;
    }
    .navigation {
        margin-top: 0.5em;
        margin-bottom: 0.5em;
    }
    .content h1,
    .content h2 {
        font-size: 1.5em;
    }
}
@media screen and (max-width: 750px) {
    .title-line .dots,
    .title-line .entry-meta {
        display: none;
    }
}
@media screen and (max-width: 600px) {
    .title-line .entry-title {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
}
@media print {
    .page {
        border: none !important;
    }
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #6e6c6a;
        --code-bg: #4a4847;
        --notice1-bg: #bf931b;
        --notice2-bg: #8a1307;
        --notice3-bg: #4a4847;
        --heading: #f4f2ef;
        --text: #f4f2ef;
        --code: #f4f2ef;
        --link: #f4f2ef;
        --link-active: #03872f;
        --blockquote: #bbb;
        --notice1-accent: #a37905;
        --notice2-accent: #5c0d05;
        --notice3-accent: #403e3d;
        --separator: #03872f;
        --border: #03872f;
    }

    body {
        background-color: var(--bg);
        color: var(--text);
    }

    a {
        color: var(--link);
    }

    a:hover {
        color: var(--link);
    }
}