/*Allgemein*/
#background{
    width:100%;
    background-image: url(frontbild.JPG);
    background-size:cover;
    background-repeat:no-repeat;
    background-position:center;
    margin:0 0 0 0;
}
#website{
    width:1200px;
    height:auto;
    background-color:white;
    margin:auto;
    border-radius:5px;
}

/*Struktur*/
#header{
    width:inherit;
    height:100px;
}
#logo{
    width:180px;
    height:inherit;
    float:left;
    background-image: url(logo.jpg);
    background-size:contain;
    background-repeat: no-repeat;
    background-position: center;
}
#titel{
    float:right;
    width:1000px;
    height:inherit;
    background-color:dodgerblue;
    border-radius:10px;   
}
#header h1{
    font-size:50px;
    font-weight:bold;
    color:white;
    font-family:Arial;
    text-align:center;
    margin-top:20px;
    margin-bottom:20px;
}

#main{
    width:inherit;
    height:600px;
}
#menue{
    float:left;
    width:180px;
    height: inherit;
    background-color: dodgerblue;
    margin-top:10px;
    margin-bottom: 10px;
    border-radius:5px;
    text-indent:10%;
}
h3{
    padding-top:2px;
    font-family:arial;
    text-decoration: none;
    font-weight: bold;
}
.link{
    font-size:18px;
    color:aliceblue;
    text-decoration: none;
    text-align: left;
}
.link2{
    font-size:16px;
    padding-left:20px;
    color:aliceblue;
    text-decoration: none;
    text-align: left;
}

#inhalt{
    float:right;
    width:950px;
    height:inherit;
    background-color: aliceblue;
    margin-top:10px;
    margin-bottom:10px;
    border-radius:5px;
    padding-left: 50px;
}

#footer{
    width:inherit;
    height:40px;
    background-color:grey;
    margin-top:20px;
    border-radius:5px;
    padding: 0 0 10px 0;
}
#stellen{
    width:49%;
    float:left;
    text-align: center;
}
#impressum{
    width:49%;
    float:right;
    text-align: center;
}

/*Schriften*/
h2{
    font-size:30px;
    font-weight:bold;
    color:blue;
    font-family:sans-serif;
    text-align:left;
    margin-top:10px;
    margin-bottom:10px;
}
h4{
    font-size:26px;
    font-weight:bold;
    color:black;
    font-family:sans-serif;
    text-align:left;
    margin:10px 0 0 0;
    text-decoration: none;
}
a{
    text-decoration: none;
    color:inherit;
}
p{
    font-size:18px;
    color:black;
    font-family: sans-serif;
    text-align:left;
    margin:20px 50px 20px 0;
    line-height: 1.5;
}
p1{
    font-size:18px;
    color:black;
    font-family: sans-serif;
    text-align:left;
    line-height: 1.5;
    margin:20px 20px 20px 0;
}

p2{
    font-size:18px;
    color:blue;
    font-family: sans-serif;
    text-align:left;
    line-height: 1;
    margin:10px 0px 10px 0;
}

/*Elemente*/
#video{
    width:790px;
    margin:10px 0 0 0px;
    border-radius:4px;
}

/*Mitarbeiterfotos*/
table{
    border-collapse: separate;
    border-color: none;
    border-spacing: 0 10px;
}
td{
    width: 300px;
    line-height: 0.8;
}
#passfoto{
    height: 200px;
    width: auto;
    border-radius: 2px;
    margin-bottom:-15px;
}
#geschäftsleitung{
    height: 300px;
    width: auto;
    border-radius: 5px;
    margin:20px 0 10px 0;
}

/*Fotos Lastwagen*/
#lastwagen{
    height: 100px;
    width: auto;
    border-radius: 2px;
    margin-bottom:-15px;
}
/*Logos Partner*/
#partner{
    max-height: 100px;
    max-width: 200px;
    border-radius: 2px;
    margin-bottom:-15px;
}


/*Lightbox Galerie*/
#galerie{
    position: absolute;
    width:1000px;
}
/*kleines Bild*/
#galerie .img{
    width:65px;
    height:100px;
    float:left;
    margin: 10px 20px 10px 0;
    transition: all 300ms;
}
#galerie .img:hover{
   opacity:0.8;  
}
#galerie .img:last-child{
    margin: 0 0 0 0
}
#galerie .img a img{
    width:100%;
    height:auto;
    vertical-align: bottom;
}
/*grosses Bild*/
#galerie .img_big{
    position: absolute;
    left:50%;
    width:50%;
    transform: translate(-50%,-20%) scale(0,0);
    background-color: black;
    padding:10px;
    opacity:0; 
    transition:all 300ms ease-in-out;
    margin-top:50px;
}
#galerie .img_big:target{
    opacity:1;
    transform: translate(-50%,-25%)scale(1,1); 
}
#galerie .img_big img{
    width:100%;
    height:auto;
}
/*Navigation*/
#galerie .img_big nav{
    width:100%;
    color:aliceblue;
}
nav a{
    float: right;
    display:inline-block;
    text-decoration: none;
    color:aliceblue;
    font-family:arial;
}

/*Galerie Vorschau*/
#vorschau .img{
    width:65px;
    height:100px;
    float:left;
    margin: 10px 20px 10px 0;
    transition: all 300ms;
}

#vorschau .img:last-child{
    margin: 10px 0 0 0;
}
#vorschau.img:first-child{
    margin-left: 50px;
}
#vorschau .img a img{
    width:100%;
    height:auto;
    vertical-align: bottom;
}
/*grosses Bild*/
#vorschau .img_big{
    position: absolute;
    left:50%;
    width:50%;
    transform: translate(-50%,-25%) scale(0,0);
    background-color: black;
    padding:10px;
    opacity:0; 
    transition:all 300ms ease-in-out;
    margin-top:50px;
}
#vorschau .img_big:target{
    opacity:1;
    transform: translate(-50%,-25%)scale(1,1); 
}
#vorschau .img_big img{
    width:100%;
    height:auto;
}