html, body {
	width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    font-family: 'Roboto', sans-serif;
    background-color: #f6f6f6;
    color: #ffffff;
}

h1 {
    line-height: 28px;
	font-size: 24px;
    font-style:normal;
    font-weight:normal;
    margin-top: 50px;
    margin-bottom: -15px;
}

h2 {
    line-height: 28px;
	font-size: 24px;
    font-style:normal;
    font-weight:normal;
    margin-top: 50px;
    margin-bottom: -15px;
}

p {
    line-height: 25px;
	font-size: 18px;
    font-style:normal;
    font-weight:normal;
    margin-bottom: -15px;
}

a:link { color:#2a6ae3; text-decoration: none; }
a:visited  {color:#2a6ae3; text-decoration: none; }
a:active { color:#2a6ae3; text-decoration: none; }
a:hover  {color:#ffffff; text-decoration: none; }

#msg{
    position: fixed;
    top:10px;
    left:10px;
    display: none;
}

#main{
    margin: auto;
    width: 100%;
    max-width: 1200px;
    height: auto;
}

nav{
    position: relative;
    z-index: 100;
    float: left;
    width: 100%;
    max-width: 900px;
    height: 100px;
    padding-left: 12px;
    z-index: 1;
}

nav ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li{
    width: auto;
    float: left;
    text-align: left;
    padding-top: 50px;
    margin-right: 20px;
    color: #2a6ae3;
    cursor: pointer;
}

.logo{
    width: 200px;
    height: auto;
}

#adresse{
    position: absolute;
    top: 100px;
    left: 800px;
    width: 400px;
    height: 575px;
    padding: 20px;
    background-color: #f6f6f6;
}

#adresse p{
    color: #000000;
}

#map{
    position: relative;
    top: 40px;
    left: -10px;
}

#map iframe{
    width: 760px;
    height: 565px;
}

#Firma, #Referenzen, #Kompetenzen, #Kontakt{
    display: none;
}

#home{
    margin: auto;
    width: 100%;
    max-width: 1200px;
    height: inherit;
}

.spacer{
    width: 100%;
    height: 25px;
    float: left;
}

.ref_01{
    width: calc(66.666% - 20px);
    height: auto;
    margin: 10px;
    float: left;
}

.ref_02{
    width: calc(33.333% - 20px);
    height: auto;
    margin: 10px;
    float: left;
}

.ref_03{
    width: calc(33.333% - 20px);
    height: auto;
    margin: 10px;
    float: right;
}

.ref_04{
    width: 220px;
    height: auto;
    margin-top: 25px;
    margin-right: 20px;
    float: left;
    
}

.ref_05{
    width: auto;
    height: 200%;    
}

.ref_06{
    width: 100%;
    height: auto;
    position: relative;
    top: 0px;
    left: 0px;
}

#Firma, #Kompetenzen, #Kontakt{
    position: absolute;
    top: 0px;
    left: 50%;
    width: 800px;
    margin-left: -590px;
    display: none;
    z-index: 101;
}

#Firma .content, #Kompetenzen .content, #Kontakt .content{
    padding-top: 70px;
    padding-left: 10px;
    padding-right: 100px;
}

#Firma .close, #Kompetenzen .close, #Kontakt .close{
    position: absolute;
    left:680px;
    top:50px;
    cursor: pointer;
    
}

#BG_Overlay{
    position: absolute;
    top: 0px;
    left: 50%;
    width: 800px;
    height: 275.5%;
    margin-left: -610px;
    display: none;
    background-color: #2a6ae3;
    mix-blend-mode: multiply;
    z-index: 100;
}

#BG_Overlay2{
    position: absolute;
    top: 0px;
    left: 50%;
    width: 800px;
    height: 275.5%;
    margin-left: -610px;
    display: none;
    background-color: rgba(246,246,246,0.7);
    z-index: 99;
}

#Schachtleitern_Tabelle{
    width: calc(100% - 245px);
    height: auto;
    margin-top: 20px;
    float: left;
}

.row_01{
    width: calc(33% - 6px);
    height: 20px;
    float: left;
    padding: 3px;
}

.row_02{
    width: calc(33% - 6px);
    height: 20px;
    float: left;
    padding: 3px;
}

.row_03{
    width: calc(33% - 6px);
    height: 20px;
    float: left;
    padding: 3px;
}

.dark{
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}

.frist{
    border-bottom: 1px solid #ffffff;
}

ul{
    list-style-type: circle;
    margin: 0;
    padding: 0;
    margin-top: 20px;
    float: left;
    width: 50%;
}

ul li{
    width: auto;
    text-align: left;
    padding-top: 10px;
    margin-left: 20px;
}

#footer{
    height: 50px;
    width: calc(100% - 20px);
    background-color: #2a6ae3;
    float: left;
    position: relative;
    top: -15px;
    left: 10px;
    overflow: hidden;
}

#footertext{
    text-align: right; 
    margin-top: -90px;
    margin-right: 20px;
    font-size: 12px;
}

#LogoElement{
    width: calc(33.333% - 20px);
    height: auto;
    margin: 10px;
    float: left;
    overflow: hidden;
}

#LogoElementText{
    position: relative;
    top: -80px;
    left: 20px;
    height: 60px;
    margin-bottom: -80px;
}

#LogoElementText a{
    color: #ffffff;
}

#LogoElementText p{
    font-size: 16px;
    line-height: 20px;
}

