/**
 * Style for Rural theme
 *
 * Use this stylesheet to customize the display of your site.
 * To learn more about CSS visit http: //www.w3.org/TR/REC-CSS2/
 *
 * webtrees: Web based Family History software
 * Copyright (C) 2011 webtrees development team.
 *
 * Derived from PhpGedView
 * Copyright (C) 2002 to 2009  PGV Development Team.  All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 * @package webtrees
 * @subpackage Themes
 * @version $Id: style.css 11049 2011-03-05 12:51:27Z greg $
 * @author Jonathan Jaubart ($Author: jonathan $)
 * @version p_$Revision: 30 $ $Date: 2011-06-19 15:43:19 +0100 (dim., 19 juin 2011) $
 * $HeadURL: svn://localhost/webtrees/trunk/themes/rural/style.css $
 */
 
/* Add a permanent scrollbar, to prevent "flickering" when hover effects lengthen page */
html { overflow-y:scroll; }

body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	margin: 0px auto auto auto;
	color: #416271;
	background: url(images/bg.png) repeat-x top #fff;
}

#main_content {
	width: 90%;
	height: auto;
	margin: auto;
}

#header_simple{
	height:1em;
}

fieldset {
	margin: 8px 8px 4px 8px;
}

legend {
	color: #62584D;
	font-size: 11px;
	font-weight: bold;
	text-align: left;
}

a {
    color: #416271;
	text-decoration: none;
}

a:hover {
	color: #1c3b4a;
	text-decoration: none;
}

:focus {
	outline-style:none;
}

th {
	font-weight: 100;
}

img {
	border: none;
}

legend img {
	height: 20px;
	vertical-align: middle;
	width: 20px;
}

img.block, #calendar_img_indi, #calendar_img_fam, #biglink img, #mycart img  {
	border: none;
	height: 25px;
	vertical-align: middle;
}

#mycart img {
	height: 20px;
}

#mycart a img {
	height: 9px;
}

.optionbox a img {
}

.button {
	width: 60px;
}

/**
 * Header
 */
 
#header {
	background: url(images/header.png) no-repeat bottom left;
	position: relative;
	width: 100%;
	height: 150px;
	margin: auto;
	color: white;
}

html[dir='rtl'] #header { background-position: right;}

#header a{
	color:white;
}

#header a:hover{
	color:#e9e2db;
}

#header td{
	text-align: right;
}

#htopright{
	text-align: right;
	position: absolute;
	top: 5px;
	right:0px;
}

html[dir='rtl'] #htopright { text-align: left; left:0px;}

#hbottomright{
	text-align: right;
	position: absolute;
	bottom: 5px;
	right:0px;
}

html[dir='rtl'] #hbottomright { text-align: left; left:0px;}

#hcenterright{
	text-align: right;
	position: absolute;
	top:75px;
	right:0px;
}
 
html[dir='rtl'] #hcenterright { text-align: left; left:0px;}

/**
 * White box, with top rounded
 */
.top_center_box {
	width: 100%;
	height: 19px;
}

.top_center_box_center {
	background: url(images/top_box_center.png) repeat-x;
	margin-left: 24px;
	margin-right: 24px;
	height: 100%;
}

.top_center_box_left {
	width: 24px;
	height: 100%;
	background: url(images/top_box_left.png) no-repeat;
	float: left;
}

.top_center_box_right {
	width: 24px;
	height: 100%;
	background: url(images/top_box_right.png) no-repeat;
	float: right;
}

.content_box {
	width: 100%;
	background-color: #FFFFFF;
}

/**
 * Person Box
 */
 
.person_box {
        font-family: tahoma, arial, helvetica, sans-serif;
        background-color: #D2E2EC;
        border: solid #85B0CB 1px;

}

.person_boxF {
        font-family: tahoma, arial, helvetica, sans-serif;
        background-color: #EDE1E8;
        border: 1px solid #E2789F;

}

.person_boxNN {
	    font-family: tahoma, arial, helvetica, sans-serif;
        background-color: white;
        border: dashed #9ca3d4 1px;

}

.person_box:target,.news_box:target,#gedcom_stats:target {
	background-color: #ffffcc;
}

.block .person_box, .block .person_boxF, .block .person_boxNN {
	background-color: #e9e2db;
	border: solid #62584D 1px;
}

.list_table {
	margin-left: auto;
	margin-right: auto;
}

.center {
	text-align: center;
}

table.center {
	margin-left: auto;
	margin-right: auto;
}


/**
 * Lists
 */
.list_table {
	margin-left: auto;
	margin-right: auto;
}

.list_table a {
	color: #62584D;
}

.list_table a:hover {
	color: #9f8c77;
}

.list_label,.list_label_wrap {
	font-size: 11px;
	color: #62584D;
	background-color: #d3c6b8;
	text-align: center;
	font-family : arial, helvetica, sans-serif;
	font-weight: bold;
}

.list_label a, .list_label_wrap a, .list_value a, .list_value_wrap a {
	color: #62584D;
}

.list_label a:hover, .list_label_wrap a:hover, .list_value a:hover, .list_value_wrap a:hover {
	color: #9f8c77;
}

.list_value,.list_value_wrap {
	font-size: 10px;
	background-color: #e9e2db;
	color: black;
	vertical-align: top;
}

.list_label,.list_value {
	white-space: nowrap;
}

.list_label_wrap,.list_value_wrap {
	white-space: normal;
}

.list_item {
	font-size: 10px;
}


/**
 * Facts table
 */

 
.facts_table, .facts_table_rtl {
	width: 100%;
	font-size:10px;
}

.facts_table a, .facts_table_rtl a {
	color:#62584D;
}

.facts_table a:hover, .facts_table_rtl a:hover {
	color: #9f8c77;
}

.facts_label {
	color: #62584D;
	background-color: #D3C6B8;
	border: solid #D3C6B8 1px;
	font-family : arial, helvetica, sans-serif;
	font-weight:bold;
	padding: 2px;
	width: 20%;
	text-align: center;
}

.facts_label02, .facts_label03 {
	color: #62584D;
	background-color: #D3C6B8;
	font-size: 12px;
	font-family: arial, helvetica, sans-serif;
	font-weight: bold;
	padding: 4px;
	text-align: center;
	font-weight: bold;
}

.facts_value {
	background-color: #f4f0ed;
	color: black;
	border: solid #D3C6B8 1px;
	padding: 2px;
}

.facts_value02 {
	background-color: #D2E2EC;
	color: black;
	border: solid #9ca3d4 1px;
	font: 12px tahoma, arial, helvetica, sans-serif;
	padding: 5px;
}

.facts_labelred, .facts_labelblue {
	color: #333333;
	background-color: #9ca3d4;
	font: 12px tahoma, arial, helvetica, sans-serif;
	padding: 4px 4px 4px 4px;
	width: 20%;
	text-align: center;
}

.facts_valuered, .facts_valueblue {
	background-color: #D2E2EC;
	color: black;
	font: 12px tahoma, arial, helvetica, sans-serif;
	padding: 4px 4px 4px 4px;
}

.facts_labelred, .facts_valuered {
	border: solid red 2px;
}

.facts_labelblue, .facts_valueblue {
	border: solid blue 2px;
}

