

.topheader{
    position:fixed;
    top:0;
    width:100%;
    display: grid;
    grid-template-columns: 0.3fr 2.4fr 0.3fr;
    grid-template-rows: minmax(min-content, 12vh);
   /* grid-template-rows:  12vh;*/
    align-items: stretch;   
    /*background: url("../images/back_test4.png") no-repeat center center fixed;  
    background-size: cover;*/
    background-color: rgb(41, 37, 37);       
    z-index:10000;
}
.topheaderleft{
    grid-column-start:1;
    grid-column-end:2;
    grid-row-start:1;
    grid-row-end:2;
    display:flex;
    flex-direction: column;
    flex-wrap: wrap;
   
}
.topheadercenter{
    grid-column-start:2;
    grid-column-end:3;
    grid-row-start:1;
    grid-row-end:2;
    display:flex;
    flex-wrap: wrap;
   justify-content:center;
    align-items: center;
    padding-top:0.4em;   
    padding-left:10em; 
    background-image: linear-gradient(180deg, rgb(41,37,37) 80%, rgb(37, 39, 41));
   
}

.topheaderright{
  grid-column-start:3;
  grid-column-end:4;
  grid-row-start:1;
  grid-row-end:2;
  display:flex;
  color: rgb(130, 5, 10);
  color: var(--ddstext);
  font-weight: bold;
  justify-content:flex-end;
}

#ddsheader{
    position:block;   
    margin:0;
    margin-top: 4px;;
    margin-left:-5px;
    width: calc(max-content + 10); 
    height: max-content;
    padding: 0;    
    padding-bottom: 5px;
    color: rgb(180, 180, 180);
    border-bottom:2px solid rgba(172,1,9, 0.9);
    align-self:self-start;
  }

  #ddsheader>a>h2{
    margin: 0;
    padding:0 1em 0 1em;
    
  }

  .topheader1{
     position:fixed;   
    /*padding: 0em 0.5em 0em 4em;*/
    top:4px;
    left:65px;
  }
  .topheader2{
    position:fixed;
   /*  padding: 0em 0.5em 0em 4em; */
    top:4px;
    left:115px; 
  }

  .headerline-left{
    position: fixed;
    top:12vh;
    padding:0;
    margin:0;
    left:0;
    border:none;
    width:10%;
    height:2px;
    background-image: linear-gradient(270deg, rgba(172,1,9,0), rgba(172, 1, 9,1));
 } 

 .headerline-right{
    position: fixed;
    top:12.5vh; 
    padding:0;
    margin:0;
    right:0;
    border:none;
    width:10%;
    height:2px;
    background-image: linear-gradient(90deg, rgba(172,1,9,0), rgba(172, 1, 9,1));

 } 

 .headermenue h3{
	margin-top:3em;
	 margin-left:-24em;
	
	
   align-self:baseline;
}
 

 @supports (-ms-ime-align:auto) {
  .headerline-right{
    top:12vh; 
  }
}

.header{
   
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items: end;
}


.impre, .lang{
  color:var(--ddsrot);
  padding-right:1em;        
}
.impre a:hover, .lang a:hover{
  color:var(--ddstextrot);
  background-color:var(--ddsrot);       
}

.content{
    margin-top:12vh;
    width:100%;
    padding:0 0 5.5em 0;
    background-color: rgb(16, 25, 32);
    background-color: rgb(37, 39, 41);
}

footer {
  /*  grid-column: 1 / 2;
    grid-row: 4 / 5;  
    position:fixed;*/ 
    display:flex;
    flex-wrap: wrap;  
    flex-direction: row; 
    bottom:0;
    width:100%;
    height:5em;
    padding-top:0.5em;
    justify-content: center;
    align-items: center;    
    background-color: var(--ddsbackred);
   /* border-top: 1px solid rgb(124, 124, 124);*/
    color:var(--ddstextrot);
    z-index:588;
   /* font-size:small;*/
}
.copy{
  padding-right:3em;
}
.foolink{
  padding-left:3em;
}


/*
@media only screen and (max-width: 1280px) { 
    body{

    }
    .topheader{
      grid-template-rows: minmax(min-content, 18vh);
     
  }
    .topheaderright{
      position:fixed;
      right:1px;
       flex-direction: column;
       flex-wrap: wrap;
       align-self:center;
       padding:0.5em;
     
   }
   
   .topheader1{
    position:fixed;
    padding: 0.5em 0em 0.5em 0em;   
    top:31px;
    left:11px;
  }
  .topheader2{
    position:fixed;
    padding: 1em 0em 0.5em 0em;  
    top:58px;
    left:11px;
  }
  .headerline-left {      
    top:18vh;
  }  
  .headerline-right {      
    top:18vh;
  }  
  
  .content{
    width:98%;
    background-color: var(--ddsbackblue);
    margin-top: 18vh;
  }
  
 
  
}    

@media only screen and (max-width: 1024px) { 
   
      .topheader{  
      grid-template-rows: minmax(min-content, 12vh);
         
      }
      .topheaderright{
        position:fixed;
        right:1px;
        flex-direction: column;
        flex-wrap: wrap;
        align-self:center;
        padding:0.5em;      
      }

      #top-handle{
        display: none;
      }

      .topheader1{
        position:fixed;
        top:0;
        left:0;  
      }
      .topheader2{
        position:fixed;
        top: 56px;
        left:0;  
      }
      .headerline-left {      
        top:18vh;
      }  
      .headerline-right {      
        top:18vh;
      }  
      
      #ddsheader{
          width:100%;
        position:relative;
        text-align:center;
        top:0.2em;
        margin:0;
          margin-top:-10px;
          padding:0;
          font-size: 0.65em;
      }
      #ddsheader h2{
          font-size:1.5em;
      }

      .impre{
        display: none;
    }

    .lang{
        justify-self: end;
        align-self:center;
        
    }
    .content{
      width:98%;
      background-color: var(--ddsbackblue);
      margin-top: 18vh;
    }
    .contentright{
      display:none;
      
    }
    
    
      footer {       
          position:fixed;
          height:auto;
          border-top: 1px solid var(--ddsrot); 
      }
}    


@media only screen and (max-width: 640px) { and (orientation:landscape)and (max-height: 800px)*/
@media only screen and (max-width: 1024px)  {
  
body{
    width:100%;
    overflow-x: hidden;
}

.topheader{
  grid-template-columns: 0.3fr 2.4fr 0.3fr;
    grid-template-rows: minmax(min-content, 18vh);

    /*height: 15vh;*/
}

.topheadercenter{
  justify-content:center;
}

#top-handle{
         display: none;
}

