/******************************************************************************
 * Phase Rx main stylesheet.
 * Note: Internet Explorer hacks are in a separate file (all_ie.css)
 * Author: Neal Krouse (krousen@comcast.net)
 *
 * Table of Contents for navigation:
 * _general
 *
 * _branding
 *
 * _navigation
 *
 * _content
 *
 * _primary content
 *
 * _secondary content
 *
 * _footer
 *
 ******************************************************************************/
 
 
/*-----------------------------------------------------------------------------
 *	SITE COLORS:
 *
 *
 *----------------------------------------------------------------------------*/
 
 
/* _general
------------------------------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/* no list-markers by default, since lists are used more often for semantics */
ul,ol { list-style:none }

/* link underlines tend to make hypertext less readable, 
   because underlines obscure the shapes of the lower halves of words */
:link,:visited { text-decoration:none }

/* whoever thought blue linked image borders were a good idea? */
a img,:link img,:visited img { border:none }

/* Clearing floats without extra markup
   Based on How To Clear Floats Without Structural Markup by PiE
   [http://www.positioniseverything.net/easyclearing.html] */

.clear:after, .container:after 
{
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}
* html .clear { height: 1%; }
.clear { display: block; }

html 
{ 
	/* Rule removes Page Shift by
	 * adding vertical scrollbars to every page */
	min-height: 100%; 
	margin-bottom: 1px; 
}

body
{
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.5;
	/* Unitless for proper inheritance */
	background-color: #003000;
	color: #333;
	background-image: url(bodytile.gif);
	background-repeat: repeat-x;
	background-position: left top;
}

/* This is where you set your desired font size. The line-height 
   and vertical margins are automatically calculated from this. 
   
   You have to add an extra calculation here because of IE, so that 
   all users may resize text manually in their browsers.
   
   The top one is for IE: The percentage is of 16px (default IE text size)
   10px is 62.5%, 12px is 75%, 13px is 81.25%, and so forth).
   The second value is what all other browsers see (the wanted font size). */
   
html>body   { font-size: 14px; }  /* Compliant browsers */

h1,h2,h3,h4,h5,h6 { 
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: black;
	clear: both; 
	line-height: 1.1;
 }

h1 { font-size: 2em; }
h2 { font-size: 1.7em; margin-bottom: .5em; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.2em; }
h5 { font-size: 1em; margin-top: 1em; }
h6 { font-size: 1em; }


