html,
body {
	height: 100% !important;
	overflow: hidden !important;
	background: #000;
}

#main {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	min-height: 600px;
	min-width: 950px;
	margin: 0 auto;
	max-width: 1400px;
}

#main table {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	max-width: 1400px;
}

#main table td {
	position: relative;
	vertical-align: top;
}

#main table td.top_left {
	background: url(bg_top_left.jpg) 50% 50% no-repeat;
}

#main table td.top_center {
	background: url(bg_top.jpg) 100% 50% repeat-x;
}

#main table td.top_center div.a1 {
	width: 600px;
	height: 139px;
	float: right;
	background: url(artefact_top.jpg) 50% 50% no-repeat;
	position: relative;
	z-index: 2;
}

#main table td.top_center div.a2 {
	width: 226px;
	height: 139px;
	background: url(artefact_top_2.jpg) 50% 50% no-repeat;
	position: absolute;
	top: 0;
	left: 75px;
}

#main table td.top_right {
	background: url(bg_top_right.jpg) 50% 50% no-repeat;
}

#main table td.middle_left {
	background: url(bg_left.jpg) 50% 50% repeat-y;
	vertical-align: bottom;
}

#main table td.middle_left div {
	background: url(artefact_left.jpg) 50% 50% no-repeat;
	height: 190px;
	width: 31px;
}

#main table td.middle_right {
	background: url(bg_right.jpg) 50% 50% repeat-y;
}

#main table td.bottom_left {
	background: url(bg_bottom_left.jpg) 50% 50% no-repeat;
}

#main table td.bottom_center {
	background: url(bg_bottom.jpg) 75% 50% repeat-x;
	vertical-align: bottom;
}

#main table td.bottom_center div {
	width: 490px;
	height: 45px;
	background: url(artefact_bottom.jpg) 50% 50% no-repeat;
}

#main table td.bottom_right {
	background: url(bg_bottom_right.jpg) 50% 50% no-repeat;
}

#mapPlaceholder {
	line-height: 0;
	position: absolute;
	#position: static;
	overflow: hidden;
}

#footer {
	position: absolute;
	bottom: 0;
	left: 50%;
	margin-left: -420px;
}

#map .marker {
	cursor: pointer;
	_cursor: hand;
}

#map .marker .selected,
#map .marker .current,
#map .marker .tag {
	width: 32px !important;
	height: 32px !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	margin: -16px 0 0 -16px !important;
	background: url(selected.gif) 50% 50% no-repeat !important;
}

#map .marker .current {
	background-image: url(markers/current.png) !important;
	_background: none !important;
	_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/style/markers/current.png',sizingMethod='image') !important;
}

#map .marker .tag {
	height: 52px !important;
	background-image: url(travel-to.png) !important;
	_background: none !important;
	_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/style/travel-to.png',sizingMethod='image') !important;
}

#compass {
	width: 310px;
	height: 139px;
	background: url(compass.png) 50% 50% no-repeat;
	position: absolute;
	top: 0;
	left: 40%;
	margin-left: -155px;
	z-index: 3;
}

#paper {
	width: 200px;
	height: 441px;
	position: absolute;
	top: 100px;
	left: 0;
	background: url(paper.png) 50% 50% no-repeat;
	z-index: 998;
	font-family: courier;
	font-size: 0.8em;
	line-height: 12px;
	color: #1a140a;
}

#paper #notes {
	margin: 0 12px;
}

#paper #notes h3 {
	position: relative;
	height: 43px;
	margin: 0 -6px 12px;
	border-bottom: solid 1px #1a140a;
	background: 99% 60% no-repeat;
	_background: none !important;
	font-size: 1em;
	font-weight: normal;
}

