/*
 * Copyright (c) 2008-2010 Armenian Family Tree Project
 * Website: http://www.armenianfamilytree.com
 * E-mail:  info@armenianfamilytree.com
 */

html, body {
	width:100%;
	height:100%;
	margin:0px;
	padding:0px;
	overflow:hidden;
}

body {
	text-align:center;
	font-size:13px;
	color:#333;
	font-family: Georgia, Verdana, Arial, Helvetica, sans-serif, sans;
	/*background:#fff url(http://style.armenianfamilytree.com/loading.gif) -500px -500px no-repeat;*/
}
/*
body.hy {
  font-family: "Arian AMU", Arial, Helvetica, sans-serif, sans;
}
*/
a {
	text-decoration:none;
	color:#8f9501;
}
a:link, a:visited {text-decoration:underline;}
a:hover, a:focus, a:active {text-decoration:none;}

h1, h2, h3, h4, h5, h6, form, p, ul, ol, dl, li {margin:0px; padding:0px;}
address {display:inline; font-style:normal;}
input, textarea {font-family: Georgia, Verdana, Arial, Helvetica, sans-serif, sans;}
/*
body.hy input, body.hy textarea {
  font-family: "Arian AMU", Arial, Helvetica, sans-serif, sans;
}
*/
.hide {display:none; /*visibility:hidden;*/}
.show {display:block; /*visibility:visible;*/}
.clear {clear:both;}
a img {border:none;}



/* ########## CONTAINER ########## */
#container-fixed {
	position:relative;
	width:100%;
	height:100%;
	overflow:auto;
	text-align:center;
}

#top {
	margin:0px auto;
	width:930px;
	height:100%;
	text-align:left;
	position:relative;
}

/*
#in-container {
	margin:0px auto;
	width:958px;
	height:100%;
	text-align:left;
	position:relative;
	background:#fff;
}
*/

/* ########## HEADER ########## */
#header {
	position:absolute;
	top:0px;
	left:0px;
	/*width:958px;*/
	width:690px;
	height:200px;
	z-index:0;
}


#account {
	position:absolute;
	top:33px;
	/*left:597px;	*/
	left:602px;
	margin:0px;
	padding:0px;
	width:328px;
	height:50px;
	text-align:right;
}

#account .login {
	height:20px;
	background:url(inputs.gif) left -20px no-repeat;
	width:323px;
	padding-left:5px;
}

body.hy #account .login {width:550px;}
body.ru #account .login {width:565px;}

#account .login input {
	display:block;
	float:left;
	height:20px;
	border:none;
	background:none;
}

#account .login span {
	display:block;
	float:left;
	color:#aaa;
	padding:3px 5px 0px 5px;
	font-size:11px;
}

#account .login .email, #account .login .password {
	padding:4px 0px 0px 0px;
	width:90px;
	height:16px;
	margin-right:15px;
	font-size:10px;
	color:#000;
	font-family: Verdana, Arial, Helvetica, sans-serif, sans;
}

#account .login .password {margin-right:10px;}

#account .login .signin, #account .login .signup {
	border:none;
	width:48px;
}

body.ru #account .login .signup {width:75px;}

#account .login .signup {
	float:left;
}

#account .options {
	margin:3px 0px 0px 107px;
	height:20px;
	text-align:left;
	color:#aaa;
	font-size:11px;
}

#account .options .checkbox {
	display:inline;
	width:auto;
	height:auto;
	margin:0px;
	padding:0px;
}
#account .options label {
	display:inline;
	width:auto;
	padding:0px 4px 0px 5px;
}
#account .options a {
	/*margin-left:5px;*/
}

#account ul {
	/*position:relative;*/
	/*top:0px;*/
	margin:0px;
	padding:0px;
	list-style:none;
	float:right;
}

#account ul li.settings, #account ul li.mytrees, #account ul li.logout {
	display:block;
	float:left;
	/*padding:0px 7px 0px 7px;*/
	position:relative;
}
#account ul li a {
	/*display:inline;*/
	/*font-size:13px;*/
}

#account ul li.welcome {
  position:absolute;
  top:3px;
  left:-67px;
  text-align:right;
  width:200px;
  z-index:2;
}

body.hy #account ul li.welcome {left:-77px;}

#account ul li.settings {
	padding-right:7px;
	/*width:196px;*/
	width:55px;
}

body.hy #account ul li.settings {width:70px;}

#account ul li.settings a {
	display:block;
	float:right;
	text-align:right;
	padding-top:4px;
	height:14px;
}

#account ul li.mytrees {
	width:70px;
}

#account ul li.mytrees a.mytrees {
	display:block;
	text-align:center;
	padding-top:4px;
	height:14px;
}

#account ul li.logout {
	width:48px;
	margin-left:7px;
	/*
	padding-top:0px;
	padding-right:0px;
	border-right:none;
	*/
	/*top:0px;*/
}

#account ul li.logout input {
	/*float:none;*/
	/*margin-top:-2px;*/
}



#account ul li ul {
	display:none;
	float:none;
	position:absolute;
	top:18px;
	left:0px;
	width:120px;
	margin:0px;
	padding:0px;
	background:url(account.menu.png) -120px top repeat-y;
}
#account ul li ul li {
	padding:5px 5px 0px 5px;
	text-align:left;
	font-size:11px;
}

#account ul li ul li a {
	font-size:11px;
}

#account ul li.mytrees {
	/*background:url(account.menu.png) -360px top no-repeat;*/
	background:url(account.menu.png) -3000px 0 no-repeat;
}
/*
#account ul li.mytrees:hover {
	background:url(account.menu.png) -360px top no-repeat;
}

#account ul li.mytrees:hover ul {
	display:block;
}
*/

#account ul li ul li.first {
	padding-top:15px;
	background:url(account.menu.png) -240px top no-repeat;
}

#account ul li ul li.last {
	padding-bottom:10px;
	background:url(account.menu.png) left bottom no-repeat;
}






#logo {
	display:block;
	position:absolute;
	top:33px;
	left:0px;
	border:none;
	outline:none;
	
	width:520px;
}
body.en #logo {background:url(title.en.png) 153px 29px no-repeat;}
body.hy #logo {background:url(title.hy.png) 153px 29px no-repeat;}
body.ru #logo {background:url(title.ru.png) 153px 29px no-repeat;}

#languages {
	list-style:none;
	position:absolute;
	top:183px;
	/*left:265px;*/
	left:627px; /*648px*/
	margin:0px;
	padding:0px;
}

#languages li {
	float:left;
	margin-right:5px;
}

#menu {
	position:absolute;
	top:199px;
	left:0px;
	width:690px;
	height:30px;
	background:url(menu.png) 0 0 repeat-x;
}
#menu ul {
	list-style:none;
	margin:0px;
	padding:0px;
	background:url(menu.png) 0 -30px no-repeat;
	padding:6px 0px 0px 8px;
	height:24px;
}
#menu li {
	display:inline;
	padding:0px 8px 0px 8px;
}
#menu li a {
	font-weight:bold;
	text-decoration:none;
	font-size:13px;
}

#menu li a, #menu li a:link, #menu li a:visited {color:#8f9501;}
#menu li a:hover, #menu li a:focus, #menu li a:active {color:#bdc501;}
#menu li.active a, #menu li.active a:link, #menu li.active a:visited,
#menu li.active a:hover, #menu li.active a:focus, #menu li a:active.active {color:#fff;}


#menu #search {
	float:right;
	margin:0px;
	padding:5px 5px 0px 0px;
	background:url(menu.png) right -60px no-repeat;
	height:25px;
}
#menu #search div {
	width:195px;
	height:20px;
	background:url(inputs.gif) 0px 0px no-repeat;
	padding-left:5px;
}
#menu #search input {
	display:block;
	float:left;
	height:20px;
	border:none;
	background:none;
}
#menu #search .input {
	width:165px;
	height:16px;
	padding:4px 0px 0px 0px;
	font-size:10px;
	margin-right:5px;
	/*color:#aaa;*/
	color:#000;
	font-family: Verdana, Arial, Helvetica, sans-serif, sans;
}

#menu #search .submit {
	width:25px;
	background:url(search.button.gif) left top no-repeat;
}







/* ########## RIGHT ########## */
#right {
	z-index:0;
	width:200px;
	float:right;
	/*margin-top:106px;*/
	margin-top:292px;
	/*padding:0px 20px 40px 12px;*/
	padding:0px 0px 40px 0px;
	/*background:#ccc;*/
}



#notebook {
	/*width:200px;*/
	width:186px;
	/*height:235px;*/
	/*height:273px;*/
	background:url(gentleman.jpg) right bottom no-repeat;
	/*background:url(calendar.png) left top no-repeat;*/
	font-weight:bold;
	font-size:18px;
	line-height:1;
	/*padding:23px 0px 0px 14px;*/
	padding:0px 0px 0px 14px;
	margin-bottom:30px;
}

#notebook .posts {
	list-style:none;
	margin:0px 0px 0px 0px;
	padding:0px;
	position:relative;
	height:185px;
}

#notebook .posts li {
	position:absolute;
	top:0px;
	left:0px;
	display:none;
	height:173px;
	overflow:hidden;
}
#notebook .posts li.first {display:block;}

#notebook cite {
	font-style:normal;
	font-weight:bold;
	font-size:18px;
	padding:0px;
	width:150px;
}

#notebook blockquote {
	margin:6px 0px 13px 0px;
	/*margin:6px 0px 0px 0px;*/
	/*
	height:114px;
	overflow:hidden;
	*/
	
	font-weight:normal;
	font-size:11px;
	line-height:1.25;
	padding:0px 60px 5px 0px;
}

#notebook p.new {
	display:inline;
	padding:0px 0px 0px 0px;
	margin:0px;
	border-top:#ccc 1px dashed;
}

#notebook p.new a {
	color:#333;
	font-size:13px;
	background:url(icons/comment.png) left bottom no-repeat;
	padding:5px 0px 1px 18px;
	font-weight:normal;
}

#calendar {
	width:200px;
	height:293px;
	background:url(calendar.png) left top no-repeat;
	margin:10px 0px 0px 0px;
	position:relative;
}

#calendar ul.date {
	list-style:none;
	padding:0px;
	/*margin-left:17px;*/
}

