/*
---------------------------------------------------------------------------------------------------
DEFAULT SCREEN STYLESHEET FOR: WWW.TEDA.CA
---------------------------------------------------------------------------------------------------
DESIGN: Taylor Bachrach - BC DESIGNWORKS
CSS: Terry Evans - BC DESIGNWORKS
XHTML: Terry Evans - WWW.BCDESIGNWORKS.COM
---------------------------------------------------------------------------------------------------
Color References
---------------------------------------------------------------------------------------------------
#C1E5C8 = pale green
#2DA947 = bright green
#2C9AD9 = bright blue
#8ECCEF = pale blue
---------------------------------------------------------------------------------------------------
*/

/* Global Settings
--------------------------------------------------------------------------------------------------- */
* { margin: 0; padding: 0; }

body {
	font: 11px/1 Arial, Helvetica, Sans-Serif;
	color:#000;
	background:#fff url(../gfx/bg.gif) repeat;
	margin: 0;
	padding: 0;
	text-align: center;
}
ul {
	list-style: none;
}

/* Global Layout Divisions
--------------------------------------------------------------------------------------------------- */
#container {
	margin: 0 auto;
	width: 764px;
	text-align: left;
	background: url(../gfx/mid.gif) repeat-y 0 0;
}
#header {
	padding: 0;
	height: 350px;
	background: url(../gfx/head-blank.gif) no-repeat 0 0;
	position: relative;
}
#contentarea {
	padding: 32px;
}
#primary {
	float: right;
	width: 450px;
}
#why-terrace {
	float: left;
	width: 200px;
}
#strategic-location {
	float: right;
	width: 200px;
}
#secondary {
	float: left;
	width: 200px;
}
#footer {
	clear: both;
	height: 70px;
	padding: 0 0 0 32px;
	background: url(../gfx/footer.gif) no-repeat 0 0;
	color:#999;
}
/* Header
--------------------------------------------------------------------------------------------------- */
#logo {
	width: 269px;
	height: 125px;
	line-height: 125px;
	position: absolute;
	top: 10px;
	left: 7px;
	z-index: 10;
	background: url(../gfx/logo.gif) no-repeat 100% 50%;
}
#logo a {
	display: block;
	text-indent: -9999px;
	width: 269px;
	height: 125px;
	line-height: 125px;
}
#slogan {
	display: block;
	text-indent: -9999px;
	width: 750px;
	height: 224px;
	margin: 0;
	line-height: 224px;
	position: absolute;
	top: 100px;
	left: 7px;
	z-index: 1;
	background: url(../gfx/sh/subhead-home.jpg) no-repeat 0 0;
}
/* Navigation
--------------------------------------------------------------------------------------------------- */
#globalnav {
	position: absolute;
	top: 12px;
	right: 7px;
	width: 350px;
	padding: 0 0 6px 0;
	border-bottom: 1px solid #dedede;
}
#globalnav li {
	display: inline;
	padding: 0 6px 0 0;
	text-transform: lowercase;
}
#navmenu {
	position: absolute;
	left: 7px;
	bottom: 0;
	height: 25px;
	line-height: 25px;
	background: #C1E5C8;
}
#navmenu li {
	float: left;
	width: 250px;
	height: 25px;
	line-height: 25px;
	text-transform: uppercase;
}
#navmeu li a {
	display: block;
	width: 250px;
	height: 25px;
	line-height: 25px;
}
#navmenu li#econ-opps a {
	background: url(../gfx/nav/home/economic-opportunities.gif) no-repeat 0 0;
	display: block;
	width: 250px;
	height: 25px;
	line-height: 25px;
	text-indent: -9999px;
}
#navmenu li#econ-opps a:hover,
body#economic-opportunities #navmenu li#econ-opps a {
	background-position: -250px 0;
}
#navmenu li#inf-serv a {
	background: url(../gfx/nav/home/infrastructure-services.gif) no-repeat 0 0;
	display: block;
	width: 250px;
	height: 25px;
	line-height: 25px;
	text-indent: -9999px;
}
#navmenu li#inf-serv a:hover,
body#infrastructure-services #navmenu li#inf-serv a {
	background-position: -250px 0;
}
#navmenu li#rel-exp a {
	background: url(../gfx/nav/home/relocate-expand.gif) no-repeat 0 0;
	display: block;
	width: 250px;
	height: 25px;
	line-height: 25px;
	text-indent: -9999px;
}
#navmenu li#rel-exp a:hover,
body#relocate-expand #navmenu li#rel-exp a {
	background-position: -250px 0;
}

/* Contentarea
--------------------------------------------------------------------------------------------------- */
#secondary h2 {
	display: block;
	background: url(../gfx/hd/recentNews.gif) no-repeat 0 0;
	height:24px;
	line-height: 24px;
	width: 100%;
	text-indent: -9999px;
}
#secondary h3 {
	font-size: 11px;
	color:#666;
	font-weight: bold;
	margin: 0 0 1px 0;
}
#secondary ul {
	margin: 12px 0 0 0;
}
#secondary ul li {
	line-height: 1.4em;
	margin: 0 0 8px 0;
	color:#333;
	clear: both;
}
#secondary ul li p {
	margin: 0 0 6px 0;
}
#secondary ul li p.more {
	border-top: 1px solid #dedede;
	padding: 3px 0;
}
#secondary ul li p.more span.date {
	float: left;
	width: 60%;
	text-align: left;
	display: block;
	padding: 0 0 10px 0;
	color:#999;
	font-style: italic;
}
#secondary ul li p.more span.perma {
	float: right;
	width: 35%;
	text-align: right;
	display: block;
	padding: 0 0 10px 0;
}

