/******* globals *************************/
html { 
    padding:0;
    margin:0;
}
body { 
    padding:0;
    margin:0;
    font-size: 14px;
    text-decoration: none;
    color:#666;
}
.editslideshow{
    background: white;
    margin: 0 auto;
    height: auto;
}
.editslideshow h3{
    margin-left: 12px;
}
#titelbild{
    height: 440px;
    overflow: hidden;
}
#titelbild img{
    height: 100%;
    object-fit: cover;
}
header img {
    vertical-align: central;
}

h3{
    color: #8e725c;
    font-family: Oswald;
    font-size: 24px;
    line-height: 34px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}
h4 {
    color: #fff;
    font-family: Oswald;
    font-size: 18px;
    text-transform: uppercase;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: -24px;
}
p {
    color: #3d3d3d;
    font-family: Oswald;
    font-size: 18px;
    line-height: 25px;
    font-style: normal;
    font-weight: 200;
    letter-spacing: .2px;

}
.content p{
    float: right;
    width: 541px;
    margin-top: -6px;
    /*margin-top: 0px;*/
}
.content {
    width: 100%;
    float: right;
}
.content img{
    float: right;
    margin-right: 40px;
}
a, a:visited, a:link, a:active {
    font-family: 'Oswald', sans-serif;
    text-decoration:none;
    color: #8e725c;
    font-size: 23px;
}
a:hover {
    text-decoration:underline;
}
/******* page *************************/
header{
    background: #5e4b3c;
    width: 100%;
    z-index: 900;
    position: fixed;
}

#title{
    width: 250px;
    float: right;
    margin: 10px 20px 0 0;
}
#imagebar{
    background: #5e4b3c;
}
.center{
    width: 1080px;
    margin: auto;
    overflow: hidden;
}
nav{
    background: #5e4b3c;
}
main{
    padding-bottom: 50px;
}
#navigation {
    position: static;    
    margin-top: -76px;
}
#navigation ul {
    padding: 0 0 0 7px;
    margin: 23px 0;
    float: right;
}
#navigation ul:after {
    clear: both;
    content: " ";
    display: block;
    font-size: 0;
    height: 0;
    visibility: hidden;
}
#navigation ul li{
    list-style: none;
    float:left;
}
#navigation ul li a, #navigation ul li a:link, #navigation ul li a:visited, #navigation ul li a:active {
    transition: 200ms;
    transition-timing-function: ease-in-out;
    -webkit-transition: 200ms;
    -webkit-transition-timing-function: ease-in-out;
    text-decoration: none;
    display: block;
    color: #ffffff;
    font-weight: 400;
    padding: 6px 13px 6px 13px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#navigation ul li a.selected {
    color: #ac8b71 !important;
}
#navigation ul li li a, #navigation ul li li a:link, #navigation ul li li a:visited, #navigation ul li li a:active {
    padding: 5px 0 5px 0;
    font-size: 16px;
    width: 240px;
    color: #666666;
}

#navigation ul li:hover a, #navigation ul li:hover a.selected {
    color: #ac8b71;
}
#navigation ul li li a.selected, #navigation ul li:hover li a.selected {
    font-weight: 700;
}

#navigation ul li:hover li a {
}

#navigation ul li:hover > ul {
    visibility: visible;
}

#navigation ul li ul{
    display: inline;
    visibility: hidden;
    position: absolute;
    padding:10px 0 10px 20px;
}

#navigation ul li ul li{
    float: none;
}

#navigation ul li ul li a:hover{
    color: #333;
}

#footer h5 {
    color: #fff;
    font-family: Oswald;
    font-size: 16px;
    line-height: 28px;
    text-transform: none;
    font-style: normal;
    font-weight: 300;
    letter-spacing: 0;
}

#footer{
    padding: 20px;
    background-color: #41352D;
    height: 200px;
}

#footer .center div{
    float: left;
    margin-right: 9%;
    color: #fff;
}
#footer .center img{
    margin-top: 28px;
}


#footer a{
    transition: 200ms;
    transition-timing-function: ease-in-out;
    -webkit-transition: 200ms;
    -webkit-transition-timing-function: ease-in-out;
    text-decoration: none;
    /*display: block;*/
    color: #fff;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0px;
    text-transform: lowercase;
}

#footer a:hover{
    color: #ac8b71;
}

footer{
    background:#5e4b3c;
    padding: 20px 0;
}



footer a, footer a:visited, footer a:link, footer a:active {
    color: #ccc;
    margin-right: 20px;
    font-size: 8pt;

}

