/*
Company:	Perceptronics
File:		main.css - This contains all the main styles for the website.

All the styles are separted into the following groups:
Global Browser Reset - this is handled by the reset-fonts.css file from YUI
HTML, Body - for the html and body tags
Layout - any style that defines how the site is laid out (position and size of objects)
Nav - navigation bar
Headings - headings like h1, h2, etc
Text Styles - Styles for text
Lists - unordered and ordered lists
Forms - html forms
Links - links
Misc - anything that doesn't fit elsewhere
*/

/* @group HTML, Body */
body {
	background: url(../images/page-bkg.gif) repeat-x 0 0 #ededed;
	font-family: "Trebuchet MS", sans-serif;
}
/* @end */

/* @group Layout */
/* Head */
body#home div#hd {
	height: 305px;
	width: 821px;
	background: url(../images/home-feature.gif) no-repeat 4px 100%;
	margin-left: auto;
	margin-right: auto;
}
body#home div#hd-inner {
	height: 158px;
	background: url(../images/hd-bkg.png) no-repeat 0 0;
}
body#inside div#hd {
	height: 215px;
	width: 821px;
	background: url(../images/inside-feature.gif) repeat-y 5px 100%;
	margin-left: auto;
	margin-right: auto;
}
body#inside div#hd-inner {
	height: 158px;
	background: url(../images/hd-bkg.png) no-repeat 0 0;
}

img#logo {
	float: left;
	display: inline;
	margin: 36px 0 0 24px;
}
div#logo-box {
	height: 108px;
}
p#tagline {
	margin: 50px 50px 0 0;
	width: 228px;
	height: 16px;
	background: url(../images/power-tagline.gif) no-repeat 0 0;
	text-indent: -9000px;
	float: right;
	display: inline;
}

/* Body */
div#bd {
	background: url(../images/bd-bkg.png) repeat-y 0 0;
	width: 821px;
	margin-left: auto;
	margin-right: auto;
}
body#home div#bd-inner {
	background: url(../images/home-main-bkg.gif) no-repeat 4px 0;
	padding-bottom: 40px;
}
body#inside div#bd-inner {
	background: url(../images/inside-main-bkg.gif) no-repeat 4px 0;
	padding-bottom: 40px;
}
div#bd-btm {
	background: url(../images/bd-btm.png) no-repeat 0 0;
	width: 821px;
	height: 12px;
	margin-left: auto;
	margin-right: auto;
}
div#left-col {
	width: 368px;
	margin: 5px 0 0 43px;
	float: left;
	display: inline;
}
body#inside div#left-col {
	width: 585px;
	margin: 25px 0 0 33px;
}
div#left-col p {
	color: #110e0a;
	line-height: 140%;
	font-size: 108%;
	margin-bottom: 10px;
}
div#right-col {
	width: 310px;
	margin: 35px 30px 0 0;
	float: right;
	display: inline;
}
body#inside div#right-col {
	width: 105px;
	margin-right: 45px;
}
div#right-col p {
	font-size: 93%;
	line-height: 150%;
}
body#inside div#right-col p {
	line-height: 120%;
	margin-bottom: 5px;
}

div#bd a:link, div#bd a:visited {
	color: #3f43e0;
	text-decoration: none;
}
div#bd a:hover {
	text-decoration: underline;
}

/* Feature Text */
body#home div#feature-text {
	width: 323px;
	margin: 10px 16px 0 0;
	color: #fff;
	float: right;
	display: inline;
	font-size: 9px;
}
body#inside div#feature-text {
	margin: 10px 0 0 33px;
	color: #fff;
}
div#feature-text h1 {
	font-size: 208%;
}
div#feature-text h3 {
	font-size: 13px
	
}

div#feature-text p {
	margin: 3px 0 0 0;
	line-height: 140%;
	font-size: 108%;
}
div#feature-text a:link, div#feature-text a:visited {
	color: #fff;
	text-decoration: none;
}

/* HR */
div.hr {
	background: url(../images/hr.gif) repeat-x 0 0;
	height: 1px;
	overflow: hidden;
	margin: 15px 0;
}

/* Breadcrumb */
div.breadcrumb {
	color: #1f219f;
	font-size: 93%;
	margin-bottom: 15px;
}
div.breadcrumb a:link, div.breadcrumb a:visited {
	color: #1f219f!important;
	text-decoration: none;
}
div.breadcrumb a:hover {
	text-decoration: underline;
}

/* Footer */
div#ft {
	width: 810px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
	color: #585757;
	font-size: 85%;
	margin-bottom: 20px;
}
div#ft p {
	margin-bottom: 5px;
}
div#ft-left {
	width: 75%;
	margin-top: 10px;
	float: left;
	display: inline;
}
div#ft-right {
	width: 24%;
	text-align: center;
	float: right;
	display: inline;
}
div#ft a:link, div#ft a:visited {
	color: #585757;
	text-decoration: none;
}
div#ft a:hover {
	text-decoration: underline;
}
div#ft p.copyright {
	font-weight: bold;
}
/* @end */

