
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body
{
    margin-right: 50px;

    background-color: #fff;
    background: url(../images/shadow.png);
    background-repeat: repeat-y;
    background-position: left top;

    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 20px;
    font-weight: 300;
}

a
{
    text-decoration: none;
    font-weight: 300;
    color: #588dce;
}


.static
{
    position: fixed;
    top: 0;
    left: 0;
    width: 310px;
    margin-right: 90px;

    text-align: right;
}

.static .arrow
{
    display: none;
    position: absolute;
    top: 100px;
    right: -45px;
    width: 50px;
    height: 70px;

    background-image: url(../images/arrow.png);
    background-repeat: no-repeat;
}

.static h1
{
    margin: 180px 0 30px 0;
    font-size: 34px;
    line-height: 1em;
    font-weight: 300;
}

.static .logo {
    display: block;
    height: 100px;
    margin-left: 10px;

    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;

    background-image: url(../images/logo.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.static h1 a
{
    color: #383838;
}

.static nav a
{
    font-size: 24px;
    font-weight: 300;
    line-height: 36px;
    color: #6d6056;
}
.static nav a:hover,
.static nav a.active
{
    color: #588dce;
}

.static nav li.top-margin
{
    margin-top: 30px;
}

.content
{
    margin-left: 400px;
}

.content h1
{
    margin: 0;
    font-size: 48px;
    font-weight: 300;
    line-height: 1em;
    color: #c9d5e2;
}

.content h1 span
{
    font-size: 20px;
    white-space: nowrap;
}

.content h2
{
    margin: 0;
    display: inline-block;
    margin-right: 30px;
}

.content h2 a
{
    color: #8e9ba9;
    font-size: 20px;
    line-height: 1em;
    outline: none;
}

.content h2 a:hover
{
    color: #588dce;
}

.content h2 a.active
{
    color: #588dce;
    border-bottom: 3px solid;
}

.content p
{
    line-height: 1.8em;
    margin: 3em 0 1em 0;
}

.content ul
{
    line-height: 2em;
    margin: 3em 0 1em 0;
}

.content p.intro
{
    margin: 0 0 2em 0;
    font-size: 18px;
}

.content .colored
{
    color: #6d6056;
    text-decoration: none;
}

.content b
{
    color: #8e9ba9;
    font-weight: bold;
    text-decoration: none;
}

.content .highlight
{
    background-color: #8e9ba9;
    color: #fff;
    text-decoration: none;
    padding: 3px 6px;
    border-radius: 3px;
    font-weight: 400;
}

.content article
{
    margin: 0 0 500px 0;
    padding-top: 50px;
    padding-bottom: 50px;
}

.content article header
{
    position: static;
}


.content #impressum p
{
    font-size: 14px;
    font-weight: normal;
    margin: 1em 0 0 0;
}

.content #impressum strong
{
    font-size: 16px;
    font-weight: normal;
}

.content #impressum h2
{
    font-size: 18px;
    font-weight: normal;
    margin: 3em 0 0 0;
}

.content .fixedheader
{
    position: fixed;
    top: 0;
    right: 0;
    left: 400px;
    padding: 50px 0 20px 0;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: none;
    margin-left: -50px;
    padding-left: 50px;
    box-shadow: 20px 5px 20px rgba(0,0,0,.1);
}

.content .fixedheader.empty
{
    visibility: hidden;
}

.content .standalone
{
    margin: 0 auto;
    xmargin-bottom: 100px;
    width: 100%;
    height: auto;
    max-width: 1200px;
}

.content .gallery
{
    margin: 100px 0 300px 0;
}

.content .gallery a
{
    display: block;
    float: left;
    margin: 0 20px 20px 0;
    cursor: pointer;
}

.content .gallery a img
{
    border: 10px solid #fdfdfd;
    box-shadow: 0px 3px 20px rgba(0,0,0,.05);

    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

.content .gallery a img:hover,
.content .gallery a img:focus
{
    box-shadow: 0px 3px 30px rgba(0,0,0,.15);
    -webkit-transform: translate(0, -3px);
}











@media screen and (max-width: 1200px)
{

    body
    {
        margin-right: 20px;
        background-position: -70px top;
    }

    .static
    {
        width: 240px;
    }

    .content
    {
        margin-left: 330px;
    }

    .content .fixedheader
    {
        left: 330px;
    }
}


@media screen and (max-height: 600px)
{

    .static h1
    {
        margin-top: 50px;
    }

}

















