/*
 * Style for Xenea theme
 *
 * webtrees: Web based Family History software
 * Copyright (C) 2011 webtrees development team.
 *
 * Derived from PhpGedView
 * Copyright (C) 2002 to 2010  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
 *
 * $Id: style.css 11806 2011-06-13 00:21:19Z nigel $
 */

/* Add a permanent scrollbar, to prevent "flickering" when hover effects lengthen page */
html { overflow-y:scroll; }

body {
	color: #000066;
	background-color: white;
	font: 12px tahoma, arial, helvetica, sans-serif;
	margin: 1px;
}

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

legend {
	font-weight: bold;
}

img {
	border: none;
}

a.link:link, a.link:active, a.link:visited {
	color: white;
	font-weight: bold;
}

a.link:hover {
	color: #333366;
	font-weight: bold;
}

a {
	color: blue;
	text-decoration: none;
}

a:hover	{
	color: red;
	text-decoration: none;
}

ul {
	padding-left: 15px;
	padding-right: 15px;
	margin: 8px;
}

.center {
	text-align: center;
}

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

th {
	font-weight: 100;
}

.button {
	width: 60px;
}

.gedcom_table {
	border: 1px solid #84BEFF;
	margin: 0;
	width: 99%;
}

.person_box {
	background-color: #F0F9FF;
	border: 1px solid #84BEFF;
}

.person_boxF {
	background-color: #FFF0F0;
	border: 1px solid #FF2080;
}

.person_boxNN {
	background-color: white;
	border: dashed #008080 1px;
}

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

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

.list_label, .list_label_wrap {
	color: #000066;
	background-color: #C3DFFF;
	font-weight:bold; font-size:12px;
	text-align: center;
}

.list_value, .list_value_wrap {
	background-color: #ECF5FF;
	border: solid #C3DFFF 1px;
	color: #000066;
	font-size:12px;
	vertical-align: top;
}

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

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

.list_item {
	font-size: 12px;
}

.facts_table, .facts_table_rtl {
	width: 99%;
}

.facts_label {
	color: #000066;
	background-color: #C3DFFF;
	font-size:12px;
	padding: 4px;
	width: 20%;
	text-align: center;
}

.facts_label02, .facts_label03 {
	color: white;
	background-color: #84BEFF;
	font-size:12px;
	padding: 4px;
	text-align: center;
	font-weight: bold;
}

.facts_value {
	background-color: #ECF5FF;
	border: solid #C3DFFF 1px;
	color: #000066;
	font-size:12px;
	padding: 4px;
}

.facts_value02 {
	background-color: #FBFDFF;
	border: solid #C3DFFF 1px;
	color: #000066;
	font-size:12px;
	padding: 5px;
}

.facts_labelred, .facts_labelblue {
	color: #000066;
	background-color: #9DD8FF;
	font-size:12px;
	padding: 4px;
	width: 20%;
	text-align: center;
}

.facts_valuered, .facts_valueblue {
	background-color: #FBFDFF;
	color: #000066;
	font-size:12px;
	padding: 4px;
}

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

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

.tabs_table {
	width: 99%;
}

.tab_cell_active {
	color: #000066;
	background-color: white;
	border-color: #FF6633;
	border-width: 1px;
	border-bottom-style: none;
	border-top-style: solid;
	border-right-style: solid;
	text-align: center;
	font-weight: bold;
}

.tab_cell_inactive {
	color: #000066;
	background-color: #ECF5FF;
	border-color: #FF6633;
	border-width: 1px;
	border-right-style: solid;
	text-align: center;
	font-weight: bold;
}

.tab_cell_inactive_empty {
	color: #000066;
	background-color: #DCE5EF;
	border-color: #FF6633;
	border-width: 1px;
	border-right-style: solid;
	text-align: center;
	font-weight: bold;
}

.tab_cell_inactive_empty a {
	color: #5555FF;
}
.tab_active_bottom {
	border-top: none;
	border-bottom: none;
	border-left: none;
	border-right: none;
	height: 5px;
}