.tabs_table {
	width: 99%;
}

.tab_cell_active {
	background-color: white;
	border-left: outset #81a9cb 2px;
	border-top: outset #81a9cb 2px;
	border-right: outset #81a9cb 2px;
	text-align: center;
	font-weight: bold;
	font-size: 10pt;
}

.tab_cell_inactive {
	background-color: #F3EFEF;
	border-left: solid #81a9cb 2px;
	border-top: solid #81a9cb 2px;
	border-right: outset #81a9cb 2px;
	text-align: center;
	font-weight: bold;
	font-size: 10pt;
}

.tab_cell_inactive_empty {
	background-color: #c6d0da;
	border-left: solid #81a9cb 2px;
	border-top: solid #81a9cb 2px;
	border-right: outset #81a9cb 2px;
	text-align: center;
	font-weight: bold;
	font-size: 10pt;
}

.tab_cell_inactive_empty a {
	color: #999999;
}

.tab_active_bottom {
	border-top: none;
	border-bottom: none;
	border-left: none;
	border-right: none;
	height: 5px;
}

.tab_inactive_bottom {
	border-left: none;
	border-right: none;
	border-top: outset #81a9cb 2px;
	height: 5px;
}

.tab_inactive_bottom_right {
	border-left: none;
	border-right: none;
	border-top: outset #81a9cb 2px;
	width: 33%;
	height: 5px;
}

/**
 * Display names
 */
.name2 { /*color: #333333;*/
	font-weight: bold;
}

.name1 {
	font-weight: bold;
}

.name_head{
	color: #7B983C;
	font: bold 16px  tahoma, arial, helvetica, sans-serif;
	letter-spacing: .3px;
}

.age {
	font-size: 8px;
}

.note_details {
	display: none;
}

.parentdeath {
	border: thin solid #d3c6b8;
	padding: 1px;
}

.source_citations {
	display: none;
}

.details1 {
	font-size: 10px;;
}

.details2 {
	font-size: 11px;
}


.details_label {
	font-size: 10px;
	font-weight: bold;
}

.facts_table .person_box, .facts_table .person_boxF, .facts_table .person_boxNN{
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

.field {
	
}

.label {
	font-weight: bold;
}

.error {
	color: #dd0000;
	font-family: tahoma, arial, helvetica, sans-serif;
	font-weight: bold;
}

.largeError {
	color: #dd0000;
	font: large tahoma, arial, helvetica, sans-serif;
	font-weight: bold;
}

.warning {
	color: red;
	font-family: tahoma, arial, helvetica, sans-serif;
	font-weight: bold;
}

.indent {
	padding-left:20px;
}

.indent_rtl {
	padding-right:20px;
}

.image {
	height: 150px;
	padding: 5px;
	margin: 2px;
}

.gender_image {
	margin: 0px 3px;
	border: none;
	vertical-align: middle;
}

.pedigree_image_portrait,.pedigree_image_landscape {
	float: left;
	max-height: 50px;
	max-width: 50px;
	margin-right: 4px;
}

.pedigree_image_portrait_rtl,.pedigree_image_landscape_rtl {
	float: right;
	max-height: 50px;
	max-width: 50px;
	margin-left: 4px;
}

.pedigree_form {
	width: 45px;
}

.thumbnail {
	height: auto;
	padding: 3px;
}

.icon,.adminicon {
	border: none;
	padding-left: 0pt;
	padding-right: 5pt;
}

html[dir='rtl'] .icon,html[dir='rtl'] .adminicon {
	padding-left: 5pt;
	padding-right: 0pt;
}

.sublinks_table {
	border: solid #81a9cb 1px;
	background-color: #F3EFEF;
}

.sublinks_cell {
	font-size: 12px;
	background-color: #F3EFEF;
}

.sublinks_table .icon,.sublinks_table_rtl .icon {
	vertical-align: middle;
	width: 20px;
	height: 20px;
}

.subheaders, .helpstart, h4{
	color: #62584D;
	font-family : arial, helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	margin-top: 15px;
	vertical-align: bottom;
}

.parentdeath {
	border: thin solid #808080;
	padding: 1px;
}

.source_citations {
	display: none;
}

.lang_form {
	margin-top: 0px;
}

.selected-option {
	background-color: #F3EFEF;
}

.user_links {
	white-space: nowrap;
}

.contact_links {
	margin-top: 15px;
	text-align: center;
}

.hit-counter {
	background: #7B983C;
	color: white;
	font-weight: bold;
}

/* This is the original.
 * It's not used, but it's left in in case you want to go back to it. */
.flag {
	width: 15px;
	border: solid black 1px;
}

/* This one is for a place flag */
.brightflag {
	height: 15px;
	border: none;
	opacity: 1; /* IE's support is different */
}

.border1 {
	border: solid black 1px;
}

.header_select {
	font-size: 9pt;
}

.favorites_form {
	margin-top: 0px;
}

.help {
	font-weight: bold;
	cursor: help;
}


.news_box {
	background-color: #F3EFEF;
	border: solid #D3C6B8 1px;
}

.news_title {
	font: bold 14px tahoma, arial, helvetica, sans-serif;
	color: black;
}

.news_date {
	color: black;
	margin-bottom: 12px;
}

.news_date .date {
	color: #62584D;
	margin-bottom: 12px;
}

.current_day {
	font-weight: bold;
	font-size: 16px;
}

.cal_day {
	float: left;
	font-weight: bold;
}

.rtl_cal_day {
	direction: rtl;
	float: right;
	color: blue;
	font-weight: bold;
}

.helpcontent {
	margin-left: 10px;
	margin-right: 10px;
}

.helpfooter {
	margin: 0px 10px 0px 10px;
}

.helpheader {
	margin: 0px 10px 0px 10px;
}

.helpstart {
	margin: 10px;
	font: bold 14px tahoma, arial, helvetica, sans-serif;
	color: blue;
	text-decoration: none;
}

.helptext {
	font: 12px tahoma, arial, helvetica, sans-serif;
	color: black;
}

#content {
	width: 98%;
	margin: auto;
}

/**
 * Footer 
 */
.footer_center {
	width: 80%;
	margin: auto;
	padding-top: 20px;
	padding-bottom: 20px;
}

.footer_left {
	background: url(images/footer_bg_left.png) no-repeat bottom left;
	width: 100%;
}

.footer_right {
	background: url(images/footer_bg_right.png) no-repeat bottom right;
	width: 100%;
}

#footer {
	clear: both; 
	width: 99%;
	margin: auto;
	text-align: center;
}

/*-- index.php specific style sheets -- */
.small_inner_block {
	max-height: 200px;
	overflow: auto;
	font: normal 10px tahoma, arial, helvetica, sans-serif;
}

.normal_inner_block {
	overflow: auto;
}


/**
 * Blocks
 */
 
.block a{
		color:#62584D;
}

.block a:hover{
	color: #9f8c77;
}

.blockhc{
	margin:0 0 5px 0;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	color:#8c847a;
	padding:5px 0 3px 0;
	border-bottom:1px #CCCCCC dashed;	
}

#index_main_blocks {
	clear: none;
	width: 66%;
	float: left;
}

html[dir='rtl'] #index_main_blocks { float: right;}

