/* Release 091216 */
@charset "UTF-8";
body {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center;
	background-color: #222;
	color: #DDD;
}
p {
	line-height: 1.5em;
	text-indent: 2em;
}
a {
	color: #CCCCCC;
	outline: none;
	text-decoration: none;
}

a:link {
	color: #CCC;
	font-family: "BlairMdITC TT-Medium", Geneva, Arial, sans-serif;
	font-size: 12px;
}
a:hover {
	color: #FF9900;
}

img {border:0;}

#mainmenu {
	padding: 0 0 0 0;
	margin:0 0 0px 0px;
	/*background-color: #456;*/
	position: relative;
	top: 18px;
	left: 0px;
	height:24px; /* justs matters if the background-color is different from background */
	border-bottom: 0px dotted #F90;
}

/*#nav li {
	display: inline;
}
#nav a {
	font-family: "BlairMdITC TT-Medium", Geneva, Arial, sans-serif;
	text-decoration: none;
	background-color: #333;
	padding: 0px 1em;
	border-bottom: 0px dotted #333;
	color: #CCCCCC;
}
#nav a:hover {
	background-color: #333;
	color: #FF9900;
	border-bottom: 0px dotted #999;
}
#nav a:active, #nav a.selected {
*/	/*background-color: #999999;*/
	/*color:#FF9900;
	border-bottom:0px solid #333333;
}*/
ul {
	margin: 0;
	padding: 0;
	list-style: none;
	/*border-bottom: 1px solid #999; *//* IEfix */
}
ul li {
	position: relative;
	float: right; /*TH was left*/
	font-family: "BlairMdITC TT-Medium", Geneva, Arial, sans-serif;
	font-size: 12px;
	text-align: center; /*TH added*/
	width: 9em;
	border-bottom: 0px solid #999;
}

/* Fix IE. Hide from IE Mac \*/
* html ul li { float: right; }
* html ul li a { height: 1%; }
/* End */

li ul {
	position: absolute;
	top: 22px; /*was 30. is y - distance of first subitem from paren, needs to be larger than parent height! */
	display: none;
	/* margin-left:1em; */ /* does not create the desired effect */
}
ul li a {
	display: block;
	outline: none;
	text-decoration: none;
	line-height: 20px;
	color: #CCC;
	padding: 2px 0 0 1.0em; /*5*/
	background: #222;
	margin: 0 0px; /* was 2px : the x-gap between menu items*/
}
ul li a:active, ul a.selected {
	color:#F90;
	/* border-bottom:0px dotted #F90; */
}

ul li a:hover { 
	background-color: #222;
	color: #FF9900;
}
li:hover ul, li.over ul { display: block;}

.submenu ul li {
	position: relative;
	float: left; /*TH was left*/
	font-family: "BlairMdITC TT-Medium", Geneva, Arial, sans-serif;
	font-size: 12px;
	text-align: left; /*TH added*/	
    width: 9em;
	left: 1.0em;
	border-bottom: 0px dotted #333;
}
.submenu ul li a {
	background: #333;
	margin-left: 1em;
}
.submenu li a:hover { 
	background-color: #444;
	color: #FF9900;
}

/* -------------------------- sidemenu---- */
	
#sidemenu {
	width: 16px;
	margin: 0px -16px;
	border-style: none none none none;
	border-color: #FF0000;
	border-size: 0px;
	border-width: 1px;
	float:right;
}

#sidemenu li.blog {
	width:16px;
	height:100px;
	overflow:hidden;
}

#sidemenu li.blog a {
	background-image:url(../resources/THblogNeon.jpg);
	background-repeat: no-repeat;
	background-position:0 0px;
}
	
#sidemenu li.blog a:hover, #sidemenu li.blog a.selected { 
	/*background-image:url(../resources/THpublicationsNeon.jpg);
	background-repeat: no-repeat;*/
	background-position:0 -98px;
}

#sidemenu li.publication {
	width:16px;
	height:130px;
	overflow:hidden;
}

#sidemenu li.publication a {
	background-image:url(../resources/THpublicationsNeon.jpg);
	background-repeat: no-repeat;
	background-position:0 0px;
}
	
#sidemenu li.publication a:hover, #sidemenu li.publication a.selected { 
	background-image:url(../resources/THpublicationsNeon.jpg);
	background-repeat: no-repeat;
	background-position:0 -130px;
}

#sidemenu li.projects {
	width:16px;
	height:99px;
	overflow:hidden;
	display: none; /*REMOVE WHEN PROJECTS PAGES ARE READY */
}