.tab_inactive_bottom {
	background-color: white;
	border-left: none;
	border-right: none;
	border-top: solid #FF6633 1px;
	height: 5px;
}

.tab_inactive_bottom_right {
	background-color: white;
	border-left: none;
	border-right: none;
	border-top: solid #FF6633 1px;
	width: 35%;
	height: 5px;
}

.name1 {
	color: #000066;
	font-weight:bold; font-size:11px;
}

a:hover .name1 {
	color: red;
	font-weight:bold; font-size:10px;
}

a:hover .name2 {
	color: red;
	font-weight:bold; font-size:11px;
}

a:hover .nameZoom {
	color: red;
	font-weight:bold; font-size:14px;
}

.namered {
	border: solid red 1px;
}

.nameblue {
	border: solid blue 1px;
}

.name2 {
	color: #000066;
	font-weight:bold; font-size:11px;
}

.details1 {
font-size: 10px;
}

.details2 {
	color: #000066;
	font-size:11px;
	text-decoration: none;
}

.nameZoom {
	color: #000066;
	font-weight:bold; font-size:14px;
}

.detailsZoom {
	font-size:14px;
	text-decoration: none;
}

.name_head {
	color: #000066;
	font-weight:bold; font-size:16px;
	letter-spacing: .2px;
}

.date {
	/*font-weight: bold;*/
}

.field {
}

.label {
	font-weight: bold;
}

.error {
	color: #DD0000;
	font-weight: bold;
}

.largeError {
	color: #DD0000;
	font-size:large;
	font-weight: bold;
}

.warning {
	color: red;
	font-weight: bold;
}

.indent {
	padding-left: 7px;
}

.indent_rtl {
	padding-right: 7px;
}

.image {
	height: 150px;
	padding: 5px;
	border: solid black 1px;
}

.gender_image {
	padding-left: 3px;
	padding-right: 3px;
	border: none;
	vertical-align: middle;
}

.pedigree_image_portrait, .pedigree_image_landscape {
	float: left;
	max-height: 50px;
	max-width: 50px;
	border: solid black 1px;
	margin-right: 3px;
}

.pedigree_image_portrait_rtl, .pedigree_image_landscape_rtl {
	float: right;
	max-height: 50px;
	max-width: 50px;
	border: solid black 1px;
	margin-left: 3px;
}

.pedigree_form {
	width: 60px;
}

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

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

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

.link {
	font-size: 11px;
	text-align: center;
}

.sublinks_table {
	border: solid #84BEFF 1px;
}

.sublinks_cell {
	font-size: 11px;
	background-color: #ECF5FF;
}

.sublinks_table .icon {
	vertical-align: middle;
	width: 25px;
	height: 25px;
}

.menuitem .icon {
	width: 32px;
	height: 32px;
}

.menuitem_hover .icon {
	width: 32px;
	height: 32px;
}

.submenu .icon {
	vertical-align: middle;
	width: 25px;
	height: 25px;
}

.subheaders {
	font-weight:bold; font-size:16px;
	text-indent: 20px;
	margin-top: 15px;
	vertical-align: bottom;
}

.age {
	font-size: 9px;
}

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

.source_citations {
	display: none;
}

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

.theme_form {
	margin-top: 0;
	font-size:14px;
	color: white;
}

.hit-counter {
	background: black;
	color: white;
	font-weight: bold;
}

.border1 {
	border: solid black 1px;
}

.header_select {
	font-size: 9pt;
}

.lang_form {
	margin-bottom: 1px;
}

.selected-option {
	background-color: #ECF5FF;
	border: solid #84BEFF 1px;
}

.favorites_form {
	margin-top: 0px;
	font-weight:bold; font-size:14px;
	color: white;
}

.langmenuitem {
	color: white;
	font-weight:bold; font-size:11px;
	text-decoration: none;
	padding: 1px;
}

