/*this the main stylesheet for the site.  this is copied from styledroptest.css (tidied up a bit, see other
file for junk), most other tests etc 
are named style2.css, style3.css etc. */

/* a 2 column setup, small info col to left, link nav bar on top */


body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background-color: #FFFFDD;
	font-size: 70%;
	margin: 0px;
	padding: 0px;
	text-align: center;
	line-height: 1.5em;
}

ul {
	list-style-type: none;
	padding: 0em;
	margin: 1em;
}

a {
	/*color: #000000;*/
}

a:link {
	text-decoration: none;
}

a:visited {
	text-decoration: none;
}

a img {
	border: none;
}

#container {
/*	background-color: #FDFDFD;*/
/*	border: 1px solid #333333;*/
	background: url(images/fauxcolumn1.gif) repeat-y;
	border-right: 2px solid #EEEEBB;
	border-bottom: 2px solid #EEEEBB;
	margin: 0 auto; /*make this %'s */
	height: 550px;
	margin-top: 10px;
	padding: 0px;
/*	width: 720px;*/
	width: 1000px;
/*	width: 85%;*/
	text-align: left;
	position: relative;
}

/* width issues persist - different interpretations by ffx and IE, need to have both % width and minwidth*/

/*this next is supposed to be ignored by ie6 and read by firefox et al thus allowing
the body to have a min height -- 
from http://www.webcredible.co.uk/user-friendly-resources/css/more-css-tricks.shtml */
html>body #container{
	min-height: 550px;
	height: auto;
	min-width: 750px;
	/*width: 85%;*/
	width:1000px;
}


#leftsidebar {
/*	background-color: #EEEEBB;*/
/*	background-image:  url(images/dayansmall.jpg);*/
/*	background-image:  url(images/tablaCornerBlock.jpg);*/
/*	background-repeat: no-repeat;*/
	margin: 0px;
/*	padding-top: 200px;*/
/*	padding-right: 10px;*/
/*	padding-left: 10px;*/
	color: #000000;
/*	position: absolute;*/
	float: left;
	width: 180px;
/*	height: 100%;*/
/*	border-bottom: 1px solid #000000;
	border-top: 1px solid #CCCCCC;
	border-right: 1px solid #CCCCCC;
	border-left: 1px solid #CCCCCC;*/

}

#leftsidebar h1 {
	font-size: 20px;
	margin: 0px;
	padding: .5em 0em .5em 0em;
	text-align: left;
}

#leftsidebar #linklogo{
	display: block;
	height: 200px;
	width: 200px;
	background-image: url(images/tablaCornerBlock.jpg);
	background-repeat: no-repeat;
}

#leftsidebar #contents{
	padding-right: 10px;
	padding-left: 10px;
}

#navbox { /* this box is here to make it easier to try centering the menus */
/*	text-align: center; /*centering this only makes text in submen centered*/
	margin-left: 200px;
	margin-right: -2px;
	background-color: #77CC55;
}

#nav {
	width: 82%; /* set to be just small enough to not make menu wrap when viewed in ffx (any window size) or IE6 when full size)*/
/*	display: block;*/
	margin: auto;
/*	text-align: left; /* to style submenu text */
	padding: 1px 1px 3px 1px; /* 13 Oct 07 changed this from 1px all round to compensate (like #nav ul li padding)*/
	background-color: #77CC55;
	position: relative;
/*	top: 0px;
/*	left: 10%;*/
	height: 2em;

}

#nav ul {
/*	width: 80%;*/
	padding: 1px;
	margin: 0px auto; /*this centers menu (roughly) */
	height: 2em;
	background: #77CC55;
	display: inline; /*13 Oct added this line, starts to make safari menu line up*/
}

#nav ul ul {
	width: 10 em; /* style sublevel list*/
}

#nav ul li { /* float top list -horizontal. heights.*/
	float: left;
	height: 2em;
	line-height: 2em;
	padding: 1px 1px 1px 1px; /* 13 Oct 07 safari add since #nav display: inline  makes padding  between menu items disappear*/
}

#nav ul ul li {
	display: block;
	width: 10em;
	height: auto;
	position: relative;
	line-height: 1em;
	margin: 1px 0px -4px -2px; /* 13 Oct 07 to realign submenus vertically and stop from disappearing in IE7 - tweaks for each side*/
}

#nav a{
	display: block;
	float: left;
	height: 100%;
	background: #FFFFDD;
	color: #000000;
	padding: 0em 1em 0em 1em;
	/*margin: 0px 1px 0px 1px; /* this margin rendered differently in ffx and IE */
}

