body {
  background-color: white;
  color: #2F4672;
  margin-left: 2.5em;
  margin-right: 2.5em;
  margin-top: 2.5em;
  margin-bottom: 2.5em; 
  font-family: Arial, sans-serif;
  line-height: 1.5;
}

/* === Links === */
a:not(.nav-btn) {
    color: inherit;
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 3px;
    transition: background-color 0.1s ease, color 0.1s ease;
}

a:not(.nav-btn):hover {
    background-color: #f1f4fd;
    color: #2F4672;
    border-radius: 3px;
}

html.dark-mode a:not(.nav-btn) {
    color: inherit;
}

html.dark-mode a:not(.nav-btn):hover {
    background-color: #2e3850;
    color: #e8edf8;
    border-radius: 3px;
}

a:not(.nav-btn)[href^="http"]::after {
    content: " \2197";
    font-size: 0.75em;
    vertical-align: super;
    line-height: 0;
}


#main {
	width: 1500px;
	margin:auto;
}

#info_wrapper {
	display: -webkit-flex; 
	display: flex;
}

#uebersicht_wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
}

.small_icon {
	margin-right: 0.5em;
}

.align_with_img  a, img, span {
	vertical-align: middle;
}

div.align_with_img {
	margin-bottom: 1em;
}

.intro {
	margin-top: 1em;
	margin-bottom: 2em;
}

.version_info{
	vertical-align:top;
	display: inline-block;
	width: 50%;
}

.box_left{
	margin-right:50px;
}


table.center{
	margin-left: auto;
	margin-right: auto;	
}

.version_hinweis{
	padding-left: 2.5em;
	padding-right: 3.5em;
	padding-top:1em;
	padding-bottom:1em;
	background: #fefefe;
	border: 1px dashed #88aa88;
	color: #DF0101;
}

.hinweis_entries {
	border:none;	
	padding-left: 1em;
}

.hinweis {
	list-style-type: circle;
	line-height: 1.5;
}

.hinweis_message {
	display: block;
	color: #DF0101;
}

.hinweis_title {
	color: #DF0101;
	font-weight: bold;
}

.inline_hinweis_normal {
	margin-left: 2.0em;
	color: black;
}

.inline_hinweis_critical {
	margin-left: 2.0em;
	color: #DF0101;
}

.changelog_entries {
	margin-bottom: 1.5em;
	padding-top:1em;
	padding-left: 2.5em;
	padding-right: 3.5em;
	background: #fefefe;
	border: 1px dashed #8a96b0;
	border-radius: 5px;
}

ul.changelog_entries {
  padding-left: 0.7em;
  padding-right: 1.7em;
  padding-top:2em;
  padding-bottom: 2em;
  background: #fefefe;
  border: 1px dashed #8a96b0;
}

li.changelog_entry {
  list-style-type: none;
  margin-left: 0px;
  padding-left: 0px;
  margin-top: 0.8em;
  border-top: 1px solid #dddddd;
  background: #f8f8f8;
}

li.changelog_subchange {
  list-style-type: square;
  margin-left: 1em;
  line-height: 1.5;
}

li.changelog_change {
  list-style-type: circle;
  margin-left: 3em;
  line-height: 1.5;
}

span.changelog_date {
  color: black;
}

span.changelog_author {
  color: #111188;
}

.changelog_revision {
  font-size: 80%;
  color: #881111;
  background: #fff4f4;
}

.changelog_revision a {
  color: inherit;
}

.changelog_files {
  font-size: 80%;
  font-family: monospace;
  color: #116611;
}

.changelog_files:after {
  content: ':';
}

.changelog_message {
  display: block;
  color: #220000;
}

.changelog_message_minor {
  display: block;
  color: #FF0000;
  font-style:italic;
}

p.changelog_footer {
  margin-top: 4.5em;
  margin-bottom: 6em;
}

p.changelog_footer a {
  text-decoration: none;
  color: inherit;
}

#prosoz_logo {
	margin-left: auto;
}

