:root{
	--headerHeight: 110px;
	--headerMobileHeight:90px;
	--burgerTop:45px;
	--burgerMobileTop: 30px;
	--pageStartAt: 110px; /* Soll der Teaser unterdem Header anfangen, dann muss der Wert so groß sein wie der headerwert*/
	--pageStartMobileAt: 90px; /* Soll der Teaser unterdem Header anfangen, dann muss der Wert so groß sein wie der headerwert*/
	--headerBGColor: #fff;
}





header{
	height: 110px;
	height: var(--headerHeight);
	width: 100%;
	position: fixed;
	z-index: 300;
	background-color: #fff;
	background-color: var(--headerBGColor);

}


.headerFix{
	/*background-color: transparent;*/
	background-color: var(--headerBGColor);
	-webkit-box-shadow:  0px 0px 5px 0px rgba(0,0,0,0.1);
	-moz-box-shadow:  0px 0px 5px 0px rgba(0,0,0,0.1);
	box-shadow:  0px 0px 5px 0px rgba(0,0,0,0.1); 
}



/* Big Logo Position */
.custom-logo-link{
	margin: 20px 10px 0 25px;
	display: inline-block;
	transition: .7s;
}


.custom-logo{
	max-height: 100px;
	transition: .7s;
	width: 260px;
	height: 70px; 
    
}



/*die Satzspiegelbreite der Header und Footer*/
header .row, footer .row{	max-width: 1400px; }

@media screen and (max-width: 1400px) {
 header .row{
    width: calc(100% - 60px ) ; /* Hier wird der Randabstand zum Browser  erzeugt */
    margin: 0 30px;
  }
}


header + .main{	margin-top: 110px; margin-top: var(--pageStartAt); }










/*###########################################################################*/
/*############################## Navi Desktop ###############################*/
/*###########################################################################*/




header .row nav{
	position: relative;
	float: right;
  box-sizing: border-box;
}



header .row nav>ul{
  margin: 0;
  padding: 0;
	float: right;
	width: auto;
	height: 110px;
	list-style: none;
	z-index: 1250;
}




nav a {
  display: block;
  color: #000;
  text-decoration: none;
}


nav>ul>li {
  position: relative;
  float: left;
  height: inherit;
  list-style: none;
  padding-top: 30px;
}


nav>ul>li>a{
  padding: 20px;
  text-transform: uppercase;
  font-family: oss;
  color: #575757;
}

 
 /*Hauptmenü highilighting*/
nav ul li a:hover, 
/*nav ul li.current-menu-parent a,*/
nav>ul>li.current-menu-ancestor>a,
nav>ul>li.current-menu-item>a {
  color: #0080c9;
}
 
 




/*############ Sub-Menu ############# */




nav ul ul {
  position: absolute;
  top: -9999px;
  left: -9999px;
  opacity: 0;
  background: #0080c9;
  transition: opacity .7s ease-in-out;
}


/*------ der Pfeil nach oben im Dropdown*/
nav>ul>li>ul:before {
	display: block;
	width: 15px;
	content: '';
  height: 15px; 
  margin-left:79px;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 12px solid #0080c9;
  margin-top: -15px;
}


/*------ der Pfeil nach oben im Dropdown beim Punkt LOTTER*/
nav>ul>li.pfeilLotter>ul:before {
  margin-left:33px;

}

/*------ der Pfeil nach oben im Dropdown beim Punkt Provatkunden*/
nav>ul>li.pfeilPrivat>ul:before {
  margin-left:65px;

}




/*---- Die Linie über der ersten LI*/
nav>ul>li>ul {
	border-top: 1px solid #0080c9;
}


nav ul ul li {
  list-style: none;
  padding: 0
}

 
nav ul ul li {
  float: none;
  width: 300px;
  border-bottom: 1px solid #fff;
}
 
nav ul ul li a {
  padding: 20px 20px;
  color: #fff;
}

 /*Submenü highilighting*/
