/********************* MAIN.CSS *********************
Written by: Harmon Caldwell & Mathieu Binette
For: CWLaw.org
Date: December 6th 2009
*****************************************************/
@import url("backgrounds.css");
@import url("fonts.css");
@import url("header&footer.css");
@import url("struct_index.css");
@import url("struct_secondary.css");
@import url("struct_attorney.css");

div{overflow:hidden;} /*To prevent self-destruction*/

div#main{
	position:relative; /*Important for absolute positions*/
	bottom:8px;
	display:block;
	margin:0; 
	padding:0;
	margin:auto;
	width:1000px;
	min-height:800px;
}

div#pageTitle{
	width:60%;position:relative; left:40%;
	color:white;
	text-transform: uppercase;
	padding-bottom:3px; /*There's a difference!*/
	margin-bottom:20px; /*There's a difference!*/
	text-align:right;
}

/*No click/hyperlink borders*/
a:active{outline: none;}
a:focus{-moz-outline-style: none;}
a img, a:visited img{border:0;}

/*To vertically center something (DOESN'T WORK NOW. MUST FIX.)*/
 div.center{display: table; _position: relative;}
 div.center div{_position: absolute; _top: 50%; display: table-cell; vertical-align: middle;}
 div.center div p{position: relative; _top: -50%; bottom:3px;}
 /*Temp. Fix*/
table{height:100%;position:relative;bottom:3px;}

