body {
	background-image: url("../images/universal/background.gif");
	background-position: left 1.6em;
	background-repeat: repeat-x;
	border-top:1.3em solid #333333;
	color:#6e6e6e;
	font: 62.5% arial, sans-serif;
	margin:0 0 0 0;
	padding:8em 0 0 0;
}

.container {
	height:100%;
	margin:0 auto;
	padding:0; /*90px;*/
	width:71.8em;/*71.7em;*/
}

h1, h2, h3, h4, h5, h6, p, ul, li, dl, dt, dd, img {
	margin:0;
	padding:0;
}

a {
	color:#333333;
	text-decoration:underline;
}

a:hover {
	color:#000000;
}

img {
	border:none;
	display:block;
}

.logo {
	float:left;
	position:relative;
	left:-72px;
	top:4px;
	margin-right:-60px;
}


/* ----- Header ----- */

.header h1 {
	margin:0 0 3px 0;
	/* replace text with image */
	padding: 30px 0 0 0;
	overflow: hidden;
	background-image: url("../images/universal/ryan-werth-header.gif"); 
	background-repeat: no-repeat;
	height: 0px !important; /* for most browsers */
	height /**/:30px; /* for IE5.5's bad box model */
}

/* ----- Navigation ----- */

.header h2 {
	height:0;
	overflow:hidden;
}

#main-nav {
	list-style:none;
	margin:-2px 0 0 0;
	padding:0;
	width:45.3em;
}

#main-nav li {
	display:block;
	float:left;
	margin:0;
	padding:0;

}

#main-nav li a {
	color:#6e6e6e;
	display:block;
	font-size:1.3em;
	float:left;
	height:100%;
	padding:0.5em 9pt 0.6em 9pt;
	text-decoration:none;
	text-transform:lowercase;
}

#main-nav li a:hover {
	background-image: url("../images/universal/nav-over-bg-right.jpg");
	background-position:right bottom;
	background-repeat:no-repeat;
	color:#333333;
}

#main-nav li:hover, #main-nav li.over {
	background-image: url("../images/universal/nav-over-bg-wide.jpg");
	background-position:left bottom;
	background-repeat:repeat-x;
	color: #ffffff;
}


#main-nav .current,
#main-nav .current:hover,
#main-nav .current.over {
	background-image: url("../images/universal/nav-bg-wide.jpg");
	background-position:left bottom;
	background-repeat:repeat-x;
	color: #aaaaaa;
	
}

#main-nav .current a {
	background-image: url("../images/universal/nav-bg-right.jpg");
	background-position:right bottom;
	background-repeat:no-repeat;
	color:#aaaaaa;
}

#main-nav .current a:hover {
	background-image: url("../images/universal/nav-bg-right.jpg");
	background-position:right bottom;
	background-repeat:no-repeat;
	color:#aaaaaa;
}

/* ------- Primary Content --------*/

.primary-content {
	border-top:1px solid #333333;
	clear:both;
	display:block;
	float:left;
	margin:0;
	padding:0;
	position:relative;
	top:0;
	width:45.3em;
}

#main-pic {
	border-bottom:1px solid #333333;
	width:45.3em;
}

.primary-content h2 {
	margin:15px 0 8px 0;
	
	/* replace text with image */
	padding: 24px 0 0 0;
	overflow: hidden;
	background-image: url("../images/headlines/hello-world.gif"); 
	background-repeat: no-repeat;
	height: 0px !important; /* for most browsers */
	height /**/:24px; /* for IE5.5's bad box model */
}

/* --------- External Link -------- */

.primary-content #view-site {
	color:#6e6e6e;
	padding-top:24px;
	position:absolute;
	top:25.3em;
	right:0.5em;
	text-decoration:none;
	text-align:right;
	width:8em;
}

.primary-content #view-site span {
	float:left;
	position:relative;
	right:0;
}

.primary-content #view-site img {
	display:inline;
	float:left;
	margin-left:0.5em;
	margin-right:0.75em;
	position:relative;
	top:1px;
	width:0.9em;
}

.primary-content #view-site:hover span, .primary-content .externalLink.over span {
	color:#333333;
	cursor:hand;
	cursor:pointer;
	text-decoration:underline;
}

.primary-content p {
	font-size:1.2em;
	line-height:1.85em;
	margin-bottom:0.5em;
}

/* ---------- Secondary Content --------*/

.secondary-content, .secondary-content .section-head a {
	color:#999999;
	float:left;
	margin:0 0 0 2.1em;
	width:24.3em;
}

.secondary-content .section-head {
	background-color:#e9e9e9;
	border:1px solid #e3e3e3;/*#dddddd;*/
	border-bottom:1px solid #e3e3e3;
	border-top:1px solid #333333;
	height:24px;
	
	/* replace text with image */
	padding: 24px 0 0 0;
	overflow: hidden; 
	background-repeat: no-repeat;
	height: 0px !important; /* for most browsers */
	height /**/:24px; /* for IE5.5's bad box model */	
}