#sidemenu li.projects a {
	background-image:url(../resources/THprojectsNeon.jpg);
	background-repeat: no-repeat;
	background-position:0 0px;
}
	
#sidemenu li.projects a:hover { 
	background-image:url(../resources/THprojectsNeon.jpg);
	background-repeat: no-repeat;
	background-position:0 -99px;
}

#bottommenu {
	padding: 0 0 0 0;
	margin:0 0 0px 0px;
	/*background-color: #456;*/
	position: relative;
	/*top: 0px;*/
	/*left: 0px;*/
	height:28px;
	border-top: 0px dotted #F90;
}
#bottommenu li {
	border-top: 0px solid #999;
	border-bottom: 0px dotted #999;
}
#bottommenu ul li {
	/*position: relative;*/
	float: left; /*TH was left*/
	/*font-family: "BlairMdITC TT-Medium", Geneva, Arial, sans-serif;*/
	font-size: 10px;
	text-align: center; /*TH added*/
	width: 9em;
	border-bottom: 0px solid #999;
}
#bottommenu ul li a {
	display: block;
	float: left; /*TH was left*/
	outline: none;
	text-decoration: none;
	line-height: 20px;
	color: #CCC;
	padding: 2px; /*5*/
	background: #222;
	margin: 0 0px; /* was 2px : the x-gap between menu items*/
}
.bottommenu {
	float: left;
}


/*#submenu ul li {
	position: relative;
	font-family: "BlairMdITC TT-Medium", Geneva, Arial, sans-serif;
	font-size: 12px;
	text-align: left; 	
    width: 9em;
	left: 1.5em;
	border-bottom: 0px dotted #333;
}*/
/* Tips for Elastic layouts 
1. Since the elastic layouts overall sizing is based on the user's default fonts size, they are more unpredictable. Used correctly, they are also more accessible for those that need larger fonts size since the line length remains proportionate.
2. Sizing of divs in this layout are based on the 100% font size in the body element. If you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the entire layout will downsize proportionately. You may want to increase the widths of the various divs to compensate for this.
3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing.
*/
#container {
	width: 90%;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	border: 0px solid #222;
	text-align: left; /* this overrides the text-align: center on the body element. */
	background-color: #222;
	height: 640px; /* = 40px header + 600px mainContent??? */
	position: relative;
}
#header {
	font-family: "BlairMdITC TT-Medium", Geneva, Arial, sans-serif;
	padding: 0 16px 0 16px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
	height: 40px;
	border-bottom: 0px dotted #999;
	margin-top: 20px;
	background-image: url(../resources/THlogoNeon.jpg);
	background-repeat: no-repeat;
	background-position: 45px 0px;
} 
#header h4,  #header h5 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
	color: #CCCCCC;
	font-size: 14px;
	line-height: 1em;
	font-weight: normal;
}
#header h4 {
	padding-top:10px;
}
#header p {
	font-size:20px;
	margin: 0;
	padding: 0;
	text-indent: 0px;
	font-style: normal;
}
#mainContent {
	padding: 0 10px;
	margin: 0 auto;
	height:600px; /* container - header - footer */
	text-align: center;
	border:1px solid #333;
 	background-color: #222;
}
/*#centerme {
	margin-left: auto;
	margin-right: auto;
	display: block;
	text-align: center;
	vertical-align:middle;
}*/
#footer {
	padding: 0;	/*background:#DDDDDD;*/
	height: 24px;
	margin: 0 auto;
	border-top: 0px dotted #f90;
} 
#footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}
#centergrid {
	margin-top: 15px;
	/*width: 52em;*/
	height: 420px;
	width: 540px;
	margin-left: 16px;
}
#flashstage {
	margin-top: 28px;
}
#targetDivId {
	width:100%;
	margin-top: 50px;
	margin-bottom: 0px;
	vertical-align: middle;
	height:500px;
	border:0px solid #222;
}
.floatright {
	float: right;
	margin: 5px 0 10px 20px;
	border:0;
	padding: 0px;
}
.invisible {
	color: #333;
	display: none;
	}
.hilite {
	font-size: 14px;
	color: #FF9900;
}
.menu {
	padding: 0 0 0 0;
	margin:0 0 0px 0px;
	/*background-color: #456;*/
	position: relative;
	top: 0px;
	left: 0px;
	height:24px; /* justs matters if the background-color is different from background */
	border-bottom: 1px dotted #F90;
}
#copyright {
	font-size: 9px;
	text-align: right;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
.tiny {
	font-size: 10px;
	color:#666;
}
