body
{
	font-family:sans-serif;
	color:black;
	background-color:#223388;
}

a
{
	color:#CC5511;
	text-decoration:none;
}

a:visited
{
	color:#BB4400;
}

a:hover,
a:active
{
	text-decoration:underline;
}

a img
{
	border:0;
}

.disabled
{
	opacity:0.5;
}

.code
{
	font-family:monospace;
}

.bold
{
	font-weight:bold;
}

acronym
{
	text-decoration:none;
	border-bottom:1px dashed;
}

.align-right
{
	text-align:right;
}

.align-center
{
	text-align:center;
}

p.alert
{
	min-height:20px;
	padding-left:30px !important;
	background-image:url("../images/alert.png");
	background-repeat:no-repeat;
	background-position:0 0;
}

.float-left
{
	margin:5px 10px 5px 0;
	float:left;
}

.float-right
{
	margin:5px 0 5px 10px;
	float:right;
}

.float-left:first-child,
.float-right:first-child
{
	margin-top:0;
}

.float-left:last-child,
.float-right:last-child
{
	margin-bottom:0;
}

p
{
	margin:0  0 1em 0;
	padding:0;
}

.load-bar-outer
{
	display:block;
	visibility:hidden;
	height:30px;
	padding:5px;
	background:#DDDDFF;
	border:1px solid #444499;
	opacity:0.85;
}

.load-bar-outer .load-bar-inner
{
	display:block;
	height:100%;
	width:0%;
	background:#5555AA;
	float:left;
}

div#output
{
	width:90%;
	margin:0 auto;
}


/* === Header === */

div#header
{
	width:auto;
	display:block;
	background:#AAAAFF url(../images/header_bg.png) bottom repeat-x;
	padding:8px;
	position:relative;
}

div#header div#logo
{
	
}

div#header div#navigation
{
	position:absolute;
	right:0;
	bottom:0;
	padding:15px 30px;
}

div#header div#navigation
{
	color:#000044;
}

div#header div#navigation a
{
	font-size:large;
}

.clear
{
	clear:both;
}


/* === Body === */

div#body
{
	padding:10px;
	background-color:#FFFFFF;
}

div#body > p:first-child
{
	margin-top:1em;
}

div#body div.col
{
	display:block;
	float:left;
	margin:0;
	overflow:hidden;
}

div#body div.col div.col-inner
{
	margin:0 .5em;
}

div#body div.large
{
	width:75%;
}

div#body div.small
{
	width:25%;
}

div#body #widgets
{
	background:#AAAAFF;
	padding:1em;
	text-align:center;
	
	/* Temporary fix! */
	display:none;
}

div#body #widgets .widget
{
	display:block;
	padding-bottom:2em;
}

div#body div#footer
{
	margin-top:5em;
	font-size:small;
}


/*== Popup ==*/

div#popup
{
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	z-index:1001;
}

div#popup-box
{
	margin:50px auto 0 auto;
	border:5px solid #6F75B9;
	background:#AAAAFF;
	padding:1em;
	width:60%;
}

div#popup-bg
{
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	background:url("/images/popup-bg.png");
	z-index:1000;
}

div#popup div#popup-top-bar
{
	padding:5px;
	margin-bottom:1.25em;
	background:#DDDDFF;
}

div#popup div#popup-title
{
	text-align:center;
	font-size:x-large;
	float:left;
	width:52%;
	text-align:right;
	display:block;
}

div#popup a#popup-close
{
	float:right;
	padding-right:1ex;
	padding:0.5ex 0;
}