/*--------------------- Last Modified  2006.03.25 ---------------------*/
/*-----------------------------------------------------------------------*/


/* 
 ----------------------------------------------------------------------------
  Copyright Einstein Industries 2006. Used with Permission.                             
  May not be duplicated or reproduced.

  Please check for cross-browser compatibility prior to making changes
  MINIMUM BROWSER CHECK :: IE5.x/IE6/Firefox/Safari

  CSS Document - layout.css
 ---------------------------------------------------------------------------- 
*/


/* undo some default styling of common (X)HTML browsers
 * ------------------------------------------------------------------------- */

/* No list-markers by default - must redefine bullets w/ bg graphics */
ul,ol { list-style:none; }

/* Avoid browser default inconsistent heading font-sizes and pre/code */
h1,h2,h3,h4,h5,h6,pre,code,td { font-size:1em; }

/* Remove inconsistent (among browsers) default padding or margin */
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input,label,div,dd,dt,dl,table,tr,td { margin:0; padding:0; }

/* prevent blue linked image borders */
a img,:link img,:visited img,fieldset { border:none; }


/* global elements
 * ------------------------------------------------------------------------- */


/* ----- type selectors ----- */ 
body { 
	background-color: #F0F0F0;
	text-align:center; 
	font: 83% Arial, Helvetica, sans-serif;
	letter-spacing: 0.02em;
	word-spacing: 0.1em;
	color:#fff;
	}

blockquote { 
	margin-left:10px; 
	margin-right:10px; 
	}

h1	{ font-size:1.2em; color:#fff; }
h2	{ font-size:1.1em; color:#fff; }
h3	{ font-size:1.0em; color:#fff; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#fff; text-decoration:underline; outline:none;  }
a:hover,a:active	{ color:#F8EBCB; text-decoration:underline;  outline:none;}


/* navigation
 * ------------------------------------------------------------------------- */

#nav {
	background: url(../images/menu01.jpg) top left no-repeat;					
	width: 712px;
	height: 77px;
	margin: 0 69px;
}

	body.sub #nav { 
		width: 562px;
		height: 56px; 
		padding-left: 150px;
	}

	#nav span { display: none; }

	body.sub #nav span { display: inline; }

	body#recipients #nav,
	body#recipientprocess #nav,
	body#recipientfaq #nav,
	body#financing #nav,
	body#database #nav { background: url(../images/sub_menu_recipients.jpg) top left no-repeat; }

	body#donors #nav,
	body#whydonate #nav,
	body#donorprocess #nav,
	body#donorfaq #nav { background: url(../images/sub_menu_donors.jpg) top left no-repeat; }

	body#about #nav { background: url(../images/sub_menu_about.jpg) top left no-repeat; }
	body#contact #nav { background: url(../images/sub_menu_contact.jpg) top left no-repeat; }
	body#thankyou #nav { background: url(../images/sub_menu_thankyou.jpg) top left no-repeat; }
	body#sitemap #nav { background: url(../images/sub_menu_sitemap.jpg) top left no-repeat; }

#nav li {
	float: left;
	list-style: none;
	display: inline;	/* fixes IE/Win double margin float bug (safe) */
	}

	body.sub #nav li { margin: 2px 10px 0 10px; }
	
body#index #nav li, body#index #nav a { 
	height: 77px;
	display: block;
}

body#index #nav-01, body#index #nav-01 a {width: 262px;}
body#index #nav-02, body#index #nav-02 a {width: 188px;}
body#index #nav-03, body#index #nav-03 a {width: 262px;}

body#index #nav-01 a:hover {background: transparent url(../images/menu01.jpg) -0px -77px no-repeat;}
body#index #nav-02 a:hover {background: transparent url(../images/menu01.jpg) -262px -77px no-repeat;}
body#index #nav-03 a:hover {background: transparent url(../images/menu01.jpg) -450px -77px no-repeat;}

	body#contact #nav-04 a,
	body#about #nav-01 a,
	body#recipientprocess #nav-01 a,
	body#recipientfaq #nav-02 a,
	body#financing #nav-03 a,
	body#database #nav-04 a,
	body#whydonate #nav-01 a,
	body#donorprocess #nav-02 a,
	body#donorfaq #nav-03 a { color:#F8EBCB; text-decoration:none; }