#calendar ul.date li {
	float:left;
	padding-top:26px;
}

#calendar ul.date li.month {font-size:11px; text-align:left; width:50px; margin-left:17px; font-weight:bold;}
#calendar ul.date li.day {font-size:48px; text-align:center; width:62px; padding-top:15px; font-family: Tahoma, Arial, Helvetica, sans-serif, sans;}
#calendar ul.date li.year {font-size:11px; text-align:right; width:50px; font-weight:bold;}

#calendar ul.persons {
	margin:0px;
	padding:0px;
	list-style:none;
	position:absolute;
	top:83px;
	left:26px;
	width:142px;
}

#calendar ul.persons li {
	position:absolute;
	top:0px;
	left:0px;
	width:142px;
	display:none;
}

#calendar ul.persons li.first {
	display:block;
}


#calendar .vcard {
	font-size:12px;
	color:#800000;
	font-weight:bold;
	width:82px;
	height:74px;
}
/*
#calendar .vcard .photo {
	float:right;
	margin-left:3px;
}
*/


#calendar .vcard .photos {
	position:absolute;
	top:0px;
	right:0px;
	
	width:50px;
	height:64px;
	
	list-style:none;
	margin:0px;
	padding:0px;
}


#calendar .vcard .photos li {
	display:none;
	color:#000;
	font-size:10px;
	width:50px;
}
#calendar .vcard .photos li.first {display:block;}


#calendar blockquote {
	margin:0px 0px 0px 0px;
	padding:0px 0px 0px 0px;
	color:#333;
	font-size:11px;
	font-weight:bold;
	text-align:left;
	line-height:1.2;
	overflow:hidden;
}

#contacts {
	list-style:none;
	margin:15px 0px 0px 10px;
	width:190px;
	padding:0px;
	font-size:11px;
	color:#333;
	/*font-family: Verdana, Arial, Helvetica, sans-serif, sans;*/
	font-weight:bold;
}

#contacts li {
	clear:left;
	padding-top:8px;
}

#contacts ul {
	list-style:none;
	font-weight:normal;
	padding:0px;
	margin:4px 0px 0px 1px;
}

#contacts ul li {
	clear:none;
	margin:0px 0px 2px 0px;
	height:16px;
	padding:1px 0px 0px 21px;
	font-family: Verdana, Arial, Helvetica, sans-serif, sans;
	font-size:10px;
}

#contacts ul.icons li {
	float:left;
	margin:0px 8px 5px 0px;
	padding:0px;
}

#contacts ul li.tel {background:url(icons/tel.png) left top no-repeat;}
#contacts ul li.skype {background:url(http://mystatus.skype.com/smallicon/ArmenianFamilyTree) left top no-repeat;}
#contacts ul li.gtalk {background:url(icons/gtalk.png) left top no-repeat;}
#contacts ul li.email {background:url(icons/email.png) left top no-repeat; }

#contacts ul li a {color:#333;}
#contacts ul li.email a {font-size:9px;}





/* ########## CONTENT ########## */
#content {
	/*width:713px;*/
	width:690px;
	float:left;
	padding:256px 0px 40px 0px;
	line-height:1.5;
}

h1 {
	font-size:19px;
	color:#333;
	margin:0px;
	padding:0px 0px 15px 0px;
	/*letter-spacing:.1px;*/
}

h2 {
  /*clear:both;*/
	font-size:15px;
	margin:7px 0px 5px 0px;
	padding:3px 0px 3px 10px;
	color:#8f9501;
	/*background:#f9f9f9;*/
}

h3 {
	font-size:13px;
	color:#000;
}

#content p {
	font-size:13px;
	padding:0px 0px 15px 0px;
	margin:0px;
	text-align:justify;
	/*text-indent:20px;*/
	line-height:1.5;
}
#content p.noindent {text-indent: 0px}
#content p.inline {display:inline; padding-bottom:0px; margin-bottom:0px;}
#content p.small {font-size:11px;}

#content img.left {
	float:left;
	margin:0px 10px 5px 0px;
}


#content img.right {
	float:right;
	margin:0px 0px 5px 10px;
}

#content p.imgcaption {
	text-align:center;
	font-size:10px;
	padding-bottom:20px;
}

#content p.imgcaption img {
	display:block;
	margin:0 auto 5px auto;
}

#content ul, #content ol {
	margin:0px 0px 20px 20px;
	padding:0px;
	font-size:13px;
	line-height:1.5;
}

#content ol li, #content ul li {text-align:justify;}

#content blockquote {
	background:url(quote.gif) left top no-repeat;
	font-size:13px;
	padding:5px 0px 0px 30px;
	color:#777;
	margin:0px 0px 10px 40px;
	text-align:justify;
	line-height:1.5;
}
#content blockquote div {
	background:url(bquote.gif) right bottom no-repeat;
	padding:0px 30px 5px 0px;
}

#content cite {
	display:block;
	text-align:right;
	font-size:13px;
	padding:0px 0px 20px 0px;
	margin:0px 30px 0px 0px;
}

/* Had to set cite font for google chrome again - strange? */
body.hy #content cite {font-family: Arial, Helvetica, sans-serif, sans;}









#socialize {
	height:20px;
	list-style:none;
	padding:0px;
	line-height:1;
}

body #socialize {margin:0px 0px 20px 0px;}

#socialize li {
	height:20px;
	margin-right:15px;
	float:left;
	text-align:left;
}

#socialize li.like {width:65px; overflow:hidden;}

body #socialize li.buzz {margin-top:-1px;}
body #socialize li.tweetmeme {margin-top:2px;}







#content .service-box {
	float:left;
	margin-top:20px;
	width:210px;
}

#content .service-box h2 {
	padding:0px;
	margin:0px;
	background:none;
}

#content .service-box h2 a {
	display:block;
	position:relative;
	width:190px;
	height:200px;
	background:url(box.png) no-repeat;
	margin-bottom:20px;
	
	font-size:18px;
	text-align:center;
	padding:18px 10px 0px 10px;
	text-decoration:none;
	line-height:1.2;
}

#content .service-box h2 a sup {
	display:block;
	position:absolute;
	top:-25px;
	right:-25px;
	width:73px;
	height:73px;
	vertical-align:top;
	text-align:left;
}

body.hy #content .service-box h2 a sup {top:-30px;}

#service-box-research {margin-right:30px;}
#service-box-builder {margin-right:30px;}

#service-box-research h2 a, #service-box-research h2 a:link, #service-box-research h2 a:visited {background-position:-420px top;}
#service-box-builder h2 a, #service-box-builder h2 a:link, #service-box-builder h2 a:visited {background-position:left top;}
#service-box-design h2 a, #service-box-design h2 a:link, #service-box-design h2 a:visited {background-position:-840px top;}

#service-box-research h2 a:hover, #service-box-research h2 a:focus, #service-box-research h2 a:active {background-position:-630px top;}
#service-box-builder h2 a:hover, #service-box-builder h2 a:focus, #service-box-builder h2 a:active {background-position:-210px top;}
#service-box-design h2 a:hover, #service-box-design h2 a:focus, #service-box-design h2 a:active {background-position:-1050px top;}

#content .service-box p {
	padding:0px 5px 10px 5px;
}

#content .service-box .more {
	text-align:right;
	padding-bottom:0px;
	line-height:1;
}

#content .service-box .more a {
	padding-right:9px;
	line-height:1;
	background:url(arrows.gif) right 5px no-repeat;
	font-weight:bold;
	font-size:11px;
}






#content blockquote.right {
	clear:both;
	margin-left:300px;
	margin-bottom:15px;
}

#content .research-package {
	float:left;
	position:relative;
	margin:5px 20px 15px 0px;
	width:216px;
	height:231px;
	background:url(box.research.png) left top no-repeat;
}


#content .research-package img {
	float:left;
	margin-right:10px;
	/*
	position:absolute;
	top:0px;
	left:0px;
	*/
}

#content .research-package h2 {
	/*width:93px;*/
	/*height:110px;*/
	/*display:table-cell;*/
	text-align:center;
	vertical-align:middle;
	/*width:105px;*/
	/*float:left;*/
	padding:7px 10px 0px 10px;
	margin:0px 0px 0px 0px;
	/*
	border-top:#ccc 1px solid;
	border-right:#ccc 1px solid;
	border-left:#ccc 1px solid;
	border-bottom:#000 1px solid;
	*/
	height:45px;
	/*background:#fbfbfb;*/
	background:none;
}

#content .research-package h2 a {
	/*display:block;*/
	/*
	width:190px;
	height:193px;
	background:#ccc url(box.png) no-repeat;
	margin-bottom:20px;
	*/
	font-size:15px;
	
	/*padding:25px 10px 0px 10px;*/
	text-decoration:none;
	line-height:1.2;
	color:#8f9501;
}


/*#content #surname-research, #content #custom-research, #content #audio-video-identification, #content #documental-expertise {margin-right:0px;}*/
#content #nobility-research, #content #audio-video-identification {margin-right:0px;}

body.en #content #surname-research h2,
body.en #content #nobility-research h2,
body.en #content #custom-research h2,
body.en #content #handwriting-analyzes h2,
body.en #content #documental-expertise h2 {
	padding-top:17px;
	height:35px;
}

body.hy #content #surname-research h2,
body.hy #content #nobility-research h2,
body.hy #content #custom-research h2,
body.hy #content #handwriting-analyzes h2,
body.hy #content #documental-expertise h2 {
	padding-top:7px;
	height:45px;
}

body.hy #content #audio-video-identification p img {margin-top:-5px;}
body.hy #content #surname-research p img {margin-left:-1px;}
body.hy #content #nobility-research p img {margin-left:-1px;}

body.ru #content .research-package h2 {
	padding-top:4px;
	height:48px;
}

body.ru #content .research-package h2 a {
	line-height:1;
}

body.ru #content #photo-expertise h2 {
	padding-top:15px;
	height:37px;
}


/*
#content #documental-expertise {
	margin-left:118px;
}
*/
#content .research-package p {
	/*clear:left;*/
	/*padding:0px 5px 10px 5px;*/
	margin:0px 0px 0px 0px;
	padding:8px 5px 10px 10px;
	/*
	border-left:#ccc 1px solid;
	border-right:#ccc 1px solid;
	*/
	font-size:11px;
	/*width:196px;*/
	height:130px;
	overflow:hidden;
	line-height:1.5;
	text-align:left;
}
body.hy #content .research-package p {padding-right:0px;}