#index_small_blocks {
	clear: none;
	width: 33%;
	float: right;
}

html[dir='rtl'] #index_small_blocks { float: left;}

#index_main_blocks  .block {
	background-image: url(images/block_bg.png);
	background-repeat : repeat-y;
	background-color: #f3efef;
	color: black;
	vertical-align: top;
	margin-bottom: 10px;
	padding: 1px 4px 4px 46px ;
}

#index_small_blocks .block {
	background-image: url(images/block_small_bg.png);
	background-repeat : repeat-x;
	background-color: #f3efef;
	color: black;
	vertical-align: top;
	margin-bottom: 5px;
	padding: 9px 4px 2px 4px;
}

#index_small_blocks .block img {
	background-image: none;
	background-color: transparent;
}

.blockcontent {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
	overflow: auto;
}

#index_full_blocks {
	clear: none;
	width: 100%;
}

#random_picture {
	text-align: center;
}

/*-- pedigree chart specific stylesheets --*/
#pedigree_chart {
	position: relative;
	top: -200px;
	left: 0px;
}

/*-- pedigree chart rtl specific stylesheets --*/
html[dir='rtl'] #pedigree_chart {
	left: auto;
	right: 10px;
}

/*-- descendancy chart specific stylesheets --*/
#descendancy_chart ul {
	background-image: url(images/vline.png);
	background-repeat: repeat-y;
	background-position: left top;
	list-style: none;
	margin: 0px 0px 5px 15px; /* top right bottom left */
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
}

#descendancy_chart li {
	list-style: none;
	margin: 0px 0px 0px -15px; /* top right bottom left */
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
}

/*-- descendancy chart rtl specific stylesheets --*/
html[dir='rtl'] #descendancy_chart ul {
	background-position: right top;
	margin: 0px 15px 0px 0px;
	left: auto;
}

/*-- relationship chart specific stylesheets --*/
#relationship_chart {
	position: relative;
	top: -40px;
	left: 0px;
	z-index: 1;
}

html[dir='rtl'] #relationship_chart {
	left: auto;
	right: 10px;
}

/*-- ancestry chart specific stylesheets --*/
#ancestry_chart ul {
	background-image: url(images/vline.png);
	background-repeat: repeat-y;
	background-position: left top;
	list-style: none;
	display: block;
	margin: 0px 0px 0px 15px; /* top right bottom left */
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
}

#ancestry_chart li {
	list-style: none;
	margin: 0px 0px 2px -13px; /* top right bottom left */
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
}

/*-- ancestry chart rtl specific stylesheets --*/
html[dir='rtl'] #ancestry_chart ul {
	background-position: right top;
	margin: 0px 15px 0px 0px;
	left: auto;
}

html[dir='rtl'] #ancestry_chart li {
	margin: 0px 0px 0px 0px;
	padding: 0px 2px 0px 0px;
	left: auto;
}

/*-- timeline chart specific styles --*/
#timeline_chart {
	position: relative;
	top: 0px;
	left: 0px;
}

.timeline_table {
	
}

.person0 {
	background-color: #d3c6b8;
	border: outset #62584D 1px;
	vertical-align: top;
}

.person1 {
	background-color: #a5be79;
	border: outset #1b491a 1px;
	vertical-align: top;
}

.person2 {
	background-color: #e9e2db;
	border: outset #62584D 1px;
	vertical-align: top;
}


.person3 {
	background-color: #bad196;
	border: outset #1b491a 1px;
	vertical-align: top;
}

.person4 {
	background-color: #f4f0ed;
	border: outset #62584D 1px;
	vertical-align: top;
}

.person5 {
	background-color: #cfe4b4;
	border: outset #1b491a 1px;
	vertical-align: top;
}

.listlog {
	line-height: 20pt;
	color: #555555;
	font-family: tahoma, arial, helvetica, sans-serif;
}

input, button, textarea {
	border-top-color: white;
	border-left-color: white;
	border-right-color: #62584D;
	border-bottom-color: #62584D;
	border-width: 1px;
	font-size: 10px;
	font-family: arial, helvetica, sans-serif;
}

input,textarea {
	background-color: #F4F0ED;
	padding-left: 3px;
	padding-right: 3px;
}

input.image {
	background-color: transparent;
	width: 17px;
	height: 17px;
	border: none;
	padding: 0;
	vertical-align: top;
}

select {
	border-color: #D3C6B8;
	border-width: 1px;
	background-color: #f4f0ed;
	font-size: 10px;
	font-family: arial, helvetica, sans-serif;
}

form {
	font: 10px;
}



h1, h2, .helpheader {
	color: #7B983C;
	font: 18px tahoma, arial, helvetica, sans-serif;
}

.formField {
	font: 12px tahoma, arial, helvetica, sans-serif;
}

.starredname {
	text-decoration: underline;
}

.search_hit {
	background-color: yellow;
}

.title {
	clear: both;
	font-size: 20px;
	font-family: tahoma, arial, helvetica, sans-serif;
	float: left;
	padding-left: 10px;
}

html[dir='rtl'] .title {
	float: right;
	padding-right: 10px;
}


html[dir='rtl'] .header_img {
	float: right;
}

.header_search {
	float: right;
}

html[dir='rtl'] .header_search {
	float:left;
}

/* Style for the subbar in  */ /* facts_value */
.subbar {
	background-color: #d1d9ef;
	color: black;
	border: solid #81a9cb 1px;
	font: 11px tahoma, arial, helvetica, sans-serif;
	vertical-align: top;
	white-space: nowrap;
	padding: 3px;
}

/* Style for the descriptionbox */
.descriptionbox {
	color: #62584D;
	background-color: #d3c6b8;
	font-family : arial, helvetica, sans-serif;
	font-weight:bold;
	vertical-align: top;
	white-space: nowrap;
	padding: 3px;
	text-align: center;
}

.descriptionbox a{
	color:#62584D;	
}

/* Style for the optionbox */
.optionbox {
	background-color: #e9e2db;
	color: black;
	vertical-align: top;
	white-space: nowrap;
	padding: 3px;
}

.optionbox a {
	color:#62584D;
}
	

/* Styles for the option boxes */

/* Style for the top and bottom bar */
.topbottombar {
	color: #62584D;
	background-color: #d3c6b8;
	font-weight:bold;
	padding: 4px;
	text-align: center;
}

.topbottombar a {
	color: #62584D
}

.topbottombar a {
	color: #62584D
}

.topbottombar a:HOVER {
	color: #9F8C77;
}


/* Style for the subbar in  */
/* facts_value */
.subbar {
	background-color: #ded4c9;
	border: solid #d3c6b8 1px;
	vertical-align: top;
	white-space: nowrap;
	padding: 3px;
}

.vmiddle {
	vertical-align: middle
}

/* Colors */
.red {
	color: red;
}

.rela {
	opacity: 0.67;
	text-align: left;	
}

.row_rela .descriptionbox, .row_sour2 .descriptionbox, .row_note2 .descriptionbox{
	text-align: center;
}

.ui-tabs-nav .rela {
	opacity: 0.45;
}

/* Text direction */
.ltr {
	text-align: left;
}

.rtl {
	text-align: right;
	direction: rtl;
}

