body {
    margin: 0;
    padding: 0;
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
	cursor: default;
    font: 14px "Open Sans", /*Calibri,*/ sans-serif;
	/*font-size-adjust: 0.53;*/  /*Calibri 0.475*/

	background: url("images/background.png") #9d9a93;
/*	background-image: linear-gradient(-45deg,
		transparent 15%,
		rgba(0, 0, 0, 0.05) 15%,
		rgba(0, 0, 0, 0.05) 50%,
		transparent 50%,
		transparent 65%,
		rgba(0, 0, 0, 0.05) 65%);
	background-size: 8px 8px;*/
}

p {
    margin: 0.5em 0;
}

a {
    text-decoration: none;
}

#wrapper-body,
#wrapper-main {
	width: 350px;
	margin: auto;
}

.sidebar-one #wrapper-body,
.sidebar-left #wrapper-left {
	width: 577px; /*350 + 200 + 25 + 2*/;
}

.sidebar-two #wrapper-body {
	width: 804px; /*350 + 200+200 + 25+25 + 2+2*/;
}

#wrapper-left {
	float: left;
}

#wrapper-main {
	float: right;
}

.main {
    min-height: 150px;
    background: white;
    position: relative;
    margin: 100px auto 0;
    border: 1px solid #999999;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.main h1 {
    margin: 0;
    top: -27px;
    right: 20px;
    width: 193px;
    height: 26px;
    position: absolute;
    background: url("images/logo.png") no-repeat;
}
.main h1 span {
    display: none;
}

.section {
    width: 100%;
    /*overflow: hidden;*/
    border-bottom: 1px dotted #999999;
}
.section:after {
	clear: both;
	content: "";
	display: block;
}
.section:last-child {
    border-bottom: none;
}

.section h2 {
	margin: 0;
    font-size: 32px;
    font-weight: bold;
    white-space: nowrap;
    letter-spacing: -0.05em;
}

.section h2 a {
	display: block;
    color: #a7a49e;
    background-color: #f7f7f7;
	background-position: top center;
}

.section:hover h2 a,
.section h2 a:focus {
    color: white;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	background: url("images/section.png") no-repeat top right #f48a4b /*#f36f20*/;
}

.section h2 img {
	z-index: 1;
    float: left;
    margin: 8px;
	max-width: 75px;	/* scaled by 1.6 = 120px */
	max-height: 75px;
	position: relative;
    border: 3px solid white;
    background-color: #666666;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.4), -15px -10px 30px rgba(0, 0, 0, 0.5) inset;

	/* grayscale */
	-webkit-filter: grayscale(100%);
	filter: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxmaWx0ZXIgaWQ9ImRlc2F0dXJhdGUiPjxmZUNvbG9yTWF0cml4IHR5cGU9InNhdHVyYXRlIiB2YWx1ZXM9IjAiLz48L2ZpbHRlcj48L3N2Zz4=#desaturate");
	filter: grayscale(100%);

	transform: rotate(0deg);
}

.section:hover h2 img,
.section h2 a:focus img {
    background-color: #f48a4b /*#f36f20*/;

	/* grayscale */
	-webkit-filter: none;
	filter: inherit;
}

.section h2 span {
	display: block;
    padding: 0 10px;
	overflow: hidden;
	/*text-overflow: ellipsis;*/
}

.section h2 span:before,
.section h2 span:after {
    color: #ff4700;
	display: inline-block;
	-ms-transform: scale(0.5);
	-webkit-transform: scale(0.5);
	transform: scale(0.5);
}

.section h2 span:before {
    content: "\203a" /*"\2192"*/ /*"→"*/;
	margin-right: 0.1em;
}
.section:nth-of-type(even) h2 span:before {
	content: none;
}
.section:nth-of-type(even) h2 span:after {
    content: "\2039" /*"\2192"*/ /*"→"*/;
	margin-left: 0.1em;
	margin-right: 0;
}

.section:hover h2 span:before,
.section h2 a:focus span:before {
    color: white;
	-ms-transform: scale(1.25) rotate(25deg);
	-webkit-transform: scale(1.25) rotate(25deg);
	transform: scale(1.25) rotate(25deg);
}
.section:hover:nth-of-type(even) h2 span:after,
.section h2 a:focus:nth-of-type(even) span:after {
    color: white;
	-ms-transform: scale(1.25) rotate(-15deg);
	-webkit-transform: scale(1.25) rotate(-15deg);
	transform: scale(1.25) rotate(-15deg);
}

