<?php header('Content-Type: text/css'); header('cache-control: private, min-fresh=1209600'); header('Access-Control-Allow-Origin: *'); require('functions.php'); ?>
input[type=checkbox] {
background-color: white;
}
body {
<?php
$config = loadConfig();

if($config[6]=="false") {
echo 'background-color: '.$config[7].';
background-size: 100%;';
}
if($config[6]=="true") {
echo 'background-image: url("background.jpg");
background-size:100%;';
}
if($config[6]=="true" AND $config[7]=="blue") {
echo 'a {
color: red;
}';
}
?>

}
h1, h2, p, table, form, .text, .sidebar {
margin-left: 10px;
margin-right: 10px;
<?php if(!ismobile()) { ?>
border-radius: 30px;
padding-left: 10px;
padding-right: 10px;
padding-top: 25px;
padding-bottom: 25px;
text-align: center !important;
margin-top: 20px;
margin-bottom:20px;
<?php } else { ?>
text-align: left;
border-radius:20px;
padding-left:30px;
padding-right:30px;
padding-top: 15px;
padding-bottom: 15px;
max-width:100%;
overflow:auto;
<?php } ?>
background-color: white;
box-shadow: 9px 10px 29px 4px rgba(0,0,0,0.68);
}
form {
line-height: 1.5;
}
table {
width: 98%;
}
canvas {
max-width:100%;
margin:10px;
}
<?php
if($config[10]=="true") {
echo '
canvas:hover {
width: 450px;
background-color: white;
opacity: 1.0;
}
';
}
?>
body {
font-family: Arial;
text-align: center;
<?php if($_GET['site']=="view") { echo 'margin-left: 250px;'; }
if(!ismobile()) { echo 'margin-top: 135px;'; } if(ismobile()) { echo 'margin-top: 100px;'; } ?>
}
h1, h2{
text-align: center;
}
h2 {
font-size: 17pt;
}
h3 {
margin-top: 30px !important;
margin-bottom: 20px !important;
}
.aufrufe table {
margin-top: 10px;
margin-bottom: 10px;
}
form {
line-height: 2;
}
.top {
font-weight: 2000;
}
.aufrufe {
width: 100%;
height: 300px;
overflow: scroll;
}
thead {
font-weight: bold;
}
.min_canvas {
width: 50px;
height: 15px;
margin-left: 4px;
}
/* Thanks for this design Noel Aeby! */
    input[type=text],input[type=password],input[type=file] {
    border-top: 1px solid grey;
    border-left: 1px solid grey;
    border-right: 1px solid grey;
    border-bottom: 2px solid #6D6B6B;
    font-family: Arial;
    }
    input[type=text]:hover,input[type=password]:hover {
    border-top: 1px solid grey;
    border-left: 1px solid grey;
    border-right: 1px solid grey;
    border-bottom: 2px solid black;
    font-family: Arial;
    }
    input[type=button],input[type=submit] {
    padding-left: 8px;
    padding-right: 8px;
    border-style: dotted;
    background-color: white;
    border-radius: 2em 2em 2em 2em;
    border: 2px solid grey;
    border-style: inset;
    }
    input[type=button]:hover,input[type=submit]:hover {
    padding-left: 8px;
    padding-right: 8px;
    background-color: white;
    border-radius: 2em 2em 2em 2em;
    border: 2px solid black;
    border-style: inset;
    }
    input[type=button]:focus,input[type=submit]:focus {
    padding-left: 8px;
    padding-right: 8px;
    background-color: white;
    border-radius: 2em 2em 2em 2em;
    border: 2px solid black;
    border-style: outset;
    }
#nav {
margin:0px;
background-color: black;
position: fixed;
top: 0px;
left: 0px;
right: 0px;
width: 100%;
margin-bottom: 130px;
margin-left: 0px;
margin-right: 0px;
color: white;
text-align: right;
border-radius: 0px;
padding: 8px 10px 8px 10px;
box-shadow: 9px 10px 29px 4px rgba(0,0,0,0.4);
z-index: 2;
}
#nav a {
color: grey;
padding: 8px 10px 8px 10px;
}
#nav a:hover {
color: grey;
background-color: rgba(1,1,253,0.4);
border-radius: 20px 20px 20px 20px;
padding: 100px 10px 55px 10px;
}
#nav span {
text-align: right;
color: white;
}
#nav img {
margin-left: 20px;
height: 75px;
} 
#nav .act_site {
background-color: rgba(255,127,0,0.6);
border-radius: 20px 20px 20px 20px;
padding: 100px 10px 55px 10px;
}
#nav .act_site:hover {
background-color: rgba(255,0,0,0.6);
}
.aufrufe span {
    position: relative;
    left: 45%;
    font-family: Helvetia;
    font-size: 25pt;
    font-weight: bold;
    color: black;
}
.aufrufe span:hover {
color: red;
}
h5 {
margin-bottom: 0px;
}
body {
	animation: fadein 0.4s;
}

