#burgernav,#burgericon{
    visibility: hidden;
}
#logo, #mainnav, #burgericon, #burgernav{
    pointer-events: all;
}
#two > .rspnsv-bx > .rfrnc{
    max-width: 600px;
}
.breaks{
    display: none;
}
#smallelems{
    display:none;
}
#five > .rspnsv-bx > .rfrnc.md-2:not(.pic),#six > .rspnsv-bx > .rfrnc.md-2:not(.pic),#seven > .rspnsv-bx > .rfrnc.md-2:not(.pic){
    max-width: 600px;
    flex:1 0 34%;
}
#nine > .rspnsv-bx > .md-2.plain {
    padding-bottom: 160px;
}
a.button{
    margin-top: 25px;
}
#Dataprotectiontext{
    display: inline-block;
    max-width: 55%;
}
@media only screen and (min-width: 1600px){
    #wave-upper{
        background-position-y: -110px;
        background-size: cover;
        height:fit-content;
    }
}
@media only screen and (min-width: 1280px){
    .pic.secelem-pic{
        top:50px !important;
    }
}
@media only screen and (min-width: 1024px) and (max-width: 1700px) {
    #Schallschutz > .rspnsv-bx > .service > a.button{
        margin-top: calc(200px - 9vw) !important;
    }
}
@media only screen and (min-width: 1500px) and (max-width: 1600px) {
    #Bauakustik > .rspnsv-bx > .service > a.button{
        margin-top: calc(500px - 30vw) !important;
    }
}
@media only screen and (min-width: 1160px) and (max-width: 1500px) {
    #Bauakustik > .rspnsv-bx > .service > a.button{
        margin-top: calc(200px - 10vw) !important;
    }
}
@media only screen and (min-width: 1024px) and (max-width: 1160px) {
    #Bauakustik > .rspnsv-bx > .service > a.button{
        margin-top: calc(200px - 9vw) !important;
    }
}
@media only screen and (min-width: 1724px) and (max-width: 1758px) {
    #Bauakustik > .rspnsv-bx > .service > a.button{
        margin-top: 40px !important;
    }
}
@media only screen and (min-width: 1759px) and (max-width: 1796px) {
    #Bauakustik > .rspnsv-bx > .service > a.button{
        margin-top: 70px !important;
    }
}
@media only screen and (min-width: 1797px) and (max-width: 1843px) {
    #Bauakustik > .rspnsv-bx > .service > a.button{
        margin-top: 90px !important;
    }
}
@media only screen and (min-width: 1844px) {
    #Bauakustik > .rspnsv-bx > .service > a.button{
        margin-top: 100px !important;
    }
}
@media only screen and (min-width: 1260px) and (max-width: 1340px) {
    #wave-upper{
        background-size: cover;
        height:fit-content;
        background-position-y: -75px ;
    }
    #burgericon{
        right:8vw !important;
    }
    #burgernav{
        right:8vw !important;
    }
}
@media only screen and (min-width: 1340px) and (max-width: 1400px) {
    #wave-upper{
        background-size: contain;
        height:fit-content;
        background-position-y: -75px ;
    }
}
@media only screen and (min-width: 1400px) and (max-width: 1600px) {
    #wave-upper{
        background-size: contain;
        height:fit-content;
        background-position-y: -90px ;
    }
    #mainnav{
        right:8vw !important;
    }
}
@media only screen and (min-width: 1600px) and (max-width: 1920px) {
    #wave-upper{
        background-size: contain;
        height:fit-content;
        background-position-y: -6vw ;
    }
    #mainnav{
        right: 10vw !important;
    }
}
@media only screen and (min-width: 1920px) and (max-width: 2500px) {
    #wave-upper{
        background-size: contain;
        height:fit-content;
        background-position-y: -6vw ;
    }    
    #mainnav{
        right: 11vw !important;
    }
}
@media only screen and (min-width: 2500px){
    #wave-upper{
        background-size: cover;
        height:fit-content;
        background-position-y: -6vw ;
    }      
    #mainnav{
        right: 15vw !important;
    }
}
@media only screen and (min-width: 666px) and (max-width:1220px) {
    #one,#two,#three, #four, #five, #six, #seven, #eight, #nine, #ten, #Laermschutz, #Schallschutz, #Bauakustik, #Raumakustik{
        height:fit-content;
    }    
}
@media only screen and (min-width: 666px) and (max-width:1280px) {
    nav#mainnav{
        min-width: 590px;
    }
    #wave-upper{
        background-size: auto;
        height:fit-content;
        background-position-y: -110px ;
    }
    #burgericon{
        right:8vw !important;
    }
    #burgernav{
        right:8vw !important;
    }
}
@media only screen and (min-width: 520px){
    #burgericon{
        top:40px !important;
    }
    #burgernav{
        top:79px !important;
    }
}
@media only screen and (min-width: 666px) and (max-width:1024px) {
    #wave-hldr{
        display:none;
    }
    #five, #six, #seven{
        width: auto;
        padding-left: 5vw;
        padding-right: 5vw;
    }
    #Laermschutz, #Schallschutz, #Bauakustik, #Raumakustik{
        width: auto;
        padding-left: 15vw;
        padding-right: 15vw;
    }
    #five > .md-2-bx > .rfrnc.md-2, #six > .md-2-bx > .rfrnc.md-2, #seven > .md-2-bx > .rfrnc.md-2, #eight > .md-2-bx > .rfrnc.md-2{
        flex: 0 0 45vw;
    }
    #five > .md-2-bx > .plain.pic, #six > .md-2-bx > .plain.pic, #seven > .md-2-bx > .plain.pic{
        width:30vw;
        height:30vw;
        flex: 0 0 30vw;
        background-size: cover;
        background-position-x: -70px ;
        top:calc(100px - 8vw) !important;
    }    
    #eight > .md-2-bx > .plain.pic{
        width:30vw;
        height:30vw;
        flex: 0 0 30vw;
        background-size: cover;
        background-position-x: -40px ;
        top:calc(100px - 8vw) !important;
    }
    .rfrnc{
        flex:0 0 60%;
        margin:5px auto;
    }
    .rfrnc.md-2{
        flex:0 0 70%;
    }
    .md-2-bx > .pic{
        top:0px !important;
    }
    #smallelems{
        display: block;
        padding:0;
    }
    #firstrow, #secondrow{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        width: auto;
        margin-bottom: 40px;
    }
    .smallcircles{
        width:36vw;
        height:36vw;
        max-width: 170px;
        max-height: 170px;
        background-color: white;
        border:1px solid #bbb;
        border-radius: 50%;
        box-shadow: 0 0 10px -2px #666;
    }
    #smallfirst{ 
        background-image: url(img/SchallschutzMauer.jpg) ;
        background-size: cover;
    }
    #smallsecond{ 
        background-image: url(img/SchallschutzWand.jpg) ;
        background-position: -35px 5px;
        background-size: cover;
        background-repeat: no-repeat;
    }
    #smallthird{ 
        background-image: url(img/SchallschutzDDkdr.jpg) ;
        background-size: cover;
    }
    #smallfourth{ 
        background-image: url(img/SchallschutzAuditorium.jpg) ;
        background-position: -30px 0px;
        background-size: cover;
    }
    #modalheader1{
        background-image: url(img/SchallschutzMauer.jpg) ;
    }
    #modalheader2{
        background-image: url(img/SchallschutzWand.jpg) ;
    }
    #modalheader3{
        background-image: url(img/SchallschutzDDkdr.jpg) ;
        background-position: 90px -15px;
    }
    #modalheader4{
        background-image: url(img/SchallschutzAuditorium.jpg) ;
        background-position: 0px -50px;
    }
    .circlelabels{
        margin-top: 105%;
    }
    #two > .rspnsv-bx > .rfrnc{
        flex:0 0 40%;
        justify-content: center;
    }
    .breaks{
        display: block;
        width:100%;
        height:25px;
    }
    #three > .md-2{
        width: 60%;
    }
    #three > .adress{
        margin-left: 10%;
    }
}
@media only screen and (min-width: 960px) and (max-width:1160px) {
    nav#mainnav{
        min-width: 590px;
        margin-left: -150px;
    }
}
@media only screen and (max-width: 1340px) {
    #menuicon{
        width:160px;
        border-radius: 5px;
        border:1px solid lightskyblue;
    }
    #burgericon{
        visibility: visible;
        top: 70px;
        display: inline-block;
        position: absolute;
        right: 5vw;      
        z-index: 1005;  
    }
    #burgernav{
        padding:15px 20px 15px 0;
        background-color: #f5f5f5;
        visibility: hidden;
        display: block;
        z-index: 1000;
        position:absolute;
        top:109px;
        right:5vw;
        border-radius: 10px 0px 10px 10px;        
        border: 1px solid lightskyblue;
    }
    ul#smallnav{
        list-style-type: none;
    }
    nav#burgernav a{
    	cursor:pointer;
    	text-decoration:none;
    	transition:1s all ease;
    	color: #5e5c5c;
    }
    nav#burgernav a:hover, navburgernav a:active{
    	color:#448ccd;
    	transition:0.2s all ease;
    }
    nav#burgernav li{
        color: #8e9399;
        font-size: 18px;
        padding:0 20px;
        margin-top:10px;
        margin-right: 15px;
    }
    nav#mainnav{
        display: none;
    }
}
@media only screen and (min-width: 240px) and (max-width: 360px){
    .circlelabels{
        margin-left: -1.5vw;
    }
    a.button{
        font-size: smaller !important;
    }
}
@media only screen and (max-width: 240px){
    #firstrow, #secondrow{
        justify-content: space-around !important;
    }
    .circlelabels{
        margin-left: -4vw;
    }    
    a.button{
        font-size: smaller !important;
    }
}
@media only screen and (max-width: 280px){
    *{
        font-size: small !important;
    }
    #Dataprotectiontext{
        max-width: 75% !important;
    }
}
@media only screen and (max-width: 666px) {    
    input[type=submit]{
        width:100% !important;
    }
    .breaks{
        display: block;
        width:100%;
        height:25px;
    }
    #Dataprotectiontext{
        display: inline-block;
        max-width: 85%;
    }
    #wave-upper{
        height:100px;
        background-position: 0px -110px;
    }
    #smallelems{
        display: block;
        padding:0;
    }
    #firstrow, #secondrow{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        width: auto;
        margin-bottom: 40px;
    }
    .smallcircles{
        width:25vw;
        height:25vw;
        max-width: 170px;
        max-height: 170px;
        background-color: white;
        border:1px solid #bbb;
        border-radius: 50%;
        box-shadow: 0 0 10px -2px #666;
    }
    #smallfirst{ 
        background-image: url(img/SchallschutzMauer.jpg) ;
        background-size: cover;
    }
    #smallsecond{ 
        background-image: url(img/SchallschutzWand.jpg) ;
        background-position: -35px 5px;
        background-size: cover;
        background-repeat: no-repeat;
    }
    #smallthird{ 
        background-image: url(img/SchallschutzDDkdr.jpg) ;
        background-size: cover;
    }
    #smallfourth{ 
        background-image: url(img/SchallschutzAuditorium.jpg) ;
        background-position: -30px 0px;
        background-size: cover;
    }
    #modalheader1{
        background-image: url(img/SchallschutzMauer.jpg) ;
    }
    #modalheader2{
        background-image: url(img/SchallschutzWand.jpg) ;
    }
    #modalheader3{
        background-image: url(img/SchallschutzDDkdr.jpg) ;
        background-position: 0px -15px;
    }
    #modalheader4{
        background-image: url(img/SchallschutzAuditorium.jpg) ;
    }
    .circlelabels{
        margin-top: 105%;
    }
    #logo{
        padding-left: 20px;
    }
    #logo > img{
        max-width:70vw;
        max-height:90px;
    }
    #what-is-noise, #noise-sick, #noise-protection{
        width:50vw;
        height:50vw;
        background-size: cover;
    }
    #what-is-noise{
        background-position-x: -110px ;
    }
    #about-me{        
        background-size: cover;
        width:60vw;
        height:60vw;
        margin-top: 0;
        top:0;
    }
    #wave-hldr{
        display:none;
    }
    #one{
        padding-top: 140px;
        padding-left:8vw;
        padding-right: 8vw;
        width:-webkit-fill-available;
        width:-moz-available;
        width: fill-available;
        height:auto;
        min-height:100px;
    }
    #two,#five{
        padding-top: 120px;
        height: fit-content;
    }
    #three{
        padding-top: 100px;
        width:82%;
        padding-left: 9%;
        padding-right: 9%;
    }
    #eight,#ten{
        padding-top:60px;
        padding-bottom:130px;
    }
    #three, #four, #five, #six, #seven, #eight, #nine, #ten, #Laermschutz, #Schallschutz, #Bauakustik, #Raumakustik{
        height: fit-content;
    }
    #Laermschutz, #Schallschutz, #Bauakustik, #Raumakustik, #six, #seven{
        padding-top: 110px;
    }
    .rfrnc{
        flex:0 0 75%;
        margin:5px auto;
    }
    .rfrnc.md-2{
        flex:0 0 75%;
    }
    .md-2-bx > .pic{
        top:0px !important;
    }
    .darken{
        background-color: rgba(255,255,255, 0.9);
        transition-duration: 300ms;
    }
    .md-2{
        display: block;
        width:auto;
    }
    .form-td > label{
        display: block;
        width:auto;
    }
    .round > label{
        margin-left: auto !important;
    }
    .form-td > input:not(#submit){
        display: block;
        width:100%;
    }
    .form-td > textarea{
        width:100%;
    }
    #dataprotectionpolicy{
        display: none;
    }
    section.horiz{
        background-size: 20vh;
        background-position: 44% 10px;
    }
}

.modal {
    display: none;
    position: fixed; 
    z-index: 1001;
    padding-top: 10vh; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4);
}      
.modal-content {
    text-align: left;
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0px;
    border: 1px solid #888;
    width: 90%;
    border-radius: 12px;
    max-height: 88vh;
    max-width: 480px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
}
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}
@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}
.close {
    color: grey;
    float: right;
    font-size: 35px;
    margin-top: 10px;
    font-weight: bold;
}      
.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}      
.modal-header {
    padding: 2px 16px;
    height:200px;
    border-radius: 10px 10px 0 0;
    background-repeat: no-repeat;
    background-size: cover;
}      
.modal-body {padding: 2px 16px;}      
.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}
.innermodalcontent{
    max-height: calc(88vh - 200px);
    padding:5vh 5vw;
    overflow-y:auto;
}
#eight,#ten{
    padding-bottom:130px;
}