﻿/* CSS Document */

html { overflow: hidden; }

html, body {
     margin: 0;
     padding: 0;
     height: 100%;
}

body { margin: 10px; }

#content {
     margin-top: 10px;
     position: relative;
}

#map {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     border: 1px solid #aaa;
}

#map-wrapper {
     position: relative;
     height: 100%;
}

#sidebar {
     position: absolute;
     border: 1px solid #aaa;
     top: 0;
     width: 320px;
     height: 100%;
     overflow: auto;
}

#sidebar #titre {
	text-align: center;
	background: #FFF9DD;
	font: bold 1em "Helvetica", sans-serif;
}

h1{
	font: 1em Helvetica, sans-serif;
}

#sidebar ul#sidebar-list {
     list-style: url(puce.gif) none;
}

#sidebar ul#sidebar-list li a {
	display: block;
	font: 12px Helvetica, sans-serif;
	text-decoration: none;
	color: #000;
}

#sidebar ul#sidebar-list li a:hover {
     background: #FFE1E1;
     color: #000000;
}

#sidebar ul#sidebar-list li.current a {
     background: #E7FFCE;
     color: #000000;
}

#sidebar ul#sidebar-list li.current a:hover {
     background: #E7FFCE;
     color: #000000;
}

#sidebar ul#sidebar-list li a strong {
     display: block;
}
#sidebar ul#sidebar-list li a span {
     font-style: italic;
     font-size: 11px;
}

body.sidebar-right #map-wrapper { margin-right: 330px; }
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: white;
     padding: 4px;
     border: 1px solid black;
     position: relative;
}
/* holly hack for IE to get position:bottom right 
   see: http://www.positioniseverything.net/abs_relbugs.html
\*/

* html #toolbar { height: 1px; }
/* */

#toolbar 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 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;
}

#alert {
     position: absolute;
     top: 50%;
     left: 0;
     width: 100%;
     text-align: center;   
     display: none;
}

#alert p {
     width: 180px;
     margin: 0 auto 0 auto;
     padding: 10px;
     background: #eee;
     border: 1px solid #fff;
}

body.loading #alert { display: block; }