/* 
    Created on : 01.06.2015, 21:16:03
    Author     : rittec-IT
*/

@charset "utf-8";
*{
    margin: 0;
    padding: 0;
}

html, body{
    background-color: firebrick;
    color: black;
    font-size: 100%;
    font-family: Arial, Helvetica, sans-serif;
    height: 100%;
    min-width: 85em; 
    text-align: center;
}

div#wrap{
    background-color: whitesmoke;
    position: relative;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    overflow: hidden;
    width: 80%;
    margin: auto; 
    text-align: left;
}

top, menue_top, left, right, center{
    display: block;
}

/* Header*/
div#top::before, div#top::after{
    content: "";
    display: table;
}

div#top::after{
    clear: both;
}

div#top{
    background-image: url(../img/header_1.jpg);
    background-repeat:no-repeat;
    background-size: 100% 100%;
    background-position: 0% 0%;
}

div#top h1{
    font-style: oblique;
    font-size: 3em;
    font-weight: bold;
}

div#Firmenname{
    float: left;
    padding-top: 2em;
    padding-left: 2em;
}

div#logo{
    float: right;
    padding-right: 1.5em;
}
div#logo img#log_mob{
    display: none;
}
    
/*Menue Top*/
div#menue_top{
    float: right;
    width: 40em;
    background-color: firebrick;
}

div#menue_top ul{
    list-style-type: none;
    height: 2em;
}

div#menue_top li{
    display: inline;
    color: white;
}

div#menue_top a{
    display: block;
    width: 10em;
    float: left;
    text-align: center;
    line-height: 2em;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

div#menue_top a:hover{
    border-color: white;
    border-left-color: black;
    border-top-color: black;
    color: white;
    background-color: #333;
}

li#aktiv_top a{
    border-color: white;
    border-left-color: black;
    border-top-color: black;
    color: white;
    background-color: grey;
}

/*Content*/
div#content{
    clear: both;
    padding-top: 2em;
    padding-bottom: 1em;
}

/*Left Site*/
div#left{
    float: left;
    width: 15em;
}

div#MenuLeft{
    background-color: #ccc;
    height: 15em;
    padding-top: 1em;
    margin-bottom: 2em;
}

div#MenuLeft ul{
    list-style-type: none;
    height: 1.5em;
}

div#MenuLeft li{
    color: black;
}

div#MenuLeft a{
    display: block;
    width: 12em;
    line-height: 2em;
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 1.2em;
    padding-left: 1em;
}

div#MenuLeft a:hover{
    border-color: white;
    border-left-color: black;
    border-top-color: black;
    color: white;
    background-color: #333;
}

li#aktiv_left a{
    border-color: white;
    border-left-color: black;
    border-top-color: black;
    color: white;
    background-color: grey;
}

div#Social{
    margin-bottom: 2em;
}

/*right site*/
div#right{
    float: right;
    width: 16.9em;
}

div#kontaktdaten{
    border-style: solid;
    border-color: black;
    border-width: 0.1em;
    background-color: whitesmoke;
    margin-right: 0.5em;
    margin-bottom: 1em;
    padding: 1em;
    padding-bottom: 0;
}

div#kontaktdaten p{    
    padding-bottom: 1em;    
}


/*Center*/
div#center{
    margin-left: 17em;
    margin-right: 18em;
}

div#center h1{
    padding-bottom: 0.5em;
}

div#center h2{
    padding-bottom: 0.5em;
}

div#center h3{
    padding-bottom: 1em;
}

div#center p{
    padding-bottom: 1em;
}

div#GoogleMap iframe#maps{
    width: 400px;
    height: 300px;
    padding-bottom: 2em;
}

.profil{
    float: left;
    position: relative;
    width: 100%;
    padding-bottom: 14em;
    margin-bottom: 1em;
}    

.profilInner{
   position: absolute;
   left: 10px;
   right: 10px;
   top: 5px;
   bottom: 5px;
   overflow: hidden;
}

