/*
* Style for colors theme
*
* webtrees: Web based Family History software
* Copyright (C) 2012 webtrees development team.
*
* Derived from PhpGedView Cloudy theme
* Original author w.a. bastein http://genealogy.bastein.biz
* Copyright (C) 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: colors.css 14425 2012-10-15 17:00:24Z rob $
*/

/* Set defaults */

body{font:12px tahoma, arial, helvetica, sans-serif;}
legend,.details_label{font-weight:700;}
a{color:#333;text-decoration:none;}
a:hover{color:#f00;text-decoration:none;}
:focus{outline-style:none;}
h2{color:#333;font-size:18px;font-weight:700;}
h4{font-weight:700;}
hr{margin-top:5px;}
ul{margin:8px;padding-left:15px;padding-right:15px;}
th{font-weight:100;}
select{border:1px solid #ccc;}

img{border:0 none;}
img.block{height:25px;}

fieldset{margin:8px 8px 4px;padding:30px;text-align:left;}
fieldset ol, fieldset li{margin:2px 0 0 5px;}
html[dir='rtl'] fieldset{text-align:right;}
html[dir='rtl'] fieldset ol, fieldset li{margin:2px 5px 0 0;}

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

*{margin:0;padding:0;}

input:required:valid, textarea:required:valid{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAONJREFUeNpi/P//PwMlgImBQjDwBrCgCzDOF2Zg+Adk/AOGDRvQfHZGoDWMxgyMDMb/Q1/NIt0F/xk8gIbNZPj7P41YL4AUGsM1//rfkuyeYMzw8z9xXgBqgNm0nuHnv0D/IH/juavmngV6oYY4F3z7y2DqY2oMpANB9MYl684yfP9Xw3Dzzw7sXgQmJGTM0MbjwdDKc0b2vt5/EM2QwunBoMyCVS1YPYYAMOwZ7FmiGLLYzjBYsSQD+QpALAjErNgMYERPyoyMjMxAih+IOYD4LxD/hOJfQLV/MaJ9NC8wAAQYAPbPfH2KJKx/AAAAAElFTkSuQmCC);background-position:right top; background-repeat:no-repeat;}
input:required:invalid, textarea:required:invalid{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAMpJREFUeNpi/P//PwMlgImBQjAMDGBBF1jFyOgBpFqAuOYPA8MOoAI4P+z//x0YJoBiARkvYWA486+k5D+IBuJqZD66WnAMogvMA9o4F6j4R3Lyf2R6IQODMVEGTAW6CoirgfjMB2/v/yB6CgNDYQ8W14IwRiB+A7rgOwNDYLChofGcrVvPgugfDAzR/yFhwUAwDJqBNj6Ulf0PooEhV4jMx+YCRvSknAeMBWDotwgwMKRzMTCcfQW0GcQHxkbNJCyxwDiaFxgAAgwAYy67YIOQ//cAAAAASUVORK5CYII=);background-position:right top; background-repeat:no-repeat;}
html[dir="rtl"] input:required:valid, html[dir="rtl"] textarea:required:valid, html[dir="rtl"] input:required:invalid, html[dir="rtl"] textarea:required:invalid {background-position:left top;}

/*** Header Layout  ***/
#header{height:80px;}
#spacer {height: 16px; width: 100%;}

/* Title Line    */
span.title{float:left;font-size:24px; margin:0px 0px 3px 12px;}
html[dir='rtl'] span.title{float:right;margin-right:12px;}

/* Options Menu  */
.makeMenu{float:right;margin:5px 10px 0 0;}
.makeMenu li{display:inline;position:relative;white-space:nowrap;z-index:100;}
.makeMenu li:before{content:" | ";}
.makeMenu li a.link{font-size:13px;margin-left:5px;margin-right:5px;}
.makeMenu li ul{background-color:#EEE;border:thin solid #AAA;display:none;left:10px;position:absolute;z-index:999;}
.makeMenu li ul li{display:block;text-align:left;}
.makeMenu li ul li a{color:#333;}
.makeMenu,.makeMenu li ul{color:#fff;list-style:none;margin-left:0;padding:1px;top:5px;}
.makeMenu li:hover > ul{display:block;}
.makeMenu li a:hover{color:#f5003d;}
.makeMenu ul li a{background-color:#fff;display:block;padding:2px 5px 2px 2px;}
.makeMenu ul li a:hover{color:#000;}
.makeMenu li ul li:before,.makeMenu li:first-child:before{content:"";}
.lang-active, .theme-active{font-weight:900;}

html[dir='rtl'] .makeMenu{display:block;float:left;margin:5px 0 0 10px;}
html[dir='rtl'] .makeMenu li ul{left:auto;right:0;}
html[dir='rtl'] .makeMenu li ul li{text-align:right;}

/* Top Menu  */
#topMenu{float:left;height:48px;width:100%;}
#topMenu ul {margin:0;padding:0;}
html[dir='rtl'] #topMenu{float:right;}


#main-menu > li > a {display:block;height:40px;}
#main-menu li{float:left;list-style:none;position:relative;}
html[dir='rtl'] #main-menu li{float:right;}

#main-menu ul{background:#fff;border:1px solid #ccc;display:none;left:0;position:absolute;right:auto;top:40px;z-index:2001;}
html[dir='rtl'] #main-menu ul{right:0;left:auto;}

#main-menu ul li{white-space:nowrap;}
#main-menu ul li a{font-size:12px;padding:0 5px;line-height:30px;text-align:left; }
html[dir='rtl'] #main-menu ul li a{text-align:right;float:right;padding-right:30px;line-height: 26px;}

#main-menu #menu-chart li ul{display:none;}
#main-menu li:hover ul{display:block;} /* main menu hover */
#main-menu li:hover li{float:none;}

#main-menu #menu-chart li:hover ul{display:block;left:100%;right:auto;margin-top:-47px;position:absolute;}
html[dir='rtl'] #main-menu #menu-chart li:hover ul{right:100%;left:auto;} 

#main-menu > li{background-image:url(../images/sprites-top-menu.png);background-repeat:no-repeat;height:40px;line-height:40px;margin:4px 0 0 16px;text-indent:32px;width:40px;}
html[dir='rtl'] #main-menu > li{margin:4px 16px 0 0px;}

#main-menu li ul li{background-image:url(../images/sprites-sub-menu.png);background-repeat:no-repeat;height:28px;line-height:15px;margin:0;text-indent:22px;}
html[dir='rtl'] #main-menu li ul li{text-indent:0;}

#main-menu li ul li:first-child{background-image:none;color:#333;font-weight:700;text-align:center;text-indent:0;font-size:14px;padding:5px 5px 0 5px;height:19px;border-bottom:1px solid #ddd;}

/*** End Header Layout  ***/

#flash-messages{clear:both;}

/* Menu Icons */
#menu-tree		{background-position:center     0;}
#menu-chart		{background-position:center -41px;}
#menu-list		{background-position:center -82px;}
#menu-calendar	{background-position:center -123px;}
#menu-report	{background-position:center -164px;}
#menu-search	{background-position:center -205px;}
#menu-help		{background-position:center -246px;}
#menu-mymenu	{background-position:center -287px;}
#menu-clippings	{background-position:center -328px;}
#menu-indi		{background-position:center -369px;}
#menu-sour		{background-position:center -451px;}
#menu-fam		{background-position:center -410px;}
#menu-note		{background-position:center -492px;}
#menu-obje		{background-position:center -533px;}
#menu-repo		{background-position:center -574px;}
#menu-story		{background-position:center -616px;}

/* Submenu Icons */
#menu-chart-ancestry		{background-position:left -208px;} html[dir=rtl] #menu-chart-ancestry		{background-position:right -208px;}
#menu-chart-fanchart		{background-position:left  -26px;} html[dir=rtl] #menu-chart-fanchart		{background-position:right -26px;}
#menu-chart-compact 		{background-position:left  -52px;} html[dir=rtl] #menu-chart-compact		{background-position:right -52px;}
#menu-chart-descendancy		{background-position:left   -0px;} html[dir=rtl] #menu-chart-descendancy	{background-position:right  -0px;}
#menu-chart-familybook		{background-position:left -104px;} html[dir=rtl] #menu-chart-familybook		{background-position:right -104px;}
#menu-chart-hourglass		{background-position:left -130px;} html[dir=rtl] #menu-chart-hourglass		{background-position:right -130px;}
#menu-chart-tree			{background-position:left -156px;} html[dir=rtl] #menu-chart-tree			{background-position:right -156px;}
#menu-chart-lifespan		{background-position:left -182px;} html[dir=rtl] #menu-chart-lifespan 		{background-position:right -182px;}
#menu-chart-pedigree		{background-position:left -208px;} html[dir=rtl] #menu-chart-pedigree		{background-position:right -208px;}
#menu-chart-pedigree_map	{background-position:left -234px;} html[dir=rtl] #menu-chart-pedigree_map	{background-position:right -234px;}
#menu-chart-relationship	{background-position:left -260px;} html[dir=rtl] #menu-chart-relationship	{background-position:right -260px;}
#menu-chart-relationship li	{background-position:left -260px;} html[dir=rtl] #menu-chart-relationship li{background-position:right -260px;}
#menu-chart-statistics 		{background-position:left -286px;} html[dir=rtl] #menu-chart-statistics		{background-position:right -286px;}
#menu-chart-timeline		{background-position:left -312px;} html[dir=rtl] #menu-chart-timeline 		{background-position:right -312px;}
#menu-chart-timeline li		{background-position:left -312px;} html[dir=rtl] #menu-chart-timeline li	{background-position:right -312px;}

#menu-list-obje				{background-position:left -338px;} html[dir=rtl] #menu-list-obje	{background-position:right -338px;}
#menu-list-plac				{background-position:left -364px;} html[dir=rtl] #menu-list-plac	{background-position:right -364px;}
#menu-list-repo				{background-position:left -390px;} html[dir=rtl] #menu-list-repo	{background-position:right -390px;}
#menu-list-note				{background-position:left -416px;} html[dir=rtl] #menu-list-note	{background-position:right -416px;}
#menu-list-sour				{background-position:left -442px;} html[dir=rtl] #menu-list-sour	{background-position:right -442px;}
#menu-branches				{background-position:left -468px;} html[dir=rtl] #menu-branches		{background-position:right -468px;}
#menu-list-fam				{background-position:left -494px;} html[dir=rtl] #menu-list-fam 	{background-position:right -494px;}
#menu-list-indi				{background-position:left -520px;} html[dir=rtl] #menu-list-indi	{background-position:right -520px;}

/* Report Icons */
#menu-report li				{background-position:left -546px;} html[dir=rtl] #menu-report li 	{background-position:right -546px;}

/* Calendar Icons */
#menu-calendar-day 			{background-position:left -572px;} html[dir=rtl] #menu-calendar-day		{background-position:right -572px;}
#menu-calendar-month		{background-position:left -572px;} html[dir=rtl] #menu-calendar-month	{background-position:right -572px;}
#menu-calendar-year			{background-position:left -572px;} html[dir=rtl] #menu-calendar-year 	{background-position:right -572px;}

/* Search Icons */
#menu-search-general		{background-position:left -598px;} html[dir=rtl] #menu-search-general	{background-position:right -598px;}
#menu-search-soundex		{background-position:left -598px;} html[dir=rtl] #menu-search-soundex	{background-position:right -598px;}
#menu-search-advanced		{background-position:left -598px;} html[dir=rtl] #menu-search-advanced	{background-position:right -598px;}
#menu-search-replace		{background-position:left -598px;} html[dir=rtl] #menu-search-replace	{background-position:right -598px;}

/* Help Icons */
#menu-help-genealogy		{background-position:left -624px;} html[dir=rtl] #menu-help-genealogy 	{background-position:right -624px;}
#menu-help-show				{background-position:left -624px;} html[dir=rtl] #menu-help-show		{background-position:right -624px;}
#menu-help-contents			{background-position:left -624px;} html[dir=rtl] #menu-help-contents	{background-position:right -624px;}
#menu-help-hide				{background-position:left -624px;} html[dir=rtl] #menu-help-hide		{background-position:right -624px;}
#menu-help-faq				{background-position:left -624px;} html[dir=rtl] #menu-help-faq			{background-position:right -624px;}
#menu-help-wiki				{background-position:left -650px;} html[dir=rtl] #menu-help-wiki		{background-position:right -650px;}
#menu-help-technical		{background-position:left -676px;} html[dir=rtl] #menu-help-technical	{background-position:right -676px;}

/* MyPage Icons */
#menu-mypage				{background-position:left -676px;} html[dir=rtl] #menu-mypage 		{background-position:right -676px;}
#menu-myaccount				{background-position:left -676px;} html[dir=rtl] #menu-myaccount	{background-position:right -676px;}
#menu-mypedigree			{background-position:left -208px;} html[dir=rtl] #menu-mypedigree	{background-position:right -208px;}
#menu-myrecord				{background-position:left -520px;} html[dir=rtl] #menu-myrecord		{background-position:right -520px;}
#menu-admin 				{background-position:left -728px;} html[dir=rtl] #menu-admin		{background-position:right -728px;}
#menu-tree li				{background-position:left -754px;} html[dir=rtl] #menu-tree li		{background-position:right -754px;}

/* Family Icons */
#menu-fam-addchil			{background-position:left -858px;} html[dir=rtl] #menu-fam-addchil	{background-position:right -858px;}
#menu-fam-addfav			{background-position:left -832px;} html[dir=rtl] #menu-fam-addfav	{background-position:right -832px;}
#menu-fam-change			{background-position:left -858px;} html[dir=rtl] #menu-fam-change	{background-position:right -858px;}
#menu-fam-del				{background-position:left -936px;} html[dir=rtl] #menu-fam-del		{background-position:right -936px;}
#menu-fam-editraw			{background-position:left -754px;} html[dir=rtl] #menu-fam-editraw	{background-position:right -754px;}
#menu-fam-orderchil			{background-position:left -858px;} html[dir=rtl] #menu-fam-orderchil{background-position:right -858px;}

/* Clipping Icons */
#menu-clippingscart			{background-position:left -702px;} html[dir=rtl] #menu-clippingscart{background-position:right -702px;}
#menu-clippingsadd 			{background-position:left -702px;} html[dir=rtl] #menu-clippingsadd {background-position:right -702px;}

/* Edit Icons */
#menu-indi-editraw	{background-position:left -754px;} html[dir=rtl] #menu-indi-editraw	{background-position:right -754px;}
#menu-indi-addname	{background-position:left -780px;} html[dir=rtl] #menu-indi-addname	{background-position:right -780px;}
#menu-indi-editsex	{background-position:left -780px;} html[dir=rtl] #menu-indi-editsex	{background-position:right -780px;}
#menu-indi-del		{background-position:left -806px;} html[dir=rtl] #menu-indi-del		{background-position:right -806px;}
#menu-indi-addfav	{background-position:left -832px;} html[dir=rtl] #menu-indi-addfav 	{background-position:right -832px;}

/* Edit Notes */
#menu-note-addfav	{background-position:left -832px;} html[dir=rtl] #menu-note-fav		{background-position:right -832px;}
#menu-note-del		{background-position:left -806px;} html[dir=rtl] #menu-note-del		{background-position:right -806px;}
#menu-note-edit		{background-position:left -910px;} html[dir=rtl] #menu-note-edit	{background-position:right -910px;}
#menu-note-editraw	{background-position:left -754px;} html[dir=rtl] #menu-note-editraw	{background-position:right -754px;}

/* Objects */
#menu-obje-addfav	{background-position:left -832px;} html[dir=rtl] #menu-obje-addfav	{background-position:right -832px;}
#menu-obje-del		{background-position:left -1040px;} html[dir=rtl] #menu-obje-del	{background-position:right -1040px;}
#menu-obje-edit		{background-position:left -962px;} html[dir=rtl] #menu-obje-edit	{background-position:right -962px;}
#menu-obje-editraw	{background-position:left -754px;} html[dir=rtl] #menu-obje-editraw	{background-position:right -754px;}
#menu-obje-link		{background-position:left -988px;} html[dir=rtl] #menu-obje-link	{background-position:right -988px;}
#menu-obje-linkfam	{background-position:left -494px;} html[dir=rtl] #menu-obje-linkfam	{background-position:right -494px;}
#menu-obje-link-ind	{background-position:left -520px;} html[dir=rtl] #menu-obje-link-ind{background-position:right -520px;}
#menu-obje-link-sour{background-position:left -442px;} html[dir=rtl] #menu-obje-link-sour{background-position:right -442px;}

/* Repository */
#menu-repo-addfav	{background-position:left -832px;} html[dir=rtl] #menu-repo-addfav	{background-position:right -832px;}
#menu-repo-del		{background-position:left -806px;} html[dir=rtl] #menu-repo-del		{background-position:right -806px;}
#menu-repo-edit		{background-position:left -1014px;} html[dir=rtl] #menu-repo-edit	{background-position:right -1014px;}
#menu-repo-editraw	{background-position:left -754px;} html[dir=rtl] #menu-repo-editraw	{background-position:right -754px;}

/* Source */
#menu-sour-addfav	{background-position:left -832px;} html[dir=rtl] #menu-sour-addfav	{background-position:right -832px;}
#menu-sour-del		{background-position:left -1066px;} html[dir=rtl] #menu-sour-del	{background-position:right -1066px;}
#menu-sour-edit		{background-position:left -884px;} html[dir=rtl] #menu-sour-edit	{background-position:right -884px;}
#menu-sour-editraw	{background-position:left -754px;} html[dir=rtl] #menu-sour-editraw	{background-position:right -754px;}

/* Stories */
#menu-story-sub		{background-position:left -1092px;} html[dir=rtl] #menu-story-sub	{background-position:right -1040px;}

/* families  */
#content{clear:both;padding:10px 10px 0 10px;}
#content .center a{font-size:13px;}
#content .center a.warning,#login-box span.error,#calendar-page span.error{color:#f50;}

table.header{margin:8px 0 0;padding:0 10px;width:100%;}

div.error{color:#d00;font-weight:600;}

.label,.error{font-weight:700;}

#pid{background:#FFC;color:#333;}

#footer{clear:both;width:99%;}

#index .user_messages td{border:1px #999 solid;padding:2px;}

/* Block styles */
#index_main_blocks{clear:none;float:left;width:66%;}
#index_small_blocks{clear:none;float:right;width:33%;}
#index_full_blocks{clear:none;width:100%;}
html[dir='rtl'] #index_main_blocks {float:right;}
html[dir='rtl'] #index_small_blocks {float:left;}
#index_small_blocks .name1{color:#333;}
#random_picture{text-align:center;}
#random_picture_box {width:100%;}

.small_inner_block{max-height:200px;overflow:auto;}

.block{border-radius:3px;color:#000;margin-bottom:5px;padding:1px;vertical-align:top;}
.blockcontent{border:solid #999 1px;margin-bottom:10px;margin-left:auto;margin-right:2px;overflow:auto;padding:5px;}
.blockcontent p{font-size:13px;}
.blockheader{width:100%;}

.blockh1{background-image:url(../images/left1B.png);background-repeat:no-repeat;height:24px;width:26px;}
.blockh2{background-image:url(../images/left2.png);background-repeat:repeat-x;font-size:13px;font-weight:700;}
.blockh3{background-image:url(../images/left3.png);background-repeat:no-repeat;height:24px;width:8px;}
.blockhc{padding:3px 3px 0;}
.blockhc img{padding-right:3px;}

html[dir='rtl'] .blockh1{background-image:url(../images/right1B.png);}
html[dir='rtl'] .blockh3{background-image:url(../images/right3.png);}
html[dir='rtl'] .blockhc{padding:3px 0 0 3px;}
html[dir='rtl'] .blockhc img{padding-left:3px;}

#index_title{float:left;}

#main_select,#available_select,#right_select{min-width:150px;}

.user_welcome_block table, .gedcom_block_block  table{margin:auto;}
.user_welcome_block td, .gedcom_block_block  td{width:33%;text-align:center;vertical-align:top;}

#link_change_blocks {clear:both;margin:0 auto;padding:25px 0 0 0;text-align:center;width:400px;}
#link_change_blocks span {padding:0 50px;}
#link_change_blocks span span {padding:0 3px;}

/* chart styles */
#ancestry_chart{margin-left:10px;}
#ancestry_chart table div p{font-size:90%;margin:0;}
#ancestry_chart ul{background-image:url(../images/vline.png);background-position:left top;background-repeat:repeat-y;display:block;list-style:none;margin:0 0 0 15px;padding-bottom:0;padding-right:0;padding-top:3px;}
#ancestry_chart li{list-style:none;margin:0 0 2px -13px;padding-bottom:0;padding-right:0;padding-top:0;}
#ancestry_chart li table{margin:5px 0;}

html[dir='rtl'] #ancestry_chart ul{background-position:right top;margin:0 15px 0 0;left:auto;}
html[dir='rtl'] #ancestry_chart li{margin:0;padding:0 2px 0 0;left:auto;}
html[dir='rtl'] #ancestry_chart{margin-right:10px;}

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

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


#familybook_chart {margin-left:10px; }
#familybook_chart table {border-collapse: collapse; empty-cells: show;}
#familybook_chart td {margin:0; padding:0;}
#familybook_chart h2 {text-align:center;}
#familybook_chart .line3, #familybook_chart .pvline, #familybook_chart .spacer{width: 3px}
#familybook_chart .line4 {width: 7px}
[ID^="vline"] {width:3px;}

.tdtop {vertical-align:top;}
.tdmid {vertical-align:middle;}
.tdbot, .tvertline {vertical-align:bottom;}

html[dir='rtl'] #familybook_chart{margin-right:10px;}

/*-- pedigree chart specific stylesheets --*/
#pedigree-page table.list_table {margin:0 auto;width:500px;}
.pedigree_chart_table {border:0;border-collapse:collapse;padding:0;width:100%;}
#pedigree_chart{position:relative;top:-200px;left:0;z-index:1;}
html[dir='rtl'] #pedigree_chart{left:auto;right:0;}
#pedigree_canvas {color:#999;position:absolute;top:200px;z-index:-1000;}
#pedigree_chart #childarrow, #pedigree_chart #uparrow, #pedigree_chart .shadow {position:absolute;}
#pedigree_chart #childbox {border:1px solid;background-color:white;padding:5px;position:absolute;visibility:hidden;}

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

#timeline_chart{position:relative;top:0;left:0;}

.button{width:60px;}
.center{text-align:center;}
.compact_view {cursor:url(../images/zoomin.png),n-resize;}
.compact_view p{font-size:90%;margin:0;}
.gedcom_table{border:1px solid #999;margin:0;width:99%;}

/* style needed for lightbox album icons */
#medialist-page .list_value_wrap a {background:none;}
#lb-image_edit a, #lb-image_link a, #lb-image_view a {color:#000000;padding-left:5px;}
#lb-image_link a:hover {color:red;}
.lb-menu > li:hover > ul {top:28px!important;}

/* person boxes for charts */
#index_small_blocks .person_box .pedigree_image,
#index_small_blocks .person_boxF .pedigree_image,
#index_small_blocks .person_boxNN .pedigree_image {display:inline;visibility:visible;}

.person_box{background:#ddf;border:1px solid #AAA;border-radius:3px;padding:3px;}
.person_boxF{background:#fdd;border:1px solid #AAA;border-radius:3px;padding:3px;}
.person_boxNN{background:#fff;border:1px solid #AAA;border-radius:3px;padding:3px;}
.person_box_lifespan{display:inline;border:1px solid #AAA;border-radius:3px;padding:3px;}

/* families tab person box */
#relatives_content .person_box > .person_box,#relatives_content .person_boxF > .person_boxF,#relatives_content .person_boxNN > .person_boxNN{border:none;min-height:50px;}

.action_headerF{background:#FDD;}
.action_header{background:#DDF;}

.list_table{margin:0 auto;}
#branches-page table, #medialist-page .list_table, #medialist-page .list_table_controls  {margin:0 auto;}
#medialist-page .list_table_controls  {width:100%;}
.list_table_controls td {min-width:40px;padding:1px;text-align:center;}

.list_label{border:1px solid #999;border-radius:3px;font-weight:700;text-align:center;white-space:nowrap;}
.list_label_wrap{border:1px solid #999;border-radius:3px;font-weight:700;text-align:center;white-space:normal;}
.list_value{border:1px solid #999;border-radius:3px;padding:1px;text-align:left;vertical-align:top;white-space:nowrap;}
.list_value_wrap{border:1px solid #999;border-radius:3px;padding:1px;text-align:left;vertical-align:top;white-space:normal;}

html[dir=rtl] .list_value, html[dir=rtl] .list_value_wrap{text-align:right;}

.tabs_table{max-width:98%;}

.facts_table,.facts_table_rtl{width:100%;}
.facts_label .submenu a{background:#fff;color:#000;}
.facts_label{border:1px solid #999;border-radius:3px;padding:4px;text-align:center;width:20%;}
.facts_label02,.facts_label03{border-radius:3px;font-weight:700;padding:4px;text-align:center;}
.facts_value{border:1pt solid #999;border-radius:3px;padding:4px;}
.facts_value02{background:#fff;border:1pt solid #ddd;padding:5px;}
.facts_labelred,.facts_labelblue{background:#9df;padding:4px;text-align:center;width:20%;}
.facts_valuered,.facts_valueblue{background:#fff;padding:4px;}
.facts_labelblue,.facts_valueblue{border:solid #00f 2px;}
.quickfacts a {font-size:9px;padding:0 3px;}

.tab_cell_active{border-right:1pt solid #999;font-size:10px;padding:2pt;text-align:center;width:20%;}
.tab_cell_inactive{background:#fff;border-right:1pt solid #ccc;border-top:none;font-size:10px;padding:2px;text-align:center;width:20%;}
.tab_active_bottom{border:none;height:5px;}
.tab_inactive_bottom{border-left:none;border-right:none;border-top:1pt solid #ccc;height:5px;}
.tab_inactive_bottom_right{border-left:none;border-right:none;border-top:1pt solid #ccc;height:5px;width:35%;}
.tab_cell_inactive_empty{background:#eee;border-right:1pt solid #ccc;border-top:none;font-size:20px;padding:2px;text-align:center;width:20%;}
.tab_cell_inactive_empty a{color:#7af;}

.name1,.name2{font-weight:700;overflow:hidden;}
a:hover .name1,a:hover .name2{color:red;font-weight:700;}

.nameZoom{font-size:14px;text-decoration:none;font-weight:700;overflow:hidden;}
a:hover .nameZoom{font-size:14px;color:red;font-weight:700;}

.details1{font-size:11px;text-decoration:none;}
.details2{color:#006;font-size:11px;font-weight:700;text-decoration:none;}
.detailsZoom{font-size:13px;text-decoration:none;}

.age{font-size:9px;}
.cal_day{float:left;font-weight:700;}
.contact_links{text-align:center;}
.current_day{font-size:16px;font-weight:700;}
.date{color:#333;}

.favorites_form{color:#FFF;font-size:14px;margin-top:1px;}
.footer{direction:ltr;text-align:center;width:99%;}
.gender_image{border:none;padding-left:3px;padding-right:3px;vertical-align:middle;}

.helpheader {}
.helpstart{color:#00f;font-size:14px;font-weight:700;text-decoration:none;}
.helptext{color:#000;}
.hit-counter{background:#000;color:#FFF;font-weight:700;}

.image{height:150px;margin-right:15px;padding:5px;}
.indent{padding-left:7px;}
.indent_rtl{padding-right:7px;}
.journal_box{border:thin solid #AAA;overflow:visible;padding:3pt;}
.largeError{color:#d00;font-size:24px;font-weight:700;}
.link{font-size:11px;text-align:center;}

.name_head{color:#333;font-size:16px;font-weight:700;line-height:2;padding:0 5px;}
.news_box{padding:5pt 5px;border-top:solid #ccc 1px;}
.news_title{color:#000;font-size:13px;font-weight:700;}
.news_date{color:#000;margin-bottom:12px;}
.parentdeath{border:thin solid #888;padding:1px;}

.pedigree_form{width:60px;}
.pedigree_image{float:left;margin:0 3px 0 0;max-height:50px;max-width:37px;}
html[dir="rtl"] .pedigree_image {float:right;margin:0 0 0 3px;}


.rtl_cal_day{direction:rtl;float:right;font-weight:700;}
.source_citations{display:none;}
.subheaders{font-size:16px;font-weight:700;margin:15px 0 0 15px;padding:10px;vertical-align:bottom;}
.sublinks_cell{background:#9be;}
.submenu{font-size:11px;white-space:nowrap;}
.submenuitem,.submenuitem_rtl,.submenuitem_hover,.submenuitem_hover_rtl{background-color:#fff;border:1px solid #ccc;height:20px;padding:3px 3px 0;white-space:nowrap;}
.theme_form {font-size:14px;margin:3px;margin-top:0;}
.thumbnail{height:auto;padding:5px;}

.person0{background:#ddf;border:outset #999 1px;border-radius:3px;vertical-align:top;}
.person1{background:#afa;border:outset #afa 1px;border-radius:3px;vertical-align:top;}
.person2{background:#faa;border:outset #faa 1px;border-width:1px;border-radius:3px;vertical-align:top;}
.person3{background:#aad;border:outset #55f 1px;border-radius:3px;vertical-align:top;}
.person4{background:#f55;border:outset #f55 1px;border-radius:3px;vertical-align:top;}
.person5{background:#5f5;border:outset #5f5 1px;border-radius:3px;vertical-align:top;}

button{border-width:1px;}
input,textarea{padding-left:0;padding-right:3px;border-width:1px;font-family:inherit;}
html[dir="rtl"] input, textarea{padding-left:10px;padding-right:0;}

.optionbox{border:solid #999 1px;border-radius:3px;font-size:12px;padding:3px;vertical-align:top;white-space:nowrap;}
.optionbox input{margin-right:5px;}
html[dir="rtl"] .optionbox input{margin-left:5px;}

.descriptionbox{border:1px solid #999;border-radius:3px;padding:3px;vertical-align:top;white-space:nowrap;}
.formField{font-size:12px;width:140px;}
.rela{opacity:0.67;}
.sex_image{border:none;height:9px;padding-left:3px;padding-right:3px;vertical-align:middle;width:9px;}
.starredname{text-decoration:underline;}
.subbar{background:#fff;border:1pt solid #ddd;border-radius:3px;font-size:11px;padding:3px;vertical-align:top;white-space:nowrap;}
.topbottombar{border-radius:3px;font-weight:700;padding:4px;text-align:center;}
.vmiddle{vertical-align:middle;}

/* Standard Markup */

.width10{width:10%;}
.width20{width:20%;}
.width25{width:25%;}
.width33{width:33%;}
.width30{width:30%;}
.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%;}

.font9{font-size:9px;}
.font11{font-size:11px;}
.font12{font-size:12px;}

/* Pending edits  */
.change_new,.nameblue{border:solid #00f 2px !important;}
.change_old,.namered{color:#000 !important;text-decoration:line-through !important;}

a.showit{color:#000;position:relative;text-decoration:none;z-index:24;}
a.showit:hover{background:#ff9;cursor:crosshair;z-index:25;}
a.showit:hover > span{background:#444;border-bottom:2px solid #000;border-left:15px outset #000;border-right:2px solid #000;border-style:outset;border-top:2px solid #000;color:#fff;display:block;font-size:15px;left:0;opacity:.85;padding:3px;position:absolute;text-align:left;top:22px;white-space:normal;width:225px;z-index:5;}

.lifespan_outer{border:solid #00f 1px;border-radius:3px;height:600px;overflow:hidden;position:relative;width:99.5%;}
.lifespan_outer a{color:#000;}
.lifespan_outer a:hover{color:red;text-decoration:none;}
.lifespan_people span:first-letter{font-size:16px;font-variant:small-caps;font-weight:700;padding:1px;}
.lifespan_people{left:-10px;position:absolute;top:-60px;width:500px;z-index:1;}
.lifespan_timeline{background:#FFF;left:-10px;position:absolute;top:-65px;width:100%;z-index:2;}

#map_nav{left:101%;position:relative;top:-484px;}
#map_type{font-size:10px;list-style:none;margin:0;padding:0;}
#map_type li{border:1px solid #000;cursor:pointer;display:block;float:left;margin-left:2px;padding:2px;text-align:center;width:70px;}
#map_type li:hover{background:#ddd;}
#map_type li.active{background:#888;color:#fff;font-weight:700;}
#map_type li.non_active{background:#fff;color:#000;font-weight:400;}

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

.ui-autocomplete-input{background:#eea;}

.ui-autocomplete{background:#fff;border:1px solid #000;padding:0;z-index:99999;list-style:none;list-style-position:outside;margin:0;max-height:200px;overflow-y:auto;}
.ui-autocomplete li{cursor:default;display:block;font:menu;line-height:14px;margin:0;overflow:hidden;padding:2px 5px;}

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

.ui-autocomplete li:nth-child(odd){background:#eee;}

.alpha_index{margin-top:10px;}
.clearfloat{clear:both;}
.execution_stats{padding:12px;text-align:center;}
.gchart{border:1px solid #999;}
.helpcontent {margin-left:10px;margin-right:10px;}
.helpcontent dt{clear:both;}
.iwstyle{width:360px;}
.line1,.line2,.line3{vertical-align:bottom;}
.line4{vertical-align:middle;}
.line5{vertical-align:top;}
.logo{text-align:center;}
.messagebox{background:#dfeeff;border-radius:3px;}
.nam a:hover{color:red;}
.nav_content{padding:0;width:100%;}
.note_details,a.showit > span{display:none;}
.nowrap,.tag_cloud a{white-space:nowrap;}
.pedigree_table,dl{margin:0;}
.place{padding-top:5px;}
.statistics_chart{text-align:center;}
.wrap{white-space:normal;}

#pending h2{margin-bottom:20px;text-align:center;}
#pending h3{margin-top:20px;text-align:center;}

#my-page h1{margin-bottom:10px;}

.charts_block .person_box,.charts_block .person_boxF,.charts_block .person_boxNN,
.gedcom_favorites_block,.user_favorites_block,
#ancestry_chart .person_box,#ancestry_chart .person_boxF,#ancestry_chart .person_boxNN,
#descendancy_chart .person_box,#descendancy_chart .person_boxF,#descendancy_chart .person_boxNN,
#family-table .person_box,#family-table .person_boxF,#family-table .person_boxNN,#familybook_chart .person_box,#familybook_chart .person_boxF,#familybook_chart .person_boxNN,
#hourglass_chart .person_box,#hourglass_chart .person_boxF,#hourglass_chart .person_boxNN,
#pedigree_chart .person_box,#pedigree_chart .person_boxF,#pedigree_chart .person_boxNN,
#relatives_content .person_box,#relatives_content .person_boxF,#relatives_content .person_boxNN,
#relationship_chart .person_box,#relationship_chart .person_boxF,#relationship_chart .person_boxNN{overflow:visible !important;}
.person_box_template .style1 {overflow:hidden;}
.person_box_template .style0 {padding: 2px;}
.person_box_template .noprint { width:25px;height:50px; position:relative;}
.person_box_template .chart_textbox {height:auto;overflow: hidden;}
.person_box_template  .details div {display:block;}

.gedcom_favorites_block .person_box .details2,.gedcom_favorites_block .person_boxF.details2,.gedcom_favorites_block 
.person_boxNN.details2,.user_favorites_block .person_box .details2,.user_favorites_block .person_boxF.details2,.user_favorites_block .person_boxNN.details2{min-height:40px;}

/* ============= Statistics block ============ */
.gedcom_stats_block table td {vertical-align:top;}
.gedcom_stats_block table td td {vertical-align:middle;}
.gedcom_stats_block td .stats_value {text-align:center;}

/* ======= Favourites block ========== */
.user_favorites_block .person_box, .gedcom_favorites_block .person_box {margin:5px 0;}
.add_fav_head {font-weight:900;margin:5px 0;}
.add_fav_head i {margin:0 5px 1px 5px;}
.add_fav_ref p {margin:5px 0;}
.add_fav_ref label {display:inline-block;min-width:100px;}
.add_fav_ref label:after {content:":";}
.add_fav_ref input {margin:0 5px;}

#branches-page table{margin:auto;}
#branches-page p{margin:10px;}

#medialist-page select{min-width:38px;}

#field_table select{min-width:100px;}

/* login.php  */
#login-register-page h2,#login-box,#register-box{text-align:center;}

#login-register-page .warning{margin:20px auto;text-align:center;}
#login-register-page .back{font-size:14px;font-weight:700;text-align:center;}
#login-register-page .confirm{margin:20px auto;text-align:justify;width:500px;}
#login-register-page .confirm p{font-size:14px;font-weight:700;}
#login-register-page .confirm p+p{font-size:12px;font-weight:400;}

#login-text,#register-text,#user-verify{margin:20px auto;text-align:justify;width:610px;}

#login-form,#new_passwd_form,#register-form,#verify-form{border:1px solid #999;border-radius:3px;display:inline-block;margin:10px auto 0;padding:5px;}
#login-form div,#login-form div a,#new_passwd_form div,#register-form div,#verify-form div{margin:auto;padding:5px;text-align:center;}
#login-form label,#new_passwd_form label,#verify-form label{display:block;text-align:right;}
#login-form label input,#new_passwd_form label input,#verify-form input{margin:0 10px;width:140px;}

#new_passwd_form h4{font-weight:400;text-align:center;}

#register-form div,#verify-form div{text-align:right;}
#register-form label input{margin:0 10px;width:220px;}
#register-form textarea{margin:0 10px;width:220px;}
#register-form label select{margin:0 10px;width:225px;}
#register-form textarea{vertical-align:top;width:212px;}
#register-form div#registration-submit{text-align:center;}
#register-form h4{font-weight:400;text-align:center;}

html[dir='rtl'] #login-form label,html[dir='rtl'] #new_passwd_form label,html[dir='rtl'] #register-form label,html[dir='rtl'] #verify-form label{text-align:left;}

/* reportengine.php */
#reportengine-page table{margin:20px auto;}
#reportengine-page .report-type{margin:auto;overflow:hidden;width:180px;}
#reportengine-page .report-type div{float:left;margin:0 20px;}
#reportengine-page .report-type p{margin:0;text-align:center;}

.itr{line-height:1.5;position:absolute;}
.itr:hover .popup{display:block;position:absolute;right:0;width:12em;z-index:10;}

.block .itr,#family-table .itr,#ancestry_chart .itr,#descendancy_chart .itr,#familybook_chart .itr,#hourglass_chart .itr,#relatives_content .itr{position:relative;top:0;}

.popup{display:none;}
.popup ul {background-image:none !important;font-size:9px;list-style:none;margin:0;padding:0 10px;}
.popup  li {padding:1px 5px;}
.popup  li span {padding:0 5px;}
.popup  li ul, .popup  li ul li, .popup  li span span {padding:0;}
.itr:hover .popup {display:block;position:absolute;width:12em;right:0;z-index:9999;}
html[dir='rtl'] .itr:hover .popup {left:0;right:auto;}

/* FindFacts pop-up */
#layDefinedTags,#tabDefinedTagsShow{width:450px;}
#tabDefinedTags{border-collapse:collapse;width:430px;}
#layDefinedTags{border:inset 2px buttonface;height:285px;margin-left:auto;margin-right:auto;overflow:auto;}
#tabDefinedTags th,#tabDefinedTags td{border:solid 1px #000;margin:0;padding:3px;}
#tabDefinedTags tbody th{font-weight:700;text-align:left;}
#tabDefinedTags tr.sel{background-color:#D1D9EF;color:#888;}
#tabDefinedTags tr.unsel{background-color:#fff;color:#888;}

#tabDefinedTagsShow,#tabFilterAndCustom,#tabAction{margin-left:auto;margin-right:auto;}
#tabDefinedTagsShow td,#tabAction td{text-align:center;width:50%;}

/* FAQ table  */
table.faq{background-color:#eee;margin:5px 0 15px 5px;width:98%;}
table.faq tr.odd td{background-color:#eee;}

div.faq_title{background-color:#eee;font-weight:700;margin:1em 0;padding:.25em;width:98%;}
div.faq_body{clear:both;margin:1em 0;padding:.5em;}

.faq_italic{font-size:12px;font-style:italic;font-weight:700;padding:0 10px;}
.faq_top,.faq_edit{float:right;}

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

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

/* Find special characters  */
.largechars{font-family:monospace;font-size:200%;}

/* edit, copy, delete links  */
.editfacts{clear:left;padding-top:15px;}

/* container for next two links  */
.editlink,.copylink,.deletelink{float:left;}
span.link_text{display:none;}

html[dir='rtl'] .editlink, html[dir='rtl'] .copylink, html[dir='rtl'] .deletelink{float:right;}

/* Indi header */
.field .editlink,.field .deletelink,.field .copylink{float:right;}

html[dir='rtl'].field  .editlink, html[dir='rtl'].field  .deletelink {float:left;}

#dates{color:#333;float:right;}

#indi_header{border-radius:3px;float:left;margin:5px 0;padding:10px;width:98%;}
#indi_header a{color:#337;font-size:0.75em;font-weight:400;}
#indi_header a:hover{color:red;}
#indi_header h3 .details1{font-size:1em;}
#indi_header h3 .header_age{float:right;font-size:65%;font-weight:400;padding:5px 0 5px 5px;}
#indi_header h3{color:#777;font-size:90%;font-weight:700;margin:0;padding:0 10px 0 30px;text-align:left;}
#indi_header h3 a{display:inline;}
#indi_header h3.name_one{font-size:1.5em;overflow:hidden;position:relative;}
#indi_header h3.person_box,#indi_header h3.person_boxF,#indi_header h3.person_boxNN{border:1px solid #999;}

#indi_mainimage{float:left;}
#indi_mainimage a img{float:left;padding:0;}

.indi_name_details{margin:0;overflow:hidden !important;padding:5px;}
.indi_name_details .name1{font-weight:normal;}
#indi_header a.warning{color:red;font-size:1em;}
.indi_name_details dt:after{content:":";}

#indi_note{margin:0 0 5px;}
#indi_note .note_details{font-size:100%;}
#indi_note .fact_SOUR a{font-size:100%;margin:3px 0;}
#indi_note .fact_NOTE{float:left;margin:0 5px 0 0;}
#indi_note .fact_SOUR{margin:3px 0;}

#header_accordion1,#sex,dd .editlink,dd .deletelink{float:right;}
#main_name{color:#555;float:left;font-size:2em;font-weight:700;margin:10px;}

.indi_table{clear:left;}

html[dir='rtl'] #dates{float:left;}
html[dir='rtl'] #indi_header h3 .header_age{padding:5px 5px 5px 0;float:left;}
html[dir='rtl'] #sex{float:left;}
html[dir='rtl'] dd .editlink, html[dir='rtl']  dd .deletelink {float:left;}
html[dir='rtl'] #header_accordion1{float:left;}
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_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'] #main_name{float:right;}
html[dir='rtl'] .indi_table{clear:right;}

/* General sprite */
.male_gender,.female_gender,.unknown_gender,.editicon,.copyicon,.deleteicon{background:url(../images/general_sprite.png) no-repeat left 0;background-color:transparent;display:block;}
.editicon{background-position:-40px -32px;height:16px;width:24px;}
.copyicon{background-position:-70px -32px;height:16px;width:24px;}
.deleteicon{background-position:-100px -32px;height:16px;width:24px;}
.female_gender{background-position:-45px 3px;width:24px;}
.male_gender{background-position:-72px 3px;width:24px;}
.unknown_gender{background-position:-100px 4px;width:24px;}

/*  Indi tabs  */
/* Facts & Events */
#personal_facts_content .fact_NOTE,#personal_facts_content .fact_SOUR,#family-table .fact_NOTE,#family-table .fact_SOUR{clear:both;margin:5px 3px 5px 0;}

#media-display-image{float:left;}
#media-display-title{float:left;font-style:italic;margin:10px;}

/* jquery-ui.custom.css changes  */
span.link_text{display:none;}
.ui-accordion .ui-accordion-content {margin-top:1px;overflow:visible;padding:0 5px;}
.ui-accordion .ui-accordion-header{margin-top:0;text-align:center;}
.ui-accordion .ui-accordion-header a{padding:2px;}
.ui-helper-reset{line-height:1.5;}
.ui-tabs .ui-tabs-panel{padding:1em 0;}
.ui-tabs{padding:0;}
.ui-state-active,.ui-widget-content .ui-state-active{border:0 solid #999;color:#000;font-weight:400;outline:none;}
.ui-state-highlight a{color:red;}
.ui-widget-header{border:1px solid #fff;font-weight:400;}
.ui-state-default .ui-icon,.ui-state-active .ui-icon{background-image:url(../../../js/jquery/css/images/ui-icons_222222_256x240.png);}
.us-state-hover a,.ui-state-hover a:hover,.ui-state-default a:link {color:#000;}

html[dir='rtl'] .ui-accordion .ui-accordion-header .ui-icon{right:0.5em;}
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-dialog-title{float:right;}
html[dir='rtl'] .ui-dialog-titlebar-close{left:.3em;right:auto;}

/* jQuery over-rides */
#loading{text-align:center;}
.dt-clear{clear:both;}
.odd{background-color:#fafafa;}
.even{background-color:#fff;}
.css_right{float:left;}

.fg-button{padding:2px 6px;}
.fg-toolbar button{margin:2px;padding:1px 6px;}

.recent_changes_block .dataTables_info,.upcoming_events_block .dataTables_info,.todays_events_block .dataTables_info,.todo_block .dataTables_info,.yahrzeit_block .dataTables_info{padding:0;}

.upcoming_events_block .dataTables_info,.todays_events_block .dataTables_info{padding:2px 0 0;}
.upcoming_events_block button,.todays_events_block button{margin:5px 20px;}

.dataTables_filter{float:right;margin:4px;}
.dataTables_length{float:right;}
.dataTables_length select,.dataTables_filter input{font-size:11px;padding:1px;}
.DataTables_sort_wrapper{margin:0 20px;position:relative;}
.DataTables_sort_wrapper span{left:0;margin-left:-20px;margin-top:-8px;position:absolute;top:50%;}
.dataTables_paginate,.dataTables_processing,.dataTables_info{float:left;margin:5px;}

html[dir='rtl'] .css_right{float:right;}
html[dir='rtl'] .dataTables_paginate{float:right;}
html[dir='rtl'] .dataTables_processing{float:right;}
html[dir='rtl'] .dataTables_filter {float:left;}
html[dir='rtl'] .dataTables_info{float:right}
html[dir='rtl'] .dataTables_length{float:left;}
html[dir='rtl'] .DataTables_sort_wrapper{margin-right:20px;}
html[dir='rtl'] .DataTables_sort_wrapper span{left:auto;right:0;margin-right:-20px;}

/*  List styles */

.source-list,.note-list,.repo-list,.media-list,.indi-list,.fam-list{margin:5px auto;visibility:hidden;width:98%;}
.source-list table,.note-list table,.repo-list table,.media-list table,.indi-list table,.fam-list table{width:100%;}
.source-list td,.note-list td,.repo-list td,.media-list td,.indi-list td,.fam-list td,.recent_changes_block td,.upcoming_events_block,.surname-list td,.givn-list td{padding:2px 5px;}
.source-list th,.note-list th,.repo-list th,.media-list th,.indi-list th,.fam-list th,.recent_changes_block th,.upcoming_events_block th,
.todays_events_block th,.todo_block th,.yahrzeit_block th,.surname-list th,.givn-list th{cursor:pointer;white-space:nowrap;}
.source-list th:last-child,.note-list th:last-child,.repo-list th:last-child{margin:0 -2px 1px 1px;padding:3px 0 4px;width:24px;}
.surname-list,.givn-list{margin:5px auto;}
.surname-list td{vertical-align:top;}

.indi-list td,.fam-list td{color:#555;}
.indi-list .stats,.fam-list .stats{margin:0 auto;width:auto;}

.givn-list th{padding:2px;text-align:center;}

#source-details h2,#sourcelist-page h2,#note-details h2,#notelist-page h2,#repo-details h2,#repolist-page h2,#media-details h2,#medialist-page h2,#stats-details h2{margin-bottom:20px;text-align:center;}
#source-tabs,#note-tabs,#repo-tabs,#media-tabs{margin:auto;visibility:hidden;width:80%;}
#stats-tabs{margin:auto;visibility:hidden;width:90%;}
#source-edit,#note-edit,#repo-edit,#media-edit{overflow-x:auto;}

.media-list td img{display:block;height:40px;margin:3px auto;}

.filtersH,.filtersF{margin:4px;}
.filtersH img{margin-bottom:2px;}
.filtersH .ui-state-default,.filtersF .ui-state-default{margin:0 2px;padding:2px;}

.loading-image{background:transparent url(../images/loading.gif) 50% 50% no-repeat;height:50px;margin:50px;}

.search_hit{background:#FF0;color:#000;}
.search_item{font-weight:600;}
.search-icon{height: 17px;vertical-align:top;}

#firstfocus{font-size:12px;width:330px;}
#search-result-tabs,#places-tabs{margin:auto;visibility:hidden;width:98%;}
#searchAccordion-indi,#searchAccordion-fam,#searchAccordion-source,#searchAccordion-note{margin:auto;width:99%;}
#search-result-tabs h3,#place-hierarchy h2,#place-hierarchy h4{text-align:center;}

html[dir='rtl'] .source-list th:last-child, html[dir='rtl'] .note-list th:last-child, html[dir='rtl'] .repo-list th:last-child{margin:0 1px 1px -2px;}

/* Sidebar  */
#indi_left{float:left;width:98%;}
#main{min-width:600px;width:100%;}
#separator{background-image:url(../images/general_sprite.png);background-position:-26px 100px;background-repeat:no-repeat;border:1px solid #999;border-top-left-radius:3px;border-top-right-radius:3px;display:block;float:right;margin-top:5px;max-width:10px;min-width:6px;width:0.75%;}
#sidebar{display:none;height:auto;border-radius:3px;border-color:#ddd;margin:5px 2px 0 0;}
#tabs{background-color:#fff;float:left;overflow:visible;width:100%;border-color:#DDD;}

.sidebar-at-right #sidebar{width:20%;}
.use-sidebar #separator{background-image:url(../images/general_sprite.png);background-position:-1px 100px;background-repeat:no-repeat;}
.use-sidebar #indi_left{width:77%;}
.use-sidebar #sidebar{display:block;}
.use-sidebar.sidebar-at-right #sidebar,.sidebar-at-right #separator {float:right;}

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

/* Sidebar content items */
/* Family navigator */
#sb_content_family_nav{padding:0;}
#sb_family_nav_content{margin-top:8px;}

.flyout{color:#000;margin-top:-20px;padding:3px;right:210px;text-align:left;}
.flyout2{background:#fff;border:1px solid #ccc;color:#000;left:40px;margin-top:-2px;padding:3px;text-align:left;}
.flyout2 a:hover{color:#2f416f;text-decoration:underline !important;}
.flyout3,.flyout3 a{background:none;border:none;left:0;margin-top:0;padding:0;text-align:left;text-decoration:none;}
.flyout4{color:#000;margin-left:0;margin-top:0;padding:3px;text-align:left;}

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

#sb_desc_content{font-size:0.8em;margin-left:3px;}
#sb_desc_content ul{margin:0;padding:0;}

.desc_tree_div ul{margin-left:10px;margin-right:0;margin-top:0;padding:0;}
.sb_desc_indi_li{list-style-type:none;}

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

.sb_indi_surname_li,.sb_fam_surname_li{list-style-image:url(../images/plus.png);}

/* Extra Info  */
#sb_content_extra_info{font-size:80%;font-weight:700;margin-top:1px;overflow:hidden;padding:5px;}
#sb_content_extra_info .editfacts{float:right;margin-top:-30px;}
#sb_content_extra_info #hitcounter{border-top:1px solid #bcd;font-weight:700;padding-top:5px;}
#sb_content_extra_info a{display:block;}
#sb_content_extra_info span{font-weight:400;}
#sb_content_extra_info span a{display:inline;}

/* find.php   */
#find-page h3,#find-page h4{margin:10px;text-align:center;}
#find-header{border:1px solid #999;border-radius:3px;margin:10px auto;padding:5px 20px;width:50%;}
#find-header p{margin:5px;text-align:center;}

#find-output,#find-output-special{border:1px solid #999;border-radius:3px;margin:20px 5px;padding:10px;}
#find-output p{border-top:1px solid #999;font-weight:700;margin:0;padding-top:10px;text-align:center;}

#find-media{border:1px solid #999;border-radius:3px;color:#fff;padding:5px;text-align:center;}
#find-media span{border:0;font-weight:700;margin:auto;padding:5px;}

.find-media-dirs{border-bottom:1px solid #999;padding:3px;}
.find-media-media{border:1px solid #999;margin:1px;overflow:hidden;padding:2px;}
.find-media-thumb{clear:left;float:left;}
.find-media-thumb img{width:50px;}

#find-output .find-media-details p{border:0;font-weight:400;padding:0 5px 2px;text-align:left;}
#find-output .find-media-details div span{font-weight:400;padding:0 5px 2px;}

.find-media-details ul{list-style-type:none;margin:0 20px 10px;padding:0;}

#find-facts-header .list_label{text-align:inherit;}
#find-header span,#find-output p.find-media-title{font-weight:700;}

/* search.php  */
#search-page h2,#search_submit{margin:20px;text-align:center;}
#search-page-table{border:1px solid #999;border-radius:3px;margin:20px auto 0;width:580px;}
#search-page-table .label{float:left;font-weight:700;padding:5px 10px 0;width:150px;}
#search-page-table .value{background-color:#ECF5FF;border-top:1px solid #999;color:#333;margin:0 0 0 170px;padding:5px;white-space:nowrap;}
#search-page-table div:nth-of-type(2){border:0;}
#search-page-table label,#search-page-table .value input{margin:0 3px;}
#sb_content_descendancy,#sb_content_individuals,#sb_content_families,#sb_content_clippings{margin-top:5px;}

.desc_tree_div,.name_tree_div{display:none;}
.name_tree_div li,.name_tree_div_visible li,#sb_clippings_content li{list-style:none;margin:0;padding:0;}
.name_tree_div ul,.name_tree_div_visible ul,#sb_clippings_content ul{margin:0;padding:0;}

html[dir='rtl'] #sb_content_extra_info .editfacts,.find-media-details{float:left;}
html[dir='rtl'] #search-page-table .label{float:right;}
html[dir='rtl'] #search-page-table .value{margin:0 170px 0 0;}

/*  edituser.php  */
#edituser-page h2, #edituser_submit {margin:20px;text-align:center;}
#edituser-table {border:1px solid #999;border-radius:3px;margin:20px auto 0;width:800px;}
#edituser-table .label{float:left;font-weight:700;padding:5px 10px 0;width:240px;white-space:nowrap;}
#edituser-table .value {background-color:#ECF5FF;border-top:1px solid #999;color:#333;margin:0 0 0 260px;padding:5px;}
#edituser-table .label span{margin:0 10px;}
#edituser-table div:nth-of-type(2){border:0;}
#edituser-table select{margin:0;}
html[dir='rtl'] #edituser-table .label{float:right;}
html[dir='rtl'] #edituser-table .value {margin:0 260px 0 0;}

@media print{
	form,button,input{display:none;}
	#header select,#header input,#footer select,#backprint, #sidebar{display:none;}
	#header,#footer,.noprint{display:none!important;}
	#CB_All{display:none;}
	.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;}
}

/* Icons */
[class^="icon-"],[class*=" icon-"]{display:inline-block;vertical-align:middle;background-repeat:no-repeat;}
.icon-add{width:14px;height:15px;background-image:url(../images/add.png);}
.icon-admin{width:22px;height:22px;background-image:url(../images/admin.png);}
.icon-bing{width:16px;height:16px;background-image:url(../images/bing.png);}
.icon-button_addmedia{width:18px;height:16px;background-image:url(../images/buttons/addmedia.png);}
.icon-button_addnote{width:17px;height:15px;background-image:url(../images/buttons/addnote.png);}
.icon-button_addrepository{width:15px;height:15px;background-image:url(../images/buttons/addrepository.png);}
.icon-button_addsource{width:18px;height:16px;background-image:url(../images/buttons/addsource.png);}
.icon-button_calendar{width:19px;height:15px;background-image:url(../images/buttons/calendar.png);}
.icon-button_family{width:14px;height:15px;background-image:url(../images/buttons/family.png);}
.icon-button_find_facts{width:20px;height:20px;background-image:url(../images/buttons/find_facts.png);}
.icon-button_head{width:12px;height:18px;background-image:url(../images/buttons/head.png);}
.icon-button_indi{width:11px;height:15px;background-image:url(../images/buttons/indi.png);}
.icon-button_keyboard{width:30px;height:15px;background-image:url(../images/buttons/keyboard.png);}
.icon-button_media{width:18px;height:16px;background-image:url(../images/buttons/media.png);}
.icon-button_note{width:17px;height:15px;background-image:url(../images/buttons/note.png);}
.icon-button_place{width:15px;height:15px;background-image:url(../images/buttons/place.png);}
.icon-button_repository{width:15px;height:15px;background-image:url(../images/buttons/repository.png);}
.icon-button_source{width:18px;height:16px;background-image:url(../images/buttons/source.png);}
.icon-cfamily{width:32px;height:32px;background-image:url(../images/cfamily.png);}
.icon-childless{width:25px;height:25px;background-image:url(../images/childless.png);}
.icon-children{width:16px;height:16px;background-image:url(../images/children.png);}
.icon-clippings{width:32px;height:32px;background-image:url(../images/clippings.png);}
.icon-darrow{width:20px;height:20px;background-image:url(../images/darrow.png);}
a.icon-darrow:hover{width:20px;height:20px;background-image:url(../images/darrow2.png);}
.icon-ddarrow{width:20px;height:20px;background-image:url(../images/ddarrow.png);}
.icon-default_image_F{width:99px;height:106px;background-image:url(../images/silhouette_female.png);}
.icon-default_image_M{width:99px;height:99px;background-image:url(../images/silhouette_male.png);}
.icon-default_image_U{width:100px;height:97px;background-image:url(../images/silhouette_unknown.png);}
.icon-edit_indi{width:22px;height:22px;background-image:url(../images/edit_indi.png);}
.icon-fam-list{width:32px;height:32px;background-image:url(../images/sfamily.png);}
.icon-googlemaps{width:16px;height:16px;background-image:url(../images/googlemaps.png);}
.icon-help{cursor:help;width:15px;height:15px;background-image:url(../images/help.png);}
.icon-indi-list{width:32px;height:32px;background-image:url(../images/indis.png);}
.icon-indis{width:22px;height:25px;background-image:url(../images/mypage.png);}
.icon-larrow{width:20px;height:20px;background-image:url(../images/larrow.png);}
a.icon-larrow:hover{width:20px;height:20px;background-image:url(../images/larrow2.png);}
.icon-ldarrow{width:20px;height:20px;background-image:url(../images/ldarrow.png);}
.icon-lifespan-chunk{width:50px;height:37px;background-image:url(../images/lifespan-chunk.png);}
.icon-loading-small{width:16px;height:16px;background-image:url(../images/indicator.gif);}
.icon-loading-large{width:32px;height:32px;background-image:url(../images/loading.gif);}
.icon-lsdnarrow{width:48px;height:48px;background-image:url(../images/lifespan-down.png);}
.icon-lsltarrow{width:48px;height:48px;background-image:url(../images/lifespan-left.png);}
.icon-lsrtarrow{width:48px;height:48px;background-image:url(../images/lifespan-right.png);}
.icon-lsuparrow{width:48px;height:48px;background-image:url(../images/lifespan-up.png);}
.icon-mapquest{width:16px;height:16px;background-image:url(../images/mapquest.png);}
.icon-media{width:32px;height:32px;background-image:url(../images/media.png);}
.icon-media-list{width:32px;height:32px;background-image:url(../images/media.png);}
.icon-media-next{width:20px;height:20px;background-image:url(../images/rdarrow.png);}
.icon-media-play{width:20px;height:20px;background-image:url(../images/rarrow.png);}
.icon-media-prev{width:20px;height:20px;background-image:url(../images/ldarrow.png);}
.icon-media-shuffle{width:10px;height:10px;background-image:url(../images/reorder.png);}
.icon-media-stop{width:20px;height:20px;background-image:url(../images/stop.png);}
.icon-minus{width:11px;height:11px;background-image:url(../images/minus.png);}
.icon-mypage{width:22px;height:25px;background-image:url(../images/mypage.png);}
.icon-note{width:33px;height:35px;background-image:url(../images/notes.png);}
.icon-note-list{width:33px;height:35px;background-image:url(../images/notes.png);}
.icon-patriarch{width:32px;height:32px;background-image:url(../images/patriarch.png);}
.icon-pedigree{width:22px;height:25px;background-image:url(../images/icon-pedigree.png);}
.icon-place{width:32px;height:17px;background-image:url(../images/place.png);}
.icon-plus{width:11px;height:11px;background-image:url(../images/plus.png);}
.icon-rarrow{width:20px;height:20px;background-image:url(../images/rarrow.png);}
a.icon-rarrow:hover{width:20px;height:20px;background-image:url(../images/rarrow2.png);}
.icon-rdarrow{width:20px;height:20px;background-image:url(../images/rdarrow.png);}
.icon-reminder{width:15px;height:12px;background-image:url(../images/reminder.png);}
.icon-remove{width:16px;height:16px;background-image:url(../images/delete.png);}
.icon-repo-list{width:22px;height:22px;background-image:url(../images/repository.png);}
.icon-repository{width:22px;height:22px;background-image:url(../images/repository.png);}
.icon-resn-confidential{width:16px;height:16px;background-image:url(../images/resn_confidential.png);}
.icon-resn-locked{width:16px;height:16px;background-image:url(../images/resn_locked.png);}
.icon-resn-none{width:16px;height:16px;background-image:url(../images/resn_none.png);}
.icon-resn-privacy{width:16px;height:16px;background-image:url(../images/resn_privacy.png);}
.icon-rings{width:9px;height:11px;background-image:url(../images/rings.png);}
.icon-search{width:16px;height:16px;background-image:url(../images/go.png);}
.icon-selected{width:12px;height:12px;background-image:url(../images/selected.png);}
.icon-sex_f_15x15{width:15px;height:15px;background-image:url(../images/sex_f_15x15.png);}
.icon-sex_f_9x9{width:9px;height:9px;background-image:url(../images/sex_f_9x9.png);}
.icon-sex_m_15x15{width:15px;height:15px;background-image:url(../images/sex_m_15x15.png);}
.icon-sex_m_9x9{width:9px;height:9px;background-image:url(../images/sex_m_9x9.png);}
.icon-sex_u_15x15{width:15px;height:15px;background-image:url(../images/sex_u_15x15.png);}
.icon-sex_u_9x9{width:9px;height:9px;background-image:url(../images/sex_u_9x9.png);}
.icon-sfamily{width:22px;height:22px;background-image:url(../images/icon-sfamily.png);}
.icon-source{width:32px;height:32px;background-image:url(../images/source.png);}
.icon-source-list{width:32px;height:32px;background-image:url(../images/source.png);}
.icon-target{width:15px;height:15px;background-image:url(../images/buttons/target.png);}
.icon-terraserver{width:16px;height:16px;background-image:url(../images/terraserver.png);}
.icon-tree{width:20px;height:20px;background-image:url(../images/gedcom.png);}
.icon-uarrow{width:20px;height:20px;background-image:url(../images/uarrow.png);}
a.icon-uarrow:hover{width:20px;height:20px;background-image:url(../images/uarrow2.png);}
.icon-udarrow{width:20px;height:20px;background-image:url(../images/udarrow.png);}
.icon-user_add{width:22px;height:25px;background-image:url(../images/user_add.png);}
.icon-warning{width:17px;height:17px;background-image:url(../images/warning.png);}
.icon-webtrees{width:100px;height:21px;background-image:url(../images/webtrees.png);}
.icon-wiki{width:16px;height:16px;background-image:url(../images/w_button.png);}
.icon-zoomin{width:25px;height:25px;background-image:url(../images/zoomin.png);}
.icon-zoomout{width:25px;height:25px;background-image:url(../images/zoomout.png);}
/* Generic MIME types */
[class^="icon-mime-"],[class*=" icon-mime-"]{width:48px;height:48px;background-image:url(../images/media/unknown.png);}
[class^="icon-mime-application-"],[class*=" icon-mime-audio-"]{}
[class^="icon-mime-audio-"],[class*=" icon-mime-audio-"]{width:48px;height:48px;background-image:url(../images/media/audio.png);}
[class^="icon-mime-image-"],[class*=" icon-mime-image-"]{}
[class^="icon-mime-text-"],[class*=" icon-mime-text-"]{}
[class^="icon-mime-video-"],[class*=" icon-mime-video-"]{}
/* Specific MIME types */
.icon-mime-application-pdf{width:48px;height:48px;background-image:url(../images/media/pdf.png);}
.icon-mime-text-html{width:48px;height:48px;background-image:url(../images/media/www.png);}

/* Edit interface pop-ups*/
#edit_interface-page h4{color:#555;margin:5px;}
#edit_interface-page .optionbox span {margin:0 5px;}
#edit_interface-page #LATI,#edit_interface-page #LONG,#edit_interface-page #SPFX,#edit_interface-page #NSFX,#edit_interface-page #NPFX {line-height:18px;margin:0 5px;width:88px;}
#edit_interface-page #GIVN,#edit_interface-page #SURN,#edit_interface-page #_MARNM{line-height:18px;margin:0 5px;width:180px;}
#edit_interface-page input[type="text"], #edit_interface-page #NAME_display{line-height:18px;margin:0 5px;vertical-align:top;width:240px;}
#edit_interface-page input[type="text"][id*="PAGE"], #edit_interface-page input[type="text"][id*="_UID"]{width:350px;}
#edit_interface-page input[type="text"][id*="SOUR"], #edit_interface-page input[type="text"][id*="REPO"],#edit_interface-page input[type="text"][id*="OBJE"],#edit_interface-page input[type="text"][id*="FAMC"],#edit_interface-page input[type="text"][id*="ASSO"],#edit_interface-page input[type="text"][id^="AGE"],#edit_interface-page input[type="text"][id*="SHARED_NOTE"]{width:70px;}
#edit_interface-page input[type="text"][id$="DATE"] {width:160px;}
#edit_interface-page input[type="text"][id^="TIME"] {width:100px;}
#edit_interface-page input[id*="TEXT"]{height:140px;width:440px;} 
#edit_interface-page textarea {margin:0 5px;width:440px;}
#edit_interface-page textarea[id*="NOTE"]{height:240px;}
#edit_interface-page textarea[id*="TEXT"], #edit_interface-page textarea[id*="PUBL"]{height:140px;}
#edit_interface-page textarea[id^="newgedrec"]{line-height:18px;width:605px;}
#edit_interface-page textarea#newgedrec1 {height:20px;}
#edit_interface-page textarea#newgedrec2 {height:364px;}
#edit_interface-page textarea[id*="ADDR"], #edit_interface-page input[id*="ADDR"]{height:80px;width:300px;}
#edit_interface-page #changefam {padding:5px;}
#edit_interface-page #changefam table{margin:10px auto;min-width:400px;max-width:650px;}
#edit_interface-page #changefam span{margin:0;}
#edit_interface-page #changefam td{padding:5px; white-space:normal;}
#edit_interface-page #changefam td.child{text-align:center;}
#edit_interface-page #changefam #save-cancel {margin:0 auto 50px auto;width:400px;}
#edit_interface-page #changefam #save-cancel .save {float:left;}
#edit_interface-page #changefam #save-cancel .cancel {float:right;}
html[dir='rtl'] #edit_interface-page #changefam #save-cancel .save {float:right;}
html[dir='rtl'] #edit_interface-page #changefam #save-cancel .cancel {float:left;}

/* Addmedia pop-ups*/
#addmedia-page input[type="text"]{line-height:18px;margin:0 5px;width:180px;}
#addmedia-page .optionbox select {margin:0 5px;}
#addmedia-page .optionbox p.sub{font-size:11px;margin:0 5px;}
#addmedia-page input[type="text"][id*="PAGE"], #addmedia-page input[type="text"][id*="_UID"]{width:350px;}
#addmedia-page input[type="text"][id*="SOUR"], #addmedia-page input[type="text"][id*="REPO"],#addmedia-page input[type="text"][id*="OBJE"],#addmedia-page input[type="text"][id*="FAMC"],#addmedia-page input[type="text"][id*="ASSO"],#addmedia-page input[type="text"][id^="AGE"],#addmedia-page input[type="text"][id*="SHARED_NOTE"]{width:70px;}
#addmedia-page input[id*="TEXT"]{height:140px;width:440px;} 
#addmedia-page textarea {margin:0 5px;width:440px;}
#addmedia-page textarea[id*="NOTE"]{height:240px;}
