

@import url(http://fonts.googleapis.com/css?family=Raleway:200,300,400,600,800);

html {
}

body {
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
	background-color: #e9ecef;
	margin: 0;
	padding: 0;
}

h1, h2 {
	font-weight: 300;
}

h3, h4, h5, th {
	font-weight: 400;
}

header, #main {
	max-width: 1150px;
	padding-left: 25px;
	padding-right: 25px;
}

header {
	position: relative;
	font-weight: 300;
	margin: 0 auto;
	padding-top: 25px;
	padding-bottom: 100px;
	background-color: white;
}

header:after {
	content: "";
	clear: both;
	display: block;
}

nav {
	position: relative;
	top: 96px;
}

nav ul {
	padding: 0;
	margin: 0;
}

nav ul:after {
	content: "";
	display: block;
	clear: both;
}

nav ul li {
	padding-right: 20px;
	display: block;
	float: left;
	text-transform: uppercase;
	font-size: 15pt;
	height: 36px;
}

nav ul li.active {
	opacity: .5;
}

nav ul li a:link, nav ul li a:visited {
	text-decoration: none;
	color: rgb(82,91,100);
} 

nav ul li a:hover {
	color: #f20b52;
}

nav ul li.fb {
	padding: 0;
}

nav ul li.fb a:link, nav ul li.fb a:visited {
	display: block;
	background-color: rgb(82,91,100);
	border-radius: 4px;
	text-transform: lowercase;
	font-weight: 800;
	height: 21px;
	width: 18px;
	text-align: right;
	padding-right: 4px;
	padding-top: 1px;
	font-size: 22px;
	color: white;
}

nav ul li.fb a:hover {
	background-color: #f20b52;
}

#logo {
	position: relative;
	display: block;
	float: right;
}

#logo img {
	position: relative;
	top: -88px;
}

@media only screen and (min--moz-device-pixel-ratio: 1.5), 
	only screen and (-o-min-device-pixel-ratio: 2/1), 
	only screen and (-webkit-min-device-pixel-ratio: 1.5), 
	only screen and (min-device-pixel-ratio: 1.5), {
	
	#logo img {
		display: none;
	}
	
	#logo::before {
		content: "";
		position: relative;
		top: -88px;
		display: block;
		width: 154px;
		height: 220px;
		background-image: url('http://antje-hamer.com/pmwiki/pub/skins/antjehamer-legacy/_assets/_images/antjehamer-logo@2x.png');
		background-size: 154px 110px;
		background-repeat: no-repeat;
	}
	
}

#main {
	clear: both;
	background-color: white;
	padding-top: 25px;
	padding-bottom: 25px;
	margin: 0 auto;
	overflow-x: hidden;
}

#main h1, #main h2, #main h3, #main h4 {
	color: #f20b52;
	font-weight: 300;
}

#main h1 {
	margin-bottom: 50px;
	margin-top: 75px;
}

#main > h1:first-child {
	margin-top: 0 !important;
}

#main a:link, #main a:visited {
	text-decoration: none;
	/*color: #0080fe;*/
	color: rgb(82,91,100);
}

#main a:hover {
	color: #f20b52;
}

#main a:hover[rel="lightbox_mini"], ul.demo a:hover {
	opacity: .5;
}

#main h1 {
	font-size: 28pt;
}

#main img {
	max-width: 100%;
}

div.image-block {
	position: relative;
	max-width: 100%;
	overflow: hidden;
	text-align: left;
}

div.image-block img {
	display: block;
	position: relative;
	left: 50%;
	margin-left: -575px;
	width: 1150px;
	height: auto;
	max-width: 1000% !important;
}

/*div.imgfloat {
	display: inline;
}*/

div.imgfloat {
	display: block;
	width: 25%;
	float: left;
	padding-right: 3%;
}

div.txtfloatr {
	display: block;
	float: left;
	margin-top: 0;
	padding: 0;
	width: 72%;
}

ul.news {
	display: block;
	float: left;
	list-style: none;
	margin-top: 0;
	padding: 0;
	width: 72%;
	border-top: 1px solid #ddd;
}

ul.news li {
	float: left;
	display: block;
	padding: 20px 0;
	width: 100%;
	border-bottom: 1px solid #ddd;
}

ul.news:after{
	content: "";
	display: block;
	clear: both;
}

ul.demo {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.demo:after {
	content: "";
	display: block;
	clear: both;
}

ul.demo li {
	float: left;
	padding-right: 2px;
	padding-bottom: 40px;
}

ul.demo a {
	display: block;
	overflow: hidden;
	width: 189px;
	height: 115px;
	margin-bottom: -10px;
}

ul.demo a img {
	min-width: 189px;
	min-height: 115px;
}

ul.demo br {
	margin: 0;
}

td {
	font-size: 13px;
	padding: 4px 4px 4px 0;
	vertical-align: top;
}

th {
	font-size: 13px;
	text-transform: uppercase;
}

.PageActions {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
}

.PageActions ul {
	margin: 0 auto;
	padding: 0;
	list-style: none;
	max-width: 600px;
}

.PageActions ul:afer {
	content: "";
	display: block;
	clear: both;
}

.PageActions ul li a:link, .PageActions ul li a:visited {
	display: block;
	float: left;
	margin: 0 5px 5px 0;
	background: #f20b52;
	height: 48px;
	width: 64px;
	text-decoration: none;
	padding: 5px;
	text-align: center;
	color: white;
	font-size: 12px;
	opacity: .8;
}

.PageActions ul li a:hover {
	opacity: .25;
}

#credits {
	font-family: sans-serif;
	color: #888;
	font-size: 11px;
	max-width: 1150px;
	padding: 25px;
	margin: 0 auto;
	text-align: center;
}

#credits a:link, #credits a:visited {
	text-decoration: none;
	color: #555;
}

#wikiedit textarea {
	width: 98%;
	background: #e9ecef;
	border: 1px solid #ddd;
	padding: 1%;
	font-family: 'Monaco', 'Courier New', monospace;
	color: black;
	font-size: 10px;
	line-height: 150%;
}


@media screen and (max-width: 640px) {
	body {
		-webkit-text-size-adjust: 100%; /* fix for iPhone weird font scaling on rotation */
	}
	#logo {
/*		float: left !important;*/
		float: none !important;
		margin-bottom: 20px !important;
	}
	
	div.image-block img {
		width: 640px !important;
		margin-left: -320px !important;
	}
	
	ul.news, div.txtfloatr {
		float: none !important;
		width: 100% !important;
	}
	
	div.imgfloat {
		float: none !important;
		width: 100%;
	}
	div.imgfloat img {
		width: 100%;
		max-width: 320px !important;
	}
}