/**
 * "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:#FFF; padding:0 0 0 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:80em; background:#fff; }
  .page { padding:10px; }

  #header {
    color:#000;
    background:#fff repeat-x top left;
    padding:0;
	position:relative;
  }

  div.cleaner {
  	clear:both;
  }

  /* (en) #topnav gets absolute positioning within #header */
  /* (de) #topnav wird innerhalb von #header absolut positioniert */
  #topnav { 
	background:transparent; 
  	color:#aaa; 
	
    position:absolute;
    top:10px;
    right:10px; /* LTR */
	text-align:right; /* LTR */
  }

  /* (en) adjustment of main navigation */
  /* (de) Anpassung der Hauptnavigation */
  #nav ul { 
  	margin-left:0px; 
  }
  #nav {
  	  	min-height:39px;
  }
  
  .menu_holder {
  	width:100%;
  	display:block;
  	border-bottom: 1px dotted #666;
    border-top: 1px dotted #666;
  }
  
  .menu_holder .page_margins {
  	position:relative;
  }
  

  #main { background:#fff;padding:10px 0; }

  #footer {
    color:#444;
    background:#88807d;
    padding:10px 0px;
    line-height:1.5em;
	width: 100%;
	z-index:9999;
  }

	.fix_footer {
		position:absolute;
		bottom:0;
	}


  /* (en) Backup for correct positioning */
  /* (de) Absicherung korrekte Positionierung */
  #header, #nav, #main, #footer { clear:both; }

	
	#main {
		padding-bottom: 30px;
	}

	
	* html body{
		overflow:hidden;
	} 
	
 	* html div#content{
		height:100%;
		overflow:auto;
 	}




  /*------------------------------------------------------------------------------------------------------*/

  /**
   * (en) Formatting content container
   * (de) Formatierung der Inhalts-Container
   *
   * |-------------------------------|
   * | #header                       |
   * |-------------------------------|
   * | #col1   | #col3     | #col2   |
   * | 25%     | flexible  | 25%     |
   * |-------------------------------|
   * | #footer                       |
   * |-------------------------------|
   */


  #col1 { width:25%; }
  #col1_content { padding:10px 10px 10px 20px; }

  #col2 { width:25%; }
  #col2_content { padding:10px 20px 10px 10px; }

  #col3 { margin:0 25%; }
  #col3_content { padding:10px; }

 /**
  * ------------------------------------------------------------------------------------------------- #
  *
  * (en) Styling of layout specific elements
  * (de) Gestaltung layoutabhängiger Elemente
  */

  
  #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 { 
  	 
  	width:100%; height:30px; 
  	}
  .fix_footer {
  	position:absolute; bottom:0; left:0;
  }
  #footer a { color:#999; background:transparent; font-weight:bold; }
  #footer a:focus,
  #footer a:hover,
  #footer a:active {color:#6283ae; background-color:transparent; text-decoration:underline; }
  #footer .copy { float:right; }
  #footer .page_margins { background:none; }
  #footer .page_margins a { color:#444; }
	





 /**
  * ------------------------------------------------------------------------------------------------- #
  *
  * 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;
  }
}


@media screen{
	body>div.fix_footer{
   		position: fixed;
	}
}
