html, body { height:100%; }
body, ul, li, img, a { margin:0; padding:0; }
body { background-color:#352d01; text-align:center; font-family:Georgia, sans-serif; font-size:12px; color:#141413; }
a { color: #574a04; text-decoration: none; }
a:hover { text-decoration: underline; }

#page-container { position:relative; margin:0 auto; width:800px; min-height:100%; }
#page-header { position:relative; margin-top:45px; width:100%; height:226px; background:url(header.jpg) 50% 0 no-repeat #f2efe5; }
#page-body { background-color:#faf9da; padding-bottom:35px; }
#page-footer { height:40px; width:100%; padding-top:4px; text-transform:uppercase; text-align:right; }

#header-title { position:absolute; left:177px; top:62px; text-align:left; height:64px; padding-left:15px; }
	#header-title div { width: 310px; height: 40px; margin: 9px 0 0 0; background: url('header_title.jpg') no-repeat; }
	body#en #header-title div { width: 401px; background-image: url('header_title_en.jpg'); }
	body#ru #header-title div { width: 360px; background-image: url('header_title_ru.jpg'); }
	#header-title div * { position: absolute; left: -1000000px; }
	
#navigation-main { position:absolute; bottom:0; left:0; border-bottom:solid 3px #352d01; height:29px; width:100%; background:url(navigation_main_bg1.gif) 0 100% repeat-x; }
	#navigation-main ul { height:29px; margin-left:25px; text-align:left; }
		#navigation-main ul li { display:inline; height:24px; }
			#navigation-main ul li a { float:left; position:relative; height:24px; text-align:center; text-decoration:none; font-family:Arial, sans-serif; font-size:11px; color:#574a04; text-transform:uppercase; }
			#navigation-main ul li a:hover, .active1 { border-bottom:solid 1px #700b0b; border-left:solid 1px #ada88c; border-top:solid 1px #ada88c; border-right:solid 1px #ada88c; background:url(menu_item_bg1.png) 0 0 repeat-x; color:#e1cfcf!important; font-size:12px!important; }
			#navigation-main ul li a:hover img, .active1 img { top:0!important; }
			#navigation-main ul li a:hover span, .active1 span { margin-top:5px!important; }
			#navigation-main ul li a:focus { -moz-outline-style: none; }
			
			#navigation-main ul li a img { position:absolute; top:-999px; border:0 none; }
			#navigation-main ul li a span { display:block; position:relative; margin-top:7px; padding:0 12px; }
			
			.right { right:0; }
			.left { left:0; }
			
#navigation-lang { width:71px; height:19px; background-color:#352d01; position:absolute; right:30px; bottom:6px; }
	#navigation-lang a { font-size:10px; font-family:Arial, sans-serif; text-decoration:none; color:#fffefe; margin:0 4px; text-transform:uppercase; }
	#navigation-lang a:hover, .active3 { color:#aa9797!important; }

#content { position:relative; float:left; margin-top:26px; width:568px; min-height:397px; text-align:left; }
	#content-inner { margin-left:30px; width:500px; margin-top:25px; text-align:justify; }
	#content-inner h1 { font-size:17px; line-height:23px; margin:0; padding:0; color:#141413; }
	#content-inner p { line-height:23px; padding:0 0 16px 0; margin:0; }
	#content-inner a { color: #900c0c; }
	#content-inner form { margin:0; padding:0; }
	#content-inner form label { float:left; width:100px; color:#141413; font-size:12px; font-weight:bold; font-family:Georgia, sans-serif; }
	#content-inner form button { margin-left:100px; line-height:14px; }
	#content-inner form input { font-size:12px; padding:1px; line-height:14px; }
	#content-inner form textarea { overflow:auto; }
	#content-inner form p { padding-bottom:2px; }
	#navigation-top { border-bottom:solid 1px #e2e09c; width:521px; padding-bottom:6px; padding-left:7px; text-align:left; margin-left:20px; }
		#navigation-top li { display:inline; }
			#navigation-top li a { font-family:Georgia, sans-serif; font-weight:bold; font-size:11px; color:#141413; text-decoration:none; }
			#navigation-top li img { margin:0 5px; }
			.link1 { font-family:Georgia, sans-serif; font-weight:bold; font-size:11px; text-decoration:none; color:#d03535!important; }
			
		#gallery-block { margin-top:20px; width:550px; margin-left:-23px; }
			#gallery-block div { float:left; text-align:left; margin:0 18px; padding-bottom:30px; }
			#gallery-block div.row { float:none; margin:0; padding:0; clear: both; line-height: 0; font-size: 0; }
				#gallery-block div a { display:block; padding:2px; }
				#gallery-block div a img { display:block; background-color:#b1af77; border:0 none; }
				#gallery-block div span { display:block; margin-top:7px; font-weight:bold; font-size:11px; color:#141413; }

			.bullet_center { display:block; margin:0 auto; width:15px; height:14px; margin-top:10px; margin-bottom:14px; }
		
#sidebar { float:left; margin-top:26px; width:208px; }
	#navigation-right { border:solid 1px #eceeb1; padding:3px; }
		#navigation-right div { position:relative; width:200px; background-color:#f1f3b0; padding-top:20px; padding-bottom:32px; text-align:center; }
			#navigation-right div h1 { font-size:18px; color:#352d01; text-transform:uppercase; font-weight:normal; margin:0; padding:0; }
			#navigation-right div ul { display:block; position:relative; top:11px; margin:0 auto; padding-top:8px; width:180px; border-top:solid 1px #dcdf80; text-align:left; }
				#navigation-right div ul li { width:180px; list-style-type:none; line-height:33px; }
					#navigation-right div ul li a { display:block; margin-left:17px; padding-left:7px; color:#574a04; font-weight:bold; font-size:14px; }
					#navigation-right div ul li a:hover, .active2 { color:#c72323!important; background:url(bullet2.gif) 0 16px no-repeat; }
						#navigation-right div ul ul { top:0; padding-top:0; border:0 none; }
							#navigation-right div ul ul li { width:180px; list-style-type:none; line-height:25px; }
								#navigation-right div ul ul li a { margin-left:27px; font-size:12px; }
								#navigation-right div ul ul li a:hover, .active4 { color:#c72323!important; background:url(bullet2.gif) 0 10px no-repeat; }
									#navigation-right div ul ul ul li a { margin-left:37px; font-size:11px; }
									#navigation-right div ul ul ul li a:hover, .active5 { color:#c72323!important; background:url(bullet2.gif) 0 11px no-repeat; }
								
	#search-block { padding:4px; background-color:#eaeca8; margin:15px 0; }
	#search-block p { padding:0; margin:0; }
		#search-block div { border:solid 1px #faf9da; height:30px; padding-top:14px; }
			#search-block div input { display:block; float:left; border:solid 1px #fff; height:13px; width:128px; font-size:10px; color:#7b7813; font-weight:bold; font-family:Georgia, sans-serif; padding:1px 0 0 10px; margin:0 10px 0 15px; background:url(search_bg.png) 0 0 repeat-x; }
			#search-block div button { display:block; float:left; margin:0; padding:0; height:16px; width:18px; background:url(search_button.png) 50% 50% no-repeat; border:0 none; cursor:pointer; }
			
	#banner-block { border:solid 1px #dee099; padding:3px; }
		#banner-block div { width:100%; height:92px; }
		#banner-block div img { display:block; border:0 none; }
		
#page-footer a, #page-footer span { font-family:Arial, sans-serif; color:#7b713b; font-size:10px; text-decoration:none; }
#page-footer a:hover { text-decoration:underline; }

.extra01 { margin-right:20px; margin-left:4px; }
span.extra01 { margin-right:0; margin-left:36px; }
.clear { display:block; clear:both; width:100%; }
.float-left { float:left; }
.float-right { float:right; }
.red   { border:solid 1px #d63030; }
.blue { border:solid 1px #029dff; }
.color1 { color:#c73940; }
.color2 { color:#0c78bc; }
.font1 { color:#777f14; font-size:13px; font-weight:bold; font-family:Georgia, sans-serif; }
.font2 { color:#141413; font-size:12px; font-weight:bold; font-family:Georgia, sans-serif; padding:0; }
.clear-both { clear:both; }
.error { color: red; }
.search-result a { font-weight: bold; }

#family-tree { margin-top: 20px; border: 1px solid #e8e7c3; }
	#family-tree th { width: 166px; padding: 3px 0; text-transform: uppercase; text-align: center; background: #e8e7c3; font: bold 13px Georgia; }
	#family-tree td { width: 166px; margin: 1px; padding: 10px 20px; text-align: center; font: 13px Georgia; border: 1px solid #e8e7c3; vertical-align: center; line-height: 100%; color: #c9c89c; }
		#family-tree td p { line-height: 100%; padding: 0; }
	#family-tree td.male { border: 1px solid #029dff; }
	#family-tree td.female { border: 1px solid #c73940; }
#dog-description img { float: left; padding: 2px; margin: 0 20px 10px 0; }
#dog-description.male img { border: 1px solid #029dff; }
#dog-description.female img { border: 1px solid #c73940; }

#guestbook div { margin-bottom: 20px; }

table.pets { border-collapse: collapse; border: 0; width: 100%; }
	table.pets td { text-align: left; vertical-align: top; padding-right: 20px; padding-bottom: 30px; }
	#content table a { color: #574a04; }
	table.pets td img { display: block; margin-bottom: 4px; }
	#content-inner table.pets td p { line-height: 100%; }
	
img.alignleft { float: left; clear: both; margin: 0 10px 4px 0; }
img.alignright { float: right; clear: both; margin: 0 0 4px 10px; }
	