.langmenuitem a {
	color: white;
}

.langmenuitem_hover {
	color: red;
	font-weight:bold; font-size:11px;
	text-decoration: none;
	padding: 1px;
}

.thememenuitem  {
	color: white;
	font-weight:bold; font-size:11px;
	text-decoration: none;
	padding: 1px;
}

.thememenuitem a {
	color: white;
}

.thememenuitem_hover {
	color: red;
	font-weight:bold; font-size:11px;
	text-decoration: none;
	padding: 1px;
}

.themesubmenu {
	color: black;
	text-decoration: none;
	font-size:11px;
	text-align: left;
	background-color: #ECF5FF;
	border: solid #84BEFF 1px;
	white-space: nowrap;
	width: 100px;
}

.favmenuitem {
	color: white;
	font-weight:bold; font-size:11px;
	text-decoration: none;
	padding: 1px;
}

.favmenuitem a {
	color: white;
}

.favmenuitem_hover {
	color: red;
	font-weight:bold; font-size:11px;
	text-decoration: none;
	padding: 1px;
}

.favsubmenu {
	color: black;
	text-decoration: none;
	font-size:11px;
	text-align: center;
	background-color: #ECF5FF;
	border: solid #84BEFF 1px;
	white-space: nowrap;
}

.favsubmenuitem a, .favsubmenuitem_selected a {
	color: black;
	font-size:11px;
	text-decoration: none;
	background-color: #ECF5FF;
	white-space: nowrap;
	text-align: left;
}

.favsubmenuitem_selected a {
	background-color: aqua;
}

.favsubmenuitem_hover a {
	color: red;
	font-size:11px;
	text-decoration: none;
	background-color: white;
	white-space: nowrap;
	text-align: left;
}

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

.menuitem {
	color: black;
	font-size:11px;
	text-decoration: none;
	text-align: center;
	padding: 1px;
}

.menuitem_hover {
	color: black;
	font-size:11px;
	text-decoration: none;
	text-align: center;
	padding: 1px;
}

.submenu {
	visibility: hidden;
	position: absolute;
	z-index: 100;
	color: black;
	text-decoration: none;
	font-size:11px;
	background-color: #ECF5FF;
	border: solid #84BEFF 1px;
	white-space: nowrap;
}

.submenuitem {
	vertical-align: middle;
	height: 22px;
	color: black;
	font-size:11px;
	text-decoration: none;
	background-color: #ECF5FF;
	white-space: nowrap;
	padding: 1px;
}

.submenuitem a, .submenuitem_hover a {
 	color: black;
	display: inline-block;
	vertical-align: middle;
}

.submenuitem_hover {
	vertical-align: middle;
	height: 22px;
	color: black;
	font-size:11px;
	text-decoration: none;
	background-color: white;
	white-space: nowrap;
	padding: 1px;
}

.news_box {
	background-color: #F0F9FF;
	border: 1px solid #84BEFF;
}

.news_title {
	font-weight:bold; font-size:14px;
	color: black;
}

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

.menuitem a {
	color: black;
}

.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: 10px;
}

.helpheader {
	margin: 10px;
	font-size: 18px;
	font-weight: bold;
	color: black;
}

.helpstart {
	margin: 10px;
	font-weight:bold; font-size:14px;
	color: Blue;
	text-decoration: none;
}

.helptext {
	font-size:12px;
	color: black;
}

#content {
	margin-left: 1px;
}

#footer {
	clear: both;
	color: #000066;
	font-size:12px;
	width: 99%;
}

/*-- index.php specific style sheets -- */
.small_inner_block {
	max-height: 190px;
	overflow: auto;
	font-size:10px;
	text-decoration: none;
}

.normal_inner_block {
	overflow: auto;
}

.block {
	background-color: #ECF5FF;
	border: solid #84BEFF 1px;
	color: black;
	font-size:12px;
	vertical-align: top;
	margin-bottom: 5px;
	padding: 1px;
}

