html{
    font-size: 10px;
}

html, body{
    font-family: 'Farro', sans-serif;
    font-weight: 400;
    color: #846c6a;
    min-height: 100%;
    height: 100%;
    position: relative;
    background-image: url(../img/bgline.jpg);
    background-size: 1px;
    background-color: #000000;
    background-repeat: repeat-x;
    overflow-x: hidden;
}

body:after{
    z-index: 1;
    content: "";
    position: fixed;
    background-repeat: no-repeat;
    width: 50%;
    left: 0;
    top: 0;
    bottom: 0;
    background-size: 655px;
    background-position: left top;
    background-image: url('../img/bg.jpg');
}

body{
    font-size: 1.4rem;
}

h1, h2{
    font-weight: 400;
    color: #ffffff;
    font-size: 3rem;
    font-family: 'Farro', sans-serif;
}


main{
    color: #211b0e;
    margin: 0 2rem;
}

main h1{
    margin: 2.5rem 0 4.5rem 4rem;
    position: relative;
    display: inline-block;
}

main h1:after{
    content: "";
    top: 1.5rem;
    right: -102rem;
    height: 6px;
    background: #fff;
    position: absolute;
    width: 100rem;
}

main p{
    font-family: 'Farro', sans-serif;
}

.nav > li.mobile, .mobile{
    display: none;
}

header{
    margin-top: 1rem;
}

header nav, nav.second{
    width: auto;
    float: right;
    padding: 1rem;
    font-size: 1.8rem;
    margin-top: 9rem;
    text-transform: uppercase;
}

.portrait{
    position: absolute;
    bottom: 0;
    left: 10%;
    max-width: 37%;
    z-index: 1;
    height: auto;
}

.posRe{
    position: relative;
}

header nav.first{
    position: relative;
    z-index: 2;
}

header nav.first:after{
    content: "";
    top: -15rem;
    left: 1rem;
    width: 6px;
    background: #fff;
    position: absolute;
    height: 14rem;
}

.contentPart{
    padding: 1.8rem 1rem 1rem;
    min-height: 24rem;
}

.contentPart.second p{
    color: #fff;
}

nav.second{
    position: absolute;
    left: 22%;
    bottom: 0;
    margin-top: 0;
    z-index: 2;
    overflow: hidden;
    height: 12rem;
}

nav.second .nav > li > a{
    color: #8d6f3f;
}

nav.second:after{
    content: "";
    bottom: -56rem;
    left: 1rem;
    width: 6px;
    background: #fff;
    position: absolute;
    height: 60rem;
    z-index: 2;
}

nav.white.alignRight{
    margin-top: 7.5rem;
}

nav .nav > li > a{
    padding: 0;
}

.logoOuter:after,.borderPart:after {
    content: "";
    top: 19.4rem;
    left: 0;
    width: 7rem;
    background: #fff;
    position: absolute;
    height: 6px;
}

.logo {
    margin: 5rem 0 0 8rem;
    max-width: 75%;
    display: block;
    float: left;
}

.smallNav a{
    font-size: 2.1rem;
}

.alignRight a{
    text-align: right;
}

nav.white a{
    color: #fff;
}

main nav.white a{
    padding: 0;
}

.nav.white a:hover, .nav.white a:focus, nav .active, .nav .active, body .nav a.active {
    color: #fff;
}

.content{
    position: relative;
    z-index: 2;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    overflow: hidden !important;
}

.navbar-nav{
    margin-top: 0;
}

/* FLIESSTEXT */

main p{
    font-size: 1.4rem;
}

/* UEBERSCHRIFT */

main h1{
    font-size: 3rem;    
}


/* HAUPTNAVIGATION */

.nav > li > a{
    font-size: 1.8rem;
    color: #474536;
}

.nav > li > a:hover, nav.second .nav > li > a:hover{
   color: #FFFFFF; 
}

/* SPRACHUMSCHALTER */

.smallNav a {
    font-size: 2.1rem;
}


@media(max-width: 1440px){
main p{
    font-size: 1.4rem;
}
}

@media(max-width: 1180px){
    body:after{
        background-position: right top;
    }
}

@media(max-width: 991px){

    html{
        font-size: 9px;
    }    

    .portrait{
        max-width: 34%;
        position: fixed;
    }
    
    .contentPart {
        background: #ffffff8f;
        margin-bottom: 2rem;
        box-shadow: 0 0 12px -2px rgba(0, 0, 0, 0.25);
        height: auto;
    }

    html, body{
        overflow: auto;
    }

    body:after{
        position: fixed;
    }

    header nav, nav.second{
    background: #ffffff8f;
    box-shadow: 0 0 12px -4px rgba(0, 0, 0, 0.5);
}


}


@media(max-width: 768px){
    header nav{
    width: 80%;
    margin: 0;
    float: left;
}
    
header nav .nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
}
    
.smallNav{
    position: relative;
    z-index: 3;
}
    
.nav > li.mobile, .mobile{
    display: block;
}

.logo{
    margin-bottom: 3rem;
    margin-left: 0;
}
    
header{
    margin-left: 0;
}    

header nav .alignRight a{    
    text-align: left;    
    }
    
main{
    margin-bottom: 48rem;
}

nav.second{
    display: none;
}

header nav.first:after, header nav.second:after, .logoOuter:after, .borderPart:after{
    display: none;
}

    }


@media(max-width: 560px){

main{
    margin-bottom: 50rem;
    margin: 0;
} 

main h1{
    margin: 3rem 0;
    font-size: 2rem;
} 

main h1:after{
    display: none;
}

header nav {
    width: 100%;
} 

.nav > li > a{
    font-size: 1.2rem;
}
    
}

.contentPart.second{
    margin-top: 1rem;
}



