/**
 * "Yet Another Multicolumn Layout" - (X)HTML/CSS Framework
 *
 * (en) Screen layout for YAML examples
 * (de) Bildschirmlayout für YAML-Beispiele
 *
 * @copyright       Copyright 2005-2010, Dirk Jesse
 * @license         CC-A 2.0 (http://creativecommons.org/licenses/by/2.0/),
 *                  YAML-C (http://www.yaml.de/en/license/license-conditions.html)
 * @link            http://www.yaml.de
 * @package         yaml
 * @version         3.3
 * @revision        $Revision:426 $
 * @lastmodified    $Date: 2010-09-14 21:19:30 +0200 (Di, 14 Sep 2010) $
 */

@media screen, projection
{
  /** 
   * (en) Forcing vertical scrollbars in IE8, Firefox, Webkit & Opera 
   * (de) Erzwingen vertikaler Scrollbalken in IE8, Firefox, Webkit & Opera 
   *
   * @workaround
   * @affected IE8, FF, Webkit, Opera
   * @css-for all
   * @valid CSS3
   */

  body { overflow-y:scroll; }

  /*------------------------------------------------------------------------------------------------------*/
  
  /**
   * (en) Formatting YAML's  basic layout elements
   * (de) Gestaltung des YAML Basis-Layouts
   */

  /* (en) Marginal areas & page background */
  /* (de) Randbereiche & Seitenhintergrund */
  body { background:#00a3b3; padding:0; }

  /* (en) Centering layout in old IE-versions */
  /* (de) Zentrierung des Layouts in alten IE-versionen */
  body { text-align:center; }
  .page_margins { text-align:left; margin:0 auto; }

  /* (en) Layout:width, background, borders */
  /* (de) Layout:Breite, Hintergrund, Rahmen */
  .page_margins { min-width:740px; max-width:1000px; background:#fff; }
  .page { padding:16px 16px 5px 16px; }

  #header {
    color:#000;
    background:#fff repeat-x top left;
    padding:0;
    height: 113px;
		position:relative;
  }
  
  #header h1 {
  	display: block;
  	position: absolute;
  	left: 43px;
  	bottom: 15px;  	
  	width: 433px;
  	height: 68px;
  	padding:0;
  	margin:0;
  	background: transparent url(../../images/logo-header.png) no-repeat center center;
  }
  
  #header .infohotline {
  	position: absolute;
  	right: 1px;
  	bottom: 15px;
  }

  /* (en) #topnav gets absolute positioning within #header */
  /* (de) #topnav wird innerhalb von #header absolut positioniert */
  #topnav { 
		background:transparent; 
  	color:#aaa; 
	
    position:absolute;
    top:0px;
    right:0px; /* LTR */
		text-align:right; /* LTR */
  }

  /* (en) adjustment of main navigation */
  /* (de) Anpassung der Hauptnavigation */
  #nav {
  	height: 24px
  }
  
  #nav_u {
  	height: 41px
  }

  #main { background:#fff;padding:0; }

  #footer {
  }
  
  #footer .footer_rows {
  	background: #00a3b3;
  	color: white;
  	font-size: .9em
  }
  
  #footer .footer_rows a {
  	color: white
  }  
  
  #footer .footer_rows .bild {
  	height: 190px;
  	border-bottom: 1px solid white;
  	background: transparent;
  	background-repeat: no-repeat;
  	background-position: center center
  }
  
  /*
  #footer .footer_rows #col4 .bild {
  	background: transparent url(../../images/footer/1.jpg) no-repeat center center;
  }
  
  #footer .footer_rows #col5 .bild {
  	background: transparent url(../../images/footer/2.jpg) no-repeat center center;
  }
  
  #footer .footer_rows #col6 .bild {
  	background: transparent url(../../images/footer/3.jpg) no-repeat center center;
  }  
  */
  
  #footer .footer_rows .text {
  	padding: 1em .5em
  }
  
  #footer .copyright {
		padding:5px 0 0 0;  
    color:#999;  
    font-size: .9em;
    line-height:1.5em;  
    text-align: center;  
  }

  /* (en) Backup for correct positioning */
  /* (de) Absicherung korrekte Positionierung */
  #header, #nav, #main, #footer { clear:both; }
  
  #main {
  	margin-bottom: 6px;
  	overflow:hidden
  }

	.hidecol2 #main {
		background: #00a3b3;
	}

  /*------------------------------------------------------------------------------------------------------*/

  /**
   * (en) Formatting content container
   * (de) Formatierung der Inhalts-Container
   *
   * |-------------------------------|
   * | #header                       |
   * |-------------------------------|
   * | #col1   | #col3     | #col2   |
   * | 25%     | flexible  | 25%     |
   * |-------------------------------|
   * | #footer                       |
   * |-------------------------------|
   */


  #col1 { width:33.3%; }
  #col1_content { padding:0 0 0 0; }

  #col2 { width:33.3%; }
  #col2_content { padding: 0 0 0 0; }

  #col3 { margin:0 33.3%; overflow:hidden }
  #col3_content { padding:0 0; }
  
  
  .hideboth #col3 { margin-left: 0; margin-right: 0; }
  .hideboth #col3_content{ padding-left: 0; padding-right: 0; }

  .hidecol1 #col3 { margin-left: 0; margin-right: 33.3%; }
  .hidecol1 #col3_content{ padding-left: 0; }

  .hidecol2 #col3 { margin-left: 33.3%; margin-right: 0; width:645.667px }
  .hidecol2 #col3_content{ padding-right: 0; }

  .hideboth #col1, 
  .hideboth #col2, 
  .hidecol1 #col1, 
  .hidecol2 #col2 { 
  	display:none; 
  }  
  
  .hidecol2 #col1 {
  	background: #00a3b3;
  	color: white;

  }
  
  .hidecol2 #col1_content { 
  	padding: 20px; 
  	/*
  	display: table-cell;
  	vertical-align: bottom;
  	*/
  }
  

	
	/* Footer Content */
  #col4 { width:33.3%; float:left; }
  #col4_content {
  	padding:0 0 0 0;
  	
  }

  #col5 { width:33.3%; float:right; }
  #col5_content { padding: 0 0 0 0; }

  #col6 { margin:0 33.3%; }
  #col6_content { 
  	padding:0 0; 
  	border-left: 1px solid white;
  	border-right: 1px solid white;
  }  
  
   
 /**
  * ------------------------------------------------------------------------------------------------- #
  *
  * (en) Styling of layout specific elements
  * (de) Gestaltung layoutabhängiger Elemente
  */

  #header h1 {
    font-weight:bold;
    font-size:2.5em;
    letter-spacing:-2px;
    line-height:65%;
    color:#000;
  }

  #header span { color:#999; }

  #topnav a { color:#999; font-weight:normal; background:transparent; text-decoration:none; }
  #topnav a:focus,
  #topnav a:hover,
  #topnav a:active { text-decoration:underline; background-color:transparent; }

  #footer a { color:#999; background:transparent; }
  #footer a:focus,
  #footer a:hover,
  #footer a:active {color:#ccc; background-color:transparent; text-decoration:underline; }

 /**
  * ------------------------------------------------------------------------------------------------- #
  *
  * Skiplinks 
  *
  * (en) Visual styling for skiplink navigation
  * (de) Visuelle Gestaltung der Skiplink-Navigation
  *
  * @section content-skiplinks
  */
  
  #skiplinks a.skip:focus,
  #skiplinks a.skip:active { 
	color:#fff; 
	background:#333; 
	border-bottom:1px #000 solid;
	padding:10px 0;
	text-decoration:none;
  }
}
