/*
NOTES: 
- topbar height and sidebar top must have the same value: the topbar's bottom must touch the sidebar's top.
- topbar width must be great enough to extend beyond any screen width (1000pt is merely a big round number; it needn't be exactly that).
- sidebar height must be great enough to extend below any screen height (1000pt is merely a big round number; it needn't be exactly that).
- body margin-left must be equal to sidebar width.
- body margin-top must be equal to topbar height + body_vertspaceabove height.
- footer margin-left must be equal to body margin-left
*/

@media screen {
    #topbar  {position:fixed; left:0; top:0; height:40pt; width:3000pt; 
        margin-top:0; margin-left:0; padding:0; border-top:1px solid gray; border-bottom:1px solid gray; border-top:0;}
    
    #sidebar {position:fixed; left:0; top:40pt; height:2000pt; width:100pt; margin-top:0; padding:0; margin-left:0; 
        border-right:1px solid gray; border-top:1px solid gray;}

    #sidebar_hidden_scriptless_links_area {position:fixed; left:0; top:2001pt; height:500pt; width:100pt; display:none;}
    #sidebar_hidden_scriptless_links_area * {font-size:10pt;margin-top:0;margin-bottom:0;}
    
    #sidebar_hidden_area {position:fixed; left:0; top:2001pt; height:500pt; width:100pt; display:none;}
    #sidebar_hidden_area * {font-size:10pt;margin-top:0;margin-bottom:0;}
    
    #sidebar_sitehomepage_linktocontentidx {position:fixed; left:0; top:2501pt; height:20pt; width:100pt; display:none;}
    #sidebar_sitehomepage_linktocontentidx * {font-size:10pt;margin-top:0;margin-bottom:0;}
    
    #body_vertspaceabove {position:fixed; left:100pt; top:40pt; width:1000pt; height:10pt; 
        background-color:white; border-top:1px solid gray; border-left:1px solid gray; background-color:white;}
    
    #body {margin-top:50pt; margin-left: 104pt; max-width:500pt; }
    #body_sans_topsidebars {}

}

@media print {
    #topbar                {width:0;height:0;display:none;}
    #sidebar                {width:0;height:0;display:none;}
    #body_vertspaceabove    {width:0;height:0;display:none;}
}