/*
#content .research-package p a {
	color:#000;
}
#content .research-package p a:link, #content .research-package p a:visited {text-decoration:none;}
#content .research-package p a:hover, #content .research-package p a:focus, #content .research-package p a:active {text-decoration:underline;}
*/
#content .research-package .quote {
	/*
	border:#ccc 1px solid;
	border-top:none;
	*/
	padding:5px 10px 5px 10px;
	text-align:right;
	line-height:1;
}
#content .research-package .quote a {
	color:#800000;
	padding-right:9px;
	/*line-height:1;*/
	background:url(arrows.gif) right -5px no-repeat;
	/*background:url(arrows.gif) right -5px no-repeat;*/
	font-weight:bold;
	font-size:11px;
	line-height:1;
}

#content p.research-clear {
	clear:both;
	padding-top:5px;
}









/*######## PUBLIC PROFILE ###############*/

#publicprofile .img {
	float:left;
	margin-right:15px;
}
#publicprofile .img img {
	display:block;
}

/*
#publicprofile .img form {
	margin:0px;
	padding:0px;
}


#publicprofile .img ul {
	margin:5px 0px 0px 0px;
	padding:0px;
	list-style:none;
	width:120px;
}

#publicprofile .img li {
	float:left;
	position:relative;
	height:10px;
	width:60px;
	color:#999;
	padding:0px;
	margin:0px;
	cursor:pointer;
}

#publicprofile .img li.change {
	border-right:#999 1px solid;
	width:59px;
	overflow:hidden;
	text-align:right;
}

#publicprofile .img li a {
	display:block;
	color:#999;
	padding:0px;
	margin:0px;
	/ *letter-spacing: -1px;* /
	line-height:0.8;
	font-size:10px;
	font-family:Verdana, Arial, Helvetica, sans-serif, sans;
}
#publicprofile .img li.change a {padding-right:10px;}
#publicprofile .img li.remove a {padding-left:10px;}

#publicprofile .img li a, #publicprofile .img li a:link, #publicprofile .img li a:visited {
	text-decoration:none;
}
#publicprofile .img li a:hover, #publicprofile .img li a:focus, #publicprofile .img li a:active {
	text-decoration:underline;
}


#publicprofile .img input.file {
	display:block;
	position:absolute;
	top:0px;
	right:0px;
	width:59px;
	height:11px;
	cursor:pointer;
	z-index:2;
}


#publicprofile .img iframe {
	position:absolute;
	top:-1000px;
	left:-1000px;
	width:0px;
	height:0px;
}








#publicprofile form {
  margin:0px;
	padding:0px;
}
*/

#publicprofile table {
	margin:0px;
	padding:0px;
	border:0px;
	float:left;
}

#publicprofile th {
	vertical-align:top;
	padding:0px 10px 5px 0px;
	white-space:nowrap;
}

#publicprofile td {
	vertical-align:top;
	text-align:justify;
	padding:0px 0px 5px 0px;
}

#publicprofile td ul {
	margin-top:0px;
}

#publicprofile th.lower, #publicprofile td.lower {padding-top:15px;}



/*######## QUICK TREE BUILDER ###############*/
#treebuilder {
	display:inline;
	float:left;
	width:474px;
	overflow:hidden;
	margin:10px 0px 0px 0px;
	padding:0px;
	background:url(builder.png) top left no-repeat;
}

body.hy #treebuilder {
	margin-top:80px;
}

#treebuilder form {
	width:474px;
	height:354px;
	margin:0px 0px 10px 0px;
	padding:0px;
	position:relative;
}

body.en #treebuilder form {background:url(builder.title.en.gif) 16px 37px no-repeat;}
body.hy #treebuilder form {background:url(builder.title.hy.gif) 16px 37px no-repeat;}
body.ru #treebuilder form {background:url(builder.title.ru.gif) 16px 37px no-repeat;}

#treebuilder form table {
	border:none;
	position:absolute;
	top:91px;
	left:30px;
}

#treebuilder form table td {
	padding:0px 29px 15px 5px;
	text-align:left;
	vertical-align:top;
	font-size:10px;
	font-family: Verdana, Arial, Helvetica, sans-serif, sans;
}

#treebuilder form table td input {
	display:block;
	width:88px;
	height:12px;
	background:none;
	border:none;
	/*border:#000 1px solid;*/
	margin:0px;
	padding:0px;
	font-size:10px;
	font-family: Verdana, Arial, Helvetica, sans-serif, sans;
}

#treebuilder form table td.gender {height:27px; padding-bottom:0px;}
#treebuilder form table td.gender input {float:left; width:12px; height:12px; margin:0px 5px 0px 0px;}
#treebuilder form table td.gender label {display:block; float:left; margin:-1px 15px 0px 0px;}

#treebuilder form table td.address {padding-top:3px;}
#treebuilder form table td.address input {width:210px;}

#treebuilder form table td.email {padding-top:13px; padding-bottom:18px;}
#treebuilder form table td.email input {width:210px;}


#treebuilder form table td.security {padding:0px;}
#treebuilder form table td.security2 {padding-top:3px;}
#treebuilder form table td.security2 input {text-align:center;}

#treebuilder-security-image {margin:0px 0px 0px -1px;}

/*#treebuilder form table td.required {padding:8px 0px 0px 0px;}*/

#treebuilder form table td.submit {padding:8px 23px 0px 0px;}
#treebuilder form table td.submit input {
	float:right;
	width:100px;
	height:20px;
	background:url(builder.continue.gif) left top no-repeat;
	cursor:pointer;
}

body.hy #treebuilder form table td.submit input {background:url(builder.continue.gif) -100px top no-repeat;}
body.ru #treebuilder form table td.submit input {background:url(builder.continue.gif) -200px top no-repeat;}

#treebuilder form div.father,
#treebuilder form div.mother {
	position:absolute;
	left:357px;
	width:100px;
}

#treebuilder form div.father {top:56px;}
#treebuilder form div.mother {top:209px;}

#treebuilder form div.father strong,
#treebuilder form div.mother strong {
	position:absolute;
	left:-6px;
	top:-36px;
	color:#000;
	font-size:15px;
}

#treebuilder form div.father input,
#treebuilder form div.mother input {
	display:block;
	width:88px;
	height:12px;
	background:none;
	border:none;
	margin:0px 0px 17px 0px;
	padding:0px;
	font-size:10px;
	font-family: Verdana, Arial, Helvetica, sans-serif, sans;
}

#treebuilder p.top {
	margin:25px 15px 0px 15px;
	padding:5px;
	background:#fff7cc; /*fff1a8*/ /*#ffffe1*/
	text-align:center;
}

#treebuilder-howto {
	display:inline;
	float:left;
  width:200px;
  margin-right:16px;
}

#treebuilder-involve {
   clear:both;
   padding-top:10px;
}
/*######## QUICK TREE BUILDER ###############*/




/*######## DESIGN PACKAGES ###############*/
#content .design-h2 {
  clear:both;
}
#content .design-packages {
  list-style:none;
  margin:0px;
  padding:0px;
}
#content .design-packages .design-package {
  float:left;
  width:230px;
  height:237px;
  text-align:center;
}
#content .design-packages .design-package ul {
  list-style:none;
  margin:0 auto 0 auto;
  padding:0px;
  text-align:center;
  width:230px;
}
#content .design-packages .design-package ul .img {
  text-align:center;
  padding:0px;
  margin:0px;
}
#content .design-packages .design-package ul .img a {
  display:block;
  outline:none;
  text-decoration:none;
  border:none;
  text-align:center;
}
#content .design-packages .design-package ul .order {
  width:190px;
  margin:-5px auto 0 auto;
  padding:0px;
  text-align:center;
  line-height:1.3;
}
#content .design-packages .design-package ul .order a {
	color:#800000;
	padding-right:9px;
	/*line-height:1;*/
	background:url(arrows.gif) right -5px no-repeat;
	/*background:url(arrows.gif) right -5px no-repeat;*/
	font-weight:bold;
	font-size:11px;
	text-align:center;
}

#content #basic-genealogical-charts .design-package {
  height:270px;
}

#design-research-result {
  float:left;
  width:335px;
  margin-right:20px;
}

#design-original-gift {
  float:left;
  width:335px;
}
/*######## DESIGN PACKAGES ###############*/


/*######## BOOKS  ########*/
#books .column, #books .column2 {
  margin:0px 30px 40px 0px;
  width:210px;
  float:left;
}

#books .column2 {
  width:450px;
}

#books .column3 {
  width:690px;
  margin:0px;
  padding-top:40px;
  clear:both;
}

#books .first {padding-top:20px;}

#books div.last {margin-right:0px;}

#books h2 {
  text-transform:uppercase;
  padding:0px 0px 10px 0px;
  margin:0px;
  line-height:1.1;
  background:url(book.header.gif) bottom left repeat-x;
}


#books .books {
  list-style:none;
  margin:0px;
  padding:0px 0px 0px 0px;
}

#books .book {
	width:116px; /*210*/
	padding:10px 0px 23px 94px;
	margin-bottom:5px;
  background:url(book.separator.png) bottom center no-repeat;
  position:relative;
  text-align:left;
}

#books .column2 .book, #books .column3 .book {
	float:left;
	margin-right:30px;
}

#books .column2 .rightmost, #books .column3 .rightmost {margin-right:0px;}

#books li.last {
	background:none;
	padding-bottom:0px;	
}


#books .book img {
	position:absolute;
	top:10px;
	left:0px;
}
#books .book .fn {
	font-size:11px;
	color:#333;
	display:block;
	line-height:1.1;
}

#books .book .dtstart, #books .book .description {
	font-family:Verdana, Arial, Helvatica;
	font-size:9px;
	color:#333;
	display:block;
}

#books .book .price {
	font-family:Verdana, Arial, Helvatica;
	font-size:12px;
	color:#800000;
	display:block;
}