.blockcontent {
	margin-left:auto;
	margin-right:5px;
	margin-bottom:10px;
	font-size: 13px;
	overflow:auto;
}

img.block{
	border: none;
	height: 20px;
	vertical-align: middle;
}

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

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

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

#random_picture {
	text-align: center;
}

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

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

/*-- 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: 0 0 5px 15px; /* top right bottom left */
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
}

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

/*-- 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: 0;
}

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: 0 0 0 15px; /* top right bottom left */
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
}

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

/*-- 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;
}

.timeline_table {
}

.person0 {
	background-color: #ECF5FF;
	border: outset #84BEFF 1px;
	vertical-align: top;
}

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

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

.person3 {
	background-color: #AAAADD;
	border: outset #5555FF 1px;
	vertical-align: top;
}

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

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

.listlog {
	line-height: 20pt;
	color: #555555;
}

.barra {
	color: black;
	font-size:11px;
}

.blanco {
	color: white;
	font-weight:bold; font-size:11px;
}

input, button, textarea {
	border-color: white #000066 #000066 white;
	border-width: 1px;
	font-family:inherit;
	font-size:12px;
}

input, textarea {
	padding-left: 3px;
	padding-right: 3px;
}

select {
	border-color: #84BEFF;
	border-width: 1px;
	font-family:inherit;
	font-size:12px;
}

form {
	font-size:12px;
}

h2 {
	color: #000066;
	font-weight:bold; font-size:18px;
}

h4 {
	color: #000066;
	font-weight:bold; font-size:12px;
}

.formField {
	font-size:12px;
}

.starredname {
	text-decoration: underline;
}

.search_hit {
	background-color: yellow;
}

.details_label {
	font-weight: bold;
}

/* Style for the top and bottom bar */
.topbottombar {
	color: white;
	background-color: #84BEFF;
	font-weight:bold; font-size:12px;
	padding: 4px;
	text-align: center;
}

/* Style for the subbar in  */

.subbar {
	background-color: #ECF5FF;
	border: solid #C3DFFF 1px;
	color: #000066;
	font-size:11px;
	padding: 3px;
	white-space: nowrap;
	vertical-align: top;
}

/* Style for the descriptionbox */
.descriptionbox {
	color: #000066;
	background-color: #C3DFFF;
	font-size:12px;
	padding: 4px;
	white-space: nowrap;
	vertical-align: top;
}

/* Style for the optionbox */
.optionbox {
	background-color: #ECF5FF;
	border: solid #C3DFFF 1px;
	color: #000066;
	font-size:12px;
	padding: 3px;
	vertical-align: top;
	white-space: nowrap;
}

.ltr {
	text-align: left;
}

.vmiddle {
	vertical-align: middle;
}

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

.rela {
	opacity: 0.67;
}

/* 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: #DFEEFF;
	border: solid #C3DFFF 1px;
}

/* Change indicators */
.change_new {
	border: solid blue 2px;
}

.change_old {
	border: solid red 2px;
}

.note_details {
	display: none;
}

a.showit {
	position: relative;
	z-index: 24;
	color: black;
	text-decoration: none;
}

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

a.showit span {
	display: none;
}

a.showit:hover span {
	display: block;
	position: absolute;
	top: 22px;
	left: 0;
	width: 225px;
	border-left: 15px outset #1F1F1F;
	border-top: 2px solid #1F1F1F;
	border-bottom: 2px solid black;
	border-right: 2px solid black;
	padding: 3px;
	background: #4F4F4F;
	color: white;
	font-size:15px;
	text-align: left;
	opacity: .85;
	z-index: 5;
	white-space: normal;
}

.lifespan_people span:first-letter {
	font-variant:small-caps;
	font-weight:bold; font-size:16px;
	padding: 1px;
}

.lifespan_outer {
	position: relative;
	width: 99.5%;
	height: 600px;
	overflow: hidden;
	border: solid blue 1px;
}

