/*
 *	header.css
 *
 *	Linked to by: aDataHeader.txt, accountHeader.txt, catalogueHeader.txt, censusHeader.txt, depositHeader.txt,
 *			header.txt, homeHeader.txt, linksHeader.txt, testHeader.txt
 *
 *	defines the layout of divs in all pages with two columns (the navbar and the content), a header and a footer
 */

html, body {
	margin: 0;
	padding: 0;
}

#header {
	position: relative;
	height: 93px;
	width: 100%;
	margin:0; 
	padding:0;
	background: White;
}

#headercontent {			
	position: relative;
	height: 93px;
	width: 100%;
	background:url("/images/headerFanRule.jpg");
	background-repeat:no-repeat;
	line-height:72px;
	margin:0px;
	padding:0px;
}

a.title {
	display: block;
} 

a.title:hover {
	text-decoration:none;
	cursor: hand;
	cursor: pointer;
}

#title {
	font-family:HandelGothic, Arial, Helvetica, sans-serif;
	color:#994779;
	font-size:20px;
	font-weight:bold;
	text-align:center;
	vertical-align:middle;
	text-decoration:none;
	white-space:nowrap;
	position: relative;
	left:32%;
}

img#assdalogo {
    position:absolute;
    top:8px;
    right:13px;
}

* html .minwidth {
	border-left:335px solid #800; /* Note: border size must match min-height below */
}

#main1, #middlecontent {	
	position: relative;
	height: auto;
	min-height:335px; /*  Note: min-height size must match border size above */
}

#main1 {					/*Container div which contains the navbar and the content*/
	width: 100%;
	background:url("/images/houseBackground.jpg") bottom right;
	background-repeat:no-repeat;
}

#leftcontent {
	position: relative;
	height: auto;
	float: left;			/*This line places the navbar on the left of the content inside main1*/
	left: 0;				/*Left side of the navbar is flush with the left side of main1*/
	width: 160px;
	margin: 0;				/*navbar is padded by column-in class (below)*/
	padding: 0;
	background: url("/images/matrixRule.jpg");
	background-repeat: repeat;
}

#middlecontent {
	width: 90%;			
	margin-left: 160px;		/*Necessary, otherwise in normal browsers, the navbar can be rendered useless*/
	left: 20px;
	overflow:hidden;
}

html:not([dummy]) #middlecontent {
	/* Values for Safari and Firefox */
    width: 77%; 
}

#footercontent {
	position: relative;		/*Placed in relation to main1*/
	height: 120px;
	left: 0;
	right: 0;
	width: 100%;
	padding:0;
	border-top:1px solid #994779;	
	background-color: White;
	font-size: 10px;
	margin-bottom:0px;
}

/* The column- classes are basically all about padding and margins. 
 * They pad the text in various areas without changing the size of the in which that text appears
 */

.column-in {
  	margin:0;
 	padding-top:0.5em; /* Note: value this must match the value of the 'columnIn' global var in accountHeader.php */
  	padding:0.5em 1em; 
 	background:transparent;
}

