/**
 * "Yet Another Multicolumn Layout" - YAML CSS Framework
 *
 * (en) Horizontal list navigation "hlist"
 * (de) Horizontaleß Navigationsliste "hlist"
 *
 * @copyright       © 2005-2013, Dirk Jesse
 * @license         CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
 *                  YAML-CDL (http://www.yaml.de/license.html)
 * @link            http://www.yaml.de
 * @package         yaml
 * @version         4.1.0
 */
@media all {
  .ym-hlist {
    /* (en) containing floats in IE */
    /* (de) Einfassen der Floats im IE */
    overflow: hidden;
    position: relative;
    line-height: 1em;
   
     -webkit-hyphens: manual;
     -moz-hyphens: manual;
     -ms-hyphens: manual;
     hyphens: manual;
  }    
  }
  .ym-hlist ul,
  .ym-hlist ol {
    margin: 0;
    padding: 0.5em 0 0 0;
    display: inline;
    float: right;
  }
  .ym-hlist ul li,
  .ym-hlist ol li {
    display: inline;
    float: left;
    font-size: 1.0em;
    line-height: 2em;
    list-style-type: none;
    margin: 0;
    padding: 5px 0;
  }

  .ym-hlist ul > li > a, .ym-hlist ul > li > strong {
    background: transparent;
    color: #333333;
    display: block;
    font-size: .85em;
    line-height: 1em;
    padding: 0 0.5em;
    font-weight: normal;
    text-decoration: none;
    width: auto;
    border-left: 1px solid #6b6b6a;
    text-transform: uppercase;
  }
  
  /*.ym-hlist ul.mainnavlist li.thread*/
  #mainnav > .ym-hlist > .ym-gbox > ul > li.bmbf-next-level-True:hover{
    background: url("../images/icons_buttons/bmbf-theme-selected-arrow2.png") no-repeat center bottom transparent;
    z-index: 10000;
  }
  
  .ym-hlist ul li strong {
    font-weight:bold;
  }
  
  
  .ym-hlist ul li:first-child a,
  .ym-hlist ul li:first-child strong {
  	border: none;
  }  
  .ym-hlist ul li a:focus,
  .ym-hlist ul li a:hover,
  .ym-hlist ul li a:active {
    color: #161e21;
    text-decoration: underline;
    outline: 0 none;
  }
  .ym-hlist ul li.active {
  }
  .ym-hlist ul li.active strong,
  .ym-hlist ul li.active a:focus,
  .ym-hlist ul li.active a:hover,
  .ym-hlist ul li.active a:active {
    background: transparent;
    text-decoration: none;
   
  }
  
  #topnav {
	    position: absolute;
      top: 2px;
      right: 177px;      
  }		
  #topnav a{
	    color: #6b6b6a;      
  }		
	.topnavlist .dgs-button{
		background: url("../images/icons_buttons/ico_dgs.png") no-repeat 0.5em top transparent;
	}  

	.topnavlist .ls-button{
		background: url("../images/icons_buttons/ico_ls.png") no-repeat 0.5em top transparent;
	}
	
	.topnavlist .dgs-button a,
  .topnavlist .dgs-button strong,
	.topnavlist .ls-button a,
  .topnavlist .ls-button strong {
		padding-left: 2.5em;
	}
  
  #endnav {
    margin-top: 3em;
  }
  #endnav ul{
  	list-style: none;
  	font-family: "BundesSansWeb",Arial,Helvetica,sans-serif;
      font-size: 1.25em;
  	padding: 0;
  	margin:0;	  
  }
  /* level 1 */
  #endnav > ul > li {
  	width: 20%;
  	float: left;
  	padding: 0;
  	margin:0;
    font-size: 100%;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
    line-height: 1.25em;
    min-height: 2em;    
  }
  #endnav > ul > li:first-child {
    width: 17%;
}
#endnav > ul > li ~ li {
    width: 23%;
}
#endnav > ul > li ~ li ~ li {
    width: 17%;
}
#endnav > ul > li ~ li ~ li ~ li {
    width: 21%;
}
  #endnav > ul > li > a {
    color: #444 !important;
    font-weight: bold;
    min-height: 2em;
    display: block;
  }
  
  /* level 2 */
  #endnav > ul > li > a ~ ul,
  #endnav > ul > li > strong ~ ul {
    font-size: .8em;
    margin-top:15px;
    color: #015E3C !important;
  }
  #endnav > ul > li > a ~ ul li,
  #endnav > ul > li > strong ~ ul li {
  	padding: 0;
  	margin:0;
    padding-bottom:8px;
    font-size: 100%;
  }
  
  #endnav > ul > li > ul strong {
    font-weight: normal !important;
  }
  
  
  
  /* Mainnav Rollover */
  
  #mainnav .ym-hlist {
  overflow:visible;
  }
  
  ul.mainnavlist {
    padding: 0 0 0.5em 0;
  }
  
  .mainnavlist li {
    position:relative;  
  }
  
  #mainnav {
    right: 0;
    bottom: 0;
    font-size: 1.5em;
  }
  
  #mainnav .ym-hlist ul li a,
  #mainnav .ym-hlist ul li strong {
    border-left: none;
    text-transform: none;
  }
  
  #mainnav > .ym-hlist > .ym-gbox > ul > li > a,
  #mainnav > .ym-hlist > .ym-gbox > ul > li > strong {
      border-left: 2px solid #96ba3c;
      text-transform: none;
      height:100%;
      line-height:25px;
      display:block;
      position: relative;
      font-size: 95%;
      padding: 0 0.7em;  
  }
  #mainnav .ym-hlist ul li strong,
  #mainnav .ym-hlist ul li.thread a {
      font-weight: 700;
  }

  #mainnav > .ym-hlist > .ym-gbox > ul > li:first-child > a,
  #mainnav > .ym-hlist > .ym-gbox > ul > li:first-child > strong {
    padding-left: 0;
    border: none;
  }
  #mainnav > .ym-hlist > .ym-gbox > ul > li:last-child > a,
  #mainnav > .ym-hlist > .ym-gbox > ul > li:last-child > strong {
    padding-right: 0;
  }
  
  .mainnavlist > li > ul {
  display:none;
  width:280px;
  background-color:rgba(255,255,255,0);
  color:#333;
  left: -2.81em;
  padding-top: 32px;
  }
  .mainnavlist > li > ul > div {
  padding:20px 15px;
  background-color:#fff;
  color:#333;
  xleft: -59px;
  border:1px solid #bebdbe;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5); /* WebKit */
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5); /* Firefox */
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5); /* Standard */
  }  
  
  .mainnavlist > li.bmbf-menu-last-child > ul {
    left: -4em !important;  
  }
  
  .mainnavlist > li {
    height:65px;
    position:relative;
  }
  
  
  
  .mainnavlist li:hover ul {
    display:block;
    position: absolute;
    z-index: 9999;
  }
  
  .mainnavlist li ul li {
    display:block;
    float:none;
    padding:3px 0px !important;
    border-bottom:1px solid #b5b5b4;
    line-height: 1.25em; 
  }
  
  .mainnavlist li ul li:first-child {
    border-top:1px solid #b5b5b4;
  }
  
  .mainnavlist li ul li.thread {
    background-image:none !important;  
  }
  
  .mainnavlist li ul li a, .mainnavlist li ul li strong {
    color:#333 !important;
    font-size:75% !important;
    font-family: "BundesSansWeb",Arial,Helvetica,sans-serif;
    font-weight:normal !important;
    background: url(../images/navigation/menu_arrow.png) right center no-repeat;
    display: block;
  }
  
  .mainnavlist li ul li strong {
    font-weight:bold !important;  
  }
	
	
	
	

	
	 	
  

  /* ------- search form -------- */
  
  .ym-searchform {
    float: right;
    clear: right;
    display: inline;
    line-height: 2;
    padding: 0;
    background: #ffffff;
    border: 1px solid #929292;
    margin-right: 8px;
    margin-top: 6px;
    height: 27px;
    position: relative;
    width: 170px;
    overflow: hidden;
  }
  .ym-searchform .ym-searchfield {
    background: #ffffff;
    font-size: 95%;
    position: absolute;
    top: 0;
    left: 0;
    height:20px;
    padding:3px 7px;
    width: 12em;
    border: 0;
    line-height:20px;
    
    
  }
  .ym-searchform .ym-searchbutton {
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 1em;
    line-height: 1.25;
    padding: 0;
    border: none;
    background: #ffffff;
    position: absolute;
    right: 5px;
  }
  
  
  .page-footer-content .ym-hlist ol {
    float:none;
  }
  
  
  #footer #topnav {
    margin-top: 1em;
    background-color:transparent;
    float:none;  
  }
  
  #footer #topnav ul, #footer #topnav li, #footer #topnav li a, #footer #topnav li span, #footer #topnav li strong {
    float:none;
    padding-left:0;
    border:none;
  }
  
  #footer #topnav li > a, #footer #topnav li > span, #footer #topnav li > strong {
    display:block;
    padding-bottom:0.5em;
    font-size:110%;
    text-transform:none;
  }
  
  
  
}