/******* items *************************/
.mod1item1 {
    overflow: hidden;
    margin:79px 0 30px 0;
    min-height: 50px;
    width: 100%
}
.mod1item7 {
    overflow: hidden;
    width: calc(100%/3);
    float: left ;
}
.mod1item5 {
    overflow: hidden;
    margin:79px 0 30px 0;
}
.mod1item2{
    width: 196px;
    margin: 10px;
    float: left;
}
.mod1item2 img{
    width: 200px;
}
.ne_items img{
    max-width: 400px;

}
.mod1item3 {
    margin: 0;
    overflow: hidden;
}
.mod1item1 {
    overflow:hidden;
    min-height: 20px;
    display: inline-flex;
}


#menubutton {
    position: absolute;
    left: 20px;
    top: 10px;
    font-size: 40px;
    display: none;
    color: #fff;
}
.map{
    margin: 40px 0 0 0;
    height: 400px;
    width: 100%;
    margin-bottom: -30px;
    z-index: 1000;
}
.map iframe{
    height: 400px;
    width: calc(100%/3*2);
    margin-top: -16px;
    z-index: 1000;
}
.slideshow-container {
    height: 30vw;
    min-height: 250px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center; 
}
@media only screen and (min-width: 1081px){
    .inner{
        padding-top: 76px;
    }
    #logo{ float: left; margin: 15px 0px; margin-left: 8px; }
    h1{
        color: #8e725c;
        font-family: Oswald;
        font-weight: 900;
        letter-spacing: 1.5px;
        font-size: 36px;
        line-height: 1.2em;
        text-transform: uppercase;
    }
    h2{
        margin: 0;
        text-transform: uppercase;
        color: #8e725c;
        font-family: Oswald;
        font-size: 33px;
        font-style: normal;
        font-weight: 900;
        letter-spacing: 1.5px;
    }
    /* Slideshow container */
    .title_picture {
        padding-top: 111px;
        position: relative;
        width: 1080px;
        margin: 0 auto;

        overflow: hidden;
        z-index: 800;
    }
    .title_picture h2{
        color: #f2f2f2;
        font-size: 75px;
    }
    .box_right{
        margin: 0px 141px;
        width: 400px;
        float: right;
        position: relative;
    }

    .left{
        margin: 0 30px;
        width: 100%;
        float: left;
        position: relative;
    }
    .mod1item4 {
        margin: 0px 110px 0px ;
    }
    .mod1item5 {
        margin: 0px 110px 0px ;
    }
    .profile{
        width: 400px;
        float: left;
        margin-left: 30px;
    }
    .profile p{
        font-size: 24px;
    }
    .content img{
        margin-top: -58px;
    }
}

