
html{
    height:100%;
    min-height:100%;
    }

body{
    min-height:100%;
    background-color: #302f2f;
}

body, h3, h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 1em;
    line-height: 1.2em;
}

h2, h3{
    margin: 0px;
    padding-bottom: 0;
    }

p, ul, li, div, nav{
    padding:0;
    margin:0;
}

p {
    margin-bottom: 20px;
}

p:before {
  zoom: 1;
}
p:before,
p:after {
  content: "";
  display: table;
}
p:after {
  clear: both;
}



ul{
    list-style-type: disc;
    padding: 0px 0px 0px 20px;
    margin: 0px 0px 0px 0px;
}
*, *:before, *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.textwrapper a {
    text-decoration: underline;
}

/*
#bg-image {
    z-index: -1;
}
*/

.page-template-page-projects-php .wp-post-image {
    margin-bottom: 0;
}

.projekttext{
    display: none;
    cursor: pointer;
}


#main-content .wrapper{
    /*
        padding: 10px;
    */
    background-color: #302f2f;
    color: #fff;
}

#main-content .wrapper .textwrapper{
    margin: 10px;
    padding: 10px 0px 10px 0px;
}

#main-content .wrapper .textwrapper p:last-child,
#main-content .wrapper .textwrapper ul:last-child {
    margin-bottom: 0;
}

.wp-post-image, .projektbild, .beitext{
    width: 200px;
    float: left;
    margin: 0 20px 20px 0;
}

.karte {
    width: 100%;
}

.portraitbild img, .projektbild img, .burger img {
    width: 100%;
}

.beitext h2,
.beitext h3{
    margin: 0;
    padding: 0;
}

.textwrapper{
    clear: both;
    overflow: hidden;
}

.textwrapper ul {
    margin-bottom: 30px;
}



#subtitle-bottom .subtitle{
    line-height: 30px;
    color: #fff;
    height: 30px;
    text-transform: lowercase;
}



.imgsquare{
    font-size: 30px;
    line-height: 30px;
}

.imgsquare a{
    background-color: #302f2f;
    display: block;
    float: left;
    width: 30px;
    margin: 0px 0px 5px 5px;
}

.imgsquare a:hover{
    background-color: #fff;
}

.imgsquare a:active{
    background-color: #fff;
}

#navi-title a{
    display: block;
    text-decoration: none;
}

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

    .desktop{
        display: none !important;
    }
    
    body > .wrapper {
        /*padding-top: 60px;*/
    }
/*
    #bg-image {
        display: visible;
        background-image:url("img/bg0046.jpg");
        width: 100%;
        height: 100%;
        background-size: cover;
        background-attachment: fixed;
        -webkit-background-size: cover;
        background-size: cover;
        position: fixed;
        top: 0px;
        left: 0px;
        background-position: 0px 0px;
        background-repeat: no-repeat no-repeat;
        z-index: -1;
    }
*/

    .projektbild, .beitext{
        width: 100%;
    }

    .beitext250r{
        padding-top: 10px;
    }

    .burger{
        /*font-size: 3em;
        color: #302f2f;*/
        width: 50px;
        cursor: pointer;
    }



    #navi-title{
        font-size: 2em;
        position: fixed;
        z-index: 100;
        max-width: 70%;
        margin: 20px 0px 0px 30%;
        color: #302f2f;
    }

    #navi-subtitle{
        font-size: 1em;
        position: fixed;
        max-width: 70%;
        margin: 60px 0px 0px 30%;
        z-index: 200;
        text-transform: lowercase;
    }

    .subtitle{
        font-size: 1.2em;
        color: #302f2f;
    }

    #main-content{
        width: 90%;
        margin: 0 auto;
        padding-top: 90px;
    }

    #subtitle-bottom{
        width: 90%;
        margin: 0 auto;
    }
    #navi-container {
        z-index: 50;
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        min-height: 85px;
        background-color: #fff;
        padding: 20px 0px 0px 5%;
    }

    #navi-container{
        font-size: 1.2em;
        line-height: 1.7em;
    }
    .parent-menu{
        margin: 40px 0px 20px 0px;
        text-transform: lowercase;

    }
    .parent-menu li a:hover{
        background-color: #302f2f;
        color: #fff;
    }

    .parent-menu li a{
        display: block;
        padding-left: 5px;
    }

    .parent-menu{
        margin-left: 5px;
    }

    .parent-menu{
        display: none;
    }

    #navi-img{
        position: fixed;
        height: 30px;
        margin: 20px 0px 5px 0px;
        bottom: 75px;
    }

    #subtitle-bottom{
        position: fixed;
        width: 90%;
        margin: 0 auto;
        height: 60px;
        background-color: #302f2f;
        padding: 5px;
        bottom: 10px;
    }

    #subtitle-bottom .subtitle{
        font-size: 1em;
        line-height: 1.2em;
    }

}