/* Width settings */
.width10 {
	width: 10%;
}

.width20 {
	width: 20%;
}

.width25 {
	width: 25%;
}

.width30 {
	width: 30%;
}

.width33 {
	width: 33%;
}

.width40 {
	width: 40%;
}

.width50 {
	width: 50%;
}

.width60 {
	width: 60%;
}

.width66 {
	width: 66%;
}

.width70 {
	width: 70%;
}

.width75 {
	width: 75%;
}

.width80 {
	width: 80%;
}

.width90 {
	width: 90%;
}

.width100 {
	width: 100%;
}

/* Font sizes */
.font11 {
	font-size: 11px;
}

.font9 {
	font-size: 9px;
}

/* Chart styles */
.pedigree_table {
	margin: 0;
}

/* Message box */
.messagebox {
	background-color: #c2ceef;
	border: solid #81a9cb 1px;
}

/* Pending edits */
.change_new,.nameblue {
	border: solid blue 2px !important;
}

.change_old,.namered {
	color: black !important;
	text-decoration: line-through !important;
}

/* ====== */
.note_details {
	display: none;
}
/**
 * Life span
 */
 
a.showit {
	position: relative;
	z-index: 24;
	color: black;
	text-decoration: none;
}

a.showit:hover {
	z-index: 25;
	background-color: #ffff9b;
	cursor: help;
}

a.showit span {
	display: none;
}

a.showit:hover span {
	display: block;
	position: absolute;
	top: 22px;
	left: 0px;
	width: 225px;
	border-style: outset;
	border-left: 15px outset #e9e2db;
	border-top: 2px solid #62584D;
	border-bottom: 2px solid black;
	border-right: 2px solid black;
	padding: 3px;
	background: #d3c6b8;
	color: #62584D;
	font: 11px tahoma, arial, helvetica, sans-serif;
	text-align: left;
	opacity: .95;
	z-index: 5;
}
 
.lifespan_people span:first-letter {
	font: bold 12px tahoma, arial, helvetica, sans-serif;
	font-variant: small-caps;
	padding: 1px;
}

.lifespan_outer {
	position: relative;
	width: 99.5%;
	height: 600px;
	overflow: hidden;
	background-color:#F4F0ED;
	border: solid #d3c6b8 1px;
}

.lifespan_outer a {
	color: black;
}

.lifespan_timeline {
	position: absolute;
	width: 100%;
	left: -10px;
	top: -65px;
	z-index: 2;
	background-color: #F4F0ED;
}

.lifespan_people {
	position: absolute;
	width: 500px;
	left: -10px;
	top: -60px;
	z-index: 1;
}

.iwstyle {
	width: 360px;
	/*background-color: #FFFFFF;*/
}

.iwstyle a {
	
}

.iwstyle a:hover {
	
}

#map_nav {
	position: relative;
	top: -484px;
	left: 101%;
}

#tree_nav {
	position: relative;
	top: -584px;
	left: 90%;
	z-index: 100;
}

#map_type {
	margin: 0;
	padding: 0;
	font-family: Arial;
	font-size: 10px;
	list-style: none;
}

#map_type li {
	display: block;
	width: 70px;
	text-align: center;
	padding: 2px;
	border: 1px solid black;
	cursor: pointer;
	float: left;
	margin-left: 2px;
}

#map_type li.non_active {
	background: white;
	color: black;
	font-weight: normal;
}

#map_type li.active {
	background: gray;
	color: white;
	font-weight: bold;
}

#map_type li:hover {
	background: #ddd;
}

/* Tag Cloud styles*/

.tag_cloud {
	width:70%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	padding: 10px 5px 10px 15px; /* top right bottom left */
}

.tag_cloud_sub {
	font-size: 8px;
	color:#808080;
}
/* End of Tag Cloud styles*/

/* Autocomplete styles*/
.ac_input {
	background-color: #EEE8AA;
}


.ac_results {
	padding: 0px;
	border: 1px solid #62584D;
	background-color: white;
	overflow: hidden;
	z-index: 99999;
}

.ac_results ul {
	width: 100%;
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
}

.ac_results li {
	margin: 0px;
	padding: 2px 5px;
	cursor: default;
	display: block;
	/* 
	if width will be 100% horizontal scrollbar will apear 
	when scroll mode will be used
	*/
	/*width: 100%;*/
	font: menu;
	font-size: 11px;
	/* 
	it is very important, if line-height not setted or setted 
	in relative units scroll will be broken in firefox
	*/
	line-height: 13px;
	overflow: hidden;
}

.ac_loading {
	background: white url(/images/indicator.gif) right center no-repeat;
}

.ac_odd {
	background-color: #e9e2db;
}

.ac even {
	background-color: #f4f0ed;
}

.ac_over {
	background-color: #d3c6b8;
}
/* End of Autocomplete styles*/

@media print {
	#backprint {
		display: none;
	}
	#header,#footer,.noprint {
		display: none !important;
	}
	form,button,input {
		display: none;
	} /* buttons and input are used out of forms in sortable tables*/
	.lifespan_outer {
		position: relative;
		width: auto;
		height: auto;
		overflow: visible;
		border: none;
	}
	.lifespan_people {
		position: absolute;
		width: auto;
		left: -10px;
		top: -60px;
		z-index: 1;
	}
}

.nowrap {
	white-space: nowrap;
}

.wrap {
	white-space: normal;
}

ul.clist {
	list-style-image: none;
	text-decoration: none;
	color: #000000;
	margin: 0px;
}

.statistics_chart {
	text-align: center;
}

.center2 {
	text-align: center;
}

.gchart {
	border: solid #81a9cb 1px;
}

.execution_stats {
	padding-top: 12px;
	text-align: center;
}

dl {
	margin: 0;
}

dt {
	float: left;
	font-weight: bold;
	margin-right: 10px;
	clear: both;
}

html[dir="rtl"] dt {
	float: right;
	margin-right: auto;
	margin-left: 10px;
}

dd {
	display: inline;
	margin: 0;
}

#facts_content dd {
	float: left;
	width: 70%;
}

.clearfloat {
	clear: both;
}

/* styles for FindFacts pop-up */
#layDefinedTags,#tabDefinedTagsShow {
	width: 450px;
}

#tabDefinedTags {
	width: 430px;
}

#layDefinedTags {
	margin-left: auto;
	margin-right: auto;
	height: 285px;
	overflow: auto;
	border: inset 2px buttonface;
}

#tabDefinedTags {
	border-collapse: collapse;
}

#tabDefinedTags th,#tabDefinedTags td {
	border: solid 1px #000;
	margin: 0;
	padding: 3px;
}

#tabDefinedTags tbody th {
	text-align: left;
	font-weight: bold;
}

#tabDefinedTags tr.sel {
	background-color: #D1D9EF;
	color: #888;
}

#tabDefinedTags tr.unsel {
	background-color: #FFFFFF;
	color: #888;
}

#tabDefinedTagsShow {
	margin-left: auto;
	margin-right: auto;
}

#tabDefinedTagsShow td {
	width: 50%;
	text-align: center;
}

#tabFilterAndCustom {
	margin-left: auto;
	margin-right: auto;
}

#tabAction {
	margin-left: auto;
	margin-right: auto;
}

