 .main-menu-btn {
/*  position: relative;  float:right;
  display: inline-block;*/

position:fixed; 
right:10px; top: 10px;
z-index:10;

  text-indent: 9999px;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0,0,0,0);

width:50px; 
height:40px;

background-color:transparent; 
border-top:2px solid #000;
border-bottom:2px solid #000;

border-right:2px solid #000;

}




/* hamburger icon */
.main-menu-btn-icon, .main-menu-btn-icon:before, .main-menu-btn-icon:after {
  position: absolute;
  top: 50%;
  left: 10px;
  
  height: 2px;
  width: 28px;
  background: #000;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}


.main-menu-btn-icon:before {
  content: '';
  top: -7px;
  left: 0;
}
.main-menu-btn-icon:after {
  content: '';
  top: 7px;
  left: 0;
}
/* x icon */
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon {
  height: 0;
  background: transparent;
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before {
  top: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after {
  top: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
/* hide menu state checkbox (keep it visible to screen readers) */
#main-menu-state {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
}
/* hide the menu in mobile view */
#main-menu-state:not(:checked) ~ #main-menu {
  display: none;
}
#main-menu-state:checked ~ #main-menu {
  display: block;
}


#sub-nav {
  width: 100%  !important; 
  display:block;   
  padding: 0 !important; 
  margin: auto auto 9px auto !important;
  margin: auto auto 16px auto !important;
  
  margin: auto auto 0px auto !important;
  
  border: 2px solid black;
}

.subnav2 #sub-nav , .subnav3 #sub-nav {  margin: auto auto 0px auto !important;}

#sub-nav ul.archiveyears{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(calc(25% - 2px), 1fr));
 grid-gap: 2px;
}

#sub-nav ul.pagenav {
  display: grid;
 grid-template-columns: repeat( auto-fit, minmax(150px, 1fr));
  grid-gap: 2px;
}

 

#sub-nav ul.pagenav:nth-child(2){
  border-top: 2px solid black;
}
#sub-nav ul > li { 
  outline: 2px solid black;
  text-align: center;
  list-style-type: none;
  padding: 0; 
  margin: 0;
  display: inline-block;
  height: 48px;
  line-height: 51px;
  background-color: #fff; 
  color:#000;
}

#sub-nav ul li.active   {background-color: #000; color:#fff;}
#sub-nav ul li:hover, #sub-nav ul li:focus  {background-color: #A020F0; color:#fff;}
#sub-nav ul li:hover a, #sub-nav ul li:focus a  { color:#fff;}



#sub-nav ul.archiveyears {
  grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
}





#sub-nav ul.programnav {} 
#sub-nav ul.programnav li {display:inline-block;   } 

#sub-nav ul.programnav li {width:80%;} 
#sub-nav ul.programnav li:first-of-type{width: 20%;} 




.sm-blue a{ text-transform: lowercase;}



 
 @media all and (min-width: 480px){
 	
 	
.main-menu-btn { 
	height:70px ;
width:80px;background: #fff;
 }	 
 
.main-menu-btn-icon{
 left: 25px;

}


}


 @media all and (min-width: 640px){

#sub-nav ul.archiveyears {
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
}


#sub-nav ul.pagenav {
grid-template-columns: repeat( auto-fit, minmax(200px, 1fr));
}

 
 }

 

@media (min-width: 960px) {
	

#sub-nav {  width: calc(100% - 20px) !important;  display:block;  padding: 0px 10px 10px 10px;}


.seriespage #sub-nav { /*padding: 0px 10px 20px 10px;*/ margin-bottom:20px !important;margin-bottom:16px !important;}
 
 
 
ul.mainmenusub {display:none !important; }

	
#main-menu {display:block; }

  /* hide the button in desktop view */
  .main-menu-btn {
    position: absolute;
    top: -99999px;
  }
  /* always show the menu in desktop view */
  #main-menu-state:not(:checked) ~ #main-menu {
    display: block;
    
    
    
  }
}











.active  ul.mainmenusub {display:block; }