.topheader1{
    position:fixed;
    top:0;
    left:0;  
  }
  .topheader2{
    position:fixed;
    top: 2.5em;
    left:0;  
  }
  #ddsheader {
    width:100%;
    position:relative;
    text-align:center;
    bottom:0.2em;
    font-size: 0.65em;
    padding:0;
    margin:0;
    border-bottom:none;
   }
     #ddsheader h2{
      font-size:1.2em;
       width:100%;
      
      }
    
     .topheadercenter{
      padding:0;
      margin:0;
      padding-top:2px;
     }    
     .impre{
      display: none;
    }
    .lang{
      display: block;
      position: absolute;
      top:0;
      right:3em;
    }
    .lang a{
      font-weight:bold;
      color:var(--ddsrot);
     }

    .content{
      width:100%;
      margin-top:18vh;
    }
    .headerline-left {      
      top:18vh;
    }  
    .headerline-right {      
      top:18vh;
    }  
    
    .contentright{
      display:none;
    }

    footer {             
        position:fixed;  
        flex-direction: column-reverse;
        height:auto;
        border-top: 1px solid var(--ddsrot); 
        padding-bottom:0.1em;
        justify-content: center;
    }

    footer a{
      font-weight: bold;
    }
    .copy{
      padding:0;
      text-align: center; 
    }
    .foolink{
      padding:0;
      text-align: center; 
    }
        
    textarea{
        width:15em;
       }
    
       .nozeig{
        display:none;
       }
}    

@media only screen and (max-width: 300px) {

  footer {             
    position:fixed;  
    flex-direction: column-reverse;
    height:auto;
    justify-content: center;
    border-top: 1px solid var(--ddsrot); 
  }

  footer a{   
    min-width: max-content;
    font-size: 11px;
  }
  .lang{
    display:none;        
  }
  .lang-menu{
   position:absolute;
   width:min-content;
   height:min-content;
   bottom:0;
   right:0.1em;
  }
  .lang-menu a{
   font-weight:bold;
   color:var(--ddsrot);
   margin-top: 2em;
  }

 
}

/*
@media only screen and (max-height: 800px) and (max-width: 1023px) {
    #ddsheader{
            top:0;
    }
    .topheaderright{
       
        flex-direction: column;
        flex-wrap: wrap;
        align-self:end;
       
    }

    .nozeig{
      display:none;
     }
}   
*/

@media only screen and (max-width: 640px)   {
  footer {
    flex-direction: row;
  }
  footer a{
    font-weight: bold;
  } 
  .foolink{
    
    padding-left:1em;
  }
  /*.ddslogobild{
    display: none;
  }*/
  
  .lang-menu{
    display:none;
  }
  .lang{
    display: block;
    position: absolute;
    top:0;
    right:3em;
  }
  .lang a{
    font-weight:bold;
    color:var(--ddsrot);
   }

} 

@media only screen and (height < 600px)  {
  .topheader{
    grid-template-columns: 0.3fr 2.4fr 0.3fr;
    grid-template-rows: minmax(min-content, 12vh);
    /*height: 15vh;*/
  }
  .ddslogobild{
    display: none;
  }

  .nav-menu{
		max-height: calc(100vh - 50vh);
		overflow: scroll;
	}

  .topheader1{
    position:fixed;
    top:0;
    left:0;  
  }
  .topheader2{
    position:fixed;
    top: 0;
    left:3.5em;  
  }
  #ddsheader{
    margin-top:auto;
    
  }
  .headerline-left {      
    top:14vh;
  }  
  .headerline-right {      
    top:14vh;
  }  
  
 .content{
    width:100%;
    margin-top:12vh;
  }
  

  button{
    padding:0;
    margin:0;
  }
  a{
    padding:0;
    margin:0;
  }
  /*
  .lang-menu{
    display:none;
  }
  .lang{
    display: block;
    position: absolute;
    top:0em;
    right:3.5em;
  }
  .lang a{
    font-weight:bold;
    color:var(--ddsrot);
   }
*/
}

@media only screen and (height < 600px) and (width > 1024px) {

  .ddslogobild{
    display: block;
  }
  #top-handle{
    display: none;
}

  .nav-menu{
		max-height: calc(100vh - 50vh);
    overflow: hidden;
	}
  /*
  .lang-menu{
    display:none;
  }
  .lang{
    display: block;
    position: absolute;
    top:0em;
    right:3.5em;
  }
  .lang a{
    font-weight:bold;
    color:var(--ddsrot);
   }
*/

}


   