#nav-secondary {
	position: absolute;
	top: 20px;
	right: 70px;
	color: #044659;
}
	#nav-secondary a { padding: 0; margin: 0; }
	#nav-secondary a:link, #nav-secondary a:visited { color: #044659; }
	#nav-secondary a:hover, #nav-secondary a:active { color: #84BAC4; }
	
/* main structural elements
 * ------------------------------------------------------------------------- */

#wrap {
	position: relative;
	background: url(../images/bg-wrap01.jpg) repeat-y;
	width: 850px; /* 760px */
	margin: 0 auto;
	text-align: left;
	}
	
	body.sub #wrap { background: transparent url(../images/sub_bg-wrap2.jpg) repeat-y; }


/* ------ onecolumn ------ */

#onecolumn {
	background: transparent url(../images/bg-onecolumn01.jpg) no-repeat;
	margin: 0 69px;
	padding: 0 32px;
	}

	body.sub #onecolumn { background: transparent url(../images/sub_bg-onecolumn.jpg) no-repeat; }

	#onecolumn h1.title {
		background: transparent url(../images/bg-onecolumn-h101.gif) no-repeat;
		height: 36px;
		margin: 0 -32px 15px -32px;
		}


/* ------ multi-columns ----- */

#multi-columns {
	margin: 0 0 0 69px;
	padding: 0;
}

	body.sub #multi-columns {
		background: transparent url(../images/sub_bg-onecolumn.jpg) no-repeat;
		margin: 0 69px;
		min-height: 218px;
		height: 100%;
	}


/* ======== debug ============ */
#column-left, #column-center, #column-right {
	/* border: 1px solid #ccc; */
	letter-spacing: 0em;
	word-spacing: 0em;
	line-height: 18px;
	}
/* =========== end debug ========== */


/* ----- all columns ---- */	
	#onecolumn p, 
	#onecolumn h1, 
	#onecolumn h2, 
	#onecolumn h3, 
	#column-left p, 
	#column-left h1, 
	#column-left h2, 
	#column-left h3, 
	#column-left ul, 
	#column-left dl, 
	#column-center p,
	#column-center h1,
	#column-center h2,
	#column-center h3,
	#column-center ul,
	#column-center dl, 
	#column-right p,
	#column-right h1,
	#column-right h2,
	#column-right h3,
	#column-right ul,
	#column-right dl{
		margin:0 0 10px 0;
		}
	#column-left form,
	#column-center font,
	#column-right font { margin-left:0px; }

	/* single column list */
	#column-left ul,
	#column-center ul, 
	#column-right ul { padding-left:5px; }
		#column-left ul li,
		#column-center ul li,
		#column-right ul li { 
			background: url("../images/bullet.jpg") 0px 3px no-repeat;
			padding-left:12px; /* pushes text to the right to display bg img */
			}

	/* multi column list */
	#column-left ul, 
	#column-center ul,
	#column-right ul { 
		padding-left:5px; 
		} 
		#column-left ul.multi li,
		#column-center ul li, 
		#column-right ul li { 
			padding-left:10px;  /* pushes text to the right to display bg img */
			float:left;
			width:150px;
			line-height:20px; 
			}


dt {
	margin-top: 4px;
	font-size: 1.1em;
	font-weight: bold;
}

dd { }

	/* definition list */
