html, body {
	margin: 0px;
	height: 100%;
	overflow: auto;
}
body, table, td, div, a, span, ul, li {
	font-family: Verdana, Tahoma, Arial;
	font-size: 12px;
  color: #402e8a;
}

body {
}


h1 { 
  margin-top: 0px;
  font-size: 16px;
}

h2 {
  margin-top: 0px;
  margin-bottom: 20px;
  font-size: 15px; 
}

h3 {
  font-size: 14px;
}

p { margin-top: 0px; }

a {
  color: #402e8a;
}

li {
  margin-top: 10px;
  margin-bottom: 10px;
}

#background
{
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  
}

#background-image {
  position: absolute;
  left: 40px;
  right: 40px;
  *width: expression(documentElement.clientWidth-80);

}

#left {
  position: fixed;
  z-index: 10;
  top: 80px;
  left: 20px;
  width: 210px;
  bottom: 80px;
  padding: 15px;
  background-color: #412e8a;
  overflow: auto;
}

#logo {
  position: fixed;
  z-index: 20;
  top: 20px;
  left: 20px;
  background-image: url(_layouts/logo.gif);
  background-repeat: no-repeat;
  width: 250px;
  height: 39px;
}

#toolbar {
  position: fixed;
  z-index: 10;
  left: 240px;
  bottom: 0px;
  padding-bottom: 20px;
  padding-top: 10px;
  padding-left: 20px;
  text-align: center;
}


#page {
  position: fixed;
  z-index: 2;
  left: 250px;
  top: 80px;
  bottom: 50px;
  right: 0px;
  overflow: auto;
}

#contentplaceholder {
  margin-top: 20px;
  margin-bottom: 50px;
  margin-left: 20px;
  margin-right: 20px;
}

body.editmode #content {
  height: 600px;
}

#content {
  max-width: 700px;
}

#content iframe {
  width: 750px;
  height: 600px;
}


/* left menu */

#left {
  line-height: 2;
}

.menuitem {
  display: block;
  color: white;
  text-decoration: none;
}

.menuitem.selected {
  text-decoration: underline;
}

.submenuitem {
  display: block;
  padding-left: 30px; 
  color: white;
  text-decoration: none;
}

.submenuitem.selected {
  text-decoration: underline;
}

/* toolbar */

#toolbar {
  color: #402e8a;
  font-size: 10px;
}

.toolbaritem {
  font-size: 10px;
  color: #402e8a;
  padding: 0px 10px 0px 10px;
  text-decoration: none;
}

.toolbaritem.selected {
  text-decoration: underline;
}

/* IE6 hacks */


body.ie6 #background
{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body.ie6 #background-image {
  width: 100%;
}

body.ie6 #left {
  position: absolute;
  z-index: 10;
  top: 80px;
  left: 0px;
  width: 160px;
  bottom: 40px;
  height: expression(documentElement.clientHeight-120);
}

body.ie6 #logo {
  position: absolute;
  z-index: 20;
  top: 20px;
  left: 10px;
}

body.ie6 #toolbar {
  position: absolute;
  z-index: 10;
  left: 190px;
  bottom: 0px;
  padding-top: 10px;
  padding-left: 20px;
  padding-bottom: 0px;
}


body.ie6 #page {
  position: absolute;
  z-index: 2;
  left: 190px;
  top: 80px;
  bottom: 50px;
  height: expression(documentElement.clientHeight-130);
  
  right: 0px;
  width: expression(documentElement.clientWidth-210);
  overflow: auto;
}



body.ie6 #content {
  width: expression(eval(documentElement.clientWidth < 1250) ? documentElement.clientWidth-40-210-20 : 980);
}