#nav ul ul a {
	display: block;
	background: #FFFFDD;
	color: #000000;
	width: 10em;
	height: 100%;
	line-height: 1em;
	padding: .5em 1em;
	border: 2px solid #EEEECC; /*13Oct07: 2px (instead of 1) allows ff to have a 1px border and ie to not disappear when mousing*/
	border-top: none;
}

#nav ul table ul a {
	width: 12em;
	w\idth: 10em; /* i don't understand this */
}

#nav table {
	position: absolute;
	left: 0;
	top: 0;
	font-size: 1em;
}

#nav ul ul table {
	lef\t: -1px;
}

#nav ul ul table ul.left {
	margin-lef\t: 2px;
}

#nav li:hover {
	position: relative;
}

* html #nav a:hover {
	position: relative;
}

#nav a:hover {
	background: #EEEECC;
	color: #000000;
}

#nav :hover > a {
	background: #EEEECC;
	color: #000000;
}

#nav ul ul a:hover {
	background: #EEEECC;
	color: #000000;
}

#nav ul ul :hover > a {
	background: #EEEECC;
	color: #000000;
}

/* hide sublevels */ 
#nav ul ul {
	visibility: hidden;
	position: absolute;
	height: 0;
	top: 2em;
	left: 0;
	width: 10em;
}

/* appear sublevel */
#nav ul li:hover ul, #nav ul a:hover ul { /*, #nav ul ul li a:hover { REMOVED...*/
	visibility: visible;
	height: auto;
	padding-bottom: 2em;
	background: transparent; /* need gif? */
}

/* add to this as pages are added.  must give each body an id, and any new links a class. */
/*#home .home, #research .research, #music .music, #personal .personal, #teaching .teaching, #blog .blog, #business .business, {
	background-color: #FFFFEF;
	color: #77CC55;
}*/

#home .home, #research .research, #music .music, #data .data, #teaching .teaching, #personal .personal, #business .business, #bio .bio{
	background-color: #DDDDBB;
	color: #FFFFFF;
}



#content {
/*	background-color: #FDFDFD;*/ /*keep this line for reference, this color is now in fauxcolumn gif */
	border-top: 2px solid #EEEEBB;
	/*padding 1em 3em 1em 3em;*/
	padding: 10px 30px 10px 30px;
	margin-left: 200px;
	width:740px; /* 800 - (30 *2) */
/*	height: 100%;*/
/*	height: 350px;*/
/*	width: auto;*/
/*	float: right;*/
}

/*this next is supposed to be ignored by ie6 and read by firefox et al thus allowing
the body to have a min height -- 
from http://www.webcredible.co.uk/user-friendly-resources/css/more-css-tricks.shtml */
/*html>body #content{
	min-height: 350px;
	height: auto;
}*/

#content ul {
	margin: 1em 0em 1em 0em; /* these two are for lists like "publications" */
	margin-left: 0;
	padding: 0;
}

#content li {
	margin: .5em 0 .5em 0;
}

#content dl {
/*	margin: 1.5em 0 1.5em;*/
}

#content dt {
	font-size: 12px;
	font-weight: bold;
}

#content dd {
	margin-top: 1em;
	margin-bottom: 2em;
	margin-left: 0;
}

#content code {
	font-size: small;
}

#content .bulletlist li{
	margin: 0px 0px 0px 20px;
	padding: 0px;
	list-style-type: disc;

}

h1 {
	font-size: 18px;
	font-weight: bold;
	margin-top: 1.5em;
}

h2 {
	font-size: 14px;
	font-weight: bold;
	margin-top: 1.5em;
	margin-bottom: .5em;
}

h3 {
	font-size: 12px;
	font-weight: bold;
}

#footer {
/*	background-image:  url(images/almike_widecrop.jpg);*/
	font-size: 60%;
	color: #666633
/*	border-bottom: 1px solid #FFFFFF;
	color: #999999;
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #FFFFFF;
	border-left-color: #FFFFFF;*/
}

/* classes for chunks w/ image on left as a "title" of bullet and text on right
e.g.:
<div class="subsection">
	<a href=""><img src="" class="titleimage"></img></a>
	<div class="subsectiontext">
		<h2><a href=""></a></h2>	
		<p></p>
	</div>
</div>
*/
.titleimage {
	float: left;
	margin-top: 25px;
	margin-bottom: 5px;
	margin-right: 5px;
}

.subsection {
	overflow: auto;
	border-top: 1px solid #CCCCAA;
	margin-top: 10px;
	margin-bottom: 10px;
}

.subsectiontext {
	margin-left: 170px;
	clear: right;
}
