/* 
 * Note: Internet Explorer includes padding and borders in the width. 
 */
 
/* 
 * Table is used to make the outer divs resize always
 */

table.layout {
  border: 0px;
  margin: 0px 0px;
  padding: 0px 0px;
  border-collapse: collapse;
}
table.layout td {
  padding: 0px 0px;
  vertical-align: top;
}
table.layout td#canvas_left {
  background-color: #bebebe;
}


/*
 * Background
 */

body {
  background-color: #b8b8b8;
  margin: 0px 0px;
  padding: 0px 0px;
}

#bg_outer {
  background-color: #b8b8b8;
  margin: 0px 0px;
  padding: 0px 0px;
}

#bg_inner {
  text-align: center;
  background: #b8b8b8 url(images/bg/bg_background.gif) 0 0 repeat-x;
  margin: 0px 0px;
  padding: 0px 0px;
}

/*
 * Frame
 */
 
div#frame4 {
  background: url(images/bg/bg_tl.gif) 0 0 no-repeat;
  margin: 0 auto;
  padding: 0px 0px;
  width: 920px;
  position: relative;
}

div#frame3 {
  background: url(images/bg/bg_tr.gif) 100% 0 no-repeat;
  margin: 0px 0px;
  padding: 0px 0px;
  width: 920px;
}

div#frame2 {
  background: url(images/bg/bg_bl.gif) 0 100% no-repeat;
  margin: 0px 0px;
  padding: 0px 0px;
  width: 920px;
}

div#frame1 {
	background: url(images/bg/bg_br.gif) 100% 100% no-repeat;
  margin: 0px 0px;
  padding: 0px 0px;
  width: 920px;
}

div#frame_body {
  border: 0px;
  margin: 0px 0px;
  padding: 0px 16px 16px 16px;
}

/*
 * Canvas
 * (two columns: left, center)
 * canvas.height = canvas_left.height + flag_row.height
 * frame.width = 32 + canvas_left.width + canvas_center.width
 */

div#canvas {
  padding: 0px 0px 0px 0px;
  background: #ffffff;
}
html>body div#canvas {
}

div#canvas_left {
  vertical-align: top;
  background: #bebebe;
  padding: 0px 0px 3px 0px;
  width: 148px;
  float: left;
  height:400px;
}
html>body div#canvas_left {
  min-height:400px;
}

div#canvas_center {
  vertical-align: top;
  background: #ffffff;
  padding: 0px 0px 0px 4px;
  width: 740px;
  float: left;
}
html>body div#canvas_center {
  width: 736px;
}

/*
 * Banner
 */

div.banner {
  height: 140px;
  width: 888px;
}

div#banner_img {
  background: #ffffff url(images/xnoise.gif) top center no-repeat;
  height: 140px;
  width: 888px;
}
 
/*
 * Flags
 * flag_row.width = padding_left + padding_right + 30 flags * (flags img.width + flags.margin_right)
 */

div#flag_row {
  background-color: #bac6d2;
  height: 27px;
  padding: 1px 20px 2px 28px; /* trbl */
  margin: 0 auto;
  float: left;
}
html>body div#flag_row {
  height: 24px;
  width: auto;
}

div.flags {
  font: bold 8px arial;
  color: #000000;
  text-decoration: none;
  height: 12px;
  width: 28px;
  float: left;
}
html>body div.flags {
  width: 28px;
}

div.flags a, div.flags {
  font: bold 8px arial;
  color: #ffffff;
  text-decoration: none;
  margin: 0 0;
}
html>body div.flags a {
}

div.flags a:hover {
  font: bold 8px arial;
  color: #303030;
  text-decoration: none;
}

div.flags a img, div.flags img {
  border: 1px solid #999999;
  height: 12px;  
  width: 18px;
}

div.flags a:hover img {
  border: 1px solid #303030;
}

/*
 * Persistence link
 */
div#persistence_link {
  background-color: #b8b8b8;
  height: 16px;
  line-height: 10px;
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 622px;
}
div#persistence_link a {
  font: 11px arial;
  color: #222;
}