#books .book .preview, #books .book .order {
	display:block;
	width:70px;
	height:17px;
	padding-top:2px;
	background:url(book.button.png) top left no-repeat;
	text-align:center;
	font-weight:bold;
	text-transform:uppercase;
	color:#fff;
	font-size:10px;
	text-decoration:none;
	font-family:Verdana, Arial, Helvatica;
}

#books .book .preview {margin:12px 0px 3px 0px;}
/*######## BOOKS  ########*/



/* ########## CONTENT ########## */









/* ########## FOOTER ########## */
#footer {
	clear:both;
	width:930px;
	height:100px; /*no counters height:69px;*/ /*friend connect 105px;*/
	color:#fff;
	background:#333 url(footer.gif) left top no-repeat;
	text-align:left;
	font-size:9px;
}

#footer ul {
	list-style:none;
	margin:0px;
	padding:0px;
}

#footer ul li a {
	color:#fff;
	font-weight:bold;
	font-size:11px;
}

#footer .links {
	padding:17px 0px 0px 20px;
}

#footer .links li {
	display:inline;
	border-right:#fff 1px solid;
	padding:0px 7px 0px 7px;
	font-weight:bold;
}

#footer .links li.first {padding-left:0px;}
#footer .links li.last {border:none; padding-right:0px;}

#footer .rights {
	padding:0px 20px 0px 20px;
	font-size:11px;
}

#footer .rights li {
	float:left;
	/*width:50%;*/
	padding:0px;
}

#footer .rights li a {text-decoration:none;}

#footer .rights li.copyright {
	padding-top:10px;
	width:760px;
}

body.hy #footer .rights li.copyright {
	padding-top:15px;
}

#footer .rights li.powered {
	width:130px;
	text-align:right;
}
#footer .rights li.powered strong {font-family: Verdana, Arial, Helvetica, sans-serif, sans;}



/*####### Counters #######*/
#counters {
	margin:10px 0px 0px 15px;
}

#counters div {
	float:left;
}

#counters .circle, #counters .hayastan, #counters .hyetopia {
	visibility:hidden;
}
/*####### Counters #######*/




/*####### Contact us #######*/
/*
.df {
	margin-top:0px;
	line-height:2;
}
.df strong{margin-left:0px}
.df label {
	clear:both;
	display:block;
	float:left;
	width:140px;
	text-align:right;
	margin:0px;
	height:12px;
}
.df input, .df textarea {
	display:block;
	float:left;
	width:258px;
	text-align:left;
	border:none;
	border:1px #000 solid;
	margin:2px 0px 0px 3px;
	padding:1px;
}
.df textarea {border:1px #000 solid;}
.df .checkbox {width:auto; border:none; margin:0px; padding:0px;}
#contact-us .submit {
	clear:both;
	margin-left:180px;
	padding-top:20px;
	width:225px;
}
*/
/*####### Contact us #######*/



















#loading {
	position:absolute;
	top:0;
	left:0;
	z-index:100;
	width:100%;
	height:100%;
	/*background-color:#fff;*/
	background:url(blank.gif);
	/*background:url(popup/cm.png);*/
}

#loading-content {
	position:absolute;
	top:50%;
	left:50%;
	width:200px;
	height:100px;
	margin:-50px 0px 0px -100px;
	text-align:center;
	font-weight:bold;
	font-size:10px;
	font-family: Verdana, Arial, Helvetica, sans-serif, sans;
	color:#555;
}
#loading-content img {
	display:block;
	margin:0 auto;
}
#loading-anim {
	display:block;
	margin:0 auto;
	text-align:left;
}











/*####### MY LIGHTBOX #######*/
#overlay {
	position:absolute;
	top:0;
	left:0;
	z-index:90;
	width:100%;
	height:100%;
	display:none;
}

#overlay .bg {
	width:100%;
	height:100%;
	background-color:#000;
	/*background:url(overlaybg.png);*/
}

.popup {
	display:none;
	z-index:100;
	text-align:left;
}

.popup .bg {border:none;}

.popup .lt, .popup .lm, .popup .lb {width:10px; padding:0px;}
.popup .rt, .popup .rm, .popup .rb {width:12px; padding:0px;}
.popup .lt, .popup .ct, .popup .rt {height:10px; padding:0px;}
.popup .lb, .popup .cb, .popup .rb {height:12px; padding:0px;}

.popup .lt {background:url(popup/lt.png) 0 0 no-repeat;}
.popup .ct {background:url(popup/ct.png) 0 0 repeat-x;}
.popup .rt {background:url(popup/rt.png) 0 0 no-repeat;}

.popup .lm {background:url(popup/lm.png) 0 0 repeat-y;}
.popup .cm {background:url(popup/cm.png); text-align:center; vertical-align:middle;}
.popup .rm {background:url(popup/rm.png) 0 0 repeat-y;}

.popup .lb {background:url(popup/lb.png) 0 0 no-repeat;}
.popup .cb {background:url(popup/cb.png) 0 0 repeat-x;}
.popup .rb {background:url(popup/rb.png) 0 0 no-repeat;}


.popup .content {
	position:absolute;
	top:1px;
	left:1px;
	text-align:justify;
	padding:0px;
	/*z-index:101;*/
	/*padding:0px 14px 0px 14px;*/
}

.popup .close {
	position:absolute;
	top:10px;
	right:12px;
	width:10px;
	height:10px;
	background:url(popup.close.gif) left top no-repeat;
	cursor:pointer;
}

.popup .content .title {
	font-size:16px;
	font-weight:bold;
	padding:11px 14px 20px 14px;
	/*
	margin-top:-5px;
	margin-bottom:20px;
	*/
}


.popup .content form {
	margin:0px;
	padding:0px;
}

.popup .content table {
	/*width:100%;*/
	margin:0px;
	padding:0px;
}
.popup .content th, .popup .content td {
	/*font-weight:normal;*/
	font-size:11px;
	text-align:left;
	vertical-align:middle;
}
.popup .content th {
	padding:0px 10px 5px 0px;
	/*width:50px;*/
	text-align:right;
}
.popup .content td {
	padding:0px 0px 5px 0px;
}
.popup .content td input, .popup .content td select, .popup .content td textarea {
	font-size:10px;
	font-family: Verdana, Arial, Helvetica, sans-serif, sans;
}
.popup .content td input {height:13px;}

.popup .content p.response {
	padding:0px 14px 14px 14px;
}


#popup-loading {
  display:block;
  width:150px;
	height:100px;
	position:absolute;
	top:50%;
	left:50%;
  margin:-50px 0px 0px -75px;
}


#popup-lightbox .cm {
	text-align:center;
	vertical-align:top;
}
#popup-lightbox .cm img {
	margin-top:15px;
}
#popup-lightbox .cm strong {
	display:block;
	padding:5px 0px 5px 0px;
	text-align:center;
}



#popup-confirm img.warning {
	float:left;
	margin:0px 10px 0px 5px;
}
#popup-confirm p.response {
	text-align:justify;
	float:left;
	width:285px;
}
#popup-confirm p.warning-note {
	clear:both;
	font-size:11px;
	color:#666;
	padding:10px 0px 0px 63px;
	text-align:left;
}
body.en #popup-confirm p.warning-note, #popup-confirm p.warning-note a {
	font-size:10px;
	font-family: Verdana, Arial, Helvetica, sans-serif, sans;
}




#popup-signup .content form {
	margin:0px;
	padding:0px;
}

#popup-signup .content form p.response {
	padding:0px 14px 14px 14px;
}

#popup-signup .content table {
	margin:0px;
	width:242px;
}

#popup-signup .content td {
	padding-left:14px;
	padding-right:14px;
}

#popup-signup .content td.fullname input {
	display:block;
	float:left;
	width:97px;
	padding:1px 0px 0px 2px;
}
#popup-signup .content td.fullname #registration-name {
	margin-right:7px;
}

#popup-signup .content td.gender {padding-top:5px; clear:both;}

#popup-signup .content td.gender input {
	display:block;
	float:left;
	width:12px;
	height:12px;
	margin:0px 5px 0px 0px;
	padding:0px;
}
#popup-signup .content td.gender label {
	display:block;
	float:left;
	margin:-1px 15px 0px 0px;
	padding:0px;
}

#popup-signup .content td.email {padding-top:5px; clear:both;}
#popup-signup .content td.email input {
	display:block;
	width:207px;
	padding:1px 0px 0px 2px;
}

#popup-signup .content td.password {padding-top:5px; clear:both;}
#popup-signup .content td.password input {
	display:block;
	width:207px;
	padding:1px 0px 0px 2px;
}

#popup-signup .content td.confirm {padding-top:0px; clear:both;}
#popup-signup .content td.confirm input {
	display:block;
	width:207px;
	padding:1px 0px 0px 2px;
}


#popup-signup .content td.security {padding-top:5px;}
#popup-signup .content td.security #registration-security-image {
	display:block;
	float:left;
}
#popup-signup .content td.security #registration-security {
	display:block;
	float:left;
	margin-left:7px;
	width:100px;
	padding:1px 1px 0px 1px;
	text-align:center;
}



#popup-signup .content td.submit {
	text-align:right;
	padding:12px 16px 0px 0px;
}
#popup-signup .content td.submit input {
	width:53px;
	height:15px;
	background:url(submit.png) left top no-repeat;
	border:none;
}
body.ru #popup-signup .content td.submit input {width:70px;}






/* ##### Forgot Password #### */
#popup-forgot .content form {
	margin:0px;
	padding:0px;
}

#popup-forgot .content p.response, #popup-forgot .content form p.response {
	padding:0px 14px 14px 14px;
}

#popup-forgot .content table {
	margin:0px;
	width:242px;
}

#popup-forgot .content td {
	padding-left:14px;
	padding-right:14px;
}

#popup-forgot .content td.text {padding:0px 14px 14px 14px; text-align:justify;}

#popup-forgot .content td.email {padding-top:5px; clear:both;}
#popup-forgot .content td.email input {
	display:block;
	width:207px;
	padding:1px 0px 0px 2px;
}

#popup-forgot .content td.security {padding-top:5px;}
#popup-forgot .content td.security #forgot-security-image {
	display:block;
	float:left;
}
#popup-forgot .content td.security #forgot-security {
	display:block;
	float:left;
	margin-left:7px;
	width:100px;
	padding:1px 1px 0px 1px;
	text-align:center;
}