.lifespan_outer a {
	color: black;
}

.lifespan_outer a:hover {
	color: red;
	text-decoration: none;
}

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

.lifespan_people {
	position: absolute;
	width: 500px;
	left: -10px;
	top: -60px;
	z-index: 1;
}
.iwstyle {
	width:360px;
	/*background-color: white;*/
}
.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-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 {
}
.tag_cloud a {
	white-space:nowrap;
}

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

.ac_results {
	padding: 0px;
	border: 1px solid black;
	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: 12px;
	/*
	it is very important, if line-height not setted or setted
	in relative units scroll will be broken in firefox
	*/
	line-height: 14px;
	overflow: hidden;
}

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

.ac_odd {
	background-color: #eee;
}

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

.nowrap {
	white-space: nowrap;
}

.wrap {
	white-space: normal;
}

ul.clist {
	list-style-image: none;
	margin: 0px;
}

.statistics_chart {
	text-align: center;
}

.gchart{
}

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

.clearfloat {
	clear: both;
}

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;
}

/* 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;
}
/* Use CSS menus based on nested <ul> */

.makeMenu li {
	display:inline;
	position:relative;
	white-space:nowrap;
}

.makeMenu a {
	color: #FFF;
	font-weight: bold;
}

.makeMenu a:hover {
	color: red;
}

.makeMenu li ul {
	display:none;
	position:absolute;
	left:0px;
	right:auto;
	top:1.1em;
	background-color:#FFF;
	border:thin solid #C3DFFF;
	z-index:999;
}
html[dir='rtl'] .makeMenu li ul {
	left:auto;
	right:0px;
}

.makeMenu li ul li {
	padding: 2px;
	display:block;
	text-align:left;
}
html[dir='rtl'] li up li {
	text-align:right;
}

.makeMenu li ul li a {
	color: #000;
	font-weight: normal;
}

.makeMenu li ul li a:hover {
	color: red;
}


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

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

.makeMenu li ul {
        xmargin-left:-40px;
}

/* The language menu in the header is right-justified, so submenus must also be right justified */
#extra-menu {
	text-align:right;
}
html[dir='rtl'] #extra-menu {
	text-align:left;
}
#extra-menu.makeMenu li ul {
	left:auto;
	right:0px;
}
html[dir='rtl'] #extra-menu.makeMenu li ul {
	left:0px;
	right:auto;
}

td.descriptionbox  a { /* this keeps the tag color the same when it is a link as when not */
	color: blue;
}

.logo {
	text-align: center;
}