#tabAction td {
	width: 50%;
	text-align: center;
}

/* FAQ table styles */
table.faq {
	background-color: #E0E0E0;
	margin: 5px 0 50px 5px;
	width: 98%;
}

table.faq  tr.odd td {
	background-color: #E7EEF3;
}

div.faq_title {
	background-color: #E0E0E0;
	margin: 1em 0;
	padding: .25em;
	font-weight: bold;
	width: 98%;
}

div.faq_body {
	clear: both;
	margin: 1em 0;
	padding: 1em;
}

.faq_italic {
	font-style: italic;
	font-weight: bold;
	font-size: 90%;
	padding: 0 10px;
}

.faq_top {float:right;}
.faq_edit {float:right;}
html[dir='rtl'] .faq_top {float:left;}
html[dir='rtl'] .faq_edit {float:left;}
	
/* ======= Main menu items ========== */
	
#topMenu {
        width: 100%;
        font-family: Arial, Helvetica, sans-serif;
        padding: 0px;
        margin: auto;
}

.topMenu_center
{
        background: url(images/menu_bg_center.png) repeat-x;
        margin-left: 37px;
        margin-right: 37px;
        height: 74px;
}

.topMenu_left
{
        margin-left: 19px;
        width: 18px;
        height: 74px;
        background: url(images/menu_bg_left.png) no-repeat;
        float: left;
}

.topMenu_right
{
        margin-right: 19px;
        width: 18px;
        height: 74px;
        background: url(images/menu_bg_right.png) no-repeat;
        float: right;
}

#main-menu  { 	width: 100%; font-size: 10px; font-weight: bold; text-decoration: none; text-align: center; color: #62584D;}
#main-menu td{ text-align: center;height: 74px;width:1%;background: url(images/divider.png) no-repeat right; margin: auto;}
#main-menu .topmenu_last{ background: none;}