strong { font-weight: bold; }
em { font-style: italic; }
p { margin-bottom: 1em; }
a:link
{
	text-decoration: underline;
	color: #0A6A06;
}
a:visited { color: #999; text-decoration: underline; }
a:hover { color: #f60; text-decoration: underline; }
.small { font-size: .8em; }
.large { font-size: 1.25em; }

#wrapper
{
	width: 780px;
	margin: 0 auto;
	background-color: #eee;
	position: relative;
	background-image: url(containertile.gif);
	background-repeat: repeat-x;
	background-position: 0px 178px;
}

#top
{
	position: absolute;
	top: 0;
	left: 0;
	width:1%;
	z-index: 100;
}
#skipnav
{
	position: relative;
	text-indent: -9000em;
	overflow: hidden;
}
 

/* _branding
------------------------------------------------------------------------------*/
#branding
{
	width: 780px;
	height: 157px;
	padding: 0;
	position: relative;
	background-image: url(phaserxbanner.jpg);
	background-repeat: no-repeat;
	background-position: left top;
}

#branding h1
{
	text-indent: -9999em;
	font-size: 1%;
	line-height: 1%;
}

#branding h1 a
{
	display: block;
	width: 186px;
	height: 56px;
	position: absolute;
	top: 47px;
	left: 62px;
	outline: none;
	text-decoration: none;
}

#home_page #branding h1 a { cursor: default; }


/* _navigation
------------------------------------------------------------------------------*/

#nav
{
	width: 780px;
	height: 21px;
	position: relative;
	background-image: url(navigation.gif);
	background-repeat: no-repeat;
	background-position: left top;
}

#nav li
{
	float: left;
	background-image: url(navigation.gif);
	background-repeat: no-repeat;
	background-position: 0px 0px;
	height: 21px;

}

#nav li a
{
	display: block;
	height:21px;
	text-indent: -9999em;
	overflow: hidden;
	outline: 0;
	text-decoration: none;
}

li#home 
{
	left: 0px;
	background-position: 0px 0px;
	width: 66px;
}

li#about 
{
	left: 66px;
	background-position: -66px 0px;
	width: 70px;
}

li#technology 
{
	left: 136px;
	background-position: -136px 0px;
	width: 104px;
}

li#management 
{
	left: 240px;
	background-position: -240px 0px;
	width: 108px;
}

li#news 
{
	left: 348px;
	background-position: -348px 0px;
	width: 65px;
}

li#careers 
{
	left: 413px;
	background-position: -413px 0px;
	width: 75px;
}

li#contact 
{
	left: 488px;
	background-position: -488px 0px;
	width: 80px;
}

/* Over States */
li#home:hover, li#home.hover { background-position: 0px -21px; }
li#about:hover, li#about.hover { background-position: -66px -21px; }
li#technology:hover, li#technology.hover { background-position: -136px -21px; }
li#management:hover, li#management.hover { background-position: -240px -21px; }
li#news:hover, li#news.hover { background-position: -348px -21px; }
li#careers:hover, li#careers.hover { background-position: -413px -21px; }
li#contact:hover, li#contact.hover { background-position: -488px -21px; }

/* Pressed States */
li#home:active, li#home.active { background-position: 0px -42px; }
li#about:active, li#about.active { background-position: -66px -42px; }
li#technology:active, li#technology.active { background-position: -136px -42px; }
li#management:active, li#management.active { background-position: -240px -42px; }
li#news:active, li#news.active { background-position: -348px -42px; }
li#careers:active, li#careers.active { background-position: -413px -42px; }
li#contact:active, li#contact.active { background-position: -488px -42px; }

/* You-are-here States */
#home_page li#home { background-position: 0px 0px; cursor: default; }
#about_page li#about { background-position: -66px -63px; cursor: default; }
#technology_page li#technology { background-position: -136px -63px; cursor: default; }
#management_page li#management { background-position: -240px -63px; cursor: default; }
#news_page li#news { background-position: -348px -63px; cursor: default; }
#careers_page li#careers { background-position: -413px -63px; cursor: default; }
#contact_page li#contact { background-position: -488px -63px; cursor: default; }

#nav li ul
{
	position: absolute;
	/* set width to suit layout */
	width: 12em;
	left: -999em;
	background-color: transparent;
	background-image: url(10x10cccTransp.png);
}

#nav li li
{
	float: none;
	display: block;
	background-image: none;
	margin: 0;
	height: 32px;
	padding: 0;
	border-bottom: 1px solid #eee;
}

#nav li li a
{
	position: static;
	text-indent: 0;
	font-size: .9em;
	overflow: inherit;
	color: black;
	padding: 0 1em;
	text-decoration: none;
	line-height: 32px;
	display: block;
}
#nav li li:hover, #nav li li.hover
{
	/* set this colors to suit */
	background-color: #72FF00; 
	color: black;
}


#nav li:hover ul, #nav li.hover ul 
{ left: auto; }

#management_page #mngt a,
#founders_page #founders a,
#board_page #board a 
{ color: black; }

#management_page #mngt,
#founders_page #founders,
#board_page #board
{ background-color: #72FF00; }

#founders_page li#management,
#board_page li#management 
{ background-position: -240px -63px; cursor: default; }

#management_page #wrapper,
#founders_page #wrapper,
#board_page #wrapper
{
	background-color: white;
	background-image: none;
}



/* _content
------------------------------------------------------------------------------*/
#content
{
	min-height: 490px;
	padding-top: 36px;
}

#content
{
	background-image: url(homebkgn.jpg);
	background-repeat: no-repeat;
	background-position: 98% 36px;
}


#about_page #content
{
	background-image: url(about.jpg);
	background-repeat: no-repeat;
	background-position: right 36px;
}

#technology_page #content
{
	background-image: url(technologybkgn.jpg);
	background-repeat: no-repeat;
	background-position: 470px 36px;
}

#careers_page #content
{
	background-image: url(careersbkgn.jpg);
	background-repeat: no-repeat;
	background-position: right 36px;
}

#contact_page #content
{
	/* NOTE: Remove image until replacement is made
	background-image: url(contactbkgn.jpg);
	background-repeat: no-repeat;
	background-position: right 36px;
	*/
}

#management_page #content
{
	background-image: url(management.jpg);
	background-repeat: no-repeat;
	background-position: right 36px;
}

#founders_page #content
{
	background-image: url(founders.jpg);
	background-repeat: no-repeat;
	background-position: right 36px;
}

#board_page #content
{
	background-image: url(board.jpg);
	background-repeat: no-repeat;
	background-position: right 36px;
}

#news_page #content
{
	background-image: none;
}


/* _primary content
------------------------------------------------------------------------------*/
#primary
{
	margin-left: 26px;
	width: 460px;
}

#home_page #primary p { line-height: 2; }
.top { text-align: right; font-size: .8em; }
#primary ul
{
	list-style-image: url(bullet.gif);
	padding-left: 4em;
	margin-bottom: 1em;
}
#primary ol
{
	padding-left: 2em;
	margin-bottom: 1em;
	list-style-type: decimal;
	list-style-position: outside;
}
#primary li
{
	margin-bottom: .5em
}
#contact_page #primary ul
{
	list-style-image: url(bullet.gif);
	padding-left: 2em;
	margin-bottom: 1em;
}

/* management page */
#management_page #primary,
#founders_page #primary,
#board_page #primary
{
	float: left;
	display: inline;
}

#management_page #primary img,
#founders_page #primary img,
#board_page #primary img
{
	margin: 0 1em 0 0;
	float: left;
}

#management_page #primary h4,
#founders_page #primary h4,
#boards_page #primary h4
{
	margin-bottom: .5em;
}


#news_page #primary h4 { margin: 1em 0; }
#news_page #primary { width: 90%; }


/* _secondary content
------------------------------------------------------------------------------*/
#secondary
{
	display: none;
}
#management_page #secondary,
#founders_page #secondary,
#board_page #secondary
{
	/*
	display: block;
	width: 200px;
	float: right;
	margin-right: 20px;
	background-color: #ccc;
	display: inline;
	background-color: #97D15B;
	*/
	display: none;
}

#management_page #secondary ul,
#founders_page #secondary ul,
#board_page #secondary ul
{
	padding: 1em 2em;

}

#management_page #secondary a,
#founders_page #secondary a,
#board_page #secondary a
{
	font-weight: bold;
	font-size: .9em;
	color: black;
}
#management_page #secondary a:hover,
#founders_page #secondary a:hover,
#board_page #secondary a:hover
{
	color: #0A6A06;
}

#management_page #mgnt_sub a,
#founders_page #founders_sub a,
#board_page #board_sub a
{
	color: #0A6A06;
}

/* _footer
------------------------------------------------------------------------------*/
#footer
{
	clear: both;
	text-align: center;
	padding: .5em 0;
	font-size: .8em;
}