/* ========= Positioning edit, copy, delete links ============= */
/* General use */
.editfacts {clear:left;	padding-top:15px;} /* a container for the following three links */
.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%; border-radius: 3px; background: url("../../../js/jquery/css/images/ui-bg_highlight-soft_100_e7eef3_1x100.png") repeat-x scroll 50% 50% #fff; border: 1px solid #B2C7D7; margin:5px 0; padding:10px;}
html[dir='rtl'] #indi_header { float:right;}
#indi_header h3 {color: #555555; font-weight:bold; margin: 0; padding: 0 10px 0 30px; text-align:left;}
html[dir='rtl'] #indi_header h3 { padding: 0 30px 0 10px; text-align:right;}
#indi_header h3.name_one {overflow:hidden; position:relative; font-size:1.5em;}
#indi_header h3 span.details1 {font-size:1em;}
#indi_header h3.person_box {background-color: #F0F9FF; border: 1px solid #84BEFF;}
#indi_header h3.person_boxF {background-color: #FFF0F0; border: 1px solid #FF2080;}
#indi_header h3.person_boxNN  { background-color: white; border: 1px dashed #008080;}
#indi_header h3 .fact_AGE {padding:5px 0 5px 15px; float:right; font-weight:normal; font-size:65%;}
html[dir='rtl']  #indi_header h3 .fact_AGE {padding:5px 15px 5px 0; float:left;}
#indi_header h3 a {display:inline;}
#indi_header a {color:#333377; font-size:0.75em; font-weight:normal;}
#indi_header a:hover {color:red;}
#main_name {color:#555555; float:left; font-size:2em; margin:10px; font-weight:bold;}
html[dir='rtl'] #main_name {float:right;}
#indi_mainimage {float:left; width:15%}
html[dir='rtl'] #indi_mainimage {float:right;}
#indi_mainimage a img {float:left; padding:0;}
html[dir='rtl'] #indi_mainimage a img {float:right;}
#indi_name_details {	margin:0; padding: 5px;}
#indi_name_details a {color:#333377;}
#indi_name_details dt:after { content:":"; }
#name1 {}
#indi_note {margin:	0 0 5px 0;}
#indi_note .fact_NOTE {float:left; margin:0 10px 0 0;}
html[dir='rtl'] #indi_note .fact_NOTE {float:right; margin:00 0 10px;}
#indi_note .note_details {font-size:100%;}
#indi_note .fact_SOUR a {font-size:100%;}
#header_accordion1 {clear:both; float:right; width:84%;}
html[dir='rtl'] #header_accordion1 {float:left;}
.indi_table {clear:left;}
html[dir='rtl'] .indi_table {clear:right;}
#sex {float:right;}
html[dir='rtl']  #sex {float:left;}	
#dates {color: #555555; float:right;}
html[dir='rtl']  #dates {	float:left;}
dd .editlink, dd .deletelink  {float:right;}
html[dir='rtl']  dd .editlink, html[dir='rtl']  dd .deletelink  {float:left;}

/* INDI IMAGE SPRITE */
.male_gender, .female_gender, .unknown_gender, .editicon, .copyicon, .deleteicon { display: block; background: url('images/indi_sprite.png') no-repeat; }
.female_gender {background-position: -45px 3px; width: 24px;}
.male_gender {background-position: -72px 3px; width: 24px;}
.unknown_gender {background-position: -100px 4px; 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;}

