/*************************
 *  CORE SETUP
 *************************/

* {
  margin: 0;
  padding: 0;
  
}

html {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 100.01%;
}

a {
font-family:Verdana, Arial, Helvetica, sans-serif;
  text-decoration: none;
  color: blue;
}
a:hover {
font-family:Verdana, Arial, Helvetica, sans-serif;
  text-decoration: underline;
}
p, h1, h2, h3, h4, ul {
  margin-bottom: 0.6em;
  font-family:Verdana, Arial, Helvetica, sans-serif;
}
p {
  margin-bottom: 1em;
}
ul, ol {
  margin-left: 20px;
  margin-bottom: 0.6em;
}
h1 { font-size: 1.7em; font-family:Verdana, Arial, Helvetica, sans-serif}
h2 { font-size: 1.5em; }
h3 { font-size: 1.3em; }
h4 { font-size: 1.1em; }
p { font-size: 1em; }

body {
  background: #fff;
  margin: 5px auto 5px auto;
  font-size: 0.81em;
  width: 1100px;
  background: #f0f0f0;
}

#ddm {
  border: solid 1px #5db99a;
  background: #fff;
  margin: 0 10px 10px 10px;
}



/*************************
 *  HEADER
 *************************/

#header {
font-family:Verdana, Arial, Helvetica, sans-serif;
	background-color:#FFFFFF
  overflow: hidden;
}

#header h1 {
font-family:Verdana, Arial, Helvetica, sans-serif;
color:#666666;
  font-size: 2.2em;
  text-align: center;
  padding: 15px 10px 15px 0px;
  margin: 0;
}
#header h4 {
	font-size:1em;
	color:#333333;
	text-align:center;
}

#header h1 a {
  text-decoration: none;
  color: #333333;
}

#usermenu {
  float: right;
  padding: 7px;
  text-align: right;
  font-weight: bold;
  color: #ccc;
}

#usermenu a {
  font-weight: normal;
  color: #fff;
}

.user a {
  color: #0a0;
}



/*************************
 *  TOP MENU
 *************************/

#menu {
  background: #5eb99b;
}

#menulinks {
  padding: 5px;
  margin-left: 180px;
}

#menulinks a {
  margin-right: 14px;
  color: #fff;
}

#markets {
  float: left;
  padding-top: 6px;
  width: 170px;
  text-align: right;
}

#markets img {
  margin-left: 8px;
}

/*************************
 *  Rapid Menu
 *************************/
 
#rapid_menu a {
   text-decoration: none;
}

#rapid_menu a:hover /* Quand le visiteur pointe sur le lien */
{
   text-decoration: underline; /* Le lien deviendra souligné quand on pointera dessus */
}

#rapid_menu a img /* Toutes les images contenues dans un lien */
{
   border: none; /* Pas de bordure */
}

#rapid_menu table /* Le tableau en lui-même */
{
   margin: auto; /* Centre le tableau */
}

#rapid_menu td /* Les cellules normales */
{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 1em;
	color:#FFFFFF;
  	text-align: left;
   	padding: 5px; 
}

#rapid_menu .navoff a { 
	color : #FFFFFF;
	font-style:normal;
}


#rapid_menu td.navon {
background-color: #0f94b1;
cursor: hand}

#rapid_menu td.navoff {
background-color: #5db99a;
cursor: hand}

#rapid_menu .navoff a:hover
{
	text-decoration:none;
} 

#rapid_menu .navon a:hover
{
	text-decoration:none;
	color:#333333;
	font-style:normal;
} 

/*************************
 *  OFFERS LEFT
 *************************/

#offers {
  float: left;
  width: 180px;
  text-align: left;
  overflow: hidden;
}

#offers ul {
  list-style-type: none;
  padding: 1;
  margin: 1;
}

#offers li {
  padding-bottom: 10px;
}

#offers a {
	color:#333333;
}

#logo {
  float: left;
  padding-top: 6px;
  position:static;
  width: 170px;
}

/*************************
 *  SPONSORS RIGHT
 *************************/

#sponsors {
  float: right;
  width: 170px;
  padding: 10px 10px 0 0;
  text-align: right;
  overflow: hidden;
}

#sponsors h3 {
text-align:center;
}

#sponsors ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#sponsors li {
  padding-bottom: 10px;
}
#sponsors img {
  border:0;
}




/*************************
 *  CONTENT
 *************************/

#content {
	font-family:Verdana, Arial, Helvetica, sans-serif;
	margin: 0 180px 0 180px;
	padding: 10px 0 10px 10px;
	border-left: solid 1px #5eb99b;
	border-right: solid 1px #5eb99b;
	min-height: 442px;
	height: auto !important;
	height: 442px;
}