.dark-mode #prosoz_logo {
	content: url('img/prosoz_logo_alpha_dark.png');
}

.title_text {
	padding-top:0.2em;
	margin-left: 0.5em;
	font-size: 240%;
	font-weight: bold;
	color: #2F4672;
}

div.title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 50px;
}

.step{
	margin-bottom: 40px;
}

hr {
	border-style: solid none none;
	border-top: 1px dashed #88aa88;
	margin-top: 1em;	
	margin-bottom: 1em;
	margin-right: 1em;
}

/* === Tabellenlayout === */

.tbl-row {
    background: white;
    vertical-align: middle;
}

.hdr-blank {
    background: white;
    color: white;
    font-size: 14pt;
    font-weight: bold;
    vertical-align: middle;
    width: 140pt;
}

.hdr-year {
    background: #2F4672;
    color: white;
    font-size: 18pt;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    border-top: 1.5pt solid white;
    border-bottom: 1.5pt solid white;
    border-left: 1.5pt solid white;
    border-right: 1.5pt solid white;
}

.hdr-year-first {
    border-left: none;
}

.hdr-month {
    background: #5E75A1;
    color: white;
    font-size: 12pt;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1.5pt solid white;
    border-right: 1.5pt solid white;
    width: 65px;
}

.hdr-release {
    background: #5E75A1;
    color: white;
    font-size: 12pt;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    border: 1.5pt solid white;
    width: 140pt;
}

.hdr-update {
    background: #5E75A1;
    color: white;
    font-size: 12pt;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    border-top: 1.5pt solid white;
    border-right: 1.5pt solid white;
    border-bottom: 1.5pt solid white;
    border-left: none;
    width: 140pt;
    white-space: nowrap;
}

.lbl-version {
    background: #d7deee;
    color: #2F4672;
    font-size: 12pt;
    text-align: center;
    vertical-align: middle;
    border-left: 1.5pt solid white;
    border-right: 1.5pt solid white;
    white-space: nowrap;
}

.sep-release {
    background: #d7deee;
    color: #2F4672;
    font-size: 14pt;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    border-left: 1.5pt solid white;
    border-right: 1.5pt solid white;
}

.sep-update {
    background: #d7deee;
    color: #2F4672;
    font-size: 14pt;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    border-right: 1.5pt solid white;
    white-space: nowrap;
}

.sep-month {
    background: #f1f4fd;
    text-align: center;
    vertical-align: middle;
}

.sep-month-end {
    background: #f1f4fd;
    text-align: center;
    vertical-align: middle;
    border-right: 1.5pt solid white;
}

.sub-release {
    background: #d7deee;
    color: #2F4672;
    font-weight: bold;
    text-align: center;
    border-bottom: 1.5pt solid white;
    border-left: 1.5pt solid white;
    border-right: 1.5pt solid white;
}

.sub-update {
    background: #d7deee;
    color: #2F4672;
    font-weight: bold;
    text-align: center;
    border-bottom: 1.5pt solid white;
    border-right: 1.5pt solid white;
    white-space: nowrap;
}

.data-month {
    background: #f1f4fd;
    vertical-align: middle;
}

.data-month-end {
    background: #f1f4fd;
    vertical-align: middle;
    border-right: 1.5pt solid white;
}

.data-active {
    background: #62ba95;
    border-top: 5pt solid #f1f4fd;
    border-bottom: 5pt solid #f1f4fd;
    vertical-align: middle;
}

.data-last {
    background: #f1f4fd;
    border-bottom: 1.5pt solid white;
}

.data-last-end {
    background: #f1f4fd;
    border-bottom: 1.5pt solid white;
    border-right: 1.5pt solid white;
}

/* === Navigationsleiste === */
.nav-wrapper {
    margin-bottom: 3em;
    display: -webkit-flex;
    display: flex;
    gap: 10px;
    align-items: stretch;
    width: -webkit-fit-content;
    width: fit-content;
}

.nav-group {
    display: -webkit-flex;
    display: flex;
    border: 1px solid #2F4672;
    border-radius: 5px;
    overflow: hidden;
}