#recent-work-head {
	background-image: url("../images/secondary-heads/recent-work.gif");	
}

#recent-words-head {
	background-image: url("../images/secondary-heads/recent-words.gif");		
}

.secondary-content ul {
	list-style:none;
}

.section-list .section-detail {
	border-bottom:1px solid #dddddd;
	border-left:0.1em solid #ffffff;
	border-right:0.1em solid #ffffff;
	border-top:1px solid #ffffff;
	display:block;  
	line-height:140%;
	margin:0;
	padding:0 0 0 0;
	position:relative;
	top:0;
	width:24.1em;
}

#recent-words-list .section-detail,
#recent-work-list .section-detail,
#past-work-list .section-detail {
	height:6.8em;	
}

.secondary-content .last {
	border-bottom:1px solid #ffffff;
}

.secondary-content h3 {
	display:block;
	font-size:10px;
	font-weight:normal;
}

.secondary-content a {
	color:#777777;/*#6e6e6e;*/
}

.secondary-content h3 a, .secondary-content h3 .head  {
	color:#777777;
	border-bottom:1px solid #999999;
	float:left;
	font-size:1.2em;
	margin-bottom:0.3em;
	position:relative;
	text-decoration:none;
}

.secondary-content .date {
	color:#686868;
	text-decoration:none;
}

.secondary-content #recent-words-list .section-detail:hover h3 a, .secondary-content .#recent-words-list section-detail.over h3 a,
.secondary-content #past-work-list .section-detail:hover h3 a, .secondary-content .#past-work-list section-detail.over h3 a,
.secondary-content #recent-work-list .section-detail:hover h3 a, .secondary-content .#recent-work-list section-detail.over h3 a {
	color:#000000;
	border-bottom:1px solid #6e6e6e;
}
.secondary-content .section-detail:hover .read-more, .secondary-content .section-detail.over .read-more {
	color:#000000;
}

/*.secondary-content .section-detail:hover h3, .secondary-content .section-detail.over h3,*/
.secondary-content #recent-words-list .section-detail:hover p, .secondary-content #recent-words-list .section-detail.over p,
.secondary-content #recent-words-list .section-detail:hover p, .secondary-content #recent-words-list .section-detail.over p {
	color:#666666;
}

.secondary-content #recent-work-list .section-detail:hover, .secondary-content #recent-work-list .section-detail.over,
.secondary-content #past-work-list .section-detail:hover, .secondary-content #past-work-list .section-detail.over,
.secondary-content #recent-words-list .section-detail:hover, .secondary-content #recent-words-list .section-detail.over {
	background-image: url("../images/universal/secondary-over-bg.gif");
	background-position:top;
	background-repeat:repeat-x;
	border-bottom:1px solid #cccccc;
	border-left:0.1em solid #dddddd;
	border-right:0.1em solid #dddddd;
	border-top:0.1em solid #f8f8f8;
}

.secondary-content ul {
	clear:both;
}

.secondary-content p, .section-list ul li {
	font-size:1.1em;
}

.secondary-content p {
	clear:both;
}

.secondary-content h3, .secondary-content p, .secondary-content li ul li {
	display:block;
	padding:0 2pt 0 10px;
}

.secondary-content h3 {
	padding-top:0.9em;
}

#recent-work-list h3, #recent-work-list p,
#past-work-list h3, #past-work-list p{
	padding-left:35%;
}

.block-link {
	display:block;
	left:0;
	position:absolute;
	top:0;
	width:100%;
	z-index:100;
	
	background-color:red;
	filter:alpha(opacity=0);
	opacity: 0;
	-moz-opacity:0;
}

#recent-words-list .block-link, #recent-work-list .block-link {
	height:6.8em;	
}

/*fix for opera*/
p>.block-link, li>.block-link {
	background-color:transparent;
}

.secondary-content img {
	float:left;
	/*font-size:10px;*/
	position:absolute;
	left:0;
	top:0;
}

#rw-identity img {
	height:3em;
	left:0.6em;
	top:1.7em;
	width:6.9em;
}

#attevo-identity img {
	height:3.7em;
	left:0.6em;
	top:1.4em;
	width:7em;
}

#lippman-day-school-website img {
	height:4.7em;
	left:1.8em;
	top:0.8em;
	width:4.1em;
}

.date {
	display:block;
	font-size:0.9em;
	font-style:normal;
	font-variant:small-caps;
	float:right;
	padding:0 4pt 0 0;
	position:relative;
	text-decoration:none;
	top:0;
}

.read-more {
	display:inline;
	font-size:1.2em;
	font-variant:small-caps;
	padding:0;
	text-transform:lowercase;
}

/* --------- Footer -------*/

.footer {
	border-bottom-color:#333333;
	border-bottom-style:solid;
	border-bottom-width:1.2em;
	clear:both;
	display:block;
	padding-top:5.5em;
	width:45.3em;
}
