@CHARSET "UTF-8";

html {
	background-image: url("../img/bg_pattern.png");
}

/* basic element definitions */
p {
	margin: 0 0 .5em 0;
}

h1 {
	font-size: 28px;
}

h2 {
	font-size: 14px;
	margin: 0;
}

ul {
	margin: 0;
	padding: 0;
}

ul li {
	list-style: inside none;
	line-height: 1.4em;
}

p,li {
	font-size: 14px;
}

body.layerOpen {
	overflow: hidden;
}

body .darkshades {
	display: none;
}

body.layerOpen .darkshades {
	display: block;
	width: 200%;
	height: 400%;
	position: absolute;
	background-color: #555;
	opacity: .9;
	top: 0;
	left: 0;
}

/* main-container */
#container {
	background-image: url("../img/content_top.png");
	background-repeat: no-repeat;
	background-position: 0 234px;
}

header {
	height: 244px;
	width: 100%;
	background-image: url("../img/header_gradient.png");
	background-repeat: repeat-x;
}

.content {
	padding: 50px 0 0 122px;
	margin: -18px 50px 170px 0;
}

.modal {
	margin-left: 50%;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	position: absolute;
}

.modal .layer {
	margin-top: 40px;
	margin-left: -410px;
	padding: 5px;
	width: 800px;
	height: 507px;
	background-color: #000;
	border: 2px solid #666;
	border-radius: 5px;
	box-shadow: 0 0 25px #000;
	color: #aaa;
}

footer {
	height: 80px;
	width: 100%;
	background: #fefefe url("../img/footer_top.png") repeat-x top;
	position: fixed;
	bottom: 0;
	padding: 12px 0 0 92px;
}

footer .social {
	width: 30px;
	float: left;
}

footer .contact {
	float: left;
}

footer .affiliate {
	float: right;
	padding-top: 12px;
	width: 190px;
}

/* Container-Specific */
header h1,header h2 {
	margin: 0;
	overflow: hidden;
	text-indent: -1300px;
}

header h1 {
	width: 100%;
	height: 236px;
	background-image: url("../img/header_h1.png");
	background-repeat: no-repeat;
}

.content h2 {
	margin-top: 2.5em;
	text-shadow: 1px 1px #fff;
}

.content ul li {
	background-repeat: no-repeat;
	padding-top: 3px;
	border-bottom: 1px solid #e0e0e0;
}

.content ul li:hover {
	background-color: #f0f0f0;
	border-bottom: 1px solid #fff;
}

.content a.noInfo:hover {
	color: #555;
}

.content a.moreInfo {
	
}

.content div.extInfo {
	display: inline;
	color: #888;
	font-style: italic;
}

footer a.fs {
	border: none;
	background-image: url("../img/mainsprite.png");
	display: block;
	overflow: hidden;
	text-indent: -400px;
	height: 20px;
	width: 20px;
	margin-bottom: .25em;
}

footer a.linked {
	background-position: 0px -22px;
}

footer a.komplex3 {
	background-position: -65px 0;
	width: 90px;
	height: 50px;
}

.modal .layer h2 {
	color: #ccc;
	margin: .5em;
	text-align: center;
}

.modal .layer #innercontent {
	width: 800px;
	height: 450px;
}

.modal .layer a {
	border: none;
	color: #f2bc44;
}

.modal .layer .close {
	border: none;
	background-image: url("../img/mainsprite.png");
	display: block;
	overflow: hidden;
	text-indent: -400px;
	height: 30px;
	width: 30px;
	background-position: 0px -50px;
	position: absolute;
	top: 26px;
	left: 389px;
	opacity: .8;
}

.modal .layer .close:hover {
	opacity: 1;
}

.modal .layer .caption {
	margin-top: 1em;
	font-style: italic;
	color: #888;
	font-size: .8em;
}

.modal .layer .caption span {
	padding: 0 .5em;
}

.modal .layer .caption span.url {
	float: right;
}


/* =============================================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-device-width: 480px) {
/* iPhone 3G */
	header {
		margin-top: -110px;
	}
	
	.content {
		padding: 0px 0 0 35px;
		margin: -18px 20px 170px 0;
	}
	footer {
		padding-left: 5px;
	}
	
	footer .affiliate {
		display: none;
	}
	
	.modal .layer {
		margin-top: 10px;
		margin-left: -242px;
		padding: 2px;
		width: 484px;
		height: 324px;
}
}

@media only screen and (-webkit-min-device-pixel-ratio: 2) {
    /* Put your iPhone 4g styles in here */ 
}

@media only screen and (device-width: 768px) {
    /* Put CSS for general iPad layouts in here */
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
    /* Put CSS for iPad PORTRAIT layouts in here */
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
    /* Put CSS for iPad LANDSCAPE layouts in here */
}