/*
    @project bernardi.ch
    @media   all
    @browser all
    @version all
    @author  urs.beyeler@superspace.ch
    @date    23.12.2009
*/

/* OVERRIDES */

body
{
    font-family: Helvetica, Arial, Verdana, sans;
    font-size: 75%;
    line-height: 140%;
    letter-spacing: 0.015em;
    margin: 0;
    padding: 0;
    background: url(images/grid.gif);
}

p
{
    margin: 0 0 0.25em 0;
}

p a
{
    color: #464646;
    text-decoration: none;
    border-bottom: 1px solid #464646;
}

p a:hover
{
    background-color: #FFF;
}

h1
{
    color: #007ABF;
    font-weight: normal;
    font-size: 145%;
    margin: 0 0 0.5em 0;
    line-height: 130%;
}

h3
{
    color: #007BC0;
    font-size: 110%;
    margin: 0.75em 0 0.25em 0;
}

h4
{
    font-size: 100%;
    margin-top: 0.75em;
    margin-bottom: 0.25em;
}

blockquote
{
    color: #007BC0;
    margin: 1em 4em 1em 2em;
    line-height: 125%;
    font-size: 110%;
    border-top: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
    padding-top: 10px;
}

#footer ul li.active a,
#footer ul li a:hover,
#content-navigation ul li.active a,
#content-navigation ul li a:hover,
#header ul li.active a,
#header ul li a:hover
{
    color: #007ABF;
    border-bottom: 1px solid #007ABF ! important;
    background: #FFF;
}

#footer ul li a,
#content-navigation ul li a,
#header ul li a
{
    color: #464646;
    border-bottom: 1px solid #464646;
    text-decoration: none;
    background: #FFF;
}

/* LAYOUT */

#wrapper
{
}

#header
{
    margin-left: 84px;
    width: 590px;
    height: 84px;
}

#body
{
    clear: both;
    width: 728px;
}

#home #body
{
    width: auto;
}

#left-column
{
    float: left;
    width: 224px;
    margin-top: 84px;
}

#right-column
{
    float: right;
    width: 168px;
}

#content
{
    margin-left: 226px;
    width: 310px;
    padding: 8px 12px;
    min-height: 458px;
    background: #EDEDED;
}

#footer
{
    clear: both;
    margin-left: 84px;
    width: 590px;
    padding-top: 15px;
}

/* HEADER */

a#logo
{
    display: block;
    width: 224px;
    margin-top: 30px;
    height: 40px;
    background: url(images/logo.gif) no-repeat;
    float: left;
}

/* ---- IMAGE-STREAM ---- */

#image-stream
{
    left: 562px;
    width: 600px;
    position: fixed;
}

#stream-item-01
{
    margin-top: 56px;
}

#stream-item-02
{
    margin-top: 28px;
}

#full-image-stream
{
    width: 2868px;
    height: 400px;
    position: absolute;
    margin-left: 0;
}

#full-image-stream #navigation
{
    position: absolute;
    top: 254px;
}

.stream-item
{
    float: left;
    border-right: 2px solid #FFF;
    border-bottom: 2px solid #FFF;
    overflow: hidden;
    position: relative;
}

#stream-group-2 .stream-item
{
    float: right;
}

#stream-group-2
{
    margin-top: 28px;
}

.stream-group
{
    width: 956px;
    float: left;
}

.item-0
{
    margin-top: 84px;
    width: 224px;
    height: 168px;
}

.item-1
{
    margin-top: 56px;
    width: 194px;
    height: 278px;
}

.item-2
{
    margin-top: 28px;
    width: 240px;
    height: 166px;
}

.item-3
{
    width: 290px;
    height: 194px;
}

.item-4
{
    width: 168px;
    height: 194px;
}

.item-5
{
    width: 362px;
    height: 252px;
}

#address
{
    margin-left: 592px;
    position: absolute;
    top: 448px;
}

#address p
{
    background: #FFF;
    display: inline;
}

.news
{
    background: #DEDEDE;
    height: 100%;
    width: 100%;
    padding: 5px;
}

.news h4
{
    font-weight: normal;
    margin: 0;
}

.news h2
{
    font-size: 120%;
    margin-top: 0.25em;
    margin-bottom: 0.25em;
    color: #007BC0;
}

news p
{
    margin: 0;
}

/* NAVIGATION */

#left-column img
{
    border-bottom: 2px solid #FFF;
    vertical-align: top;
}

#navigation
{
    margin-left: 84px;
}

#navigation ul
{
    list-style: None;
    margin: 0;
    padding: 0;
}

#navigation ul li
{
    margin: 0;
    padding: 0;
}

#navigation ul li a
{
    display: block;
    width: 132px;
    height: 18px;
    background: #666;
    color: #FFF;
    padding: 6px 4px 4px 4px;
    text-decoration: none;
    font-size: 100%;
}

#navigation ul li a:hover
{
    background: #007ABF;
}

#navigation ul li.active a,
#navigation ul li.active a:hover
{
    background: #EDEDED;
    color: #007ABF;
}

#navigation ul li ul
{
    margin: 4px 0;
}

#navigation ul li ul li
{
    padding: 4px 8px 4px 0;
}

#navigation ul li.active ul li a
{
    padding: 0;
    display: inline;
    border-bottom: 1px solid #464646;
    background: #FFF;
    color: #464646;
}

#navigation ul li.active ul li.active a,
#navigation ul li.active ul li a:hover
{
    background: #FFF;
    color: #007ABF;
    border-bottom: 1px solid #007ABF;
}


/* HEADER-NAVIGATION */

#header ul
{
    font-size: 90%;
    float: right;
    list-style: none;
    margin: 0 0.5em 0 0;
    padding: 0.2em 0 0 0;
}

#header ul li
{
    display: inline;
    border-right: 1px solid #000;
    padding-right: 0.5em;
    margin-right: 0.3em;
}

#header ul li.last
{
    border: none;
    padding: 0;
    margin: 0;
}

/* CONTENT-NAVIGATION */

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

#content-navigation ul li
{
    padding: 0;
    margin: 0 0 6px 4px;
}

/* FOOTER-NAVIGATION */

#footer
{
    font-size: 80%;
}

#home #footer
{
    position: relative;
    top: 570px;
}

#footer ul
{
    float: right;
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer ul li
{
    display: inline;
    border-right: 1px solid #000;
    padding-right: 0.5em;
    margin-right: 0.3em;
}

#footer ul li.last
{
    border: none;
    padding: 0;
    margin: 0;
}

/* ---- SLIDING TEXT ---- */

.underlay
{
    position: absolute;
    top: 0;
}

.overlay
{
    top: 0;
    position: absolute;
    background-image: url(images/transparent.png);
    width: 100%;
}

.overlay h3
{
    margin: 5px;
    font-size: 100%;
    color: #333;
}

.overlay p
{
    margin: 0 5px 5px 5px;
}

/* ---- FORMS ---- */

.field
{
    clear: both;
    margin: 10px 0;
}

fieldset
{
    margin: 5px 0;
    padding: 0;
    border: None;
}

.field label
{
    display: block;
    width: 150px;
    float: left;
}

.field label.required
{
    color: red;
}

.field input,
.field textarea
{
    background: #FFF;
    border: 1px solid #999;
    width: 250px;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 100%;
    padding: 4px;
}

.checkbox
{
    margin: 5px 0;
    clear: both;
}


