/* ---------------------------------------------- /

   Pierce Lab Stylesheet
	   Updated: Sun 2009.09.14
	   By: Kelley Curry, BrightBold, http://brightbold.com
	   Original site design & architecture: Brian Inderwies, Black Cat Industries, http://www.blackcatboston.com, 2003-2004
	   Copyright 2009. 
   
   INDEX:
	   =CSS RESET=
	   =LAYOUT=
	   =TYPOGRAPHY=
	   =IMAGERY=
	   =FORMS=
	   =LINKS=
	   =NAVIGATION=

	COLORS:  
		#333  		Dark Grey (body text)
		#424a3c		Dark Green (footer text)
		#127a43		Dark Green (banner)
		#e3eecd		Pale Green (footer background)
		#666		Med Grey (footer rules)
		#53514d		Med Grey (publication rules)
		#f0ece0		Very Light Grey (pub results background)
		#dcd8ce		Light Grey (pub results 7 whatever that means)
		#40494f		Blue Grey (bio rules)
		#51504d		Blue Grey (alumni list header & rules)
		#eee		Very Light Grey(undergrad background)
		
/ ---------------------------------------------- */

/*      =CSS RESET=                              */
@import url('reset.css');

/* ---------------------------------------------- /
                    =LAYOUT= 
/ ---------------------------------------------- */

body {
	background: url(../media/static/backgrounds/masterpageback2.gif) repeat fixed;
}

body#home {
	background-image: none;
	background: #F2FFE6;
}

#flashmovie {
	width: 605px;
	margin: 20px auto;
}

#page, 
#viewportlowtech {
	width: 900px;
	margin: 0 auto;
	border: 1px solid #333;
	background: #fff url(../media/static/backgrounds/cokemodified.gif) repeat-y fixed 70px 190px;
}

#projects #page {
	background: #fff url(../media/static/backgrounds/cokemodified.gif) repeat-y fixed 500px 190px;
}
#intro, 
#lowtech {
	padding: 10px;
}
#header {
	width: 900px;
	height: 190px;
	background: #127a43 url(../media/static/banner/header-bkg.png) no-repeat;
}

#banner {
	width: 840px;
	height: 126px;
	padding: 36px 30px 0 26px;
}
#nav {
	height: 26px;
	/* padding: 0 15px;	plus 15px li padding = 30px */
}
#content {
	width: 840px;		/* creates HasLayout for IE6    */
	overflow: hidden;		/* forces div to contain floats */
	padding: 15px 30px 30px;
}

#main {
	width: 500px;
	float: right;
}

#projects #main {
	float: left;
}

#staff #main {
	width: 540px;
}

/* #publications #main	 {
	margin-bottom: 500px;	need to investigate this. Seems like absolute positioning when we need relative or float & min height? 
}*/

#alumni #main {
	width: 400px;
}
#undergrad #main {
	width: 430px;
}

#lowtechindexright {
	width: 200px;
	height: 600px;
	margin-left: 405px;
	background: url(../media/raw/sidebar.png) left top;
}
	
#sidebar {
	width: 310px;
	float: left;
}

#projects #sidebar {
	float: right;
	clear: none;
}

#staff #sidebar {
	width: 280px;
}

#alumni #sidebar {
	width: 400px;
}
#undergrad #sidebar {
	width: 380px;
}
#footer {
	padding: 10px 30px;
	clear: right;
	background-color: #e3eecd;
	border-top: 1px dashed #666;
	overflow: hidden;
}
#intro {
	margin: 25px 50px;
	border: 1px solid #999;
	background: url('/media/static/backgrounds/texturebackgroundnormal.gif') repeat;
}

#latest {
	margin-top: 4px;
	margin-bottom: 4px;
	padding: 3px;
	border-top: 2px solid #556b6b;
	border-bottom: 2px solid #556b6b;
	background: #d5eae2;
}

.querypiece {
	margin: 4px 0;
	padding: 4px;
	background: #f0e2e2;
	border-top: 1px solid #938b8b;
	border-bottom: 1px solid #938b8b;
}

#abstractfull {
	margin-left: 110px;
	padding: 10px 10px 10px 0;
	clear: none;
}

#abstracttools {
	float: left;
	width: 80px;
	margin: 20px 0 0 10px;
	border: 1px solid #333;
	padding: 0;
}

#pubresultsdisplay {
	width: 100%;
}

#pubresults table {
	width: 100%;
}