ul.mainmenusub {border-top: 2px solid #000;  }



.sm-blue {  background:rgba(255,255,255,1);    width: 100%;  border-left: 2px solid #000;border-right: 2px solid #000;}

.sm-blue a, .sm-blue a:hover, .sm-blue a:focus, .sm-blue a:active {
  padding: 20px 20px;
  /* make room for the toggle button (sub indicator)   padding-right: 58px;*/

  color: #000;
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: 22px;  
  font-weight: normal;
  line-height: 23px;
  text-decoration: none;
}

 

.sm-blue a.current , li.current-menu-item a, li.current-menu-ancestor a, li.current-menu-item a:hover, li.current-menu-ancestor a:hover,li.current-menu-item a:focus, li.current-menu-ancestor a:focus,li.current-menu-item a:active, li.current-menu-ancestor a:active, 
sm-blue a:hover, .sm-blue a:focus, .sm-blue a:active {
   color:#fff;	background-color: #A020F0;
}

li.current-menu-item >  a, li.current-menu-ancestor > a , li.active  > a {
   color:#fff !important;	background-color: #000;
}


ul.mainmenusub li.active  > a {
color: #fff !important;
background-color: #000;
}

ul.mainmenusub li > a , ul.mainmenusub li > a:hover {padding-left: 40px !important;}



.sm-blue a.disabled {
  color: #000;
}
.sm-blue a span.sub-arrow {
  position: absolute;
  top: 50%;
  margin-top: -17px;
  left: auto;
  right: 4px;
  width: 34px;
  height: 34px;
  overflow: hidden;
  text-indent:-999;color:#fff;color:transparent;
  
background-image: url(../images/icons/top.svg) ;
/*background-color:transparent; */
 
background-repeat: no-repeat;
background-position:center center;
background-size: 20px auto;transform: rotate(180deg);
 
}
/*.sm-blue a.highlighted  span.sub-arrow ,*/ .sm-blue a:hover  span.sub-arrow, 
li.current-menu-item a span.sub-arrow, li.current-menu-ancestor a span.sub-arrow , li.active a span.sub-arrow {  text-indent:-999;
	background-image: url(../images/icons/top_hover.svg) ;
}


span.sub-arrow:before {content: '';  text-indent:-999;}

.sm-blue a.highlighted span.sub-arrow:before {
  display: block;content: '';  text-indent:-999;
}







 
.sm-blue ul {
  background: white;width:100%;
}
.sm-blue ul ul {
  background: white;
}
.sm-blue ul a, .sm-blue ul a:hover, .sm-blue ul a:focus, .sm-blue ul a:active {
  background: transparent;
  color: #000;
  font-size: 18px;
  text-shadow: none;
 ;
/*  border-left: 22px solid transparent;*/
}

.sm-blue ul a.current,.sm-blue ul li.current-menu-item  a,.sm-blue ul li.current-menu-ancestor  a {
  background: #A020F0;
 color: #fff;
}

.sm-blue ul a.disabled {
  color: #000;
}
/*.sm-blue ul ul a,
.sm-blue ul ul a:hover,
.sm-blue ul ul a:focus,
.sm-blue ul ul a:active {
  border-left: 16px solid transparent;
}
.sm-blue ul ul ul a,
.sm-blue ul ul ul a:hover,
.sm-blue ul ul ul a:focus,
.sm-blue ul ul ul a:active {
  border-left: 24px solid transparent;
}
.sm-blue ul ul ul ul a,
.sm-blue ul ul ul ul a:hover,
.sm-blue ul ul ul ul a:focus,
.sm-blue ul ul ul ul a:active {
  border-left: 32px solid transparent;
}
.sm-blue ul ul ul ul ul a,
.sm-blue ul ul ul ul ul a:hover,
.sm-blue ul ul ul ul ul a:focus,
.sm-blue ul ul ul ul ul a:active {
  border-left: 40px solid transparent;
}
*/

.sm-blue li {
  border-bottom: 2px solid #000;
}
/*.sm-blue ul li:first-child {
  border-top: 0;
}

 .sm-blue  li.last {
  border-bottom: 2px solid #000;
}*/
  
/* .submit {
    position: absolute;
    right: 0;
    top: 0;
}

.keywords {
  height: 57px !important;
  width: 100% !important;
  padding-right: 40px !important;

} 
 */
.search {background: #0000000D; }
.search:hover ,.search:focus  {background: #0000000D;}
 
 .search.newsearch {max-width: 350px; border: 2px solid #000; margin:10px 0px 10px 0px;position:relative; }
 
 
.search input, .search input:focus  {background: transparent; border:transparent !important; /*outline:none - geht nicht für screenreader*/ }

.search input.submit {text-indent:-99999px;width: 40px; height: 57px;
background-image:url('../images/icons/search.svg'); 
background-repeat:no-repeat;
background-size:30px 30px;;
background-position:right 10px center;

position: absolute;
    right: 0;
    top: 0;

}

.search input.keywords {width: calc(100% - 45px);  width: 100%;
padding:0px 40px 0px 15px;height: 57px;color: #000;font-size:30px;line-height: 30px; 
position:relative;}

.search input.submit:hover,.search input.submit:focus {background-image:url('../images/icons/search_hover.svg'); cursor:pointer;}    


.search label {display:none;}



.sm-blue li.sprachnavi-mobile {display:block; width: 100%; border:none; height: 40px;}	
.sm-blue li.sprachnavi-mobile ul {display:block;}
.sm-blue li.sprachnavi-mobile ul li {float:right; width: 35px;height: 40px; border-bottom:none; }
.sm-blue li.sprachnavi-mobile a {padding:10px 10px 10px 10px; text-transform: uppercase; display:block; font-size: 22px;}
.sm-blue li.sprachnavi-mobile a.active {font-weight: 700;}



ul.sm-blue {  border-bottom: 2px solid #000;  }


 
@media (min-width: 960px) {
	
.search input.keywords { padding:0px 6px 0px 10px	}

.sm-blue li.sprachnavi-mobile {display:none; }	


  /* Switch to desktop layout
  -----------------------------------------------
     These transform the menu tree from
     collapsible to desktop (navbar + dropdowns)
  -----------------------------------------------*/
  /* start... (it's not recommended editing these rules) */
     
   ul.sm-blue {  border-bottom:none; }
  .sm-blue ul {
    position: absolute;
    width: 12em;
  }
 
 

  .sm-blue li {
    float: left; border:none;
  }
 

  .sm-blue.sm-rtl li {
    float: right;
  }

  .sm-blue ul li, .sm-blue.sm-rtl ul li, .sm-blue.sm-vertical li {
    float: none;
  }

  .sm-blue a {
    white-space: nowrap; cursor:pointer;
  }

  .sm-blue ul a, .sm-blue.sm-vertical a {
    white-space: normal;
  }

  .sm-blue .sm-nowrap > li > a, .sm-blue .sm-nowrap > li > :not(ul) a {
    white-space: nowrap;
  }

  /* ...end */
  
  /*
  ul#main-menu {padding:0; margin:0; list-style-type:none; border-top: 2px solid #000;  border-left: 2px solid #000;}

#main-menu  li  {float:left:; display:block; width: 33.333333%; border-right: 2px solid #000;  border-bottom: 2px solid #000;}*/

 
  .sm-blue {
    background: #fff;   width: auto; max-height:500px !important;
    overflow-y:visible !important;   
    border-right: none;
    padding:0; margin:0; list-style-type:none; border-top: 2px solid #000;  border-left: 2px solid #000;
     
  }
  
  
  
  .sm-blue  li  {float:left:; display:block; width: 33.333333%; border-right: 2px solid #000;  border-bottom: 2px solid #000;}

  
  
  .sm-blue a, .sm-blue a:hover, .sm-blue a:focus, .sm-blue a:active, .sm-blue a.highlighted {
display:block; width: 100%;
    height:57px;   
 padding: 16px 0px 16px 10px;

    font-size: 30px;
   
  }
 
  .sm-blue a:hover, .sm-blue a:focus, .sm-blue a:active, .sm-blue a.highlighted {
    background: #A020F0; color:#fff;
   
  }
  
  .sm-blue > a.current ,.sm-blue >  li.current-menu-item  a ,.sm-blue  > li.current-menu-ancestor  a{
    background: #000;
  color:#fff;
  }
  
  .sub-menu  li a {   background-image:none !important; background:#fff !important;}
  
  
  
  .sm-blue a.disabled {
    background: #fff;
 
    color: #000;
  }
  .sm-blue a span.sub-arrow {display:none;
/*    top: auto;
    margin-top: 0;
    bottom: 2px;
    left: 50%;
    margin-left: -5px;
    right: auto;
    width: 0;
    height: 0;
    border-width: 5px;
    border-style: solid dashed dashed dashed;
    border-color: #a1d1e8 transparent transparent transparent;
    background: transparent;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;*/
  }
  .sm-blue a.highlighted span.sub-arrow:before {
    display: none;
  }
  .sm-blue > li:first-child > a, .sm-blue > li:first-child > :not(ul) a {
 
  }
  .sm-blue > li:last-child > a, .sm-blue > li:last-child > :not(ul) a {
   
  }
  .sm-blue > li {
 /*   border-left: 1px solid #455560;*/
  }
   .sm-blue > li  >  a:after { content:'' ;   padding: 0px 0px;  display:inline-block; width:32px;
   text-align:center;}
  
  
  .sm-blue > li:first-child {
    border-left: 0;
  }
 
 
 
  .sm-blue ul a, .sm-blue ul a:hover, .sm-blue ul a:focus, .sm-blue ul a:active, .sm-blue ul a.highlighted {
    border: 0 /*!important*/;
    padding: 9px 23px;
    background: transparent;
    color: #000;height:auto;
   
 
  }
  .sm-blue ul a:hover, .sm-blue ul a:focus, .sm-blue ul a:active, .sm-blue ul a.highlighted {
    background: #fff;
 background-image:none;
    color:#fff;background:#A020F0;
  }
  .sm-blue ul a.current ,
   .sm-blue ul li.current-menu-item a ,
   .sm-blue ul li.current-menu-ancestor a   
  
  {
    background: #fff;
 background-image:none;
    color: #fff;background:#A020F0;
  }
  .sm-blue ul a.disabled {
    background: white;
      color:#fff;background:#A020F0;
  }
  .sm-blue ul a span.sub-arrow {
  	display:none;
    /*top: 50%;
    margin-top: -5px;
    bottom: auto;
    left: auto;
    margin-left: 0;
    right: 10px;
    border-style: dashed dashed dashed solid;
    border-color: transparent transparent transparent #455560;
*/  }
  .sm-blue ul li {
    border: 0;   
/*  border-bottom: 1px solid #979797;*/

  }
  .sm-blue span.scroll-up,
  .sm-blue span.scroll-down {
    position: absolute;
    display: none;
    visibility: hidden;
    overflow: hidden;
    background: white;
    height: 20px;
  }
  .sm-blue span.scroll-up-arrow, .sm-blue span.scroll-down-arrow {
    position: absolute;
    top: -2px;
    left: 50%;
    margin-left: -8px;
    width: 0;
    height: 0;
    overflow: hidden;
    border-width: 8px;
    border-style: dashed dashed solid dashed;
    border-color: transparent transparent #979797 transparent;
  }
  .sm-blue span.scroll-down-arrow {
    top: 6px;
    border-style: solid dashed dashed dashed;
    border-color: #979797 transparent transparent transparent;
  }
  .sm-blue.sm-rtl.sm-vertical a span.sub-arrow {
    right: auto;
    left: 10px;
    border-style: dashed solid dashed dashed;
    border-color: transparent #a1d1e8 transparent transparent;
  }
  .sm-blue.sm-rtl > li:first-child > a, .sm-blue.sm-rtl > li:first-child > :not(ul) a {
  
  }
  .sm-blue.sm-rtl > li:last-child > a, .sm-blue.sm-rtl > li:last-child > :not(ul) a {
     
  }
  .sm-blue.sm-rtl > li:first-child {
    border-left: 1px solid #2b82ac;
  }
  .sm-blue.sm-rtl > li:last-child {
    border-left: 0;
  }
  .sm-blue.sm-rtl ul a span.sub-arrow {
    right: auto;
    left: 10px;
    border-style: dashed solid dashed dashed;
    border-color: transparent #979797 transparent transparent;
  }
  }

 }
 
 
  @media all and (min-width: 1000px){
 #sub-nav ul li a {padding: 8px 15px 8px 15px;}

  }
   
 
  
 @media all and (min-width: 1500px){
.sm-blue > li.about ,.sm-blue > li.menu-item-27{ padding-right:160px;padding-right:128px;
 }
 }
@media all and (min-width: 1600px){
.sm-blue > li.about ,.sm-blue > li.menu-item-27{ padding-right:260px; padding-right:228px;
 }
}
 
