*:not(button) {
	border: medium none;
	margin: 0px;
	padding: 0px;
}

a, a img {
	outline: 0px none;
}
a {
	cursor: pointer;
}

header, section, footer, aside, nav, article, figure {
	display: block;
}

p {
	margin-bottom: 1em;
}

body {
	background-repeat: repeat;
	position: absolute;
	bottom: 0px;
	top: 0px;
	left: 0px;
	right: 0px;
	height: 100%;
	width: 100%;
	/*overflow: hidden;*/
}
body.light, body { background-image: url('/images/bg-lt.png'); }
body.dark { background-image: url('/images/bg-dk.png'); }

#outer {
	height: 100%;
	width: 100%;
	max-height: 800px;
	min-height: 590px;
	max-width: 1200px;
	box-shadow: 0px 0px 5px rgb(59,59,59);
	position: relative;
	margin: 0px auto;
	font-family: sans-serif;
}

/*#outer article.home, section > article {
	bottom: 0px;
	overflow: hidden;
	position: absolute;
	top: 0px;
	width: 100%;
}*/

#outer .sections {
	bottom: 0px;
	overflow: hidden;
	position: absolute;
	top: 0px;
	width: 100%;
}
#outer .sections > div {
	bottom: 0px;
	overflow-y: hidden;
	position: absolute;
	top: 0px;
	width: 100%;
}
article[data-page] {
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: absolute;

	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

@font-face {
	font-family: nilland;
	src: url('/fonts/Nilland.ttf');
}

article.homex {
	background: url('/pages/page01-02/home.jpg') no-repeat 50% 50%;
}
article.homex h2 {
	position: absolute;
	left: 25px;
	top: 35px;
	color: rgb(255,255,255);
	font-family: nilland;
	font-weight: normal;
	text-shadow: 3px 3px 7px #111;
}
article[data-page=two] {
	background: url('/pages/page03-04/image.jpg') no-repeat 50% 50%;
}
article[data-page=three] {
	background: url('/pages/page05-06/bears.jpg') no-repeat 50% 50%;
}
/*article div {
	position: absolute;
}*/


article[data-page] span.wrapper {
	display: block;
	overflow: visible;
	height: auto;
}

.pageNavigation {
	width: 100%;
	height: 48px;
	background: url('/images/nav/bar.png') repeat-x left top;
	bottom: 0px;
	z-index: 10;
	position: fixed;
}
.pageNavigation ul {
	list-style: none outside none;
}
.pageNavigation li {
	display: block;
	width: 40px;
	height: 38px;
	margin: 5px 10px;
	position: absolute;
	background-position: 5px 3px;
	background-repeat: no-repeat;
}
.pageNavigation li.home {
	background-image: url('/images/nav/home.png');
}
.pageNavigation li.prev {
	background-image: url('/images/nav/prev.png');
	right: 54px;
}
.pageNavigation li.next {
	background-image: url('/images/nav/next.png');
	right: 8px;
}
.pageNavigation li.fullscreen {
	background-image: url('/images/nav/fullscreen.png');
	left: 54px;
}
body.fullscreen li.fullscreen {
	background-image: url('/images/nav/normalscreen.png');
}

.pageNavigation .pageNo {
	position: relative;
	top: 12px;
	margin: 0px auto;
	width: 125px;
	height: 24px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	-webkit-box-shadow: 0px 0px 10px rgba(0,0,0, 0.5) inset;
	-moz-box-shadow: 0px 0px 10px rgba(0,0,0, 0.5) inset;
	box-shadow: 0px 0px 10px rgba(0,0,0, 0.75) inset;
	color: rgb(255,255,255);
	background-color: rgba(0,0,0, 0.15);
}
.pageNavigation span {
	display: inline-block;
	width: 100%;
	height: 100%;
	line-height: 24px;
	text-align: center;
	font-family: sans-serif;
	font-size: 14px;
}


.advert {
	position: absolute;
	/*overflow: hidden;*/
}


*[data-actor] {
	position: absolute;
}

*[data-role=popup] article {
	display: none;
}
*[data-role=popup] {
	cursor: pointer;
	background-color: rgba(0,0,0, 0.01); /* Hack to make 'active' */
}


div.fauxRHP, div.fauxLHP {
	width: 50%;
	height: 100%;
	position: absolute;
	top: 0px;
}
div.fauxRHP {
	right: 0px;
}
div.fauxLHP {
	left: 0px;
}

article .close {
	position: absolute;
	width: 56px;
	height: 50px;
	top: -25px;
	right: -25px;
	background: url('/images/close.png') no-repeat left top;
	cursor: pointer;
}