/* =========================================================
   abi1989.gis-wf.de - Einheitliches Layout 2026
   ========================================================= */

html,
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #000;
    background: #FFFF00;
    text-align: center;
}

#container {
    width: 1200px;
    margin: 25px auto;
    background: #fff;
    text-align: left;
    overflow: visible;
}

/* Kopfbereich */

#header {
    height: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    position: relative;
    z-index: 5;
}

#header img {
    position: absolute;
    right: 55px;
    top: -12px;
    height: 145px;
    border: 0;
}

/* Breadcrumb */

#topnav {
    background: #fff;
    padding: 8px 20px 8px 40px;
    font-size: 18px;
    font-weight: bold;
    color: #000;
}

#topnav a {
    color: #000;
    text-decoration: none;
}

#topnav a:hover {
    color: #000;
    background: #FFFF00;
}

/* Hauptnavigation */

#mainnav {
    clear: both;
    background: #FF9900;
    padding: 0;
    margin: 0;
    font-weight: bold;
    color: #fff;
}

#mainnav ul {
    margin: 0 0 0 25px;
    padding: 0;
    list-style: none;
    border-left: 1px solid #C4C769;
}

#mainnav li {
    display: inline;
    padding: 0;
    border-right: 1px solid #C4C769;
}

#mainnav li a {
    display: inline-block;
    padding: 7px 22px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
}

#mainnav li a:hover,
#mainnav li a:focus {
    color: #000;
    background: #FFFF00;
}

/* Standard-Inhalt */

#contents,
.content,
.maincontent {
    clear: both;
    margin: 25px 28px;
    background: #fff;
    color: #000;
    font-size: 15px;
    line-height: 1.35em;
    text-align: left;
}

#contents-left {
    float: left;
    width: 31%;
    margin: 10px 1%;
    background: #fff;
    color: #000;
    font-size: 13px;
    line-height: 1.15em;
}

#contents-right {
    float: right;
    width: 31%;
    margin: 10px 1%;
    background: #fff;
    color: #000;
    font-size: 13px;
    line-height: 1.15em;
}

/* Links */

a {
    color: #0000EE;
}

a:hover,
a:focus {
    color: #000;
    background: #FFFF00;
    font-weight: bold;
    text-decoration: none;
}

/* Bilder */

#image {
    float: right;
    width: 180px;
    min-height: 100px;
    background: #fff;
    padding-top: 20px;
}

#images {
    clear: both;
    background: #fff;
    margin: 10px 20px;
    padding: 0;
}

#tnlist {
    border: 0;
}

/* Footer */

#footer {
    clear: both;
    height: 20px;
    margin-top: 10px;
    padding: 5px;
    text-align: center;
    background: #FF9900;
    color: #fff;
    font-size: 85%;
}

#footer a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
}

/* Tabellen */

table {
    border-collapse: collapse;
}

td,
th {
    font-family: Arial, Helvetica, sans-serif;
}

/* =========================================================
   Speziallayout: adressen.php
   Body: <body class="page-adressen">
   ========================================================= */

body.page-adressen #address-page {
    clear: both;
    padding: 28px 28px 25px 28px;
}

body.page-adressen #news {
    clear: both;
    position: static;
    float: none;
    width: 560px;
    height: auto;
    min-height: 0;
    overflow: visible;
    margin: 18px 0 22px 25px;
    padding: 0;
    line-height: 1.25em;
    font-size: 18px;
    background: #fff;
    color: #000;
}

body.page-adressen .section-line {
    clear: both;
    display: block;
    border-top: 1px solid #aaa;
    margin: 14px 0 14px 0;
    height: 1px;
    overflow: hidden;
}

body.page-adressen .tn-images {
    clear: both;
    display: block;
    margin: 0 0 18px 0;
    padding: 0;
    line-height: 0;
    overflow: hidden;
    background: #fff;
}

body.page-adressen .tn-images img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    margin: 1px;
    border: 0;
    vertical-align: top;
}

body.page-adressen .tn-year {
    width: 38px !important;
    height: 32px !important;
    object-fit: contain !important;
    margin-right: 4px !important;
}

body.page-adressen .address-grid {
    clear: both;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 42px;
    row-gap: 2px;
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.18em;
}

body.page-adressen .address-entry {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.page-adressen .address-entry a {
    white-space: nowrap;
}

body.page-adressen .status {
    display: inline-block;
    min-width: 16px;
    text-align: center;
    margin-right: 1px;
    font-weight: bold;
    color: #000;
}

body.page-adressen .dead {
    color: gray;
}

/* =========================================================
   Standard-Profil-/Detailseiten, z.B. adress_detail.php
   ========================================================= */

#contents h1 {
    margin: 20px 0 14px 40px;
    font-size: 2em;
    line-height: 1.15em;
    font-weight: bold;
}

#contents > p:first-of-type {
    margin-left: 40px;
}

#contents table {
    margin-top: 25px;
    margin-left: 40px;
    border-collapse: separate;
    border-spacing: 0 3px;
    font-size: 1em;
    font-weight: normal;
}

#contents table td {
    padding: 5px 20px 5px 0;
    vertical-align: top;
    font-size: 1em;
    font-weight: normal;
}

#contents table td:first-child {
    background: #33AA33;
    color: #ffffff;
    width: 165px;
    padding: 5px 10px;
    font-weight: bold;
    white-space: nowrap;
}

#contents table td:nth-child(2) {
    padding-left: 22px;
}

#contents h2 {
    margin-left: 40px;
    margin-top: 26px;
    margin-bottom: 6px;
    font-size: 1em;
    line-height: 1.35em;
    font-weight: normal;
}

#contents p {
    margin-left: 40px;
    font-size: 1em;
    font-weight: normal;
    line-height: 1.35em;
}

#contents .status {
    display: inline-block;
    min-width: 28px;
    padding: 3px 5px;
    margin-right: 18px;
    text-align: center;
    color: #ffffff;
    background: #33AA33;
    font-weight: bold;
}

#contents h2 .status {
    margin-left: 0;
}

#contents a {
    font-size: 1em;
    font-weight: normal;
}
