/* Base settings
*******************************************************************************/

html {
  background: #fff url(/images/bg.png);
}

body {
  margin: 0;
  color: #3a3a3c;
}

th, td {
  border: none;
}

th {
  text-align: right;
  font-weight: normal;
}

ul {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
}



/* Main document
*******************************************************************************/

#doc {
  width: 950px;
  margin: 0 auto;
  padding: 0;
  text-align: left;
}



/* Header
*******************************************************************************/

#header {
  position: relative;
  margin: 22px 22px 11px;
  _height: 0;
  $z-index: 10; /* IE7 fix for dropdown language menu */
}

#navbar {
  position: absolute;
  bottom: 17px;
  right: 0;
}

/*Credits: CSSpplay */
/*URL: http://www.cssplay.co.uk/menus/pro_nine */

#menu {
  float: right;
  margin: 0 22px;
}

#menu ul {
  position: relative;
  height: 25px;
  padding: 0;
  margin: 0;
  list-style: none;
  display: inline;
}

#menu li {
  float: left;
  list-style: none;
}

#menu li a {
  display: block;
  float: left;
  height: 25px;
  line-height: 25px;
  color: #3a3a3c;
  text-decoration: none;
  font-size: 14px;
  font-family: arial, verdana, sans-serif;
  text-align: center;
  padding: 0 0 0 5px;
  cursor: pointer;
}

#menu li a span {
  float: left;
  display: block;
  padding: 0 10px 0 5px;
}

#menu li.current a, #menu li a:hover {
  color: #fff;
  background: url(/images/menu-bg.png) no-repeat -190px 0;
}

#menu li.current a span, #menu li a:hover span {
  background: url(/images/menu-bg.png) no-repeat 100% -25px;
}

#menu ul li.current a:hover {
  cursor: default;
}


#lang-list {
  float: right;
  width: 120px;
}

#lang-list .dropdown {
  width: 100%;
  height: 25px; /* for IE6 */
  line-height: 25px;
  z-index: 20;
}

#lang-list .dropdown strong {
  text-align: right;
}

#lang-list .dropdown strong img {
  margin-bottom: 3px;
}

#lang-list .dropdown .block {
  left: auto;
  right: 0;
  $width: 100px; /* IE7 fix */
}

#lang-list .dropdown img {
  margin-right: 5px;
  vertical-align: middle;
  border: none;
}



/* Footer
*******************************************************************************/

#footer {
  padding: 22px 22px 66px;
  margin-top: 11px;
  border-top: 1px solid #ccc;
}

#footer .img-box {
  position: relative;
  width: 100%;
  font-size: .85em;
}

#footer .img-box img {
  margin-right: 22px;
  margin-top: -7px;
}

#search {
  position: absolute;
  top: 0;
  right: 0;
  width: 207px; /* 240 - 22 - 11 */
}

#search .b-content {
  background: #fff url(/images/i-search.png) no-repeat 186px 0;
}

#search input {
  position: absolute;
  top: 4px;
  left: 8px;
  width: 172px;
  color: gray;
  background: #fff;
  border: 0;
  outline: none;
  resize: none;
}

#search button {
  float: right;
  margin-right: 7px;
  background: none;
  border: none;
  width: 12px;
  height: 12px;
  text-indent: -9999px;
  cursor: pointer;
  outline: none;
}

#menu-bottom {
  overflow: hidden;
  margin-top: .6em;
}

#menu-bottom ul {
  margin-top: -2px;
  float: left;
  margin-left: -.75em;
  background: #000;
}

#menu-bottom li {
  float: left;
  padding: 0 .75em;
  margin-left: 1px;
  list-style: none;
  background: #fff;
}



/* Misc
*******************************************************************************/

.wrapper {
  width: 100%;
  overflow: hidden;
}

.clear {
  clear: both;
}

.indent {
  padding: 11px 22px;
}

.outer-indent-top {
  margin-top: 22px;
}

.outer-indent-top-half {
  margin-top: 11px;
}

.outer-indent-top-none {
  margin-top: 0;
}


/*
image box
See: http://cssing.org.ua/2005/07/03/display-table/

html markup:
<div class="img-box">
  <img src="image.jpg" />
  <div class="img-box-text">text</div>
</div>
*/

.img-box img {
  float: left;
  margin-right: 1em;
}

.img-box-text {
  margin: 0;
  display: table;
  _height: 0;
  $height: 0;
  zoom: 1;
}

.highlight {
  background: yellow;
}

.main-text-block {
  font-size: 16px;
  font-family: arial, verdana, sans-serif;
  font-weight: bold;
  text-align: left;
}