#alumnilist table {
	width: 100%;
}

#alumnilist {
	width: 100%;
	margin: 5px 0 10px 0;
	border: 1px dotted #51504d; 
}

div.alum {
	width: 100%;
	margin-top: 10px;
	overflow: hidden;
}
.aluminfo {
	padding-left: 145px;
}

#undergradjoin {
	background-color: #eee;
	border: 1px solid #333;
	padding: 5px;
}
#alt {
	position: relative;
	width: 605px;
	height: 680px;
	background: url(../media/png/flash-alt.jpg) no-repeat left top;
}
#home #alt h1 {
	position: absolute;
	top: 40px;
	right: 10px;
	height: 33px;
	width: 560px;
	text-indent: -9999px;
	background: url(../media/static/lab-name-home.png) no-repeat;
	margin: 0;
}
#home #alt h2 {
	position: absolute;
	top: 90px;
	right: 10px;
	height: 23px;
	width: 299px;
	text-indent: -9999px;
	background: url(../media/static/lab-director-home.png) no-repeat;
	margin: 0;
}
#navAlt {
	width: 140px;
	position: absolute;
	right: 10px;
	top: 210px;
}
#navAlt li {
	padding: 10px 0;
}
#navAlt a {
	color: #fff;
	font-weight: bold;
	font-size: 16px;
}
#navAlt a:hover,
#navAlt a:active {
	color: #A4D1FF;
	text-decoration: none;
}
#alt #mission {
	position: absolute;
	bottom: 30px;
	left: 10px;
	width: 350px;
	border: #6F0 1px solid;
	padding: 10px;
}
#alt #mission h3 {
	color: #fff;
	text-align: center;
	font-weight: normal;
	font-size: 24px;
	line-height: 28px;
	letter-spacing: -1px;
}
#alt a#pennmed {
	position: absolute;
	right: 10px;
	bottom: 10px;
	display: block;
	width: 159px;
	height: 58px;
}

/* ---------------------------------------------- /
                  =TYPOGRAPHY= 
/ ---------------------------------------------- */

body {
	font: 300 13px/18px 'Helvetica Neue', Arial, Helvetica, 'Bitstream Vera Sans', sans-serif;
	color: #333;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
}

div {
	position: static;
}

h1, h2 {
	color: #333;
	margin: 4px 0;
}
#banner h1 {
	height: 50px;
	width: 833px;
	text-indent: -9999px;
	background: url(../media/static/lab-name.png) no-repeat;
	margin: 0 0 20px 4px;
}
#banner h1 a {
	display: block;
	height: 50px;
	width: 833px;
}
#banner h2 {
	height: 34px;
	width: 444px;
	text-indent: -9999px;
	background: url(../media/static/lab-director.png) no-repeat;
	margin: 0 0 22px 396px;
}
#banner h2 a {
	display: block;
	height: 34px;
	width: 444px;
}
h2 {
	font-weight: 600;
	font-size: 24px;
	line-height: 28px;
	letter-spacing: -1px;
}

h3 {
    font-weight: 600;
	font-size: 18px;
	margin: 12px 0 6px 0;
	line-height: 22px;
	letter-spacing: -1px;
}

p {
	padding: 5px 0;
}

#lowtechindexright ul {
	margin: 0;
	padding: 10px 0;
}

#lowtechindexright li {
	list-style-type: none;
	padding: 10px 0 10px 40px;
}

#intro td {
	padding: 5px;
}

#intro p, 
#intro h1, 
#intro h2, 
#intro h3 {
	margin: 0;
	padding: 0;
}

#intro h3 {
	font-style: italic;
	font-size: 12px;
	line-height: 14px;
}

#intro p {
	margin: 1px 0;
}

#intro table {
	margin: 0;
	width: 100%;
}
#sidebar .vcard a,
#sidebar .vcard .street-address {
	display: block;
}
#sidebar .vcard a.url {
	display: none;
}
#sidebar .vcard a.email {
	text-decoration: underline;
	font-weight: 400;
}
#sidebar .vcard .title {
	font-style: italic;
	margin-bottom: 1em;
}
.vcard .work {
	display: none;
}
.fn {
	font-weight: 700;
}

#footer/*, 
#footer ul, 
#footer li*/ {
	color: #424a3c;
	font-size: 11px;
	line-height: 14px;
