/*
	Support for using tocify to create automatic table of contents from h1, h2, etc.
*/
body{
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    height: 100%;
    max-height: 100%;
}

/*
    This fixed position panel is on lhs of screen, below the framecontentTop panel.

    overflow: auto will give horizontal and vertical scrollbars when needed.

    white-space: nowrap keeps text from wrapping so that we'll get the horizontal
    scrollbar instead.

    height is size of browser window, width is fixed at 200px.
*/
#framecontentLeft{
    position: fixed;
    top: 135px;
    left: 0px;
    width: 200px; /*Width of left frame div*/
    height: 100%;
    background-color: #fff;
    overflow: auto;
    white-space: nowrap;
}

#framecontentTop{
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 135px;
    overflow: hidden; /*Disable scrollbars. Set to "scroll" to enable*/
	/*
    background-color: navy;
    color: white;
	*/
}

.maincontent{
    position: fixed;
    left: 200px; /*Set left value to WidthOfLeftFrameDiv*/
    top: 135px; /*Set top value to HeightOfTopFrameDiv*/
    right: 0;
    bottom: 0;
    overflow: auto;
    background: #fff;
}

.innertube{
    margin: 15px; /*Margins for inner DIV inside each DIV (to provide padding)*/
}

* html body{ /*IE6 hack*/
    padding: 120px 0 0 200px; /*Set value to (HeightOfTopFrameDiv 0 0 WidthOfLeftFrameDiv)*/
}

* html .maincontent{ /*IE6 hack*/
    height: 100%;
    width: 100%;
}

* html #framecontentTop{ /*IE6 hack*/
    width: 100%;
}

/*
	DIFFERENT LAYOUT, used by rawdoc decorator page.
*/
#tocdiv{
    background-color: #fff;
    overflow: auto;
    white-space: nowrap;
}


/* START: Override some tocify settings.  */
/*
    Override position:fixed and width:20%.  Instead, the div that contains the toc
    is fixed and positioned where we need it.  The full 100% of that div could be
    used by the TOC.  This won't get a vertical scrollbar unless the containing
    div has a height given it pixels, it seems.

    white-space:nowrap (with overflow:scroll) gives a horizontal scrollbar instead
    of wrapping text.

	height: 75% - if I set more than this, like 90%, vertical scroll bar won't
	scroll down to the last items.  I don't know why.
*/
#toc{
    width: 100%;
    position: relative;
    height: 75%;
    border-style: none;
}

/*
    Override display:none here works with setting showAndHide: false, to have a fully visible
    toc that doesn't expand and collapse.
*/
.tocify-subheader {
    display: inline;
}
/* END: Override some tocify settings.  */