#popup-forgot .content td.submit {
	text-align:right;
	padding:12px 16px 0px 0px;
}
#popup-forgot .content td.submit input {
	width:53px;
	height:15px;
	background:url(submit.png) left top no-repeat;
	border:none;
}
body.ru #popup-forgot .content td.submit input {width:70px;}
/* ##### Forgot Password #### */


/*
#popup-signup .content th {
	width:50px;
	padding-left:14px;
}

#popup-signup .content td input {
	width:198px;
}

#popup-signup .content td.gender {
	padding-top:2px;
}

#popup-signup .content td.gender input {
	display:block;
	float:left;
	width:12px;
	height:12px;
	margin:0px 5px 0px 0px;
	padding:0px;
}
#popup-signup .content td.gender label {
	display:block;
	float:left;
	margin:-1px 15px 0px 0px;
	padding:0px;
}

#popup-signup .content tr.email th, #popup-signup .content tr.email td {
	padding-top:15px;
	padding-bottom:4px;
}

#popup-signup .content tr.password th, #popup-signup .content tr.password td {
	padding-top:15px;
	padding-bottom:4px;
}

#popup-signup .content td #registration-security-image {
	display:block;
	float:left;
}
#popup-signup .content td #registration-security {
	display:block;
	float:left;
	margin-left:3px;
	width:95px;
}

#popup-signup .content tr.submit td {
	padding-top:15px;
	text-align:right;
}
#popup-signup .content tr.submit td input {
	width:auto;
	height:auto;
}
*/





#popup-garabed .content form {
	margin:0px;
	padding:0px;
}

#popup-garabed .content form p.response {
	padding:0px 14px 14px 14px;
}

#popup-garabed .content table {
	margin:0px;
	width:242px;
}

#popup-garabed .content td {
	padding-left:14px;
	padding-right:14px;
}

#popup-garabed .content td.fullname input {
	display:block;
	float:left;
	width:97px;
	padding:1px 0px 0px 2px;
}
#popup-garabed .content td.fullname #garabed-name {
	margin-right:7px;
}


#popup-garabed .content td.email {padding-top:5px; clear:both;}
#popup-garabed .content td.email input {
	display:block;
	width:207px;
	padding:1px 0px 0px 2px;
}

#popup-garabed .content td.message {padding-top:5px;}
#popup-garabed .content td.message textarea {
	font-weight:normal;
	display:block;
	width:207px;
	height:150px;
	padding:2px;
}


#popup-garabed .content td.security {padding-top:5px;}
#popup-garabed .content td.security #garabed-security-image {
	display:block;
	float:left;
}
#popup-garabed .content td.security #garabed-security {
	display:block;
	float:left;
	margin-left:7px;
	width:100px;
	padding:1px 1px 0px 1px;
	text-align:center;
}



#popup-garabed .content td.submit {
	text-align:right;
	padding:12px 16px 0px 0px;
}
#popup-garabed .content td.submit input {
	width:53px;
	height:15px;
	background:url(submit.png) left top no-repeat;
	border:none;
}
body.ru #popup-garabed .content td.submit input {width:70px;}


/* REQUEST RESEARCH */
#popup-research .content form {
	margin:0px;
	padding:0px;
}

#popup-research .content form p.response {
	padding:0px 14px 14px 14px;
}

#popup-research .content table {
	margin:0px;
	width:242px;
}

#popup-research .content td {
	padding-left:14px;
	padding-right:14px;
}

#popup-research .content td.fullname input {
	display:block;
	float:left;
	width:97px;
	padding:1px 0px 0px 2px;
}
#popup-research .content td.fullname #research-name {
	margin-right:7px;
}

#popup-research .content td.phone {padding-top:5px; clear:both;}
#popup-research .content td.phone input {
	display:block;
	width:207px;
	padding:1px 0px 0px 2px;
}

#popup-research .content td.email {padding-top:5px; clear:both;}
#popup-research .content td.email input {
	display:block;
	width:207px;
	padding:1px 0px 0px 2px;
}

#popup-research .content td.message {padding-top:5px;}
#popup-research .content td.message textarea {
	font-weight:normal;
	display:block;
	width:207px;
	height:150px;
	padding:2px;
}


#popup-research .content td.security {padding-top:5px;}
#popup-research .content td.security #research-security-image {
	display:block;
	float:left;
}
#popup-research .content td.security #research-security {
	display:block;
	float:left;
	margin-left:7px;
	width:100px;
	padding:1px 1px 0px 1px;
	text-align:center;
}



#popup-research .content td.submit {
	text-align:right;
	padding:12px 16px 0px 0px;
}
#popup-research .content td.submit input {
	width:53px;
	height:15px;
	background:url(submit.png) left top no-repeat;
	border:none;
}
body.ru #popup-research .content td.submit input {width:70px;}









/* REQUEST DESIGN */
#popup-design .content form {
	margin:0px;
	padding:0px;
}

#popup-design .content form p.response {
	padding:0px 14px 14px 14px;
}

#popup-design .content table {
	margin:0px;
	width:242px;
}

#popup-design .content td {
	padding-left:14px;
	padding-right:14px;
}

#popup-design .content td.fullname input {
	display:block;
	float:left;
	width:97px;
	padding:1px 0px 0px 2px;
}
#popup-design .content td.fullname #design-name {
	margin-right:7px;
}

#popup-design .content td.phone {padding-top:5px; clear:both;}
#popup-design .content td.phone input {
	display:block;
	width:207px;
	padding:1px 0px 0px 2px;
}

#popup-design .content td.email {padding-top:5px; clear:both;}
#popup-design .content td.email input {
	display:block;
	width:207px;
	padding:1px 0px 0px 2px;
}

#popup-design .content td.message {padding-top:5px;}
#popup-design .content td.message textarea {
	font-weight:normal;
	display:block;
	width:207px;
	height:150px;
	padding:2px;
}


#popup-design .content td.security {padding-top:5px;}
#popup-design .content td.security #design-security-image {
	display:block;
	float:left;
}
#popup-design .content td.security #design-security {
	display:block;
	float:left;
	margin-left:7px;
	width:100px;
	padding:1px 1px 0px 1px;
	text-align:center;
}



#popup-design .content td.submit {
	text-align:right;
	padding:12px 16px 0px 0px;
}
#popup-design .content td.submit input {
	width:53px;
	height:15px;
	background:url(submit.png) left top no-repeat;
	border:none;
}
body.ru #popup-design .content td.submit input {width:70px;}









/* BOOK RESEARCH */
#popup-book .content form {
	margin:0px;
	padding:0px;
}

#popup-book .content form p.response {
	padding:0px 14px 14px 14px;
}

#popup-book .content table {
	margin:0px;
	width:242px;
}

#popup-book .content td {
	padding-left:14px;
	padding-right:14px;
}

#popup-book .content td.fullname input {
	display:block;
	float:left;
	width:97px;
	padding:1px 0px 0px 2px;
}
#popup-book .content td.fullname #book-name {
	margin-right:7px;
}

#popup-book .content td.phone {padding-top:5px; clear:both;}
#popup-book .content td.phone input {
	display:block;
	width:207px;
	padding:1px 0px 0px 2px;
}

#popup-book .content td.email {padding-top:5px; clear:both;}
#popup-book .content td.email input {
	display:block;
	width:207px;
	padding:1px 0px 0px 2px;
}

#popup-book .content td.message {padding-top:5px;}
#popup-book .content td.message textarea {
	font-weight:normal;
	display:block;
	width:207px;
	height:150px;
	padding:2px;
}


#popup-book .content td.security {padding-top:5px;}
#popup-book .content td.security #book-security-image {
	display:block;
	float:left;
}
#popup-book .content td.security #book-security {
	display:block;
	float:left;
	margin-left:7px;
	width:100px;
	padding:1px 1px 0px 1px;
	text-align:center;
}



#popup-book .content td.submit {
	text-align:right;
	padding:12px 16px 0px 0px;
}
#popup-book .content td.submit input {
	width:53px;
	height:15px;
	background:url(submit.png) left top no-repeat;
	border:none;
}
body.ru #popup-book .content td.submit input {width:70px;}






/* INVITE A FRIEND */
#popup-invitefriend .content form {
	margin:0px;
	padding:0px;
}

#popup-invitefriend .content form p.response {
	padding:0px 14px 14px 14px;
}

#popup-invitefriend .content table {
	margin:0px;
	width:242px;
}

#popup-invitefriend .content th {
	text-align:left;
	padding-left:14px;
	padding-right:14px;
}
#popup-invitefriend .content th.to {
	padding-top:10px;
}

#popup-invitefriend .content td {
	padding-left:14px;
	padding-right:14px;
}

#popup-invitefriend .content td.fromfullname input,
#popup-invitefriend .content td.tofullname input {
	display:block;
	float:left;
	width:97px;
	padding:1px 0px 0px 2px;
}
#popup-invitefriend .content td.fromfullname #invitefriend-fromname,
#popup-invitefriend .content td.tofullname #invitefriend-toname {
	margin-right:7px;
}

#popup-invitefriend .content td.tofullname {
  padding-top:0px;
}

#popup-invitefriend .content td.fromemail,
#popup-invitefriend .content td.toemail {padding-top:5px; clear:both;}
#popup-invitefriend .content td.fromemail input,
#popup-invitefriend .content td.toemail input {
	display:block;
	width:207px;
	padding:1px 0px 0px 2px;
}

#popup-invitefriend .content td.message {padding-top:10px;}
#popup-invitefriend .content td.message textarea {
	font-weight:normal;
	display:block;
	width:207px;
	height:70px;
	padding:2px;
}


#popup-invitefriend .content td.security {/*padding-top:5px;*/ padding-top:10px;}
#popup-invitefriend .content td.security #invitefriend-security-image {
	display:block;
	float:left;
}
#popup-invitefriend .content td.security #invitefriend-security {
	display:block;
	float:left;
	margin-left:7px;
	width:100px;
	padding:1px 1px 0px 1px;
	text-align:center;
}



#popup-invitefriend .content td.submit {
	text-align:right;
	padding:12px 16px 0px 0px;
}
#popup-invitefriend .content td.submit input {
	width:53px;
	height:15px;
	background:url(submit.png) left top no-repeat;
	border:none;
}
body.ru #popup-invitefriend .content td.submit input {width:70px;}