nav ul  ul li a:hover,
nav ul li.current-menu-parent>a ,
nav ul li.current-menu-parent ul li.current-menu-item>a ,
nav ul li ul li.menu-item-has-children:hover>a {
  background-color: #fff;
  color: #0080c9;
}




nav ul li:hover > ul {
  top: 100%;
  left: 0;
  opacity: 1;
}





nav ul ul li:hover > ul {
  top: 0;
  left: 300px;
  border-left: 1px solid #fff;
}



nav ul li ul li.menu-item-has-children{
  position: relative;
}



nav ul li ul li.menu-item-has-children:after{
  content: '';
  background-image: url('../layout/chevron.svg');
  background-repeat: no-repeat;
  width: 15px;
  height: 15px;
  display: block;
  position: absolute;
  right: 3px;
  top:20px;
}



nav ul li ul li.current-menu-parent:after,
nav ul li ul li.menu-item-has-children:hover:after{
  content: '';
  background-image: url('../layout/chevron_blue.svg');
  background-repeat: no-repeat;
  width: 15px;
  height: 15px;
  display: block;
  position: absolute;
  right: 3px;
  top:20px;
  animation: chevronPulse 1.1s ease-in-out infinite;
  animation-direction: alternate;
  -webkit-animation-name: chevronPulse;
  animation-name: chevronPulse;
}




@keyframes chevronPulse {
  0% {
    right: 3px;
     /*transform: scale(1);*/
  }
  50% {
    right: 1px;
     /*transform: scale(1.4);*/
  }
  100% {
    right: 3px;
     /*transform: scale(1);*/
  }
}




/*###########################################################################*/
/*#####################   Kachelnavigation #################################*/

.teaser-navi{
  position: absolute;
  bottom: 25px;
  left: 25px;
  z-index: 50;
}



.main .teaser-navi a{
  display: inline-block;
  float: left;
  padding: 20px;
  background-color: #fff;
  color: #000;
  border-right: 1px solid #f0f0f0;
  transition: .7s;
}


.teaser-navi a:hover{
  color: #fff;
  text-decoration: none;
  background-color: #0080c9;
}




.teaser-navi a:after:hover{
  border-bottom: 0px solid transparent!important;
}








/*#burger{
	display: none;
}
*/