/* ========= jquery-ui.custom.css changes ============ */.ui-widget-content  {color:black; border-color:#999999;  }
.ui-widget-content a  {color:blue; }
.ui-widget-content a:hover  { color:red; }
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; }
.ui-state-active, .ui-widget-content .ui-state-active {border:1px solid #c3dfff; background:#c3dfff; font-weight:normal; color:black; outline:none;}

.ui-tabs .ui-tabs-nav  {padding: .3em .3em 0 .3em; border-color:#888888; }
.ui-tabs .ui-tabs-nav li {font-size:1em; bottom:0px; margin:0 0.15em 0 0.1em; border-color:#888888; background: #eff8f8;}
.ui-tabs .ui-tabs-nav li a  {color:#555555;}
.ui-tabs .ui-tabs-nav li:hover {color:red; background: #dfe8e8;}
.ui-tabs .ui-tabs-nav li a:hover {color:red;}

.ui-tabs-nav li.ui-tabs-selected  {color:blue; padding-top:0px; top:1px; bottom:0px; border-color: #888888; border-bottom-width: 0; background:#f8f8f8;}
.ui-tabs-nav li.ui-tabs-selected a {font-weight:600; color:blue; }
.ui-tabs-nav li.ui-tabs-selected a:hover {font-weight:600; color:blue; background:#f8f8f8; }
.ui-tabs-nav li.ui-tabs-selected:hover {background:#f8f8f8; }
.ui-tabs .ui-tabs-panel	{background:#f8f8f8; }

.ui-accordion .ui-accordion-header .ui-icon {background-color: #cccccc; position:absolute; left:.5em; top:50%; margin-top:-8px; }
.ui-accordion .ui-accordion-content { padding:1em 0.05em; border-top:0; margin-top:-2px; position:relative; top:1px; margin-bottom:2px; overflow:visible; display:none; }
.ui-accordion .ui-accordion-content-active { display:block;}
.ui-accordion .ui-accordion-header a {padding: 0.5em;}
.ui-helper-reset {line-height: 1.6;}
html[dir='rtl'] .ui-accordion .ui-accordion-header .ui-icon {right: 0.5em;}

/* ========= Sidebar ============== */
#main {min-width:600px; width:100%}
#indi_left {float:left; width:98%;}
html[dir='rtl'] #indi_left {float:right;}
#tabs {background-color:#FFF; border-color:#DDD; float:left; width:100%; overflow:auto;}
html[dir='rtl'] #tabs {float:right;}
#sidebar {border-color:#DDD; display:none; margin:5px 2px 0 0; height:auto;}
html[dir='rtl'] #sidebar  {margin:5px 0 0 2px;}
#sidebarAccordion, #sidebarAccordion2 {width:auto;}
#sidebarAccordion h3, #sidebarAccordion2 h3 {height:30px; text-align: center; border-color:#999;}
.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;}
html[dir='rtl'] .use-sidebar.sidebar-at-right #sidebar, html[dir='rtl'] .sidebar-at-right #separator  {float:left;}
#separator {	display: block; background: #c3dfff url('images/indi_sprite.png') no-repeat -26px 100px; min-width:6px; max-width:10px; width:0.75%; border: 1px solid #999; border-top-left-radius: 3px; border-top-right-radius: 3px; margin-top:5px;}
html[dir='rtl'] #separator { background: #c3dfff url('images/indi_sprite.png') no-repeat -1px 100px;}
.use-sidebar #separator { background: #c3dfff url('images/indi_sprite.png') no-repeat -1px 100px;}
html[dir='rtl'] .use-sidebar #separator {background: #c3dfff url('images/indi_sprite.png') no-repeat -26px 100px;}

/* ============== Sidebar content items ============== */
/* Family navigator */
#sb_content_family_nav {padding:0;}
#sb_family_nav_content {margin-top:2px;}
.nam a:hover {color:red;}
.nav_content {width:100%; padding:10px 0;}
.flyout {color:#000000; 	text-align:left; margin-top:-20px; right:210px; padding:3px;}
html[dir='rtl'] .flyout {text-align:right; left:210px;}
.flyout2 {color:#000000;	text-align:left;margin-top:-2px; left:40px; padding:3px;}
html[dir='rtl'] .flyout2 {text-align:right; right:40px;}
.flyout2 a:hover{color:#ff0000;}
.flyout4 {color:#000000;	text-align:left; margin-top:0px;margin-left:0px; padding:3px;}
.flyout3, .flyout3 a, #phusb, #pwife, #shusb, #swife, #spouse {background:none; border:none; text-decoration:none; text-align:left; margin-top:0px; left:0px; padding:0px;}
html[dir='rtl'] .flyout3 {text-align:right;}.sb_indi_surname_li, .sb_fam_surname_li {list-style-image:url('images/plus.gif');white-space:nowrap;}
.famnav_link {font-size:12px; padding:0px; width:100%;}

/* Descendancy */
#sb_desc_content {margin-left:3px; font-size:0.8em;}
html[dir='rtl'] #sb_desc_content {margin-right:3px;}
#sb_desc_content ul {padding:0px; margin:0px;}
.sb_desc_indi_li {list-style-type:none;	white-space:nowrap;}
.desc_tree_div {	display:none;}
.desc_tree_div ul {padding:0px;	margin-left:10px;margin-top:0px;margin-right:0px;}
html[dir='rtl'] .desc_tree_div ul {margin-right:10px;margin-left:0px;}

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

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

/* References */
#sb_content_extra_info {font-size:80%; font-weight:bold; margin-top:1px; overflow:hidden; padding:5px;}
#sb_content_extra_info .editfacts {float:right; margin-top:-30px;}
html[dir='rtl'] #sb_content_extra_info .editfacts {float:left;}
#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;}