@media screen and (max-width: 1200px) {
    
    #BG_Overlay{
        position: absolute;
        top: 0px;
        left: 0px;
        width: 65.7%;
        height: 269%;
        margin-left: 0px;
        display: none;
        background-color: #2a6ae3;
        mix-blend-mode: multiply;
        z-index: 100;
    }

    #BG_Overlay2{
        position: absolute;
        top: 0px;
        left: 0px;
        width: 65.7%;
        height: 269%;
        margin-left: 0px;
        display: none;
        background-color: rgba(246,246,246,0.7);
        z-index: 99;
    }
    
    #Firma, #Kompetenzen, #Kontakt{
        position: absolute;
        top: 0px;
        left: 0px;
        width: 67.7%;
        margin-left: 0px;
        display: none;
        z-index: 101;
    }
    
    #Firma .close, #Kompetenzen .close, #Kontakt .close{
        position: absolute;
        left:77%;
        top:50px;
        cursor: pointer;

    }
    
    #Firma .content, #Kompetenzen .content, #Kontakt .content{
        padding-top: 70px;
        padding-left: 20px;
        padding-right: 50px;
    }
    
    .frist{
        height: 40px;
        border-bottom: 1px solid #ffffff;
    }
    
    .ref_04{
        width: 180px;
        height: auto;
        margin-top: 25px;
        margin-right: 20px;
        float: left;

    }
    
    #Schachtleitern_Tabelle{
        width: calc(100% - 205px);
        height: auto;
        margin-top: 20px;
        float: left;
    }
    
    #adresse{
        position: absolute;
        top: 100px;
        left: 97.1%;
        width: 47%;
        height: 730px;
        padding: 15px;
        background-color: #f6f6f6;
        overflow: hidden;
    }

    #map{
        position: relative;
        top: 41px;
        left: -9px;
    }

    #map iframe{
        width: 103%;
        height: 400px;
    }

}

/* for 480px or less */
@media screen and (max-width: 750px) {
    
    h1 {
        line-height: 25px;
        font-size: 22px;
        font-style:normal;
        font-weight:normal;
        margin-top: 50px;
        margin-bottom: -15px;
    }

    p {
        line-height: 22px;
        font-size: 16px;
        font-style:normal;
        font-weight:normal;
        margin-bottom: -15px;
    }
    
    .ref_04{
        width: 130px;
        height: auto;
        margin-top: 25px;
        margin-right: 20px;
        float: left;

    }
    
    #Schachtleitern_Tabelle{
        width: calc(100% - 155px);
        height: auto;
        margin-top: 20px;
        float: left;
    }
    
    #BG_Overlay{
        position: absolute;
        top: 0px;
        left: 0px;
        width: 65.7%;
        height: calc(400% - 80px);
        margin-left: 0px;
        display: none;
        background-color: #2a6ae3;
        mix-blend-mode: multiply;
        z-index: 100;
    }

    #BG_Overlay2{
        position: absolute;
        top: 0px;
        left: 0px;
        width: 65.7%;
        height: calc(400% - 80px);
        margin-left: 0px;
        display: none;
        background-color: rgba(246,246,246,0.7);
        z-index: 99;
    }
}

/* for 480px or less */
@media screen and (max-width: 480px) {

    nav{
        position: relative;
        z-index: 100;
        float: left;
        width: 100%;
        max-width: 600px;
        height: 50px;
        padding-left: 0px;
        z-index: 1;
    }
    

    nav ul{
         width: 100%;
        margin-left: -5px;
    }

    nav ul li{
        width: auto;
        float: left;
        text-align: left;
        padding-top: 15px;
        margin-right: 20px;
        color: #2a6ae3;
        cursor: pointer;
    }

    .ref_01{
        width: calc(100% - 20px);
        height: auto;
        margin: 10px;
        float: left;
    }

    .ref_02{
        width: calc(100% - 20px);
        height: auto;
        margin: 10px;
        float: left;
    }

    .ref_03{
        width: calc(100% - 20px);
        height: auto;
        margin: 10px;
        float: right;
    }
    
    .ref_04{
        width: calc(100% - 20px);
        height: auto;
        margin-top: 10px;
        margin-right: 10px;
        float: left;

    }
    
    #Firma, #Kompetenzen, #Kontakt{
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        margin-left: 0px;
        display: none;
        z-index: 101;
    }

    #Firma .content, #Kompetenzen .content, #Kontakt .content{
        padding-top: 15px;
        padding-left: 15px;
        padding-right: 30px;
    }

    #Firma .close, #Kompetenzen .close, #Kontakt .close{
        position: absolute;
        left:100%;
        top:15px;
        cursor: pointer;
        margin-left: -100px;
    }

    #BG_Overlay{
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 650%;
        margin-left: 0px;
        display: none;
        background-color: #2a6ae3;
        mix-blend-mode: multiply;
        z-index: 100;
    }

    #BG_Overlay2{
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 650%;
        margin-left: 0px;
        display: none;
        background-color: rgba(246,246,246,0.7);
        z-index: 99;
    }
    
    #Schachtleitern_Tabelle{
        width: 100%;
        height: auto;
        margin-top: 20px;
        float: left;
    }
    
    .frist{
        height: 40px;
        border-bottom: 1px solid #ffffff;
    }
    
    #adresse{
        position: absolute;
        top: 311px;
        left: 11px;
        width: calc(100% - 51px);
        height: 410px;
        padding: 15px;
        background-color: #f6f6f6;
        overflow: hidden;
    }

    #map{
        position: relative;
        top: 45px;
        left: -4px;
    }

    #map iframe{
        width: calc(100% + 24px);
        height: 250px;
    }
    
    #LogoElement{
    width: calc(100% - 20px);
    height: auto;
    margin: 10px;
    float: left;
    overflow: hidden;
}
    
}