.Profilbild{
    float: left;
    position: relative;
    margin-right: 2em;
    width: 10em;
}
.profilKontakt{
    position: absolute;
    overflow: hidden;
    left: 170px;
    right: 10px;
    top: 70px;
    bottom: 5px;
}
@media only screen and (max-width : 75em) {
    .profil{
        padding-bottom: 20em;
    }

    .profilKontakt{    
        left: 10px;
        right: 10px;
        top: 230px;
        bottom: 5px;
    } 
}

div#pic_ansprech::before, div#pic_ansprech::after{
    content: "";
    display: table;
}

div#pic_ansprech::after{
    clear: both;
}

div#fertigung{    
}

div#pic_fert::before, div#pic_fert::after{
    content: "";
    display: table;
}

div#pic_fert::after{
    clear: both;
}

div#pic_fert{    
}

div#pic_zert::before, div#pic_zert::after{
    content: "";
    display: block;    
}

div#pic_zert::after{
    clear: both;
}

div#maschpark{
    margin-top: 1em;
}

div#maschpark ul{
    list-style-image: url(../img/symbole/pfeil_rechts.gif);
    padding-left: 2em;
}

div#maschpark li{
    padding-bottom: 1em;
    padding-left: 0.5em;
}

div#pic_maschpark::before, div#pic_maschpark::after{
    content: "";
    display: table;
}

div#pic_maschpark::after{
    clear: both;
}

div#pic_maschpark{    
}

div#home ul{
    list-style-image: url(../img/symbole/pfeil_rechts.gif);
    padding-left: 2em;
}

div#home {
    float: left;
}

.cad {
    margin-left: 0.5em;
    margin-top: 1.5em;
    margin-bottom: 5em;
    margin-right: 1.5em;
    width: 20em;
    float: right;
}

div#stellen img {
    width: 16em;
    float: right;
}

div#stellen ul{
    padding-left: 2em;
}

div#stellen h4{
    padding-top: 8em;
    text-align: center;
}

div#chronik ul{
    padding-left: 2em;
}

/*Kalender*/
div#calender {
    font-family: verdana;
    font-size: 15px;
    width: 15em;
    border: 1px solid black;
    margin-left: 1.5em;
}
div#calender a {
    color: black;
    text-decoration: none;
}
div#calender a:hover {
    text-decoration: underline;
    background: #eaeaea;
}

div#calender div.after,
div#calender div.before{
    color: gray;
}
.day {
    float:left ;
    width: 2.142em;
    height: 2.5em;
    line-height: 2.5em;
    text-align: center;
}
.day.headline {
    background: silver;
}
.day.current {
    background-color: red;
    font-weight: bold;
}
div#clear {
    clear: left;
}
div#pagination {
    text-align: center;
    height: 3em;
    line-height: 3em;
    font-weight: bold;
}
div#pagination a {
    width: 3em;
    height: 3em;
}

/*Bilder Fertigung*/
.box_fert {
   float: left;
   position: relative;
   width: 50%;
   padding-bottom: 35%;
}

.boxInner_fert {
   position: absolute;
   left: 10px;
   right: 10px;
   top: 10px;
   bottom: 10px;
   overflow: hidden;
}
.boxInner_fert img {
   width: 100%;
}
.boxInner_fert .titleBox {
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   margin-bottom: -50px;
   background: #000;
   background: rgba(0, 0, 0, 0.5);
   color: #FFF;
   padding: 10px;
   text-align: center;
   -webkit-transition: all 0.3s ease-out;
   -moz-transition: all 0.3s ease-out;
   -o-transition: all 0.3s ease-out;
   transition: all 0.3s ease-out;
}
body.no-touch .boxInner_fert:hover .titleBox, body.touch .boxInner_fert.touchFocus .titleBox {
   margin-bottom: 0;
}

.box_fert_hor {
   float: left;
   position: relative;
   width: 50%;
   padding-bottom: 60%;
}

