/*	============
	type styles
*/

body, input, select, textarea, ul, li
{
	font: 80%/1.6 "Lucida Grande","Tahoma","Helvetica","Arial",sans-serif;
	color: #4d4d4d;
}

a img { border:0; }	/* stop mozilla putting the stupid blue border on images with links */


a {
	color:#0063dc;
	text-decoration:none;
}
a:hover {
	background-color:#ff0;
	border-bottom:1px dotted #0063dc;
}


/*	============
	universal layout styles
*/
body {
	background-color: #fff;
	margin: 0;
	padding: 0;
}

#application {
	position:relative;
	clear: both;
	width: 100%;
	border-top:1px solid #000;
	margin:0;
	padding:0;
}

#footer
{
	clear: both;
	margin: 0;
	padding: 10px 0 20px 0;
	border-top: 1px solid #000;
	text-align: center;
	background-image: url(../images/grgrad.gif);
	background-repeat: repeat-x;
	background-position: left top;
}

#footer p { margin:0; }

#topnav {
	width: 100%;
	float: left;
	overflow:hidden;
	background-color:#fff;
}

#topnav h1 {
	position:relative;
	z-index:1;
	margin:0;
	height: 45px;
	width: 220px;
	overflow:hidden;
}

#topnav h1 a {
	display: block;
	position:absolute;
	top:10px;
	left:10px;
	z-index:2;
	text-indent: -5000px;
	height: 35px;
	width: 220px;
	background: url(../images/lightboxrpro.gif) no-repeat;
	border: none;
}


#topnav ul
{
	float: right;
	list-style-type: none;
	margin: 10px 10px 0 0;
	z-index:10;
}
#topnav ul li {
	float:left;
	border-width:0 0 0 1px;
	border-color: #fff;
	border-style:solid;
	background-color:#ccc;
	font-size:1em;
}
#topnav ul li a {
	padding:0.2em 1.5em;
	float:left;
	font-size:1.2em;
	text-decoration:none;
	border: none;
}
#topnav ul li a:link, #topnav ul li a:visited { color:#fff; background-color:transparent;}
#topnav ul li a:hover, #topnav ul li a:active { background-color:#aaa;} 	
#topnav ul>li a:hover, #topnav ul>li a:active {background-color:transparent;}	
#topnav ul>li:hover, #topnav ul>li:active { background-color:#aaa; }			

#topnav ul li.first a
{
	background-image: url(../images/corners_01.gif);
	background-repeat: no-repeat;
	background-position: left top;
}
#topnav ul li.first
{
	background-image: url(../images/corners_03.gif);
	background-repeat: no-repeat;
	background-position: left bottom;
}
#topnav ul li.last a
{
	background-image: url(../images/corners_02.gif);
	background-repeat: no-repeat;
	background-position: right top;
}
#topnav ul li.last
{
	background-image: url(../images/corners_04.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
}

.centeredmsg {
	display: block;
	position: relative;
	width: 650px;
	margin: 10px auto;
	padding: 0;
}

.padbox {
	padding:20px;
}
.padbox li, .marginbox li {
	font-size:1.2em;
}

.clearfloat {
	clear:both;
	font-size:1px;
}
.marginbox {
	margin:20px;
}


/* ====================
	ROUND RECT message box
*/

/* this mess is for adding rounded corner alert boxes to a div  
	use the ROUND_BOX_TOP & ROUND_BOX_BOT to insert all the necessary divs etc before and after the content
*/
.rrholder {margin:0;padding:0; display:block;}
.rrtop, .rrbot {display:block; background:transparent; font-size:1px;}
.rrb1, .rrb2, .rrb3, .rrb4 {display:block; overflow:hidden;}
.rrb1, .rrb2, .rrb3 {height:1px;}
.rrb2, .rrb3, .rrb4 {background:#ffc; border-left:1px solid #aaa; border-right:1px solid #aaa;}
.rrb1 {margin:0 5px; background:#aaa;}
.rrb2 {margin:0 3px; border-width:0 2px;}
.rrb3 {margin:0 2px;}
.rrb4 {height:2px; margin:0 1px;}
/* note the height values in the next two lines are to fix corner alignment in IE when near floats */
.rrsides {display:block; height:20px; background:#ffc; border:0 solid #aaa; border-width:0 1px; padding:5px 20px;}
.rrholder>div.rrsides {height:auto;}

.rrholder h1, .rrholder h2, .rrholder p {margin:0 10px; }
.rrholder p {padding:0.5em;}

/* ====================
	social bookmarking
*/

#bookmark {
    padding: 0;
}

#bookmark a {
	padding: 0 3px 1px 18px;
    border-bottom: 0 none;
}

#delicious {
    background: #fff url(../images/icons/delicious.gif) no-repeat;
}

#digg {
    background: #fff url(../images/icons/digg.gif) no-repeat;
}

#reddit {
    background: #fff url(../images/icons/reddit.gif) no-repeat;
}

#newsvine {
    background: #fff url(../images/icons/newsvine.gif) no-repeat;
}

#google {
    background: #fff url(../images/icons/google.gif) no-repeat;
}

#yahoo {
    background: #fff url(../images/icons/yahoo.gif) no-repeat;
}

#technorati {
    background: #fff url(../images/icons/technorati.gif) no-repeat;
}

#magnolia {
    background: #fff url(../images/icons/magnolia.gif) no-repeat;
}

