

/* Sub menu */ 
.region-sub-menu,
#menu-button {
  color: #17365c;
  font-family: RUB-Neu Flama, Arial, sans-serif;
  font-size: 1.8em;
  letter-spacing: 0.02em;
  line-height: 2em;
  text-decoration: none; 
}

#sender {
  padding: 0 6em 2.5em 0;
  margin-top: -0.2em;
}

.node-type-standard #sender {
  background-color: #fff;
  padding: 3.4em 3em 0 3em;
  width: 72.728%;
  box-sizing: border-box;
  margin-top: 0;
}

#sender-inner {
  color: #3c3c3b;
  font-family: RUB-Neu Flama, Arial, sans-serif;
  font-size: 1.5em;
  letter-spacing: 0.02em;
  line-height: 1.4em;
  text-decoration: none; 
}

#sender-inner {
  font-weight: bold;
}

#menu-button {
  font-weight: bold;
  display: none;
}

#menu-button:hover {
  cursor: pointer;
}

#sub-menu .menu {
  list-style: outside none none;
}

#sub-menu .menu a {
  color: #17365c;
}

#sub-menu .menu .level-2 {
  padding-left: 0.5em;
}

#sub-menu .menu .level-2 a,
#sub-menu .menu .level-2 div {
  color: #3c3c3b;
  display: none;
  text-transform: none;
}

#sub-menu .menu .level-2 a:hover,
#sub-menu .menu .level-2 div:hover {
  border-bottom: 0.1em solid #8dae25;
}

#sub-menu .menu .active-trail .level-2 a,
#sub-menu .menu .active-trail .level-2 div {
  display: inline;
}

#sub-menu .menu a:hover {
  border-bottom: 0.1em solid #8dae25;
}

#sub-menu .menu a.active-trail {
  color: #17365c;
  border-bottom: 0.1em solid #17365c;
}

#sub-menu .menu .expanded > a.active-trail {
  color: #17365c;
  border-bottom: 0;
}

#sub-menu .menu .expanded > a.active-trail:hover {
  color: #17365c;
  border-bottom: 0.1em solid #8dae25;
}

.article-of-primary-menu-item-active #sub-menu .menu a.active-trail {
  color: #17365c;
  border-bottom: 0.1em solid #17365c;
}

#sub-menu .menu a.active-trail.active {
  color: #17365c;
  border-bottom: 0.1em solid #17365c;
}

.node-type-standard.section-presseinformationen #sub-menu .menu #menu-item-pi a.active-trail {
  color: #17365c;
  border-bottom: 0.1em solid #17365c;
}

#sub-menu .menu .level-2 a.active,
#sub-menu .menu .level-2 div.active {
  color: #3c3c3b;
  border-bottom: 0.1em solid #3c3c3b;
}

#sub-menu .menu .level-2 a.active:hover,
#sub-menu .menu .level-2 div.active:hover {
  border-bottom: 0.1em solid #8dae25;
}


#block-menu-menu-sek-rmenu-newsportal > ul > li.first  > a {
  font-weight: bold;
}

#block-menu-menu-sek-rmenu-newsportal > ul > li.first  > a.active {
  color: #17365c;
  border-bottom: 0.222em solid #17365c;
}

#block-menu-menu-sek-rmenu-newsportal > ul > li.first  > a:hover {
  border-bottom: 0.222em solid #8dae25;
}

#sub-menu .menu-separator-inner {
  background-color: #c1bab9;
  height: 1px;
  margin-bottom: 0.556em;
  margin-left: 0;
  margin-top: 0.611em;
}

#subnav-arrow {
  background: url("../images/subnav-arrow.png") 0 0 no-repeat;
  display: none;
  height: 3.6em;
  position: absolute;
  right: 1.1em;
  top: 0.5em;
  width: 4.9em;
}

#subnav-bg {
  background-color: rgba(255, 255, 255, 0.75);
  display: none;
  height: 120%;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9100;
}

.menu.rub-startseite {
  display: none;
}

.menu.rub-startseite li#rub-star-item {
  background-image: url("../images/home-icon.png");
  background-repeat: no-repeat;
  background-size: 1.7em auto;
  background-position: 0 1em;
}

.menu.rub-startseite a {
  color: #3c3c3b !important;
  font-family: RUB-Neu Flama, Arial, sans-serif;
  font-size: 1.8em;
  letter-spacing: 0.02em;
  line-height: 2em;
  margin-left: 1.5em;
  text-decoration: none; 
}



/** 
 * RESPONSIVE BEHAVIOUR 
 */
@media only screen and (max-width: 1130px) {
  
  #sender {
    padding: 1.1em 6em 2.5em 2.1em;
    margin-top: 0em;
  }
  
  .node-type-standard #sender {
    padding: 3.4em 2.1em 1.3em 2.1em;
    margin-top: -2.3em;
  }
  
  
  .region-sub-menu.show-nav {
    padding-bottom: 0.7em;
  }
 
  #sub-menu ul.menu li {
    display: none;
  }
  
  #menu-button {
    display: inline-block;
  }
  
  #sub-menu ul.menu li:first-child {
    /* display: list-item; */
  }
  
  #sub-menu.show-nav ul.menu li {
    display: list-item;
  }
     
  #sub-menu ul.menu > li.first > a:hover {
    color: #17365c; 
  }
  
  #sub-menu #block-menu-menu-sek-rmenu-newsportal > ul > li.first  > a, 
  #sub-menu #block-menu-menu-sek-rmenu-newsportal > ul > li.first  > a:hover,
  #sub-menu #block-menu-menu-sek-rmenu-newsportal > ul > li.first  > a:active,
  #sub-menu #block-menu-menu-sek-rmenu-newsportal > ul > li.first  > a.active  {
    
  }
  
  #subnav-arrow {
    display: block;
  }
  
  #subnav-arrow.open {
    background: url("../images/subnav-arrow.png") -4.9em 0 no-repeat;
  }
  
  #subnav-bg.show-nav {
    display: block;
  }
  
  .menu.rub-startseite {
    display: block;
  }
}


@media only screen and (max-width: 850px) {
  
  .node-type-standard #sender {
    width: 67.728%;
  }
}


@media only screen and (max-width: 700px) {
  
  #sender {
    padding: 0.5em 1.5em 0.4em 1.5em;
    margin-top: 0em;
  }
  
  .node-type-standard #sender {
    padding: 3.4em 1.5em 0.4em 1.5em;
    margin-top: -2.9em;
    width: 100%;
  }
  
  #subnav-arrow {
    right: 0.5em;
  }
}