/*
	#column-left dl,
	#column-center dl,
	#column-right dl { 
		padding-left:5px; 
		}

		#column-left dl dt,
		#column-center dl dt,
		#column-right dl dt {
			font-weight:bold;
			color:#99CC00;
			}
		#column-left dl dd,
		#column-center dl dd,
		#column-right dl dd {
			padding-left:10px;
			margin-left:5px;
			}
*/
	#db dl dt {
		color: #fff;
		padding: 4px;
		border-top: 1px solid #7BACC1
		}
	#db dl dd {
		color: #F8EBCB;
		padding: 0 4px 4px 4px;
		margin: -23px 0 0 300px;
		}
	#db form {
		width: 480px;
		margin: 0;
		}
	#db form dl dd {
		margin: -23px 0 0 300px;
		}
	
	/* ---  database table  --- */

	#column-left th, #column-left td {
		border-top: 1px solid #7BACC1;
		padding: 2px 5px 4px 5px;
		/*background-color: #316878;*/
	}
	#column-left th {
		background-color: #044659;
	}
	#column-left table {
		border-spacing: 0px;
		width: 100%;
		font-size: 1.0em; 
	}
	#column-left table #birth_year a.birth_year,
	#column-left table #ethnicity a.ethnicity,
	#column-left table #height a.height,
	#column-left table #weight a.weight,
	#column-left table #hair_color_id a.hair_color_id,
	#column-left table #eye_color_id a.eye_color_id,
	#column-left table #bone_structure_id a.bone_structure_id,
	#column-left table #skin_tone_id a.skin_tone_id {
		color: #FFCE49;
	}
	
	/* --- error message --- */
	#flashMessage, .error_message {
		padding: 5px;
		line-height: 1.2em;
		font-weight: bold;
		border-width: 2px;
		border-style: solid;
		text-align: center;
		background-color: #fff;
	}
	#flashMessage {
		margin: 0 0 6px 0;
		border-color: #044659;
		color: #044659;
	}

	.error_message {
		border-color: red;
		color: red;
		width: 150px;
	}
		.error_message a, .message a {
			color: #1B8FA4;
		}
		.error_message a:hover, .message a:hover {
			color: red;
		}
	
	
	
/* ----- column-left ----- */


#column-left {
	/*background: transparent url(../images/bg-bottom-left.gif) bottom left no-repeat; */
	width: 190px;
	float: left;
	margin-left: 32px;
	display: inline;
	}

		body.sub #column-left {
			width: 480px;
			padding-top: 50px;
			margin-right: 20px;
			margin-left: 32px;
		}		

		body#recipientprocess #column-left,
		body#donorprocess #column-left  { background: transparent url(../images/the_process.gif) -0px 10px no-repeat; }
		body#recipientfaq #column-left,
		body#donorfaq #column-left { background: transparent url(../images/faqs.gif) 0px 10px no-repeat; }
		body#financing #column-left { background: transparent url(../images/financing.gif) 0px 10px no-repeat; }
		body#database #column-left { background: transparent url(../images/database.gif) 0px 10px no-repeat; }
		body#whydonate #column-left { background: transparent url(../images/why_donate.gif) 0px 10px no-repeat; }
		
		body#about #column-left,
		body#contact #column-left,
		body#sitemap #column-left,
		body#recipients #column-left,
		body#donors #column-left { 
			background-image: none; 
			padding-top: 10px;
			}

	body#index #column-left h1 {
		background: transparent url(../images/questions.gif) 0px 20px no-repeat;
		width: 180px;
		height: 64px;
		}
	body#index #column-left h1 span {
		display: none;
	}


/* ----- column-center ----- */
#column-center {
	width:208px;
	float:left;
	display: inline;
	padding-top: 70px;
	margin: 0 10px;
	font-size: 12px;
	}
	#column-center p {
		font-size: 1.1em;
		}
/* ----- column-right ----- */