.section:hover h2 img,
.section h2 a:focus img {
	-ms-transform: rotate(-5deg) translate(-30%, -30%) scale(1.6);
	-webkit-transform: rotate(-5deg) translate(-30%, -30%) scale(1.6);
	transform: rotate(-5deg) translate(-30%, -30%) scale(1.6);
}

.section:hover:nth-of-type(even) h2 img,
.section:nth-of-type(even) h2 a:focus img {
	-ms-transform: rotate(5deg) translate(30%, -30%) scale(1.6);
	-webkit-transform: rotate(5deg) translate(30%, -30%) scale(1.6);
	transform: rotate(5deg) translate(30%, -30%) scale(1.6);
}

.section:nth-of-type(even) h2 {
    text-align: right;
}

.section:nth-of-type(even) h2 img {
    float: right;
}

.section:hover:nth-of-type(even) h2 a {
	background-position: top left;
}

.section h2 a,
.section h2 img,
.section h2 span:before,
.section h2 span:after {
	transition: all 0.3s ease;
}
.section h2 span:before,
.section h2 span:after {
	transition: transform 0.3s ease 0.3s;
}

.section .content {
    padding: 11px;
    border-top: 1px dashed #d5d5d5;
}

.section .content hr {
    border: none;
    margin: 0.5em -10px;
    border-bottom: 1px dotted #999999;
}

.footer {
    margin: 5px auto 50px;
}

.footer .knirps {
    float: left;
}

.copyright {
	margin-top: 0;
    color: #595755;
    text-align: right;
	text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.35);
}

::selection {
	background: rgba(0, 0, 0, 0.2);
}

::-moz-selection {
	background: rgba(0, 0, 0, 0.2);
}

.section .sexy {
	background-repeat: no-repeat;
	background-image: url("images/sexy.png");
	transition: background-position 0.2s  steps(3) 1s, transform 0.3s ease;
	-webkit-transition: -webkit-transform 0.3s ease 0s, background-position 0.2s steps(3) 1s;
}

.section:hover .sexy,
.section a:focus .sexy {
	background-position: -180px 0;
}

.slim {
	font-weight: 100;
}

.fat {
	font-size: 150%;
	font-weight: 900;
}

dl {
	margin: 0.5em;
}

dt {
	margin-top: 0.5em;
	font-weight: bold;
}

dd {
	margin-left: 1em;
	letter-spacing: -0.15em;
}

.tally del {
	color: #999;
	display: inline-block;
	transform: rotate(-15deg);
	text-decoration: line-through;
	padding-right: 0.5em;
}

.tally del:nth-of-type(4n+1) {
	-ms-transform: rotate(-15deg);
	-webkit-transform: rotate(-15deg);
	transform: rotate(-15deg);
}
.tally del:nth-of-type(4n+2) {
	-ms-transform: rotate(-4deg);
	-webkit-transform: rotate(-4deg);
	transform: rotate(-4deg);
}
.tally del:nth-of-type(4n+3) {
	-ms-transform: rotate(10deg);
	-webkit-transform: rotate(10deg);
	transform: rotate(10deg);
}
.tally del:nth-of-type(4n+4) {
	-ms-transform: rotate(7deg);
	-webkit-transform: rotate(7deg);
	transform: rotate(7deg);
}

.tally:nth-of-type(even) del:nth-of-type(4n+1) {
	-ms-transform: rotate(7deg);
	-webkit-transform: rotate(7deg);
	transform: rotate(7deg);
}
.tally:nth-of-type(even) del:nth-of-type(4n+2) {
	-ms-transform: rotate(10deg);
	-webkit-transform: rotate(10deg);
	transform: rotate(10deg);
}
.tally:nth-of-type(even) del:nth-of-type(4n+3) {
	-ms-transform: rotate(-4deg);
	-webkit-transform: rotate(-4deg);
	transform: rotate(-4deg);
}
.tally:nth-of-type(even) del:nth-of-type(4n+4) {
	-ms-transform: rotate(-15deg);
	-webkit-transform: rotate(-15deg);
	transform: rotate(-15deg);
}

/* Dekoration */
.cube {
	z-index: -1;
	top: -112px;
	left: -185px;
	width: 263px;
	height: 261px;
	position: absolute;
	background: url("images/cube.png") no-repeat;
}

.rainbow {
	color: white;
	/*padding: 20px;*/
	background: url("images/rainbow.png") repeat-x #252525;
	clear: both;

	position: fixed;
	bottom: 0;
	z-index: 1;
	width: 100%;
	max-height: 20px;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
	transition: max-height 2s;
}
.rainbow:hover {
	max-height: 50%;
}
.rainbow > .content {
	padding: 20px;
}

