/* For debugging layout */
/*
div {
  border:1px solid red;
}
*/

/*******************************************************************************
*                                    PAGE
*******************************************************************************/

div#phq_page {
  position:relative;
	clear:both;
	float:left;
	width:100%;
	overflow:hidden;
  min-width:920px;
}

/* For dumb browsers like IE that don't understand min-width */
* html div#phq_page {
  position:relative;
  width:expression(document.body.clientWidth < 922 ? "920": "100%" );
  margin-top:-4px;
}

div#phq_page_header {
	position:relative;
	width:100%;
	height:150px;
	top: 0px;
	left:0px;
	overflow:hidden;
	background-image:url('../images/phq_logo.jpg');
	background-repeat:no-repeat;
	background-position:center 15px;
}

/*******************************************************************************
*                                  BORDERS
*******************************************************************************/

div#phq_border_left {
  position:relative;
	float:left;
	width:200px;
	height:750px; /* =(real height)-(padding top) */
	overflow:hidden;
	text-align:center;
	background-image:url('../images/border_left.gif');
	background-repeat:no-repeat;
	padding-top:10px;
	margin-bottom:10px;
}

div#phq_border_right {
  position:relative;
	float:right;
	width:200px;
	height:760px;
	left:0px;
	overflow:hidden;
	background-image:url('../images/border_right.gif');
	background-repeat:no-repeat;
	margin-bottom:10px;
}

/*******************************************************************************
*                                    MENU
*******************************************************************************/

div.phq_menu {
  position:relative;
  width:150px;
  left:25px;
}

/* Some pesky browser seem to always need special things */
* html div.phq_menu {
  left:0px;
}

div.phq_menu_category {
  position:relative;
  width:146px;
  border-style:solid solid solid solid;
  border-width:2px;
  border-color:#0d2a4a;
  margin-bottom:10px;
  background-color:white;
  overflow:hidden;
}

/* Dumb browsers can't even implement standards right */
* html div.phq_menu_category {
  margin-top:-4px;
}

div.phq_menu_category_header {
  position:relative;
  height:18px;
  text-align:center;
  font-family:Verdana, Verdana, sans-serif;
  font-size:10px;
  font-weight:bold;
  color:#0d2a4a;
  background-image:url('../images/menu_header.png');
	background-repeat:no-repeat;
	background-position:0px 0px;
	margin-bottom:1px;
}

div.phq_menu_item {
  position:relative;
  width:100%;
  text-align:center;
  text-transform:uppercase;
  font-family:Verdana, Verdana, sans-serif;
  font-size:10px;
}

div.phq_menu_item a:link {
  color:black;
  text-decoration:none;
}

div.phq_menu_item a:visited {
  color:black;
  text-decoration:none;
}

div.phq_menu_item a:hover {
  color:black;
  background-color:#bcbcbc
}

div.phq_menu_item a:active {
  color:black;
  text-decoration:none;
}

/*******************************************************************************
*                                   CONTENT
*******************************************************************************/

div#phq_content_frame {
	position:absolute;
	height:760px;
	overflow:hidden;
	top:0px;
	left:210px;
	right:210px;
}

/* Those 'special' browser start to really annoy me! */
* html div#phq_content_frame {
	position:relative;
	left:8px;
	width:expression(document.body.clientWidth-420);
	margin-top:-4px;
}

div#phq_content_header {
  position:relative;
  height:18px;
  font-family:Verdana, Verdana, sans-serif;
  font-size:10px;
  font-weight:bold;
  line-height:18px;
  vertical-align:middle;
  color:white;
  background-color:#507cb0;
  padding-left:5px;
  padding-right:5px;
  border-style:solid;
  border-width:1px;
  border-color:black;
  text-transform:uppercase;
}

div#phq_content_border {
  position:relative;
  border-style:none solid solid solid;
  border-width:1px;
  border-color:black;
  padding-left:5px;
  background-image:url('../images/content_bg.gif');
  font-family:Verdana, Verdana, sans-serif;
  font-size:10px;
}

div#phq_content {
	position:relative;
	height:589px;
	width:100%;
	font-family:Verdana, Verdana, sans-serif;
  font-size:10px;
  overflow:auto;
}

/* Aahhhhh, fuck you Billy!!! */
* html div#phq_content {
  height:588px;
}

.legend {
  display: inline;
  position: relative;
  top: -10px;
  padding: 0em .8em .2em .8em;
  font-size: larger;
  font-weight: bolder;
  color: rgb(149, 83, 34);
/*
  -moz-border-radius: .6em .6em .2em .2em;
  border-top: thin solid rgb(223,220,217);
  border-left: thin solid rgb(223,220,217);
  border-right: thin solid rgb(178,176,174);
  border-bottom: thin solid rgb(178,176,174);
*/
}

.newsarticle {
/*
  border-top: thin solid rgb(223,220,217);
  border-left: thin solid rgb(223,220,217);
  border-right: thin solid rgb(178,176,174);
  border-bottom: thin solid rgb(178,176,174);
*/
  padding: .1em .2em 0em .5em;
  margin: 15px 5px 0.8em 0;
}