.boxInner_fert_hor {
   position: absolute;
   left: 10px;
   right: 10px;
   top: 10px;
   bottom: 10px;
   overflow: hidden;
}
.boxInner_fert_hor img {
   width: 100%;
}
.boxInner_fert_hor .titleBox {
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   margin-bottom: -50px;
   background: #000;
   background: rgba(0, 0, 0, 0.5);
   color: #FFF;
   padding: 10px;
   text-align: center;
   -webkit-transition: all 0.3s ease-out;
   -moz-transition: all 0.3s ease-out;
   -o-transition: all 0.3s ease-out;
   transition: all 0.3s ease-out;
}
body.no-touch .boxInner_fert_hor:hover .titleBox, body.touch .boxInner_fert_hor.touchFocus .titleBox {
   margin-bottom: 0;
}

/*Bilder Maschinenpark*/
.box_mpark_vert {
   float: left;
   position: relative;
   width: 80%;
   padding-bottom: 70%;
}

.boxInner_mpark_vert {
   position: absolute;
   left: 10px;
   right: 10px;
   top: 10px;
   bottom: 10px;
   overflow: hidden;
}
.boxInner_mpark_vert img {
   width: 100%;
}
.boxInner_mpark_vert .titleBox {
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   margin-bottom: -50px;
   background: #000;
   background: rgba(0, 0, 0, 0.5);
   color: #FFF;
   padding: 10px;
   text-align: center;
   -webkit-transition: all 0.3s ease-out;
   -moz-transition: all 0.3s ease-out;
   -o-transition: all 0.3s ease-out;
   transition: all 0.3s ease-out;
}
body.no-touch .boxInner_mpark_vert:hover .titleBox, body.touch .boxInner_mpark_vert.touchFocus .titleBox {
   margin-bottom: 0;
}

.box_mpark_hor {
   float: left;
   position: relative;
   width: 50%;
   padding-bottom: 60%;
}

.boxInner_mpark_hor {
   position: absolute;
   left: 10px;
   right: 10px;
   top: 10px;
   bottom: 10px;
   overflow: hidden;
}
.boxInner_mpark_hor img {
   width: 100%;
}
.boxInner_mpark_hor .titleBox {
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   margin-bottom: -50px;
   background: #000;
   background: rgba(0, 0, 0, 0.5);
   color: #FFF;
   padding: 10px;
   text-align: center;
   -webkit-transition: all 0.3s ease-out;
   -moz-transition: all 0.3s ease-out;
   -o-transition: all 0.3s ease-out;
   transition: all 0.3s ease-out;
}
body.no-touch .boxInner_mpark_hor:hover .titleBox, body.touch .boxInner_mpark_hor.touchFocus .titleBox {
   margin-bottom: 0;
}

/*Bilder Zertifikate*/
.box_zert_hor {
   float: left;
   position: relative;
   width: 65%;
   padding-bottom: 90%;
   margin-left: 2em;
}

.boxInner_zert_hor {
   position: absolute;
   left: 10px;
   right: 10px;
   top: 10px;
   bottom: 10px;
   overflow: hidden;
}
.boxInner_zert_hor img {
   width: 100%;
}
.boxInner_zert_hor .titleBox {
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   margin-bottom: -50px;
   background: #000;
   background: rgba(0, 0, 0, 0.5);
   color: #FFF;
   padding: 10px;
   text-align: center;
   -webkit-transition: all 0.3s ease-out;
   -moz-transition: all 0.3s ease-out;
   -o-transition: all 0.3s ease-out;
   transition: all 0.3s ease-out;
}
body.no-touch .boxInner_zert_hor:hover .titleBox, body.touch .boxInner_zert_hor.touchFocus .titleBox {
   margin-bottom: 0;
}

input#responsive-nav,label.responsive-nav-label {
  display: none;
}