/*	text-align: center; */
}
#footer #affiliations,
#footer .vcard,
#footer #missionstatement {
	float: left;
	margin-right: 50px;
}
#footer #affiliations {
	width: 340px;
}
#footer .vcard {
	width: 200px;
}
#footer #missionstatement {
	width: 200px;
	margin-right: 0;
}
#footer #missionstatement p {
	padding: 0;
}
#footer h3 {
	/*margin: 6px 0;
	font-weight: normal;
	font-size: 11px;
	line-height: 14px; */
	text-transform: uppercase;
	margin: 10px 0 12px;
}
#footer h3#affiliations-title {
	background:  url(../media/static/affiliations-title.png) no-repeat;
	width: 115px;
	height: 16px;
	text-indent: -9999px;
}
#footer h3#contact-title {
	background: url(../media/static/contact-title.png) no-repeat;
	width: 90px;
	height: 16px;
	text-indent: -9999px;
}
#footer h3#mission-title {
	background: url(../media/static/mission-title.png) no-repeat;
	width: 78px;
	height: 16px;
	text-indent: -9999px;
}
#footer p {
	margin: 0;
}
#footer .org {
	display: none;
}
#footer #copyright {
	width: 450px;
	clear: left;
	margin: 20px 0 0 390px;
}
/*#footer ul {
	margin: 0 0 5px;
	padding: 0;
  	font-size: 12px;
  	line-height: 15px;
	list-style-type: none;
	list-style-image: none;
}
#footer li {
	display: inline;
}

#footer li a {
	font-weight: 700;
	padding: 0 5px;
}
#footer p {
	margin: 0;
	padding: 0;
}*/

#projects #main ul {
	font-size: 12px;
	line-height: 1.2;
}
#projects #main li {
	margin-top: 8px;
}

#rightphoto p, 
#leftphoto p, 
#fullphoto p {
	margin: 2px 0 5px 0;
	padding: 0;
	font-style: italic;
	font-size: 11px;
	line-height: 14px;
	text-align: center;
}

#lowtechindex {
	width: 900px;
	height: 600px;
	padding: 0;
	background: url(../media/static/banner/remainder.jpg) repeat;
}

.entering {
	color: #666;
	text-align: center;
}

.checkbox {
	border: none;
	margin: 2px 0 0;
	padding: 0;
	display: inline;
	background: transparent;
}

.centered {
	text-align: center;
}

#latest p {
	border-top: 1px dotted #556b6b;
	font-size: 12px;
	line-height: 15px;
	margin: 0;
	padding: 6px 0;
}

.querypiece p {
	font-size: 12px;
	line-height: 15px;
	margin: 2px 0;
	padding: 0;
}

.checkbox {
	margin-right: 5px;
}

.pubresults {
	border: 0;
	width: 100%;
}

.pubresults td {
	padding: 3px;
	font-size: 11px;
	border-bottom: 1px solid #53514d;
	background-color: #f0ece0;
}

.resultstitle {
	width: 40%;
}

.resultsdate {
	width: 10%;
}

.pubresultseven td {
	background-color: #dcd8ce;
}

.pubresultsheading td {
	background: #b2afa7;
	border-bottom: 3px solid #53514d;
	font-size: 12px;
}
#abstracttools {
	font-size: 11px;
	line-height: 14px;
	text-align: center;
}

#abstracttools h1 {
	margin: 0;
	padding: 3px;
	font-size: 14px;
	line-height: 17px;
	background-color: #333;
	color: #fff;
}

#abstracttools p {
	margin: 0;
	padding: 0;
}

#biopubs {
	font-size: 12px;
	line-height: 15px;
}

#bioabout h1, 
#biopubs h1 {
	margin-top: 0;
	padding: 2px;
	font-size: 16px;
	line-height: 19px;
	background-color: #96acb9;
	color: #dde8f3;
	border-bottom: 3px solid #40494f;
	letter-spacing: 0;
}

#alumnilist th, 
#alumnilist td {
	padding: 2px 10px;
	text-align: left;
}

#alumnilist table, 
#alumnilist tr, 
#alumnilist td, 
#alumnilist th {
	font-size: 11px;
	line-height: 13px;
	border: 0;
}
table#undergradlist {
	width: 250px;
}
#undergradlist td,
#undergradlist th {
	text-align: left;
}
h3.alumdates {
	font-weight: 400;
}
p.thesis {
	font-style: italic;
}
p.alumemail a {
	font-weight: 400;
	text-decoration: underline;
}