@keyframes fadein {
	0% {
		margin-left: -100px;
	}
	90% {
<?php if($_GET['site']=="view") { echo 'margin-left: 200px;'; } else { echo 'margin-left: -5px;'; } ?>
	}
	100% {
<?php if($_GET['site']=="view") { echo 'margin-left: 250px;'; } else { echo 'margin-left: 0px;'; } ?>
	}
}
#popup h1, h2, h3 {
box-shadow:none;margin-top:0px;margin-bottom:0px;
}
#popup * {
max-width:100%;
}
.sidebar {
line-height: 1.5;
position: fixed;
top: 200px;
left: -10px;
width: 220px;
border-radius: 10px 10px 10px 10px;
font-size: 14pt;
max-height: 400px;
overflow: auto;
color: #434343;
}
.sidebar a {
color: black;
font-size: 12pt;
}
.sidebar a:hover {
color: blue;
}
.sidebar details span a {
margin-left: 25px;
}
summary {
cursor: pointer;
}
summary:hover {
color: black;
}

.notice {
padding:15px;
background-size: 100%;
text-align:left;
margin-left: 10px;
margin-right: 10px;
margin-bottom:12px;
padding-top: 35px;
padding-bottom: 35px;
padding-left: 50px;
padding-right: 10px;
<?php if(!ismobile()) { ?>
border-radius: 100px;
<?php } else { ?>
border-radius:20px;
<?php } ?>
background-color: white;
box-shadow: 9px 10px 29px 4px rgba(0,0,0,0.68);
}
.notice .from {
font-size:15pt;
/*color:grey;*/
} 
.notice .time {
font-size:7pt;
color:grey;
}
.notice .content {
font-size:12pt;
}
.notice .comment {
margin-top:10px;
margin-bottom:-18px;
padding-left: 25px;
}
.notice .commenttime {
font-size: 7pt;
color:grey;
}
.notice .comment input[type=radio] {
margin-left: 10px;
}
textarea {
font-family: Arial;
font-size: 10pt;
}
.commentedby {
font-size:12pt;
}
.new_notice {
animation: fadein 0.5s;
height: auto;
display:none;
}
@keyframes fadein {
0% {
opacity: 0;
height:0px;
}
100% {
height:90px;

}
}
@keyframes fadeout {
0% {
height:90;
opacity:1;
}
100% {
height:0px;
opacity: 0;
}
}
h2 {
margin-top: 20px;
margin-bottom: 20px;
}
#footer {
background-color: rgba(0,0,0,1);
text-align:left;
color:white;
position:absolute;
left:0px;
right:0px;
padding-bottom:20px;
padding-left:25px;
padding-right:25px;
margin-top:25px;
<?php if(!ismobile()) { ?>
padding-top:30px;
padding-bottom:30px;
margin-top:40px;
line-height: 1.5;
<?php } ?>
box-shadow: 9px 10px 29px 4px rgba(0,0,0,0.4);
z-index:-1;
}
#footer img {
<?php if(ismobile()) { ?>
width:100%;
<?php } else { ?>
width:50%;
float:right;
<?php } ?>
margin-bottom:10px;
}
.foolink {
margin-left:20px;
color: white;
}
svg {
margin-top:20px;
margin-bottom:20px;
}

#contextmenu {
display: none; background-color: white; position: absolute; width: 200px; box-shadow: 9px 10px 23px -3px rgba(54,53,54,1); padding: 10px 10px 10px 10px;
}
#contextmenu a {
color: black;
text-decoration: none;
padding-top: 0px;
padding-bottom: 0px;
}
#contextmenu hr {
padding-top: 0px;
padding-bottom: 0px;
color: rgba(0,0,0,0.2);
}
#popup {
display:none;position:fixed !important;top:100px;background-color:white;box-shadow: 10px 10px 12px -8px rgba(0,0,0,0.75);border:1px solid grey;animation: zoom_in 0.4s;
}
@keyframes zoom_in {
0% {
transform: scale(0);
}
100% {
transform: scale(1);
}
}
.facts td:first-child {
font-weight:bold;
padding-left:40px;
}
.facts td {
text-align: left;
}
.facts {
border-radius: 40px;
}
.vergleich thead td {
border-bottom: 1px solid black;
background-color: #DFDEDE;
height: 40px;
font-size: 15pt;
}
.vergleich thead td:first-child {
border-radius: 20px 0px 0px 0px;
}
.vergleich thead td:last-child {
border-radius: 0px 20px 0px 0px;
}
.hiddentable {
margin:0px;
box-shadow:none;
}
<?php if($config[9]=='true') {
echo 'canvas:hover, svg:hover {
transform: scale(1.5);
}';
}
?>
.nolink:link {
font-size:inherit;
color:inherit;
text-decoration:inherit;
}
* {
max-width:100%;
}
@media only screen and (max-width: 1024px) and (min-width: 601px) {
	.unilateral {
		width: 40% !important;
		margin:1%;
	}
}
@media only screen and (max-width: 600px) {
.aufrufe {
width:100%;
}
.unilateral {
	width: 80% !important;
	float: none !important;
	margin-top: 20px;
	margin-bottom: 20px;
}
.unilateral * {
	width: 100% !important;
	max-width:100% !important;
}
}
@media only screen and (min-width: 1024px) {
.aufrufe {
width:47%;
float:left;
}
.unilateral {
	width:46%;
}
}
canvas, svg {
	max-width:100%;
}