/*--  
Name: Allender Family Tree Project
Version: Allender1.1 
Author: Jodi Sweere
Author URI: http://wild-type.com
--*/

/*--color scheme
deep green- #005500
brown - #562b2b
olive - #839c4d 
yellow - #fff88d
pale yellow - #f0f1d2
pale green #8b9f8b
dark terra cotta-#a3726a 
logo typeface - DeRoos, Edwardian Script ITC  
--*/

/*-----existing styles---*/
html { /* fixes page shift*/
min-height: 100%; margin-bottom: 1px; 
} 

body {
background-color:#f0f1d2;
background-image: url(img/bkg.jpg);
font-family:"Trebuchet MS", Tahoma, Arial, Helvetica, sans-serif;
color: #005500;
font-size:100%;/*sets font to browser default*/
margin: 0px auto;
padding:0px;
}

#wrap {/*for side shadow*/
background-color:transparent;
background-image: url(img/mainbkg.png);
width: 1020px;
margin:0px auto;
}


#container {/*constrains width of TNG pages*/
background:#f0f1d2;
width: 998px;
margin: 0px auto;
border-bottom: 1px #a3726a solid;
}

#container td {
margin: 15px;
padding-left: 10px;
} 

#container p {
padding-left: 15px;
}

#container form {
padding-left: 0px;
}

form #form1 {
padding-left: 0px;
}


/*-------new index page styles--*/
.mainhome {
background: transparent; 
clear: both;
width: 996px;
margin: 0px auto;
padding: 0px;
}

.content {
background: #f0f1d2; 
width: 750px;
float: right;
margin: 0px auto;
padding: 0px;
border-left: 1px solid #a3726a;
}
.sidebar {
background: transparent; 
margin-right: 760px;
padding-left: 10px;
}
.sidebar h3 {
margin: 0 0 0 15px;
font-size: 110%;
}
.sidebar form {
margin-top: -20px;
margin-left: 15px;
}

.sidebar ul {
margin: 0px auto;
padding-left: 10px;
list-style-type: none;
}
.sidebar ul li {
list-style-type: none;
}

* html .sidebar {
height: 1%;        /* prevents IE 3-px shift next to a float */
}

/* Header styles */

#title {
width:998px;
height: 180px;
background: #f0f1d2 url(img/title.png) no-repeat center;
margin: 0px auto;
padding-top: 25px;
}

#title h1 {
display: none;
font-size: 100%;
color: #b19a01;
}

.horizontal {/*horizontal menu*/
background: #f0f1d2;
width: 998px;/*same width as container*/
margin: 0px auto;
padding: 0px;
text-align: center;
}

.horizontal ul {
margin: 0px auto;
padding-bottom: 5px;
border-bottom: 1px solid #a3726a;
}

.horizontal ul li{
display: inline;}

.horizontal ul li a:link, .horizontal ul li a:active {
text-decoration:none;
color:#005500;
border-bottom:1px solid;
}

.horizontal ul li a:visited {
text-decoration:none;
border-bottom:1px #8b9f8b solid;
color:#005500;
}

.nav {/*navigation list*/
margin: 0px auto;
font-size: 95%;
}

hr {
color: #a3726a;
}

/*--leaf image link styling--*/

#leaf_menu {
background: transparent url(img/tree.png) no-repeat;
margin: 0px auto; 
padding: 0;
width:740px;
height: 645px;
z-index:1;
}

#leaf ul {
background: transparent;
margin: 0px auto; 
padding: 0;
width:800px;
}

#leaf li {
list-style-type: none;
position: absolute;
}

#leaf a {
background:transparent; 
position: absolute;
display: block; 
color: #fff88d;
font-size: 110%; 
text-decoration:none;
border-bottom: #fff88d 1px solid;
}

#leaf a#lostones { /*--was lost ones, now African American--*/
position: absolute;
top: 370px;
left:95px;
width:80px;
}

#leaf a#iowa { /*--iowa--*/
position: absolute;
left:75px;
top:275px;
}

#leaf a#ohio { /*--ohio--*/
position: absolute;
top: 130px;
left: 160px; 
}

#leaf a#ireland {/*--ireland--*/
position: absolute;
top: 130px;
left: 300px; 
}

#leaf a#maryl {/*--maryland--*/
position: absolute;
top: 200px; 
left: 400px; 
}

#leaf a#penn { /*--pennsylvania--*/
position: absolute;
top: 255px; 
left: 200px; 
}
#leaf a#movables {/*--movables--*/
position: absolute;
top: 210px; 
left: 530px; }

#leaf a#wisc {/*--wisconsin--*/
position: absolute;
left: 430px;
top: 115px;
}

#leaf a#downunder { /*--down under--*/
position: absolute;
top: 345px; 
left: 568px; 
width:99px;
}

h2 {
margin:0px;
padding-left:5px;
font-size: 110%;
color: #562b2b;
}

#main_content {
background:transparent;
width:700px;
margin:0px auto;
display: block;
}

#main_content h2 {
text-align:center;
}

h4 {
margin: 0px auto;
color:#839c4d;
font-size: 90%;
}