.nav-group:first-child {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
}
.nav-btn {
    flex: 1;
    text-align: center;
    white-space: nowrap;
    padding: 0.5em 1.2em;
    text-decoration: none;
    color: #2F4672;
    background-color: #f1f4fd;
    font-weight: normal;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.nav-btn::after {
    content: attr(data-text);
    font-weight: bold;
    display: block;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}

.nav-btn + .nav-btn {
    border-left: 1px solid #2F4672;
}

.nav-btn-active {
    color: #ffffff;
    background-color: #2F4672;
    font-weight: bold;
}

.nav-btn:hover {
    background-color: #d7deee;
    color: #2F4672;
}

.nav-btn-active:hover {
    background-color: #2F4672;
    color: #ffffff;
}

/* === Tabelle Layout === */
table.lc-table {
    border-collapse: collapse;
    table-layout: fixed;
}

.row-header { height: 60pt; }
.row-months  { height: 37.5pt; }
.row-sep     { height: 11.25pt; }
.row-data    { height: 22.5pt; }

/* === Bilder === */
#prosoz_logo       { width: 200px; }
#prosozbau_logo_new    { width: 100px; }


/* === Dark Mode Toggle Button === */
.theme-toggle-btn {
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    padding: 0.5em 0.8em;
    color: #2F4672;
    line-height: 1;
}

/* === Dark Mode === */
html.dark-mode body {
    background-color: #1c2032;
    color: #cdd5e8;
}

html.dark-mode .title_text {
    color: #cdd5e8;
}

html.dark-mode .nav-group {
    border-color: #4a5878;
}

html.dark-mode .nav-btn {
    background-color: #252d42;
    color: #cdd5e8;
}

html.dark-mode .nav-btn + .nav-btn {
    border-left-color: #4a5878;
}

html.dark-mode .nav-btn-active {
    background-color: #4a5878;
    color: #ffffff;
}

html.dark-mode .nav-btn:hover {
    background-color: #2e3850;
    color: #e8edf8;
}

html.dark-mode .nav-btn-active:hover {
    background-color: #4a5878;
    color: #ffffff;
}

html.dark-mode .theme-toggle-btn {
    color: #cdd5e8;
}

html.dark-mode hr {
    border-top-color: #3a4060;
}

/* Lifecycle table – dark mode */
html.dark-mode .hdr-blank {
    background: #1c2032;
    color: #1c2032;
}

html.dark-mode .hdr-year {
    background: #4a5878;
    color: #cdd5e8;
    border-color: #202436;
}

html.dark-mode .hdr-month,
html.dark-mode .hdr-release,
html.dark-mode .hdr-update {
    background: #3d475f;
    color: #cdd5e8;
    border-color: #202436;
}

html.dark-mode .lbl-version,
html.dark-mode .sep-release,
html.dark-mode .sep-update {
    background: #353a50;
    color: #cdd5e8;
    border-color: #202436;
}

html.dark-mode .sep-month,
html.dark-mode .sep-month-end {
    background: #2a2f45;
    border-color: #202436;
}

html.dark-mode .data-month,
html.dark-mode .data-month-end {
    background: #2a2f45;
    border-color: #202436;
}

html.dark-mode .data-active {
    background: #238a6d;
    border-color: #2a2f45;
}

html.dark-mode .data-last,
html.dark-mode .data-last-end {
    background: #2a2f45;
    border-color: #202436;
}

html.dark-mode .tbl-row {
    background: #2a2f45;
}

html.dark-mode .sub-release,
html.dark-mode .sub-update {
    background: #353a50;
    color: #8aaecc;
    border-color: #202436;
}
.dark-mode #prosozbau_logo_new {
	content: url('img/prosozbau_logo_new_dark.png');
}
html.dark-mode .changelog_entries,
html.dark-mode div.changelog_entries,
html.dark-mode ul.changelog_entries {
    background: #202436;
    border-color: #5a6880;
}