/*############### SETTINGS ##################*/
#popup-settings .content table {
	width:328px;
}
#popup-settings .content td.photo {
	/*padding-left:10px;*/
	text-align:center;
	vertical-align:top;
	padding-right:0px;
	padding-left:0px;
}

#popup-settings .content td.photo form {
	margin:0px;
	padding:0px;
	width:87px;
	/*
	text-align:center;
	color:#999;
	letter-spacing: -1px;
	line-height:1;
	*/
	position:relative;
}

#popup-settings .content td.photo img {
	display:block;
	position:absolute;
	top:0px;
	left:27px;
}

#popup-settings .content td.photo ul {
	position:absolute;
	top:55px;
	left:10px;
	width:80px;
	margin:0px;
	padding:0px;
	list-style:none;
}

#popup-settings .content td.photo li {
	float:left;
	position:relative;
	height:9px;
	width:25px;
	color:#999;
	/*letter-spacing: -1px;*/
	font-size:8px;
	font-family:Verdana, Arial, Helvetica, sans-serif, sans;
	cursor:pointer;
}

#popup-settings .content td.photo li.change {
	border-right:#999 1px solid;
	overflow:hidden;
	text-align:left;
	width:35px;
	height:9px;
	cursor:pointer;
	z-index:20;
}

#popup-settings .content td.photo li a {
	display:block;
	position:absolute;
	top:-3px;
	left:0px;
	color:#999;
	padding-top:0px;
	margin-top:0px;
	letter-spacing: -1px;
	font-size:9px;
	font-family:Verdana, Arial, Helvetica, sans-serif, sans;
}

#popup-settings .content td.photo li.remove a {
	left:5px;
}

#popup-settings .content td.photo li a, #popup-settings .content td.photo li a:link, #popup-settings .content td.photo li a:visited {
	text-decoration:none;
}
#popup-settings .content td.photo li a:hover, #popup-settings .content td.photo li a:focus, #popup-settings .content td.photo li a:active {
	text-decoration:underline;
}


#popup-settings .content td.photo input.file {
	display:block;
	position:absolute;
	top:0px;
	left:0px;
	width:30px;
	height:10px;
	cursor:pointer;
	border:1px solid #fff;
	background:#ccc;
}


#popup-settings .content td.photo iframe {
	position:absolute;
	/*
	top:-1000px;
	left:-1000px;
	*/
	visibility:hidden;
	width:0px;
	height:0px;
	cursor:pointer;
}


#popup-settings .content td.gender {
	padding:2px 0px 4px 0px;
}

#popup-settings .content td.gender input {
	display:block;
	float:left;
	width:12px;
	height:12px;
	margin:0px 5px 0px 0px;
	padding:0px;
}
#popup-settings .content td.gender label {
	display:block;
	float:left;
	margin:-1px 15px 0px 0px;
	padding:0px;
}
#popup-settings .content td.gender label.last {
	margin-right:0px;
}
#popup-settings .content td.fullname {
	/*width:225px;*/
}
#popup-settings .content td.fullname input {
	width:101px;
	padding:1px 0px 0px 2px;
}
#popup-settings .content td.fullname #settings-name {
	display:block;
	margin-bottom:4px;
}
#popup-settings .content td.fullname #settings-surname {
	margin-right:7px;
}

#popup-settings .content td.fullname #settings-maiden {
	display:none;
}

#popup-settings .content .birth {
	padding-top:8px;
	/*height:15px;*/
}

#popup-settings .content th.birth label {
	font-weight:bold;
	margin-top:1px;
	text-align:right;
}

#popup-settings .content td.birth input {
	display:block;
	float:left;
	padding:1px 0px 0px 0px;
}
#popup-settings .content td.birth #settings-birthplace {width:101px; padding-left:2px;}

/*
#popup-settings .content td.birth #settings-born {
	margin-right:7px;
}*/
#popup-settings .content td.birth #settings-bornDD,
#popup-settings .content td.birth #settings-bornMM {
	width:25px;
	margin-right:5px;
	text-align:center;
}
#popup-settings .content td.birth #settings-bornYYYY {
	width:35px;
	margin-right:7px;
	text-align:center;
}

#popup-settings .content td.birth #settings-country {
	width:101px;
	padding:1px 0px 0px 2px;
}


#popup-settings .content th.bio {
	vertical-align:top;
}
#popup-settings .content td.bio textarea {
	width:220px;
	height:88px;
	padding:0px;
	margin:0px;
}

#popup-settings .content th.address, #popup-settings .content td.address {
	clear:both;
	padding-top:11px;
	vertical-align:top;
}
#popup-settings .content th.address {
	padding-top:13px;
}

#popup-settings .content th.address label {
	/*width:75px;*/
	/*height:19px;*/
	/*padding-right:8px;*/
	font-weight:bold;
	text-align:right;
}

#popup-settings .content td.address input {
	display:block;
	float:left;
	width:101px;
	padding:1px 0px 0px 2px;
}



#popup-settings .content td.address #settings-address {
	width:215px;
}

#popup-settings .content td.address .location {
	clear:both;
	width:221px;
	padding:4px 0px 0px 0px;
	height:17px;
	margin-bottom:11px;
}

#popup-settings .content td.address .location input {
	display:block;
	float:left;
}

#popup-settings .content td.address .location #settings-location {
	margin-right:7px;
}





#popup-settings .content td.email {
	clear:both;
	font-weight:bold;
	padding:7px 14px 8px 14px;
	margin:0px 0px 0px 0px;
	background:#eee;
}

#popup-settings .content td.email input {
	font-weight:normal;
	display:block;
	margin-top:5px;
	width:292px;
	height:13px;
	padding:2px 2px 2px 2px;
}


#popup-settings .content td.password {
	/*clear:both;*/
	font-weight:bold;
	padding:0px 14px 8px 14px;
	margin:0px 0px 0px 0px;
	background:#eee;
}

#popup-settings .content td.password label {
	display:block;
}

#popup-settings .content td.password input {
	font-weight:normal;
	/*display:block;*/
	/*margin-top:5px;*/
	width:138px;
	height:13px;
	padding:2px 2px 2px 2px;
}

#popup-settings .content td.password #settings-password {
	margin-right:7px;
}

#popup-settings .content td.password #settings-confirm {
	width:139px;
}



#popup-settings .content td.privacy {
	font-weight:bold;
	padding:7px 14px 8px 14px;
	margin:0px 0px 0px 0px;
	background:#eee;
}

#popup-settings .content td.privacy div {
	margin-bottom:5px;
}


#popup-settings .content td.privacy input {
	display:block;
	float:left;
	width:12px;
	height:12px;
	margin:0px 5px 0px 0px;
	padding:0px;
}
#popup-settings .content td.privacy label {
	display:block;
	float:left;
	margin:-1px 15px 0px 0px;
	padding:0px;
	font-weight:normal;
}
#popup-settings .content td.privacy label.last {
	margin-right:0px;
}


#popup-settings .content td.security {/*padding-top:5px;*/ padding-top:10px;}
#popup-settings .content td.security #settings-security-image {
	display:block;
	float:left;
}
#popup-settings .content td.security #settings-security {
	display:block;
	float:left;
	margin-left:7px;
	width:109px;
	padding:1px 1px 0px 1px;
	text-align:center;
}


#popup-settings .content td.submit {
	text-align:right;
	padding:14px 14px 18px 0px;
}
#popup-settings .content td.submit input {
	width:42px;
	height:15px;
	background:url(save.png) left top no-repeat;
	border:none;
}
body.ru #popup-settings .content td.submit input {width:70px;}
#popup-settings .content p.response {
	text-align:center;
	font-size:15px;
	font-weight:bold;
	padding:30px 20px 0px 20px;
}
/*############### SETTINGS ##################*/











/*#############################################*/
/*#############################################*/
/*################ THE TREE ###################*/
/*#############################################*/
/*#############################################*/
#tree {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	margin:0px;
	padding:0px;
	background:#fff;
	font-family: Verdana, Arial, Helvetica, sans-serif, sans;
	text-align:center;
	/*overflow:auto;*/
	overflow:hidden;
	/*z-index:80;*/
	/*display:none;*/
}

#tree input, #tree select, #tree textarea {font-family: Verdana, Arial, Helvetica, sans-serif, sans;}

/*
#tree .close {
	position:absolute;
	top:10px;
	right:10px;
	width:10px;
	height:10px;
	background:url(popup.close.gif) left top no-repeat;
	cursor:pointer;
}
*/

#treeobject {
	margin:0px auto;
	position:relative;
	/*background:#fff;*/
	z-index:0;
	text-align:left;
}
#in-treeobject {
	position:absolute;
	top:0px; 
}
/*
.static {border:#fff 1px dashed;}
.dragging {border:#ddd 1px dashed;}
*/

#tree .item {
	position:absolute;
	width:160px;
	height:67px;
}

#tree .item .box {
	position:absolute;
	top:0px;
	left:0px;
	width:160px;
	height:67px;
	text-align:left;
	color:#333;
	font-size:10px;
}

#tree .item .m-box {background:url(tree.box.png) left 0px no-repeat;}
#tree .item .f-box {background:url(tree.box.png) left -67px no-repeat;}
#tree .item .u-box {background:url(tree.box.png) left -134px no-repeat;}

#tree .item .box .image {
	position:absolute;
	top:7px;
	left:7px;
	width:42px;
	height:53px;
}
#tree .item .box .fn {
	width:101px;
	padding-top:7px;
	margin:0px 0px 0px 53px;
	font-weight:bold;
}

#tree .item .box .dates {
	width:101px;
	margin:0px 0px 0px 53px;
}

#tree .item .box .dates .bday, #tree .item .box .dates .dday {
	display:inline;
}

#tree .item .box .gender {display:none;}

#tree .item .died {
	position:absolute;
	top:0px;
	left:0px;
	width:160px;
	height:67px;
	background:url(tree.deathlice.gif) left bottom no-repeat;
}

#tree .item .box .btn {
	position:absolute;
	left:139px;
	top:50px;
	width:21px;
	height:17px;
	cursor:pointer;
}


/*########### SUBMENU ############*/
#submenu {
	display:none;
	position:absolute;
	top:0px;
	left:0px;
	width:102px;
	height:136px;
	z-index:2;
}

