html {
overflow: -moz-scrollbars-vertical; 
overflow-y: scroll;
}


body {
    background: url("../img/fon2.jpg") repeat scroll center top #D9C5AC;
    font-family: Arial;
    margin: 0 auto;
    padding: 0;
}

#page{
    background: url("../img/album_center_50.jpg") repeat-y scroll 0 0 transparent;
    height: 100%;
	min-height: 687px;
    margin: 0 auto;
	margin-top:30px;
    width: 960px;
}

#pageten {
    background: url("../img/ten2.png") repeat-y scroll 0 0 transparent;
    height: 100%;
	min-height: 100%;
    margin:  0 auto;
    width: 990px;
}
h2.h{
	text-align:center;
}
img{
	border:none;
}
#header{
	height:170px;
}
#header-logo {
    float: left;
    width: 30%;
	height:150px;
}
#header-label {
	float: right;
	min-height:150px;
    width: 69%;
}

#header-lent {
    left: -25px;
    margin-bottom: -110px;
    position: relative;
    top: -80px;
    height: 105px;
    width: 200px;
}
#mainmenu{
	text-align:center;
	clear:right;
}
#mainmenu table {
	width:100%;
}
#mainmenu table td{
	text-align:left;
	font-size:1.2em;
}
#mainmenu table td.big
{
	font-size:1.4em;
	padding:10px 0px;
}
#search input{
	background-color:#D9C5AC;
	color:black;
	border:solid 1px black;
}

#footer{
	color:black;
	text-align:center;
	font-size:0.9em;
	position:relative;
}
#footer .yashare-auto-init{
	position:absolute;
	right:0;
	top:47px;
}
#footermenu {
	text-align:right;
	padding:5px;
}
#footermenu li
{
	display:inline;

	margin-left:20px;
}

#content{
	min-height:400px;
	padding: 10px;
}
.mainlink{
	font-size:1.2em;
	color:#f0f8ff;
	font-weight:bold;
	margin:2px;
}
a{
	color:black;
}
/* INDEX*/
.maintable
{
	width:100%;
}
.maintable .photo-thumb-tr td
{
	text-align:center;
	width: 160px;
	max-width: 160px;
	vertical-align:middle;
	height:130px;
}
.maintable .photo-fio-tr td
{
	vertical-align:top;
	text-align:center;
	height:60px;

}

.maintable td.with-history{
    	background:url(../img/star16_16.png) no-repeat top right;
}

/* RAMKI */

.frame-block-h, .frame-block-w, .frame-block-h2, .frame-block-w2{
  position: relative;
  display: block;
	min-height:130px;
 }
.frame-block-h span{
  background: url(../img/ramka_small1.png) no-repeat;
  width: 100px;
  height:130px;
  position: absolute;
  left:26px;
  top:-5px;
}

.frame-block-w span{
  background: url(../img/ramka_small2.png) no-repeat;
  width: 130px;
  height:90px;
  position: absolute;
  left:12px;
  top:-5px;
}

.frame-block-h2 span{
  background: url(../img/ramka_big1.png) no-repeat;
  width: 260px;
  height:330px;
  position: absolute;
  left:55px;
  top:-11px;

}

.frame-block-w2 span{
 background: url(../img/ramka_big2.png) no-repeat;
  width: 330px;
  height:230px;
  position: absolute;
  left:20px;
  top:-12px;

}

.frame-block-h img
{
	height:120px;
	width:88px;
}
.frame-block-w img
{
	height:80px;
	width:120px;
}
div.res{
  z-index:2;
}

/* VIEW */
table.person-view
{
	width:90%;
	margin:0 auto;
}
.person-view .person-photo
{
	text-align:center;
	vertical-align:top;
}

.person-view .frame-block-h2 img
{
	width:220px;
	height:310px;
}
.person-view .frame-block-w2 img
{
	width:310px;
	height:200px;
}
.person-view .person-descr
{
	vertical-align:top;
}

.person-view .person-descr h1
{
	font-size:18px;
}
.book-page
{
	font-style:italic;
	padding:10px 0px;
}

a.formlink{
	padding-top:5px;
	text-decoration: none; border-bottom: 1px dashed;
}


/* pager */
.wpager{
	display:inline-block;
}
.wpager li {
	line-height:100%;
    display: inline;
	padding:2px;
}
.wpager li.selected {
	font-weight:bold;
}
.grid-view .pager{
	text-align:left !important ;
}

/*guestbook*/
#guestbook td {
    border-bottom: 1px dashed #707070;
    padding: 0px;
	vertical-align:top;
}
#guestbook td {

}


.success-flash{
    border:solid 1px black;
    background-color:#52824D;
    color:black;
    margin:20px;
    padding:5px;
    font-weight:bold;

}
/*admin*/
.adminlink{
	color:white;
	font-style:italic;
}
#adminmenu{
	position:absolute;
	background-color:black;
	padding:5px;
	top:0;
}
#adminmenu .adminlink{
	font-style:normal;
}

.breadcrumbs{
	width:100%;
	clear: both;
}

/*victoryStory*/
.victories td{
	vertical-align:top;
}

.victories .title{
	font-weight:bold;
	padding:3px;
	padding-top:20px;
}
.victories {
	min-height:160px;
}
.victories img{
	padding-right:10px;
}
.victories .txt p{
	text-indent:20px;
}
/*alphabet*/
.alphabet
{
	text-align:left;
}
.alphabet span
{
	padding:2px;
}
.alphabet span.selected
{
	font-weight:bold;
	font-size:1.2em;
}

.alphabet.subs{
	padding-top:10px;
}