#bioname p {
	margin: 0;
	font-style: italic;
	line-height: 18px;
}

#bioname h1 {
	margin: 2px 0;
	line-height: 26px;
}
#honors {
	margin-top: 50px;
}
#honors li {
	font-size: 12px;
	line-height: 15px;
	margin-bottom: 8px;
}
#cv {
	margin-top: 50px;
	font-size: 15px;
}
#sidebar #cv a {
	display: inline;
}

#alumnilist th {
	background-color: #51504d;
	color: #fff;
}

.alumnilistodd {
	background-color: #fff;
}
.alumnilisteven {
	background-color: #eee9e1;
}

#undergradjoin h1 {
	font-size: 18px;
	line-height: 22px;
}

.staff ul {
	margin: 0;
	padding: 0;
}

.staff li {
	list-style-type: none;
	margin-right: 0 0 0 10px;
	padding: 2px;
}
a[href$=".pdf"] {
	padding-right: 18px; /* 16px */
	background: url(../media/static/pdf.gif) no-repeat bottom right;
}
#abstracttools a[href$=".pdf"] {
	padding-right: 0;
	background: none;
}

.caption {
	font-size: 12px;
	line-height: 15px;
	font-style: italic;
}

/* ---------------------------------------------- /
                  =IMAGERY= 
/ ---------------------------------------------- */

img {
	margin: 0;
	padding: 0;
	display: inline;
	border: none;
}

#banner img {
	width: 900px;
	height: 190px;
	display: block;
}

#footer img {
	float: left;
	margin: 0 30px 20px 0;
}
#footer .pennlogo {
	width: 159px;
	height: 58px;
	margin-top: 10px;
}

.photo, 
.leftphoto, 
.rightphoto, 
.fullphoto,
#biophoto {
	margin: 12px;
}
#biophoto {
	margin-left: 0;
}

.leftphoto {
	float: left;	
	margin-right: 20px;
	margin-left: 0;
}

.rightphoto {
	float: right;
	margin-left: 20px;
	margin-right: 0;
}

.fullphoto {
	float: none;
	margin-left: auto;
	margin-right: auto;
}

.leftphoto img, 
.rightphoto img, 
.fullphoto img, 
#biophoto img {
	margin: -3px 3px 3px -3px;
}

#gallery #photogallery a {
	display: block;
	width: 190px;
	height: 143px;
	float: left;
	margin: 10px 20px 10px 0;
}

#gallery #photogallery a:hover {
	box-shadow: 5px 5px 5px rgba(0,0,0,.3);
	-webkit-box-shadow: 5px 5px 5px rgba(0,0,0,.3);
	-moz-box-shadow: 5px 5px 5px rgba(0,0,0,.3);
}

#shadow {
	margin-left: 0px;
	margin-top: 0px;
	background: url(../media/static/shadow.gif) no-repeat;
	background-position: bottom right;
}

#photoview img {
	width: 175px;
	height: 140px;
	border: 1px solid #333;
}

.gobutton {
	margin-top: 5px;
	margin-bottom: 5px;
}

#abstracttools img {
	margin: 0;
	padding: 0;
}
#waletzky {
	margin-top: 50px;
}

/* ---------------------------------------------- /
                  =FORMS= 
/ ---------------------------------------------- */

form {
	margin: 0;
}

select {
	padding: 0;
}

/* ---------------------------------------------- /
                 =NAVIGATION= 
/ ---------------------------------------------- */

