/**
 * 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/
 *
 * phpGedView: Genealogy Viewer
 * Copyright (C) 2002 to 2008  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 PhpGedView
 * @subpackage Themes
 * @author Jonathan Jaubart
 */
.something {
	/*empty style to make sure that the BODY style is not ignored */
	
}

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

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

img {
	border: 0px;
}

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

th {
	font-weight: 100;
}


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 {
	padding-left: 3px;
	padding-right: 3px;
	background-color: #f4f0ed;	
}

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

form {
		font-size:10px;
}


/**
 * Structure of the page
 */
body {
	padding: 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	margin: 0px auto auto auto;
		color: #416271;
	background-color: #E3C17D;
}

#header_simple{
	height:1em;
}

#main_content {
	width: 900px;
	height: auto;
	margin: auto;
}

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

#header a{
	color:black;
}

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

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

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

/**
 * General classes
 */
.center {
	text-align: center;
}

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

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

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

legend img {
	margin-right: 2px;
}

.vmiddle {
	vertical-align: middle
}

.pedigree_form {
	width: 45px;
}

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

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

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

.label {
	font-family : arial, helvetica, sans-serif;
	font-weight: bold;
}

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

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

.tab_page{
	width: 100%;
}

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

.largeError {
	color: #dd0000;
	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;
	margin: 2px;
}

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

.dimflag {
	height: 15px;
	border: none;
	opacity: 0.5;		/* IE's support is different */
}

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

.rela {
	opacity: 0.67;
}

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


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

.font9 {
	font-size: 9px;
}

/**
 * Admin
 */
 
.gedcom_table {
	margin: 0;
	width: 99%;
}

.dhx_tabbar_zone{
	color:black;
}

.dhx_tabbar_zone a{
		color:#62584D;
}

.dhx_tabbar_zone a:hover{
	color: #62584D;
}

/**
 * Person box
 */
 
.person_box {
	font-family: tahoma,arial,helvetica,sans-serif;
	background-color: #d6e0ea;
	border: solid #9ca3d4 1px;
}

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

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

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

.list_table a {
	color: #62584D;
}

.list_table a:hover {
	color: #62584D;
}

.list_label,.list_label_wrap {
	font-size: 11px;
	color: #a40008;
	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: #62584D;
}

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

/**
 * Sublinks table
 */
 
.sublinks_table {
	font-family : arial, helvetica, sans-serif;
	background-color: #e9e2db;
}

.sublinks_table .icon {
	width: 20px;
	height: 20px;
}

/**
 * Facts table
 */

 
.facts_table, .facts_table_rtl {
	width: 98%;
	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: #a40008;
	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: #d6e0ea;
	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: #d6e0ea;
	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;
}

/**
 * Tree
 */

#out_treetab, #out_nav{
	background-color: #f4f0ed;
}

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

/**
 * Help
 */
 
.helpheader .error{
	font-size: 13px;
}

/**
 * Doors
 */

.door {
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}

.door dd {
	margin: 2px 2px 2px 2px;
	padding: 2px 6px 2px 6px;
	height: 100%; float: left;
	font-weight: bold;
	display: none;
}


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

.descriptionbox a{
	font-weight: normal;
	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;
}

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


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

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

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

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

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

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

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


/**
 * Top Menu
 */
#topMenu {
	width: 100%;
	font-family: Arial, Helvetica, sans-serif;
	padding: 0px;
	margin: auto;
	width: 100%;
}

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

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

.menu {
	width: 100%;
	font-size: 10px;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
}

.menu .divider {
	width: 1px;
	height: 74px;
	padding: 0px;
	margin: 0px;
	background: url(images/divider.gif) no-repeat center;
}

.menu .icon {
	height: 35px;
	width: 35px;
}


.menuitem, .menuitem_hover, .menuitem a,.menuitem_rtl a,.menuitem_hover a,.menuitem_hover_rtl a {
	color: #A40008;
	padding: 1px;
}

.submenu,.submenu_rtl {
	color: black;
	background-color: #e9e2db;
	border: solid #d3c6b8 1px;
	white-space: nowrap;
	visibility: hidden;
	position: absolute;
	vertical-align: middle;
}

.submenu .icon {
	height: 22px;
	width: 22px;
}

.submenuitem,.submenuitem_rtl {
	white-space: nowrap;
	padding: 1px;
}

.submenuitem,.submenuitem_hover {
	text-align: left;
}

.submenuitem_rtl,.submenuitem_hover_rtl {
	text-align: right;
}

.submenuitem a,.submenuitem_rtl a {
	color: #62584D;
}

.submenuitem_hover,.submenuitem_hover_rtl {
	text-decoration: underline;
	background-color: #f4f0ed;
	white-space: nowrap;
	padding: 1px;
}

.accesskeys {
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Tag Cloud styles*/
.tag_cloud_table {
	width:70%;
	margin-left: auto;
	margin-right: auto;
}

.tag_cloud {
	text-align: justify;
	padding: 10px 5px 10px 15px; /* top right bottom left */
}

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

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

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

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

.himage{
	width:80%;
}

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

.block a:hover{
	color: #a40008;
}

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

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

#index_main_blocks  .block {
	background-image: url(images/block_bg.gif);
	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.gif);
	background-repeat : repeat-x;
	background-color: #f3efef;
	color: black;
	vertical-align: top;
	margin-bottom: 5px;
	padding: 9px 4px 2px 4px;
}

.small_inner_block {
	max-height: 200px;
	overflow: auto;
	font: normal 10px tahoma, arial, helvetica, sans-serif;
}

.normal_inner_block {
	overflow: auto;
}

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

/**
 * Charts
 */

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

.pedigree_image_portrait, .pedigree_image_landscape {
	float: left;
	height: 50px;
	border: solid #9CA3D4 1px;
	margin-right: 3px;
}

.pedigree_image_portrait_rtl, .pedigree_image_landscape_rtl {
	float: right;
	height: 50px;
	border: solid #9CA3D4 1px;
	margin-left: 3px;
}

.pedigree_form {
	width: 45px;
}

/*-- pedigree chart rtl specific stylesheets --*/
#pedigree_chart_rtl {
	position: relative;
	top: -250px;
	right: 10px;
}

/*-- descendancy chart specific stylesheets --*/
#descendancy_chart ul {
	background-image: url(../../images/vline.gif);
	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 --*/
#descendancy_chart_rtl ul {
	background-image: url(../../images/vline.gif);
	background-repeat: repeat-y;
	background-position: right top;
	list-style: none;
	margin: 0px 15px 5px 0px; /* top right bottom left */
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}

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

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

#relationship_chart_rtl {
	position: relative;
	top: -40px;
	right: 10px;
}

/*-- ancestry chart specific stylesheets --*/
#ancestry_chart ul {
	background-image: url(../../images/vline.gif);
	background-repeat: repeat-y;
	background-position: left top;
	list-style: none;
	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 --*/
#ancestry_chart_rtl ul {
	background-image: url(../../images/vline.gif);
	background-repeat: repeat-y;
	background-position: right top;
	list-style: none;
	margin: 0px 15px 0px 0px; /* top right bottom left */
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}

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

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

#relationship_chart_rtl {
	position: relative;
	top: -40px;
	right: 0px;
}

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


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

.rtl {
	text-align: right;
}

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

/* The following two overriding classes MUST appear at the end of the entire CSS file. */
.nowrap {
	white-space: nowrap;
}

.wrap {
	white-space: normal;
}