/**************************************************************************/
/* LAYOUT: Border
/**************************************************************************/

div#page {
  /*width:800px; /* 768 main + 16 left + 16 right */
  width:950px; /* 918 main + 16 left + 16 right */
  margin:auto; /* center layout for Firefox */
  text-align:left; /* to compensate for center layout */
  background-color:RGB(220,220,220);
  border:1px dotted black;
}

div#pagetop {
  background-repeat:repeat-x;
  background-position:bottom left;
}

div#pagetopleft {
  background-position:top left;
  background-repeat:no-repeat;
}

div#pagetopright {
  margin-left:16px;
  background-position:top right;
  background-repeat:no-repeat;
}

div#pagetopmain {
  width:918px;
  height:16px;
  text-align:right;
  font-size:8pt;
}

div#pagemiddle {
}

div#pagemiddleleft {
  background-position:top left;
  background-repeat:repeat-y;
}

div#pagemiddleright {
  margin-left:16px;
  background-position:top right;
  background-repeat:repeat-y;
}

div#pagemiddlemain {
  width:918px;
  background-color:white;
  border:1px solid RGB(60,60,60);
}

div#pagebottom {
  background-position:top left;
  background-repeat:repeat-x;
}

div#pagebottomleft {
  background-position:top left;
  background-repeat:no-repeat;
}

div#pagebottomright {
  margin-left:16px;
  background-position:top right;
  background-repeat:no-repeat;
}

div#pagebottommain {
  width:918px;
  height:16px;
  background-position:bottom left;
  background-repeat:repeat-x;
}

/**************************************************************************/
/* LAYOUT: Content
/**************************************************************************/

div#title {
  height:100px;
  background-image:url(/img/standard/layout/title.gif);
  background-repeat:no-repeat;
}

div#quicklinks {
  float:right;
  padding:10px;
  color:RGB(60,60,60);
  color:RGB(170,170,170);
  text-align:right;
}

div#quicklinks a {
  color:white;
  font-size:8pt;
}

div#header {
  clear:both;
  height:150px;
  background-image:url(/img/standard/layout/header.gif);
  background-position:top right;
}

div#header h1 {
  margin:0;
  padding:0;
  padding-top:80px;
  padding-bottom:5px;
  margin-left:30px;
  color:white;
  border:none;
  font-size:24pt;
  opacity:0.5;
  filter:alpha(opacity=50);
  color:RGB(240,240,240);
}

div#header p {
  margin:0;
  padding:0;
  margin-left:40px;
  color:white;
  font-size:14pt;
  opacity:0.5;
  filter:alpha(opacity=50);
  color:RGB(240,240,240);
}

div#content {
}

div#left {
  float:left;
  width:170px;
  padding:0;
  padding-top:10px;
}

div#middle {
  float:left;
  width: 748px; /* 918 - 170 = 748 */
  /*margin-left:170px;*/
  /*background-color:white;*/
  /*border-left:1px solid white;*/
  background-repeat:no-repeat;
  background-position:top left;
  min-height:400px;
  height:auto !important;
  height:400px;
}

div#middleheader {
  padding-left:10px;
  padding-top:10px;
  padding-bottom:20px;
}

div#sidebar {
  float:right;
  width:260px;
  padding:20px;
  padding-top:30px;
}

div#sidebar p {
  font-size:8pt;
  font-weight:bold;
}

div#middlecontent {
  padding:20px;
}

iframe#website_module {
  width:690px; /* 918 pagemiddlemain - 170 left - 40 main padding - 18 for luck */
}

div#prefooter {
  height:100px;
}

div#footer {
  height:1%;
  clear:both;
  padding:5px;
  line-height:20px;
  text-align:center;
  color:RGB(160,160,160);
  background-color:RGB(60,60,60);
  font-size:8pt;
}

div#footer a {
  color:RGB(250,250,250);
  font-size:9pt;
}

div#footer p {
  font-size:9pt;
}

div#footer span.legal {
  font-size:7pt;
}

div#footerleft {
  float:left;
  width:390px;
  height:200px;
  padding:15px;
  text-align:left;
  border-right:3px dotted RGB(100,100,100);
}

div#footerright {
  float:left;
  width:420px;
  height:200px;
  padding:15px;
  text-align:left;
}

div#footerright img {
  float:left;
  margin-right:10px;
}


div#footer h2 {
  margin-top:0;
  color:RGB(200,200,200);
  font-size:16pt;
}

div#footer ul.bullets li {
  margin-bottom:0px;
  line-height:10px;
}

/**************************************************************************/
/* LAYOUT: PAGES CONTROLLER
/**************************************************************************/

div.pagecontent {
}

div.sidebar {
  float:right;
  width:240px;
  margin-left:20px;
}

div.sidebar div.advert {
  width:100%;
  margin-bottom:10px;
  border:1px solid black; /*RGB(160,160,160);*/
}

div.sidebar div.advert img {
  margin:0;
}

/*div.sidebar div.advert div.link {
  padding:2px;
  text-align:center;
  background-color:RGB(245,245,245);
}

div.sidebar div.advert div.link a {
  font-size:7pt;
}*/

div.sidebar iframe {
  width:100%;
  height:380px;
  background-color:transparent;
  /*background-color:RGB(245,245,245);
  border:1px solid RGB(160,160,160);*/
  /*overflow-y:scroll;*/
  overflow-x:hidden;
}