/* Sidebars */
#wrapper-sidebar-left,
#wrapper-sidebar-right {
	width: 200px;
	margin-top: 170px;
	margin-bottom: 50px;
	position: relative;
}

#wrapper-sidebar-left {
	float: left;
	margin-right: 25px;
}

#wrapper-sidebar-right {
	float: right;
	margin-left: 25px;
}

.sidebar {
	width: 200px;
	color: #f7f7f7;
	overflow: hidden;
	text-shadow: 0 0 2px #222;
}

#wrapper-sidebar-left .sidebar {
	border-radius: 10px;
	border: 1px inset black;
	background: #706d68; /* fallback */
	background: rgba(0, 0, 0, 0.25);
	box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.15);
	/*border-color: rgba(0, 0, 0, 0.7) rgba(255, 255, 255, 0.4) rgba(255, 255, 255, 0.5) rgba(0, 0, 0, 0.6);*/
}

#wrapper-sidebar-right .sidebar {
	color: #ddd;
	border: 1px solid #888888;
    background: #444; /* fallback */
	background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);

	/*
	border: 1px inset black;
	background: #706d68; /* fallback * /
	background: rgba(0, 0, 0, 0.25);
	box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.15);
	*/
}

.sidebar h3 {
	margin: 0;
	padding: 0 1em;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-transform: lowercase;
	transition: all 0.2s ease-in-out;
	text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
	background: #3b3937; /* fallback 1 */
	background: rgba(0, 0, 0, 0.5); /* fallback 2 */
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent);
}

.sidebar h3:before {
	color: white;
	opacity: 0.2;
	content: "\203a  ";
}

.sidebar h3 { color: #57858f; } /* fallback */
.sidebar :nth-of-type(8n+1) h3 { color: #57858f; }
.sidebar :nth-of-type(8n+2) h3 { color: #386c74; }
.sidebar :nth-of-type(8n+3) h3 { color: #57834d; }
.sidebar :nth-of-type(8n+4) h3 { color: #858f39; }
.sidebar :nth-of-type(8n+5) h3 { color: #a28f33; }
.sidebar :nth-of-type(8n+6) h3 { color: #a0632d; }
.sidebar :nth-of-type(8n+7) h3 { color: #9a4d70; }
.sidebar :nth-of-type(8n+8) h3 { color: #814a72; }

#wrapper-sidebar-right .sidebar h3 { color: #814a72; } /* fallback */
#wrapper-sidebar-right .sidebar :nth-of-type(8n+1) h3, #wrapper-sidebar-right .sidebar :nth-of-type(8n+1) strong { color: #814a72; }
#wrapper-sidebar-right .sidebar :nth-of-type(8n+2) h3 { color: #9a4d70; }
#wrapper-sidebar-right .sidebar :nth-of-type(8n+3) h3 { color: #a0632d; }
#wrapper-sidebar-right .sidebar :nth-of-type(8n+4) h3 { color: #a28f33; }
#wrapper-sidebar-right .sidebar :nth-of-type(8n+5) h3 { color: #858f39; }
#wrapper-sidebar-right .sidebar :nth-of-type(8n+6) h3 { color: #57834d; }
#wrapper-sidebar-right .sidebar :nth-of-type(8n+7) h3 { color: #386c74; }
#wrapper-sidebar-right .sidebar :nth-of-type(8n+8) h3 { color: #57858f; }

.sidebar :hover h3 {
	padding-left: 1.5em;
}

.sidebar :hover h3:before {
	content: "\bb  ";
}

.sidebar p {
	margin: 0.45em 0.5em;
}

.sidebar small {
	color: #777;
}

.sidebar dt {
	color: #ccc;
}

/* Farben */
.section.news:hover h2 a,
.section.news:hover h2 img,
.section.news h2 a:focus,
.section.news h2 a:focus img {
    background-color: #b3d453 /*#bfd72f*/;
}

.section.info:hover h2 a,
.section.info:hover h2 img,
.section.info h2 a:focus,
.section.info h2 a:focus img {
    background-color: #b23b3b /*#aa2626*/;
}

.section.project:hover h2 a,
.section.project:hover h2 img,
.section.project h2 a:focus,
.section.project h2 a:focus img {
    background-color: #5d728a /*#556b84*/;
}

.section.fact:hover h2 a,
.section.fact:hover h2 img,
.section.fact h2 a:focus,
.section.fact h2 a:focus img {
    background-color: #4d4d4d /*#3c3c3c*/;
}

.section.descht:hover h2 a,
.section.descht:hover h2 img,
.section.descht h2 a:focus,
.section.descht h2 a:focus img {
    background-color: #814a72;
}
