body {
	margin: 0;
	padding: 0;
	text-align: center;
	background: #cecece;
	font: 80% Verdana;
}

#container {
	width: 700px;
	background: #fff;
	height: auto;
	margin: 0 auto;
	text-align: left;
	padding: 0 15px 0 15px;
}

#container h1 {
	margin: 8px 0 0 0;
	padding: 8px 0 0 0;
	font-size: 22px;
}

#container h2 {
	margin: 8px 0 0 0;
	padding: 8px 0 0 0;
	font-size: 18px;
}

#header {
	background: url(../images/header.jpg) no-repeat;
	width: 700px;
	margin: 0;
	height: 200px;
	border: 1px solid #000;
}

/* main right navigation */

#nav {
	float: right;
	width: 20%;
	border-left: 2px dotted #cecece;
	padding: 10px 0 0 8px;
	margin: 10px 0 0 8px;
}

#nav dt {
	line-height: 28px;
	border-top: 2px dotted #cecece;
}

#nav dd {
	margin-left: 18px;
	line-height: 20px;
}

#nav a:link, a:visited, a:active {
	text-decoration: none;
	color: #1e80e3;
}

#nav a:hover {
	text-decoration: underline;
	color: #ff9900;	
}
/* home page */
#lj {
	float: left;
	width: 520px;
	line-height: 15px;
	padding: 8px 0 8px 0;
}

#lj a:link, a:visited, a:active, a:hover {
	text-decoration: none;
	color: #1e80e3;
}

/* portfolio page */

#portfolio {
	float: left;
	width: 520px;
	line-height: 15px;
}

#portfolio img {
	float: left;
	border: 1px solid #cecece;
	margin: 0 10px 5px 0;
	clear: both;
}

#portfolio p {
	margin: 5px 0 5px 0;
	padding: 5px 0 5px 0;
	clear: both;
}

#portfolio a:link, a:visited, a:active, a:hover {
	text-decoration: none;
	color: #1e80e3;
}

/* remaining pages */

#main {
	float: left;
	width: 520px;
	line-height: 15px;
}

#main img {
	float: left;
	border: 1px solid #cecece;
	margin: 0 10px 5px 0;
	clear: both;
}

#main img.counter {
	border: none;
}

#main p {
	margin: 5px 0 5px 0;
	padding: 5px 0 5px 0;
	clear: both;
}

#main a:link, a:visited, a:active, a:hover {
	text-decoration: none;
	color: #1e80e3;
}

#main h2 {
	margin: 8px 0 5px 10px;
	padding: 8px 0 5px 10px;
	font-size: 16px;
}

hr {
	padding: 8px 0 5px 0;
	border-top: 1px dashed;
	border-right: 0;
	border-bottom: 0;
	border-left: 0;
}
.clearfix:after { /* for containers with floated elements (see hack for IE) */
   	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* Hides from IE-mac \*/
* html .clearfix {
	height: 1%;
}
/* End hide from IE-mac */