/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 06.02.2016, 13:53:38
    Author     : Sven
*/


 
body{margin:0;
     padding:0;         
     background-color: rgba(120, 120, 120, 0.99);
     height:800px;
}

.wrappingContainer{
    width:90%;    
    margin:auto;    
}

.navigation_column {
     float: left;
     width: 40%;
     max-width: 90%;
     height:790px;
     overflow: hidden;
     margin: 0 auto;
     margin-right: 1%;
     margin-left: 1%;
     margin-top:20px;
     padding: 10px;
     /*background-color: rgba(33, 21, 0, 1.0);*/
     //background-color: rgba(18, 18, 18, 0.8);
     //background-color: rgba(48, 38, 18, 0.35);
     background-color: rgba(68, 58, 58, 0.65);
     box-sizing: border-box;
     border-color:rgba(222, 222, 222, 0.9);
     border-style: solid;
     border-width: 5px 5px 5px 5px;  
     box-shadow: 4px 4px 20px black;
}

.contents_column {
     float: left;
     position:relative;
     width: 50%;
     height:790px;
     margin:auto;    
     margin-top:20px;
     padding: 10px;
     background-color: rgba(68, 58, 58, 0.65);
     box-sizing: border-box;
     border-color:rgba(222, 222, 222, 0.9);
     border-style: solid;
     border-width: 5px 5px 5px 5px;
     box-shadow: 2px 2px 10px black;
     overflow:hidden;      
     color:rgba(222, 222, 222, 1.0);
}

/*.contents_column img{
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%)   
}*/



/* Navigation bar on left-hand side */

#navbar ul {       
 width:200px;
 margin: 0 auto;
 margin-top:80px;
 list-style-type: none;  
}

#navbar li {
  height:65px;  
  margin:auto;  
  margin-left:-3em;  
  overflow:hidden;
  line-height: 50px;
  border-bottom:1px solid rgba(222, 222, 222, 0.9);  
}

#navbar li:last-child { 
    border:none; 
  } 

#navbar li a {   
    margin: auto;        
    color:rgba(222, 222, 222, 1.0);      
    font-size: 25px;  
    text-align:center;
    text-decoration: none;
}

.nav_element{    
    width:90%;
    margin:auto;        
    padding: 8px 8px 8px 8px;    
}

.nav_element:hover{
    width:90%;
    background-color: rgba(120, 120, 120, 0.99);
    border-style: solid;
    border-width: 5px 5px 5px 5px;
    border-color:rgba(128, 128, 128, 0.05);
    padding: 8px 8px 8px 8px;
}

.year_element{    
    font-size: 1.5em; 
    padding-bottom: 8px;
    padding-right: 25px;
    color:rgba(222, 222, 222, 1.0);
    text-decoration: underline;
    text-decoration-color: rgba(222, 222, 222, 1.0);
}

.year_element:hover{
    color:#81DAF5;
}

.subyear_element{    
    font-size: 1em; 
    color:rgba(222, 222, 222, 1.0);
    text-decoration: underline;
    text-decoration-color: rgba(222, 222, 222, 1.0);
}

.subyear_element:hover{
    color:#81DAF5;
}

.fadein img{ 
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    margin:0 auto; 
    display:block;
}

.impressumKontakt{
    color:rgba(222, 222, 222, 1.0);
    font-size: 12px;  
    clear:both;    
    padding-top:10px;
    padding-right:10%;
    float:right;
}

.logo{
   width:260px;
   margin: 0 auto;
   margin-top: 150px;
   display:block;
}

.about{
    padding-left: 20%;
    padding-top: 300px;
    padding-right: 50px;
    color:rgba(222, 222, 222, 1.0);
    //z-index: 1;
    position: absolute;    
}

.contact{
    padding-left: 20%;
    padding-top: 100px;
    padding-right: 50px;
    color:rgba(222, 222, 222, 1.0);
    //z-index: 1;
    position: absolute;        
}


/* pop-up menu for small devices */
/* taken from: https://www.w3schools.com/howto/howto_js_topnav_responsive.asp*/

.topnav{
    display:none;
}

.width_home{
 width:80%;
}

.width_home_height{
 width:65%;
}

@media screen and (max-width:800px) {
    .wrappingContainer{
    width:98%;    
    margin:0 auto;    
    }
    .navigation_column{
        //background-color: orange;
        width: 98%;
        max-width:98%;
        height:200px;        
        margin-left:0;        
    }
    
    .contents_column {   
     width: 98%;
     margin-left:0;
     //margin:0;
     //padding:0;
    }
        
    
    #navbar {
     width:500px;        
     margin:0 auto;     
    }
    
    
    #navbar ul {
     width:500px;   
     display:inline;
     margin:0 auto;     
    }

    #navbar li {
     width:500px;
     display:inline;
     list-style:none;
     //padding:20px;
     border:none;
     margin:0 auto;
    }

   .nav_element{     
    display:inline;
    margin:0 auto; 
    font-size: 11px; 
    padding: 0px 0px 2px 2px;    
   }
   
   .logo{    
    margin-top: 20px;    
   }
    
}

@media screen and (max-width:480px) {
    
.navigation_column{
        width: 98%;
        max-width:98%;
        height:170px;        
        margin-left:0;   
        border:none;
        //border:5px solid ;
        margin-top:0px;
        padding-top:0px;        
        overflow: visible;
        box-shadow: none;
        //background-color: yellow;
        background-color: rgba(120, 120, 120, 0.99);
    }
    
.contents_column{
  margin-top:0px;
}
    
#navbar{
      display:none;       
    }
    
/* pop-up menu for small devices */
    
.topnav{    
    //border:5px solid ;
    margin-top:20px;    
    display:block;
    z-index: 1; 
    background-color: rgba(68, 58, 58, 0.65);
    //border: 5px solid black;
    //height:45px;
    overflow:hidden;
}

 .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;    
  }
 
  
.topnav a {
  float: left;
  display: block;
  color:rgba(222, 222, 222, 1.0);   
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  }

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

 .active {
  background-color: #81DAF5;
  color: red;  
}

.topnav .icon {
  display: none;
}

.topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;    
  }
   
}   
