/*! @file style.css
 *  @brief Website Cascading Style Sheet (darkside v4)
 *  @author Simon Brunel - Allegorithmic
 *  @note This file is part of the Allegorithmic Template Website project
 *  @date 20070604
 *  @copyright Allegorithmic - All rights reserved
*/

/* Common style */
.Back1,
.Back2
{
	border-color:#F0F0F0;
	border-style:solid;
	border-width:2px 0px 0px 0px;
}

.Back1.first,
.Back2.first
{
	border:none;
}

.Back1
{
	background:#FFFFFF;
}

.Back2
{
	background:#FAFAFA;
}

.Brief
{
	color:#808080;
}

.Title
{
	font-size:14px;
	font-weight:bold;
}

.Frame
{
	background-color:inherit;
	color:#757575;
	display:block;
}

.Frame .Icon
{
	float:left;
	margin-right:15px
}

.Frame .Title
{
	font-size:15px;
	font-weight:bold;
	margin:0px;
	padding:5px 0px 0px 0px;
}

.Frame .Brief
{
	color:#969696;
	margin:0px;
	padding-bottom:10px;
}

.Frame.Small
{
	background-color:#FAFAFA;
	border:1px solid #E0E0E0;
	color:#757575;
	height:100px;
	margin:5px 0px;
	padding:5px 10px 10px 10px;
	width:258px;
}

.ImageButton
{
	border:0px;
	display:block;
	height:25px;
	margin:4px 0px;
}

.ImageButton:hover
{
	background-position:0px 30px;
}

.Navigator
{
	clear:both;
	text-align:right;
}

.Navigator a
{
	padding:0px 4px;
}

.Navigator a:hover
{
	border-color:#E0E0E0;
	border-style:solid;
	border-width:0px 0px 2px 0px;
	text-decoration:none;
}

.Navigator a.Current,
.Navigator a.Current:hover
{
	background-color:#F0F0F0;
	border-color:#E0E0E0;
	border-style:solid;
	padding:0px 3px;
	border-width:1px 1px 2px 1px;
}

.Quote
{
	background-color:#FAFAFA;
	border:1px solid #E0E0E0;
	color:inherit;
	display:block;
	font-style:italic;
	padding:4px;
}

.Quote .Source
{
	font-style:normal;
	font-size:11px;
	text-align:right;
}

/* Generic style */
a
{
	background-color:inherit;
	color:#F0F0F0;
	text-decoration:none;
}

a:hover
{
	background-color:inherit;
	color:#FFFFFF;
	text-decoration:underline;
}

body
{
	background:#808080 url('../images/background.jpg');
	color:#C0C0C0;
	font-family:'Verdana', 'Tahoma', sans-serif;
	font-size:11px;
	padding:10px 0px;
	margin:0px;
}

button,
input[type=submit],
.Button
{
	background-color:#FAFAFA;
	border:1px solid #969696;
	color:#969696;
	cursor:pointer;
	padding:0px 15px;
}

button:hover,
input[type=submit]:hover,
.Button:hover
{
	background-color:#FFFFFF;
	border-color:#757575;
	color:#757575;
	text-decoration:none;
}

h1, h2, h3, h4, h5, h6
{
	margin:0px;
	padding:16px 0px 4px 0px;
}

h1.First, h2.First, h3.First, h4.First
{
	padding-top:0px;
}

h1 {font-size:20px}
h2 {font-size:18px}
h3 {font-size:16px}
h4 {font-size:14px}

hr
{
	background-color:#C0C0C0;
	color:inherit;
	border:none;
	height:1px;
}

fieldset
{
	border:0px;
	padding:0px 10px 10px 10px;
	margin:2px 0px;
}

fieldset legend
{
	font-weight:bold;
	padding:0px 2px;
	margin:0px;
}

fieldset textarea
{
	height:100px;
}

fieldset textarea,
fieldset input.text
{
	border:1px solid #C0C0C0;
	padding:2px;
	width:99%;
}

fieldset.error
{
	background-color:#FFEEEE;
	border-top:1px solid #FF0000;
	color:#FF0000;
}

fieldset.error legend
{
	background-color:inherit;
	color:#FF0000;
}

fieldset.error .text
{
	border:1px solid #FF0000;
}