#paper #notes h3.gb { background-image: url(markers/gb.png); }
#paper #notes h3.fr { background-image: url(markers/fr.png); }
#paper #notes h3.au { background-image: url(markers/au.png); }
#paper #notes h3.xx { background-image: url(markers/au.png); }
#paper #notes h3.lu { background-image: url(markers/lu.png); }
#paper #notes h3.de { background-image: url(markers/de.png); }
#paper #notes h3.it { background-image: url(markers/it.png); }
#paper #notes h3.ch { background-image: url(markers/ch.png); }
#paper #notes h3.be { background-image: url(markers/be.png); }
#paper #notes h3.cz { background-image: url(markers/cz.png); }
#paper #notes h3.nl { background-image: url(markers/nl.png); }

#paper #notes h3 span {
	position: absolute;
	bottom: 3px;
	left: 6px;
}

#paper #notes h3 span em {
	font-weight: bold;
	font-size: 1.2em;
}

#paper #notes p {
	margin: 0 0 12px;
}

#paper #notes ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#paper #notes ul li {
	margin: 0 0 6px;
	padding: 0 0 0 35px;
	background: 0 0 no-repeat;
	position: relative;
}

#paper #notes ul li span.more {
	position: absolute;
	top: 0px;
	right: 0px;
	height: 100%;
	_height: 20px;
	padding-right: 5px;
}

#paper #notes ul li span.risk_low { border-right: solid 5px #9f9; }
#paper #notes ul li span.risk_medium { border-right: solid 5px #36c; }
#paper #notes ul li span.risk_high { border-right: solid 5px #600; }
#paper #notes ul li span.risk_very_high { border-right: solid 5px #000; }

#paper #notes ul.options li.orient_express { background-image: url(routes/orient_express.png); }
#paper #notes ul.options li.hot_air_balloon { background-image: url(routes/balloon.png); }
#paper #notes ul.options li.motor_car { background-image: url(routes/motor_car.png); }
#paper #notes ul.options li.plane { background-image: url(routes/plane.png); }
#paper #notes ul.options li.train { background-image: url(routes/train.png); }
#paper #notes ul.options li.ferry { background-image: url(routes/ferry.png); }

#paper #notes ul.options li span.handle {
	cursor: pointer;
	_cursor: hand;
	display: block;
}

#paper #notes ul.travel {
	margin-top: 11px;
	padding-top: 12px;
	border-top: dashed 1px #1a140a;
}

#paper #notes ul.travel li {
	padding: 0 10px 0 0;
	background: url(pointer.png) 100% 50% no-repeat;
	cursor: pointer;
	_cursor: hand;
}

#time {
	position: absolute;
	top: 125px;
	right: 6px;
	width: 112px;
	height: 77px;
	padding: 10px 45px 10px 40px;
	font-weight: bold;
	background: url(time-ticket.png) 50% 50% no-repeat;
	z-index: 999;
	font-family: courier;
	font-size: 0.9em;
}

#header {
	z-index: 999;
}

#footer {
	margin-bottom: 10px;
}

#welcome {
	display: none;
}

/* ========================================================================== */

#modalOverlay {
	background-color: #000;
}

#welcomeContainer {
	width: 500px;
	left: 50%;
	top: 15%;
	margin-left: -251px;
	background-color: #fff;
	border: 2px solid #000;
}

#welcomeContainer p {
	margin: 20px;
	font-size: 1.2em;
	line-height: 1.5em;
	text-align: justify;
}

#modalContainer {
	width: 500px;
	left: 50%;
	top: 15%;
	margin-left: -251px; /* half the width, to center */
	background-color: #fff;
	border: 2px solid #000;
	overflow: hidden;
}

#modalContainer .msgBox {
	position: relative;
	overflow: hidden;
	padding: 20px;
	font-size: 1.2em;
	line-height: 1.5em;
	text-align: justify;
}

#modalContainer .msgBox .msgButtons {
	position: absolute;
	bottom: 0;
	_bottom: -1px;
	right: 0;
	padding: 10px;
	background: #333;
	width: 200%;
	text-align: right;
	font-size: 1.1em;
}

#modalContainer .msgBox .msgButtons input {
	margin-left: 10px;
}
