
/* ===== Modern DreamCMS Theme ===== */



*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0; padding: 0;
    background-color: #f0f2f5;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    color: #1f2937;
    line-height: 1.6;
}

/* ===== Main wrapper ===== */
#art-main {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 8px;
}

.art-Sheet {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background: transparent;
}

/* Decorative corner divs ausblenden */
.art-Sheet-tl, .art-Sheet-tr, .art-Sheet-bl, .art-Sheet-br,
.art-Sheet-tc, .art-Sheet-bc, .art-Sheet-cl, .art-Sheet-cr,
.art-Sheet-cc { display: none; }

.art-Sheet-body { position: relative; padding: 0; }

/* ===== Header ===== */
.art-Header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
    padding: 18px 20px;
    border-radius: 0 0 10px 10px;
    margin-bottom: 8px;
    box-shadow: 0 4px 14px rgba(29,78,216,0.3);
    width: 100%;
    overflow: hidden;
    position: relative;
}

.art-Header::before {
    content: '';
    position: absolute;
    top: -60px; right: -40px;
    width: 250px; height: 250px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}

/* Alte Hintergrundbilder ausblenden */
.art-Header-png, .art-Header-jpeg { display: none !important; }

.art-Logo { position: static; width: auto; }

h1.art-Logo-name,
h1.art-Logo-name a,
h1.art-Logo-name a:link,
h1.art-Logo-name a:visited,
h1.art-Logo-name a:hover {
    font-size: 24px; font-weight: 700;
    color: #ffffff !important;
    text-decoration: none;
    margin: 0; padding: 0;
    letter-spacing: -0.3px;
    font-family: 'Inter', sans-serif;
}

