﻿/* the bit that does the work */


html
{
	overflow:auto;	
}


body {
  margin:0;
  border:0;
  padding:0;
  height:100%; 
  max-height:100%; 
  background:#fff; 
  font-family: trebuchet ms, tahoma, verdana, arial, sans-serif; 
  font-size:76%;
}

#header {
  position:absolute; 
  top:0; 
  left:0; 
  width:100%; 
  height:127px; 
  overflow:auto; 
  background: url(/images/master/MenuBg.gif) repeat-x 0px 0px;
  z-index:5;
}

#container {

  position:fixed; 
  top:127px;
  left:173px;
  bottom:0px; 
  right:0px; 
  overflow:auto; 
  background:url(/Images/master/ContentBgBtm.gif) fixed repeat-y 0px 127px;
  text-align:left;
  height:auto;
}

#containerBg
{
	background: url(/images/master/ContentBg.gif) no-repeat fixed 0px 127px;display:block;height:auto; 
}

#containerBgRight
{
	background:url(/Images/master/ContentBgRight.gif) fixed repeat-x 0px 127px;display:block;height:auto; 
	
}

#containerBgBtm
{
	background:url(/Images/master/ContentBgBtm.gif) fixed repeat-y 0px 127px;display:block; height:auto; 
}

/* for internet explorer*/

* html #containerBg
{
	background: url(/images/master/ContentBg.gif) no-repeat fixed 0px 0px;display:block; height:100%;
}

* html #containerBgRight
{
	background:url(/Images/master/ContentBgRight.gif) fixed repeat-x 0px 0px;display:block; height:100%;
	
}

* html #containerBgBtm
{
	background:url(/Images/master/ContentBgBtm.gif) fixed repeat-y 0px 0px;display:block; height:100%;
}
 

* html body {
	padding:0px 0px 0px 0px; 
}

* html #container 
{
	position:absolute; 
	z-index:3; 
	top:0; 
	left:173px;
	right:-15px;
	bottom:0; 
	height:100%;
	border-top:127px solid #fff; 
	border-bottom:0px solid #fff;
	border-right:0px solid #fff;
	overflow-y: auto;
	overflow-x:hidden;

 
	
}


* html #header {
	top:0px; height:127px;
	}


#blankContent, #blankContentWrapper{
  font-size: 1.2em;
  position:fixed; 
  top:127px;
  left:0px;
  bottom:0px; 
  right:0px; 
  padding-left:0px;
  overflow:auto; 
  text-align:left;
  display:block;
  height:auto; 
  }

#blankContentWrapper 
{
  overflow:hidden;
  height :100%;
}



#footer {
 position: absolute;bottom:0px;width:191px;padding-top:2px;height:28px;padding-left:4px;
 text-align:center;
 background: url(/images/master/ActivityBoxBg.png);	

}

/* end of bit that does the work */

@media handheld, only screen and (max-device-width: 480px) {
    /* overrides or style additions for iPhone */
	#footer
	{
		position:relative;
	}
	 #header
	{
		position:absolute;
	}
	#content
	{
		position:relative;
	}
}


#tasksContainer
{
	
	top: 147px;
    	position: absolute;
    	width:173px;
    	bottom:50px;
    	overflow:hidden;
    	background: url(/images/master/ActivityBoxBg.png);	
}
#logo{ margin-left:20px; width:249px; height:61px; background: url(/images/master/AussieMenLogo.gif) no-repeat 0px 0px;}
#subMenu
{
	position:absolute;top:85px;z-index:6;display:block; height:41px;min-width:980px;
	background: url(/images/master/MenuBg.gif) repeat-x 0px 50px;	
}