#content h2{
	text-align:center
}


/*************************
 *  FOOTER
 *************************/

#footer {
  background: #5eb99b;
  color: #fff;
  clear: both;
  padding: 5px;
  text-align: center;
  font-size: 0.8em;
}

#footer a {
  color: #fff;
}




/*************************
 *  SEARCH and RESULT
 *************************/

#search td {
  vertical-align: top;
}

#search select {
  width: 200px;
}

#search .txt {
  width: 200px;
}

#search .radio {
  margin-left: 10px;
}

#search label {
  font-weight: bold;
}

#results {
  padding-top: 10px;
}

.resultrow {
  margin-bottom: 10px;
  border-bottom: solid 1px #bbb;
}

.resultrow h3 {
  padding: 0;
  margin: 0;
}

.resultrow h3 a {
  color: #00a;
}

.resultextra td {
  font-size: 0.85em;
}

.resultextratitle {
  font-weight: bold;
  text-align: right;
  padding-right: 4px;
}

.resultrowmeta {
  background: #f7f7f7;
  margin-top: 10px;
  font-size: 0.85em;
  padding: 4px;
}

.nowrap {
  white-space: nowrap;
}



/*************************
 *  MAP
 *************************/

#map {
  float: right;
  width: 240px;
  height: 240px;
  border: solid 1px #555;
  margin: 0 0 10px 10px;
}



/* Admin Bar */
#adminbar {
display: block ! important;
position: absolute;
top: 0;
left: 0;
right: 0;
}
#adminbar {
padding: 0.5em 0.5em 0.5em 0.5em;
background: url(/images/blackalpha.png);
color: #ffffff;
position: fixed;
top: 0;

left: 0;
right: 0;
border-bottom: 2px solid #ffffff;
margin-left: 0;
margin-right: 0;
width: auto;
font-size: 0.9em;
z-index: 332;
}
#adminbar * {
margin: 0;
padding: 0;
}
#adminbar h2 {
display: none ! important;
}
#adminbar #adminusername {
margin: 0;
padding: 0;
float: right;
}
#adminbar ul {
margin: 0;
padding: 0;
list-style: none;
}
#adminbar ul li {
display: inline ! important;
margin-right: 0.5em;
white-space: nowrap;
}
#adminbar a {
color: #ffffff;
background: inherit;
}

/* Datagrids */
.datagrid {
border-collapse: collapse;
border: 1px solid #000000;
}
.datagrid thead, .datagrid thead tr, .datagrid thead tr th, .datagrid thead tr th a {
	background: #000055;
	color: #ffffff;
	font-weight: bold;
}
.datagrid thead tr th, .datagrid tbody tr td {
	padding: 4px;
	white-space: nowrap;
}
.datagrid tbody tr.even, .datagrid tbody tr.even td {
	background: #ffffff;
}
.datagrid tbody tr.odd, .datagrid tbody tr.odd td {
	background: #eeeeee;
}
.datagrid thead a.sortedD, .datagrid thead a.sortedA {
	background-repeat: no-repeat;
	background-position: right center;
	padding-right: 8px;
}
.datagrid thead a.sortedD {
	background-image: url(../images/arrow-up.gif);
}
.datagrid thead a.sortedA {
	background-image: url(../images/arrow-down.gif);
}

.pager {
	margin-top: 5px;
}
.pager a, .pager .deadlink {
	padding: 4px;
	color: #ffffff;
}
.pager a {
	background: #000055;
}
.pager a.active {
	font-weight: bold;
}
.pager .deadlink {
	background: #aaaaaa;
}

/* Forms */

.formcontrol-forms-TabularKeyValueLayout table {
	border-collapse: collapse;
}
.formcontrol-forms-TabularKeyValueLayout th {
	text-align: left;
	padding-right: 1em;
}
.formcontrol-forms-TabularKeyValueLayout th, .formcontrol-forms-TabularKeyValueLayout td, .formcontrol-forms-TabularKeyValueLayout tr {
	vertical-align: top;
}
.formcontrol-forms-TabularKeyValueLayout tr.requiredfield th {
	background-image: url(../images/requiredfield.gif);
	background-repeat: no-repeat;
	background-position: 100% 7px;
}

/* Firefox gets a bit freaked out by these, so let's give it a hand. */
.formcontrol-forms-HTMLDisplayControl {
	width: 750px;
	margin-bottom: 15px;
}

/* You need to set inline first before inline-block, otherwise IE6 just ignores inline-block completely. Go figure! */
* html form .formcontrolcontainer { display: inline; }
* html form .formcontrolcontainer { display: inline-block; }

form .errormessage {
	color: #000055;
	font-style: italic;
}
