/* general styles */

body { font-family: sans-serif; font-size: .8em; }

code { font-size: 1.2em; font-weight: bold; }

/* Highlighting */

.hash {
    font-style: italic;
    background: #a5daa5;
}

#top-link {
    font-style: normal;
    font-weight: bold;
    padding-left: 5px;
}


/* images */
img {
    border: 1px solid gray;
    padding: 5px;
    margin: 10px;
}


/* links */

a {
    color: blue;
    text-decoration: none;
}

a:hover { text-decoration: underline; }

.external {
    background: url("images/external.png") no-repeat scroll right center transparent;
    padding-right: 13px;
}


/* table styles */
table {
    background: #eee;
    border-collapse:collapse;
}

td, th {
    border: 1px solid black;
    padding: .3em;
}

tr {
    background: #aaa;
}

td {
    background: #eee;
}

th:first-child { width:auto; }

th { width: 3em; }


/* styles for the fancy image map (window.html) */

.image-map {
    border:1px solid gray;
    padding: 10px;
    margin: 10px;
}

.image-map img {
    border: none;
    margin: 0;
    padding: 0;
}

.image-map a {
    position:absolute;
    width:100%;
    height:100%;
    border:1px solid red;
    background: #fee;
    /* opacity = 15% */
    opacity: .15;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=15)";
    filter: alpha(opacity=15);
}

.image-map.focused a:hover{
    /* opacity = 70% */
    opacity: .7;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
    filter: alpha(opacity=70);
}

.image-map.focused a {
    background: #fee;
    border:1px solid red;
    /* opacity = 30% */
    opacity: .4;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
    filter: alpha(opacity=40);
}


/* navigation styles */


#nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    padding: 5px;
    overflow: auto;

}

#content {
    position: absolute;
    top: 10px;
    left: 310px;
    padding-left: 40px;
    border-left: 1px solid black;
}

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

#nav ul {
    white-space: nowrap;
    list-style: none;
    padding-left: 1em;
    margin: 0;
}

#nav li {
    margin: 2px;
}

#nav li div {
    display: inline-block;
    width: 1em;
    cursor: pointer;
    /* This make IE display as inline-block */
    zoom: 1;
    *display: inline;
}

#nav li div.collapsed {
    background: url("images/arrow-collapsed.png") no-repeat scroll left center transparent;
}

#nav li div.expanded {
    background: url("images/arrow-expanded.png") no-repeat scroll left center transparent;
}

#nav .hash {
    padding: 1px;
    background: none;
    border: 2px solid #a5daa5;
}