.clear {
clear: both;
height: 1px;
overflow: hidden;   /* prevent IE expanding the container */
 margin: 0;          /* keep flush with surrounding blocks */
}

.footer {/*index page footer*/
background: #f0f1d2;
width: 996px;
margin: 0px auto;          /* flush with .main */
font-size: 90%;
text-align: center;
margin: 0px auto;
padding-top: 5px;
padding-bottom: 5px;
border-top: 1px solid #a3726a;
}

.footer a:link, .footer a:active {
text-decoration:none;
color:#005500;
border-bottom:1px solid;
}


#footer {/*footer on TNG pages*/
clear:both;
background:#f0f1d2;
width:998px;
font-size: 90%;
text-align: center;
margin: 0px auto;
padding-top: 5px;
padding-bottom: 5px;
border-top: 1px solid #a3726a;
}

#footer a:link,  #footer a:active {
text-decoration:none;
color:#005500;
border-bottom:1px solid;
font-size:90%;
}

#footer a:visited {
text-decoration:none;
border-bottom:1px #8b9f8b solid;
color:#005500;
font-size:90%;
}

/*-----custom styles migrated from stock TNG genstyle.css------*/

li {
list-style-type: none;/*removes bullet*/
}

.normal {
font-size: 100%;
color: #005500;
}

p.normal {
font-size: 100%;
color: #005500;
}

.normal a {
color:#005500;
font-size:100%;
}

.normal li{
margin-left:5px;
margin-top:0;
margin-bottom:0;
padding-left:0.2em;
list-style-type: none;
}

span.normal {/*date on individual page*/
font-size: 100%;
}

/* header: heading text- usually the name of the page */
.header {
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 140%;
color: #562b2b;
margin-top: 0px;
padding-left: 15px;
}

/* fieldnameback: background color for column and row title sections */
.fieldnameback {
background-color:#562b2b;
/*these 2 lines added in 5.0*/
border-right:1px solid #a3726a;
border-bottom:1px solid #a3726a;
}

/* mouseoverback: background color for admin menu items while active*/
.mouseoverback {
background-color: #005500;
/*these 2 lines added in 5.0*/
border-right: 1px solid #777; 
border-bottom: 1px solid #777;
}

.whitesubhead {/*--header text on admin menu items--*/
color: #f0f1d2;
font-size: 16px;
}

/* whiteheader: heading text used on dark backgrounds (usually fieldnameback) */
.whiteheader {
color: #f0f1d2;
}

.subhead {
margin-top: 0px;
padding-left: 15px;
font-size: 110%;
font-weight: bold;
color: #839c4d;
}

/* smfieldname: small text used in conjunction with .fieldname style text */
.smfieldname {
font-size:85%;
color:#f0f1d2;
}

/* fieldname: regular text within column or row title sections */
.fieldname {
font-size: 100%;
color:#f0f1d2;
}

/* smaller: small body text */
.smaller {
font-size: 85%;
}

p.smaller { /*TNG core icons*/
padding-left: 15px;
}

.smaller a:link, .smaller a:active{
color: #005500;
text-decoration: underline;
}

.smaller a:visited {
color: #005500;
text-decoration: underline;
}

/* databack: background color for data areas */
.databack {
background-color: #f0f1d2;
border-right:1px solid #a3726a;
border-bottom:1px solid #a3726a;
border-left: 1px solid #a3726a;
}

/* sideback: background color for side and top frames */
.sideback {
background: #562b2b;
}

/* Added in 4.0.0 */
/* For links on dark background */
a.lightlink:link, a.lightlink:hover, a.lightlink:active {
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 100%;
font-weight: bold;
color: #f0f1d2;
text-decoration: underline;
}

a.lightlink:visited {
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-weight: bold;
text-decoration:none;
color:#f0f1d2;
}

/* For white-only links on dark background */
a.lightlink2:link, a.lightlink2:hover, a.lightlink2:active{
color: #f0f1d2;
text-decoration: underline;
}

a.lightlink2:visited {
text-decoration: underline;
color:#f0f1d2;
}

/*added in 5.0.0*/
/*for active secondary tab link*/
a.lightlink3:link,a.lightlink3:hover, a.lightlink3:active {
color: #f0f1d2;
text-decoration: underline;
}

a.lightlink3:visited {
text-decoration: underline;
color: #f0f1d2;
}

.lightback {
background-color: #f0f1d2;
/*these 2 lines added in 6.0.0*/
border-right: 1px solid #bbb; 
border-bottom: 1px solid #bbb;
}

a:link, a:active {
color:#005500;
text-decoration: underline;
}

a:visited {
color:#005500;
text-decoration: underline;
}

#mnav,#mnav ul {
list-style:none;
margin:0;
padding:0;
}

#mnav a {
display:block;
width:6em;
padding-top:2px;
padding-bottom:2px;
font-size: 85%;
text-decoration:none;
}

#mnav li {
float:left;
width:6em;
margin-right:2px;
background:#f0f1d2;
border-bottom:1px solid #a3726a;
border-right:1px solid #a3726a;
border-top:1px solid #f0f1d2;
border-left:1px solid #f0f1d2;
}

