/**
 * Style for Standard 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 2007 John Finlay and Others
 *
 * 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
 * @version $Id: style.css 1488 2007-08-22 18:44:57Z yalnifj $
 */

.something {
	/*empty style to make sure that the BODY style is not ignored */
}

body {
    background: #FFFFFF;
    font: 12px georgia;
    color: #1D2326;
	margin: 1px;
}

#header, #content, .family_tree_heading, #footer  {
  width: 100%;
}

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

legend {
	font-weight: bold;
}

a:link, a:visited {
  color: #E13F4B;
  text-decoration: none;
}

a:hover {
  color: #E13F4B;
  text-decoration: underline;
}

a:active, a.active {
  color: #E13F4B;
}

th {
	font-weight: 100;
}

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

.button {
	width: 60px;
}
.gedcom_table {
	border: 1px solid #aaaaaa;
	margin: 0;
	width: 99%;
}

.person_box {
	background-color: #f4ffff;
	border: 1px solid #2080FF;
}

.person_boxF {
	background-color: #fff4ff;
	border: 1px solid #ff2080;
}

.person_boxNN {
	background-color: #fffff4;
	border: dashed #aaaaaa 1px;
}

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

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

.center {
	text-align: center;
}

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

.list_label, .list_label_wrap {
	color: #494949;
	background-color: #fffff4;
	font: bold 12px georgia;
	text-align: center;
    border: 1px solid #aaaaaa;
}

.list_value, .list_value_wrap {
	background-color: #fffff4;
	color: #494949;
	border: 1px solid #aaaaaa;
	font: 12px georgia;
	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: 90%;
}

.facts_label {
	color: #494949;
	background-color: #fffff4;
	font: 12px georgia;
	padding: 4px 4px 4px 4px;
	width: 20%;
	text-align: center;
    border: 1px solid #aaaaaa;
}

.facts_label02, .facts_label03 {
	color: #494949;
	font: 12px georgia;
	padding: 4px 4px 4px 4px;
	text-align: center;
	font-weight: bold;
    border: 1px solid #aaaaaa;
}

.facts_label02 {
	background-color: #fffff4;
}

.facts_label03 {
	background-color: #fffff4;
}

.facts_value {
	background-color: #fffff4;
	color: #494949;
	border: 1px solid #aaaaaa;
	font: 12px georgia;
	padding: 4px 4px 4px 4px;
}

.facts_value02 {
	background-color: #fffff4;
	color: #494949;
	border: 1px solid #aaaaaa;
	font: 12px georgia;
	padding: 4px 4px 4px 4px;
}

.facts_labelred, .facts_labelblue {
	color: #494949;
	background-color: #fffff4;
	font: 12px georgia;
	padding: 4px 4px 4px 4px;
	width: 20%;
	text-align: center;
}

.facts_valuered, .facts_valueblue {
	background-color: #fffff4;
	color: #494949;
	font: 12px georgia;
	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: #daa4a4;
	border-left: 4px outset #494949;
	border-top: outset #aaaaaa 2px;
	border-right: outset #aaaaaa 2px;
	text-align: center;
	font-weight: bold;
	font-size: 10pt;
    color: #ffffff;
}

.tab_cell_inactive {
	background-color:#ffffff;
	border-left: solid #aaaaaa 2px;
	border-top: solid #aaaaaa 2px;
	border-right: outset #aaaaaa 2px;
	text-align: center;
	font-weight: normal;
	font-size: 10pt;
    color: #901111;
}

.tab_cell_inactive_empty {
	background-color: #ffffff;
	border-left: solid #aaaaaa 2px;
	border-top: solid #aaaaaa 2px;
	border-right: outset #aaaaaa 2px;
	text-align: center;
	font-weight: normal;
	font-size: 10pt;
    color: #494949;
}

.tab_cell_inactive_empty a {
	color: #901111;
}

.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 #aaaaaa 2px;
	height: 5px;
}

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

.name1 {
	/*color: #333333;*/
	font: bold 10px georgia;
}

a:hover .name1 {
	color: #901111;
	font: bold 10px georgia;
}

a:hover .name2 {
	color: #901111;
	font: bold 12px georgia;
}

a:hover .nameZoom {
	color: #901111;
	font: bold 14px georgia;
}

.namered {
	border: solid red 1px;
}

.nameblue {
	border: solid blue 1px;
}

