
html { overflow: hidden; }

html, body {
     margin: 0;
     padding: 0;
     height: 100%;
}

body { margin: 5px; }

#content {
     margin-top: 5px;
     position: relative;
}

#map {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     border: 1px solid #aaa;
}

#map-wrapper {
     position: relative;
     height: 100%;
}

#sidebar {
     background: AliceBlue; 
/*     background: cyan; */
     position: absolute;
     border: 1px solid #aaa;
     top: 0;
     width: 250px;
     height: 100%;
     overflow: auto;
}

#sidebar div#boxsidebar {
     position: absolute;
     top: 0;
     width: 22px;
     height: 100%;
     left: 210px;
}

#sidebar p {
     margin: 10px;
}

#sidebar div#sidebar-list {
     list-style: none;
     padding: 0;
     margin: 0;
}

#sidebar div#sidebar-list div a{
     display: block;
     border: 1px solid #ddd;
     background: #eee;
     margin: 3px;
     font: 11px Helvetica, sans-serif;
     text-decoration: none;
     color: #444;
     height: 14px;
}


#sidebar div#sidebar-list div.current a { /* encadre */
     border: 1px solid #444;
     border-left-width: 3px;
     padding-left: 2px;
     background: DeepSkyBlue;
}

#sidebar div#sidebar-list div a:hover {
     background: cyan;
     color: #555;
}

#sidebar div#boxsidebar div.boiteCouleur  {
margin-left: 5px;
margin-top: 3px;
margin-bottom: 3px;
font-size:11px; 
position: relative; 
width: 10px; /* mouseover function related in js code*/
height: 14px; 
border: 1px solid #333;
}


body.sidebar-right #map-wrapper { margin-right: 260px; }
body.sidebar-right #sidebar { right: 0; }

body.nosidebar #map-wrapper { margin: 0; }
body.nosidebar #sidebar { display: none; }

body.sidebar-right a#button-sidebar-show,
body.nosidebar a#button-sidebar-hide { display: none; }

#toolbar {
	background: aliceblue;
/*     background: cyan;*/ 
     padding: 4px;
     border: 1px solid black;
     position: relative;
     height: 30px;
}
/* holly hack for IE to get position:bottom right 
   see: http://www.positioniseverything.net/abs_relbugs.html

/* Hides from IE-mac \*/
* html .container1 {height: 1%;}
/* End hide from IE-mac */

#toolbar div#eventname {
	position: relative;
	left: 200px;
}

#racelogo {
	position: absolute;
	left: 200px;
	top: 0px;
}

#toolbar div#eventname h1 {
     margin: 0;
     font: bold 18px Helvetica, sans-serif;
}

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

#toolbar ul#sidebar-controls {
	position: absolute;
	bottom: 5px;
	right: 5px;
}

#toolbar ul#helpcontrol {
	position: absolute;
	bottom: 5px;
	right: 60px;
}

#toolbar ul li {
     display: inline;
}

#toolbar ul li a {
     padding: 3px 6px;
     color: #444;
     text-decoration: none;
     font-size: 12px;
}

#toolbar ul li a:hover {
     color: #aaa;
     background: #444;
}

#toolbar div#horloge {
     position: absolute;
     top: 0px;
     width: 200px;
     height: 50%;
     left: 2px;
     color: #444;
     text-decoration: none;
     font: 14px Helvetica, sans-serif;
     display: inline
}

#boitel {
	position: absolute;
	left: 2px;
	width: 15px;
	height: 15px;
	background-image: url(paslive.gif);
	bottom: 2px;

}

#textboitel {
	position: absolute;
	left: 24px;
	font: 14px Helvetica, sans-serif;
	font-weight: bold;
	bottom: 2px;
}

#alert {
     position: absolute;
     top: 50%;
     left: 0;
     width: 100%;
     text-align: center;
     display: none;

}

#alert p {
     width: 100px;
     margin: 0 auto 0 auto;
     padding: 10px;
     background: black;
     border: 1px solid #aaa;
     font: 14px Helvetica, sans-serif;
     background-image: url(ajax-loader.gif);
     font-weight: bold;
     color: white;	
}

#helpm {
     position: absolute;
     top: 20%;
     left: 0;
     width: 100%;
}

#helpm p {
     width: 350px;
     margin: 0 auto 0 auto;
     padding: 5px;
     background: white;
     border: 1px solid #aaa;
     font: 12px Helvetica, sans-serif;
     color: black;
}



body.loading #alert { display: block; }
