/* Contains the basic look and feel of the portal site. */

html {
	width: 100%;
	height: 100%;
}

body {
	padding: 0px;
	margin: 0px;
	background-image: url('images/portal/page-back.png');
	width: 100%;
	height: 100%;
	position: relative;
	color: #CCCCCC;
	font-size: 12px;
	font-family: sans-serif;
}

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

a:hover {
	color: #BBBBFF;
	text-decoration: underline;
}

img {
	border: 0px;
}

#container {
	position: relative;
	min-height: 100%;
	width: 980px;
	margin-left: auto;
	margin-right: auto;
}

#containerBackground {
	/* Because I simply counldn't think of a better way to do this. */
	position: absolute;
	top: 114px; /* Height of menu */
	bottom: 50px; /* Height of footer */
	left: 0px;
	right: 0px;
	background-image: url('/images/portal/container-back.png');
	z-index: 1;
}

#loginArea {
	float: right;
	height: 44px;
	line-height: 44px;
	padding-right: 9px;
}

#logo {
	float: left;	
}

#menu {
	width: 100%;
	background-image: url('/images/portal/menu-back.png');
	height: 114px;
	position: relative;
}

#content {
	position: relative;
	z-index: 2;
	padding-right: 20px;
	padding-left: 20px;	
	padding-bottom: 50px; /* Height of Footer, to prevent overlapping */
}

#footer {
	position: absolute;
	bottom: 0px;
	height: 50px;
	width: 940px;
	padding-right: 20px;
	padding-left: 20px;
	margin-left: auto;
	margin-right: auto;
	z-index: 2;
	background-image: url('/images/portal/footer-back.png');
	background-repeat: none;
	text-align: center;
}

#menu-container {
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 964px;
	padding-left: 8px;
	padding-right: 8px;
}

.menu-button {
	float: right;
	width: 198px;
	height: 55px;
	background-image: url('images/portal/menu-button-back.png');
	padding: 1px;
}

.menu-button:hover {
	background-position: -200px 0px;
}

.menu-button > a {
	display: block;
	width: 100%;
	height: 100%;
	text-align: center;
	vertical-align: middle;
	line-height: 55px;
}

/* OK, now for more simple things, like input boxes. */

input, textarea {
	background-color: black;
	border: 1px solid white;
	color: white;
}


/* News thingies. */

.newsCategory {
	float: left;
	width: 280px;
	margin-left: 25px;
	background-color: #222222;
}

.categoryHeader {
	font-size: 2.0em;
	height: 50px;
}

.newsCategory textarea {
	width: 100%;
	height: 150px;
}

.newsCategory input[type=text] {
	width: 100%;
}

.newsPostForm {
	display: none;
}

.newsitem {
	position: relative;
	clear: both;
}

.newsitem h1 {
	font-size: 16px;
	font-weight: bold;
	color: white;
	margin: 0px;
	padding-top: 10px;
	padding-bottom: 0px;
	padding-right: 0px;
	padding-left: 0px;
}

.newsitem .timestamp {
	float: left;
	font-size: 0.8em;
	font-style: italic;
}

.newsitem .author {
	float: right;
	color: #66FFFF;
	font-weight: bold;
	font-size: 0.8em;
}

.newsitem .article {
	clear: both;
	padding-top: 10px;
	font-size: 0.9em;
	display: none;
}

.newsitem .deleteButton {
	position: absolute;
	top: 10px;
	right: 0px;
	width: 14px;
	height: 14px;
	background-image: url('/images/portal/close.png');
}