/* @group Nav */
ul#nav {
	margin-left: 35px;
	margin-top: 2px;
	width: 771px;
	line-height: 1;
	list-style: none;
}
ul#nav li {
	background: url(../images/nav-div.gif) no-repeat 100% 0;
	height: 40px;
	position: relative;
	float: left;
	display: inline;
}
ul#nav li a {
	line-height: 40px;
	padding: 0 20px 0 20px;
	margin-right: 2px;
	display: block;
	outline:none;
}
ul#nav a:link, ul#nav a:visited {
	color: #fff;
	text-decoration: none;
}
ul#nav a:hover {
	background-color: #0f1179;
}

/* Nav Drop Down */
ul#nav ul {
	line-height: 1;
	font-size: 90%;
	padding: 6px 0;
	margin: 0!important;
	float: none;
}
ul#nav ul a {
	display: block;
	width: 9em!important;
	padding: 0 .5em;
	margin: 3px .5em;
	line-height: 18px;
	background-image: none;
	border-bottom: 1px dotted #fff;
}

ul#nav ul li { /* all list items */
	float: left;
	width: 11em!important; /* width needed or else Opera goes nuts */
	background-image: none;
	height: auto;
}

ul#nav li ul { /* second-level lists */
	position: absolute;
	background-image: none;
	background-color: #0f1179;
	width: 11em!important;
	margin-top: 40px;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

ul#nav li:hover ul ul, ul#nav li.sfhover ul ul {
	left: -999em;

}

ul#nav li:hover ul, ul#nav li li:hover ul, ul#nav li.sfhover ul, ul#nav li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}

/* Nav Additions for graphical nav */
ul#nav li#n-home a {
	background: url(../images/nav-text.gif) no-repeat 20px 50%;
	text-indent: -9000px;
	width: 40px;
}
ul#nav li#n-about a {
	background: url(../images/nav-text.gif) no-repeat -47px 50%;
	text-indent: -9000px;
	width: 54px;
}
ul#nav li#n-projects a {
	background: url(../images/nav-text.gif) no-repeat -220px 50%;
	text-indent: -9000px;
	width: 50px;
}
ul#nav li#n-news a {
	background: url(../images/nav-text.gif) no-repeat -302px 50%;
	text-indent: -9000px;
	width: 85px;
}
ul#nav li#n-papers a {
	background: url(../images/nav-text.gif) no-repeat -420px 50%;
	text-indent: -9000px;
	width: 42px;
}
ul#nav li#n-contact a {
	background: url(../images/nav-text.gif) no-repeat -496px 50%;
	text-indent: -9000px;
	width: 65px;
}

/* Hovers */
ul#nav li#n-home a:hover {
	background: url(../images/nav-text.gif) no-repeat 20px 50% #0f1179;
}
ul#nav li#n-about a:hover {
	background: url(../images/nav-text.gif) no-repeat -47px 50% #0f1179;
}
ul#nav li#n-projects a:hover {
	background: url(../images/nav-text.gif) no-repeat -220px 50% #0f1179;
}
ul#nav li#n-news a:hover {
	background: url(../images/nav-text.gif) no-repeat -302px 50% #0f1179;
}
ul#nav li#n-papers a:hover {
	background: url(../images/nav-text.gif) no-repeat -420px 50% #0f1179;
}
ul#nav li#n-contact a:hover {
	background: url(../images/nav-text.gif) no-repeat -496px 50% #0f1179;
}

ul#nav li ul li a {
	text-indent: 0!important;
	width: auto!important;
	background-image: none!important;
	background-color: none!important;
}
/* End nav additions */
/* @end */

/* @group Headings */
div#left-col h1 {
	font-size: 182%;
	color: #0a0b54;
	font-weight: bold;
	margin-bottom: 20px;
}
div#left-col h1 a:link, div#left-col h1 a:visited {
	color: #0a0b54;
	text-decoration: none;
}
div#left-col h1 a:hover {
	text-decoration: underline;
}
div#left-col h2 {
	font-size: 138.5%;
	margin-bottom: 15px;
}
div#left-col h3 {
	color: #1f219f;
	font-size: 138.5%;
	font-weight: bold;
	margin-bottom: 10px;
}
div#left-col h3 a:link, div#left-col h3 a:visited {
	color: #1f219f;
	text-decoration: none;
}
div#left-col h4, div#right-col h4 {
	font-size: 108%;
	margin-bottom: 10px;
}
div#right-col h4 a {
	font-weight: bold;
}
div#right-col h2 {
	font-size: 138.5%;
	margin-bottom: 15px;
	
}

div#right-col h4 a:link, div#right-col h4 a:visited {
	color: #1f219f;
}
h5 {
	font-weight: bold;
}
h6 { }
/* @end */

/* @group Text Styles */
.small-text {
	font-size: 93%!important;
}
.news-link {
	text-align: right;
	font-size: 93%!important;
	font-weight: bold;
}
.play-link {
	text-align: right;
	font-size: 85%!important;
	font-weight: bold;
}
.more-link {
	padding-left: 10px;
}
.top-link {
	font-size: 77%!important;
	margin: 20px 0;
}
/* @end */

/* @group Lists */
	
/* @end */

/* @group Forms */
	
/* @end */

/* @group Links - link visited hover active */
a:link{ }
a:visited{ }
a:hover{ }
a:active{ }
/* @end */

/* @group Misc */
.clear {
	clear: both;
}
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
/* @end */
