/*
    Theme Name: DellenserviceBUSS
    Description: Theme built for "Dellenservice BUSS".
    Author: Immanuel Peratoner
    Author URI: http://immanuel-peratoner.de
    Version: 1.0

    License: WTFPL
    License URI: http://sam.zoy.org/wtfpl/
    Are You Serious? Yes.
*/

* {
    margin: 0;
    padding: 0;
}

html, body { height: 100%; }

body {
    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
}


/* Basic font styles */

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}


/* Header/Navigation layout */

header#site-header {
    position: fixed;
    z-index: 2;
}

header#site-header h1 a {
    display: block;

    text-indent: -7777px;

    width: 336px;
    height: 174px;

    margin-top: 44px;
    margin-left: 50px;

    background: url(img/logo.png);
}

header#site-header nav {
    margin-top: 107px; /* original: 110px */
}

header#site-header nav ul {
    list-style: none;
}

header#site-header nav ul li {
    margin-bottom: 3px;
}

header#site-header nav ul li a {
    display: inline-block;

    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    text-align: right;
    line-height: 1;

    padding-top: 16px;
    padding-bottom: 18px;

    padding-left: 22px;
    padding-right: 20px;

    width: 70px;

    background-color: #1f2020;
    color: #fff;

    -moz-border-radius-topright: 50px;
    -moz-border-radius-bottomright: 50px;
    -webkit-border-top-right-radius: 50px;
    -webkit-border-bottom-right-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

.active-nav-link {
    font-weight: bold;
    padding-left: 46px;
    background-color: #c9171a;
}

.inactive-nav-link {
    font-weight: normal;
    padding-left: 22px;
    background-color: #1f2020;
}

header#site-header nav ul li a:active,
header#site-header nav ul li a:focus {
    outline: 0px;
}


/* Page layout */

.window-covering-area {
    position: relative;
}

.window-covering-area,
article.page-wrapper,
article.page-wrapper .page-bg-pattern {
    width: 100%;
    height: 100%;
    min-height: 650px;
}

article.page-wrapper .page-bg-pattern {
    background: url(img/pattern.png) repeat;
}

article.page-wrapper {
    background-color: #104496;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

article.page-wrapper h2,
article.page-wrapper .page-content {
    width: 651px;
    margin-left: 359px;
}

article.page-wrapper h2 {
    font-size: 32px;

    width: 636px;
    height: 44px;

    padding-left: 15px;
    padding-top: 300px;

    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);

    background: url(img/headline_bg.png) no-repeat bottom;
}

article.page-wrapper .page-content {
    font-family: "Helvetica", "Arial", sans-serif;

    width: 619px;

    padding: 16px;
    padding-top: 18px;
    padding-bottom: 21px;

    background: rgba(255, 255, 255, 0.44);

    -moz-border-radius-bottomleft: 17px;
    -moz-border-radius-bottomright: 17px;
    -webkit-border-bottom-left-radius: 17px;
    -webkit-border-bottom-right-radius: 17px;
    border-bottom-left-radius: 17px;
    border-bottom-right-radius: 17px;
}

article.page-wrapper p {
    font-size: 13px;
    line-height: 1.4;

    padding-bottom: 15px;
}

article.page-wrapper h3 {
    font-size: 19px;
}

article.page-wrapper h3,
article.page-wrapper h4,
article.page-wrapper h5,
article.page-wrapper h6 {
    color: #194496;
    padding-bottom: 10px;
}

.window-covering-area aside {
    position: absolute;
    bottom: 0px;

    font-size: 17px;
    text-indent: 375px;

    height: 40px;
    width: 100%;

    padding-top: 19px;

    background: #104496;
    color: #fff;
}

.window-covering-area.floating-height,
.window-covering-area.floating-height article.page-wrapper,
.window-covering-area.floating-height article.page-wrapper .page-bg-pattern {
    height: auto;
    min-height: 1000px;
}
.window-covering-area.floating-height article.page-wrapper .page-bg-pattern {
    padding-bottom: 50px;
}


@media only screen and (max-height: 700px) {
    header#site-header h1 a {
        margin-top: 25px;
    }

    article.page-wrapper h2 {
        padding-top: 230px;
    }
}