#why-terrace dt {
	display: block;
	background: url(../gfx/hd/whyTerrace.gif) no-repeat 0 0;
	height:24px;
	line-height: 24px;
	width: 100%;
	text-indent: -9999px;
}
#why-terrace dd {
	color:#333;
	margin: 12px 0 0 0;
	padding: 0 0 6px 0;
}
#why-terrace dd h3 {
	color:#000;
	font-weight: normal;
	font-size: 12px;
	margin: 0 0 3px 60px;
}
#why-terrace dd p {
	line-height: 1.4em;
	margin: 0 0 0 60px;
}
#why-terrace dd img {
	float: left;
	border: 1px solid red;
}
#strategic-location dt {
	display: block;
	background: url(../gfx/hd/ourStrategicLocation.gif) no-repeat 0 0;
	height:24px;
	line-height: 24px;
	width: 100%;
	text-indent: -9999px;
}
#strategic-location dd {
	padding: 12px 0 0 0;
}
#strategic-location dd p {
	padding: 12px 0 0 0;
	color:#666;
	line-height: 1.3em;
	width: 175px;
}

/* Footer
--------------------------------------------------------------------------------------------------- */
#footer ul {
	padding: 15px 0 8px 0;
}
#footer ul li {
	display: inline;
	text-transform: uppercase;
	padding: 0 8px 0 0;
}
#footer p {
	display: inline;
	padding: 0 8px 0 0;
}

/* Hyperlinks
--------------------------------------------------------------------------------------------------- */
a {
	text-decoration: none;
	color: #333;
	border: none;
	outline: none;
}
a:hover {
	color:#999;
}
a img {
	text-decoration: none;
	border: none;
	outline: none;
}
#header a {
	text-decoration: none;
	color: #333;
}
#header a:hover {
	color:#999;
}
#contentarea a {
	text-decoration: none;
	color: #999999;
}
#contentarea a:hover {
	color:#666666;
}
#main a {
	text-decoration: underline;
	color: #2C9AD9;
}
#main a:hover {
	color:#8ECCEF;
}
#subnav a {
	text-decoration: none;
	color: #333;
}
#subnav a:hover {
	color:#999;
}
#footer a {
	text-decoration: none;
	color: #666666;
}
#footer a:hover {
	color:#999999;
}
#secondary ul li h3 a {
	color:#666;
}
#secondary ul li h3 a:hover {
	color:#999;
}

/* Drop Down - Sub Menu
--------------------------------------------------------------------------------------------------- */
#navmenu li {
	position:relative;
}
#navmenu li.menuparent ul,
#navmenu li#econ-opps ul,
#navmenu li#inf-serv ul,
#navmenu li#rel-exp ul {
	position:absolute;
	left:0; top:24px;
	margin:0; padding:0;
	z-index:100;
	border-top: 1px solid #fff;
}
#navmenu li#econ-opps ul li,
#navmenu li#inf-serv ul li,
#navmenu li#rel-exp ul li {
	padding:0;
	margin:0;
	width:250px;
	height:20px;
	line-height:20px;
	text-align:left;
	float:none;
}
#navmenu li#econ-opps ul li a,
#navmenu li#inf-serv ul li a,
#navmenu li#rel-exp ul li a {
	background:#eee;
	color:#000;
	text-indent:8px;
	white-space:no-wrap;
	margin:0; padding:0;
	height:20px;
	line-height:20px;
	width:250px;
	display:block;
}
#navmenu li ul { display: none; } /* Hide sub-menus initially */

ul#navmenu li.menuparent:hover ul,
ul#navmenu li.over ul { display: block; } /* The magic */

ul#navmenu li.menuparent ul li { background: #ccc; }

ul#navmenu li.menuparent:hover a,
ul#navmenu li.over a { background-color: #333; color:#eee; }

ul#navmenu li.menuparent:hover ul.econ li a,
ul#navmenu li#econ-opps ul.econ li a  {background:#E30120; color:#fff;}
ul#navmenu li#econ-opps ul.econ li a:hover,
ul#navmenu li#econ-opps ul.econ li.current a { color: #F7B3BD; background:#A0081D;}

ul#navmenu li.menuparent:hover ul.inf li a,
ul#navmenu li#inf-serv ul.inf li a  {background:#E6AD20; color:#fff;}
ul#navmenu li#inf-serv ul.inf li a:hover,
ul#navmenu li#inf-serv ul.inf li.current a { color: #F8E7BD; background:#CB9307;}

ul#navmenu li.menuparent:hover ul.rel li a,
ul#navmenu li#rel-exp ul.rel li a  {background:#2DA947; color:#fff;}
ul#navmenu li#rel-exp ul.rel li a:hover,
ul#navmenu li#rel-exp ul.rel li.current a { color: #C1E5C8; background:#097821;}

/* Helper Classes
--------------------------------------------------------------------------------------------------- */
.center { text-align: center; }
.right { text-align: right; }
.more { text-align: right; }

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
.clearfix {
	display: inline-table;
}
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