/*####################  BURGER START  ########################*/
#burger{ height: auto; display: none; position: absolute; right: 0px; top:53px; top: var(--burgerTop); z-index: 1000; cursor: pointer; transition: .7s;  }
.lines, .lines:before, .lines:after { background: #0080c9;  }
.lines-button.x.close .lines:before, .lines-button.x.close .lines:after{background: #0080c9; }
.lines-button {  border: none; background: none;  position: relative; margin: 0 auto;   }
.lines-button span {  display: block; }
.lines-button { padding: 1em 0 1em 0.2em ; transition: .3s; cursor: pointer; user-select: none; border-radius: 0.57143em; }
.lines { display: inline-block; width: 3em; height: 3px;   transition: 0.3s; position: relative; }
.lines:before, .lines:after {display: inline-block;height: 3px; transition: 0.3s;position: absolute;left: 0;content: '';-webkit-transform-origin: 2px center;transform-origin: 2px center;}
.lines:before { top: 0.74em; width: 3em;}
.lines:after { top: -0.74em; width: 3em;}

.lines-button.close { -webkit-transform: scale3d(0.8, 0.8, 0.8); transform: scale3d(0.8, 0.8, 0.8);}
.lines-button.x.close .lines { background: transparent;}
.lines-button.x.close .lines:before, .lines-button.x.close .lines:after { background: #0080c9; -webkit-transform-origin: 50% 50%; transform-origin: 50% 50%;  top: 0;  width: 3.7em;}
header.stickyAktiv #burger .lines-button.x.close .lines:before, header.stickyAktiv #burger .lines-button.x.close .lines:after { background: #000;  -webkit-transform-origin: 50% 50%; transform-origin: 50% 50%;  top: 0;  width: 3.7em;}
.lines-button.x.close .lines:before { -webkit-transform: rotate3d(0, 0, 1, 45deg); transform: rotate3d(0, 0, 1, 45deg);}
.lines-button.x.close .lines:after { -webkit-transform: rotate3d(0, 0, 1, -45deg); transform: rotate3d(0, 0, 1, -45deg);}
/*####################  BURGER ENDE   ###################### */



@media only screen and (max-width: 1200px) {

  #burger{ height: auto; display: block; }


  #navi{
    position: fixed;
    background-color: #0080c9;
    top:140px;
    top:var(--headerHeight);
    right:0;
    height: calc(100vh - var(--headerHeight) );
    width: calc(100vw + 40px );
    padding-top: 0px;
    margin-right: calc(-100vw + 40px );
    -moz-opacity:0;
    opacity: 0;
    overflow-x: hidden;
    transition: margin 1s ease-in-out;
    z-index: 500;
    visibility: hidden;
  }

  #navi.aktiv{
    visibility: visible;
    /*display: block;*/
    -moz-opacity:1;
    opacity: 1;
    margin-right: -40px;
  }





  
  header .row nav{
    position: relative;
    float: none;
    box-sizing: border-box;
  }
  
  
  
  header .row nav>ul{
    margin: 0;
    padding: 0;
    float: none;
    width: auto;
    height: auto;
  }



  
  nav a {
    display: block;
    color: #000;
    text-decoration: none;
  }
  
  
  
  
  nav>ul>li {
    position: relative;
    float: none;
    height: inherit;
    list-style: none;
    padding-top: 0px;
  }
  
  
  nav>ul>li>a{
    padding: 40px 73px;
    text-transform: uppercase;
    font-family: oss;
    color: #fff;
    border-bottom: 1px solid #fff;
    
  }
/*nav ul li a:hover, */
nav>ul>li.current-menu-ancestor>a,
nav>ul>li.current-menu-item>a {
  /*color: #0080c9;*/
  color: #fff;
  background-color: #459ed1;
}
 
  
   
  nav ul li a:hover {
    background-color: #fff;
    color: #0080c9;
  }
   
 


  
  /* mobiles Submenü*/
  
  
  nav ul ul {
    position: relative;
    top: initial;
    left: initial;
    opacity: 1;
    display: none;
    background: #0080c9;
    transition: opacity .7s ease-in-out;
  }
  
  
  /*------ der Pfeil nach oben im Dropdown*/
  nav>ul>li>ul:before {
    display: none;
  }



  li.menu-item-has-children ul ul li a {
    padding-left:90px;
  }








/*---- Die Linie über der ersten LI*/
nav>ul>li>ul {
  border-top: 1px solid #0080c9;
}


nav ul ul li {
  list-style: none;
  padding: 0
}

 
nav ul ul li {
  width: 100%;
}
 
nav ul ul li a {
  padding: 20px 73px;
  color: #fff;
}


nav ul  ul li a:hover,
nav ul li ul li.menu-item-has-children:hover>a {
  background-color: #fff;
  color: #0080c9;
}




nav ul li:hover > ul {
  top: 100%;
  left: 0;
  opacity: 1;
}





nav ul ul li:hover > ul {
  top: 0;
  left: 0px;
}
/*nav ul ul li:hover > ul {*/
nav ul ul li > ul {
    top: 0;
    left: 0px!important;
    border-left: 0px solid #fff;
}





nav ul li ul li.menu-item-has-children{
  position: relative;
}



nav ul li ul li.menu-item-has-children:after{
  content: '';
  background-image: url('../layout/chevron.svg');
  background-repeat: no-repeat;
  width: 15px;
  height: 15px;
  display: block;
  position: absolute;
  right: 3px;
  top:20px;
}



nav ul li ul li.menu-item-has-children:hover:after{
  content: '';
  background-image: url('../layout/chevron_blue.svg');
  background-repeat: no-repeat;
  width: 15px;
  height: 15px;
  display: block;
  position: absolute;
  right: 3px;
  top:20px;
  animation: chevronPulse 1.1s ease-in-out infinite;
  animation-direction: alternate;
  -webkit-animation-name: chevronPulse;
  animation-name: chevronPulse;
}






  
  

  
    
 








}