.art-Logo-text, .art-Logo-text a {
    font-size: 13px;
    color: rgba(255,255,255,0.75) !important;
    margin: 2px 0 0 0; padding: 0;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

.art-Header-login { color: #fff; font-size: 13px; }

/* Links im Header sollen weiß sein, nicht blau */
.art-Header a,
.art-Header a:link,
.art-Header a:visited {
    color: #ffffff !important;
    text-decoration: none;
}
.art-Header a:hover {
    color: #bfdbfe !important;
    text-decoration: underline;
}
/* Login-Bereich im Header */
.art-Header-login a,
.art-Header-login a:link,
.art-Header-login a:visited {
    color: #ffffff !important;
    font-weight: 500;
    text-decoration: none;
}
.art-Header-login a:hover {
    color: #bfdbfe !important;
    text-decoration: underline;
}

/* ===== Navigation ===== */
.art-nav {
    position: relative;
    height: auto;
    z-index: 100;
    background: #1d4ed8;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(29,78,216,0.2);
    overflow: visible;
}

.art-nav .l, .art-nav .r { display: none; }

.art-menu {
    padding: 0 6px;
    margin: 0;
    min-height: 0;
    list-style: none;
}

.art-menu, .art-menu ul {
    list-style: none;
    margin: 0; padding: 0; border: 0;
    display: block;
}

.art-menu li {
    margin: 0; padding: 0; border: 0;
    display: block; float: left;
    position: relative; z-index: 5;
    background: none;
}

.art-menu li:hover { z-index: 10000; white-space: normal; }
.art-menu li li { float: none; }

.art-menu ul {
    visibility: hidden;
    position: absolute;
    z-index: 200;
    left: 0; top: 100%;
    background: #1e3a8a;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    min-width: 170px;
    padding: 6px 0 !important;
    margin: 4px 0 0 0 !important;
}

.art-menu li:hover > ul { visibility: visible; top: 100%; }
.art-menu li li:hover > ul { top: 0; left: 100%; }

.art-menu:after, .art-menu ul:after {
    content: "."; height: 0;
    display: block; visibility: hidden;
    overflow: hidden; clear: both;
}

/* Menu items */
.art-menu a {
    position: relative;
    display: block;
    overflow: hidden;
    height: 38px;
    cursor: pointer;
    text-decoration: none;
    margin: 2px;
    border-radius: 6px;
    color: #ffffff !important;
    transition: background 0.15s;
}

.art-menu a:hover,
.art-menu li:hover > a {
    background: rgba(255,255,255,0.15) !important;
}

.art-menu a.active {
    background: rgba(255,255,255,0.2) !important;
}

/* Alte Image-Sprites ausblenden */
.art-menu a .l, .art-menu a .r { display: none; }

.art-menu a .t {
    font-family: 'Inter', sans-serif;
    font-size: 13px; font-weight: 500;
    color: #ffffff;
    padding: 0 12px;
    margin: 0;
    line-height: 38px;
    display: block;
}

.art-menu a:hover .t,
.art-menu li:hover > a .t,
.art-menu li:hover a .t {
    color: #ffffff;
}

.art-menu a.active .t { color: #ffffff; }

.art-menu-separator { display: none; }

/* Submenu */
.art-menu ul a {
    display: block; text-align: left;
    white-space: nowrap;
    height: auto; min-height: 34px;
    width: auto;
    line-height: 34px;
    margin: 0 6px;
    padding: 0 12px;
    background-image: none !important;
    background: transparent !important;
    border: none !important;
    border-radius: 6px;
    color: rgba(255,255,255,0.85) !important;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
}

.art-menu ul a:hover,
.art-menu ul li:hover > a,
.art-menu ul li a:hover {
    background: rgba(255,255,255,0.15) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

.art-nav ul.art-menu ul span,
.art-nav ul.art-menu ul span span {
    display: inline; float: none;
    margin: inherit; padding: inherit;
    background-image: none;
    color: inherit;
    text-align: inherit;
    text-decoration: inherit;
    font-size: inherit; line-height: inherit;
}

/* ===== Content Layout — Flexbox ===== */
.art-contentLayout {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 10px;
}

.art-contentLayout .art-sidebar1 {
    flex: 0 0 220px;
    width: 220px;
    min-width: 0;
}

.art-contentLayout .art-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.art-contentLayout .art-sidebar2 {
    flex: 0 0 220px;
    width: 220px;
    min-width: 0;
}

.art-contentLayout .art-content-wide {
    flex: 1;
    min-width: 0;
}

/* ===== Block (Sidebar/Content-Boxen) ===== */
.art-Block {
    position: relative;
    margin: 0 0 10px 0;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.08);
    overflow: hidden;
}

.art-Block-body { position: relative; padding: 0; }

/* ===== BlockHeader ===== */
.art-BlockHeader {
    position: relative;
    height: auto;
    padding: 0; margin-bottom: 0;
    background: linear-gradient(90deg, #1d4ed8, #2563eb);
    border-radius: 10px 10px 0 0;
}

.art-BlockHeader .l, .art-BlockHeader .r { display: none; }

.art-BlockHeader .t {
    display: block;
    padding: 8px 12px;
    font-size: 13px; font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}

/* ===== BlockContent ===== */
.art-BlockContent {
    position: relative;
    margin: 0;
    min-height: 15px;
}

/* Alte Eckenbilder ausblenden */
.art-BlockContent-tr, .art-BlockContent-tl,
.art-BlockContent-br, .art-BlockContent-bl,
.art-BlockContent-tc, .art-BlockContent-bc,
.art-BlockContent-cr, .art-BlockContent-cl,
.art-BlockContent-cc { display: none; }

.art-BlockContent-body {
    position: relative;
    padding: 10px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 13px; color: #374151;
}

.art-BlockContent-body a:link    { color: #1d4ed8; text-decoration: none; font-family: 'Inter',sans-serif; }
.art-BlockContent-body a:visited { color: #4338ca; text-decoration: none; font-family: 'Inter',sans-serif; }
.art-BlockContent-body a:hover   { color: #1e40af; text-decoration: underline; font-family: 'Inter',sans-serif; }

.art-BlockContent-body ul { list-style: none; margin: 0; padding: 0; color: #374151; }
.art-BlockContent-body li {
    padding: 3px 0 3px 12px;
    position: relative;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    background-image: none;
    line-height: 1.4;
}
.art-BlockContent-body li::before {
    content: '›'; position: absolute; left: 0;
    color: #1d4ed8; font-weight: bold;
}

/* ===== Post ===== */
.art-Post {
    position: relative;
    margin: 0 0 10px 0;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.08);
    overflow: hidden;
}

.art-Post-body {
    position: relative;
    padding: 16px;
    font-family: 'Inter', sans-serif;
}

/* Alte Post-Eckenbilder ausblenden */
.art-Post-tr, .art-Post-tl, .art-Post-br, .art-Post-bl,
.art-Post-tc, .art-Post-bc, .art-Post-cr, .art-Post-cl,
.art-Post-cc { display: none; }

.art-PostHeader,
.art-PostHeader a, .art-PostHeader a:link,
.art-PostHeader a:visited, .art-PostHeader a:hover {
    font-family: 'Inter', sans-serif;
    font-size: 19px; font-weight: 600;
    color: #1f2937; text-decoration: none;
    margin: 0 0 8px 0;
}

.art-PostContent, .art-PostContent p {
    font-family: 'Inter', sans-serif;
    font-size: 14px; color: #374151;
    line-height: 1.6; text-align: left;
}
.art-PostContent p { margin: 0.5em 0; }

.art-PostMetadataHeader {
    padding: 6px 14px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    font-size: 12px; color: #6b7280;
    font-family: 'Inter', sans-serif;
}

/* ===== Footer ===== */
.art-Footer {
    position: relative;
    width: 100% !important;
    margin: 10px auto 0 auto;
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -2px 10px rgba(29,78,216,0.12);
    overflow: hidden;
}

.art-Footer .art-Footer-background { display: none; }

.art-Footer .art-Footer-inner {
    padding: 14px 20px;
    text-align: center;
    height: auto;
}

.art-Footer .art-Footer-text,
.art-Footer .art-Footer-text p {
    color: rgba(255,255,255,0.75);
    font-size: 12px; margin: 0;
    font-family: 'Inter', sans-serif;
    display: inline;
}

.art-Footer .art-Footer-text a:link,
.art-Footer .art-Footer-text a:visited { color: rgba(255,255,255,0.85); text-decoration: none; }
.art-Footer .art-Footer-text a:hover   { color: #ffffff; text-decoration: underline; }

/* ===== Globale Links & Text ===== */
a { font-family: 'Inter',sans-serif; text-decoration: none; color: #1d4ed8; }
a:link    { color: #1d4ed8; }
a:visited { color: #4338ca; }
a:hover   { color: #1e40af; text-decoration: underline; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px; color: #1f2937;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600; color: #1f2937;
}
h1 { font-size: 24px; }
h2 { font-size: 19px; }
h3 { font-size: 16px; }
h4 { font-size: 14px; font-weight: 600; }
h5, h6 { font-size: 13px; font-weight: 600; }

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
h1 a:link, h2 a:link, h3 a:link,
h1 a:visited, h2 a:visited, h3 a:visited,
h1 a:hover, h2 a:hover, h3 a:hover {
    font-family: 'Inter', sans-serif;
    color: #1d4ed8; text-decoration: none;
}

input, select, textarea {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 5px 9px;
    background: #fff;
    color: #1f2937;
    outline: none;
    transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus {
    border-color: #1d4ed8;
    box-shadow: 0 0 0 2px rgba(29,78,216,0.1);
}

form { padding: 0 !important; margin: 0 !important; }
table { border-collapse: collapse; }
table.position { position: relative; width: 100%; table-layout: fixed; }
a img { border: 0; }

.cleared {
    float: none; clear: both;
    margin: 0; padding: 0; border: none; font-size: 1px;
}

/* ===== Buttons ===== */
input[type="submit"], input[type="button"], button {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff !important;
    border: none; border-radius: 6px;
    font-size: 13px; font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    text-decoration: none !important;
    transition: background 0.15s, box-shadow 0.15s;
    box-shadow: 0 2px 5px rgba(29,78,216,0.2);
    height: auto; white-space: nowrap;
}
input[type="submit"]:hover, input[type="button"]:hover, button:hover {
    background: linear-gradient(135deg, #1e40af, #1d4ed8);
    box-shadow: 0 3px 10px rgba(29,78,216,0.3);
}

.art-button-wrapper {
    display: inline-block; position: relative;
    height: auto; overflow: visible;
}
.art-button-wrapper .l, .art-button-wrapper .r { display: none; }
.art-button-wrapper .art-button {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff !important;
    border: none; border-radius: 6px;
    font-size: 13px; font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer; text-decoration: none !important;
    height: auto; line-height: normal;
    white-space: nowrap;
}

/* ===== Tabellen ===== */
.art-article table, table.art-article {
    border-collapse: collapse; margin: 4px; width: auto;
}
.art-article th, .art-article td {
    padding: 6px 10px;
    border: 1px solid #e5e7eb;
    vertical-align: top; text-align: left;
    font-family: 'Inter', sans-serif; font-size: 13px;
}
.art-article th {
    background: #f3f4f6; font-weight: 600; text-align: center;
}
.art-article img, img.art-article {
    border: 1px solid #e5e7eb; border-radius: 4px;
    margin: 6px; max-width: 100%;
}

/* ===== Standard CMS Klassen ===== */
.standard {
    font-family: 'Inter', sans-serif; font-size: 13px; color: #374151;
}
.standard a { color: #1d4ed8; }

table.standard td {
    padding: 4px 8px;
    border-bottom: 1px solid #f3f4f6;
    font-family: 'Inter', sans-serif; font-size: 13px;
}
table.standard tr:hover td { background: #f9fafb; }

.heads {
    font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
    background: linear-gradient(90deg, #1d4ed8, #2563eb);
    color: #ffffff; padding: 7px 12px; border-radius: 8px 8px 0 0;
}

.txtonline  { color: #16a34a !important; font-weight: 500; }
.txtoffline { color: #9ca3af !important; font-style: italic; }
.cmsboxlink { color: #1d4ed8 !important; font-weight: 600; }
.txtlink    { color: #1d4ed8 !important; }

/* Content divs */
#content1 {
    float: left; margin: 0; width: 100%; padding: 10px;
    text-align: left; background: #ffffff; border-radius: 8px;
    font-family: 'Inter',sans-serif; font-size: 13px;
    background-color: #eff6ff;
}

#content2 {
    float: right; margin: 0; padding: 8px;
    text-align: left;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'Inter',sans-serif; font-size: 13px;
}

#show_post {
    font-family: 'Inter',sans-serif; font-size: 13px;
    display: block; overflow-x: auto; overflow-y: hidden;
}

/* Blockquote */
blockquote,
blockquote p,
.art-PostContent blockquote p {
    color: #1e40af;
    font-family: 'Inter',sans-serif;
    font-style: italic; font-weight: normal; text-align: left;
}
blockquote, .art-PostContent blockquote {
    margin: 10px 10px 10px 20px;
    padding: 10px 16px;
    background: #eff6ff;
    border-left: 4px solid #1d4ed8;
    border-radius: 0 6px 6px 0;
    background-image: none;
}

pre {
    overflow: auto; padding: 10px;
    background: #f8fafc;
    border-radius: 6px; border: 1px solid #e5e7eb; font-size: 13px;
}

ol, ul {
    color: #374151;
    margin: 0.5em 0 0.5em 1.5em; padding: 0;
    font-family: 'Inter',sans-serif; font-size: 13px;
}
li { margin: 0.2em 0; padding: 0; }
ul { list-style-type: disc; }
ol { list-style-position: inside; }

/* art-page */
#art-page-background-gradient,
#art-page-background-simple-gradient,
#art-page-background-glare { display: none; }
