html {
  overflow-y: scroll;
}

body {
  margin: 0px;
  padding: 0px;
  text-align: center;
  background: url('../img/back_repeat.png') repeat center top;
  font-family: times new roman;
}

div {
  overflow: hidden;
}

div.clear {
  height: 1px;
  clear: both;
}

img {
  border: none;
}

#top {
  table-layout: fixed;
  width: 100%;
  height: 262px;
  overflow: hidden;
  background: url('../img/top(trans).png') no-repeat 50.1% top;
}

#top_left_repeat {
  height: 262px;
  margin-right: 160px;
  background: url('../img/top_repeat_left(trans).png') repeat-x;
}

#top_center {
  width: 960px;
  vertical-align: top;
  text-align: left;
  overflow: visible;
}

#top_right_repeat {
  height: 262px;
  margin-left: 160px;
  background: url('../img/top_repeat_right(trans).png') repeat-x;
}

#page {
  width: 960px;
  margin: 0px auto;
  text-align: left;
}

#middle {
  width: 916px;
  margin: 9px 22px;
  margin-top: 8px;
}

#content_top {
  width: 916px;
  height: 8px;
  background: url('../img/content_top(trans).png') no-repeat;
  _behavior: url('site/iepngfix/iepngfix.htc');
}

#content_middle {
  width: 872px;
  padding: 6px 22px;
  background: url('../img/content_repeat(trans).png') repeat-y;
  _behavior: url('site/iepngfix/iepngfix.htc');
}

#content_bottom {
  width: 916px;
  height: 16px;
  background: url('../img/content_bottom(trans).png') no-repeat;
  _behavior: url('site/iepngfix/iepngfix.htc');
}

#content_left {
  width: 212px;
  float: left;
}

#search_box {
  margin-left: 8px;
}

#search_box input {
  width: 128px;
  border: 1px solid #cccccc;
}

#search_box button {
  width: 64px;
  background: none;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

#left_box_top {
  width: 212px;
  height: 6px;
  margin-top: 6px;
  background: url('../img/left_box_top(trans).png') no-repeat;
  _behavior: url('site/iepngfix/iepngfix.htc');
}

#left_box_middle {
  width: 188px;
  padding: 0px 12px;
  background: url('../img/left_box_repeat(trans).png') repeat-y;
  _behavior: url('site/iepngfix/iepngfix.htc');
}

#left_box_bottom {
  width: 212px;
  height: 12px;
  background: url('../img/left_box_bottom(trans).png') no-repeat;
  _behavior: url('site/iepngfix/iepngfix.htc');
}

#left_box_title {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 4px;
}

#left_box_content {
  font-size: 14px;
  padding: 0px 4px;
}

#left_box_content a {
  display: block;
  text-decoration: none;
  color: #000088;
}

#left_column .box .top {
  width: 212px;
  height: 6px;
  margin-top: 6px;
  background: url('../img/left_box_top(trans).png') no-repeat;
  _behavior: url('site/iepngfix/iepngfix.htc');
}

#left_column .box .middle {
  width: 200px;
  padding: 0px 6px;
  background: url('../img/left_box_repeat(trans).png') repeat-y;
  _behavior: url('site/iepngfix/iepngfix.htc');
}

#left_column .box .bottom {
  width: 212px;
  height: 12px;
  background: url('../img/left_box_bottom(trans).png') no-repeat;
  _behavior: url('site/iepngfix/iepngfix.htc');
}

#left_column .box .top div, #left_column .box .bottom div {
  height: 6px;
  margin: 0px 6px;
}

#left_column .box .content {
  font-size: 14px;
  padding: 0px 10px;
}

#left_box_content a {
  display: block;
  text-decoration: none;
  color: #000088;
}

#content_right {
  width: 640px;
  margin: 6px;
  margin-left: 14px;
  margin-right: 6px;
  float: left;
}

#content_title {
  height: 20px;
  padding: 2px;
  float: left;
  color: #008800;
  font-size: 18px;
}

#content_title a {
  text-decoration: none;
  color: #009900;
}

#language_select_form {
  float: right;
  margin: 0px;
}

#flag_est, #flag_rus, #flag_eng, #flag_lav {
  display: block;
  width: 16px;
  height: 11px;
  float: left;
  margin: 4px;
  overflow: hidden;
}

#flag_est {
  background: url('../img/est.png');
}

#flag_rus {
  background: url('../img/rus.png');
}

#flag_eng {
  background: url('../img/eng.png');
}

#flag_lav {
  background: url('../img/lav.png');
}

#title_spacer {
  height: 2px;
  background: url('../img/title_spacer.png') repeat-x;
  clear: both;
}

#content {
  width: 640px;
}

#content .album {
  margin: 4px;
  padding: 4px;
  border: 1px solid #cccccc;
  background: #fefefe;
}

#content .album img {
  margin: 4px 12px;
  border: 1px solid #eeeeee;
  float: left;
}

#content .album .left {
  width: 35px;
  height: 106px;
  float: left;
  background: url('../img/album_left.png') no-repeat;
  cursor: pointer;
}

#content .album .right {
  width: 35px;
  height: 106px;
  float: left;
  background: url('../img/album_right.png') no-repeat;
  cursor: pointer;
}

#content .album .list {
  width: 552px;
  height: 106px;
  float: left;
  overflow: hidden;
}

#content .album .list div {
  height: 106px;
}

#content .album .list div img {
  margin: 4px;
  cursor: pointer;
}

#content .album a {
  color: #222288;
  font-weight: bold;
  text-decoration: none;
}

#main_menu {
  position: absolute;
  height: 35px;line-height: 35px;
  margin: 0px 22px;
  padding: 0px;
  margin-top: 219px;
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 18px;
  overflow: visible;
  z-index: 1;
}

#main_menu td {
  text-align: left;
  padding: 0px 12px;
  vertical-align: top;
  font-family: arial, sans-serif;
  font-size: 13px;
  white-space: nowrap;
}

#main_menu td:hover a.main {
  color: #bbbbbb;
}

#main_menu a {
  display: block;
  text-align: center;
  color: white;
  text-decoration: none;
}

#main_menu ul {
  position: absolute;
  list-style: none;
  width: 180px;
  background: #e0e0e0;
  white-space: nowrap;
  margin: 0px;
  border: 3px solid #888888;
  border-top: none;
  border-bottom: 1px solid #888888;
  padding: 0px;
}

#main_menu li {
  position: relative;
  height: 24px;line-height: 24px;
  border: none;
  font-size: 12px;
  background: #e0e0e0 url('../img/menu_arrow.png') left no-repeat;
}

#main_menu li a {
  color: #444444;
}

#main_menu li {
  border-top: 1px solid #888888;
}

#main_menu ul ul {
  position: absolute;
  top: -1px;
  left: 100%;
  width: 180px;
  background: #222222;
  padding: 0px;
}

#main_menu li:hover {
  cursor: pointer;
}

#main_menu li a:hover {
  color: white;
  text-decoration: underline;
}

#main_menu ul, #main_menu td:hover ul ul, #main_menu li:hover ul ul {
  display: none;
}

#main_menu td:hover ul, #main_menu td li:hover ul {
  display: block;
}
