/*-----------------------------------------------------------------------------
layout8.css
-----------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------
general layout
-----------------------------------------------------------------------------*/
hr.clear
{
    display: block;
    visibility: hidden;
    clear: both;
    height: 0;
    margin: 0;
    padding: 0;
    line-height: 0;
}
div.clear
{
    float: left;
    clear: both;
    width: 100%;
}
div.clear:after
{
    position: relative;
    display: block;
    visibility: hidden;
    clear: both;
    content: '';
    height: 0;
    line-height: 0;
}
/*-----------------------------------------------------------------------------
layout
-----------------------------------------------------------------------------*/
body
{
    text-align: center;
}
#canvas,
#head,
#foot
{
    width: 770px;
}
#canvas
{
    position: relative;
    margin: 0 auto;
    text-align: left;
}
#head
{
    z-index: 100;
    position: absolute;
    left: 0;
    top: 0;
    padding-bottom: 40px;
    border-top: 50px solid white;
    background: url(/res/img/layout/head-white-gradient.png) left bottom repeat-x;
}
html>body #head
{
    position: fixed;
    left: 50%;
    margin-left: -385px;
}
#document
{
    position: absolute;
    left: 0;
    top: 133px;
}
#body
{
    margin-bottom: 100px;
/*background-color: #e6e6e6;*/
}
#content
{
    overflow: hidden;
    display: inline;
    float: left;
    width: 500px;
    margin-right: 40px;
    margin-left: 230px;
/*background-color: #e6e6ff;*/
}
#nav
{
    display: inline;
    float: left;
    width: 150px;
    margin-left: -730px;
    /* borde det inte vara -740 istf -690 ??? */
    /*margin-left: -690px;*/
/*background-color: #e6ffe6;*/
}
#foot
{
    clear: both;
    margin-bottom: 10px;
    border-top: 1px solid rgb(221,221,221);
    text-align: right;
}
/*-----------------------------------------------------------------------------
projects
-----------------------------------------------------------------------------*/
#body.project #content
{
    width: 350px;
}
#body.project #nav
{
    margin-left: -690px;
}
#body.project #extra-content
{
    display: inline;
    float: left;
    min-height: 1px;
    width: 110px;
    /*border-top: 1px solid red;*/
/*background-color: #ffe6e6;*/
}
/*-----------------------------------------------------------------------------
eof
-----------------------------------------------------------------------------*/

