html { overflow: hidden; }

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

body {
     margin-left:auto;
     margin-right:auto; 
       
}

#container {
	width: 760px;
	padding-left: 5px;
	padding-right: 5px;
	margin: 0 auto;
	background: #fafafa;
	}

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

#map {
     position: absolute;
     top: 0;
     left: 0;
     width:100%;
     height: 100%;
}

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

#sidebar {
     position: absolute;
     border: 1px solid #aaa;
     top: 0;
     width: 24%;
     height: 100%;
     overflow: auto;
}

#sidebar p {
     margin: 10px;
}

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

#sidebar ul#sidebar-list li a {
     display: block;
     border: 1px solid #ddd;
     background: #eee;
     margin: 5px;
     padding: 4px;
     font: 12px Helvetica, sans-serif;
     text-decoration: none;
     color: #444;
}

#sidebar ul#sidebar-list li.current a {
     border: 1px solid #444;
     border-left-width: 3px;
     padding-left: 2px;
}

#sidebar ul#sidebar-list li a:hover {
     background: white;
     color: #555;
}

#sidebar ul#sidebar-list li a strong {
     display: block;
}
#sidebar ul#sidebar-list li a span {
     font-style: italic;
     font-size: 12px;
}
.tooltip{
        border: 1px solid #000;
	background-color: #FFF;
	padding: 3px 6px;
	white-space: nowrap;
        font: bold 12px Helvetica, sans-serif;
}

body.sidebar-right #map-wrapper { margin-right: 25%; }
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 {
     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;
}

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

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

#toolbar ul#Filters {
	display: inline;
}

#toolbar ul li {
     display: inline;
}

#toolbar ul li a {
     padding: 2px 4px;
     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: 150px;
     margin: 0 auto 0 auto;
     padding: 10px;
     background: white;
     border: 1px solid #aaa;
}

body.loading #alert { display: block; }

#header {
	height: 100px;
	background: url(qbok_header_a.png);
	color: #fff;
        border-top: 2px solid #cc0;
	border-bottom: 2px solid #cc0;
	}
#header h1 {
	border: 0;
	color: #fff;
	margin: 0;
	padding: 0;
	padding-top: 30px;
	text-align: center;
	}
.logo {text-align: center;}

#footer {
        clear: both;
        position: absolute;
        bottom: 0;
        height: 60px;
        width: 760px;
	background: url(qbok_footer_a.png);
	color: #fff;
	border-bottom: 2px solid #cc0;
        border-top: 2px solid #cc0;
        z-index:100;
	}

#footer p {
        text-align: center;
        color: #444;
        font-family: Arial, Helvetica, sans-serif;
        }

.box {
    background: url(boxbg.gif);
    border: 1px dotted #AAA;
    margin:40px;
    padding-left:5px;
    }
.horline {
    background: url(horline.gif) no-repeat;
    height: 24px;
    margin-top: 16px;
    margin-bottom: 16px;
    margin-left: 70px;
   }
/* Links
-------------------------- */
a, a:link, a:active {
	color: #333;
	border-bottom: 1px solid #cc0;
	text-decoration: none;
	}
a:hover {
	color: #333;
	border-bottom: 1px solid #508e0f;
	}
#header h1 a, #header h1 a:link, #header h1 a:visited {
	border: 0;
	color: #fff;
	}
#header a:hover {
	background: none;
	}
#footer a, #footer a:link, #footer a:active {
	// color: #fff;
        color: #eee;
	border-bottom: 1px solid #ddd;
	text-decoration: none;
	}
#footer a:hover {
	background: #ffc;
	color: #eee;
	border-bottom: 1px solid #333;
	}

/* style features
-------------------------- */
#nav {
	border-bottom: 2px solid #cc0;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 110%;
	padding-top: 5px;
	padding-bottom: 5px;
	background: transparent url(bg.jpg) 0 -30px;
	text-align: center;
	}

#nav ul {
	margin: 0;
	padding: 0;
	}

#nav li {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline;
	}

#nav li a {
	padding: 5px 10px 5px 10px;
	margin-bottom: 0;
	border: 0;
	color: #eee;
	}

#nav li a:hover {
	background: transparent url(bg.jpg) bottom left;
	color: #fff;
	border-bottom: 5px solid #cc0;
	}

#nav li.here a:hover {
	background: #693;
	color: #fff;
	}

#nav li.here a {
	background: #693;
	color: #fff;
	}