#column-right {
	width: 260px;
	float: left;
	padding-left: 0;
	padding-right: 0px;
	}
	body.sub #column-right { 
		background: transparent url(../images/sub_questions.gif) 0px 0px no-repeat;
		width: 170px;
		float: right;
		padding: 50px 0 0 0;
	}

		body.sub #column-right-2 { 
		background: transparent url(../images/sub_questions_2.jpg) 0px 0px no-repeat;
		width: 170px;
		float: right;
		padding: 50px 0 0 0;
	}
	
	#column-right h1 {
		width: 180px;
		height: 64px;
		}
	#column-right h1 span {
		display: none;
	}
	#column-right p {
		font-size: 0.9em;
		padding: 0 0 0 5px;
		}
		/*

	#column-right h1 {
		width: 150px;
		height: 50px;
		background-color: #fff;
		border: 1px solid #ccc;
		margin: 67px 0 0 0;
		}
*/

 
    #browse-nav-inside a {
    	float: right;
    	display: block;
    	height: 207px;
    	width: 262px;
    	margin-top: 0px;
    	padding: 0;
    	text-align: center;
    	background: url(../images/inside-database-button.jpg) 0 -207px no-repeat;
    }
    
    #browse-nav-inside a:hover, #browse-nav a:active {
        background-position: -0px -0px;
        }
    #browse-nav-inside span {
    	display: none;
    	}
    	
    #browse-nav a {
    	display: block;
    	height: 210px;
    	width: 263px;
    	margin-top: 10px;
    	padding: 0;
    	text-align: center;
    	background: url(../images/bg-bottom-right.jpg) 0 -210px no-repeat;
    }
    
    #browse-nav a:hover, #browse-nav a:active {
        background-position: -0px -0px;
        }
    #browse-nav span {
    	display: none;
    	}
    
    #forms-button {
    	position:relative;
    	display: block;
    	height: 149px;
    	width: 228px;
    	margin-left: 19px;
    	padding: 0;
    	text-align: center;
    	background: url(../images/forms-button.gif) no-repeat;
    }
    
    #forms-button a {
         	position:absolute;
    		left:0px;
    		width:228px;
    		top:0px;
    		height:149px; 
    		}
#forms-button a span{ display:none;}

/*  seminar button on index  */
    #seminar-button {
    	position:relative;
    	display: block;
    	height: 226px;
    	width: 229px;
    	margin-left: 19px;
    	padding: 0;
    	text-align: center;
    	background: url(../images/seminars.jpg) no-repeat;
    }
    
    #seminar-button a {
	position:absolute;
	left:0px;
	width:228px;
	top:0px;
	height:215px;
    		}
#seminar-button a span{ display:none;}

/*  patient forms button on index  */
    #patient-button {
    	position:relative;
    	display: block;
    	height: 93px;
    	width: 229px;
    	margin-left: 19px;
    	padding: 0;
    	text-align: center;
    	background: url(../images/patient-forms-index.jpg) no-repeat;
    }
    
    #patient-button a {
	position:absolute;
	left:0px;
	width:228px;
	top:0px;
	height:93px;
    		}
#patient-button a span{ display:none;}


/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background: url("../images/bottom-wrap01.gif");
	height:70px;
	clear:both;
	width:100%; /* fix for Safari */
	}
	
	body.sub #bottom-wrap { background: url("../images/sub_bottom-wrap.jpg"); }

	
/* header framework
 * ------------------------------------------------------------------------- */

#header-graphic { 
	height:297px; 
	margin: 0 69px;
	background-repeat: no-repeat;
	background-position: left top;
	background-image:url("../images/header-index.jpg");
	}

	body.sub #header-graphic { 
		height: 280px;
		background-image:url(../images/header-sub-01.jpg);
		}

	body.recipients #header-graphic { background-image:url(../images/header-sub-02.jpg); }
	body.donors #header-graphic { background-image:url(../images/header-sub-03.jpg); }


/* footer
 * ------------------------------------------------------------------------- */
 
#footer {
	width:760px;
	margin:0 auto;
	text-align:center;
	}

#footer p {
	color:#044659;
	margin-bottom:10px;
	}

#footer a:link, #footer a:visited { color:#044659; }

#footer a:hover, #footer a:active { color:#000; }

#footer ul {margin-bottom:10px;}

#footer li { /* if your li's float, you can adjust border height w/ line-height */
	padding:0 5px 0 7px;
	display: inline;
	border-left: 1px solid #044659;
	}

	#footer li.first { border: none; }
	

/* classes
 * ------------------------------------------ */