.details1 {
	font: normal 10px georgia;
}

.name2 {
	color: #494949;
	font: bold 12px georgia;
}

.details2 {
	font: normal 12px georgia;
}

.nameZoom {
	color: #494949;
	font: bold 14px georgia;
}

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

.details_label {
	font-weight: bold;
}

.name_head {
	color: #494949;
	font: bold 16px georgia;
	letter-spacing: .2px;
}

.date {
	color: #494949;
}

.label, .field {
	font: 12px georgia;
}

.label {
  display: block
}


.label {
	font-weight: bold;
}

.error {
	color: #ee0000;
	font-family: "Georgia";
	font-weight: bold;
}

.largeError {
	color: #ee0000;
	font: large georgia;
	font-weight: bold;
}

.warning {
	color: red;
	font-family: "Georgia";
	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 {
	height: 9px;
	width: 9px;
	margin: 0px 3px;
	border: none;
	vertical-align: middle;
}

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

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

.pedigree_form {
	width: 45px;
}

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

.icon {
	border: none;
}

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

.sublinks_table {
	border: 1px solid #aaaaaa;
	background-color: #fffff4;
}

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

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

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

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

.subheaders {
	font: bold 15px georgia;
	margin-top: 15px;
	vertical-align: bottom;
}

.age {
	font-size: 12px;
}

.source_citations {
	display: none;
}

.lang_form {
	margin-top: 0px;
}

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

.user_links {
	white-space: nowrap;
}

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

/* 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 the currently active language. */
.activeflag {
	height: 15px;
	border: none;
	opacity: 1;		/* IE does not yet support this */
}

/* This one is for an inactive language when the mouse is hovering over it */
.brightflag {
	height: 15px;
	border: none;
	opacity: 1;		/* IE does not yet support this */
}

/* This one is for an inactive language when the mouse is not hovering over it */
.dimflag {
	height: 15px;
	border: none;
	opacity: 0.4;	/* IE does not yet support this */
}

.header_select {
	font-size: 9pt;
}

.favorites_form {
	margin-top: 0px;
}

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

.menuitem, .menuitem_rtl {
	color: #555555;
	text-decoration: none;
	font: 11px georgia;
	text-align: center;
	padding: 1px;
}

.menuitem_hover, .menuitem_hover_rtl {
	color: #494949;
	text-decoration: none;
	font: 11px georgia;
	text-align: center;
	padding: 1px;
}

.submenu, .submenu_rtl {
	color: #494949;
	text-decoration: none;
	font: 11px georgia;
	text-align: center;
	background-color: #ffffaa;
	border: 1px solid #aaaaaa;
	white-space: nowrap;
	visibility: hidden;
	position: absolute;
}

.submenuitem, .submenuitem_rtl {
	color: #555555;
	text-decoration: none;
	font: 11px georgia;
	background-color: #fffff4;
	white-space: nowrap;
	padding: 1px;
}

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

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

.submenuitem_hover, .submenuitem_hover_rtl {
	color: #494949;
	text-decoration: underline;
	font: 11px georgia;
	background-color: #FFCCCC;
	white-space: nowrap;
	padding: 1px;
}

.news_box {
	background-color: #fffff4;
	border: 1px solid #aaaaaa;
    padding: 0.5em;
}

.news_title {
	font: bold 14px georgia;
	color: #494949;
}

.news_date {
	font: 12px georgia;
	color: #494949;
}

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

.helpheader {
	font: bold 16px georgia;
	color: #494949;
}

.helpstart {
	font: bold 14px georgia;
	color: blue;
	text-decoration: none;
}

.helptext {
	font: 12px georgia;
	color: #494949;
}

#content {
	margin-left: 1px;
}

#footer {
	clear: both;
	color: #494949;
	font: 12px georgia;
	width: 99%;
}

/*-- index.php specific style sheets -- */
.small_inner_block {
	max-height: 500px;
	overflow: auto;
	font: normal 10px georgia;
}

.block {
	/*background-color: #fffff4;*/
    background-color: #ffffff;
	color: #494949;
	border: 1px solid #aaaaaa;
	font: 12px georgia;
	vertical-align: top;
	margin-bottom: 5px;
	padding: 1px;
}

#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: -250px;
	left: 0px;
}

