/* Cascading Style Sheet for Marianne Zarkin's web site - www.mz-la.com */

/*
DIMENSIONS
dim = name = description
161px = leftband = visible width of left side band
116px = gutter = distance between leftband and bodybox
412px = bodybox = square box for main content
89px = header = height of area above bodybox (was 86px)
176px = leftbkgd = width of the left side band in the actual background image (was 186px)
128px = logoht = height of the entire logo area
24px = boxpad = padding for content of the bodybox
256px = sidebar = width of sidebar


*/

/* 	========================================================
	Eric Meyer's CSS reset code - BEGIN 
	======================================================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, a:link, a:visited, a:hover, a:active, 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;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: none;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
/* 	========================================================
	Eric Meyer's CSS reset code - END
	======================================================== */

body {
	text-align: left;
	background: #333;
	}

/* ================================================	*/
/* Page layout divs									*/
/* presented in HTML order 							*/
/* ================================================	*/

/* page - wrapper just inside the body tag */
#page {
	width: 960px;
	background-image: url(../images/pgbkgd-home.png);
	background-position: -15px 1px; /* allows the actual image to have a wider left band than is visible */
	margin-left: auto;
	margin-right: auto;
	float: left;
	}

#page.project {
	background-image: url(../images/pgbkgd-project.png);
	}
#page.utility {
	background-image: url(../images/pgbkgd-utility.png);
	}

/* nav - includes the logo and the left-side navigation */
#nav {
	float: left;
	padding-left: 16px;
	padding-right: 6px;
	width: 139px; /* leftband - padding-left - padding-left */
	height: 584px; /* header + bodybox + header I DON'T THINK THIS FORMULA IS RIGHT */
	font-weight: bold;
	/*border: #FFCC66 dotted 1px; FOR DEBUG ONLY */
	}

#banner {
	width: 129px;
	height: 96px;
	margin-top: 16px;
	margin-bottom: 16px;
	background-image: url(../images/logo-home.png);
	background-repeat: no-repeat;
	}
/* Hidden heading for search engines */
#banner h1 {
	position: absolute;
	/*left: 380px;*/
	/*top: 60px;*/
	padding: 0;
	margin: 0;
	visibility: hidden;
	}

/* body - everything to the right of nav */
#body {
	/*float: left;*/
	/*clear: none;*/
	/*top: -384px;*/
	margin-left: 116px; /* gutter */
	float: left;
	width: 412px;
	/* border: #CCFFCC dotted 1px; FOR DEBUG ONLY */
	}

/* header - within body - everything above the square in the background-image */
#header {
	width: 412px; /* bodybox */ 
	height: 89px; /* header */
	/* border: #FFCCCC dotted 1px; FOR DEBUG ONLY */
	}

#sidebar {
	float: right;
	margin-right: 16px;
	/*background-color: #CCCCCC;*/
	background: repeat url(../images/transparent50.png);
	padding: 16px;
	width: 208px; /* sidebar - (2 * padding) */
	height: 380px; /* bodybox - (2 * padding) */
	margin-top: 89px; /* header */
	}

#footer {
	/*float: left;*/
	margin: 0 0 0 161px; /* leftband */
	padding: 1em;
	clear: both;
	}

/* ====================================== 	*/
/* General-purpose styles					*/
/* ====================================== 	*/

/* fonts */
html, body, div, p, blockquote, del, dfn, ol, ul, li,
table, caption, tbody, tfoot, tr, th, td, a {
	font-family: Trebuchet MS, Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size: small;
	color: white;
	}

h1, h2, h3, h4, h5, h6 {
	font-family: Trebuchet MS, Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: white;
	}

h1 { font-size: 150%; }
h2 { font-size: 133%; }
h3 { font-size: 110%; }

/* general-purpose links */
a,
a:link,
a:visited,
a:active {
	color: #FFFF99;
	border-bottom: dotted 1px #FFFF99;
	text-decoration: none;
	}	
a:visited {
	color: #999999;
	border-bottom: dotted 1px #999999;
	text-decoration: none;
	}	
a:hover {
	color: #FFFF99;
	border-bottom: solid 1px #FFFF99;
	text-decoration: none;
	}

/* links that show no evidence of being links */
/* originally intended for the IMGs on the Project page */
a.noshow,
a.noshow:link,
a.noshow:visited,
a.noshow:active,
a.noshow:visited,
a.noshow:hover {
	color: white;
	border: none;
	text-decoration: none;
	}

