@charset "UTF-8";

/**
 * (en) CSS svw.info
 * (de) CSS svw.info
 *
 * @copyright       Copyright 2026, Holger Schröck
 * @license         CC-A 2.0 (http://creativecommons.org/licenses/by/2.0/),
 * @link            http://www.portal64.de
 * @version         1.0.0
 */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #333;
    background-color: #9898a8;
}

a {
    color: #8B0000;
    text-decoration: none;
    transition: color 0.25s ease-in-out;
}

a:hover {
    color: #660000;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* ---------- Page Wrapper ---------- */
.site {
    max-width: 1240px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ---------- Grid (Bootstrap-compatible) ---------- */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.row > * {
    padding: 0 15px;
}

.col-lg-3 { flex: 0 0 25%; max-width: 25%; }
.col-lg-6 { flex: 0 0 50%; max-width: 50%; }
.col-lg-9 { flex: 0 0 75%; max-width: 75%; }
.col-lg-12 { flex: 0 0 100%; max-width: 100%; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5em;
    font-weight: 700;
    line-height: 1.3;
    color: #000;
}

h1 { font-size: 26px; letter-spacing: -0.02em; }
h2 { font-size: 19px; }
h3 { font-size: 16px; }
h4 { font-size: 14px; }
h5 { font-size: 13px; }
h6 { font-size: 12px; }

p {
    margin-top: 0;
    margin-bottom: 1em;
}

/* ---------- Top Bar ---------- */
#sp-topbar {
    background-color: #A6A68F;
    color: #333;
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px solid #96967F;
}

#sp-topbar .container {
    display: flex;
    align-items: center;
}

#sp-topbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#sp-topbar ul li {
    display: flex;
    align-items: center;
}

#sp-topbar ul li + li::before {
    content: "\2022";
    color: #666;
    padding: 0 8px;
    font-size: 10px;
}

#sp-topbar a {
    color: #8B0000;
    text-decoration: none;
}

#sp-topbar a:hover {
    color: #660000;
    text-decoration: underline;
}

/* ---------- Header ---------- */
#sp-header {
    background-color: #A6A68F;
    padding: 12px 0;
    border-bottom: 1px solid #96967F;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-image {
    max-height: 60px;
    width: auto;
}

.site-title {
    font-size: 22px;
    font-weight: 700;
    color: #000;
}

.site-description {
    margin: 2px 0 0;
    font-size: 13px;
    color: #333;
}

.header-modules {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ---------- Hamburger Button ---------- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #000;
    border-radius: 2px;
    transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out;
}

.hamburger.is-active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Navigation (in left sidebar) ---------- */
#sp-navigation {
    margin-bottom: 15px;
}

#sp-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#sp-navigation ul li a {
    display: block;
    padding: 6px 12px;
    color: #8B0000;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.25s ease-in-out, padding-left 0.25s ease-in-out;
}

#sp-navigation ul li a:hover,
#sp-navigation ul li a:focus {
    background-color: #e8e8d8;
    padding-left: 16px;
    text-decoration: none;
}

#sp-navigation ul li.current > a,
#sp-navigation ul li.active > a {
    background-color: #d9d9c1;
    color: #000;
    font-weight: 700;
}

/* Sub-level items */
#sp-navigation ul li ul li a {
    padding-left: 24px;
}

#sp-navigation ul li ul li a:hover {
    padding-left: 28px;
}

/* Sub-sub-level items */
#sp-navigation ul li ul li ul li a {
    padding-left: 36px;
}

#sp-navigation ul li ul li ul li a:hover {
    padding-left: 40px;
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: #fff;
    z-index: 2000;
    overflow-y: auto;
    transition: right 0.35s ease;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
}

.mobile-menu.is-open {
    right: 0;
}

.mobile-menu-inner {
    padding: 20px;
    padding-top: 60px;
}

.mobile-menu-close {
    position: absolute;
    top: 12px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #333;
    line-height: 1;
    padding: 5px;
}

.mobile-menu-close:hover {
    color: #000;
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu ul li a {
    display: block;
    padding: 12px 15px;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    transition: background-color 0.25s ease-in-out;
    border-radius: 5px;
}

.mobile-menu ul li a:hover {
    background-color: #f5f5f5;
    text-decoration: none;
}

/* Level 2 items */
.mobile-menu ul li ul li a {
    padding-left: 30px;
    font-weight: 400;
    background-color: #E0F7FA;
    border-radius: 0;
}

/* Level 3 items */
.mobile-menu ul li ul li ul li a {
    padding-left: 45px;
    background-color: #99CCFF;
}

.mobile-menu ul li.current > a,
.mobile-menu ul li.active > a {
    background-color: #253558;
    color: #fff;
}

/* Backdrop */
.mobile-menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1500;
}

.mobile-menu-backdrop.is-visible {
    display: block;
}

/* ---------- Banner ---------- */
#sp-banner {
    background-color: #C9C9B1;
}

#sp-banner img {
    width: 100%;
    display: block;
}

/* ---------- Head Navigation ---------- */
#sp-head-navigation {
    background-color: #5C5C6E;
    padding: 0;
    font-size: 13px;
}

#sp-head-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

#sp-head-navigation ul li a {
    display: block;
    padding: 8px 14px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.25s ease-in-out;
    position: relative;
}

/* Underline animation on hover */
#sp-head-navigation ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.25s ease-in-out, left 0.25s ease-in-out;
}

#sp-head-navigation ul li a:hover::after,
#sp-head-navigation ul li a:focus::after {
    width: 100%;
    left: 0;
}

#sp-head-navigation ul li a:hover,
#sp-head-navigation ul li a:focus {
    background-color: #253558;
    color: #fff;
    text-decoration: none;
}

