/* ----- innercss ----- */
.sub_menu {
  background: url(/images/dolina-imeniy.ru/bg_submenu.gif) left top no-repeat;
  margin: 0px 0px 20px 0px;
  padding: 0px 0px 0px 0px;
  height: 60px;
}

.sub_menu table tr {
  height: 50px;
}

.sub_menu table tr.for_arrow {
  height: 10px;
}

.sub_menu table tr td {
  padding: 6px 12px;
  vertical-align: middle;
  background: url(/images/dolina-imeniy.ru/dot2.gif) right center no-repeat;
}

.sub_menu table tr td.end {
  background: transparent;
}

.sub_menu table tr td a {
  color: #fff;
  font-size: 13px;
  font-weight: bold;
}

.sub_menu table tr td a.activ {
  color: #F8F023;
  font-size: 13px;
}

.sub_menu table tr td a:hover {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
}

.sub_menu table tr.for_arrow td {
  background: transparent;
  text-align: center;
}

.sub_menu table tr.for_arrow td img {
  position: relative;
  margin-top: -1px;
  visibility: hidden;
}

.sub_menu table tr td.activ a {
  text-decoration: none;
}

.sub_menu table tr.for_arrow td.activ img {
  visibility: visible;
}

#content {
  background: url(/images/dolina-imeniy.ru/cont_bg.gif) left top;
  border: solid 6px #fff;
  padding: 26px 23px;
  font-family: Arial, Tahoma;
  line-height: 18px;
  color: #fff;
  font-size: 13px;
  margin-bottom: 0px;
  z-index: 0;
}

#content h1 {
  color: #fff;
  font-size: 22px;
  margin: 0px;
  padding: 0px 0px 20px 0px;
  font-family: Arial, Tahoma;
}

#content h2 {
  color: #fff;
  font-size: 18px;
  margin: 0px;
  padding: 10px 0px 10px 0px;
  font-family: Arial, Tahoma;
  font-weight: normal;
}

#content p {
  color: #fff;
  font-size: 13px;
  margin: 0px;
  padding: 10px 0px 15px 0px;
  line-height: 18px;
}

#content a {
  color: #FFFDBF
}

#content a:hover {
  color: #FFFFFF
}

#content .alt_block {
  background: url(/images/dolina-imeniy.ru/bg_alt.gif) left top;
  margin: 0px 0px 15px 0px;
}

#content .alt_block div {
  background: url(/images/dolina-imeniy.ru/alt_top.gif) left top no-repeat;
}

#content .alt_block div div {
  background: url(/images/dolina-imeniy.ru/alt_bottom.gif) right bottom no-repeat;
  padding: 26px 55px 30px 130px;
  color: #fff;
  font-size: 13px;
}

#content .img_text {
  height: 182px;
  width: 100%;
  margin: 0px 0px 25px 0px;
}

#content .img_text .img {
  position: relative;
}

#content .img_text .img #shad {
  width: 16px;
  height: 182px;
  position: absolute;
  top: 0px;
  right: -16px;
}

#content .img_text .text {
  background: url(/images/dolina-imeniy.ru/bg_alt.gif) left top;
  color: #fff;
  font-size: 13px;
  vertical-align: bottom;
}

#content .img_text .text div {
  background: url(/images/dolina-imeniy.ru/right_corner.gif) right bottom no-repeat;
  padding: 25px 42px;
}

#content ul {
  margin: 0px 0px 15px 16px;
  padding: 0px;
  list-style: none;
}

#content ul li {
  background: url(/images/dolina-imeniy.ru/bullet1.gif) left 6px no-repeat;
  padding-left: 15px;
}

#content ul li ul {
  margin: 0px;
  padding: 0px;
  list-style: none;
}

#content ul li ul li {
  background: url(/images/dolina-imeniy.ru/bullet2.gif) 7px 6px no-repeat;
  padding-left: 20px;
}

#content table.main_tbl {
  width: 100%;
  margin: 0px 0px 15px 0px;
}

#content table.main_tbl thead tr td {
  background: url(/images/dolina-imeniy.ru/bg_alt.gif) left top;
  font-weight: bold;
}

#content table.main_tbl thead tr td .left {
  height: 25px;
  background: url(/images/dolina-imeniy.ru/left.gif) left top no-repeat;
  padding: 15px 0px 0px 21px;
}

#content table.main_tbl thead tr td .right {
  height: 25px;
  background: url(/images/dolina-imeniy.ru/right.gif) right top no-repeat;
  padding: 15px 30px 0px 27px;
}

#content table.main_tbl thead tr td .center {
  height: 25px;
  padding: 15px 0px 0px 21px;
}

#content table.main_tbl tbody tr td {
  background: url(/images/dolina-imeniy.ru/dots.gif) left bottom repeat-x;
  padding: 0px 10px 10px 21px;
}

#content table.main_tbl tbody tr td.for_right {
  padding: 0px 30px 10px 10px;
  text-align: right;
}

#content table.main_tbl tbody tr.end td {
  background: transparent;
  padding-bottom: 0px;
}

#content table.main_tbl tbody tr.foot td {
  background: url(/images/dolina-imeniy.ru/bg_alt.gif) left top;
  padding: 0px;
}

#content table.main_tbl tbody tr.foot td div.l_foot {
  height: 9px;
  background: url(/images/dolina-imeniy.ru/lcon.gif) left bottom no-repeat;
}

#content table.main_tbl tbody tr.foot td div.r_foot {
  height: 9px;
  background: url(/images/dolina-imeniy.ru/rcon.gif) right bottom no-repeat;
}

#content table.main_tbl tbody tr td.table_title {
  background: transparent;
  vertical-align: middle;
  font-style: italic;
  padding-top: 10px;
}

/* ----- Photo albums ----- */
#albums .photos {
  text-align: center;
}

.album {
  clear: both;
}

#albums .album {
  
}

#albums .photos .photo {
  float: left;
  width: 115px;
  height: 175px;
  padding: 20px;
}

#albums .photos .photo .descr {
  font-size: 13px;
  padding: 5px 0 15px;
}

#albums .photo img {
  background: #fff;
}

#albums .photo img.ver {
  background: #fff;
  padding: 5px 25px 5px 25px;
}

#albums .photo img.hor {
  background: #fff;
  padding: 25px 5px 25px 5px;
}