@media only screen and (min-width: 768px){

    #main-content, #subtitle-bottom{
        width: 70%;
        margin: 0 auto;
    }

    .projektbild, .beitext{
        width: 45%;
    }

    #navi-container {
        /*
        z-index: 50;
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        padding: 20px 0px 0px 15%;
        */
    }
}

@media only screen and (min-width: 1024px){

    .desktop{
        display: inline !important;
    }

    body > .wrapper {
        padding-top: 140px;
    }

    .projektbild, .beitext{
        width: 45%;
    }

    .beitext250l{
        float: left;
        min-width: 235px;
        width: 45%;
    }


    .beitext250r{
        min-width: 235px;
        width: 45%;
        float: right;
        padding-top: 0px;
    }

    .subtitle{
        color: #fff;
    }

    .burger{
        display: none;
    }

    .parent-menu{
        display: inline;
    }

    #main-content{
        position: relative;
        margin-top: 120px;
        margin-left: 480px;
        padding: 0px;
        width: 500px;
        overflow: hidden;
    }


    #navi-title {
        position: fixed;
        margin: 0px;
        top: 100px;
        left: 0px;
        width: 400px;
        height: 75px;
        font-size: 3em;
        line-height: 70px;
        padding: 0px 0px 0px 20px;
        color: #fff;
        background-color: #302f2f;
    }

    #navi-subtitle {
        position: relative;
        margin-top: 0;
        margin-left: 500px;
        width: 200px;
        height: 30px;
    }


    #navi-container {
        /*
        position: relative;
        margin-top: 300px;
        margin-left: 0px;
        overflow: auto;
        z-index:2;
        width: 400px;
        height: 350px;
        padding: 0px;
        background-color: transparent;
        */
        position: fixed;
        top: 300px;
        left: 0px;
        z-index:2;
        width: 200px;
        padding: 0px;
        background-color: transparent;
    }

    .parent-menu {
        min-width:200px;
        margin: 0px;
        float:left;
    }

    #navi-container ul{
        list-style-type:none;
    }

    #navi-container ul li{
        line-height: 30px;
        margin-bottom: 10px;
        background-color: #302f2f; 
    }


    #navi-container ul li a{
        padding: 0px 0px 0px 40px;
        display: block !important;
        color: #fff;
        text-decoration: none;
    }

    #navi-container ul li > ul li{
        color:#302f2f;
        background-color:#fff;
        margin-left: 10px;
    }

    #navi-container ul li > ul li a{
        color:#302f2f;
    }

    #navi-container ul li a:hover{
        background-color: #fff;
        color: #302f2f;
    }


    #navi-container ul li > ul li a:hover
    {
        background-color: #302f2f;
        color: #fff;
    }

    #navi-container ul li:hover > ul {
        left: 200px;
        -webkit-transition: left 200ms ease-in;
        -moz-transition: left 200ms ease-in;
        -ms-transition: left 200ms ease-in;
        transition: left 200ms ease-in;
    }

    #navi-container ul li > ul {
        position: absolute;
        margin-top:-30px;
        left: -200px;
        min-width: 200px;
        z-index: -1;
        height: 100%;
        -webkit-transition: left 200ms ease-in;
        -moz-transition: left 200ms ease-in;
        -ms-transition: left 200ms ease-in;
        transition: left 200ms ease-in;
    }

    #navi-img{
        position: fixed;
        height: 30px;
        margin: 20px 0px 5px 0px;
        bottom: 75px;
    }

    #subtitle-bottom{
        position: fixed;
        width: 500px;
        height: 60px;
        background-color: #302f2f;
        padding: 0px 10px 0px 10px;
        bottom: 10px;
    }


}
