header {
    z-index: 1000;
    position: fixed;
    -webkit-transition: 0.4s;transition: 0.4s;
    width:100%;
}

.logoholder{
  text-align:center;
}
.logoholder a {
  position: relative;
  z-index: 9999999;
}
		#logo {
      margin: 0 auto;
      position: relative;
    }

header.scrolled {
    margin: 0;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.6);
    background-color: #ffffff;
}
div#headerdl {
    position: relative;
    height: 2.2em;
    background: rgba(74, 122, 179, 0.17);
    margin-top: -2.3em;
    -webkit-transition: 0.1s;transition: 0.1s;
}
header.scrolled #headerdl {
    background: transparent;
    height: 0;
    margin: 0;
}
.subheader {
  background: #eee none repeat scroll 0 0;
  height: 2.5em;
  border-top: 1px solid #ccc;
  position:relative;
  z-index:0;
}


#topholder{
  top:0;
  position:absolute;
  width:100%;
  border-bottom:1px solid rgba(255,255,255,0.4);
  background:rgba(0,0,0,0.6);
}

.navholder{
  width:50%;
  float:left;
  position:relative;
  color:#ffffff;
}
.socialholder{
  color: #ffffff;
  float: right;
  padding-top: 1.2em;
  position: relative;
  text-align: right;
  width: 50%;
}
.socialholder a{
  padding:0 0.5em;
  color:#ffffff;
}
.socialholder img{
  vertical-align:middle;
  opacity:0.7;
  -webkit-transition:0.3s;
  transition:0.3s;
}
.socialholder img:hover{
  opacity:1;
}

menu, menu ul {
	    list-style: none;
	    margin: 0;
	    padding: 0;
	        text-transform: uppercase;
}
menu {
    display: block;
}
.maintitle {
  color: #8f8f8f;
  display: inline-block;
  font-size: 1.2em;
  font-weight: 700;
  margin-top: 2.2em;
  margin-left:1em;
}
ul.subnav {
  margin: 0;
  position: absolute;
  right: 7em;
}
ul.subnav li{float:left;padding:0.5em 0.5em 0;list-style:none;color:#555;}
ul.subnav li:before{content:" \2022";padding-left:0.6em;color:#ccc;font-size:0.8em;}
@media (max-width:999px){
header {
    left: 0;
    right: 0;
    top: 0;
    width: initial;
    background: rgba(0,0,0,0.8);
    margin: 0;
    height: 3.25em;
}
.maintitle {
  color: #8f8f8f;
  display: inline-block;
  font-size: 0.9em;
  font-weight: 700;
  margin-left: 1em;
  margin-top: 0.2em;
}
}
/*SPRACHEN*/
#sprachen {
    font-size: 0.8em;
    font-weight: lighter;
    width: auto;
     position: absolute;
	    right: 9em;
      display:inline-block;
      top:0;
}
#sprachen ul#lang-switch {
    list-style: outside none none;
}
#sprachen ul#lang-switch li {
    position: relative;
    float: left;
    padding: 10px 5px 5px;
    width:35px;
}
#sprachen ul#lang-switch li.currLang {
display:none;
}
#sprachen ul#lang-switch li b {
    color: #999999;
}
#sprachen ul#lang-switch li a {
    position:absolute;
    left:0;right:0;top:0;bottom:0;
}

li.lang a {
    text-align: center;
}

@media (max-width:999px){
	#logo {
    	height: 5em;
	}
	#logoholder {
	    padding: 0.3em 1em;
	    line-height: 0;
	}
	#smallmenu {
	    position: absolute;
	    top: 0;
	    right: 0;
	    height: 3.25em;
	    width: 4em;
	    padding: 0 0.25em;
	    z-index: 99999;
	    border: 0.25em solid rgba(0,0,0,0.1);
      background:rgba(0,0,0,0.5);
	}
		#smallmenu>div {
		    background: #ffffff;
		    height: 0.25em;
		    margin: 0.25em;
		}
		#smallmenu span {
		    display: block;
		    text-align: center;
		    font-size: 0.87em;
		    line-height: 1em;
		    text-transform: uppercase;
		    font-weight: 600;
        color:#ffffff;
		}
		#smallmenu a{
		    position: absolute;
		    left:0;
		    right:0;
		    top:0;
		    bottom:0;
		}
	menu {
	    position: fixed;
	    top: 3.25em;
      padding-top:1.5em;
      bottom: 0;
	    right: -200%;
	    -webkit-transition: 0.5s;transition: 0.5s;
	    z-index: 9999;
	    background: rgb(252, 254, 255);
	    color: #323333;
	    box-shadow:none;
	    overflow-y: scroll;
	    width: 100%;
      height:100%;
	    text-align: left;
      -webkit-overflow-scrolling: touch;
      
	}
		menu a, menu span {
		    display: block;
		    padding: 0.3em;
		    font-size: 1.5em;
	      color:inherit;
		}
		menu li{
			position:relative;
		}
	
	  menu>li {
	    padding-right: 2.5em;
      border-bottom:1px solid #c3c3c3;
	  }
    menu>li>ul>li {
      font-size:0.7em;
      border-top:1px solid #c3c3c3;
    }
	   
		menu>li>ul {
		    max-height:0;
		    overflow:hidden;
		}
		menu>li>ul>li>ul {
		    max-height:0em;
			    overflow:hidden;
	      
		}
		menu ul {
		  padding: 0 0 0 1em;
		  -webkit-transition:0.4s;transition:0.4s;
		}
		ul.stackul {
		    display: block;
		    max-height:100em;
		    padding: 0 0 0 1em;
		}
		ul.stackul>li>span {
		    background: none !important;
		}
		ul.stackul ul {
		    display: block;
		    padding: 0 0 0 1em;
		}
	  #line1,#line2{display:none;  width: 0;height: 0;}
	.toggle-span {
	    position: absolute;
	    top: 0.3em;
	    right: 0.5em;
	    width: 1.6em;
	    text-align: center;
	    border: 1px solid rgb(156, 159, 159);
	    padding: 0;
	    display: inline-block;
	    padding-bottom: 0.0625em;
	    border-radius: 100%;
	}
  .toggle-span::after {
    content: "+";
  }
  .minus::after {
    content: "-";
  }
  li.mobLangBT{font-size:0.6em;display:block;text-align:center;width:50%;background:#000000;padding:0.8em 1em;color:#ffffff;margin:0.5em auto;position:relative;}
}