.main-menu-item,
.main-menu-item   ul  {padding:0; margin:0; list-style-type:none;}
.main-menu-item   ul ul {z-index:600;}
.main-menu-item  li  {position:relative;}
.main-menu-item li li { clear:both;}
.main-menu-item   li ul { background-color: #e9e2db; }
.main-menu-item   li:hover > ul {display:block; position:absolute; top:0; left:100%; right:auto;}
.main-menu-item > li:hover > ul {left:10px; right:auto; top:55px;}
.main-menu-item   a {display:block; white-space:nowrap; overflow:hidden; color: #62584D;}
.main-menu-item  ul {position:absolute; display:none; background:#ffffff; border:solid #d3c6b8 thin; padding:0; z-index:999;}
.main-menu-item li a {margin:auto; padding-top:40px; width:100%; color: #62584D;}
.main-menu-item > li > a { height: 20px; }
.main-menu-item  li li a {display:block; position:relative; float:left; line-height:1.5; padding:3px 10px 1px 5px;vertical-align: middle;}
.main-menu-item  li li:hover {background-color: #f4f0ed;}

/* Menu icons */
.main-menu-item > li {margin-top: 5px; background-image:url(images/large_menu_sprite.png); background-repeat:no-repeat; height:40px; text-align:center;}
.main-menu-item li li {background-image:url(images/small_menu_sprite.png); background-repeat:no-repeat; height:24px; left:auto; line-height:24px; text-align:left; text-indent:26px; width:100%;}

.main-menu-item .separator_top { border-top: 2px solid #D3C6B8; }

/* Reverse left and right on RTL pages */
html[dir='rtl'] #main-menu td { background-position: left;}
html[dir='rtl'] .main-menu-item {}
html[dir='rtl'] .main-menu-item li {}
html[dir='rtl'] .main-menu-item   li:hover > ul {right:100%; left:auto;}
html[dir='rtl'] .main-menu-item > li:hover > ul {left:auto; right:10px;}
html[dir='rtl'] .main-menu-item   li  li {text-align:right;}
html[dir='rtl'] .main-menu-item  li li a {float:right;padding:1px 5px 1px 10px;}


/* Main menu icons */
#menu-calendar  {background-position:center -200px;}
#menu-chart     {background-position:center  -80px;}
#menu-clippings {background-position:center -320px;}
#menu-fam       {background-position:center -440px;}
#menu-help      {background-position:center -280px;}
#menu-indi      {background-position:center -360px;}
#menu-list      {background-position:center -120px;}
#menu-mymenu    {background-position:center  -40px;}
#menu-note      {background-position:center -520px;}
#menu-obje      {background-position:center -480px;}
#menu-repo      {background-position:center -560px;}
#menu-report    {background-position:center -160px;}
#menu-search    {background-position:center -240px;}
#menu-sour      {background-position:center -400px;}
#menu-tree      {background-position:center    0px;}
#menu-story     {background-position:center -640px;}

/* Sub-menu icons */
#menu-admin                 {background-position:left     0px;} html[dir=rtl] #menu-admin                 {background-position:right     0px;}
#menu-branches              {background-position:left  -450px;} html[dir=rtl] #menu-branches              {background-position:right  -450px;}
#menu-calendar-day          {background-position:left   -60px;} html[dir=rtl] #menu-calendar-day          {background-position:right   -60px;}
#menu-calendar-month        {background-position:left   -60px;} html[dir=rtl] #menu-calendar-month        {background-position:right   -60px;}
#menu-calendar-year         {background-position:left   -60px;} html[dir=rtl] #menu-calendar-year         {background-position:right   -60px;}
#menu-chart-ancestry        {background-position:left   -30px;} html[dir=rtl] #menu-chart-ancestry        {background-position:right   -30px;}
#menu-chart-compact         {background-position:left   -30px;} html[dir=rtl] #menu-chart-compact         {background-position:right   -30px;}
#menu-chart-descendancy     {background-position:left  -150px;} html[dir=rtl] #menu-chart-descendancy     {background-position:right  -150px;}
#menu-chart-familybook      {background-position:left  -180px;} html[dir=rtl] #menu-chart-familybook      {background-position:right  -180px;}
#menu-chart-fanchart        {background-position:left  -210px;} html[dir=rtl] #menu-chart-fanchart        {background-position:right  -210px;}
#menu-chart-hourglass       {background-position:left  -270px;} html[dir=rtl] #menu-chart-hourglass       {background-position:right  -270px;}
#menu-chart-lifespan        {background-position:left  -660px;} html[dir=rtl] #menu-chart-lifespan        {background-position:right  -660px;}
#menu-chart-pedigree        {background-position:left  -480px;} html[dir=rtl] #menu-chart-pedigree        {background-position:right  -480px;}
#menu-chart-pedigree_map    {background-position:left  -720px;} html[dir=rtl] #menu-chart-pedigree_map    {background-position:right  -720px;}
#menu-chart-relationship    {background-position:left  -540px;} html[dir=rtl] #menu-chart-relationship    {background-position:right  -540px;}
#menu-chart-relationship li {background-position:left  -540px;} html[dir=rtl] #menu-chart-relationship li {background-position:right  -540px;}
#menu-chart-statistics      {background-position:left  -630px;} html[dir=rtl] #menu-chart-statistics      {background-position:right  -630px;}
#menu-chart-timeline        {background-position:left  -660px;} html[dir=rtl] #menu-chart-timeline        {background-position:right  -660px;}
#menu-chart-timeline li     {background-position:left  -660px;} html[dir=rtl] #menu-chart-timeline li     {background-position:right  -660px;}
#menu-chart-tree            {background-position:left  -240px;} html[dir=rtl] #menu-chart-tree            {background-position:right  -240px;}
#menu-clippingsadd          {background-position:left  -930px;} html[dir=rtl] #menu-clippingsadd          {background-position:right  -930px;}
#menu-clippingscart         {background-position:left  -900px;} html[dir=rtl] #menu-clippingscart         {background-position:right  -900px;}
#menu-fam-addchil           {background-position:left -1050px;} html[dir=rtl] #menu-fam-addchil           {background-position:right -1050px;}
#menu-fam-addfav            {background-position:left  -870px;} html[dir=rtl] #menu-fam-addfav            {background-position:right  -870px;}
#menu-fam-change            {background-position:left   -90px;} html[dir=rtl] #menu-fam-change            {background-position:right   -90px;}
#menu-fam-del               {background-position:left  -840px;} html[dir=rtl] #menu-fam-del               {background-position:right  -840px;}
#menu-fam-editraw           {background-position:left  -240px;} html[dir=rtl] #menu-fam-editraw           {background-position:right  -240px;}
#menu-fam-orderchil         {background-position:left -1080px;} html[dir=rtl] #menu-fam-orderchil         {background-position:right -1080px;}
#menu-help-contents         {background-position:left  -300px;} html[dir=rtl] #menu-help-contents         {background-position:right  -300px;}
#menu-help-faq              {background-position:left  -300px;} html[dir=rtl] #menu-help-faq              {background-position:right  -300px;}
#menu-help-genealogy        {background-position:left  -120px;} html[dir=rtl] #menu-help-genealogy        {background-position:right  -120px;}
#menu-help-hide             {background-position:left  -300px;} html[dir=rtl] #menu-help-hide             {background-position:right  -300px;}
#menu-help-show             {background-position:left  -300px;} html[dir=rtl] #menu-help-show             {background-position:right  -300px;}
#menu-help-technical        {background-position:left  -120px;} html[dir=rtl] #menu-help-technical        {background-position:right  -120px;}
#menu-help-wiki             {background-position:left  -690px;} html[dir=rtl] #menu-help-wiki             {background-position:right  -690px;}
#menu-indi-addfav           {background-position:left  -870px;} html[dir=rtl] #menu-indi-addfav           {background-position:right  -870px;}
#menu-indi-addname          {background-position:left  -780px;} html[dir=rtl] #menu-indi-addname          {background-position:right  -780px;}
#menu-indi-del              {background-position:left  -840px;} html[dir=rtl] #menu-indi-del              {background-position:right  -840px;}
#menu-indi-editraw          {background-position:left  -240px;} html[dir=rtl] #menu-indi-editraw          {background-position:right  -240px;}
#menu-indi-editsex          {background-position:left  -810px;} html[dir=rtl] #menu-indi-editsex          {background-position:right  -810px;}
#menu-list-fam              {background-position:left   -90px;} html[dir=rtl] #menu-list-fam              {background-position:right   -90px;}
#menu-list-indi             {background-position:left  -120px;} html[dir=rtl] #menu-list-indi             {background-position:right  -120px;}
#menu-list-note             {background-position:left  -420px;} html[dir=rtl] #menu-list-note             {background-position:right  -420px;}
#menu-list-obje             {background-position:left  -330px;} html[dir=rtl] #menu-list-obje             {background-position:right  -330px;}
#menu-list-plac             {background-position:left  -510px;} html[dir=rtl] #menu-list-plac             {background-position:right  -510px;}
#menu-list-repo             {background-position:left  -360px;} html[dir=rtl] #menu-list-repo             {background-position:right  -360px;}
#menu-list-sour             {background-position:left  -180px;} html[dir=rtl] #menu-list-sour             {background-position:right  -180px;}
#menu-myaccount             {background-position:left  -390px;} html[dir=rtl] #menu-myaccount             {background-position:right  -390px;}
#menu-mypage                {background-position:left  -390px;} html[dir=rtl] #menu-mypage                {background-position:right  -390px;}
#menu-mypedigree            {background-position:left  -480px;} html[dir=rtl] #menu-mypedigree            {background-position:right  -480px;}
#menu-myrecord              {background-position:left  -120px;} html[dir=rtl] #menu-myrecord              {background-position:right  -120px;}
#menu-note-addfav           {background-position:left  -870px;} html[dir=rtl] #menu-note-addfav           {background-position:right  -870px;}
#menu-note-del              {background-position:left  -840px;} html[dir=rtl] #menu-note-del              {background-position:right  -840px;}
#menu-note-edit             {background-position:left -1020px;} html[dir=rtl] #menu-note-edit             {background-position:right -1020px;}
#menu-note-editraw          {background-position:left  -240px;} html[dir=rtl] #menu-note-editraw          {background-position:right  -240px;}
#menu-obje-addfav           {background-position:left  -870px;} html[dir=rtl] #menu-obje-addfav           {background-position:right  -870px;}
#menu-obje-del              {background-position:left  -840px;} html[dir=rtl] #menu-obje-del              {background-position:right  -840px;}
#menu-obje-edit             {background-position:left -1110px;} html[dir=rtl] #menu-obje-edit             {background-position:right -1110px;}
#menu-obje-editraw          {background-position:left  -240px;} html[dir=rtl] #menu-obje-editraw          {background-position:right  -240px;}
#menu-obje-hidechan         {background-position:left -1110px;} html[dir=rtl] #menu-obje-hidechan         {background-position:right -1110px;}
#menu-obje-link             {background-position:left -1140px;} html[dir=rtl] #menu-obje-link             {background-position:right -1140px;}
#menu-obje-link-fam         {background-position:left   -90px;} html[dir=rtl] #menu-obje-link-fam         {background-position:right   -90px;}
#menu-obje-link-indi        {background-position:left  -300px;} html[dir=rtl] #menu-obje-link-indi        {background-position:right  -300px;}
#menu-obje-link-sour        {background-position:left  -180px;} html[dir=rtl] #menu-obje-link-sour        {background-position:right  -180px;}
#menu-repo-addfav           {background-position:left  -870px;} html[dir=rtl] #menu-repo-addfav           {background-position:right  -870px;}
#menu-repo-del              {background-position:left  -840px;} html[dir=rtl] #menu-repo-del              {background-position:right  -840px;}
#menu-repo-edit             {background-position:left  -990px;} html[dir=rtl] #menu-repo-edit             {background-position:right  -990px;}
#menu-repo-editraw          {background-position:left  -240px;} html[dir=rtl] #menu-repo-editraw          {background-position:right  -240px;}
#menu-report li             {background-position:left  -570px;} html[dir=rtl] #menu-report li             {background-position:right  -570px;}
#menu-search-advanced       {background-position:left  -600px;} html[dir=rtl] #menu-search-advanced       {background-position:right  -600px;}
#menu-search-general        {background-position:left  -600px;} html[dir=rtl] #menu-search-general        {background-position:right  -600px;}
#menu-search-replace        {background-position:left  -600px;} html[dir=rtl] #menu-search-replace        {background-position:right  -600px;}
#menu-search-soundex        {background-position:left  -600px;} html[dir=rtl] #menu-search-soundex        {background-position:right  -600px;}
#menu-sour-addfav           {background-position:left  -870px;} html[dir=rtl] #menu-sour-addfav           {background-position:right  -870px;}
#menu-sour-del              {background-position:left  -840px;} html[dir=rtl] #menu-sour-del              {background-position:right  -840px;}
#menu-sour-edit             {background-position:left  -960px;} html[dir=rtl] #menu-sour-edit             {background-position:right  -960px;}
#menu-sour-editraw          {background-position:left  -240px;} html[dir=rtl] #menu-sour-editraw          {background-position:right  -240px;}
#menu-story-sub          	{background-position:left -1240px;} html[dir=rtl] #menu-story-sub	          {background-position:right  -1240px;}
#menu-tree li               {background-position:left  -240px;} html[dir=rtl] #menu-tree li               {background-position:right  -240px;}

#menu-language li {text-align:left;} /* The language menu is always LTR, even on RTL pages */
#menu-theme    li {text-align:left;} /* The theme menu is always LTR, even on RTL pages */

/* ========= Login|Favorites|Theme|Language menu items ========== */
.makeMenu {font-weight: bold;}
.makeMenu li {display: inline;position: relative;white-space: nowrap; border-left: 1px solid; padding:0 5px;}
.makeMenu li:first-child, .makeMenu li ul li  {border:none;}
.makeMenu li ul {display: none;	font-weight: normal;position: absolute;left: auto;right: 0px;top: 1.1em;background-color: #e9e2db;border: thin solid #d3c6b8;z-index: 999;}
.makeMenu li ul li {padding: 2px;display: block;text-align: left;}
#header .makeMenu li ul li a{color: #62584D;}
#header .makeMenu li ul li:hover{background-color: #f4f0ed;white-space: nowrap;} 

html[dir='rtl'] #extra-menu {	float:left;	margin:20px 0 0 10px ;}
html[dir='rtl'] #extra-menu.makeMenu li ul {left:0px;right:auto;}
html[dir='rtl'] .makeMenu li ul {left:auto; right:0px;}
html[dir='rtl'] .makeMenu li ul li {text-align:right;}
html[dir='rtl'] .makeMenu li {border-left:none; border-right: 2px solid;}
html[dir='rtl'] .makeMenu li:first-child, html[dir='rtl'] .makeMenu li ul li  {border:none;}


/* ========= Positioning edit, copy, delete links ============= */
/* General use */
.editfacts {clear:left;	padding-top:5px;margin: 0 auto; width:72px;} /* a container for the following three links */
#sidebar .editfacts {padding-top: 15px;}
.editlink, .copylink, .deletelink {float:left;}
html[dir='rtl'] .editlink, html[dir='rtl'] .copylink, html[dir='rtl'] .deletelink {float:right;}
span.link_text  {display:none;}
/* Indi header */
.field  .editlink, .field  .deletelink, .field .copylink {float:right;}
html[dir='rtl'].field  .editlink, html[dir='rtl'].field  .deletelink  {float:left;}
/* =========== end edit, copy, delete links ==================== */

/* =========== Indi header ================== */ 
#indi_header {float:left; width:98%; margin:5px 0; padding:10px;}
#indi_header h3 {color: #62584D; font-size: 90%; font-weight:bold; margin: 0; padding: 0 10px 0 30px; text-align:left;}
#indi_header h3 .ui-state-active {border-bottom: none;}
#indi_header h3.name_one {overflow:hidden; position:relative; font-size:1.5em;font-family: tahoma, arial, helvetica, sans-serif;}
#indi_header h3.name_two {border:1px solid #A28765;background: #D3C6B8; }
#indi_header h3 .details1 {font-size:1.0em;}
#indi_header h3.person_box, #indi_header h3.person_boxF , #indi_header h3.person_boxNN  {border:1px solid #A28765;background: #D3C6B8;}
#indi_header h3 .header_age {padding:5px 0 5px 5px; float:right; font-weight:normal; font-size:65%;}
#indi_header h3 .ui-icon { background-image: url("../../js/jquery/css/images/ui-icons_ffffff_256x240.png") }
#indi_header h3 a {display:inline;}
#indi_header a {color:#62584D; font-weight:normal;}
#indi_header a:hover {color:#9F8C77;}
#main_name {color:#62584D; float:left; font-size:2em; margin:10px; font-weight:bold;}
#indi_mainimage {float:left; width:15%}
#indi_mainimage a img {float:left; padding:0;}
#indi_name_details { padding: 5px;}
#indi_name_details a {color:#62584D;}
#indi_name_details dt:after {content:":";}
#name1 {}
#indi_note {margin:	0 0 5px 0;}
#header_accordion1 {float:right; width:84%;}
.indi_table {clear:left;}
#sex {float:right;}
#dates {color: #62584D; float:right;}
dd .editlink, dd .deletelink  {float:right;}
.fact_NOTE {float:left; margin:0 5px 0 0;}
#indi_note .note_details {font-size:100%;}
.fact_SOUR {margin: 3px 0}
#indi_note .fact_SOUR a {font-size:100%; margin: 3px 0}

html[dir='rtl'] #indi_header {float:right;}
html[dir='rtl'] #indi_header h3 {padding: 0 30px 0 10px; text-align:right;}
html[dir='rtl']  #indi_header h3 .header_age {padding:5px 5px 5px 0; float:left;}
html[dir='rtl'] #main_name {float:right;}
html[dir='rtl'] #indi_mainimage {float:right;}
html[dir='rtl'] #indi_mainimage a img {float:right;}
html[dir='rtl'] #indi_note .fact_NOTE {float:right; margin:0 0 0 10px;}
html[dir='rtl'] #header_accordion1 {float:left;}
html[dir='rtl'] .indi_table {clear:right;}
html[dir='rtl']  #sex {float:left;}	
html[dir='rtl']  #dates {	float:left;}
html[dir='rtl']  dd .editlink, html[dir='rtl']  dd .deletelink  {float:left;}


/* General sprite */
.male_gender, .female_gender, .unknown_gender, .editicon, .copyicon, .deleteicon {display: block;background: url('images/general_sprite.png') no-repeat left 0;}

.female_gender {background-position: -45px 3px; width: 24px;}
.male_gender {background-position: -72px 3px; width: 24px;}
.unknown_gender {background-position: -100px 3px; width: 24px;}
.editicon {background-position: -40px -32px; width: 24px; height:16px;}
.copyicon {background-position: -70px -32px; width: 24px; height:16px;}
.deleteicon {background-position: -100px -32px; width: 24px; height:16px;}

.icon_arrow {display: block; background: url('images/small_menu_sprite.png') no-repeat left 0;}
.icon_arrow {background-position: 90% -1168px;} html[dir='rtl'] .icon_arrow {background-position: 10% -1186px;}


html[dir='rtl'] li up li {
	text-align: left;
}

.makeMenu,.makeMenu li ul {
	list-style: none;
	margin: 0;
	padding: 1px;
}

.makeMenu li:hover>ul {
	display: block;
}

/* The language/theme/favorites menu in the header is right-justified, so submenus must also be right justified */
#extra-menu {
	float: right;
	white-space: nowrap;
	margin: 20px 10px 0 0;
}

html[dir='rtl'] #extra-menu {
	float: left;
	margin: 20px 0 0 10px;
}

#extra-menu.makeMenu li ul {
	left: auto;
	right: 0px;
}

html[dir='rtl'] #extra-menu.makeMenu li ul {
	left: 0px;
	right: auto;
}

.place {
	padding-top: 5px;
}

.logo {
	text-align: center;
}

/* ========= jquery-ui.custom.css changes ============ */
.ui-tabs {padding:0;}
.ui-tabs .ui-tabs-panel {padding:1em 0;}
.ui-accordion .ui-accordion-content {overflow:visible;}
.ui-accordion .ui-accordion-header {text-align:center; margin-top:0;}
.ui-accordion .ui-accordion-header a {padding: 2px;}
.ui-helper-reset {line-height: 1.5;}

html[dir='rtl'] .ui-tabs {direction:rtl;}
html[dir='rtl'] ui-tabs .ui-tabs-nav li.ui-tabs-selected, html[dir='rtl'] .ui-tabs .ui-tabs-nav li.ui-state-default {float:right;}
html[dir='rtl'] .ui-accordion .ui-accordion-header .ui-icon {right: 0.5em;}

.ui-widget {font-family: Verdana, Arial, Helvetica, sans-serif;}
.ui-widget-header { background: #e9e2db; border-color: #ddd;}
.ui-widget-content { background: #f4f0ed; color: #62584D}
.ui-widget-content a { color: #62584D; }
.ui-widget-content .descriptionbox a { font-weight: bold; }
.ui-tabs-nav .ui-state-default { background: #d3c6b8; color: #62584D; }
.ui-widget-content .ui-state-active, .ui-widget-content .ui-state-hover { border-color: #ddd;}
.ui-widget-content a:hover 				 { color: #9F8C77; }
.ui-tabs-nav li.ui-tabs-selected 			 { background: #f4f0ed;}
.ui-tabs-nav li.ui-tabs-selected a	 		 { font-weight:600; color: #62584D; }
.ui-tabs-nav li.ui-tabs-selected a:hover	 { font-weight:600; color: #62584D; }

/* ========= Tabs ============== */
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
	font-family: arial,helvetica,sans-serif;
}
#main {min-width:600px; width:100%}
#indi_left {float:left; width:98%;}
#tabs {background-color:#f4f0ed; border-color:#DDD; float:left; width:100%; overflow:auto;font-family: Verdana, Arial, Helvetica, sans-serif; font-size:10px}

html[dir='rtl'] #indi_left {float:right;}
html[dir='rtl'] #tabs {float:right;}

/* ========= Sidebar ============== */
#sidebar {border-color:#DDD; display:none; margin:5px 2px 0 0; height:auto;}
#sidebar .ui-icon { background-image: url("../../js/jquery/css/images/ui-icons_ffffff_256x240.png") }
#sidebar .ui-accordion-header .ui-state-active {border-bottom: none;}
#sidebar .ui-state-active a, #sidebar .ui-state-default a { font-family: Lucida Grande,Lucida Sans,Arial,sans-serif; color: #62584D;  font-weight: bold; }

.use-sidebar #indi_left {width:77%;}
.use-sidebar #sidebar {display:block;}
.sidebar-at-right #sidebar {	width:20%;}
.use-sidebar.sidebar-at-right #sidebar, .sidebar-at-right #separator {float:right;}
#separator {float:right; display:block; background:#D3C6B8 url('images/general_sprite.png') no-repeat -26px 2px; width:14px; border:1px solid #A28765; border-top-left-radius:3px; border-top-right-radius:3px; margin-top:5px;}
.use-sidebar #separator {background:#D3C6B8 url('images/general_sprite.png') no-repeat -1px 2px;}
#sidebar .ui-accordion-header { border:1px solid #A28765;background: #D3C6B8; } 

html[dir='rtl'] #sidebar  {margin:5px 0 0 2px;}
html[dir='rtl'] .use-sidebar.sidebar-at-right #sidebar, html[dir='rtl'] .sidebar-at-right #separator  {float:left;}
html[dir='rtl'] #separator {float:left; background:#D3C6B8 url('images/general_sprite.png') no-repeat -1px 2px;}
html[dir='rtl'] .use-sidebar #separator {background:#D3C6B8 url('images/general_sprite.png') no-repeat -26px 2px;}

/* ============== Sidebar content items ============== */
/* Family navigator */
#sb_content_family_nav {padding:0;}
#sb_family_nav_content {}
.nav_content {width:100%; padding:0;}
.flyout {color:#000000; 	text-align:left; margin-top:-20px; right:210px; padding:3px;}
.flyout2 {color:#000000;	text-align:left;margin-top:-2px; left:40px; padding:3px;}
.flyout4 {color:#000000;	text-align:left; margin-top:0px;margin-left:0px; padding:3px;}
.flyout3, .flyout3 a {background:none; border:none; text-decoration:none; text-align:left; margin-top:0px; left:0px; padding:0px;}
.flyout, .flyout2{  background-color: #E9E2DB; border: 1px solid #D3C6B8; }

html[dir='rtl'] .flyout {text-align:right; left:210px;}
html[dir='rtl'] .flyout2 {text-align:right; right:40px;}
html[dir='rtl'] .flyout3 {text-align:right;}

/* Descendancy */
#sb_content_descendancy {}
#sb_desc_content {margin-left:3px; font-size:0.8em;}
#sb_desc_content ul {padding:0px; margin:0px;}
.sb_desc_indi_li {list-style-type:none;}
.desc_tree_div {	display:none;}
.desc_tree_div ul {padding:0px;	margin-left:10px;margin-top:0px;margin-right:0px;}

html[dir='rtl'] #sb_desc_content {margin-right:3px;}
html[dir='rtl'] .desc_tree_div ul {margin-right:10px;margin-left:0px;}

/* Individuals, Families */
#sb_content_individuals, #sb_content_families {}
.sb_indi_surname_li, .sb_fam_surname_li {list-style-image:url('images/plus.png');}
.name_tree_div {	display:none;}
.name_tree_div ul, .name_tree_div_visible ul {padding:0px;margin:0px;}
.name_tree_div li, .name_tree_div_visible li {list-style:none; margin:0px; padding:0px;}

/* Clippings */
#sb_content_clippings {}
#sb_clippings_content ul {padding:0px; margin:0px;}
#sb_clippings_content li {list-style:none; margin:0px; padding:0px; white-space:nowrap;}

/* Extra info */
#sb_content_extra_info {font-size:80%; font-weight:bold; overflow:hidden; padding:5px;}
#sb_content_extra_info .editfacts {float:right; margin-top:-30px;}
#sb_content_extra_info a {display:block;}
#sb_content_extra_info span {font-weight:normal; white-space:nowrap;}
#sb_content_extra_info span a {display:inline;}
#sb_content_extra_info #hitcounter {border-top: 1px solid #B2C7D7; font-weight: bold; padding-top: 5px;}

html[dir='rtl'] #sb_content_extra_info .editfacts {float:left;}