#submenu .bg {
	display:none;
}

#tree .m-menu {background:url(tree.menu.png) 0px top no-repeat;}
#tree .f-menu {background:url(tree.menu.png) -102px top no-repeat;}
#tree .u-menu {background:url(tree.menu.png) -204px top no-repeat;}

#submenu ul {
	list-style:none;
	margin:0px;
	padding:24px 0px 0px 0px;
	position:absolute;
	top:0px;
	left:0px;
	width:102px;
	height:112px;
	text-align:left;
	color:#333;
	font-size:10px;
}

#submenu li {
	padding:0px 3px 0px 1px;
}
#submenu li a {
	display:block;
	outline:none;
	text-decoration:none;
	padding:2px 5px 2px 9px;
	color:#333;
	font-size:10px;
}

#tree .m-menu li a, #tree .m-menu li a:link, #tree .m-menu li a:visited {background:none;}
#tree .m-menu li a:hover, #tree .m-menu li a:focus, #tree .m-menu li a:active {background:#e5f3fc;}

#tree .f-menu li a, #tree .f-menu li a:link, #tree .f-menu li a:visited {background:none;}
#tree .f-menu li a:hover, #tree .f-menu li a:focus, #tree .f-menu li a:active {background:#fdebec;}

#tree .u-menu li a, #tree .u-menu li a:link, #tree .u-menu li a:visited {background:none;}
#tree .u-menu li a:hover, #tree .u-menu li a:focus, #tree .u-menu li a:active {background:#e8ebb0;}
/*########### SUBMENU ############*/



#tree .item var {
	display:block;
	position:absolute;
	left:50%;
	margin-left:-1px;
	width:1px;
	height:21px;
	background:#333;
	/*zoom:0px;*/
	/*border-left:#333 1px solid;*/
}
#tree .item var.top {top:-21px; /*margin-left:0px;*/}
#tree .item var.bottom {bottom:-21px;}
/*
#tree .item var.children {
	height:0px;
	border-left:none;
	margin-left:0px;
	
	border-bottom:#333 1px solid;
	bottom:-21px;
}
*/

#tree .item code.family {
	display:block;
	position:absolute;
	top:32px;
	left:-25px;
	width:26px;
	height:50px;
	/*zoom:0px;*/
	border-top:#333 1px solid;
}
#tree .item code.family img {
	display:block;
	position:absolute;
	top:-5px;
	left:4px;
	cursor:pointer;
}
#tree .item code.family var {
	top:7px;
	height:47px;
}

/*Spouse has a tree - Leave */
#tree .item ins {
	display:block;
	position:absolute;
	top:-8px;
	left:124px;
	width:31px;
	height:14px;
	background:url(tree.leave.gif) top left no-repeat;
	z-index:1;
	cursor:pointer;
}


#tree .children {
  position:absolute;
  height:1px;
  width:1px;
  background:#333;
}



/*########################################################*/
/*################### TREE POPUPS ########################*/
/*########################################################*/

#popup-tree-edit .content table {
	width:328px;
}
#popup-tree-edit .content td.photo {
	/*padding-left:10px;*/
	text-align:center;
	vertical-align:top;
	padding-right:0px;
	padding-left:0px;
}

#popup-tree-edit .content td.photo form {
	margin:0px;
	padding:0px;
	width:87px;
	/*
	text-align:center;
	color:#999;
	letter-spacing: -1px;
	line-height:1;
	*/
	position:relative;
}

#popup-tree-edit .content td.photo img {
	display:block;
	position:absolute;
	top:0px;
	left:27px;
}

#popup-tree-edit .content td.photo ul {
	position:absolute;
	top:55px;
	left:10px;
	width:80px;
	margin:0px;
	padding:0px;
	list-style:none;
}

#popup-tree-edit .content td.photo li {
	float:left;
	position:relative;
	height:9px;
	width:25px;
	color:#999;
	/*letter-spacing: -1px;*/
	font-size:8px;
	font-family:Verdana, Arial, Helvetica, sans-serif, sans;
	cursor:pointer;
}

#popup-tree-edit .content td.photo li.change {
	border-right:#999 1px solid;
	overflow:hidden;
	text-align:left;
	width:35px;
}

#popup-tree-edit .content td.photo li a {
	display:block;
	position:absolute;
	top:-3px;
	left:0px;
	color:#999;
	padding-top:0px;
	margin-top:0px;
	letter-spacing: -1px;
	font-size:9px;
	font-family:Verdana, Arial, Helvetica, sans-serif, sans;
}

#popup-tree-edit .content td.photo li.remove a {
	left:5px;
}

#popup-tree-edit .content td.photo li a, #popup-tree-edit .content td.photo li a:link, #popup-tree-edit .content td.photo li a:visited {
	text-decoration:none;
}
#popup-tree-edit .content td.photo li a:hover, #popup-tree-edit .content td.photo li a:focus, #popup-tree-edit .content td.photo li a:active {
	text-decoration:underline;
}


#popup-tree-edit .content td.photo input.file {
	display:block;
	position:absolute;
	top:0px;
	left:0px;
	width:30px;
	height:10px;
	cursor:pointer;
	border:1px solid #fff;
	background:#ccc;
}


#popup-tree-edit .content td.photo iframe {
	position:absolute;
	top:-1000px;
	left:-1000px;
	width:0px;
	height:0px;
}


#popup-tree-edit .content td.gender {
	padding:2px 0px 4px 0px;
}

#popup-tree-edit .content td.gender input {
	display:block;
	float:left;
	width:12px;
	height:12px;
	margin:0px 5px 0px 0px;
	padding:0px;
}
#popup-tree-edit .content td.gender label {
	display:block;
	float:left;
	margin:-1px 15px 0px 0px;
	padding:0px;
}
#popup-tree-edit .content td.gender label.last {
	margin-right:0px;
}
#popup-tree-edit .content td.fullname {
	/*width:225px;*/
}
#popup-tree-edit .content td.fullname input {
	width:101px;
	padding:1px 0px 0px 2px;
}
#popup-tree-edit .content td.fullname #tree-edit-name {
	display:block;
	margin-bottom:4px;
}
#popup-tree-edit .content td.fullname #tree-edit-surname {
	margin-right:7px;
}

#popup-tree-edit .content td.fullname #tree-edit-maiden {
	display:none;
}

#popup-tree-edit .content .birth {
	padding-top:8px;
	/*height:15px;*/
}

#popup-tree-edit .content th.birth label {
	font-weight:bold;
	margin-top:1px;
	text-align:right;
}

#popup-tree-edit .content td.birth input {
	display:block;
	float:left;
	padding:1px 0px 0px 0px;
}
#popup-tree-edit .content td.birth #tree-edit-birthplace {width:101px; padding-left:2px;}

/*
#popup-tree-edit .content td.birth #tree-edit-born {
	margin-right:7px;
}*/
#popup-tree-edit .content td.birth #tree-edit-bornDD,
#popup-tree-edit .content td.birth #tree-edit-bornMM {
	width:25px;
	margin-right:5px;
	text-align:center;
}
#popup-tree-edit .content td.birth #tree-edit-bornYYYY {
	width:35px;
	margin-right:7px;
	text-align:center;
}




/*
#popup-tree-edit .content td.death input {
	display:block;
	float:left;
}
*/

#popup-tree-edit .content th.death {
	padding-top:12px;
	vertical-align:top;
	font-weight:bold;
	text-align:right;
}

#popup-tree-edit .content td.death {
	padding-top:11px;
}

#popup-tree-edit .content td.death input, #popup-tree-edit .content td.death label {
	display:block;
	float:left;
}

#popup-tree-edit .content td.death #popup-tree-deceased {
	display:block;
	float:left;
	width:12px;
	height:12px;
	margin:0px;
	padding:0px;
}

#popup-tree-edit .content td.death label {
	display:block;
	float:left;
	margin:2px 0px 0px 4px;
	padding:0px;
}

#popup-tree-edit .content td.death #tree-edit-died-true {
	clear:both;
	/*display:none;*/
	/*height:19px;*/
	padding:4px 0px 0px 0px;
}

#popup-tree-edit .content td.death #tree-edit-died-true input {padding:1px 0px 0px 0px;}
#popup-tree-edit .content td.death #tree-edit-died-true #tree-edit-deathplace {width:101px; padding-left:2px;}

/*
#popup-tree-edit .content td.death #tree-edit-died {
	margin-right:7px;
}
*/
#popup-tree-edit .content td.death #tree-edit-died-true #tree-edit-diedDD,
#popup-tree-edit .content td.death #tree-edit-died-true #tree-edit-diedMM {
	width:25px;
	margin-right:5px;
	text-align:center;
}
#popup-tree-edit .content td.death #tree-edit-died-true #tree-edit-diedYYYY {
	width:35px;
	margin-right:7px;
	text-align:center;
}



#popup-tree-edit .content th.address, #popup-tree-edit .content td.address {
	clear:both;
	padding-top:11px;
	vertical-align:top;
}
#popup-tree-edit .content th.address {
	padding-top:13px;
}

#popup-tree-edit .content th.address label {
	/*width:75px;*/
	/*height:19px;*/
	/*padding-right:8px;*/
	font-weight:bold;
	text-align:right;
}

#popup-tree-edit .content td.address input {
	display:block;
	float:left;
	width:101px;
	padding:1px 0px 0px 2px;
}



#popup-tree-edit .content td.address #tree-edit-address {
	width:209px;
}

#popup-tree-edit .content td.address .location {
	clear:both;
	width:221px;
	padding:4px 0px 0px 0px;
	height:17px;
	margin-bottom:11px;
}

#popup-tree-edit .content td.address .location input {
	display:block;
	float:left;
}

#popup-tree-edit .content td.address .location #tree-edit-location {
	margin-right:7px;
}





#popup-tree-edit .content td.email {
	clear:both;
	font-weight:bold;
	padding:7px 14px 8px 14px;
	margin:0px 0px 0px 0px;
	background:#eee;
}

#popup-tree-edit .content td.email #tree-edit-email {
	font-weight:normal;
	display:block;
	margin-top:5px;
	width:292px;
	height:13px;
	padding:2px 2px 2px 2px;
}

