html, body { height: 100%; margin: 0; padding: 0; }
body, input, select { font: 75% "Trebuchet MS", Tahoma, Verdana, sans; }
form { margin: 0; }
table, input, select { font-size: 100%; }
a { color: #00B9F2; }
a:visited { color: #166C86; }
a:hover { color: red; }

#main { min-width: 900px; height: 100%; width: expression((documentElement.offsetWidth || document.body.offsetWidth) < 900 ? '900px' : 'auto'); }

#header { height: 112px; background: #FFF url(images/bg_header.gif) left bottom repeat-x; border-bottom: 1px solid #157592; }
#header .logo { background: url(images/glendor_search_logo.gif) no-repeat; width: 173px; height: 59px; position: absolute; left: 18px; top: 28px; overflow: hidden; text-indent: -999px; }
#footer { background: #FFF url(images/bg_footer.gif) left top repeat-x; border-top: 1px solid #157592; line-height: 40px; position: relative; padding: 0 22px; margin-top: -41px; height: 40px; }

#search_form { position: absolute; left: 203px; top: 51px; }
#search_form * { vertical-align: middle; } 
#search_form .query { padding-left: 6px; padding-right: 6px; width: 375px; }
#search_form .engine option { padding-left: 30px; background: #FFF; background-position: 2px 1px; background-repeat: no-repeat;  }

#top_menu, #bottom_menu { list-style: none; padding: 0; margin: 0; }

#top_menu { position: absolute; top: 0; left: 269px; height: 29px; background: #01A3D5;}
#top_menu li { float: left; padding: 0; margin: 0; }
#top_menu li a { display: block; color: #FFF; text-decoration: none; font-weight: bold; line-height: 29px; height: 29px; background-repeat: no-repeat; text-indent: -999px; overflow: hidden; }
#top_menu li a:hover { background-position: 0 -31px; background-color: #5BD4F9; }
.menuitem_search a  { background: url(images/menu_search.gif) 0 0 no-repeat; width: 69px; }
.menuitem_demo a    { background: url(images/menu_demo.gif) 0 0 no-repeat; width: 53px; }
.menuitem_help a    { background: url(images/menu_help.gif) 0 0 no-repeat; width: 47px; }
.menuitem_aboutus a { background: url(images/menu_aboutus.gif) 0 0 no-repeat; width: 70px; }
.menuitem_blog a    { background: url(images/menu_blog.gif) 0 0 no-repeat; width: 44px; }
.menuitem_feedback a{ background: url(images/menu_feedback.gif) 0 0 no-repeat; width: 78px; }

#bottom_menu { position: absolute; left: 520px; top: 0; }
#bottom_menu li { display: inline; white-space: nowrap; padding: 0 7px; }
#bottom_menu li a { color: #000; }
#bottom_menu li a:hover { color: #18C; }

#content { padding: 0 0 41px 0; background: #FFF; overflow: hidden; }