@media only screen and (max-width: 1080px){
    .inner{
        padding-top: 100px;
    }
    #logo{
        float: right;
        margin: 15px 0px;
        margin-right: 20px;

    }
    h1{
        color: #8e725c;
        font-family: Oswald;
        font-weight: 900;
        letter-spacing: 1.5px;
        font-size: 28pt;
        line-height: 1.2em;
        text-transform: uppercase;
    }
    h2{
        margin: 0;
        text-transform: uppercase;
        color: #8e725c;
        font-family: Oswald;
        font-size: 33px;
        font-style: normal;
        font-weight: 900;
        letter-spacing: 1.5px;
    }
    footer a img{
        margin-left: 50px;
    }
    .mod1item4 {
        margin: 80px 10% -16px ;
    }
    .title_picture {
        padding-top: 111px;
        padding-left: 50px;
        position: relative;
        width: 100%;
        margin: 0 auto;
        overflow: hidden;
        z-index: 800;
    }
    .title_picture h2{
        color: #f2f2f2;
        font-size: 75px;
    }
    .center{
        width: 100%;
    }
    .box_right{ 
        margin: 0px 141px;
        width: 400px;
        float: right;
        position: relative;
    }
    .content p{
        float: right;
        width: 541px;
    }
    .content {
        width: 100%;
        float: right;
    }
    .content img{
        float: right;
        margin-right: 0;
        width: 100%;
        max-width: 539px;
    }
    .box_left{
        margin: 50px 50px;
        margin-left: 10%;
        width: 400px;
        float: left;
        position: relative;
    }

    #menubutton {
        display: block;
    }
    header{
        background: #765b4b;
        height: 100px;
    }
    #navigation{
        bottom: initial;
        top:160px;
        z-index: 1000;
        left: 0;
        right: initial;
        display: none;
        position: absolute;
        width: 235px;
    }
    #navigation ul {
        margin: 16px 0;
    }
    #navigation ul:after, #footer_nav ul:after {
        clear: none;
    }
    #navigation ul li{
        list-style: none;
        float:none;
        display: block;
    }
    #navigation ul li a, #navigation ul li a:link, #navigation ul li a:visited, #navigation ul li a:active {

        text-decoration: none;
        display: block;
        background: #ffffff;
        font-weight: 400;
        padding: 2px 13px 2px 13px;
        font-size: 20px;
        color: #333;

    }

    #navigation ul li:hover a, #navigation ul li:hover a.selected {
        transition: 1000ms;
        transition-timing-function: ease-in-out;
        -webkit-transition: 1000ms;
        -webkit-transition-timing-function: ease-in-out;
    }
    #navigation ul li a.selected {
        background: #fff;
    }
    #navigation ul li ul{
        display: block;
        visibility:visible;
        position: relative;
        padding:0 10px 10px 10px;
        background: #ffffff;
        box-shadow: none;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
    }
    #navigation ul li li a, #navigation ul li li a:link, #navigation ul li li a:visited, #navigation ul li li a:active {
        padding: 2px 13px 2px 23px;
        width: auto;
    }
    #navigation ul li li a:hover {
        background: #e5e5e5;
    }

    #footer h5 {
        color: #fff;
        font-family: Oswald;
        font-size: 16px;
        line-height: 28px;
        text-transform: none;
        font-style: normal;
        font-weight: 300;
        letter-spacing: 0;
    }
    #footer{
        padding: 50px;
        background-color: #41352D;
        height: 430px;
    }
    #footer .center div{
        float: none;
        margin-bottom: 10px;
        color: #fff;
    }
    #footer .center img{   
        margin-bottom: 12px;
        width: 375px;
        float: none;
        height: 100%;

    }
    .mod1item3{display: block; flex-direction: column;  margin: 20px; width: 90%;}
    .content_left , .content_right{display: block; width: 100%; text-align: center; margin: 0 auto;}
    .left{margin: 34px;}
    .mod1item1{display: flex; flex-direction: column;  }
}
@media only screen and (max-width: 880px){
    .title_picture {
        overflow: hidden;
        padding-top: 101px;
    }
    .title_picture h2 {
        font-size: 42px;
    }
    h1{
        font-size: 32pt;
    }

}
@media only screen and (max-width: 640px){
    .title_picture {
        padding-top: 35px;
    }
    .title_picture h2{
        font-size: 35px;
    }

    .box_right{
        margin: 0px 0;
        width: 100%;
        float: none;
        display: inline-block;
        position: relative;
    }
    .box_left{
        margin: 0;
        width: 100%;
        float: none;
        display: inline-block;
        position: relative;
    }
    #footer .center img{   
        margin: 0 auto;
        width: 98%;
        float: none;
        height: 100%;
        max-width: 375px;


    }
    .content p{
        float: right;
        width: 100%;
    }
    .content {
        width: 100%;
        float: right;
    }
    .content img{
        float: right;
        margin-right: 0;
        width: 100%;
        max-width: 100%;
    }
}
@media only screen and (max-width: 520px){
    h1{
        font-size: 24pt;
    }

}
@media only screen and (max-width: 430px){

    #title {
        width: 150px;
        margin-right: 5px;
    }
    h2 {
        color: #8e725c;
        font-family: Oswald;
        font-size: 33px;
        font-style: normal;
        font-weight: 700;
        letter-spacing: 1.5px;
    }
    .title_picture {
        padding-top: 30px;
    }

    .title_picture h2{
        font-size: 28px; 

        margin-left: -32px;
    }
    #footer .center img{   
        margin: 0 auto;
        width: 222px;
        float: none;

    }
}

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

    #logo{
        position: absolute;
        left: 75px;
    }
    .title_picture center{
        overflow: hidden;
        position: absolute;
    }
}

.cover .ne_items{
    margin: 0;
}
/** {box-sizing: border-box;}*/
.mySlides {display: none;}


/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* The dots/bullets/indicators */
.dot {
    height: 1vw;
    width: 1vw;
    min-height: 10px;
    min-width: 10px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dots_container{
    position: absolute;
    bottom: 5px;
    right: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(50%);
}

.active {
    background-color: #717171;
}

/* Fading animation */
.fade {
    -webkit-animation: fadeinout 5s linear forwards;
    animation: fadeinout 5s linear forwards;
    position: relative;
    z-index: -100;
}

@-webkit-keyframes fadeinout {
    0%,100% { opacity: 0; }
    20%,80% { opacity: 1; }
}

@keyframes fadeinout {
    0%,100% { opacity: 0; }
    20%,80% { opacity: 1; }
}


/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {

    .text {font-size: 11px}
}