/*-- 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: #aaaaff;
	border: outset #aaaaff 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: #5555ff;
	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;
	font-family: "Georgia";
}

input, button, textarea {
	border-top-color: white;
	border-left-color: white;
	border-right-color: #000066;
	border-bottom-color: #000066;
	border-top-width: 1px;
	border-left-width: 1px;
	border-bottom-width: 1px;
	font: 12px georgia;
	border-right-width: 1px;
}

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

select {
	border-top-color: #84beff;
	border-left-color: #84beff;
	border-right-color: #84beff;
	border-bottom-color: #84beff;
	border-top-width: 1px;
	border-left-width: 1px;
	border-bottom-width: 1px;
	font: 12px georgia;
	border-right-width: 1px;
}

form {
	font: 12px georgia;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font-weight: normal;
  font-family: "Georgia";
}

h1 {
  font-size: 170%;
}

h2 {
  font-size: 160%;
  line-height: 130%;
}

h3 {
  font-size: 140%;
}

h4 {
  font-size: 130%;
}

h5 {
  font-size: 120%;
}

h6 {
  font-size: 110%;
}

.formField {
	font: 12px georgia;
}

/*-- pseudo-class for fanchart: used on server-side to draw image --*/
.fan_chart {
	/*-- font-family must contain a server TTF file --*/
	font-family: url(./includes/fonts/DejaVuSans.ttf);
	font-size: 7px;
	color: #494949;
	background-color: #eeeeee;
}

.fan_chart_box {
	background-color: #b1cff0;
}

.fan_chart_boxF {
	background-color: #e9daf1;
}

.starredname {
	text-decoration: underline;
}

.search_hit {
	background-color: yellow;
}

.nowrap {
	white-space: nowrap;
}

.title {
	font-size: 20px;
	font-family: "Georgia";
}

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

/* Styles for the option boxes */

/* Style for the top and bottom bar */
.topbottombar {
	color: #494949;
	background-color: #fffff4;
	font: bold 12px georgia;
	padding: 4px;
	text-align: center;
}

/* Style for the subbar in  */
/* facts_value */
.subbar {
	background-color: #fffff4;
	color: #494949;
	border: 1px solid #aaaaaa;
	font: 11px georgia;
	vertical-align: top;
	white-space: nowrap;
	padding: 3px;
}

/* Style for the descriptionbox */
.descriptionbox {
	color: #494949;
	background-color: #fffff4;
	font: 12px georgia;
	vertical-align: top;
	white-space: nowrap;
	padding: 3px;
  border: 1px solid #aaaaaa
}

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

.vmiddle {
	vertical-align: middle
}

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

.rela {
	filter: alpha(opacity=67);
	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=67);
	-moz-opacity: 0.67;
	opacity: 0.67;
}

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

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

.font9 {
	font-size: 11px;
}

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

/* Message box */
.messagebox {
	background-color: #fffff4;
	border: 1px solid #aaaaaa;
}

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

.change_old {
	border: solid red 2px;
}

.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;
	-moz-border-radius-topleft: 0.6em;
	-moz-border-radius-topright: 0.6em;
  background: #ffffd4
}

.note_details {
	display: none;
}

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

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

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 #1f1f1f;
   border-top: 2px solid #1f1f1f;
   border-bottom: 2px solid black;
   border-right: 2px solid black;
   padding: 3px;
   background: #4f4f4f;
   color: white;
   font: 15px georgia;
   text-align: left;
   FILTER: Alpha(Opacity=90, FinishOpacity=90, Style=2);
   -moz-opacity: .85;
   -khtml-opacity: .85;
   z-index: 5;
}

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

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

.lifespan_outer a {
	color: #494949;
}

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

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

.lifespan_people {
	position: absolute; 
	width: 500px; 
	left: -10px; 
	top: -60px; 
	z-index: 1;
}
.iwstyle {
	width:360px;
	/*background-color: #fffff4;*/
} 
.iwstyle a {
} 
.iwstyle a:hover {
}
/* Tag Cloud styles*/
.tag_cloud_table {
	width:70%;
	margin-left: auto;
	margin-right: auto;
}

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

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

/* New 4.2 Standard theme tags */
#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;
	}

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

/*Custom shepsplace styles*/

/*Fix firefox bug:*/

a {outline: none;}

#header-region {
  min-height: 0em;
  background: #312b57;
}

#header {
  background-image: url(images/pgv-header-body.gif);
  background-repeat: repeat-x;
}