#popup-tree-edit .content td.email .privilegy {
	padding:7px 0px 4px 0px;
}

#popup-tree-edit .content td.email .privilegy input {
	display:block;
	float:left;
	width:12px;
	height:12px;
	margin:0px 5px 0px 0px;
	padding:0px;
}
#popup-tree-edit .content td.email .privilegy label {
	display:block;
	float:left;
	margin:-1px 15px 0px 0px;
	padding:0px;
	font-weight:normal;
}
#popup-tree-edit .content td.email .privilegy label.last {
	margin-right:0px;
}



#popup-tree-edit .content td.submit {
	text-align:right;
	padding:14px 14px 18px 0px;
}
#popup-tree-edit .content td.submit input {
	width:42px;
	height:15px;
	border:none;
}
body.ru #popup-tree-edit .content td.submit input {width:70px;}


/*############### TREE SETTINGS ##################*/
#popup-treesettings .content form {
	margin:0px;
	padding:0px;
}

#popup-treesettings .content form p.response {
	padding:0px 14px 14px 14px;
}

#popup-treesettings .content table {
	margin:0px;
	width:242px;
}

#popup-treesettings .content td.name {
	font-weight:bold;
	padding:0px 14px 8px 14px;
	margin:0px 0px 0px 0px;
	/*background:#eee;*/
}

#popup-treesettings .content td.name div {
	margin-bottom:5px;
}

#popup-treesettings .content td.name input {
	font-weight:normal;
	display:block;
	width:207px;
	height:13px;
	padding:2px 2px 2px 2px;
}


#popup-treesettings .content td.privacy {
	font-weight:bold;
	padding:7px 14px 8px 14px;
	margin:0px 0px 0px 0px;
	/*background:#eee;*/
}

#popup-treesettings .content td.privacy div {
	margin-bottom:5px;
}

#popup-treesettings .content td.privacy input {
	display:block;
	float:left;
	width:12px;
	height:12px;
	margin:0px 5px 0px 0px;
	padding:0px;
}
#popup-treesettings .content td.privacy label {
	display:block;
	float:left;
	margin:-1px 15px 0px 0px;
	padding:0px;
	font-weight:normal;
}
#popup-treesettings .content td.privacy label.last {
	margin-right:0px;
}


#popup-treesettings .content td.security {padding:10px 14px 0px 14px;}
#popup-treesettings .content td.security #treesettings-security-image {
	display:block;
	float:left;
}
#popup-treesettings .content td.security #treesettings-security {
	display:block;
	float:left;
	margin-left:7px;
	width:100px;
	padding:1px 1px 0px 1px;
	text-align:center;
}


#popup-treesettings .content td.submit {
	text-align:right;
	padding:12px 16px 0px 0px;
}
#popup-treesettings .content td.submit input {
	width:42px;
	height:15px;
	/*background:url(save.png) left top no-repeat;*/
	border:none;
}
body.ru #popup-treesettings .content td.submit input {width:70px;}

/*############### TREE SETTINGS ##################*/








/*############### SELECT A TREE ##################*/
#popup-selecttree .content ul {
	margin:0px 15px 0px 15px;
	padding:0px;
	list-style:none;
	line-height:1.5;
	height:200px;
	overflow:auto;
}
/*############### SELECT A TREE ##################*/








/*########################################################*/
/*########################################################*/
/*########################################################*/
#treelogo {
  position:absolute;
	top:15px;
	left:15px;
	/*
	width:379px;
	height:134px;
	*/
	width:330px; /*304*/
	height:108px;
	outline:none;
  z-index:85;
}
#treelogo span {
  display:block;
  width:304px;
	height:108px;
}

#treesidebar {
  position:absolute;
	top:0px;
	right:0px;
	width:227px;
	height:100%;
	z-index:85;
	background:url(sidebar.bg.png) left top repeat-y;
	font-family: Verdana, Arial, Helvetica, sans-serif, sans;
	/*opacity:0.6;*/
}

#treesidebar #treesidebar-menu {
  list-style:none;
  margin:0px;
  padding:16px 0px 0px 0px;
  width:227px;
  height:100%;
  background:url(sidebar.bg.jpg) right top repeat-y;
}

#treesidebar-menu li {
  width:177px;
  height:20px;
  background:url(sidebar.blocks.png) top left no-repeat;
  margin-left:32px;
  margin-bottom:7px;
}
#treesidebar-menu li a {
  display:block;
  
  width:156px; /*177*/
  height:16px; /*20*/
  padding:4px 0px 0px 21px;
  
  color:#800000;
  font-weight:bold;
  font-size:10px;
  text-align:left;
}

#treesidebar-menu li a, #treesidebar-menu li a:link, #treesidebar-menu li a:visited {
  text-decoration:none;
}
#treesidebar-menu li a:hover, #treesidebar-menu li a:focus, #treesidebar-menu li a:active {
  text-decoration:underline;
}

#treesidebar-menu .treebuilder {
  height:59px;
  background:url(sidebar.blocks.png) 0 -148px no-repeat;
  margin-bottom:3px;
}
#treesidebar-menu .treebuilder a {
  width:81px; /*177*/
  height:53px; /*59*/
  padding:6px 75px 0px 21px;
  font-size:14px;
  background:url(sidebar.icons.gif) 0 -501px no-repeat;
  line-height:1.1;
}

#treesidebar-menu .home a {background:url(sidebar.icons.gif) 0 -99px no-repeat;}
#treesidebar-menu .trees a {background:url(sidebar.icons.gif) 0 -198px no-repeat;}
#treesidebar-menu .trees ul {display:none;}

#treesidebar-menu .settings a {background:url(sidebar.icons.gif) 0 -148px no-repeat;}
#treesidebar-menu .invite a, #treesidebar-menu .join a {
  background:url(sidebar.icons.gif) 0 -49px no-repeat;
}

#treesidebar-menu .sendmessage a {background:url(sidebar.icons.gif) 0 -247px no-repeat;}


#treesidebar-menu .print a {background:url(sidebar.icons.gif) 0 -296px no-repeat;}

#treesidebar-menu .research {
  height:58px;
  background:url(sidebar.blocks.png) 0 -20px no-repeat;
  margin-bottom:5px;
}
#treesidebar-menu .research a {
  width:71px; /*177*/
  height:52px; /*58*/
  padding:6px 85px 0px 21px;
  font-size:14px;
  background:url(sidebar.icons.gif) 0 -343px no-repeat;
  line-height:1.1;
}

#treesidebar-menu .design {
  height:70px;
  background:url(sidebar.blocks.png) 0 -78px no-repeat;
  margin-bottom:13px;
}
#treesidebar-menu .design a {
  width:95px; /*177*/
  height:57px; /*70*/
  padding:13px 61px 0px 21px;
  font-size:14px;
  background:url(sidebar.icons.gif) 0 -416px no-repeat;
  line-height:1.1;
}

#treesidebar-menu .ad {
  height:175px;
  background:url(sidebar.blocks.png) 0 -207px no-repeat;
  text-align:center;
}
#treesidebar-menu .ad span {
  display:block;
  text-align:right;
  color:#333;
  font-size:10px;
  padding:4px 11px 4px 10px;
}
#treesidebar-menu .ad a {
  margin:0 auto;
  width:157px;
  height:125px;
  padding:20px 0px 0px 0px;
  font-size:10px;
  background:#e7e7e7;
  color:#666;
  text-align:center;
  border:#ccc 1px solid;
}
#treesidebar-menu .ad a, #treesidebar-menu .ad a:link, #treesidebar-menu .ad a:visited {
  text-decoration:none;
  color:#666;
  background:#e7e7e7;
  border:#ccc 1px solid;
}

#treesidebar-menu .ad a:hover, #treesidebar-menu .ad a:focus, #treesidebar-menu .ad a:active {
	text-decoration:none;
	color:#333;
  background:#ddd;
  border:#999 1px solid;
}

#treesidebar-menu .tellafriend a {background:url(sidebar.icons.gif) 0 0px no-repeat;}

#treesidebar-menu .bookmark {
  height:90px;
  background:url(sidebar.blocks.png) 0 -382px no-repeat;
  margin-bottom:0px;
  text-align:center;
}
#treesidebar-menu .bookmark span {
  display:block;
  
  width:156px; /*177*/
  height:12px; /*20*/
  padding:4px 0px 4px 21px;
  
  color:#800000;
  font-weight:bold;
  font-size:10px;
  text-align:left;
  background:url(sidebar.icons.gif) 0 -585px no-repeat;
}

#treesidebar-menu .bookmark .socialicons {
  list-style:none;
  width:157px;
  margin:3px 0px 0px 10px;
  padding:0px;
}

#treesidebar-menu .bookmark .socialicons li {
  float:left;
  margin:0px 6px 5px 0px;
	padding:0px;
	width:16px;
	height:16px;
	background:none;
}

#treesidebar-menu .bookmark .socialicons li a {
  display:block;
  
  width:16px;
  height:16px;
  padding:0px;
  margin:0px;
}

#treesidebar #insight {
  position:absolute;
  right:20px;
  bottom:16px;
  display:block;
  outline:none;
  width:141px;
  height:37px;
  text-decoration:none;
  border:none;
}

#copyright {
  position:absolute;
  left:15px;
  bottom:17px;
  z-index:84;
  font-size:10px;
  color:#333;
  font-family: Verdana, Arial, Helvetica, sans-serif, sans;
}

#copyright a {
  font-size:10px;
  font-weight:bold;
  color:#333;
  text-decoration:none;
  font-family: Verdana, Arial, Helvetica, sans-serif, sans;
}
/*
#treerights {
  position:absolute;
  left:0px;
  bottom:0px;
  list-style:none;
  margin:0px;
  padding:0px;
  width:100%;
  height:20px;
  z-index:84;
  font-size:10px;
}

#treerights li {
  position:absolute;
  bottom:15px;
}

#treerights li, #treerights li a {
  color:#333;
	font-size:10px;
  text-decoration:none;
  font-family: Verdana, Arial, Helvetica, sans-serif, sans;
}

#treerights li a {font-weight:bold;}

#treerights li.copyright {
	left:15px;
	bottom:17px;
}

#treerights li.powered {
	right:215px;
	text-align:right;
}
*/