/* Site layout and look. One file for all designs: html[data-theme] (the chosen design)
   only sets the colours below. Additions for the Twig templates are in app.css. */

:root,
[data-theme="blue"] {
    --page-bg: #164B6F;
    --header-color: #fff;
    --footer-color: #F0F0F0;
    --footer-link-hover: #fff;
    --navi-link: #fff;
    --navi-link-hover: #000;
}
[data-theme="gray"] {
    --page-bg: #2E2E2E;
    --footer-color: #fff;
    --footer-link-hover: #DDD;
}
[data-theme="green"] {
    --page-bg: #080;
    --footer-color: rgb(240, 240, 240);
}
[data-theme="orange"] {
    --page-bg: #F37819;
    --footer-color: #fff;
}
/* Pink and red had no own navigation colours: the general link colours */
[data-theme="pink"] {
    --page-bg: #FF4AA5;
    --footer-color: #C7C7C7;
    --navi-link: #d8d8d8;
    --navi-link-hover: #fff;
}
[data-theme="red"] {
    --page-bg: #F33030;
    --footer-color: #C7C7C7;
    --navi-link: #d8d8d8;
    --navi-link-hover: #fff;
}

body {
    background: var(--page-bg);
    font-family: Verdana, Arial, Georgia;
    font-size: 12px;
    color: #000;
    /* background-image: url(images/background.png); #1a314b, #38556C*/
    background-repeat: repeat-x;
	background-attachment: fixed;
	padding-top: 20px;
}

th{
	font-size: x-small;
}
#main {
    width: 1000px;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}
#header {
    position: relative;
    height: 100px;
    color: var(--header-color);
    padding-top: 15px;
    font-family: Georgia;
}
#header > * {
    position: relative;     /* above the bar (::before) */
}
/* The bar (shared with the navigation, see #navi-wrapper::before) covers the top 100px, as header.png did */
#header::before {
    inset: 1px 1px 17px;
    background: linear-gradient(#fcfcfc, #b1b1b1);
    /* header.png had no faint outermost ring */
    box-shadow: 0 0 0 1px rgba(153, 153, 153, .73), inset 0 0 3px 1px #999, inset 0 1px 2px #999;
}
/* Speech bubble, cut out of the old header.png */
#header::after {
    content: "";
    position: absolute;
    left: 814px;
    top: 7px;
    width: 138px;
    height: 80px;
    background: url(images/bubble.png);
}
#header h1 {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 15px;
    font-size: 22px;
}
#header p {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 15px;
    margin-right: 15px;
}
#content {
    width: 700px;
    float: left;
}
/* Content boxes: the soft grey edge with rounded corners and the inner shadow, as the old post_*.png images
   drew them. Head and foot were 20px images, hence the vertical padding. */
.post {
    margin: 15px 2px 0;
    padding: 18px 6px;
    background: #fff;
    border: 2px solid rgba(204, 204, 204, .85);
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgba(204, 204, 204, .3), inset 0 0 4px 1px rgba(200, 200, 200, .8);
}
.post h3{
    margin-top: 0px;
    margin-bottom: 0px;
}
.post p{
    margin-top: 0px;
    margin-bottom: 0px;
}
.warning {
    margin-top: 15px;
}
.warning h3{
    margin-top: 0px;
    margin-bottom: 0px;
}
.warning p{
    margin-top: 0px;
    margin-bottom: 0px;
}
/* Warning (maintenance, no logins counted yet): translucent hatched box with the warning sign */
.warning_content {
    margin: 0 2px;
    height: 80px;
    padding: 8px 6px 8px 116px;
    background: url(images/warning.png) no-repeat 12px 15px,
        repeating-linear-gradient(45deg, rgba(153, 102, 102, .8) 0 2.83px, rgba(168, 125, 125, .8) 2.83px 3.54px);
    border: 2px solid rgba(102, 102, 102, .65);
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgba(102, 102, 102, .17), inset 0 0 3px rgba(102, 102, 102, .8);
}
.time {
    font-size: 11px;
    font-style: italic;
    color: #898989;
    margin-top: 5px;
}
#sidebar {
    margin-top: 15px;
    color: #fff;
    padding-left: 700px;
}
#sidebar h3 {
    margin-top: 0px;
    margin-bottom: 0px;
}
#sidebar p {
    margin-top: 0px;
    margin-bottom: 0px;
}
/* Sidebar box: like .post, but dark; the old images were 290px wide at the right of the 300px column */
.sidebar_content {
    margin: 0 2px 0 12px;
    padding: 17px 6px 17px 11px;
    background: #333;
    border: 2px solid rgba(204, 204, 204, .85);
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgba(204, 204, 204, .3), inset 0 0 4px 2px rgba(200, 200, 200, .75);
}
#navi {
    position: relative;     /* above the bar drawn by #navi-wrapper::before */
    width: 780px;
    margin: auto;
    margin-top: 0px;
    padding-top: 5px;
}