#header-logo-block a img {
  margin-top: 1em;
  float left;
  clear:left;
}

#toplinks-container {
  background-image: url(images/hline.gif);
  background-repeat: repeat-x;
  background-color: #ffffff;
}

#toplinks-bottomline {
  background-image: url(images/hline1.gif);
  background-repeat: repeat-x;
  min-height: 9px;
}

img.rss-icon {
  border: none;
  margin: 5px 5px 5px 5px;
}

div#header-left-block {
  float: left;
  margin: 15px 0px 10px 19px;
}

div#header-logo-block {
  float:left;
  margin: 0px 0px 5px 0px;
}

div#one-line-login-block {
  clear: both;
  float: left;
  margin: 0px 0px 0px 65px;
  font-weight: bold
}

div#one-line-login-block a {
  color: #660000;
}

/*Toplinks table*/

table#topMenu tbody tr td div.menuitem,
table#topMenu tbody tr td div.menuitem_hover {
  margin-top: 1em;
}

table#topMenu tbody tr td div.menuitem a:hover,
table#topMenu tbody tr td div.menuitem_hover a:hover {

}

table#topMenu tbody tr td div.submenu {
  margin-left: 2em;
}

table#topMenu tbody tr td div.menuitem_hover div.submenuitem,
table#topMenu tbody tr td div.menuitem div.submenuitem,
table#topMenu tbody tr td div.menuitem div.submenuitem_hover {
  border-bottom: thin solid #DBD7B3;
}

table#topMenu tbody tr td div.menuitem_hover div.menu_separator img,
table#topMenu tbody tr td div.menuitem div.menu_separator img {
  display: none;
}

table#topMenu tbody tr td div.menuitem_hover div.submenuitem a,
table#topMenu tbody tr td div.menuitem div.submenuitem a,
table#topMenu tbody tr td div.menuitem div.submenuitem_hover a {
  line-height: 22px;
  vertical-align: middle;
  text-decoration: none;
}

table#topMenu tbody tr td div.menuitem_hover div.submenuitem {
  background-color: #8FA168;
}

table#topMenu tbody tr td div.menuitem div.submenuitem {
  background-color: #8FA168;
}

table#topMenu tbody tr td div.menuitem div.submenuitem_hover {
  background-color: #DBD7B3;;
  text-decoration: none;
}

table#topMenu tbody tr td div.menuitem_hover div.submenuitem a,
table#topMenu tbody tr td div.menuitem div.submenuitem a {
  text-decoration: none;
  color: #FFFFFF;
  margin-left: 0.2em;
  margin-right: 0.2em;
}

table#topMenu tbody tr td div.menuitem div.submenuitem_hover a {
  text-decoration: none;
  color: #E13F4B;
  margin-left: 0.2em;
  margin-right: 0.2em;
}

/*Sublinks table*/

table.sublinks_table tbody tr td.sublinks_cell div.submenuitem_hover div.submenu div.submenuitem,
table.sublinks_table tbody tr td.sublinks_cell div.submenuitem div.submenu div.submenuitem,
table.sublinks_table tbody tr td.sublinks_cell div.submenuitem div.submenu div.submenuitem_hover {
  border-bottom: thin solid #DBD7B3;
}

table.sublinks_table tbody tr td.sublinks_cell div.submenuitem_hover div.submenu div.menu_separator img,
table.sublinks_table tbody tr td.sublinks_cell div.submenuitem div.submenu div.menu_separator img {
  display: none;
}

table.sublinks_table tbody tr td.sublinks_cell div.submenuitem_hover div.submenu div.submenuitem a,
table.sublinks_table tbody tr td.sublinks_cell div.submenuitem div.submenu div.submenuitem a,
table.sublinks_table tbody tr td.sublinks_cell div.submenuitem div.submenu div.submenuitem_hover a {
  line-height: 22px;
  vertical-align: middle;
  text-decoration: none;
}

table.sublinks_table tbody tr td.sublinks_cell div.submenuitem_hover div.submenu div.submenuitem {
  background-color: #8FA168;
}

table.sublinks_table tbody tr td.sublinks_cell div.submenuitem div.submenu div.submenuitem {
  background-color: #8FA168;
}

table.sublinks_table tbody tr td.sublinks_cell div.submenuitem div.submenu div.submenuitem_hover {
  background-color: #DBD7B3;
  text-decoration: none;
}