/*Media Switch*/
@media only screen and (max-width : 1024px) /*and (min-width : 481px)*/ {
   /* Tablet */
   
   /*right site*/
    div#right{
        display: none;
    } 
    
    /*Content*/
    div#content{       
        padding-bottom: 8em;
        width: 100%;
    }
    
    div#center{       
        margin-right: 2em;
    }

    html, body{
        min-width: 35em;
    }

    div#wrap{
        width: 100%;
    }  
    
    div#menue_top{
        width: 30em;
    }
    
    div#menue_top a#home-nav{
        height: 2em;
        width: 4em;
        background-image: url(../img/symbole/home.png);
        background-size: 2em;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    div#menue_top a#home-nav span{
        display: none;
    }
    
    div#menue_top a#kontakt-nav {
        width: 8em;        
    }
    
    div#menue_top a#kontakt-nav span{
        display: none;
    }
    
    div#menue_top a#kontakt-nav:after{
        content: "Kontakt";
    }
    
    div#menue_top a#Impressum-nav{
        width: 8em;        
    }
    
    div#menue_top a#Datenschutz-nav{
        width: 8em;        
    } 
}

@media only screen and (max-width : 480px) {
   /* Smartphone */
   /*Menue Top*/
    div#menue_top{
        width: 100%;
        background-color: firebrick;
    }
    
    div#menue_top a:hover{
        background-color: firebrick;
    }

    div#menue_top a#home-nav{
        width: 2.2em;
    }
    
    div#menue_top a#home-nav span{
        display: none;
    }
    
    div#menue_top a#kontakt-nav {
        width: 5em;        
    }    
    
    div#menue_top a#Impressum-nav{
        width: 6em;        
    }
    
    div#menue_top a#Datenschutz-nav{
        width: 6.5em;        
    }  
     
   /*Left Site*/  
   label.responsive-nav-label {
    position: relative;
    display: block;
    padding: 20px;
    background: #222;
    cursor: pointer;
    color: #fff;
  }
    label.responsive-nav-label span {
      margin-right: 10px;  
    }
    label.responsive-nav-label img {
      height:   0.8em;  
      padding-right: 0.5em;
    }
    div#MenuLeft {
      position: absolute;
      top: -9999px;
      height: 7.5em;
      margin-bottom: 8em;
    }

    input#responsive-nav[type=checkbox]:checked ~ div#MenuLeft {
      position: relative;
      top: 0;
    }
    div#MenuLeft a:after {
      display: none;
    }
    div#MenuLeft li {
      float: none !important;
      width: 100% !important;
      border-bottom: none !important; 
    }
    
    div#left{        
        clear: both;
        width: 100%;
        padding-top: 0em;
        background-color: #ccc;
        margin-bottom: 3em;
    }
    
    div#left a{
        width: 100%;
    }
    
    div#left a:hover{
        background-color: buttonface;
        color: black;
    }

    div#Social{
        width: 100%;
        position: absolute;
        bottom: 0;
        padding: 0em;  
        text-align: center;
    }   
    
    /*Center*/
    div#center{
        margin-left: 1em;
        margin-right: 1em;
        margin-bottom: 5em;
    }  
    
    div#GoogleMap iframe#maps{
        width: 330px;
        height: 250px;
    }
    
    .box_fert {
      width: 100%;
      padding-bottom: 70%;
    }    
    
    .box_fert_hor {
      width: 100%;
      padding-bottom: 100%;
    } 
    
    .box_mpark_vert {
      width: 100%;
      padding-bottom: 70%;
    } 
    
    .box_mpark_hor {
      width: 100%;
      padding-bottom: 100%;
    } 
    
    .box_zert_hor {
      width: 100%;
      padding-bottom: 140%;
      margin-left: 0;
    } 
    
    /*Content*/
    div#content{
        padding-top: 0em;
        padding-bottom: 8em;
    }
    
    html, body{
        min-width: 0em;
    }

    div#wrap{
        width: 100%;
    }
    
    .cad{
        margin-bottom: 10em;
    }
    
    /* Header*/    
    div#logo{
        float: right;
        padding-right: 1em;
    }
    div#logo img#log_des{
        display: none;
    }
    div#logo img#log_mob{
        display:   block;
    }
}