#sp-head-navigation ul li.current > a,
#sp-head-navigation ul li.active > a {
    background-color: #253558;
    color: #fff;
    font-weight: 700;
}

#sp-head-navigation ul li.current > a::after,
#sp-head-navigation ul li.active > a::after {
    width: 100%;
    left: 0;
}

/* ---------- Main Content Area ---------- */
#sp-main-body {
    background-color: #C9C9B1;
    padding: 0;
    min-height: 400px;
}

/* ---------- Main Content Column ---------- */
#sp-component {
    background-color: #F5F5ED;
    padding: 20px;
    min-height: 300px;
}

/* ---------- Sidebar ---------- */
#sp-left,
#sp-right {
    margin-bottom: 0;
}

#sp-left .module,
#sp-right .module {
    margin-bottom: 15px;
    background-color: #F5F5ED;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

#sp-left .module h3,
#sp-right .module h3 {
    margin: 0;
    padding: 8px 12px;
    background: linear-gradient(to bottom, #e8e8d8, #dfdfcf);
    color: #000;
    font-size: 14px;
    border-bottom: 1px solid #c0c0a8;
}

#sp-left .module > div,
#sp-right .module > div {
    padding: 12px;
}

/* Sidebar navigation lists */
#sp-left ul,
#sp-right ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#sp-left ul li a,
#sp-right ul li a {
    display: block;
    padding: 6px 12px;
    color: #8B0000;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.25s ease-in-out, padding-left 0.25s ease-in-out;
}

#sp-left ul li a:hover,
#sp-right ul li a:hover {
    background-color: #e8e8d8;
    padding-left: 16px;
    text-decoration: none;
}

#sp-left ul li.active > a,
#sp-right ul li.active > a {
    background-color: #d9d9c1;
    color: #000;
    font-weight: 700;
}

/* ---------- Article Cards ---------- */
.blog .items-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.blog .item {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 15px;
    margin-bottom: 20px;
}

.blog .item .article-card {
    border: 1px solid #999;
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.25s ease-in-out, transform 0.25s ease-in-out;
}

.blog .item .article-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

.blog .item .article-card img {
    width: 100%;
    max-height: 160px;
    object-fit: cover;
    display: block;
}

.blog .item .article-card .card-body {
    padding: 15px;
}

.blog .item .article-card h2 {
    font-size: 15px;
    margin-bottom: 8px;
}

.blog .item .article-card h2 a {
    color: #8B0000;
}

.blog .item .article-card h2 a:hover {
    color: #660000;
}

/* ---------- Tables ---------- */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 4px;
    display: block;
}

table thead th {
    background: linear-gradient(to bottom, #c8c8b8, #b0b0a0);
    color: #000;
    padding: 8px 10px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid #999;
}

table tbody td {
    padding: 6px 10px;
    border: 1px solid #999;
}

table tbody tr:nth-child(odd) {
    background-color: #eceae5;
}

table tbody tr:nth-child(even) {
    background-color: #dad5cd;
}

table tbody tr:hover {
    background-color: #ccc8be;
}

/* ---------- Forms ---------- */
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 6px 10px;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    border: 1px solid #b0b0a0;
    border-radius: 3px;
    transition: border-color 0.25s ease-in-out;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #5C5C6E;
    outline: none;
    box-shadow: 0 0 0 2px rgba(92, 92, 110, 0.25);
}

.btn,
button[type="submit"] {
    display: inline-block;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background-color: #5C5C6E;
    border: 1px solid #4d4d5e;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.25s ease-in-out;
    text-decoration: none;
}

.btn:hover,
button[type="submit"]:hover {
    background-color: #253558;
    text-decoration: none;
}

/* ---------- Alerts / Messages ---------- */
#system-message-container .alert {
    padding: 12px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-error,
.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ---------- Footer ---------- */
#sp-footer {
    background-color: #D5C8B8;
    color: #666666;
    padding: 20px 0;
    font-size: 13px;
    border-top: 3px solid #b0a898;
}

#sp-footer a {
    color: #333;
}

#sp-footer a:hover {
    color: #8B0000;
    text-decoration: none;
}

#sp-footer p {
    margin: 0;
    text-align: center;
}

#sp-footer .module h3 {
    color: #333;
    margin-bottom: 12px;
    font-size: 15px;
}

/* ---------- Utilities ---------- */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Pagination ---------- */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 20px 0;
    gap: 4px;
}

.pagination li a,
.pagination li span {
    display: block;
    padding: 6px 12px;
    border: 1px solid #999;
    border-radius: 3px;
    color: #333;
    font-size: 14px;
    transition: all 0.25s ease-in-out;
}

.pagination li a:hover {
    background-color: #253558;
    border-color: #253558;
    color: #fff;
    text-decoration: none;
}

.pagination li.active span {
    background-color: #5C5C6E;
    border-color: #5C5C6E;
    color: #fff;
}

/* ---------- Search ---------- */
.mod-finder .input-group {
    display: flex;
}

.mod-finder input[type="search"] {
    flex: 1;
    border-right: none;
    border-radius: 3px 0 0 3px;
}

.mod-finder .btn {
    border-left: none;
    border-radius: 0 3px 3px 0;
}

/* ---------- Main Top / Bottom Module Sections ---------- */
.main-top,
.main-bottom {
    margin-bottom: 20px;
}

.main-bottom {
    margin-top: 20px;
    margin-bottom: 0;
}

/* ---------- Definition Lists (dt/dd nebeneinander) ---------- */
#sp-component dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.25rem 1rem;
    margin: 0 0 1em;
    padding: 0;
}

#sp-component dl dt {
    font-weight: 600;
    margin: 0;
}

#sp-component dl dd {
    margin: 0;
}
