/******************************************************************************
 * Kasa Architecture Web 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
 *
 * _wrapper
 *
 * _branding
 *
 * _navigation
 *
 * _content
 *
 * _primary content
 *
 * _secondary content
 *
 * _ternary 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;
}
.clear, .container { height: 1%; }
.clear, .container { display: block; }

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

body
{
	font-family: verdana, san-serif;
	line-height: 2.18;
	/* Unitless for proper inheritance */
	background-color: #494949;
	color: white;
	background-image: url(bodytile.gif);
	background-repeat: repeat-x;
	background-position: left top;
}

body#home_page
{
	background-position: left 466px;
}

/* 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). */
   
body   { font-size: 11px; }  /* Compliant browsers */

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

h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.3em; }
h4 { font-size: 1.1em; }
h5 { font-size: 1em; }
h6 { font-size: 1em; }


strong { font-weight: bold; }
em { font-style: italic; }
p { margin-bottom: 2.18em; }
p.small { font-size: .8em; }
p.large { font-size: 1.2em; }
a, a:link, a:visited
{
	text-decoration: underline;
	color: white;
}
a:hover { 
	text-decoration: underline;
	color: #b1b1b1;
}

/* _wrapper
------------------------------------------------------------------------------*/
#wrapper
{
	width: 957px;
	margin: 0 auto;
}

#top
{
	position: absolute;
	top: 0;
	left: 0;
	width:1%;
	z-index: 100;
}

#skipnav
{
	position: relative;
	text-indent: -9000em;
	overflow: hidden;
}
 

/* _branding
------------------------------------------------------------------------------*/
#branding
{
	height: 32px;
	position: relative;
}

#branding h1
{
	position: absolute;
	width: 167px;
	height: 32px;
	background-image: url(kasa_logo.gif);
	background-repeat: no-repeat;
	background-position: left top;
	top: 0;
	left: 87px;
}


#branding h1 a
{
	width: 167px;
	height: 32px;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	text-indent: -9999em;
	overflow: hidden;
	outline: 0;
	text-decoration: none;
}





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

#nav
{
	padding-left: 522px;
}

#nav li
{
	width: 80px;
	margin-right: 7px;
	height: 32px;
	float: left;
	display: inline;
}

#nav li a
{
	display: block;
	text-decoration: none;
	background-color: #303030;
	line-height: 32px;
	color: white;
	font-size: .82em;
	text-transform: uppercase;
	letter-spacing: .2em;
}

#nav li a:hover
{
	background-color: #101518;
	color: white;
}

#home_page #home,
#profile_page #profile,
#projects_page #projects,
#press_page #press,
#contact_page #contact
{
	background-color: #101518;
	color: white;
}

/* _content
------------------------------------------------------------------------------*/
#home_page #content
{
	min-height: 380px;
}

#content
{
	min-height: 800px;
}

#projects_page #content
{
	margin-top: 20px;
}

/* _primary content
------------------------------------------------------------------------------*/
#primary
{
	width: 428px;
	/*
	float: left;
	display: inline;
	*/
	margin-left: 522px;
}

#profile_page #primary
{
	/*margin-top: 20px;
	margin-left: 87px;
	width: 602px;
	padding-left: 0;
	padding-top: 314px;
	background-image: url(profile_bkgn.jpg);
	background-repeat: no-repeat;
	background-position: left top;*/
	margin-top: 20px;
	margin-left: 0;
	width: 515px;
	padding-left: 435px;
	background-repeat: no-repeat;
	background-position: left top;
	background-image: url(20100701_kasa_363.jpg);
}
#press_page #primary
{
	margin-top: 20px;
	margin-left: 0;
	width: 515px;
	padding-left: 435px;
	/*background-image: url(press_bkgn.jpg);*/
	background-repeat: no-repeat;
	background-position: left top;
	background-image: url(Large-7.jpg);
}

#contact_page #primary
{
	/*
	margin-top: 0;
	margin-left: 0;
	width: 341px;
	padding-left: 609px;
	padding-top: 380px;
	background-image: url(contact_bkgn.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	*/
	margin-top: 20px;
	margin-left: 0;
	width: 300px;
	padding-left: 609px;
	background-image: url(20100701_kasa_256.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	min-height: 800px;
}

#projects_page #primary
{
	margin-top: 0;
	margin-left: 87px;
	width: 515px;
	padding-left: 0;
	padding-top: 0;
	background-image: none;
	float: left;
	display: inline;
}

#pics { overflow: hidden; height: 673px; }
#pics img { margin-bottom: 6em; }

/* add icons to links 
a[href ^="mailto:"]
{
	padding-right: 20px;
	background-image: url(icon_mailto.gif);
	background-repeat: no-repeat;
	background-position: right center;
}

a[href ^='http://'], a[href ^='https://']
{
	padding-right: 18px;
	background-image: url(icon_external.gif);
	background-repeat: no-repeat;
	background-position: right center;
}

a[href $='.pdf']
{
	padding-right: 18px;
	background-image: url(icon_pdf.gif);
	background-repeat: no-repeat;
	background-position: right center;
}
*/


/* _secondary content
------------------------------------------------------------------------------*/
#secondary
{
	width: 0;
	float: left;
	display: none;
}

#projects_page #secondary
{
	width: 80px;
	float: left;
	display: inline;
	margin-left: 7px;
}

#projects_page #secondary li
{
	float: left;
	display: inline;
	width: 16px;
	height: 16px;
	background-image: url(project-nav.gif);
	background-repeat: no-repeat;
	margin-right: 1em;
}
#projects_page #secondary li a
{
	display: block;
	width: 16px;
	height: 16px;
	background-image: url(project-nav.gif);
	background-repeat: no-repeat;
	text-indent: -999em;
	line-height: 16px;
	outline: none;
}

#projects_page #secondary #prev, #projects_page #secondary #prev a
{
	background-position: left top;
}
#projects_page #secondary #prev a:hover
{
	background-position: right top;
}

#projects_page #secondary #next, #projects_page #secondary #next a
{
	background-position: left bottom;
}
#projects_page #secondary #next a:hover
{
	background-position: right bottom;
}

/* _ternary
------------------------------------------------------------------------------*/
#ternary
{
	width: 0;
	float: left;
	display: none;
}


/* _footer
------------------------------------------------------------------------------*/
#footer
{
	text-align: center;
	font-size: .8em;
	color: #717171;
	letter-spacing: 1px;
}

#footer p
{

}

#footer p a
{

}

#footer p a:hover
{

}