/* ====================================== 	*/
/* styles for NAV div						*/
/* ====================================== 	*/

#nav li {
	padding-top: 3px;
	padding-bottom: 3px;
	color: white; /* #FFFF99; FFCC00 */
	}

#nav ul li {
	font-size: 150%; /* 120 */
	}

#nav ul ul,
#nav ul ul ul {
	margin-left: 8px;
	padding-top: 3px;
	}

#nav ul ul li {
	font-size: 120%; /* 100 */
	}
#nav ul ul ul li {
	font-size: 100%; /* 90 */
	}

#nav a,
#nav a:link,
#nav a:visited,
#nav a:active {
	color: #CCCCCC; /* white; */
	text-decoration: none;
	border: none;
	}	
#nav a:hover {
	color: white; /* #CCCCCC; */
	border: none;
	}		

/* ====================================== 	*/
/* styles for the BODY div					*/
/* ====================================== 	*/

/* the first paragraph in the body */
/* use on page with no pictures, like Contacts */
#body p,
#body h2,
#body h3,
#body ul {
	padding-left: 36px; /* boxpad */
	padding-top: 36px;  /* boxpad */
	width: 340px; /* bodybox - (2 * boxpad) */
	color: white;
	text-align: justify;
	line-height: 1.5em;
	}
#body ul {
	padding-left: 52px; /* boxpad + 16 */
	padding-top: 6px;
	width: 324px; /* ul width - 16 */
	list-style-type: disc;
	text-align: left;
	}

/* non-first paragraphs - remove box padding */
#body p + p,
#body h2 + p,
#body h3 {
	padding-top: 6px;
	}

/* ====================================== 	*/
/* styles for the HEADER div				*/
/* ====================================== 	*/

/* The heading at the top of the body on every page */
#header h1 {
	font-size: 150%;
	position: relative;
	bottom: 0;
	padding-top: 48px;
	width: 412px; /* bodybox */
	text-align: right;
	color: white;
	/*border: white dotted 1px;*/
	}

/* ====================================== 	*/
/* styles for the SIDEBAR div				*/
/* ====================================== 	*/

#sidebar h2 {
	color: #333;
	font-size: 90%;
	font-weight: bold;
	padding-bottom: 0px;
	/*font-variant: small-caps;*/
	}

#sidebar p,
#sidebar p + p {
	padding: 0 0 6px 0;
	color: #333;
	text-align: left;
	line-height: 120%;
	width: 100%;
	font-size: 90%;
	}

#sidebar a,
#sidebar a:link,
#sidebar a:visited,
#sidebar a:active {
	color: rgb(44,82,105); /* #336699; #3A6F8F; */
	text-decoration: none;
	border: none;
	}	
#sidebar a:hover {
	color: rgb(44,82,105); /* #336699; #3A6F8F; */
	text-decoration: underline;
	border: none;
	}		

/* ====================================== 	*/
/* styles for the FOOTER div				*/
/* ====================================== 	*/

#footer p {
	font-size: 90%;
	padding: 0px;
	margin: 0px;
	text-align: center;
	}

/* ====================================== 	*/
/* special purpose styles					*/
/* ====================================== 	*/

/* div for project categories on the projects home page */
#body div.projhome {
	float: left;
	height: 82px;
	width: 412px;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
	}

#body div.projhome p {
	color: #fff;
	width: auto;
	line-height: 1.5em;
	font-weight: bold;
	font-size: 133%;
	text-align: left;
	position: relative;
	top: -2em;
	padding: 0;
	left: 1em;
	}

/* div for project categories on the project page */

#body div.projcat {
	float: left;
	height: 206px;
	width: 206px;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
	}

#body div.projcat p {
	color: #fff;
	width: auto;
	line-height: 1.5em;
	font-weight: bold;
	font-size: 133%;
	text-align: right;
	position: relative;
	top: -2em;
	padding: 0;
	right: 1em;
	}

#body div.bodyscroll {
	height:376px;
	overflow:auto;
	}

/* turn off underlining and bordering for project-category images */
#body div.projcat a,
#body div.projcat a:link,
#body div.projcat a:visited,
#body div.projcat a:active,
#body div.projcat a:hover {
	border: none;
	text-decoration: none;
	}

/* div for  */

img.projthumb {
	margin: 0;
	padding: 0;
	cursor:pointer;
	}