@media (min-width:999px){  
    header, .logoholder{height:1px;}

		#mainheader, .header-spacer {
		    position: relative;
		    z-index: 900;
		    padding:0;
        width:1200px;
        margin:0 auto;
		}
		#ib-right{
			float:right;
		}
		#ib-right a {
		    color: #F2EDE2;
		    padding: 0 0.25em;
		}

	#menuholder {
	    position: relative;
	    text-align: right;
	    z-index: 10000;
	    padding-right: 1em;
	        /* background: rgba(186, 218, 255, 0.84); */
	}
	  menu>li>ul {
	      position: absolute;
	      height: 0;
	      text-align: left;
	      opacity: 0;
	      -webkit-transition: 0.5s;transition: 0.5s;
	      overflow: hidden;
	      z-index:2;
        background:rgba(0,0,0,0.6);

	  }
		menu ul {
		    background: #FCFFFF;
		}
	  menu>li>ul a, menu>li>ul span {
	      padding: 0 0.5em;
	      display: block;
	      -webkit-transition:0.4s;transition:0.4s;
        color:#ffffff;
        font-size:0.9em;
	  }
	  /*
	menu>li>ul a:hover {
	    background: rgb(237, 239, 239);
	    color: #CE0429;
	}
	*/
	menu>li>ul a:hover {

	background:rgba(0,0,0,0.3);
	padding-left:20px;
	}
	
	menu > li {
	    display: inline-block;
	    line-height: 2em;
	    font-size: 1.2em;
	}
    
	menu>li>a, span.linkstyle {
	    display: block;
      color:#ffffff;
      padding:0.5em 0.5em;
      -webkit-transition:0.3s;
      transition:0.3s;
	}
  menu>li>a:hover, span.linkstyle:hover {
    background:rgba(0,0,0,0.2);
  }
  
  span.linkstyle{cursor:default;}
  
	  menu > li:hover ul  {
	      height: auto;
	      opacity: 1;
        overflow:auto;
	  }
	
		ul.stackul>li {
		    width: 220px;
		    float: left;
	      font-size:0.8em;
		}
		ul.stackul img {
		    width: 70px;
		    
		}
		ul.stackul {
		    left: 22%;
		    border-top: 1px solid #cccccc;
		}
		ul.stackul ul {
		    border-top: 1px solid #cccccc;
		}
		ul.stackul>li {
		    border-left: 1px solid #E5E7E7;
		}
		ul.stackul>li>span {
		    display: block;
		    padding-top: 4em;
		    background-size: cover;
		    color: #FCFFFF;
	      cursor:default;
		    text-shadow: 0.5px 0.5px 0.5px black;
		    line-height: 1.4em;
		}
		ul.stackul>li:first-child {
		    border-left: 0px solid #E5E7E7;
		}
	  #line1 {
	    position: absolute;
	    top: 0;
	    bottom: 0;
	    left: 220px;
	    border-left: 1px solid #E5E7E7;
	  }
	  #line2 {
	    position: absolute;
	    top: 0;
	    bottom: 0;
	    left: 440px;
	    border-left: 1px solid #E5E7E7;
	  }
	  .headerspan {
	  font-size: 1.4em;
	  line-height: 2.2em !important;
	}
	#header-spacer {
		    position: relative;
		    -webkit-transition: 0.4s;transition: 0.4s;
		    width: 1200px;
	        margin: 0 auto;
          padding-top:3.1em;
	}
  #subheader-spacer {
		    position: relative;
		    -webkit-transition: 0.4s;transition: 0.4s;
		    width: 1200px;
	        margin: 0 auto;
	}

	header.scrolled menu>li {
	    padding: 0;
	}
	
}
@media (min-width:999px) and (max-width: 1200px){

	.header-spacer {
	    width: 960px;
	    margin: 0 auto;
	
	}
  #logo{height:8em;}
  
  menu > li {font-size:1.1em;}
  .socialholder {padding-top:0.8em;}
  #subheader-spacer {
	    width: 960px;
	    margin: 0 auto;
	
	}


}
@media (min-width:999px){
  .ulHead{color:#d0133d;font-weight:400;pointer-events:none;}
  }
  
a.lang{
  text-transform:uppercase;
  font-size:1.1em;
  -webkit-transition:0.3s;
  transition:0.3s;
}
a.currLang{
  display:none;
}