#nav {
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
}
#nav a {
	display: block;
	width: auto;
	font: 700 16px/16px "Helvetica Neue", "Arial Narrow", Arial, Helvetica, "Bitstream Vera Sans", sans-serif;
	color: #fff;
	text-decoration: none;
	padding: 5px 30px;
}
#nav li {
	float: left;
	width: auto;
}
#nav li a:hover,
#nav li a:active {
	background: url(../media/static/backgrounds/nav-hover-alpha.png);
}
#projects #navprojects a,
#publications #navpubs a,
#gallery #navgallery a,
#pierce #navpierce a,
#staff #navstaff a {
	color: #a7ec35;
}
#projects #navprojects li a,
#publications #navpubs li a,
#gallery #navgallery li a,
#pierce #navpierce li a,
#staff #navstaff li a {
	color: #fff;
}
#nav li ul {
	position: absolute;
	left: -999em;
	z-index: 100;
	background: #2c2c2c;
	border-bottom: 3px solid #999;
}
#nav li ul#projectsmenu { 
	width: 15em;
}
#nav li ul#publicationsmenu { 
	width: 22em;
}
#nav li ul#staffmenu {
	width: 13em;
}
#nav li:hover ul, 
#nav li.sfhover ul {
	left: auto;
}
#nav li ul li {
	float: none;
}
#nav li ul li a {
	border-top: 1px dashed #666;
	color: #fff;
	font-weight: 300;
	font-size: 13px;
	padding: 2px 10px;
}
#nav li ul li a:hover {
	background: #000000;
}
#nav li ul li.listhead,
#nav li ul li.listheadlink,
#nav li ul li.listheadlink a {
	color: #ccc;
	font-weight: 700;
	font-size: 15px;
}
#nav li ul li.listhead,
#nav li ul li.listheadlink {
	margin-top: 6px;
}
#nav li ul li.listhead,
#nav li ul li.listheadlink a {
	padding: 10px 10px 4px 10px;
}
#nav li ul li.listheadlink a {
	border-top: none;
	border-bottom: 1px dashed #666;
}
#navHome {
	width: 605px;
	margin: 10px auto;
	color: #86967a;
}
#navHome ul {
	text-align: center;	
}
#navHome li {
	display: inline;
	text-align: center;
}
#navHome li a {
	padding: 10px;
	font-weight: normal;
	font-size: 11px;
}
#navHome span {
	padding: 10px 0;
}
#navHome li a:link,
#navHome li a:visited {
	color: #86967a;
	text-decoration: none;
}
#navHome li a:hover,
#navHome li a:focus,
#navHome li a:active {
	color: #424a3c;
	text-decoration: underline;
}

/* #nav hr {
	height: 0;
	margin: 2px 0;
	padding: 0;
	background-color: transparent;
	color: #2c2c2c;
	border: none;
	border-top: 1px dashed #666;
}

#projectsmenu, 
#publicationsmenu, 
#staffmenu {
	position: absolute;
	top: 150px;
	z-index: 2;
	padding: 3px 8px;
	background: #2c2c2c;
	border: none;
	border-bottom: 3px solid #999;
	visibility: hidden;
}

#nav, 
#nav li a,
#nav li a:link, 
#nav li a:visited {
	font: 300 18px/18px "Helvetica Neue", "Arial Narrow", Arial, Helvetica, "Bitstream Vera Sans", sans-serif;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
}

#nav li a:hover, 
#nav li a:active {
	color: #a7ec35;
}

#nav hr {
	height: 0;
	margin: 2px 0;
	padding: 0;
	background-color: transparent;
	color: #2c2c2c;
	border: none;
	border-top: 1px dashed #666;
}

#nav h3 {
	margin: 0;
	padding: 0;
	font-size: 9px;
	color: #666;
} */

/* ---------------------------------------------- /
                 =LINKS= 
/ ---------------------------------------------- */

a, a:link, a:visited, a:active {
	color: #333;
	font-weight: 900;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#lowtechindexright li a,
#lowtechindexright a:link, 
#lowtechindexright li a:visited {
	color: #fff;
}

#lowtechindexright li a:hover, 
#lowtechindexright li a:active {
	color: #80ff00;
	text-decoration: none;
}

#footer a, 
#footer a:link, 
#footer a:visited, 
#footer a:hover, 
#footer a:active {
	color: #424a3c;
}

#piercephoto a:link, 
#piercephoto a:visited {
	font-weight: 400;
}

#footer a:hover, 
#footer li a:hover, 
#piercephoto a:hover, 
#piercebox a:hover {
	text-decoration: underline;
}

.pubresults a, 
.pubresults a:link, 
.pubresults a:visited {
	font-weight: normal;
}

.pubresults a:hover, 
.pubresults a:active {
	font-weight: normal;
	text-decoration: none;
	color: #4c4c4c;
}
#abstracttools a, 
#abstracttools a:link, 
#abstracttools a:visited {
	display: block;
	padding: 5px 0;
	background-color: transparent;
	text-decoration: none;
	font-weight: normal;
}

#abstracttools a:hover, 
#abstracttools a:active {
	background-color: #e3eecd;
}

.staff li a, 
.staff li a:link, 
.staff li a:visited {
	padding: 2px;
	font-weight: 100;
}

.staff li a:hover, 
.staff li a:active {
	text-decoration: none;
	color: #fff;
	background-color: #333;
}