table.sublinks_table tbody tr td.sublinks_cell div.submenuitem_hover div.submenu div.submenuitem a,
table.sublinks_table tbody tr td div.submenuitem div.submenu div.submenuitem a {
  text-decoration: none;
  color: #FFFFFF;
  margin-left: 0.2em;
  margin-right: 0.2em;
}

table.sublinks_table tbody tr td.sublinks_cell div.submenuitem div.submenu div.submenuitem_hover a {
  text-decoration: none;
  color: #E13F4B;
  margin-left: 0.2em;
  margin-right: 0.2em;
}

/* Footer links */

#content .stats-changes .execution-stats {
  text-align: center;
  margin-bottom: 1em;
}

#content .stats-changes .pending-changes {
  text-align: center;
  margin-bottom: 1em;
}

#footer {
  background-image: url(images/pgv-footer-top-bar.gif);
  background-position: top;
  background-repeat: repeat-x;
  background-color: #312b57;
  min-height: 5em;
  width: 100%;
}

#footer a {
  color: #8FA168;
  text-decoration: none;
}

#footer .footer-menu-links {
  color: #8FA168;
  padding-top: 2em;
  text-align: center;
  margin-bottom: 1em;
}

div#footer a:hover {
  color: #E13F4B;
  text-decoration: underline;
}

#footer .printer-friendly-link {
  text-align: center;
  padding-bottom: 1em;
}


div#cj-120x60-smartzone-links {
  display: block;
  float: right;
  margin: 20px 30px 10px 50px
}

div#header-right-block {
  float: right;
  margin: 20px 20px 10px 50px;
  /*max-width: 200px;*/
}

div#header-search-form-block {
  float: right;
  margin: 0px 0px 5px 0px;
}

div#header-search-form-block form input {
  size: 30 !important;
}

div#header-favourites-form-block {
  clear: both;
  float: right;
  margin: 5px 0px 0px 0px;
}

div#header-clear-decks {
  clear: both;
  height: 0px
}

table#topMenu td.topMenutd {
  width: 7%;
  vertical-align: top;
}


div#google_468x60_links {
  margin-bottom: 20px;
  text-align: center;
}

/* Hide TIME, CEME and ADDR form elements in editing windows (CSS3)
   see: http://www.w3.org/TR/css3-selectors/#id-selectors
   supported by FF3, IE8, et al.
*/

tr[ID^="CEME"]{
  display: none;
}

tr[ID^="ADDR"]{
  display: none;
}

tr[ID^="TIME"]{
  display: none;
}

/* Hide notes tab and level 1 notes */

dd#door2 {
  display: none !important;
}

div#notes {
  display: none !important;
}

/* Hide family display box along side sources */

div#sources table.optionbox {
  display: none;
}

div#sources table.optionbox, div#sources table.optionbox table.facts_table {
  width: 0px;
}

div#sources_content table {
  width: 100%;
}

/*Block height*/

.small_inner_block {
	max-height: 500px;
}

/*Recent changes block*/

#recent_changes .shep_chan,
#recent_changes .shep_pgvu {
  display: none;
}

/* With lightbox album enabled do not need to show media block */

/*#media {
  display: none !important;
}*/

/*Family Tree heading */

.family_tree_heading {
  float: left;
  clear: left;
}

.family_tree_heading h1 {
  font-weight: normal;
  margin-top: 0.25em;
  margin-bottom: 0.5em;
  margin-right: 1em;
}

.tab_page {
 float: left;
 clear: left;
 width: 80%;
}

/* Hide unused tabs */

#door2, #door7 {
  display: none !important;
}

/* Google 160x600 adv in individual.php */

#adsense_160x600 {
 float: right;
 margin-right: 1%;
}

/* Add to Any links*/

.addtoany-links {
  float: right;
  margin: 20px;
}

#a2apage_powered_by {
  display: none !important;
}

/*Family page layout*/

td.subheaders {
  width: 282px;
}

#AUS_Victoria img, #AUS_Western-Australia, #AUS_New-South-Wales, #AUS_Queensland, #AUS_South-Australia, #AUS_Northern-Territory, #AUS_Tasmania {
  display: none;
}

/*End custom shepsplace styles*/

/* Because the CSS file is only read once, the following two overriding classes MUST
   appear at the end of the entire CSS file.
*/
.nowrap {
	white-space: nowrap;
}

.wrap {
	white-space: normal;
}