#mnav li ul {
border-top:1px solid #a3726a;
border-left:1px solid #a3726a;
border-right:1px solid #a3726a;
background:#f0f1d2;
position:absolute;
width:10em;
left:-999em;
}

#mnav li ul li {
border:0;
width:10em;
background:#eee;
margin-right:0;
margin-top:1px;
border-bottom:1px solid #a3726a;
}

#mnav li ul li a {
width:12em;
padding-top:2px;
padding-bottom:2px;
font-size:12px;
text-decoration: underline;
}

#mnav li:hover,#mnav li.sfhover {
background-color:#fff;
border-top:1px solid #aaa;
border-left:1px solid #aaa;
}

#mnav li:hover li,#mnav li.sfhover li {
border-top:none;
border-left:none;
}

#mnav li:hover ul,#mnav li.sfhover ul {
left:auto;
}

/*added in 6.2.0*/
.media-prev {
	top: -180px;
	right:-426px;
	height: 400px;
	padding: 20px 7px 12px;
	position:absolute;
	text-align: center;
	width: 410px;
	z-index:98;
	display:table-cell;
	line-height: 50px;
	vertical-align:middle;
}

.media-prev img {
	border: 1px solid #b3b3b3;
	display: block;
	margin:0 auto;
}

.media-img {
	height: 1px;
	margin: 0 0 0;
	position: relative;
}

* html .media-prev {
	background: url(media-prevbg.gif) no-repeat 0 0;
	width:420px;
	height:420px;
}

/*moved here from showmedia.php in 7.0.0*/
#slideshow {
	position: relative;
}

#slideshow div.slide, #slideshow div.loadingdiv {
	position: absolute;
	top: 0;
	left: 0;
}

#loadingdiv {
	position: absolute;
	background-color: white;
	padding: 20px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 21pt;
	border: solid 1px black;
	z-index: 5;
	display: none;
}

#sscontrols {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 8pt;
	padding-bottom: 8px;
}

/* added in 7.0.0 */
.tngshadow {
	border-right: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
}

.togglehead {
	text-decoration:none;
	color: #000000;
}

input.veryshortfield {
	width:100px;
}

input.shortfield {
	width:140px;
}

input.longfield {
	width:350px;
}

input.verylongfield {
	width:500px;
}


.smallest {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 8pt;
}

.dragarea {
	width:50px;
	cursor:move;
	text-align:center;
	background-color:#ddd;
	border-left: 1px solid #ccc;
	border-top: 1px solid #ccc;
	border-right: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
}

.smallicon {
	margin:0px 2px 0px 2px;
	border:0px;
}

.closelink {
	padding-right:25px;
	padding-bottom:5px;
}

.nw {
	white-space:nowrap;
}

.snlink {
	padding:4px 5px 3px 5px;
	border-bottom:1px solid #999;
	border-right:1px solid #999;
	border-top:1px solid #ddd;
	border-left:1px solid #ddd;
	background-color: transparent; /*same as "databack" background color */
	text-decoration:none;
}

a.snlink:hover, .snlinkact {
	background-color:#005500; /*same as "fieldnameback" background color */
	color:#f0f1d2;
}

/*.LB_overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #222;
	filter:alpha(opacity=70);
	-moz-opacity: 0.7;
	opacity: 0.7;
	z-index: 101;
}*/

.LB_window {
	position: absolute;
	background: #562b2b; /*same as "databack" background color */
	border: 2px solid #333366; /*same as "fieldnameback" background color */
	color:#000000;
	display:none;
	z-index:500;
	padding-top:28px;
}
/*
* html .LB_window {position:absolute;}
*/

#LB_closeWindow{
	padding:10px 25px 10px 0;
}

.LB_content{
	overflow:auto;
}

.LB_closeAjaxWindow{
	cursor: move;
	margin: 0px;
	padding:3px 0px 2px 0px;
	position:absolute;
	text-align:right;
	top: 0;
	background-color:#333366; /*same as "fieldnameback" background color */
}

.LB_closeAjaxWindow a {
	cursor: pointer;
	padding: 2px 4px 2px 2px;
}

/* The following classes were added when converting the Help screens to php file for the template look and feel */
/* subheadbold: subheading text in Help screens */
.subheadbold {
	margin-top: 0px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18pt;
	font-weight: bold;
}

/* largeheader: heading text used on dark backgrounds (usually fieldnameback) in Help screens */
.largeheader {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 36px;
	color: #FFFFFF;
}

/* optionhead: added to replace <strong> on option heading */
.optionhead {
	font-weight: bold;
}

/* helpbody: describes page background on Help screens  */
.helpbody {
	background-image: url(../background.gif);
}

.tblback {
	background-color: #FFFFFF;
}

.yellow {
	color: #FFCC33;
}

td.highlightedchild {
	border-top:1px solid gray;
	border-bottom:1px solid gray;
}

td.unhighlightedchild {
    padding-top:1px;
	padding-bottom:1px;
}