/* The form element, functioning as a canvas to draw the background color on */
form {
	/* The background color of the theme */
	background-color	: #f6f6f6;
	/* The right-hand shadow of the "canvas" */
	background-image	: url('images/content-bg.png');
}

/* The horizontal menu beneath the logo */
div#top div.menu {
	/* The background color and image of the menu */
	background-color	: #000;
	background-image	: url('images/top-menu-bg.png');
}

div#top div.menu ul li a {
	background-image	: url('images/top-menu-separator.png');
}

div#top div.menu ul li.last a {
	background-image	: url('images/top-menu-end.png');
}

/* The logo area */
div#logo {
	/* The background image behind the logo */
	background-image	: url('/templates/styles/images/logo-bg.jpg');
	background-color	: #0f426e;
}

/* The box class, used to style boxes with borders and shadows */
div.box {
	/* The right-hand shadow of the box */
	background-image	: url('images/box-right.png');
	/* Set this border color to the same as the background color of the 'form' */
	border-color		: #f6f6f6;
}

/* The first child div of the 'box' class, used to add a bottom shadow */
div.box div {
	/* The bottom shadow of the box */
	background-image	: url('images/box-bottom.png');
}

div.box div div {
	border-color		: #c5cfdd;
}

/* The header of a box */
div.box h2 {
	/* The default background color for a 'box' header */
	background-color	: #1a2432;
	border-left			: 7px solid #1468b3;
	color				: #fff;
}


/*
div.box ul li a {
	border-left			: 4px solid #1468b3;
}

div.box ul li a:hover {
	border-left			: 4px solid #1a2432;
}
*/
.linkmarker 
{
	border-left			: 4px solid #1468b3;
    padding-left		: .3em;
    list-style-type		: none;
    list-style-image	: none;
	list-style-position	: outside;
    
}

li.searchResult
{
	padding-bottom		: 0.8em;
}

li.searchResult p  {
    margin-left: 0.3em;
    margin-top: 3px;
}


/* The header of a content area's box */
div#body div.box h2 {
	background-image	: url('images/large-box-header-bg.png');
}

div#body div#article h1,
div#body div#article h2 {
	color				: #1468b3;
}

div#body div.article h3 a:link,
div#body div.article h3 a:active,
div#body div.article h3 a:visited {
	color				: #1468b3;
}

div#body div.article a:hover,
div#body div.article h3 a:hover {
	color				: #666;
}

div.article ul li.rsslisting h3 a:link,
div.article ul li.rsslisting h3 a:active,
div.article ul li.rsslisting h3 a:visited {
	color				: #1468b3;
}

div.article ul li.rsslisting a:hover,
div.article ul li.rsslisting h3 a:hover {
	color				: #666;
}

div#body div.article div.statistics a:hover {
	color				: #000;
}

div#body div.article div.statistics h2 a:hover {
	color				: #fff;
}

/* The header of the side bar's boxes */
div#extra div.box h2,
div#navigation div.box h2 {
	background-image	: url('images/small-box-header-bg.png');
}

/* The footer */
ul#footer {
	/* The bottom shadow to the form "canvas" */
	background-image	: url('images/content-bg-bottom.png');
}

/* General input buttons */
input.button {
	color				: #fff;
	background-image  	: url('images/button-bg.png');
}

/* The repeating background of a button */
button span {
	color				: #fff;
	background-color	: #000;
	background-image  	: url('images/button-bg.png');
}

/* The left-hand side of a button */
button span span {
	background-image  	: url('images/button-start.png');
}

/* The right-hand side of a button */
button span span span {
	background-image	: url('images/button-end.png');
}

/* Statistics tables */
div.statistics table caption {
	background-color	: #c5cfdd;
	border-color		: #1a2432;
}

div.statistics table thead th {
	background-color	: #c5cfdd;
	border-color		: #1a2432;
}

div.statistics table th, div.statistics table td {
	border-color		: #c5cfdd;
}

/* Race calendar styles */
.calendarCtrl table td tr
{
	/*border-width: .1em;
	border-color: #000;*/	
	border: none
}
.DayHeader
{
	height: 20px;
	background-color: #141d29;
	color: #fff;
	vertical-align: middle;
	text-align: center;
}
.Day
{
	height: 68px;
	vertical-align: top;
	background-color: #fff;
	border: none
}
.OtherMonth
{
	background-color: #f6f6f6;
	color: #000;
	height: 68px;
	vertical-align: top;
	border: none
}
.Title
{
	height: 20px;
	color: #fff;
	text-transform: uppercase;
	vertical-align: middle;
	background-image: url(images/large-box-header-bg.png);
}
.SelectedDay
{
	color: #000;
	background-color: #a4d091;
	vertical-align: top;
	border: none
}
.SelectedDay a
{
	color: #1468b3;
}
/*.Today
{
	vertical-align: top;
	border-width: 1px;
	border-color: #FF0000;	
}*/
.WeekNumber
{
	position: absolute;
	left: 30px;
	color: #1468b3;
	font-weight: bold;
}
	
/* END Race calendar styles */


/* Ensures padding between items in an xform */
.xForm #id_matrix td
{
	border:0;
	margin: 0;
	padding: 0.2em 0;
}

/* Sitemap styles */

#SiteMap ul 
{
    margin: 0;
    padding: 0.2em 0;
}

#SiteMap ul ul
{
    padding: 0;
    margin-left: 0.5em;
}

#SiteMap li
{
    margin: 0 0 0.5em 0;
    padding: 0;
    list-style: none;
    background: none;
}
#SiteMap li a
{
    text-decoration: none;
}

#SiteMap li li
{
    margin: 0.2em 0;
    padding-left: 1em;
    background: url(images/SiteMapBullet.gif) no-repeat; 
}

#SiteMap li li a
{
    text-decoration: underline;
}

#SiteMap li li li
{
 
}

/* style for agent listing */
.agentsListing tr td
{
	border: none
}
.AgentsHeader
{
	font-weight: bold;
	color				: #fff;
	background-color    : #000;
	padding-left: 5px;
}
.AgentsStyle
{
}
.AgentsAlterningStyle
{	
}

/* TODO: Verify color */
.disabled {
	color: #DFDFDF;
}

div#body div div.trotunion h2 {
	background-color	: #fff;
	background-image	: none;
	border-left-style	: none;
	border-left-width	: 0px;
	color				: #1468b3;
	font-size			: 1.3em;
	font-weight			: normal;
	padding				: 0pt;
	margin-bottom		: 0.5em;
}