form
{
	padding:0px;
	margin:0px;
}

img,
a img
{
	border:none;
	margin:0px;
	padding:0px;
	vertical-align:bottom;
}

input
{
	margin:0px;
	vertical-align: middle;
}

ul
{
	padding-left:25px;
	margin-top:5px;
}

ul.Menu
{
	background-position:bottom;
	height:22px;
	list-style:none;
	padding:0px 0px 0px 10px;
	margin:0px;
}

ul.Menu li
{
	background-position:right top;
	background-repeat: no-repeat;
	float:left;
	height:22px;
	padding:0px 25px 0px 0px;
}

ul.Menu li a
{	
	background-position:right top;
	background-repeat: no-repeat;
	display:block;
	float:left;
	height:18px;
	padding:4px 0px 0px 0px;
	white-space:nowrap;
	text-decoration:none;
}

ul.Menu li a:hover
{	
	text-decoration:none;
}

ul.Menu li.Current,
ul.Menu li.FirstCurrent{background-position:right -24px;}

ul.Menu li.LastCurrent{background-position:right -96px;}

ul.Menu li.Current a,
ul.Menu li.LastCurrent a{background-position:right -24px;}

ul.Menu li.Previous,
ul.Menu li.FirstPrevious {background-position:right -48px;}

ul.Menu li.First a,
ul.Menu li.FirstPrevious a,
ul.Menu li.FirstCurrent a{padding-left:15px;}

ul.Menu li.First a,
ul.Menu li.FirstPrevious a {background-position:left top;}
ul.Menu li.FirstCurrent a {background-position:left -24px;}

ul.Menu li.Last{background-position:right -72px;}

#Banner,
#Footer,
#Header,
#Page
{
	display:block;
	margin:0px auto;
	padding:0px 15px;
	width:770px;
}

/* Banner */
#Banner
{
	background:url('../images/banner.jpg') center;
	height:125px;
}

#Banner .Logo
{
	background-color:#A0A0A0;
 	display:block;
	position:absolute;
	height:125px;
	width:770px;
}

#Banner .Menu 
{
	position:relative;
	top:103px;
}

#Banner .Menu li
{
	background-image:url("../images/submenu_right.gif");
}

#Banner .Menu li a
{
	background-color:transparent;
	background-image:url("../images/submenu_left.gif");
	color:#505050;
}

#Banner .Menu li a:hover
{
	background-color:transparent;
	color:#000000;
}

/* Content */
#Content
{
	background-color:#FFFFFF;
	padding:10px;
}

/* Footer */
#Footer
{
	background:url('../images/footer.jpg') center;
	font-size:10px;
	height:65px;
	padding-top:10px;
	text-align:center;
}

/* Header */
#Header
{
	background:url('../images/header.jpg') center;
	height:50px;
}

#Header .Logo
{
	display:block;
	height:25px;
	left:650px;
	position:relative;
	width:105px;
}

#Header .Menu
{
	position:relative;
	top:3px;
}

#Header .Menu li
{
	background-image:url("../images/mainmenu_right.gif")
}

#Header .Menu li a
{
	background-color:transparent;
	background-image:url("../images/mainmenu_left.gif");
	color:#C0C0C0;
}

#Header .Menu li a:hover
{
	background-color:transparent;
	color:#E0E0E0;
}

/* Page */
#Page
{
	background:url('../images/page.jpg') center;
	color:#505050;
	font-family:'Trebuchet MS', sans-serif;
	font-size:12px;
}

/* SideBar */
#SideBar
{
	background-color:#FFFFFF;
	font-size:11px;
	padding:0px;
	margin:0px;
}

#SideBar h1 {font-size:18px}
#SideBar h2 {font-size:16px}
#SideBar h3 {font-size:14px}
#SideBar h4 {font-size:12px}

#SideBar .Box
{
	background:url("../images/rightbox.jpg");
	margin:0px 0px 10px 0px;
}

#SideBar .Box .Top
{
	background:url("../images/rightbox_top.jpg") top no-repeat;
}

#SideBar .Box .Bottom
{
	background:url("../images/rightbox_bottom.jpg") bottom no-repeat;
}

#SideBar .Box .Item
{
	padding-left:25px;
}