/* Header and navigation bar, as header.png and navi.png drew them: an opaque grey bar (gradient, border, inner
   shading) that is translucent as a whole, so the theme colour shows through evenly. Hence a pseudo-element
   with opacity instead of translucent colours, which would add up at the edges and turn them grey. */
#navi-wrapper {
    position: relative;
    height: 45px;
}
#header::before,
#navi-wrapper::before {
    content: "";
    position: absolute;
    border: 1px solid #999;
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgba(153, 153, 153, .73), 0 0 0 2px rgba(153, 153, 153, .31),
        inset 0 0 3px 1px #999, inset 0 1px 2px #999;
    opacity: .51;
}
#navi-wrapper::before {
    inset: 2px 2px 1px;
    background: linear-gradient(#f7f7f7, #b5b5b5);
}
a {
    color: #d8d8d8;
    font-weight: bold;
    text-decoration: none;
}
a:hover {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
}
#content a {
    color: #898989;
    font-weight: bold;
    text-decoration: none;
}
#content a:hover {
    color: #000;
    font-weight: bold;
    text-decoration: underline;
}
/* Navigation: items share the width equally, however many there are */
#navi ul {
    display: flex;
}
li.navi {
    flex: 1 1 0;
    list-style-type: none;
}

.online{
	color: #060;
	font-weight: bold;
}
/* LOGIN */
.login {
    width: 100%
}
.input_login {
    width: 97%
}
label {
    font-weight: bold;
    cursor: pointer;
}

.error {
    padding-left: 100px;
    padding-right: 5px;
    height: 80px;
    background: url(images/error.png) no-repeat top left;
}
.error h3 {
    border-bottom: 2px solid #f00;
}

.notice {
    padding-left: 100px;
    padding-right: 5px;
    height: 80px;
    background: url(images/notice.png) no-repeat top left;
}
.notice h3 {
    border-bottom: 2px solid #d78328;
}
.sites {
    text-align: center;
}
a.sites {
    color: #000;
}
a.sites:hover {
    color: #898989;
    text-decoration: underline;
}
.error_text {
    font-weight: bold;
    color: #FF4242;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 15px;
}
.ok_text {
    font-weight: bold;
    color: #00AA00;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 15px;
}
.facts {
	margin-top: 10px;
    margin-bottom: 10px;
    position: static;
}
.left {
    text-align: right;
}
.right {
    text-align: right;
}
.facts_table{
	text-align:right;
}
.tab1 {
    background-color: #fff;
    margin-top: 3px;
}
.tab2 {
    background-color: #F8EEB5;
    margin-top: 3px;
}
.names {
    width: 220px;
    padding: 2px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.inputs {
    width: 200px;
    padding: 2px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.inputs input {
    width: 195px;
}
.cb {
	width:10px;
}
.description {
    font-size: 10px;
    color: #898989;
    margin-top: 5px;
    margin-bottom: 5px;
}
.hover:hover {
    background-color: #B0CBF0;
}
.hover:hover .description {
    color: #080808;
}
.pflicht {
    background-color: #7AF889;
}
.pflicht .description {
    color: #080808;
}
.ucp {
	width:100%;
}

.scripts {
    width: 98%;
    height: 55px;
}
/*Stats*/
.reg_graph {
    background-image:url('images/rot.png');
	text-align:left
}
.guest_graph {
    background-image:url('images/gruen.png');
	text-align:right
}
.no_banner {
    width: 468px;
    height: 60px;
	text-align: center;
	line-height: 55px;
    background-image: url('images/no_banner.png');
    margin:0px;
}
.top_no_banner {
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #999999;
}
img a {
    border: 0px solid #fff;
    text-decoration: none;
}
img a:hover {
    border: 0px solid #fff;
    text-decoration: none;
}

.footer {
    text-align: center;
    clear: left;
    padding-top: 10px;
    color: var(--footer-color);
    font-weight: bold;
}
.footer a {
    color: var(--footer-color);
    text-decoration: none;
}
.footer a:hover {
    color: var(--footer-link-hover);
    text-decoration: underline;
}
.navi a {
    color: var(--navi-link);
}
.navi a:hover {
    color: var(--navi-link-hover);
}