div.clear	{ 
	clear:both;
	height:.01em; 
	overflow:hidden; 
	}

p.back-to-top {
	text-align:right;
	display:block;
	padding-right:16px;
	background:url(../images/bullet-back-to-top.jpg) right no-repeat;
	}
	
img.img-left { 
	float:left; 
	margin:2px 10px 10px 0; 
	}
	
img.img-right { 
	float:right; 
	margin:5px 0 10px 10px; 
	}

.logout, a.logout {
	font-weight: bold;
	color: #EF959B;
	}

.odd { background-color: #3294A6; }
.even { }

.interest { 
	font-weight: bold;
	background-color: #8EBE8C;
	}

.donor-add, .donor-remove, .success , .alert {
	padding-left: 22px;
	background-repeat: no-repeat;
	background-position: 0px 0px;
	}

	.donor-add { background-image: url(../images/icons/add_blue.gif); }
	.donor-remove { background-image: url(../images/icons/delete_blue.gif); }

	.alert { background-image: url(../images/icons/alert_blue.gif); }
	.message .alert { background-image: url(../images/icons/alert.gif); }
		
	.success { background-image: url(../images/icons/success_blue.gif); }
	.message .success { background-image: url(../images/icons/success.gif); }


/* global form elements
 * ------------------------------------------ */

form {
	width: 175px;
	margin: 0;
	}
	
	body.sub form { width: 155px; }

form br { 
	line-height:0px; 
	height:0px; 
	} /* defaults vertical spacing between fields */

#contact-main input, #contact-main textarea, #contact-main select { 
	background-color:#fff !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #D0E6EA;
	color:#044659;
	width:150px; /* 5 pixels smaller than form width !important */
	height:15px;
	line-height:15px;
	vertical-align: middle;
	margin-bottom:4px; /* sets vertical spacing between fields */
	padding-top:1px; /* vertically position text in input/textarea field */
	padding-left:4px; /* horizontally position text in input/textarea field */
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 0.8em;
	}
	
	body#index input, body#index textarea, body#index select { width: 170px; }
	
#contact-main select { 
	width:150px; 
	padding:0; 
	} /* same width as form - !important */

#contact-main textarea { 
	height:90px; 
	overflow:auto; 
	}

	body.sub #contact-main textarea { height: 65px; }
	
#contact_business { display: none; } /* do not remove */ 


/* main contact form
 * ------------------------------------------ */
 
#contact-main { 
	margin:10px 0 10px 0;
	}

	body.sub #contact-main label { 
		width:220px; 
		position:relative; 
		display:block; 
		text-align:right; 
		margin-bottom:10px;
		font-size:1.0em;
		}
		
	body.sub #contact-main label input, body.sub #contact-main label textarea, body.sub #contact-main label select { 
		width:170px;
		position:absolute; 
		left:110%; 
		top:-2px;
		}
		
	body.sub #contact-main label select { width:175px; height: 20px;}
		
	body.sub #contact-main label textarea { height:100px; overflow:auto; }

	body.sub #contact-main textarea.history { height:100px; width:200px; }

	body.sub #contact-main input.radio {
		width:12px;
		border:none;
		background:transparent;
		}

	body.sub #contact-main input.checkbox {
		width:12px;
		border:none;
		background:transparent;
		}

/* ----- submit button form elements ----- */ 

#contact-main input.submit-image, input.submit, #contact-main input.submit-contact-main { 
	width:60px;
	height:23px;
	cursor:pointer; 
	padding: 0; 
	border: none;
	}

input.submit-image, input.submit-contact-main { 
	margin:2px 0 0 0; 
	}
input.submit-contact-main {
	margin: 90px 0 0 245px;
}

input.submit-image, input.submit-contact-main { /* REMOVE IF NOT USED */
	background:url(../images/btn-submit.gif);
	width:68px !important;
	height:23px;
	border:none;
	cursor:pointer;
	}

input.login-image {
	margin: 2px 0 0 0;
	width: 72px;
	height: 26px;
	border:none;
	cursor:pointer;
	padding: 0;
	}
