
body {
	margin: 0;

	font-family: fantasy;   
	font-size: 14pt;
}

body div#page-header{
	position: fixed;
	width: 100%;
	height: 20px;
	padding: 5px;
	top: 0;
	z-index: 100;

	color: white;
	font-size: 10pt;
	font-family: monospace;
	text-align: center;

    background-color: black;
}

body div#page-fotter{
	width: 100%;
	height: 20px;
	padding: 5;
	bottom: 0;
	z-index: 100;

	font-size: 6pt;
	font-family: monospace;
	text-align: center;
}

/**
 * Outer container
 */
div.container {
	clear: both;
	margin: 40px auto;
	padding: 10px;
	max-width: 720px;

	background-color: white;
	border-radius: 3px;
}

/*** Narative ***/

div.narative {
	position: relative;
	min-height: 250px;
	padding-bottom: 50;
}

div.narative div.header{
	position: absolute;
	width: 100%;
	top: 0;
}

div.narative div.element {
	margin: 10px;
	clear: both;
}

div.narative div.description {
	text-align: justify;
	margin: 20px 0;
}

div.narative div.description img.illustration {
	display: none;
}

div.narative div.description {
	text-align: justify;
}


div.narative div.dialog {
	position: relative;
	width: 80%;
	min-height: 150px;
	margin: 10px auto; /* ver hor */

	background-color: #f4f4f4;
	border-radius: 15px;
}

div.narative div.dialog img.illustration{
	float: left;
	width: 150px;
	height: 150px;
	
	margin-right: 10px;
	border-radius: 15px;
}

div.narative div.dialog div.text{
	min-height: 50px;
	padding: 10px 25px; /* ver hor */
}


div.narative div.fotter {
	position: absolute;
	width: 100%;
	height: 56px;
	bottom: 0;

	text-align: center;
}

div.narative div.onwards {
	width: 50%;
	margin: 0 auto;
	margin-bottom: 5px;
	padding: 10px 0;

	background: #eee;
	border: 2px solid #ddd;
	border-radius: 5px;
}

div.narative div.onwards a {
	color: #09f;
	font-size: 120%;
	text-decoration: none;
}

div.narative div.onwards a:hover {
	color: #0bf;
}


/*** Exploration ***/

div.exploration {
	margin: auto;
	padding: 0;
}

div.exploration h1.target-name {
	margin: auto;
	margin-bottom: 0;
	height: 50px;

	text-align: center;
}

div.exploration h2.room-name {
	margin: auto;
	padding: 2px 10px;
	height: 40px;

	overflow: visible;
	text-align: center
}


/**
 * Illustration
 */
div.exploration div.illustration-container {
	text-align: center;	
}

div.exploration img.illustration {
	margin: auto;
	clear: all;

	border-radius: 4px;
}

/**
 * Description
 */
div.exploration div.description {
	min-height: 100px;
	padding: 10px 5%;
}

/**
 *	Targets
 */
div.exploration ul.targets {
	width: 60%;
	margin: 0 auto;
	padding: 5px 6%;

	background-color: #eee;
}

div.exploration ul.targets li {
	margin: 0 15px;
	padding: 2px 0;
	list-style-type: square;
}


div.exploration ul.targets a {
	color: #f90;
	text-decoration: none;
}

div.exploration ul.targets li.selected a {
	color: #f70;
	font-weight: bold;
	text-decoration: underline;
}


div.exploration ul.targets a:hover{
	color: #fb0;
}

/**
 * Actions
 */
div.exploration ul.actions {
	width: 60%;
	margin: 0 auto;
	padding: 5px 6%;

	background-color: #eee;
}

div.exploration ul.actions li {
	margin: 0 16px;
}

div.exploration ul.actions a{
	color: #09f;
	text-decoration: none;
}

div.exploration ul.actions a:hover{
	color: #0bf;
}

/**
 * Protagonist status
 */
div.protagonist {
	text-align: center;	
	width: 50%;
	margin: auto;
	margin-top: 10px;
	clear: both;
}